diff --git a/packages/cli/.editorconfig b/packages/cli/.editorconfig deleted file mode 100644 index beffa3084..000000000 --- a/packages/cli/.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -root = true - -[*] -indent_style = space -indent_size = 2 -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/packages/cli/.gitignore b/packages/cli/.gitignore deleted file mode 100644 index 9d6ea2ca5..000000000 --- a/packages/cli/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -*-debug.log -*-error.log -/.nyc_output -/dist -/lib -/package-lock.json -/tmp -node_modules diff --git a/packages/cli/README.md b/packages/cli/README.md index 1f082674c..6c5db4841 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -12,13 +12,13 @@ A factory that churns out web components, library agnostic with a unified develo Make sure you have a version of node >=6.0 and above. Verify that you have yarn enabled — if not [install yarn globally](https://yarnpkg.com/lang/en/docs/install/). ```bash -yarn global add @wcfactory/cli +$ yarn global add @wcfactory/cli ``` ## Usage (company) A company helps you manage multiple factories and the products they produce so you'll need to create one before you do anything else. **The company MUST be created in a directory above your user directory** in some manner. example: `/home/dana/Documents/git/company` or any directory above `/home/dana`. ```bash # create a new company, a series of factories linked by the owner -mkdir my-company-name && cd my-company-name && wcf start +$ mkdir my-company-name && cd my-company-name && wcf start # create a new factory after you've made the company wcf factory # add a new element to the factory-name that you produced in the previous step @@ -26,8 +26,8 @@ wcf element ``` Answer the prompts for your new element and your off and running. To work on your new element called `new-name` perform the following: ```bash -cd {factoryName}/elements/new-name -yarn start +$ cd {factoryName}/elements/new-name +$ yarn start ``` This will open the folder to the `elements/new-name/src` folder, start watching it for changes which will be compiled automatically (and documented), and open a mini-server (via `polymer serve`) which will allow you to edit the src directory files, compile them together and make them available for the localhost window for viewing. @@ -59,7 +59,7 @@ The factories produced by this come equiped with storybook integration. To publi - Never have to understand the complexities of tooling - CLI should seek to empower as many people as possible - Anyone should be able to manage, create, and share elements in an element library -- Seamless sharing to npmjs.com, and git +- Seamless sharing to webcomponents.org, npmjs.com, and git - Unify CLI, build step, and element packaging across all libraries - Allow advanced developers to fork, tinker, and repurpose to their will diff --git a/packages/cli/npm-shrinkwrap.json b/packages/cli/npm-shrinkwrap.json new file mode 100644 index 000000000..f00d80293 --- /dev/null +++ b/packages/cli/npm-shrinkwrap.json @@ -0,0 +1,146 @@ +{ + "name": "@wcfactory/cli", + "version": "0.8.7", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@types/glob": { + "version": "7.1.1", + "dev": true + }, + "ansi-regex": { + "version": "5.0.0" + }, + "array-union": { + "version": "2.1.0", + "dev": true + }, + "braces": { + "version": "3.0.2", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "cli-cursor": { + "version": "3.1.0", + "requires": { + "restore-cursor": "^3.1.0" + } + }, + "dir-glob": { + "version": "3.0.1", + "dev": true, + "requires": { + "path-type": "^4.0.0" + } + }, + "emoji-regex": { + "version": "8.0.0" + }, + "fast-glob": { + "version": "3.1.1", + "dev": true, + "requires": { + "micromatch": "^4.0.2" + } + }, + "fill-range": { + "version": "7.0.1", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "globby": { + "version": "10.0.1", + "dev": true, + "requires": { + "@types/glob": "^7.1.1", + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.0.3", + "ignore": "^5.1.1", + "slash": "^3.0.0" + } + }, + "ignore": { + "version": "5.1.4", + "dev": true + }, + "inquirer": { + "version": "7.0.1", + "requires": { + "ansi-escapes": "^4.2.1", + "cli-cursor": "^3.1.0", + "figures": "^3.0.0", + "string-width": "^4.1.0" + }, + "dependencies": { + "ansi-escapes": { + "version": "4.3.0", + "requires": { + "type-fest": "^0.8.1" + } + }, + "figures": { + "version": "3.1.0" + } + } + }, + "inquirer-autocomplete-prompt": { + "version": "1.0.1" + }, + "is-fullwidth-code-point": { + "version": "3.0.0" + }, + "is-number": { + "version": "7.0.0", + "dev": true + }, + "micromatch": { + "version": "4.0.2", + "dev": true, + "requires": { + "braces": "^3.0.1" + } + }, + "path-type": { + "version": "4.0.0", + "dev": true + }, + "restore-cursor": { + "version": "3.1.0" + }, + "slash": { + "version": "3.0.0", + "dev": true + }, + "string-width": { + "version": "4.2.0", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "strip-ansi": { + "version": "6.0.0", + "requires": { + "ansi-regex": "^5.0.0" + } + } + } + }, + "to-regex-range": { + "version": "5.0.1", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "type-fest": { + "version": "0.8.1" + } + } +} diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json new file mode 100644 index 000000000..d54855047 --- /dev/null +++ b/packages/cli/oclif.manifest.json @@ -0,0 +1 @@ +{"version":"0.8.7","commands":{"build":{"id":"build","description":"Create a new Build","pluginName":"@wcfactory/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Folder name for the build"},"description":{"name":"description","type":"option","char":"d","description":"Brief description for the build"},"factory":{"name":"factory","type":"option","char":"f","description":"Factory to build from"},"buildTarget":{"name":"buildTarget","type":"option","char":"t","description":"Type of build target"}},"args":[]},"element":{"id":"element","description":"Create a new element","pluginName":"@wcfactory/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"factory":{"name":"factory","type":"option","char":"f","description":"Factory to use"},"customElementTemplate":{"name":"customElementTemplate","type":"option","char":"c","description":"Custom element template to use"},"name":{"name":"name","type":"option","char":"n","description":"Name of the element"},"description":{"name":"description","type":"option","char":"d","description":"Description of the element"},"useSass":{"name":"useSass","type":"boolean","char":"s","description":"Description of the element","allowNo":true},"addProps":{"name":"addProps","type":"boolean","char":"p","description":"Add properties","allowNo":true},"useHAX":{"name":"useHAX","type":"boolean","char":"h","description":"Use HAX","allowNo":true}},"args":[]},"factory":{"id":"factory","description":"Create mono repo for your element library.","pluginName":"@wcfactory/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose mode","allowNo":false},"humanName":{"name":"humanName","type":"option","char":"h","description":"Name of this factory"},"description":{"name":"description","type":"option","char":"d","description":"Description of this factory"},"orgNpm":{"name":"orgNpm","type":"option","char":"o","description":"NPM organization name (include @)"},"orgGit":{"name":"orgGit","type":"option","char":"O","description":"Git organization name"},"name":{"name":"name","type":"option","char":"n","description":"Git organization name"},"gitRepo":{"name":"gitRepo","type":"option","char":"g","description":"Your Repo name. Must be a valid git/npm name"}},"args":[]},"operation":{"id":"operation","description":"Run a script specified in a package.","pluginName":"@wcfactory/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"description":{"name":"description","type":"option","char":"d","description":"Run the develop command for an element."}},"args":[]},"start":{"id":"start","description":"Create a company for your factories.","pluginName":"@wcfactory/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"author":{"name":"author","type":"option","char":"a","description":"Author name for your elements"},"copyrightOwner":{"name":"copyrightOwner","type":"option","char":"c","description":"Copyright owner of your work"},"license":{"name":"license","type":"option","char":"l","description":"Software License to use","helpValue":"(Apache-2.0|MIT|BSD-3-Clause|BSD-2-Clause)","options":["Apache-2.0","MIT","BSD-3-Clause","BSD-2-Clause"]}},"args":[]},"unbundled:build":{"id":"unbundled:build","description":"Build a project.","pluginName":"@wcfactory/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"unbundled:generate":{"id":"unbundled:generate","description":"Generate an unbundled build project.","pluginName":"@wcfactory/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"unbundled":{"id":"unbundled","description":"[In Development] Generate Unbundled Builds. A method of packaging web components for production.","pluginName":"@wcfactory/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]}}} \ No newline at end of file diff --git a/packages/cli/package.json b/packages/cli/package.json index 26ed4d2c2..98fdfaf72 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@wcfactory/cli", "description": "CLI for managing your custom elements at scale.", - "version": "0.13.1", + "version": "0.8.7", "author": "heyMP @heyMP", "bin": { "wcf": "./bin/run" @@ -11,29 +11,27 @@ "@oclif/command": "^1", "@oclif/config": "^1", "@oclif/plugin-help": "^2", - "@wcfactory/common": "^0.13.0", - "@wcfactory/generator-wcfactory": "^0.13.1", - "@wcfactory/graphql-server": "^0.13.0", - "@wcfactory/ui": "^0.13.0", - "@web/dev-server": "0.1.28", + "@wcfactory/common": "^0.8.6", + "@wcfactory/generator-wcfactory": "^0.8.7", "date-fns": "^1.29.0", "fuse.js": "^3.4.2", - "glob": "^10.2.7", + "glob": "^7.1.3", "inquirer": "^7.0.0", "inquirer-autocomplete-prompt": "^1.0.1", - "inquirer-recursive": "^0.0.7", + "inquirer-recursive": "^0.0.6", "listr": "^0.14.2", "listr-update-renderer": "^0.5.0", "listr-verbose-renderer": "^0.6.0", "lodash": "^4.17.11", - "terser": "^5.0.0", + "polymer-cli": "1.9.11", + "terser": "^4.7.0", "yeoman-environment": "^2.3.3", "yeoman-generator": "^4.0.0" }, "devDependencies": { - "@oclif/dev-cli": "1.26.0", - "@oclif/test": "1.2.8", - "globby": "10.0.2" + "@oclif/dev-cli": "1.22.2", + "@oclif/test": "1.2.5", + "globby": "10.0.1" }, "engines": { "node": ">=8.0.0" @@ -69,5 +67,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "72f5a446893e45d8c2df8ea2116ef3e741e13849" + "gitHead": "7ff583e930d906d39c5a05334745eb1927574e8f" } diff --git a/packages/cli/src/commands/element.js b/packages/cli/src/commands/element.js index 19a66b3ad..e974750ad 100644 --- a/packages/cli/src/commands/element.js +++ b/packages/cli/src/commands/element.js @@ -27,7 +27,6 @@ Element.flags = { customElementTemplate: flags.string({ char: 'c', description: 'Custom element template to use' }), name: flags.string({ char: 'n', description: 'Name of the element' }), description: flags.string({ char: 'd', description: 'Description of the element' }), - useCLI: flags.boolean({ char: 'l', description: 'Use CLI', allowNo: true }), useSass: flags.boolean({ char: 's', description: 'Description of the element', allowNo: true }), addProps: flags.boolean({ char: 'p', description: 'Add properties', allowNo: true }), useHAX: flags.boolean({ char: 'h', description: 'Use HAX', allowNo: true }), diff --git a/packages/cli/src/commands/factory.js b/packages/cli/src/commands/factory.js index 8789aa60f..f94874dd1 100644 --- a/packages/cli/src/commands/factory.js +++ b/packages/cli/src/commands/factory.js @@ -10,9 +10,7 @@ class Factory extends Command { // process the user input let { args, flags } = this.parse(Factory) // prompt the user for more info - if (!flags.yes) { - flags = await promptUser(questions, flags, this) - } + flags = await promptUser(questions, flags, this) // add a year flags.year = new Date().getFullYear() // kick off generator @@ -36,7 +34,6 @@ Factory.flags = { orgGit: flags.string({ char: 'O', description: 'Git organization name' }), name: flags.string({ char: 'n', description: 'Git organization name' }), gitRepo: flags.string({ char: 'g', description: 'Your Repo name. Must be a valid git/npm name' }), - yes: flags.boolean({ char: 'y', description: 'Skip prompts' }), } module.exports = Factory diff --git a/packages/cli/src/commands/operation.js b/packages/cli/src/commands/operation.js index 4ef041d28..c032336dd 100644 --- a/packages/cli/src/commands/operation.js +++ b/packages/cli/src/commands/operation.js @@ -2,7 +2,7 @@ const path = require('path') const { Command, flags } = require('@oclif/command') const { promptUser } = require('../utils/commands') const { questions } = require('../questions/operation') -const { runScript } = require('@wcfactory/common') +const { spawn } = require('child_process'); class Operation extends Command { async run() { @@ -10,7 +10,11 @@ class Operation extends Command { // prompt the user for remaining flags flags = await promptUser(questions, flags, this) // run the operation for that element - runScript(flags.script, flags.element) + const ls = spawn('npm', ['run', flags.script], { + cwd: flags.element, + stdio: 'inherit', + shell: true + }); } } diff --git a/packages/cli/src/commands/template/index.js b/packages/cli/src/commands/template/index.js deleted file mode 100644 index 25ae1692a..000000000 --- a/packages/cli/src/commands/template/index.js +++ /dev/null @@ -1,23 +0,0 @@ -const { Command, flags } = require('@oclif/command') -var yeoman = require('yeoman-environment') -var env = yeoman.createEnv() -env.register(require.resolve('@wcfactory/generator-wcfactory/generators/template/update'), 'wcfactory:template:update') - -class Template extends Command { - async run() { - let { args, flags } = this.parse(Template) - env.run('wcfactory:template:update', flags) - } -} - -Template.description = 'Manage your companies templates.' - -/** - * @todo dynaimically generate this based on the questions const - */ -Template.flags = { - // global - help: flags.help({ char: 'h' }) -} - -module.exports = Template \ No newline at end of file diff --git a/packages/cli/src/commands/template/update.js b/packages/cli/src/commands/template/update.js deleted file mode 100644 index ac4e861e2..000000000 --- a/packages/cli/src/commands/template/update.js +++ /dev/null @@ -1,23 +0,0 @@ -const { Command, flags } = require('@oclif/command') -var yeoman = require('yeoman-environment') -var env = yeoman.createEnv() -env.register(require.resolve('@wcfactory/generator-wcfactory/generators/template/update'), 'wcfactory:template:update') - -class TemplateUpdate extends Command { - async run() { - let { args, flags } = this.parse(TemplateUpdate) - env.run('wcfactory:template:update', flags) - } -} - -TemplateUpdate.description = 'Update the default templates directory in your company store.' - -/** - * @todo dynamically generate this based on the questions const - */ -TemplateUpdate.flags = { - // global - help: flags.help({ char: 'h' }) -} - -module.exports = TemplateUpdate \ No newline at end of file diff --git a/packages/cli/src/commands/ui.js b/packages/cli/src/commands/ui.js deleted file mode 100644 index fc658c9ec..000000000 --- a/packages/cli/src/commands/ui.js +++ /dev/null @@ -1,39 +0,0 @@ -const { Command, flags } = require('@oclif/command') -const { spawn } = require('child_process'); -const path = require('path') -const uiLocation = require.resolve('@wcfactory/ui') -const serverLocation = require.resolve('@wcfactory/graphql-server') - -class UI extends Command { - async run() { - let { args, flags } = this.parse(UI) - /** - * @todo we should probably move these into a startup - * script somewhere else. - */ - // start up the UI - spawn('npm', ['run', 'start:build'], { - cwd: path.dirname(uiLocation), - stdio: 'inherit', - shell: true - }); - // start up the Graphql server - spawn('npm', ['run', 'start'], { - cwd: path.dirname(serverLocation), - stdio: 'inherit', - shell: true - }); - } -} - -UI.description = '[In Development] Start up the visual user interface for WCFactory.' - -/** - * @todo dynaimically generate this based on the questions const - */ -UI.flags = { - help: flags.help({ char: 'h' }), - description: flags.string({ char: 'd', description: UI.description }) -} - -module.exports = UI \ No newline at end of file diff --git a/packages/cli/src/questions/element.js b/packages/cli/src/questions/element.js index 06bc5ec92..7a5294ea8 100644 --- a/packages/cli/src/questions/element.js +++ b/packages/cli/src/questions/element.js @@ -18,11 +18,11 @@ var factoryAnswer = ''; require: true, store: true, choices: factoryList, - when: (answers) => { - if (factoryList.length > 1 && !answers.factory) { + when: (flags) => { + if (factoryList.length > 1 && !flags.factory) { return true; } else { - answers.factory = factoryList[0].value; + flags.factory = factoryList[0].value; factoryAnswer = factoryList[0].value; return false; } @@ -63,35 +63,22 @@ var factoryAnswer = ''; { type: "confirm", name: "useSass", - when: (answers) => { + when: (flags) => { if (!factoryAnswer) { return false; } const packageJson = require(`${factoryAnswer}/package.json`); - return typeof answers.useSass !== 'boolean' && _.get(packageJson, 'wcfactory.askSASS'); + return typeof flags.useSass !== 'boolean' && _.get(packageJson, 'wcfactory.askSASS'); }, message: "Do you want to use Sass in this element?", store: true }, - { - type: "confirm", - name: "useCLI", - when: (answers) => { - if (!factoryAnswer) { - return false; - } - const packageJson = require(`${factoryAnswer}/package.json`); - return typeof answers.useCLI !== 'boolean' && _.get(packageJson, 'wcfactory.useCLI'); - }, - message: "Do you want to use the guided CLI or are you 1337? (No will just make a boilerplate to get going)", - store: true - }, { type: "list", name: "sassLibrary", message: "Do want to use existing Sass dependencies?", when: (answers) => { - if (!answers.useCLI || !factoryAnswer) { + if (!factoryAnswer || !answers.useSass) { return false; } const packageJson = require(`${factoryAnswer}/package.json`); @@ -116,13 +103,13 @@ var factoryAnswer = ''; { type: "confirm", name: "addProps", - message: "Do you want custom properties? (typically yes)", - when: (answers) => { - if (!answers.useCLI || !factoryAnswer) { + message: "Do you want custom properties?", + when: (flags) => { + if (!factoryAnswer) { return false; } const packageJson = require(`${factoryAnswer}/package.json`); - return typeof answers.addProps !== 'boolean' && _.get(packageJson, 'wcfactory.askProps') + return typeof flags.addProps !== 'boolean' && _.get(packageJson, 'wcfactory.askProps') }, store: true }, @@ -132,7 +119,7 @@ var factoryAnswer = ''; message: "Auto build support for the HAX authoring system?", store: true, when: (answers) => { - if (!answers.useCLI || !factoryAnswer) { + if (!factoryAnswer || !answers.addProps) { return false; } const packageJson = require(`${factoryAnswer}/package.json`); @@ -144,7 +131,10 @@ var factoryAnswer = ''; message: 'Add a new property?', name: 'propsList', when: (answers) => { - return answers.useCLI && answers.addProps; + if (!factoryAnswer || !answers.addProps) { + return false; + } + return answers.addProps; }, prompts: [ { diff --git a/packages/cli/yarn.lock b/packages/cli/yarn.lock deleted file mode 100644 index 5a88b7188..000000000 --- a/packages/cli/yarn.lock +++ /dev/null @@ -1,12581 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@babel/code-frame@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" - integrity sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA== - dependencies: - "@babel/highlight" "^7.0.0" - -"@babel/code-frame@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" - integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== - dependencies: - "@babel/highlight" "^7.10.4" - -"@babel/core@^7.0.0": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.10.5.tgz#1f15e2cca8ad9a1d78a38ddba612f5e7cdbbd330" - integrity sha512-O34LQooYVDXPl7QWCdW9p4NR+QlzOr7xShPPJz8GsuCU3/8ua/wqTr7gmnxXv+WBESiGU/G5s16i6tUvHkNb+w== - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/generator" "^7.10.5" - "@babel/helper-module-transforms" "^7.10.5" - "@babel/helpers" "^7.10.4" - "@babel/parser" "^7.10.5" - "@babel/template" "^7.10.4" - "@babel/traverse" "^7.10.5" - "@babel/types" "^7.10.5" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.1" - json5 "^2.1.2" - lodash "^4.17.19" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - -"@babel/generator@^7.0.0-beta.42", "@babel/generator@^7.10.5": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.10.5.tgz#1b903554bc8c583ee8d25f1e8969732e6b829a69" - integrity sha512-3vXxr3FEW7E7lJZiWQ3bM4+v/Vyr9C+hpolQ8BGFr9Y8Ri2tFLWTixmwKBafDujO1WVah4fhZBeU1bieKdghig== - dependencies: - "@babel/types" "^7.10.5" - jsesc "^2.5.1" - source-map "^0.5.0" - -"@babel/helper-annotate-as-pure@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz#5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3" - integrity sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA== - dependencies: - "@babel/types" "^7.10.4" - -"@babel/helper-builder-binary-assignment-operator-visitor@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.4.tgz#bb0b75f31bf98cbf9ff143c1ae578b87274ae1a3" - integrity sha512-L0zGlFrGWZK4PbT8AszSfLTM5sDU1+Az/En9VrdT8/LmEiJt4zXt+Jve9DCAnQcbqDhCI+29y/L93mrDzddCcg== - dependencies: - "@babel/helper-explode-assignable-expression" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helper-create-regexp-features-plugin@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.4.tgz#fdd60d88524659a0b6959c0579925e425714f3b8" - integrity sha512-2/hu58IEPKeoLF45DBwx3XFqsbCXmkdAay4spVr2x0jYgRxrSNp+ePwvSsy9g6YSaNDcKIQVPXk1Ov8S2edk2g== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-regex" "^7.10.4" - regexpu-core "^4.7.0" - -"@babel/helper-define-map@^7.10.4": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.10.5.tgz#b53c10db78a640800152692b13393147acb9bb30" - integrity sha512-fMw4kgFB720aQFXSVaXr79pjjcW5puTCM16+rECJ/plGS+zByelE8l9nCpV1GibxTnFVmUuYG9U8wYfQHdzOEQ== - dependencies: - "@babel/helper-function-name" "^7.10.4" - "@babel/types" "^7.10.5" - lodash "^4.17.19" - -"@babel/helper-explode-assignable-expression@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.10.4.tgz#40a1cd917bff1288f699a94a75b37a1a2dbd8c7c" - integrity sha512-4K71RyRQNPRrR85sr5QY4X3VwG4wtVoXZB9+L3r1Gp38DhELyHCtovqydRi7c1Ovb17eRGiQ/FD5s8JdU0Uy5A== - dependencies: - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helper-function-name@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz#d2d3b20c59ad8c47112fa7d2a94bc09d5ef82f1a" - integrity sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ== - dependencies: - "@babel/helper-get-function-arity" "^7.10.4" - "@babel/template" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helper-get-function-arity@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz#98c1cbea0e2332f33f9a4661b8ce1505b2c19ba2" - integrity sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A== - dependencies: - "@babel/types" "^7.10.4" - -"@babel/helper-member-expression-to-functions@^7.10.4": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.5.tgz#172f56e7a63e78112f3a04055f24365af702e7ee" - integrity sha512-HiqJpYD5+WopCXIAbQDG0zye5XYVvcO9w/DHp5GsaGkRUaamLj2bEtu6i8rnGGprAhHM3qidCMgp71HF4endhA== - dependencies: - "@babel/types" "^7.10.5" - -"@babel/helper-module-imports@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz#4c5c54be04bd31670a7382797d75b9fa2e5b5620" - integrity sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw== - dependencies: - "@babel/types" "^7.10.4" - -"@babel/helper-module-transforms@^7.10.5": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.10.5.tgz#120c271c0b3353673fcdfd8c053db3c544a260d6" - integrity sha512-4P+CWMJ6/j1W915ITJaUkadLObmCRRSC234uctJfn/vHrsLNxsR8dwlcXv9ZhJWzl77awf+mWXSZEKt5t0OnlA== - dependencies: - "@babel/helper-module-imports" "^7.10.4" - "@babel/helper-replace-supers" "^7.10.4" - "@babel/helper-simple-access" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.10.4" - "@babel/template" "^7.10.4" - "@babel/types" "^7.10.5" - lodash "^4.17.19" - -"@babel/helper-optimise-call-expression@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz#50dc96413d594f995a77905905b05893cd779673" - integrity sha512-n3UGKY4VXwXThEiKrgRAoVPBMqeoPgHVqiHZOanAJCG9nQUL2pLRQirUzl0ioKclHGpGqRgIOkgcIJaIWLpygg== - dependencies: - "@babel/types" "^7.10.4" - -"@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.8.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" - integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== - -"@babel/helper-regex@^7.10.4": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.10.5.tgz#32dfbb79899073c415557053a19bd055aae50ae0" - integrity sha512-68kdUAzDrljqBrio7DYAEgCoJHxppJOERHOgOrDN7WjOzP0ZQ1LsSDRXcemzVZaLvjaJsJEESb6qt+znNuENDg== - dependencies: - lodash "^4.17.19" - -"@babel/helper-remap-async-to-generator@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.10.4.tgz#fce8bea4e9690bbe923056ded21e54b4e8b68ed5" - integrity sha512-86Lsr6NNw3qTNl+TBcF1oRZMaVzJtbWTyTko+CQL/tvNvcGYEFKbLXDPxtW0HKk3McNOk4KzY55itGWCAGK5tg== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-wrap-function" "^7.10.4" - "@babel/template" "^7.10.4" - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helper-replace-supers@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz#d585cd9388ea06e6031e4cd44b6713cbead9e6cf" - integrity sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A== - dependencies: - "@babel/helper-member-expression-to-functions" "^7.10.4" - "@babel/helper-optimise-call-expression" "^7.10.4" - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helper-simple-access@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz#0f5ccda2945277a2a7a2d3a821e15395edcf3461" - integrity sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw== - dependencies: - "@babel/template" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helper-split-export-declaration@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.4.tgz#2c70576eaa3b5609b24cb99db2888cc3fc4251d1" - integrity sha512-pySBTeoUff56fL5CBU2hWm9TesA4r/rOkI9DyJLvvgz09MB9YtfIYe3iBriVaYNaPe+Alua0vBIOVOLs2buWhg== - dependencies: - "@babel/types" "^7.10.4" - -"@babel/helper-validator-identifier@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" - integrity sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw== - -"@babel/helper-wrap-function@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.10.4.tgz#8a6f701eab0ff39f765b5a1cfef409990e624b87" - integrity sha512-6py45WvEF0MhiLrdxtRjKjufwLL1/ob2qDJgg5JgNdojBAZSAKnAjkyOCNug6n+OBl4VW76XjvgSFTdaMcW0Ug== - dependencies: - "@babel/helper-function-name" "^7.10.4" - "@babel/template" "^7.10.4" - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helpers@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.10.4.tgz#2abeb0d721aff7c0a97376b9e1f6f65d7a475044" - integrity sha512-L2gX/XeUONeEbI78dXSrJzGdz4GQ+ZTA/aazfUsFaWjSe95kiCuOZ5HsXvkiw3iwF+mFHSRUfJU8t6YavocdXA== - dependencies: - "@babel/template" "^7.10.4" - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/highlight@^7.0.0": - version "7.5.0" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540" - integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ== - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^4.0.0" - -"@babel/highlight@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" - integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA== - dependencies: - "@babel/helper-validator-identifier" "^7.10.4" - chalk "^2.0.0" - js-tokens "^4.0.0" - -"@babel/parser@^7.10.4", "@babel/parser@^7.10.5": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.5.tgz#e7c6bf5a7deff957cec9f04b551e2762909d826b" - integrity sha512-wfryxy4bE1UivvQKSQDU4/X6dr+i8bctjUjj8Zyt3DQy7NtPizJXT8M52nqpNKL+nq2PW8lxk4ZqLj0fD4B4hQ== - -"@babel/plugin-external-helpers@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-external-helpers/-/plugin-external-helpers-7.10.4.tgz#40d38e8e48a1fa3766ab43496253266ca26783ce" - integrity sha512-5mASqSthmRNYVXOphYzlqmR3Y8yp5SZMZhtKDh2DGV3R2PWGLEmP7qOahw66//6m4hjhlpV1bVM7xIJHt1F77Q== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-proposal-async-generator-functions@^7.0.0": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.5.tgz#3491cabf2f7c179ab820606cec27fed15e0e8558" - integrity sha512-cNMCVezQbrRGvXJwm9fu/1sJj9bHdGAgKodZdLqOQIpfoH3raqmRPBM17+lh7CzhiKRRBrGtZL9WcjxSoGYUSg== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-remap-async-to-generator" "^7.10.4" - "@babel/plugin-syntax-async-generators" "^7.8.0" - -"@babel/plugin-proposal-object-rest-spread@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.10.4.tgz#50129ac216b9a6a55b3853fdd923e74bf553a4c0" - integrity sha512-6vh4SqRuLLarjgeOf4EaROJAHjvu9Gl+/346PbDH9yWbJyfnJ/ah3jmYKYtswEyCoWZiidvVHjHshd4WgjB9BA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.10.4" - -"@babel/plugin-syntax-async-generators@^7.0.0", "@babel/plugin-syntax-async-generators@^7.8.0": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" - integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-dynamic-import@^7.0.0": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" - integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-import-meta@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" - integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" - integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-transform-arrow-functions@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.10.4.tgz#e22960d77e697c74f41c501d44d73dbf8a6a64cd" - integrity sha512-9J/oD1jV0ZCBcgnoFWFq1vJd4msoKb/TCpGNFyyLt0zABdcvgK3aYikZ8HjzB14c26bc7E3Q1yugpwGy2aTPNA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-async-to-generator@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.10.4.tgz#41a5017e49eb6f3cda9392a51eef29405b245a37" - integrity sha512-F6nREOan7J5UXTLsDsZG3DXmZSVofr2tGNwfdrVwkDWHfQckbQXnXSPfD7iO+c/2HGqycwyLST3DnZ16n+cBJQ== - dependencies: - "@babel/helper-module-imports" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-remap-async-to-generator" "^7.10.4" - -"@babel/plugin-transform-block-scoped-functions@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.10.4.tgz#1afa595744f75e43a91af73b0d998ecfe4ebc2e8" - integrity sha512-WzXDarQXYYfjaV1szJvN3AD7rZgZzC1JtjJZ8dMHUyiK8mxPRahynp14zzNjU3VkPqPsO38CzxiWO1c9ARZ8JA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-block-scoping@^7.0.0": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.10.5.tgz#b81b8aafefbfe68f0f65f7ef397b9ece68a6037d" - integrity sha512-6Ycw3hjpQti0qssQcA6AMSFDHeNJ++R6dIMnpRqUjFeBBTmTDPa8zgF90OVfTvAo11mXZTlVUViY1g8ffrURLg== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-classes@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.10.4.tgz#405136af2b3e218bc4a1926228bc917ab1a0adc7" - integrity sha512-2oZ9qLjt161dn1ZE0Ms66xBncQH4In8Sqw1YWgBUZuGVJJS5c0OFZXL6dP2MRHrkU/eKhWg8CzFJhRQl50rQxA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-define-map" "^7.10.4" - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-optimise-call-expression" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-replace-supers" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.10.4" - globals "^11.1.0" - -"@babel/plugin-transform-computed-properties@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.10.4.tgz#9ded83a816e82ded28d52d4b4ecbdd810cdfc0eb" - integrity sha512-JFwVDXcP/hM/TbyzGq3l/XWGut7p46Z3QvqFMXTfk6/09m7xZHJUN9xHfsv7vqqD4YnfI5ueYdSJtXqqBLyjBw== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-destructuring@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.10.4.tgz#70ddd2b3d1bea83d01509e9bb25ddb3a74fc85e5" - integrity sha512-+WmfvyfsyF603iPa6825mq6Qrb7uLjTOsa3XOFzlYcYDHSS4QmpOWOL0NNBY5qMbvrcf3tq0Cw+v4lxswOBpgA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-duplicate-keys@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.10.4.tgz#697e50c9fee14380fe843d1f306b295617431e47" - integrity sha512-GL0/fJnmgMclHiBTTWXNlYjYsA7rDrtsazHG6mglaGSTh0KsrW04qml+Bbz9FL0LcJIRwBWL5ZqlNHKTkU3xAA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-exponentiation-operator@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.10.4.tgz#5ae338c57f8cf4001bdb35607ae66b92d665af2e" - integrity sha512-S5HgLVgkBcRdyQAHbKj+7KyuWx8C6t5oETmUuwz1pt3WTWJhsUV0WIIXuVvfXMxl/QQyHKlSCNNtaIamG8fysw== - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-for-of@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.10.4.tgz#c08892e8819d3a5db29031b115af511dbbfebae9" - integrity sha512-ItdQfAzu9AlEqmusA/65TqJ79eRcgGmpPPFvBnGILXZH975G0LNjP1yjHvGgfuCxqrPPueXOPe+FsvxmxKiHHQ== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-function-name@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.10.4.tgz#6a467880e0fc9638514ba369111811ddbe2644b7" - integrity sha512-OcDCq2y5+E0dVD5MagT5X+yTRbcvFjDI2ZVAottGH6tzqjx/LKpgkUepu3hp/u4tZBzxxpNGwLsAvGBvQ2mJzg== - dependencies: - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-instanceof@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-instanceof/-/plugin-transform-instanceof-7.10.4.tgz#05dad934f26e887c0009f6685a6e14fdd962120b" - integrity sha512-wzKw5L8hP8rJg0lZiEPiIRk6qGmTUKLAJK8VgRHCSlmbsTILMHmWT1muGlPDxwCNgHwVT4E7ewWWFi1X3KE5TA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-literals@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.10.4.tgz#9f42ba0841100a135f22712d0e391c462f571f3c" - integrity sha512-Xd/dFSTEVuUWnyZiMu76/InZxLTYilOSr1UlHV+p115Z/Le2Fi1KXkJUYz0b42DfndostYlPub3m8ZTQlMaiqQ== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-modules-amd@^7.0.0": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.10.5.tgz#1b9cddaf05d9e88b3aad339cb3e445c4f020a9b1" - integrity sha512-elm5uruNio7CTLFItVC/rIzKLfQ17+fX7EVz5W0TMgIHFo1zY0Ozzx+lgwhL4plzl8OzVn6Qasx5DeEFyoNiRw== - dependencies: - "@babel/helper-module-transforms" "^7.10.5" - "@babel/helper-plugin-utils" "^7.10.4" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-object-super@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.10.4.tgz#d7146c4d139433e7a6526f888c667e314a093894" - integrity sha512-5iTw0JkdRdJvr7sY0vHqTpnruUpTea32JHmq/atIWqsnNussbRzjEDyWep8UNztt1B5IusBYg8Irb0bLbiEBCQ== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-replace-supers" "^7.10.4" - -"@babel/plugin-transform-parameters@^7.0.0", "@babel/plugin-transform-parameters@^7.10.4": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.5.tgz#59d339d58d0b1950435f4043e74e2510005e2c4a" - integrity sha512-xPHwUj5RdFV8l1wuYiu5S9fqWGM2DrYc24TMvUiRrPVm+SM3XeqU9BcokQX/kEUe+p2RBwy+yoiR1w/Blq6ubw== - dependencies: - "@babel/helper-get-function-arity" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-regenerator@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.10.4.tgz#2015e59d839074e76838de2159db421966fd8b63" - integrity sha512-3thAHwtor39A7C04XucbMg17RcZ3Qppfxr22wYzZNcVIkPHfpM9J0SO8zuCV6SZa265kxBJSrfKTvDCYqBFXGw== - dependencies: - regenerator-transform "^0.14.2" - -"@babel/plugin-transform-shorthand-properties@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.10.4.tgz#9fd25ec5cdd555bb7f473e5e6ee1c971eede4dd6" - integrity sha512-AC2K/t7o07KeTIxMoHneyX90v3zkm5cjHJEokrPEAGEy3UCp8sLKfnfOIGdZ194fyN4wfX/zZUWT9trJZ0qc+Q== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-spread@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.10.4.tgz#4e2c85ea0d6abaee1b24dcfbbae426fe8d674cff" - integrity sha512-1e/51G/Ni+7uH5gktbWv+eCED9pP8ZpRhZB3jOaI3mmzfvJTWHkuyYTv0Z5PYtyM+Tr2Ccr9kUdQxn60fI5WuQ== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-sticky-regex@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.10.4.tgz#8f3889ee8657581130a29d9cc91d7c73b7c4a28d" - integrity sha512-Ddy3QZfIbEV0VYcVtFDCjeE4xwVTJWTmUtorAJkn6u/92Z/nWJNV+mILyqHKrUxXYKA2EoCilgoPePymKL4DvQ== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-regex" "^7.10.4" - -"@babel/plugin-transform-template-literals@^7.0.0": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.10.5.tgz#78bc5d626a6642db3312d9d0f001f5e7639fde8c" - integrity sha512-V/lnPGIb+KT12OQikDvgSuesRX14ck5FfJXt6+tXhdkJ+Vsd0lDCVtF6jcB4rNClYFzaB2jusZ+lNISDk2mMMw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-typeof-symbol@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.10.4.tgz#9509f1a7eec31c4edbffe137c16cc33ff0bc5bfc" - integrity sha512-QqNgYwuuW0y0H+kUE/GWSR45t/ccRhe14Fs/4ZRouNNQsyd4o3PG4OtHiIrepbM2WKUBDAXKCAK/Lk4VhzTaGA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-unicode-regex@^7.0.0": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.10.4.tgz#e56d71f9282fac6db09c82742055576d5e6d80a8" - integrity sha512-wNfsc4s8N2qnIwpO/WP2ZiSyjfpTamT2C9V9FDH/Ljub9zw6P3SjkXcFmc0RQUt96k2fmIvtla2MMjgTwIAC+A== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/runtime@^7.8.4": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.10.5.tgz#303d8bd440ecd5a491eae6117fd3367698674c5c" - integrity sha512-otddXKhdNn7d0ptoFRHtMLa8LqDxLYwTjB4nYgM1yy5N6gU/MUf8zqyyLltCH3yAVitBzmwK4us+DD0l/MauAg== - dependencies: - regenerator-runtime "^0.13.4" - -"@babel/template@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.4.tgz#3251996c4200ebc71d1a8fc405fba940f36ba278" - integrity sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA== - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/parser" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/traverse@^7.0.0", "@babel/traverse@^7.0.0-beta.42", "@babel/traverse@^7.10.4", "@babel/traverse@^7.10.5": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.5.tgz#77ce464f5b258be265af618d8fddf0536f20b564" - integrity sha512-yc/fyv2gUjPqzTz0WHeRJH2pv7jA9kA7mBX2tXl/x5iOE81uaVPuGPtaYk7wmkx4b67mQ7NqI8rmT2pF47KYKQ== - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/generator" "^7.10.5" - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.10.4" - "@babel/parser" "^7.10.5" - "@babel/types" "^7.10.5" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.19" - -"@babel/types@^7.0.0-beta.42", "@babel/types@^7.10.4", "@babel/types@^7.10.5": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.5.tgz#d88ae7e2fde86bfbfe851d4d81afa70a997b5d15" - integrity sha512-ixV66KWfCI6GKoA/2H9v6bQdbfXEwwpOdQ8cRvb4F+eyvhlaHxWFMQB4+3d9QFJXZsiiiqVrewNV0DFEQpyT4Q== - dependencies: - "@babel/helper-validator-identifier" "^7.10.4" - lodash "^4.17.19" - to-fast-properties "^2.0.0" - -"@dabh/diagnostics@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.2.tgz#290d08f7b381b8f94607dc8f471a12c675f9db31" - integrity sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q== - dependencies: - colorspace "1.1.x" - enabled "2.0.x" - kuler "^2.0.0" - -"@evocateur/libnpmaccess@^3.1.0": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@evocateur/libnpmaccess/-/libnpmaccess-3.1.1.tgz#e998466d9398dbc8e429a9640bb668924bef203d" - integrity sha512-sGRA6pDmlhQaRXH44tLLa6SlDF+Ws1gdEa0aeFJwJfeN8nV2oUpMbpJiIHDF2OxZnSkjOiyg/OAbNEeGzwL1/g== - dependencies: - "@evocateur/npm-registry-fetch" "^3.9.2" - aproba "^2.0.0" - figgy-pudding "^3.5.1" - get-stream "^4.0.0" - npm-package-arg "^6.1.0" - -"@evocateur/libnpmpublish@^1.2.0": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@evocateur/libnpmpublish/-/libnpmpublish-1.2.1.tgz#db6c69f3a0417c6477c4b9a273b2c4314bf82713" - integrity sha512-aQ1IyvOmwwXie2TTkSuXC8H1EJU7b3GUWgefW49vgTzENEhvt8OOcoFg8pp5vvEe6Ty7YOUarEL/Wz+T/GQYHA== - dependencies: - "@evocateur/npm-registry-fetch" "^3.9.2" - aproba "^2.0.0" - figgy-pudding "^3.5.1" - get-stream "^4.0.0" - lodash.clonedeep "^4.5.0" - normalize-package-data "^2.4.0" - npm-package-arg "^6.1.0" - semver "^5.5.1" - ssri "^6.0.1" - -"@evocateur/npm-registry-fetch@^3.9.1", "@evocateur/npm-registry-fetch@^3.9.2": - version "3.9.2" - resolved "https://registry.yarnpkg.com/@evocateur/npm-registry-fetch/-/npm-registry-fetch-3.9.2.tgz#4e23b8b6c812c34828520ce42b31fcdb927c77a3" - integrity sha512-lz4cWdC32z6iI05YT9y79YuJtp4IXUu9lAP5JA/Z/difUXJRLAKlemboY64ELa8BKDav/ktjeCKUUJL8jxNTig== - dependencies: - JSONStream "^1.3.4" - bluebird "^3.5.1" - figgy-pudding "^3.4.1" - lru-cache "^5.1.1" - make-fetch-happen "^4.0.2" - npm-package-arg "^6.1.0" - safe-buffer "^5.1.2" - -"@evocateur/pacote@^9.6.0": - version "9.6.1" - resolved "https://registry.yarnpkg.com/@evocateur/pacote/-/pacote-9.6.1.tgz#51770f22735ffd73224fe98dd9660c6f7b725b88" - integrity sha512-5G3LlCSmqELvR0b7uJOo8M4eYlmnA25Efft6s8kMeS6N0YZrDcqveRXr1B7BNAeFlXi80pHAA7kFJ1Hcy+427Q== - dependencies: - "@evocateur/npm-registry-fetch" "^3.9.2" - bluebird "^3.5.5" - cacache "^11.3.3" - figgy-pudding "^3.5.1" - get-stream "^4.1.0" - glob "^7.1.4" - lru-cache "^5.1.1" - make-fetch-happen "^4.0.2" - minimatch "^3.0.4" - minipass "^2.3.5" - mississippi "^3.0.0" - mkdirp "^0.5.1" - normalize-package-data "^2.5.0" - npm-package-arg "^6.1.0" - npm-packlist "^1.4.4" - npm-pick-manifest "^2.2.3" - osenv "^0.1.5" - promise-inflight "^1.0.1" - promise-retry "^1.1.1" - protoduck "^5.0.1" - rimraf "^2.6.3" - safe-buffer "^5.2.0" - semver "^5.7.0" - ssri "^6.0.1" - tar "^4.4.10" - unique-filename "^1.1.1" - which "^1.3.1" - -"@lerna/add@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.15.0.tgz#10be562f43cde59b60f299083d54ac39520ec60a" - integrity sha512-+KrG4GFy/6FISZ+DwWf5Fj5YB4ESa4VTnSn/ujf3VEda6dxngHPN629j+TcPbsdOxUYVah+HuZbC/B8NnkrKpQ== - dependencies: - "@evocateur/pacote" "^9.6.0" - "@lerna/bootstrap" "3.15.0" - "@lerna/command" "3.15.0" - "@lerna/filter-options" "3.14.2" - "@lerna/npm-conf" "3.13.0" - "@lerna/validation-error" "3.13.0" - dedent "^0.7.0" - npm-package-arg "^6.1.0" - p-map "^1.2.0" - semver "^5.5.0" - -"@lerna/batch-packages@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/batch-packages/-/batch-packages-3.14.0.tgz#0208663bab3ddbf57956b370aaec4c9ebee6c800" - integrity sha512-RlBkQVNTqk1qvn6PFWiWNiskllUHh6tXbTVm43mZRNd+vhAyvrQC8RWJxH0ECVvnFAt9rSNGRIVbEJ31WnNQLg== - dependencies: - "@lerna/package-graph" "3.14.0" - npmlog "^4.1.2" - -"@lerna/bootstrap@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-3.15.0.tgz#f53e0bbbbfb8367e609a06378409bfc673ff2930" - integrity sha512-4AxsPKKbgj2Ju03qDddQTpOHvpqnwd0yaiEU/aCcWv/4tDTe79NqUne2Z3+P2WZY0Zzb8+nUKcskwYBMTeq+Mw== - dependencies: - "@lerna/batch-packages" "3.14.0" - "@lerna/command" "3.15.0" - "@lerna/filter-options" "3.14.2" - "@lerna/has-npm-version" "3.14.2" - "@lerna/npm-install" "3.14.2" - "@lerna/package-graph" "3.14.0" - "@lerna/pulse-till-done" "3.13.0" - "@lerna/rimraf-dir" "3.14.2" - "@lerna/run-lifecycle" "3.14.0" - "@lerna/run-parallel-batches" "3.13.0" - "@lerna/symlink-binary" "3.14.2" - "@lerna/symlink-dependencies" "3.14.2" - "@lerna/validation-error" "3.13.0" - dedent "^0.7.0" - get-port "^3.2.0" - multimatch "^2.1.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - p-finally "^1.0.0" - p-map "^1.2.0" - p-map-series "^1.0.0" - p-waterfall "^1.0.0" - read-package-tree "^5.1.6" - semver "^5.5.0" - -"@lerna/changed@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/changed/-/changed-3.15.0.tgz#20db9d992d697e4288c260aa38b989dcb93f4b40" - integrity sha512-Hns1ssI9T9xOTGVc7PT2jUaqzsSkxV3hV/Y7iFO0uKTk+fduyTwGTHU9A/ybQ/xi/9iaJbvaXyjxKiGoEnzmhg== - dependencies: - "@lerna/collect-updates" "3.14.2" - "@lerna/command" "3.15.0" - "@lerna/listable" "3.14.0" - "@lerna/output" "3.13.0" - "@lerna/version" "3.15.0" - -"@lerna/check-working-tree@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/check-working-tree/-/check-working-tree-3.14.2.tgz#5ce007722180a69643a8456766ed8a91fc7e9ae1" - integrity sha512-7safqxM/MYoAoxZxulUDtIJIbnBIgo0PB/FHytueG+9VaX7GMnDte2Bt1EKa0dz2sAyQdmQ3Q8ZXpf/6JDjaeg== - dependencies: - "@lerna/collect-uncommitted" "3.14.2" - "@lerna/describe-ref" "3.14.2" - "@lerna/validation-error" "3.13.0" - -"@lerna/child-process@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-3.14.2.tgz#950240cba83f7dfe25247cfa6c9cebf30b7d94f6" - integrity sha512-xnq+W5yQb6RkwI0p16ZQnrn6HkloH/MWTw4lGE1nKsBLAUbmSU5oTE93W1nrG0X3IMF/xWc9UYvNdUGMWvZZ4w== - dependencies: - chalk "^2.3.1" - execa "^1.0.0" - strong-log-transformer "^2.0.0" - -"@lerna/clean@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/clean/-/clean-3.15.0.tgz#a94da50908a80ba443a0a682706aca79ac2ecf27" - integrity sha512-D1BN7BnJk6YjrSR7E7RiCmWiFVWDo3L+OSe6zDq6rNNYexPBtSi2JOCeF/Dibi3jd2luVu0zkVpUtuEEdPiD+A== - dependencies: - "@lerna/command" "3.15.0" - "@lerna/filter-options" "3.14.2" - "@lerna/prompt" "3.13.0" - "@lerna/pulse-till-done" "3.13.0" - "@lerna/rimraf-dir" "3.14.2" - p-map "^1.2.0" - p-map-series "^1.0.0" - p-waterfall "^1.0.0" - -"@lerna/cli@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/cli/-/cli-3.13.0.tgz#3d7b357fdd7818423e9681a7b7f2abd106c8a266" - integrity sha512-HgFGlyCZbYaYrjOr3w/EsY18PdvtsTmDfpUQe8HwDjXlPeCCUgliZjXLOVBxSjiOvPeOSwvopwIHKWQmYbwywg== - dependencies: - "@lerna/global-options" "3.13.0" - dedent "^0.7.0" - npmlog "^4.1.2" - yargs "^12.0.1" - -"@lerna/collect-uncommitted@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/collect-uncommitted/-/collect-uncommitted-3.14.2.tgz#b5ed00d800bea26bb0d18404432b051eee8d030e" - integrity sha512-4EkQu4jIOdNL2BMzy/N0ydHB8+Z6syu6xiiKXOoFl0WoWU9H1jEJCX4TH7CmVxXL1+jcs8FIS2pfQz4oew99Eg== - dependencies: - "@lerna/child-process" "3.14.2" - chalk "^2.3.1" - figgy-pudding "^3.5.1" - npmlog "^4.1.2" - -"@lerna/collect-updates@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/collect-updates/-/collect-updates-3.14.2.tgz#396201f6568ec5916bf2c11e7a29b0931fcd3e5b" - integrity sha512-+zSQ2ZovH8Uc0do5dR+sk8VvRJc6Xl+ZnJJGESIl17KSpEw/lVjcOyt6f3BP+WHn+iSOjMWcGvUVA601FIEdZw== - dependencies: - "@lerna/child-process" "3.14.2" - "@lerna/describe-ref" "3.14.2" - minimatch "^3.0.4" - npmlog "^4.1.2" - slash "^1.0.0" - -"@lerna/command@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/command/-/command-3.15.0.tgz#e1dc1319054f1cf0b135aa0c5730f3335641a0ca" - integrity sha512-dZqr4rKFN+veuXakIQ1DcGUpzBgcWKaYFNN4O6/skOdVQaEfGefzo1sZET+q7k/BkypxkhXHXpv5UqqSuL/EHQ== - dependencies: - "@lerna/child-process" "3.14.2" - "@lerna/package-graph" "3.14.0" - "@lerna/project" "3.15.0" - "@lerna/validation-error" "3.13.0" - "@lerna/write-log-file" "3.13.0" - dedent "^0.7.0" - execa "^1.0.0" - is-ci "^1.0.10" - lodash "^4.17.5" - npmlog "^4.1.2" - -"@lerna/conventional-commits@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/conventional-commits/-/conventional-commits-3.14.0.tgz#24f643550dc29d4f1249cc26d0eb453d7a1c513d" - integrity sha512-hGZ2qQZ9uEGf2eeIiIpEodSs9Qkkf/2uYEtNT7QN1RYISPUh6/lKGBssc5dpbCF64aEuxmemWLdlDf1ogG6++w== - dependencies: - "@lerna/validation-error" "3.13.0" - conventional-changelog-angular "^5.0.3" - conventional-changelog-core "^3.1.6" - conventional-recommended-bump "^4.0.4" - fs-extra "^7.0.0" - get-stream "^4.0.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - pify "^3.0.0" - semver "^5.5.0" - -"@lerna/create-symlink@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/create-symlink/-/create-symlink-3.14.0.tgz#f40ae06e8cebe70c694368ebf9a4af5ab380fbea" - integrity sha512-Kw51HYOOi6UfCKncqkgEU1k/SYueSBXgkNL91FR8HAZH7EPSRTEtp9mnJo568g0+Hog5C+3cOaWySwhHpRG29A== - dependencies: - cmd-shim "^2.0.2" - fs-extra "^7.0.0" - npmlog "^4.1.2" - -"@lerna/create@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/create/-/create-3.15.0.tgz#27bfadcbdf71d34226aa82432293f5290f7ab1aa" - integrity sha512-doXGt0HTwTQl8GkC2tOrraA/5OWbz35hJqi7Dsl3Fl0bAxiv9XmF3LykHFJ+YTDHfGpdoJ8tKu66f/VKP16G0w== - dependencies: - "@evocateur/pacote" "^9.6.0" - "@lerna/child-process" "3.14.2" - "@lerna/command" "3.15.0" - "@lerna/npm-conf" "3.13.0" - "@lerna/validation-error" "3.13.0" - camelcase "^5.0.0" - dedent "^0.7.0" - fs-extra "^7.0.0" - globby "^8.0.1" - init-package-json "^1.10.3" - npm-package-arg "^6.1.0" - p-reduce "^1.0.0" - pify "^3.0.0" - semver "^5.5.0" - slash "^1.0.0" - validate-npm-package-license "^3.0.3" - validate-npm-package-name "^3.0.0" - whatwg-url "^7.0.0" - -"@lerna/describe-ref@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/describe-ref/-/describe-ref-3.14.2.tgz#edc3c973f5ca9728d23358c4f4d3b55a21f65be5" - integrity sha512-qa5pzDRK2oBQXNjyRmRnN7E8a78NMYfQjjlRFB0KNHMsT6mCiL9+8kIS39sSE2NqT8p7xVNo2r2KAS8R/m3CoQ== - dependencies: - "@lerna/child-process" "3.14.2" - npmlog "^4.1.2" - -"@lerna/diff@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/diff/-/diff-3.15.0.tgz#573d6f58f6809d16752dcfab74c5e286b6678371" - integrity sha512-N1Pr0M554Bt+DlVoD+DXWGh92gcq6G9icn8sH5GSqfwi0XCpPNJ2i1BNEZpUQ6ulLWOMa1YHR4PypPxecRGBjA== - dependencies: - "@lerna/child-process" "3.14.2" - "@lerna/command" "3.15.0" - "@lerna/validation-error" "3.13.0" - npmlog "^4.1.2" - -"@lerna/exec@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/exec/-/exec-3.15.0.tgz#b31510f47255367eb0d3e4a4f7b6ef8f7e41b985" - integrity sha512-YuXPd64TNG9wbb3lRvyMARQbdlbMZ1bJZ+GCm0enivnIWUyg0qtBDcfPY2dWpIgOif04zx+K/gmOX4lCaGM4UQ== - dependencies: - "@lerna/child-process" "3.14.2" - "@lerna/command" "3.15.0" - "@lerna/filter-options" "3.14.2" - "@lerna/run-topologically" "3.14.0" - "@lerna/validation-error" "3.13.0" - p-map "^1.2.0" - -"@lerna/filter-options@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/filter-options/-/filter-options-3.14.2.tgz#7ba91cb54ff3fd9f4650ad8d7c40bc1075e44c2d" - integrity sha512-Ct8oYvRttbYB9JalngHhirb8o9ZVyLm5a9MpXNevXoHiu6j0vNhI19BQCwNnrL6wZvEHJnzPuUl/jO23tWxemg== - dependencies: - "@lerna/collect-updates" "3.14.2" - "@lerna/filter-packages" "3.13.0" - dedent "^0.7.0" - -"@lerna/filter-packages@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/filter-packages/-/filter-packages-3.13.0.tgz#f5371249e7e1a15928e5e88c544a242e0162c21c" - integrity sha512-RWiZWyGy3Mp7GRVBn//CacSnE3Kw82PxE4+H6bQ3pDUw/9atXn7NRX+gkBVQIYeKamh7HyumJtyOKq3Pp9BADQ== - dependencies: - "@lerna/validation-error" "3.13.0" - multimatch "^2.1.0" - npmlog "^4.1.2" - -"@lerna/get-npm-exec-opts@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-3.13.0.tgz#d1b552cb0088199fc3e7e126f914e39a08df9ea5" - integrity sha512-Y0xWL0rg3boVyJk6An/vurKzubyJKtrxYv2sj4bB8Mc5zZ3tqtv0ccbOkmkXKqbzvNNF7VeUt1OJ3DRgtC/QZw== - dependencies: - npmlog "^4.1.2" - -"@lerna/get-packed@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/get-packed/-/get-packed-3.13.0.tgz#335e40d77f3c1855aa248587d3e0b2d8f4b06e16" - integrity sha512-EgSim24sjIjqQDC57bgXD9l22/HCS93uQBbGpkzEOzxAVzEgpZVm7Fm1t8BVlRcT2P2zwGnRadIvxTbpQuDPTg== - dependencies: - fs-extra "^7.0.0" - ssri "^6.0.1" - tar "^4.4.8" - -"@lerna/github-client@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/github-client/-/github-client-3.14.2.tgz#a743792b51cd9bdfb785186e429568827a6372eb" - integrity sha512-+2Xh7t4qVmXiXE2utPnh5T7YwSltG74JP7c+EiooRY5+3zjh9MpPOcTKxVY3xKclzpsyXMohk2KpTF4tzA5rrg== - dependencies: - "@lerna/child-process" "3.14.2" - "@octokit/plugin-enterprise-rest" "^2.1.1" - "@octokit/rest" "^16.16.0" - git-url-parse "^11.1.2" - npmlog "^4.1.2" - -"@lerna/gitlab-client@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/gitlab-client/-/gitlab-client-3.15.0.tgz#91f4ec8c697b5ac57f7f25bd50fe659d24aa96a6" - integrity sha512-OsBvRSejHXUBMgwWQqNoioB8sgzL/Pf1pOUhHKtkiMl6aAWjklaaq5HPMvTIsZPfS6DJ9L5OK2GGZuooP/5c8Q== - dependencies: - node-fetch "^2.5.0" - npmlog "^4.1.2" - whatwg-url "^7.0.0" - -"@lerna/global-options@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/global-options/-/global-options-3.13.0.tgz#217662290db06ad9cf2c49d8e3100ee28eaebae1" - integrity sha512-SlZvh1gVRRzYLVluz9fryY1nJpZ0FHDGB66U9tFfvnnxmueckRQxLopn3tXj3NU1kc3QANT2I5BsQkOqZ4TEFQ== - -"@lerna/has-npm-version@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/has-npm-version/-/has-npm-version-3.14.2.tgz#ac17f7c68e92114b8332b95ae6cffec9c0d67a7b" - integrity sha512-cG+z5bB8JPd5f+nT2eLN2LmKg06O11AxlnUxgw2W7cLyc7cnsmMSp/rxt2JBMwW2r4Yn+CLLJIRwJZ2Es8jFSw== - dependencies: - "@lerna/child-process" "3.14.2" - semver "^5.5.0" - -"@lerna/import@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/import/-/import-3.15.0.tgz#47f2da52059a96bb08a4c09e18d985258fce9ce1" - integrity sha512-4GKQgeTXBTwMbZNkYyPdQIVA41HIISD7D6XRNrDaG0falUfvoPsknijQPCBmGqeh66u1Fcn2+4lkL3OCTj2FMg== - dependencies: - "@lerna/child-process" "3.14.2" - "@lerna/command" "3.15.0" - "@lerna/prompt" "3.13.0" - "@lerna/pulse-till-done" "3.13.0" - "@lerna/validation-error" "3.13.0" - dedent "^0.7.0" - fs-extra "^7.0.0" - p-map-series "^1.0.0" - -"@lerna/init@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/init/-/init-3.15.0.tgz#bda36de44c365972f87cbd287fe85b6fb7bb1070" - integrity sha512-VOqH6kFbFtfUbXxhSqXKY6bjnVp9nLuLRI6x9tVHOANX2LmSlXm17OUGBnNt+eM4uJLuiUsAR8nTlpCiz//lPQ== - dependencies: - "@lerna/child-process" "3.14.2" - "@lerna/command" "3.15.0" - fs-extra "^7.0.0" - p-map "^1.2.0" - write-json-file "^2.3.0" - -"@lerna/link@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/link/-/link-3.15.0.tgz#718b4116a8eacb3fc73414ae8d97f8fdaf8125da" - integrity sha512-yKHuifADINobvDOLljBGkVGpVwy6J3mg5p9lQXBdOLXBoIKC8o/UKBR9JvZMFvT/Iy6zn6FPy1v5lz9iU1Ib0Q== - dependencies: - "@lerna/command" "3.15.0" - "@lerna/package-graph" "3.14.0" - "@lerna/symlink-dependencies" "3.14.2" - p-map "^1.2.0" - slash "^1.0.0" - -"@lerna/list@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/list/-/list-3.15.0.tgz#4e401c1ad990bb12bd38298cb61d21136420ff68" - integrity sha512-8SvxnlfAnbEzQDf2NL0IxWyUuqWTykF9cHt5/f5TOzgESClpaOkDtqwh/UlE8nVTzWMnxnQUPQi3UTKyJD3i3g== - dependencies: - "@lerna/command" "3.15.0" - "@lerna/filter-options" "3.14.2" - "@lerna/listable" "3.14.0" - "@lerna/output" "3.13.0" - -"@lerna/listable@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/listable/-/listable-3.14.0.tgz#08f4c78e0466568e8e8a57d4ad09537f2bb7bbb9" - integrity sha512-ZK44Mo8xf/N97eQZ236SPSq0ek6+gk4HqHIx05foEMZVV1iIDH4a/nblLsJNjGQVsIdMYFPaqNJ0z+ZQfiJazQ== - dependencies: - "@lerna/query-graph" "3.14.0" - chalk "^2.3.1" - columnify "^1.5.4" - -"@lerna/log-packed@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/log-packed/-/log-packed-3.13.0.tgz#497b5f692a8d0e3f669125da97b0dadfd9e480f3" - integrity sha512-Rmjrcz+6aM6AEcEVWmurbo8+AnHOvYtDpoeMMJh9IZ9SmZr2ClXzmD7wSvjTQc8BwOaiWjjC/ukcT0UYA2m7wg== - dependencies: - byte-size "^4.0.3" - columnify "^1.5.4" - has-unicode "^2.0.1" - npmlog "^4.1.2" - -"@lerna/npm-conf@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-conf/-/npm-conf-3.13.0.tgz#6b434ed75ff757e8c14381b9bbfe5d5ddec134a7" - integrity sha512-Jg2kANsGnhg+fbPEzE0X9nX5oviEAvWj0nYyOkcE+cgWuT7W0zpnPXC4hA4C5IPQGhwhhh0IxhWNNHtjTuw53g== - dependencies: - config-chain "^1.1.11" - pify "^3.0.0" - -"@lerna/npm-dist-tag@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-dist-tag/-/npm-dist-tag-3.15.0.tgz#262dd1e67a4cf82ae78fadfe02622ebce4add078" - integrity sha512-lnbdwc4Ebs7/EI9fTIgbH3dxXnP+SuCcGhG7P5ZjOqo67SY09sRZGcygEzabpvIwXvKpBF8vCd4xxzjnF2u+PA== - dependencies: - "@evocateur/npm-registry-fetch" "^3.9.1" - "@lerna/otplease" "3.14.0" - figgy-pudding "^3.5.1" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - -"@lerna/npm-install@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/npm-install/-/npm-install-3.14.2.tgz#fd22ff432f8b7cbe05bedfd36b0506482f1a4732" - integrity sha512-JYJJRtLETrGpcQZa8Rj16vbye399RqnaXmJlZuZ2twjJ2DYVYtwkfsGEOdvdaKw5KVOEpWcAxBA9OMmKQtCLQw== - dependencies: - "@lerna/child-process" "3.14.2" - "@lerna/get-npm-exec-opts" "3.13.0" - fs-extra "^7.0.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - signal-exit "^3.0.2" - write-pkg "^3.1.0" - -"@lerna/npm-publish@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-publish/-/npm-publish-3.15.0.tgz#89126d74ec97186475767b852954a5f55b732a71" - integrity sha512-G7rcNcSGjG0La8eHPXDvCvoNXbwNnP6XJ+GPh3CH5xiR/nikfLOa+Bfm4ytdjVWWxnKfCT4qyMTCoV1rROlqQQ== - dependencies: - "@evocateur/libnpmpublish" "^1.2.0" - "@lerna/otplease" "3.14.0" - "@lerna/run-lifecycle" "3.14.0" - figgy-pudding "^3.5.1" - fs-extra "^7.0.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - pify "^3.0.0" - read-package-json "^2.0.13" - -"@lerna/npm-run-script@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/npm-run-script/-/npm-run-script-3.14.2.tgz#8c518ea9d241a641273e77aad6f6fddc16779c3f" - integrity sha512-LbVFv+nvAoRTYLMrJlJ8RiakHXrLslL7Jp/m1R18vYrB8LYWA3ey+nz5Tel2OELzmjUiemAKZsD9h6i+Re5egg== - dependencies: - "@lerna/child-process" "3.14.2" - "@lerna/get-npm-exec-opts" "3.13.0" - npmlog "^4.1.2" - -"@lerna/otplease@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/otplease/-/otplease-3.14.0.tgz#b539fd3e7a08452fc0db3b10010ca3cf0e4a73e7" - integrity sha512-rYAWzaYZ81bwnrmTkYWGgcc13bl/6DlG7pjWQWNGAJNLzO5zzj0xmXN5sMFJnNvDpSiS/ZS1sIuPvb4xnwLUkg== - dependencies: - "@lerna/prompt" "3.13.0" - figgy-pudding "^3.5.1" - -"@lerna/output@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/output/-/output-3.13.0.tgz#3ded7cc908b27a9872228a630d950aedae7a4989" - integrity sha512-7ZnQ9nvUDu/WD+bNsypmPG5MwZBwu86iRoiW6C1WBuXXDxM5cnIAC1m2WxHeFnjyMrYlRXM9PzOQ9VDD+C15Rg== - dependencies: - npmlog "^4.1.2" - -"@lerna/pack-directory@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/pack-directory/-/pack-directory-3.14.2.tgz#577b8ebf867c9b636a2e4659a27552ee24d83b9d" - integrity sha512-b3LnJEmIml3sDj94TQT8R+kVyrDlmE7Su0WwcBYZDySXPMSZ38WA2/2Xjy/EWhXlFxp/nUJKyUG78nDrZ/00Uw== - dependencies: - "@lerna/get-packed" "3.13.0" - "@lerna/package" "3.14.2" - "@lerna/run-lifecycle" "3.14.0" - figgy-pudding "^3.5.1" - npm-packlist "^1.4.1" - npmlog "^4.1.2" - tar "^4.4.8" - temp-write "^3.4.0" - -"@lerna/package-graph@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/package-graph/-/package-graph-3.14.0.tgz#4ccdf446dccedfbbeb4efff3eb720cb6fcb109fc" - integrity sha512-dNpA/64STD5YXhaSlg4gT6Z474WPJVCHoX1ibsVIFu0fVgH609Y69bsdmbvTRdI7r6Dcu4ZfGxdR636RTrH+Eg== - dependencies: - "@lerna/prerelease-id-from-version" "3.14.0" - "@lerna/validation-error" "3.13.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - semver "^5.5.0" - -"@lerna/package@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/package/-/package-3.14.2.tgz#f893cb42e26c869df272dafbe1dd5a3473b0bd4d" - integrity sha512-YR/+CzYdufJYfsUlrfuhTjA35iSZpXK7mVOZmeR9iRWhSaqesm4kq2zfxm9vCpZV2oAQQZOwi4eo5h0rQBtdiw== - dependencies: - load-json-file "^4.0.0" - npm-package-arg "^6.1.0" - write-pkg "^3.1.0" - -"@lerna/prerelease-id-from-version@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-3.14.0.tgz#d5da9c26ac4a0d0ecde09018f06e41ca4dd444c2" - integrity sha512-Ap3Z/dNhqQuSrKmK+JmzYvQYI2vowxHvUVxZJiDVilW8dyNnxkCsYFmkuZytk5sxVz4VeGLNPS2RSsU5eeSS+Q== - dependencies: - semver "^5.5.0" - -"@lerna/project@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/project/-/project-3.15.0.tgz#733b0993a849dcf5b68fcd0ec11d8f7de38a6999" - integrity sha512-eNGUWiMbQ9kh9kGkomtMnsLypS0rfLqxKgZP2+VnNVtIXjnLv4paeTm+1lkL+naNJUwhnpMk2NSLEeoxT/20QA== - dependencies: - "@lerna/package" "3.14.2" - "@lerna/validation-error" "3.13.0" - cosmiconfig "^5.1.0" - dedent "^0.7.0" - dot-prop "^4.2.0" - glob-parent "^3.1.0" - globby "^8.0.1" - load-json-file "^4.0.0" - npmlog "^4.1.2" - p-map "^1.2.0" - resolve-from "^4.0.0" - write-json-file "^2.3.0" - -"@lerna/prompt@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/prompt/-/prompt-3.13.0.tgz#53571462bb3f5399cc1ca6d335a411fe093426a5" - integrity sha512-P+lWSFokdyvYpkwC3it9cE0IF2U5yy2mOUbGvvE4iDb9K7TyXGE+7lwtx2thtPvBAfIb7O13POMkv7df03HJeA== - dependencies: - inquirer "^6.2.0" - npmlog "^4.1.2" - -"@lerna/publish@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/publish/-/publish-3.15.0.tgz#54f93f8f0820d2d419d0b65df1eb55d8277090c9" - integrity sha512-6tRRBJ8olLSXfrUsR4f7vSfx0cT1oPi6/v06yI3afDSsUX6eQ3ooZh7gMY4RWmd+nM/IJHTUzhlKF6WhTvo+9g== - dependencies: - "@evocateur/libnpmaccess" "^3.1.0" - "@evocateur/npm-registry-fetch" "^3.9.1" - "@evocateur/pacote" "^9.6.0" - "@lerna/check-working-tree" "3.14.2" - "@lerna/child-process" "3.14.2" - "@lerna/collect-updates" "3.14.2" - "@lerna/command" "3.15.0" - "@lerna/describe-ref" "3.14.2" - "@lerna/log-packed" "3.13.0" - "@lerna/npm-conf" "3.13.0" - "@lerna/npm-dist-tag" "3.15.0" - "@lerna/npm-publish" "3.15.0" - "@lerna/output" "3.13.0" - "@lerna/pack-directory" "3.14.2" - "@lerna/prerelease-id-from-version" "3.14.0" - "@lerna/prompt" "3.13.0" - "@lerna/pulse-till-done" "3.13.0" - "@lerna/run-lifecycle" "3.14.0" - "@lerna/run-topologically" "3.14.0" - "@lerna/validation-error" "3.13.0" - "@lerna/version" "3.15.0" - figgy-pudding "^3.5.1" - fs-extra "^7.0.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - p-finally "^1.0.0" - p-map "^1.2.0" - p-pipe "^1.2.0" - semver "^5.5.0" - -"@lerna/pulse-till-done@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/pulse-till-done/-/pulse-till-done-3.13.0.tgz#c8e9ce5bafaf10d930a67d7ed0ccb5d958fe0110" - integrity sha512-1SOHpy7ZNTPulzIbargrgaJX387csN7cF1cLOGZiJQA6VqnS5eWs2CIrG8i8wmaUavj2QlQ5oEbRMVVXSsGrzA== - dependencies: - npmlog "^4.1.2" - -"@lerna/query-graph@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/query-graph/-/query-graph-3.14.0.tgz#2abb36f445bd924d0f85ac7aec1445e9ef1e2c6c" - integrity sha512-6YTh3vDMW2hUxHdKeRvx4bosc9lZClKaN+DzC1XKTkwDbWrsjmEzLcemKL6QnyyeuryN2f/eto7P9iSe3z3pQQ== - dependencies: - "@lerna/package-graph" "3.14.0" - figgy-pudding "^3.5.1" - -"@lerna/resolve-symlink@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/resolve-symlink/-/resolve-symlink-3.13.0.tgz#3e6809ef53b63fe914814bfa071cd68012e22fbb" - integrity sha512-Lc0USSFxwDxUs5JvIisS8JegjA6SHSAWJCMvi2osZx6wVRkEDlWG2B1JAfXUzCMNfHoZX0/XX9iYZ+4JIpjAtg== - dependencies: - fs-extra "^7.0.0" - npmlog "^4.1.2" - read-cmd-shim "^1.0.1" - -"@lerna/rimraf-dir@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/rimraf-dir/-/rimraf-dir-3.14.2.tgz#103a49882abd85d42285d05cc76869b89f21ffd2" - integrity sha512-eFNkZsy44Bu9v1Hrj5Zk6omzg8O9h/7W6QYK1TTUHeyrjTEwytaNQlqF0lrTLmEvq55sviV42NC/8P3M2cvq8Q== - dependencies: - "@lerna/child-process" "3.14.2" - npmlog "^4.1.2" - path-exists "^3.0.0" - rimraf "^2.6.2" - -"@lerna/run-lifecycle@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/run-lifecycle/-/run-lifecycle-3.14.0.tgz#0499eca0e7f393faf4e24e6c8737302a9059c22b" - integrity sha512-GUM3L9MzGRSW0WQ8wbLW1+SYStU1OFjW0GBzShhBnFrO4nGRrU7VchsLpcLu0hk2uCzyhsrDKzifEdOdUyMoEQ== - dependencies: - "@lerna/npm-conf" "3.13.0" - figgy-pudding "^3.5.1" - npm-lifecycle "^2.1.1" - npmlog "^4.1.2" - -"@lerna/run-parallel-batches@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/run-parallel-batches/-/run-parallel-batches-3.13.0.tgz#0276bb4e7cd0995297db82d134ca2bd08d63e311" - integrity sha512-bICFBR+cYVF1FFW+Tlm0EhWDioTUTM6dOiVziDEGE1UZha1dFkMYqzqdSf4bQzfLS31UW/KBd/2z8jy2OIjEjg== - dependencies: - p-map "^1.2.0" - p-map-series "^1.0.0" - -"@lerna/run-topologically@3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@lerna/run-topologically/-/run-topologically-3.14.0.tgz#2a560cb657f0ef1565c680b6001b4b01b872dc07" - integrity sha512-y+KBpC1YExFzGynovt9MY4O/bc3RrJaKeuXieiPfKGKxrdtmZe/r33oj/xePTXZq65jnw3SaU3H8S5CrrdkwDg== - dependencies: - "@lerna/query-graph" "3.14.0" - figgy-pudding "^3.5.1" - p-queue "^4.0.0" - -"@lerna/run@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/run/-/run-3.15.0.tgz#465028b5b561a050bd760924e4a0749de3f43172" - integrity sha512-KQBkzZYoEKmzILKjbjsm1KKVWFBXwAdwzqJWj/lfxxd3V5LRF8STASk8aiw8bSpB0bUL9TU/pbXakRxiNzjDwQ== - dependencies: - "@lerna/command" "3.15.0" - "@lerna/filter-options" "3.14.2" - "@lerna/npm-run-script" "3.14.2" - "@lerna/output" "3.13.0" - "@lerna/run-topologically" "3.14.0" - "@lerna/timer" "3.13.0" - "@lerna/validation-error" "3.13.0" - p-map "^1.2.0" - -"@lerna/symlink-binary@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/symlink-binary/-/symlink-binary-3.14.2.tgz#a832fdc6c4b1e5aaf9e6ac9c7e6c322746965eb0" - integrity sha512-tqMwuWi6z1da0AFFbleWyu3H9fqayiV50rjj4anFTfayel9jSjlA1xPG+56sGIP6zUUNuUSc9kLh7oRRmlauoA== - dependencies: - "@lerna/create-symlink" "3.14.0" - "@lerna/package" "3.14.2" - fs-extra "^7.0.0" - p-map "^1.2.0" - -"@lerna/symlink-dependencies@3.14.2": - version "3.14.2" - resolved "https://registry.yarnpkg.com/@lerna/symlink-dependencies/-/symlink-dependencies-3.14.2.tgz#e6b2a9544ff26addc1f4324734595e2f71dfc795" - integrity sha512-Ox7WKXnHZ7IwWlejcCq3n0Hd/yMLv8AwIryhvWxM/RauAge+ML4wg578SsdCyKob8ecgm/R0ytHiU06j81iL1w== - dependencies: - "@lerna/create-symlink" "3.14.0" - "@lerna/resolve-symlink" "3.13.0" - "@lerna/symlink-binary" "3.14.2" - fs-extra "^7.0.0" - p-finally "^1.0.0" - p-map "^1.2.0" - p-map-series "^1.0.0" - -"@lerna/timer@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/timer/-/timer-3.13.0.tgz#bcd0904551db16e08364d6c18e5e2160fc870781" - integrity sha512-RHWrDl8U4XNPqY5MQHkToWS9jHPnkLZEt5VD+uunCKTfzlxGnRCr3/zVr8VGy/uENMYpVP3wJa4RKGY6M0vkRw== - -"@lerna/validation-error@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/validation-error/-/validation-error-3.13.0.tgz#c86b8f07c5ab9539f775bd8a54976e926f3759c3" - integrity sha512-SiJP75nwB8GhgwLKQfdkSnDufAaCbkZWJqEDlKOUPUvVOplRGnfL+BPQZH5nvq2BYSRXsksXWZ4UHVnQZI/HYA== - dependencies: - npmlog "^4.1.2" - -"@lerna/version@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/version/-/version-3.15.0.tgz#3c65d223d94f211312995266abb07ee6606d5f73" - integrity sha512-vReYX1NMXZ9PwzTZm97wAl/k3bmRnRZhnQi3mq/m49xTnDavq7p4sbUdFpvu8cVZNKnYS02pNIVGHrQw+K8ZCw== - dependencies: - "@lerna/check-working-tree" "3.14.2" - "@lerna/child-process" "3.14.2" - "@lerna/collect-updates" "3.14.2" - "@lerna/command" "3.15.0" - "@lerna/conventional-commits" "3.14.0" - "@lerna/github-client" "3.14.2" - "@lerna/gitlab-client" "3.15.0" - "@lerna/output" "3.13.0" - "@lerna/prerelease-id-from-version" "3.14.0" - "@lerna/prompt" "3.13.0" - "@lerna/run-lifecycle" "3.14.0" - "@lerna/run-topologically" "3.14.0" - "@lerna/validation-error" "3.13.0" - chalk "^2.3.1" - dedent "^0.7.0" - minimatch "^3.0.4" - npmlog "^4.1.2" - p-map "^1.2.0" - p-pipe "^1.2.0" - p-reduce "^1.0.0" - p-waterfall "^1.0.0" - semver "^5.5.0" - slash "^1.0.0" - temp-write "^3.4.0" - -"@lerna/write-log-file@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/write-log-file/-/write-log-file-3.13.0.tgz#b78d9e4cfc1349a8be64d91324c4c8199e822a26" - integrity sha512-RibeMnDPvlL8bFYW5C8cs4mbI3AHfQef73tnJCQ/SgrXZHehmHnsyWUiE7qDQCAo+B1RfTapvSyFF69iPj326A== - dependencies: - npmlog "^4.1.2" - write-file-atomic "^2.3.0" - -"@mrmlnc/readdir-enhanced@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" - integrity sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g== - dependencies: - call-me-maybe "^1.0.1" - glob-to-regexp "^0.3.0" - -"@nodelib/fs.scandir@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.1.tgz#7fa8fed654939e1a39753d286b48b4836d00e0eb" - integrity sha512-NT/skIZjgotDSiXs0WqYhgcuBKhUMgfekCmCGtkUAiLqZdOnrdjmZr9wRl3ll64J9NF79uZ4fk16Dx0yMc/Xbg== - dependencies: - "@nodelib/fs.stat" "2.0.1" - run-parallel "^1.1.9" - -"@nodelib/fs.scandir@2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" - integrity sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw== - dependencies: - "@nodelib/fs.stat" "2.0.3" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.1", "@nodelib/fs.stat@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.1.tgz#814f71b1167390cfcb6a6b3d9cdeb0951a192c14" - integrity sha512-+RqhBlLn6YRBGOIoVYthsG0J9dfpO79eJyN7BYBkZJtfqrBwf2KK+rD/M/yjZR6WBmIhAgOV7S60eCgaSWtbFw== - -"@nodelib/fs.stat@2.0.3", "@nodelib/fs.stat@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3" - integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA== - -"@nodelib/fs.stat@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.2.tgz#54c5a964462be3d4d78af631363c18d6fa91ac26" - integrity sha512-yprFYuno9FtNsSHVlSWd+nRlmGoAbqbeCwOryP6sC/zoCjhpArcRMYp19EvpSUSizJAlsXEwJv+wcWS9XaXdMw== - -"@nodelib/fs.stat@^1.1.2": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" - integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== - -"@nodelib/fs.walk@^1.2.1": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.2.tgz#6a6450c5e17012abd81450eb74949a4d970d2807" - integrity sha512-J/DR3+W12uCzAJkw7niXDcqcKBg6+5G5Q/ZpThpGNzAUz70eOR6RV4XnnSN01qHZiVl0eavoxJsBypQoKsV2QQ== - dependencies: - "@nodelib/fs.scandir" "2.1.1" - fastq "^1.6.0" - -"@nodelib/fs.walk@^1.2.3": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz#011b9202a70a6366e436ca5c065844528ab04976" - integrity sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ== - dependencies: - "@nodelib/fs.scandir" "2.1.3" - fastq "^1.6.0" - -"@oclif/command@^1", "@oclif/command@^1.5.0", "@oclif/command@^1.5.1": - version "1.5.1" - resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.5.1.tgz#dd2e1c1f8e55dad73036d4cab036ac3550ff8c24" - integrity sha512-jRBkar3wNCh+5XSY1aXlGL9Pk8x4eyHC64PJ+vW6KqALs2cX9hd7pxTEfrU1e6kow5XpsNUsuEOPcjg9L8zHmQ== - dependencies: - "@oclif/errors" "^1.2.0" - "@oclif/parser" "^3.6.1" - debug "^4.0.1" - semver "^5.5.1" - -"@oclif/command@^1.5.13": - version "1.5.17" - resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.5.17.tgz#a3eabe1c159b4e8e47dbc11e7810a4c0b5b2eab2" - integrity sha512-it745U06qMKA5j3xEnMB/V9HkOTr2l42Q6MXNcGxj06Y7mhvahEQOYmj2NDWO6oRadyRRAtlEjZv82cenN0RlQ== - dependencies: - "@oclif/errors" "^1.2.2" - "@oclif/parser" "^3.8.3" - debug "^4.1.1" - semver "^5.6.0" - -"@oclif/config@^1": - version "1.7.6" - resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.7.6.tgz#849e5f79591c8dd29d99dd3aba0914b50e2c2e74" - integrity sha512-YHza1dt/oti28CZkr/TlqswmrCoGs5hjDdxGPMmrX77IDEx/RUgD7sRpZfBlTZDY/wYuCSCx8Z6m+hSO8S/FEQ== - dependencies: - debug "^4.0.1" - tslib "^1.9.3" - -"@oclif/config@^1.12.12": - version "1.16.0" - resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.16.0.tgz#fffe9939f1a7fac1e45e532b5c785381257f8aa6" - integrity sha512-vOnMPQcHokC03WBCuLipTxksTwgZcmDOnH2H0UHqndfKKN9GVDzpZTH6zaFVQBdjTME5VtRzg9A2UaNmq6OXWw== - dependencies: - "@oclif/errors" "^1.3.3" - "@oclif/parser" "^3.8.0" - debug "^4.1.1" - globby "^11.0.1" - is-wsl "^2.1.1" - tslib "^1.9.3" - -"@oclif/dev-cli@1.22.2": - version "1.22.2" - resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.22.2.tgz#e890f93d0335c0e3faaa25741999776259b2171f" - integrity sha512-c7633R37RxrQIpwqPKxjNRm6/jb1yuG8fd16hmNz9Nw+/MUhEtQtKHSCe9ScH8n5M06l6LEo4ldk9LEGtpaWwA== - dependencies: - "@oclif/command" "^1.5.13" - "@oclif/config" "^1.12.12" - "@oclif/errors" "^1.2.2" - "@oclif/plugin-help" "^2.1.6" - cli-ux "^5.2.1" - debug "^4.1.1" - fs-extra "^7.0.1" - github-slugger "^1.2.1" - lodash "^4.17.11" - normalize-package-data "^2.5.0" - qqjs "^0.3.10" - tslib "^1.9.3" - -"@oclif/errors@^1.2.0", "@oclif/errors@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.2.1.tgz#3d655bec6ce7eb7df2f3cd39c23eb62f0470b77d" - integrity sha512-LOZBEraXrMuRPnUYrEFrmJ7m8to7pZ6E0W9rWvjr8PPlxc2PsqGQCeychbqeEWc6pHjsy7GF9M+Pjw16J2oC5A== - dependencies: - clean-stack "^1.3.0" - fs-extra "^7.0.0" - indent-string "^3.2.0" - strip-ansi "^4.0.0" - wrap-ansi "^4.0.0" - -"@oclif/errors@^1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.2.2.tgz#9d8f269b15f13d70aa93316fed7bebc24688edc2" - integrity sha512-Eq8BFuJUQcbAPVofDxwdE0bL14inIiwt5EaKRVY9ZDIG11jwdXZqiQEECJx0VfnLyUZdYfRd/znDI/MytdJoKg== - dependencies: - clean-stack "^1.3.0" - fs-extra "^7.0.0" - indent-string "^3.2.0" - strip-ansi "^5.0.0" - wrap-ansi "^4.0.0" - -"@oclif/errors@^1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.3.3.tgz#fb597dfbc58c6b8609dc0b2fdf91a2d487818a82" - integrity sha512-EJR6AIOEkt/NnARNIVAskPDVtdhtO5TTNXmhDrGqMoWVsr0R6DkkLrMyq95BmHvlVWM1nduoq4fQPuCyuF2jaA== - dependencies: - clean-stack "^3.0.0" - fs-extra "^9.0.1" - indent-string "^4.0.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -"@oclif/linewrap@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91" - integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw== - -"@oclif/parser@^3.6.1": - version "3.6.1" - resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.6.1.tgz#dd0ad29d9178d75a2de30314874a6167675925ed" - integrity sha512-H5gyGM3GaDFr1SHt7gsHfMEmt0/Q5SQYOqmtBlpofYaqiof8wdHZQAj4KY2oJpcy4tnsRJrFM3fN3GNEARBgtg== - dependencies: - "@oclif/linewrap" "^1.0.0" - chalk "^2.4.1" - tslib "^1.9.3" - -"@oclif/parser@^3.8.0", "@oclif/parser@^3.8.3": - version "3.8.3" - resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8.3.tgz#717fbbe5bfafef4270224b8bd41a2d3c80b9554e" - integrity sha512-zN+3oGuv9Lg8NjFvxZTDKFEmhAMfAvd/JWeQp3Ri8pDezoyJQi4OSHHLM8sdHjBh8sePewfWI7+fDUXdrVbrqg== - dependencies: - "@oclif/linewrap" "^1.0.0" - chalk "^2.4.2" - tslib "^1.9.3" - -"@oclif/plugin-help@^2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.1.2.tgz#b6639e95157f563225a29b4329ce62e2e162afe9" - integrity sha512-T7ZtKDdPldLY/7CttNvi1FkDusO+Vl8QmomeLlDjZzZH0Jf1OSisyf6ei3rCCzP6AqQxt4vGMku8dJq+bQizrA== - dependencies: - "@oclif/command" "^1.5.0" - chalk "^2.4.1" - indent-string "^3.2.0" - lodash.template "^4.4.0" - string-width "^2.1.1" - strip-ansi "^4.0.0" - widest-line "^2.0.0" - wrap-ansi "^4.0.0" - -"@oclif/plugin-help@^2.1.6": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.2.0.tgz#8dfc1c80deae47a205fbc70b018747ba93f31cc3" - integrity sha512-56iIgE7NQfwy/ZrWrvrEfJGb5rrMUt409yoQGw4feiU101UudA1btN1pbUbcKBr7vY9KFeqZZcftXEGxOp7zBg== - dependencies: - "@oclif/command" "^1.5.13" - chalk "^2.4.1" - indent-string "^3.2.0" - lodash.template "^4.4.0" - string-width "^3.0.0" - strip-ansi "^5.0.0" - widest-line "^2.0.1" - wrap-ansi "^4.0.0" - -"@oclif/screen@^1.0.3": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.4.tgz#b740f68609dfae8aa71c3a6cab15d816407ba493" - integrity sha512-60CHpq+eqnTxLZQ4PGHYNwUX572hgpMHGPtTWMjdTMsAvlm69lZV/4ly6O3sAYkomo4NggGcomrDpBe34rxUqw== - -"@oclif/test@1.2.5": - version "1.2.5" - resolved "https://registry.yarnpkg.com/@oclif/test/-/test-1.2.5.tgz#4d9723c38647a2a5930bf888f8c43790d74a18ca" - integrity sha512-8Y+Ix4A3Zhm87aL0ldVonDK7vFWyLfnFHzP3goYaLyIeh/60KL37lMxfmbp/kBN6/Y0Ru17iR1pdDi/hTDClLQ== - dependencies: - fancy-test "^1.4.3" - -"@octokit/auth-token@^2.4.0": - version "2.4.2" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.2.tgz#10d0ae979b100fa6b72fa0e8e63e27e6d0dbff8a" - integrity sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ== - dependencies: - "@octokit/types" "^5.0.0" - -"@octokit/endpoint@^5.1.0": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-5.2.2.tgz#8fbb2e99ae0d8e6b30099f73063801e64467e761" - integrity sha512-VhKxM4CQanIUZDffExqpdpgqu3heF51qbY1wazoNtvIKXAAVoFjqLq2BOhesXkTqxXMO1Ze1XbS8DkIjUxAB+g== - dependencies: - deepmerge "4.0.0" - is-plain-object "^3.0.0" - universal-user-agent "^3.0.0" - url-template "^2.0.8" - -"@octokit/endpoint@^6.0.1": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.4.tgz#da3eafdee1fabd6e5b6ca311efcba26f0dd99848" - integrity sha512-ZJHIsvsClEE+6LaZXskDvWIqD3Ao7+2gc66pRG5Ov4MQtMvCU9wGu1TItw9aGNmRuU9x3Fei1yb+uqGaQnm0nw== - dependencies: - "@octokit/types" "^5.0.0" - is-plain-object "^3.0.0" - universal-user-agent "^6.0.0" - -"@octokit/plugin-enterprise-rest@^2.1.1": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.2.2.tgz#c0e22067a043e19f96ff9c7832e2a3019f9be75c" - integrity sha512-CTZr64jZYhGWNTDGlSJ2mvIlFsm9OEO3LqWn9I/gmoHI4jRBp4kpHoFYNemG4oA75zUAcmbuWblb7jjP877YZw== - -"@octokit/plugin-paginate-rest@^1.1.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-1.1.2.tgz#004170acf8c2be535aba26727867d692f7b488fc" - integrity sha512-jbsSoi5Q1pj63sC16XIUboklNw+8tL9VOnJsWycWYR78TKss5PVpIPb1TUUcMQ+bBh7cY579cVAWmf5qG+dw+Q== - dependencies: - "@octokit/types" "^2.0.1" - -"@octokit/plugin-request-log@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz#eef87a431300f6148c39a7f75f8cfeb218b2547e" - integrity sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw== - -"@octokit/plugin-rest-endpoint-methods@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-2.4.0.tgz#3288ecf5481f68c494dd0602fc15407a59faf61e" - integrity sha512-EZi/AWhtkdfAYi01obpX0DF7U6b1VRr30QNQ5xSFPITMdLSfhcBqjamE3F+sKcxPbD7eZuMHu3Qkk2V+JGxBDQ== - dependencies: - "@octokit/types" "^2.0.1" - deprecation "^2.3.1" - -"@octokit/request-error@^1.0.1", "@octokit/request-error@^1.0.2": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-1.0.4.tgz#15e1dc22123ba4a9a4391914d80ec1e5303a23be" - integrity sha512-L4JaJDXn8SGT+5G0uX79rZLv0MNJmfGa4vb4vy1NnpjSnWDLJRy6m90udGwvMmavwsStgbv2QNkPzzTCMmL+ig== - dependencies: - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request-error@^2.0.0": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.0.2.tgz#0e76b83f5d8fdda1db99027ea5f617c2e6ba9ed0" - integrity sha512-2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw== - dependencies: - "@octokit/types" "^5.0.1" - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request@^5.0.0": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.0.1.tgz#6705c9a883db0ac0f58cee717e806b6575d4a199" - integrity sha512-SHOk/APYpfrzV1RNf7Ux8SZi+vZXhMIB2dBr4TQR6ExMX8R4jcy/0gHw26HLe1dWV7Wxe9WzYyDSEC0XwnoCSQ== - dependencies: - "@octokit/endpoint" "^5.1.0" - "@octokit/request-error" "^1.0.1" - deprecation "^2.0.0" - is-plain-object "^3.0.0" - node-fetch "^2.3.0" - once "^1.4.0" - universal-user-agent "^3.0.0" - -"@octokit/request@^5.2.0": - version "5.4.6" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.6.tgz#e8cc8d4cfc654d30428ea92aaa62168fd5ead7eb" - integrity sha512-9r8Sn4CvqFI9LDLHl9P17EZHwj3ehwQnTpTE+LEneb0VBBqSiI/VS4rWIBfBhDrDs/aIGEGZRSB0QWAck8u+2g== - dependencies: - "@octokit/endpoint" "^6.0.1" - "@octokit/request-error" "^2.0.0" - "@octokit/types" "^5.0.0" - deprecation "^2.0.0" - is-plain-object "^3.0.0" - node-fetch "^2.3.0" - once "^1.4.0" - universal-user-agent "^6.0.0" - -"@octokit/rest@^16.16.0": - version "16.28.4" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.28.4.tgz#2f8ef08305033bc91256530d6a3c98eada700660" - integrity sha512-ZBsfD46t3VNkwealxm5zloVgQta8d8o4KYBR/hMAZ582IgjmSDKZdkjyv5w37IUCM3tcPZWKUT+kml9pEIC2GA== - dependencies: - "@octokit/request" "^5.0.0" - "@octokit/request-error" "^1.0.2" - atob-lite "^2.0.0" - before-after-hook "^2.0.0" - btoa-lite "^1.0.0" - deprecation "^2.0.0" - lodash.get "^4.4.2" - lodash.set "^4.3.2" - lodash.uniq "^4.5.0" - octokit-pagination-methods "^1.1.0" - once "^1.4.0" - universal-user-agent "^3.0.0" - url-template "^2.0.8" - -"@octokit/rest@^16.2.0": - version "16.43.2" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.43.2.tgz#c53426f1e1d1044dee967023e3279c50993dd91b" - integrity sha512-ngDBevLbBTFfrHZeiS7SAMAZ6ssuVmXuya+F/7RaVvlysgGa1JKJkKWY+jV6TCJYcW0OALfJ7nTIGXcBXzycfQ== - dependencies: - "@octokit/auth-token" "^2.4.0" - "@octokit/plugin-paginate-rest" "^1.1.1" - "@octokit/plugin-request-log" "^1.0.0" - "@octokit/plugin-rest-endpoint-methods" "2.4.0" - "@octokit/request" "^5.2.0" - "@octokit/request-error" "^1.0.2" - atob-lite "^2.0.0" - before-after-hook "^2.0.0" - btoa-lite "^1.0.0" - deprecation "^2.0.0" - lodash.get "^4.4.2" - lodash.set "^4.3.2" - lodash.uniq "^4.5.0" - octokit-pagination-methods "^1.1.0" - once "^1.4.0" - universal-user-agent "^4.0.0" - -"@octokit/types@^2.0.1": - version "2.16.2" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-2.16.2.tgz#4c5f8da3c6fecf3da1811aef678fda03edac35d2" - integrity sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q== - dependencies: - "@types/node" ">= 8" - -"@octokit/types@^5.0.0", "@octokit/types@^5.0.1": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-5.1.0.tgz#4377a3f39edad3e60753fb5c3c310756f1ded57f" - integrity sha512-OFxUBgrEllAbdEmWp/wNmKIu5EuumKHG4sgy56vjZ8lXPgMhF05c76hmulfOdFHHYRpPj49ygOZJ8wgVsPecuA== - dependencies: - "@types/node" ">= 8" - -"@polymer/esm-amd-loader@^1.0.0": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@polymer/esm-amd-loader/-/esm-amd-loader-1.0.4.tgz#4e77f2f59b29b01e0ad02aa83d33716cddc5f9f9" - integrity sha512-h+hqYkL+tQV/y2ESD5gFXMl5z4cC+XY1jTlBeGSBaTcj3VbB5OBEScbvRXm63NcEbBneQQYbHfBAXAkF9i9wIA== - -"@polymer/sinonjs@^1.14.1": - version "1.17.1" - resolved "https://registry.yarnpkg.com/@polymer/sinonjs/-/sinonjs-1.17.1.tgz#e47d3785b7d0e8c29feb97f7e924b0fc597e2e9b" - integrity sha512-/U8F/cOTrbF2iVVYgINYmvKbtbexs+89Q3v8AaHADRYabTg7aOZGOb0RyWpOI+sUJt04kj63U4FwMhzW5r4wZA== - -"@polymer/test-fixture@^0.0.3": - version "0.0.3" - resolved "https://registry.yarnpkg.com/@polymer/test-fixture/-/test-fixture-0.0.3.tgz#4443752697d4d9293bbc412ea0b5e4d341f149d9" - integrity sha1-REN1JpfU2Sk7vEEuoLXk00HxSdk= - -"@samverschueren/stream-to-observable@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f" - integrity sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg== - dependencies: - any-observable "^0.3.0" - -"@types/babel-generator@^6.25.1": - version "6.25.3" - resolved "https://registry.yarnpkg.com/@types/babel-generator/-/babel-generator-6.25.3.tgz#8f06caa12d0595a0538560abe771966d77d29286" - integrity sha512-pGgnuxVddKcYIc+VJkRDop7gxLhqclNKBdlsm/5Vp8d+37pQkkDK7fef8d9YYImRzw9xcojEPc18pUYnbxmjqA== - dependencies: - "@types/babel-types" "*" - -"@types/babel-traverse@^6.25.2", "@types/babel-traverse@^6.25.3": - version "6.25.5" - resolved "https://registry.yarnpkg.com/@types/babel-traverse/-/babel-traverse-6.25.5.tgz#6d293cf7523e48b524faa7b86dc3c488191484e5" - integrity sha512-WrMbwmu+MWf8FiUMbmVOGkc7bHPzndUafn1CivMaBHthBBoo0VNIcYk1KV71UovYguhsNOwf3UF5oRmkkGOU3w== - dependencies: - "@types/babel-types" "*" - -"@types/babel-types@*": - version "7.0.8" - resolved "https://registry.yarnpkg.com/@types/babel-types/-/babel-types-7.0.8.tgz#267f405bda841ffae731e7714166b88254cc3e19" - integrity sha512-jvu8g4LR7+p6ao30RhTREnEhHxmP4/R9D9/rOR/Kq14FztORty9SKgtOZUNZNMB9CXLxZ54EWu4dArUE8WdTsw== - -"@types/babel-types@^6.25.1": - version "6.25.2" - resolved "https://registry.yarnpkg.com/@types/babel-types/-/babel-types-6.25.2.tgz#5c57f45973e4f13742dbc5273dd84cffe7373a9e" - integrity sha512-+3bMuktcY4a70a0KZc8aPJlEOArPuAKQYHU5ErjkOqGJdx8xuEEVK6nWogqigBOJ8nKPxRpyCUDTCPmZ3bUxGA== - -"@types/babylon@^6.16.2": - version "6.16.5" - resolved "https://registry.yarnpkg.com/@types/babylon/-/babylon-6.16.5.tgz#1c5641db69eb8cdf378edd25b4be7754beeb48b4" - integrity sha512-xH2e58elpj1X4ynnKp9qSnWlsRTIs6n3tgLGNfwAGHwePw0mulHQllV34n0T25uYSu1k0hRKkWXF890B1yS47w== - dependencies: - "@types/babel-types" "*" - -"@types/bluebird@*": - version "3.5.32" - resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.32.tgz#381e7b59e39f010d20bbf7e044e48f5caf1ab620" - integrity sha512-dIOxFfI0C+jz89g6lQ+TqhGgPQ0MxSnh/E4xuC0blhFtyW269+mPG5QeLgbdwst/LvdP8o1y0o/Gz5EHXLec/g== - -"@types/body-parser@*": - version "1.19.0" - resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.0.tgz#0685b3c47eb3006ffed117cdd55164b61f80538f" - integrity sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ== - dependencies: - "@types/connect" "*" - "@types/node" "*" - -"@types/chai-subset@^1.3.0": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@types/chai-subset/-/chai-subset-1.3.3.tgz#97893814e92abd2c534de422cb377e0e0bdaac94" - integrity sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw== - dependencies: - "@types/chai" "*" - -"@types/chai@*": - version "4.1.7" - resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.7.tgz#1b8e33b61a8c09cbe1f85133071baa0dbf9fa71a" - integrity sha512-2Y8uPt0/jwjhQ6EiluT0XCri1Dbplr0ZxfFXUz+ye13gaqE8u5gL5ppao1JrUYr9cIip5S6MvQzBS7Kke7U9VA== - -"@types/chalk@^0.4.30": - version "0.4.31" - resolved "https://registry.yarnpkg.com/@types/chalk/-/chalk-0.4.31.tgz#a31d74241a6b1edbb973cf36d97a2896834a51f9" - integrity sha1-ox10JBprHtu5c8822XooloNKUfk= - -"@types/chalk@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@types/chalk/-/chalk-2.2.0.tgz#b7f6e446f4511029ee8e3f43075fb5b73fbaa0ba" - integrity sha512-1zzPV9FDe1I/WHhRkf9SNgqtRJWZqrBWgu7JGveuHmmyR9CnAPCie2N/x+iHrgnpYBIcCJWHBoMRv2TRWktsvw== - dependencies: - chalk "*" - -"@types/clean-css@*": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@types/clean-css/-/clean-css-4.2.2.tgz#99fd79f6939c2b325938a1c569712e07dd97d709" - integrity sha512-xiTJn3bmDh1lA8c6iVJs4ZhHw+pcmxXlJQXOB6G1oULaak8rmarIeFKI4aTJ7849dEhaO612wgIualZfbxTJwA== - dependencies: - "@types/node" "*" - -"@types/clone@^0.1.30": - version "0.1.30" - resolved "https://registry.yarnpkg.com/@types/clone/-/clone-0.1.30.tgz#e7365648c1b42136a59c7d5040637b3b5c83b614" - integrity sha1-5zZWSMG0ITalnH1QQGN7O1yDthQ= - -"@types/color-name@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" - integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== - -"@types/compression@^0.0.33": - version "0.0.33" - resolved "https://registry.yarnpkg.com/@types/compression/-/compression-0.0.33.tgz#95dc733a2339aa846381d7f1377792d2553dc27d" - integrity sha1-ldxzOiM5qoRjgdfxN3eS0lU9wn0= - dependencies: - "@types/express" "*" - -"@types/connect@*": - version "3.4.33" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.33.tgz#31610c901eca573b8713c3330abc6e6b9f588546" - integrity sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A== - dependencies: - "@types/node" "*" - -"@types/content-type@^1.1.0": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@types/content-type/-/content-type-1.1.3.tgz#3688bd77fc12f935548eef102a4e34c512b03a07" - integrity sha512-pv8VcFrZ3fN93L4rTNIbbUzdkzjEyVMp5mPVjsFfOYTDOZMZiZ8P1dhu+kEv3faYyKzZgLlSvnyQNFg+p/v5ug== - -"@types/cssbeautify@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@types/cssbeautify/-/cssbeautify-0.3.1.tgz#8e0bee8f7decb952250da0caebe05e30591c17ef" - integrity sha1-jgvuj33suVIlDaDK6+BeMFkcF+8= - -"@types/del@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/del/-/del-3.0.1.tgz#4712da8c119873cbbf533ad8dbf1baac5940ac5d" - integrity sha512-y6qRq6raBuu965clKgx6FHuiPu3oHdtmzMPXi8Uahsjdq1L6DL5fS/aY5/s71YwM7k6K1QIWvem5vNwlnNGIkQ== - dependencies: - "@types/glob" "*" - -"@types/doctrine@^0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@types/doctrine/-/doctrine-0.0.1.tgz#b999f2d9f7b43cabe0a1a2f39bc203bc7dcada9d" - integrity sha1-uZny2fe0PKvgoaLzm8IDvH3K2p0= - -"@types/escape-html@0.0.20": - version "0.0.20" - resolved "https://registry.yarnpkg.com/@types/escape-html/-/escape-html-0.0.20.tgz#cae698714dd61ebee5ab3f2aeb9a34ba1011735a" - integrity sha512-6dhZJLbA7aOwkYB2GDGdIqJ20wmHnkDzaxV9PJXe7O02I2dSFTERzRB6JrX6cWKaS+VqhhY7cQUMCbO5kloFUw== - -"@types/estree@*": - version "0.0.45" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.45.tgz#e9387572998e5ecdac221950dab3e8c3b16af884" - integrity sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g== - -"@types/events@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" - integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== - -"@types/expect@^1.20.4": - version "1.20.4" - resolved "https://registry.yarnpkg.com/@types/expect/-/expect-1.20.4.tgz#8288e51737bf7e3ab5d7c77bfa695883745264e5" - integrity sha512-Q5Vn3yjTDyCMV50TB6VRIbQNxSE4OmZR86VSbGaNpfUolm0iePBB4KdEEHmxoY5sT2+2DIvXW0rvMDP2nHZ4Mg== - -"@types/express-serve-static-core@*": - version "4.17.8" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.8.tgz#b8f7b714138536742da222839892e203df569d1c" - integrity sha512-1SJZ+R3Q/7mLkOD9ewCBDYD2k0WyZQtWYqF/2VvoNN2/uhI49J9CDN4OAm+wGMA0DbArA4ef27xl4+JwMtGggw== - dependencies: - "@types/node" "*" - "@types/qs" "*" - "@types/range-parser" "*" - -"@types/express@*", "@types/express@^4.0.30", "@types/express@^4.0.36": - version "4.17.7" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.7.tgz#42045be6475636d9801369cd4418ef65cdb0dd59" - integrity sha512-dCOT5lcmV/uC2J9k0rPafATeeyz+99xTt54ReX11/LObZgfzJqZNcW27zGhYyX+9iSEGXGt5qLPwRSvBZcLvtQ== - dependencies: - "@types/body-parser" "*" - "@types/express-serve-static-core" "*" - "@types/qs" "*" - "@types/serve-static" "*" - -"@types/fast-levenshtein@0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@types/fast-levenshtein/-/fast-levenshtein-0.0.1.tgz#3a3615cf173645c8fca58d051e4e32824e4bd286" - integrity sha1-OjYVzxc2Rcj8pY0FHk4ygk5L0oY= - -"@types/findup-sync@^0.3.29": - version "0.3.30" - resolved "https://registry.yarnpkg.com/@types/findup-sync/-/findup-sync-0.3.30.tgz#8ab7bdbd6ba7cbf4f33b6596fde6fff1129c738d" - integrity sha512-Dpt1x3rhz6t8BMTS4vziTVos8VLkF4RngIxMBCSE6w0STmnVEEaoe3w+BG5xHyZXshye9lyZE99lpBDoLGY8eA== - dependencies: - "@types/minimatch" "*" - -"@types/form-data@*": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@types/form-data/-/form-data-2.5.0.tgz#5025f7433016f923348434c40006d9a797c1b0e8" - integrity sha512-23/wYiuckYYtFpL+4RPWiWmRQH2BjFuqCUi2+N3amB1a1Drv+i/byTrGvlLwRVLFNAZbwpbQ7JvTK+VCAPMbcg== - dependencies: - form-data "*" - -"@types/freeport@^1.0.19": - version "1.0.21" - resolved "https://registry.yarnpkg.com/@types/freeport/-/freeport-1.0.21.tgz#73f6543ed67d3ca3fff97b985591598b7092066f" - integrity sha1-c/ZUPtZ9PKP/+XuYVZFZi3CSBm8= - -"@types/glob-stream@*": - version "6.1.0" - resolved "https://registry.yarnpkg.com/@types/glob-stream/-/glob-stream-6.1.0.tgz#7ede8a33e59140534f8d8adfb8ac9edfb31897bc" - integrity sha512-RHv6ZQjcTncXo3thYZrsbAVwoy4vSKosSWhuhuQxLOTv74OJuFQxXkmUuZCr3q9uNBEVCvIzmZL/FeRNbHZGUg== - dependencies: - "@types/glob" "*" - "@types/node" "*" - -"@types/glob@*": - version "7.1.3" - resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.3.tgz#e6ba80f36b7daad2c685acd9266382e68985c183" - integrity sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w== - dependencies: - "@types/minimatch" "*" - "@types/node" "*" - -"@types/glob@^7.1.1": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" - integrity sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w== - dependencies: - "@types/events" "*" - "@types/minimatch" "*" - "@types/node" "*" - -"@types/globby@^6.1.0": - version "6.1.0" - resolved "https://registry.yarnpkg.com/@types/globby/-/globby-6.1.0.tgz#7c25b975512a89effea2a656ca8cf6db7fb29d11" - integrity sha512-j3XSDNoK4LO5T+ZviQD6PqfEjm07QFEacOTbJR3hnLWuWX0ZMLJl9oRPgj1PyrfGbXhfHFkksC9QZ9HFltJyrw== - dependencies: - "@types/glob" "*" - -"@types/gulp-if@0.0.33": - version "0.0.33" - resolved "https://registry.yarnpkg.com/@types/gulp-if/-/gulp-if-0.0.33.tgz#edece22b7925d9a6db5f9c8c0d7882aa776fb678" - integrity sha512-J5lzff21X7r1x/4hSzn02GgIUEyjCqYIXZ9GgGBLhbsD3RiBdqwnkFWgF16/0jO5rcVZ52Zp+6MQMQdvIsWuKg== - dependencies: - "@types/node" "*" - "@types/vinyl" "*" - -"@types/html-minifier@^3.5.1": - version "3.5.3" - resolved "https://registry.yarnpkg.com/@types/html-minifier/-/html-minifier-3.5.3.tgz#5276845138db2cebc54c789e0aaf87621a21e84f" - integrity sha512-j1P/4PcWVVCPEy5lofcHnQ6BtXz9tHGiFPWzqm7TtGuWZEfCHEP446HlkSNc9fQgNJaJZ6ewPtp2aaFla/Uerg== - dependencies: - "@types/clean-css" "*" - "@types/relateurl" "*" - "@types/uglify-js" "*" - -"@types/inquirer@*": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@types/inquirer/-/inquirer-6.5.0.tgz#b83b0bf30b88b8be7246d40e51d32fe9d10e09be" - integrity sha512-rjaYQ9b9y/VFGOpqBEXRavc3jh0a+e6evAbI31tMda8VlPaSy0AZJfXsvmIe3wklc7W6C3zCSfleuMXR7NOyXw== - dependencies: - "@types/through" "*" - rxjs "^6.4.0" - -"@types/inquirer@0.0.32": - version "0.0.32" - resolved "https://registry.yarnpkg.com/@types/inquirer/-/inquirer-0.0.32.tgz#a4a08e83741c500a7c3c8e7776014f7f8a65870d" - integrity sha1-pKCOg3QcUAp8PI53dgFPf4plhw0= - dependencies: - "@types/rx" "*" - "@types/through" "*" - -"@types/is-windows@^0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@types/is-windows/-/is-windows-0.2.0.tgz#6f24ee48731d31168ea510610d6dd15e5fc9c6ff" - integrity sha1-byTuSHMdMRaOpRBhDW3RXl/Jxv8= - -"@types/launchpad@^0.6.0": - version "0.6.0" - resolved "https://registry.yarnpkg.com/@types/launchpad/-/launchpad-0.6.0.tgz#37296109b7f277f6e6c5fd7e0c0706bc918fbb51" - integrity sha1-NylhCbfyd/bmxf1+DAcGvJGPu1E= - -"@types/lodash@*": - version "4.14.136" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.136.tgz#413e85089046b865d960c9ff1d400e04c31ab60f" - integrity sha512-0GJhzBdvsW2RUccNHOBkabI8HZVdOXmXbXhuKlDEd5Vv12P7oAVGfomGp3Ne21o5D/qu1WmthlNKFaoZJJeErA== - -"@types/merge-stream@^1.0.28": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@types/merge-stream/-/merge-stream-1.1.2.tgz#a880ff66b1fbbb5eef4958d015c5947a9334dbb1" - integrity sha512-7faLmaE99g/yX0Y9pF1neh2IUqOf/fXMOWCVzsXjqI1EJ91lrgXmaBKf6bRWM164lLyiHxHt6t/ZO/cIzq61XA== - dependencies: - "@types/node" "*" - -"@types/mime@*", "@types/mime@^2.0.0": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.2.tgz#857a118d8634c84bba7ae14088e4508490cd5da5" - integrity sha512-4kPlzbljFcsttWEq6aBW0OZe6BDajAmyvr2xknBG92tejQnvdGtT9+kXSZ580DqpxY9qG2xeQVF9Dq0ymUTo5Q== - -"@types/minimatch@*", "@types/minimatch@^3.0.1", "@types/minimatch@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" - integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== - -"@types/mocha@*": - version "5.2.7" - resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.2.7.tgz#315d570ccb56c53452ff8638738df60726d5b6ea" - integrity sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ== - -"@types/mz@0.0.29": - version "0.0.29" - resolved "https://registry.yarnpkg.com/@types/mz/-/mz-0.0.29.tgz#bc24728c649973f1c7851e9033f9ce525668c27b" - integrity sha1-vCRyjGSZc/HHhR6QM/nOUlZowns= - dependencies: - "@types/bluebird" "*" - "@types/node" "*" - -"@types/mz@0.0.31", "@types/mz@^0.0.31": - version "0.0.31" - resolved "https://registry.yarnpkg.com/@types/mz/-/mz-0.0.31.tgz#a4d80c082fefe71e40a7c0f07d1e6555bbbc7b52" - integrity sha1-pNgMCC/v5x5Ap8DwfR5lVbu8e1I= - dependencies: - "@types/node" "*" - -"@types/nock@*": - version "10.0.3" - resolved "https://registry.yarnpkg.com/@types/nock/-/nock-10.0.3.tgz#dab1d18ffbccfbf2db811dab9584304eeb6e1c4c" - integrity sha512-OthuN+2FuzfZO3yONJ/QVjKmLEuRagS9TV9lEId+WHL9KhftYG+/2z+pxlr0UgVVXSpVD8woie/3fzQn8ft/Ow== - dependencies: - "@types/node" "*" - -"@types/node@*": - version "10.11.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.11.3.tgz#c055536ac8a5e871701aa01914be5731539d01ee" - integrity sha512-3AvcEJAh9EMatxs+OxAlvAEs7OTy6AG94mcH1iqyVDwVVndekLxzwkWQ/Z4SDbY6GO2oyUXyWW8tQ4rENSSQVQ== - -"@types/node@>= 8": - version "14.0.24" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.24.tgz#b0f86f58564fa02a28b68f8b55d4cdec42e3b9d6" - integrity sha512-btt/oNOiDWcSuI721MdL8VQGnjsKjlTMdrKyTcLCKeQp/n4AAMFJ961wMbp+09y8WuGPClDEv07RIItdXKIXAA== - -"@types/node@^4.0.30": - version "4.9.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-4.9.4.tgz#75ef91733afaa856b01e12da6ecf48aa9d5e221f" - integrity sha512-nKoiCZ87x6+fs26bNHjy07AQt6f46nFEitGH0P9JmWbY6tEyum6LLfLf7SIsKFh4DnBWsyUM2gYhaQAt+aA0Sw== - -"@types/normalize-package-data@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" - integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA== - -"@types/opn@^3.0.28": - version "3.0.28" - resolved "https://registry.yarnpkg.com/@types/opn/-/opn-3.0.28.tgz#097d0d1c9b5749573a5d96df132387bb6d02118a" - integrity sha1-CX0NHJtXSVc6XZbfEyOHu20CEYo= - dependencies: - "@types/node" "*" - -"@types/parse5@^2.2.34": - version "2.2.34" - resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-2.2.34.tgz#e3870a10e82735a720f62d71dcd183ba78ef3a9d" - integrity sha1-44cKEOgnNacg9i1x3NGDunjvOp0= - dependencies: - "@types/node" "*" - -"@types/path-is-inside@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/path-is-inside/-/path-is-inside-1.0.0.tgz#02d6ff38975d684bdec96204494baf9f29f0e17f" - integrity sha512-hfnXRGugz+McgX2jxyy5qz9sB21LRzlGn24zlwN2KEgoPtEvjzNRrLtUkOOebPDPZl3Rq7ywKxYvylVcEZDnEw== - -"@types/pem@^1.8.1": - version "1.9.5" - resolved "https://registry.yarnpkg.com/@types/pem/-/pem-1.9.5.tgz#cd5548b5e0acb4b41a9e21067e9fcd8c57089c99" - integrity sha512-C0txxEw8B7DCoD85Ko7SEvzUogNd5VDJ5/YBG8XUcacsOGqxr5Oo4g3OUAfdEDUbhXanwUoVh/ZkMFw77FGPQQ== - dependencies: - "@types/node" "*" - -"@types/qs@*": - version "6.9.3" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.3.tgz#b755a0934564a200d3efdf88546ec93c369abd03" - integrity sha512-7s9EQWupR1fTc2pSMtXRQ9w9gLOcrJn+h7HOXw4evxyvVqMi4f+q7d2tnFe3ng3SNHjtK+0EzGMGFUQX4/AQRA== - -"@types/range-parser@*": - version "1.2.3" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c" - integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== - -"@types/relateurl@*": - version "0.2.28" - resolved "https://registry.yarnpkg.com/@types/relateurl/-/relateurl-0.2.28.tgz#6bda7db8653fa62643f5ee69e9f69c11a392e3a6" - integrity sha1-a9p9uGU/piZD9e5p6facEaOS46Y= - -"@types/request@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@types/request/-/request-2.0.3.tgz#bdf0fba9488c822f77e97de3dd8fe357b2fb8c06" - integrity sha512-cIvnyFRARxwE4OHpCyYue7H+SxaKFPpeleRCHJicft8QhyTNbVYsMwjvEzEPqG06D2LGHZ+sN5lXc8+bTu6D8A== - dependencies: - "@types/form-data" "*" - "@types/node" "*" - -"@types/resolve@0.0.4": - version "0.0.4" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.4.tgz#9b586d65a947dea88c4bc24da0b905fe9520a0d5" - integrity sha1-m1htZalH3qiMS8JNoLkF/pUgoNU= - dependencies: - "@types/node" "*" - -"@types/resolve@0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.6.tgz#0bd2f236c2e1cebb98b79885df57edd71a8d770e" - integrity sha512-g+Rg8uMWY76oYTyaL+m7ZcblqF/oj7pE6uEUyACluJx4zcop1Lk14qQiocdEkEVMDFm6DmKpxJhsER+ZuTwG3g== - dependencies: - "@types/node" "*" - -"@types/resolve@0.0.7": - version "0.0.7" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.7.tgz#b299c13be8d712b1b502fb14a084252acef84f4d" - integrity sha512-GPewdjkb0Q76o459qgp6pBLzJj/bD3oveS2kfLhIkZ9U3t3AFKtl5DlFB6lGTw0iZmcmxoGC8lpLW3NNJKrN9A== - dependencies: - "@types/node" "*" - -"@types/rimraf@^0.0.28": - version "0.0.28" - resolved "https://registry.yarnpkg.com/@types/rimraf/-/rimraf-0.0.28.tgz#5562519bc7963caca8abf7f128cae3b594d41d06" - integrity sha1-VWJRm8eWPKyoq/fxKMrjtZTUHQY= - -"@types/rx-core-binding@*": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@types/rx-core-binding/-/rx-core-binding-4.0.4.tgz#d969d32f15a62b89e2862c17b3ee78fe329818d3" - integrity sha512-5pkfxnC4w810LqBPUwP5bg7SFR/USwhMSaAeZQQbEHeBp57pjKXRlXmqpMrLJB4y1oglR/c2502853uN0I+DAQ== - dependencies: - "@types/rx-core" "*" - -"@types/rx-core@*": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@types/rx-core/-/rx-core-4.0.3.tgz#0b3354b1238cedbe2b74f6326f139dbc7a591d60" - integrity sha1-CzNUsSOM7b4rdPYybxOdvHpZHWA= - -"@types/rx-lite-aggregates@*": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@types/rx-lite-aggregates/-/rx-lite-aggregates-4.0.3.tgz#6efb2b7f3d5f07183a1cb2bd4b1371d7073384c2" - integrity sha512-MAGDAHy8cRatm94FDduhJF+iNS5//jrZ/PIfm+QYw9OCeDgbymFHChM8YVIvN2zArwsRftKgE33QfRWvQk4DPg== - dependencies: - "@types/rx-lite" "*" - -"@types/rx-lite-async@*": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@types/rx-lite-async/-/rx-lite-async-4.0.2.tgz#27fbf0caeff029f41e2d2aae638b05e91ceb600c" - integrity sha512-vTEv5o8l6702ZwfAM5aOeVDfUwBSDOs+ARoGmWAKQ6LOInQ8J4/zjM7ov12fuTpktUKdMQjkeCp07Vd73mPkxw== - dependencies: - "@types/rx-lite" "*" - -"@types/rx-lite-backpressure@*": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@types/rx-lite-backpressure/-/rx-lite-backpressure-4.0.3.tgz#05abb19bdf87cc740196c355e5d0b37bb50b5d56" - integrity sha512-Y6aIeQCtNban5XSAF4B8dffhIKu6aAy/TXFlScHzSxh6ivfQBQw6UjxyEJxIOt3IT49YkS+siuayM2H/Q0cmgA== - dependencies: - "@types/rx-lite" "*" - -"@types/rx-lite-coincidence@*": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@types/rx-lite-coincidence/-/rx-lite-coincidence-4.0.3.tgz#80bd69acc4054a15cdc1638e2dc8843498cd85c0" - integrity sha512-1VNJqzE9gALUyMGypDXZZXzR0Tt7LC9DdAZQ3Ou/Q0MubNU35agVUNXKGHKpNTba+fr8GdIdkC26bRDqtCQBeQ== - dependencies: - "@types/rx-lite" "*" - -"@types/rx-lite-experimental@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/rx-lite-experimental/-/rx-lite-experimental-4.0.1.tgz#c532f5cbdf3f2c15da16ded8930d1b2984023cbd" - integrity sha1-xTL1y98/LBXaFt7Ykw0bKYQCPL0= - dependencies: - "@types/rx-lite" "*" - -"@types/rx-lite-joinpatterns@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/rx-lite-joinpatterns/-/rx-lite-joinpatterns-4.0.1.tgz#f70fe370518a8432f29158cc92ffb56b4e4afc3e" - integrity sha1-9w/jcFGKhDLykVjMkv+1a05K/D4= - dependencies: - "@types/rx-lite" "*" - -"@types/rx-lite-testing@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/rx-lite-testing/-/rx-lite-testing-4.0.1.tgz#21b19d11f4dfd6ffef5a9d1648e9c8879bfe21e9" - integrity sha1-IbGdEfTf1v/vWp0WSOnIh5v+Iek= - dependencies: - "@types/rx-lite-virtualtime" "*" - -"@types/rx-lite-time@*": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@types/rx-lite-time/-/rx-lite-time-4.0.3.tgz#0eda65474570237598f3448b845d2696f2dbb1c4" - integrity sha512-ukO5sPKDRwCGWRZRqPlaAU0SKVxmWwSjiOrLhoQDoWxZWg6vyB9XLEZViKOzIO6LnTIQBlk4UylYV0rnhJLxQw== - dependencies: - "@types/rx-lite" "*" - -"@types/rx-lite-virtualtime@*": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@types/rx-lite-virtualtime/-/rx-lite-virtualtime-4.0.3.tgz#4b30cacd0fe2e53af29f04f7438584c7d3959537" - integrity sha512-3uC6sGmjpOKatZSVHI2xB1+dedgml669ZRvqxy+WqmGJDVusOdyxcKfyzjW0P3/GrCiN4nmRkLVMhPwHCc5QLg== - dependencies: - "@types/rx-lite" "*" - -"@types/rx-lite@*": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@types/rx-lite/-/rx-lite-4.0.6.tgz#3c02921c4244074234f26b772241bcc20c18c253" - integrity sha512-oYiDrFIcor9zDm0VDUca1UbROiMYBxMLMaM6qzz4ADAfOmA9r1dYEcAFH+2fsPI5BCCjPvV9pWC3X3flbrvs7w== - dependencies: - "@types/rx-core" "*" - "@types/rx-core-binding" "*" - -"@types/rx@*": - version "4.1.2" - resolved "https://registry.yarnpkg.com/@types/rx/-/rx-4.1.2.tgz#a4061b3d72b03cf11a38d69e2022a17334c54dc0" - integrity sha512-1r8ZaT26Nigq7o4UBGl+aXB2UMFUIdLPP/8bLIP0x3d0pZL46ybKKjhWKaJQWIkLl5QCLD0nK3qTOO1QkwdFaA== - dependencies: - "@types/rx-core" "*" - "@types/rx-core-binding" "*" - "@types/rx-lite" "*" - "@types/rx-lite-aggregates" "*" - "@types/rx-lite-async" "*" - "@types/rx-lite-backpressure" "*" - "@types/rx-lite-coincidence" "*" - "@types/rx-lite-experimental" "*" - "@types/rx-lite-joinpatterns" "*" - "@types/rx-lite-testing" "*" - "@types/rx-lite-time" "*" - "@types/rx-lite-virtualtime" "*" - -"@types/semver@^5.3.30": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45" - integrity sha512-41qEJgBH/TWgo5NFSvBCJ1qkoi3Q6ONSF2avrHq1LVEZfYpdHmj0y9SuTK+u9ZhG1sYQKBL1AWXKyLWP4RaUoQ== - -"@types/serve-static@*", "@types/serve-static@^1.7.31": - version "1.13.4" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.4.tgz#6662a93583e5a6cabca1b23592eb91e12fa80e7c" - integrity sha512-jTDt0o/YbpNwZbQmE/+2e+lfjJEJJR0I3OFaKQKPWkASkCoW3i6fsUnqudSMcNAfbtmADGu8f4MV4q+GqULmug== - dependencies: - "@types/express-serve-static-core" "*" - "@types/mime" "*" - -"@types/sinon@*": - version "7.0.13" - resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-7.0.13.tgz#ca039c23a9e27ebea53e0901ef928ea2a1a6d313" - integrity sha512-d7c/C/+H/knZ3L8/cxhicHUiTDxdgap0b/aNJfsmLwFu/iOP17mdgbQsbHA3SJmrzsjD0l3UEE5SN4xxuz5ung== - -"@types/spdy@^3.4.1": - version "3.4.4" - resolved "https://registry.yarnpkg.com/@types/spdy/-/spdy-3.4.4.tgz#3282fd4ad8c4603aa49f7017dd520a08a345b2bc" - integrity sha512-N9LBlbVRRYq6HgYpPkqQc3a9HJ/iEtVZToW6xlTtJiMhmRJ7jJdV7TaZQJw/Ve/1ePUsQiCTDc4JMuzzag94GA== - dependencies: - "@types/node" "*" - -"@types/temp@^0.8.28": - version "0.8.34" - resolved "https://registry.yarnpkg.com/@types/temp/-/temp-0.8.34.tgz#03e4b3cb67cbb48c425bbf54b12230fef85540ac" - integrity sha512-oLa9c5LHXgS6UimpEVp08De7QvZ+Dfu5bMQuWyMhf92Z26Q10ubEMOWy9OEfUdzW7Y/sDWVHmUaLFtmnX/2j0w== - dependencies: - "@types/node" "*" - -"@types/through@*": - version "0.0.30" - resolved "https://registry.yarnpkg.com/@types/through/-/through-0.0.30.tgz#e0e42ce77e897bd6aead6f6ea62aeb135b8a3895" - integrity sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg== - dependencies: - "@types/node" "*" - -"@types/ua-parser-js@^0.7.31": - version "0.7.33" - resolved "https://registry.yarnpkg.com/@types/ua-parser-js/-/ua-parser-js-0.7.33.tgz#4a92089511574e12928a7cb6b99a01831acd1dd7" - integrity sha512-ngUKcHnytUodUCL7C6EZ+lVXUjTMQb+9p/e1JjV5tN9TVzS98lHozWEFRPY1QcCdwFeMsmVWfZ3DPPT/udCyIw== - -"@types/uglify-js@*": - version "3.9.3" - resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.9.3.tgz#d94ed608e295bc5424c9600e6b8565407b6b4b6b" - integrity sha512-KswB5C7Kwduwjj04Ykz+AjvPcfgv/37Za24O2EDzYNbwyzOo8+ydtvzUfZ5UMguiVu29Gx44l1A6VsPPcmYu9w== - dependencies: - source-map "^0.6.1" - -"@types/update-notifier@^1.0.0": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@types/update-notifier/-/update-notifier-1.0.3.tgz#3c7ee1921af6f16149cdcaef356baf57d7a0b806" - integrity sha512-BLStNhP2DFF7funARwTcoD6tetRte8NK3Sc59mn7GNALCN975jOlKX3dGvsFxXr/HwQMxxCuRn9IWB3WQ7odHQ== - -"@types/uuid@^3.4.3": - version "3.4.9" - resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.4.9.tgz#fcf01997bbc9f7c09ae5f91383af076d466594e1" - integrity sha512-XDwyIlt/47l2kWLTzw/mtrpLdB+GPSskR2n/PIcPn+VYhVO77rGhRncIR5GPU0KRzXuqkDO+J5qqrG0Y8P6jzQ== - -"@types/vinyl-fs@0.0.28": - version "0.0.28" - resolved "https://registry.yarnpkg.com/@types/vinyl-fs/-/vinyl-fs-0.0.28.tgz#4663017bc802c6570eae4f3409fd5cabf97cbfde" - integrity sha1-RmMBe8gCxlcOrk80Cf1cq/l8v94= - dependencies: - "@types/glob-stream" "*" - "@types/node" "*" - "@types/vinyl" "*" - -"@types/vinyl-fs@^2.4.8": - version "2.4.11" - resolved "https://registry.yarnpkg.com/@types/vinyl-fs/-/vinyl-fs-2.4.11.tgz#b98119b8bb2494141eaf649b09fbfeb311161206" - integrity sha512-2OzQSfIr9CqqWMGqmcERE6Hnd2KY3eBVtFaulVo3sJghplUcaeMdL9ZjEiljcQQeHjheWY9RlNmumjIAvsBNaA== - dependencies: - "@types/glob-stream" "*" - "@types/node" "*" - "@types/vinyl" "*" - -"@types/vinyl@*", "@types/vinyl@^2.0.0": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@types/vinyl/-/vinyl-2.0.4.tgz#9a7a8071c8d14d3a95d41ebe7135babe4ad5995a" - integrity sha512-2o6a2ixaVI2EbwBPg1QYLGQoHK56p/8X/sGfKbFC8N6sY9lfjsMf/GprtkQkSya0D4uRiutRZ2BWj7k3JvLsAQ== - dependencies: - "@types/expect" "^1.20.4" - "@types/node" "*" - -"@types/whatwg-url@^6.4.0": - version "6.4.0" - resolved "https://registry.yarnpkg.com/@types/whatwg-url/-/whatwg-url-6.4.0.tgz#1e59b8c64bc0dbdf66d037cf8449d1c3d5270237" - integrity sha512-tonhlcbQ2eho09am6RHnHOgvtDfDYINd5rgxD+2YSkKENooVCFsWizJz139MQW/PV8FfClyKrNe9ZbdHrSCxGg== - dependencies: - "@types/node" "*" - -"@types/which@^1.3.1": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@types/which/-/which-1.3.2.tgz#9c246fc0c93ded311c8512df2891fb41f6227fdf" - integrity sha512-8oDqyLC7eD4HM307boe2QWKyuzdzWBj56xI/imSl2cpL+U3tCMaTAkMJ4ee5JBZ/FsOJlvRGeIShiZDAl1qERA== - -"@types/yeoman-generator@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@types/yeoman-generator/-/yeoman-generator-2.0.3.tgz#f4b161ee354078b526e0901a5a5f87d4f8e085f6" - integrity sha512-vch2UFd6k7DdfWEv/alRwZIRXQoxZNUDpfLOK24+005dzE1HVnwSWfETF3WxJnWlsOcH87wU4uzldAE/7F/6Lw== - dependencies: - "@types/events" "*" - "@types/inquirer" "*" - -"@wcfactory/cli@^0.8.7": - version "0.8.7" - resolved "https://registry.yarnpkg.com/@wcfactory/cli/-/cli-0.8.7.tgz#d38d6ee37ad8c06c5e75e0a5759a138046ea96e7" - integrity sha512-E50l6lMaJSX60UQf80YaF7/EquqstUrZfjhxefg10tdP2xAoh8F6V/LsUGXLJQtf3FFApxW1SdiRqQPiWjtcdQ== - dependencies: - "@oclif/command" "^1" - "@oclif/config" "^1" - "@oclif/plugin-help" "^2" - "@wcfactory/common" "^0.8.6" - "@wcfactory/generator-wcfactory" "^0.8.7" - date-fns "^1.29.0" - fuse.js "^3.4.2" - glob "^7.1.3" - inquirer "^7.0.0" - inquirer-autocomplete-prompt "^1.0.1" - inquirer-recursive "^0.0.6" - listr "^0.14.2" - listr-update-renderer "^0.5.0" - listr-verbose-renderer "^0.6.0" - lodash "^4.17.11" - polymer-cli "1.9.11" - terser "^4.7.0" - yeoman-environment "^2.3.3" - yeoman-generator "^4.0.0" - -"@wcfactory/common@^0.8.6": - version "0.8.6" - resolved "https://registry.yarnpkg.com/@wcfactory/common/-/common-0.8.6.tgz#aaddbd58a763a20ec04937f468d3c2be6b07b702" - integrity sha512-B/kOgIsQCRWsVrZlrMAcQak/DIj9pa9tm5d026nX71dmID6zDqVNu5c2fqY/of7Qz6jqEfK5rJBHLspPIB0Dfg== - dependencies: - chalk "^4.1.0" - fs-extra "^9.0.1" - glob "^7.1.3" - lerna "^3.11.0" - lodash "^4.17.11" - polymer-cli "1.9.11" - rimraf "^3.0.2" - strip-ansi "^6.0.0" - -"@wcfactory/generator-wcfactory@^0.8.7": - version "0.8.7" - resolved "https://registry.yarnpkg.com/@wcfactory/generator-wcfactory/-/generator-wcfactory-0.8.7.tgz#bd6040f1f24dbf3ccd8d7e643060faac03c53bb6" - integrity sha512-9QbAn/ZW3gVfL2jFFGLVqocIVPdKMNnsWQLl7Ye0xw2GIf8FH9CezcldA8dYFhf/2cE/aL4dgYRKvC5EbIGjNw== - dependencies: - "@wcfactory/cli" "^0.8.7" - "@wcfactory/common" "^0.8.6" - gulp "^3.9.1" - inquirer-recursive "0.0.6" - lodash "^4.17.4" - yeoman-generator "^4.0.0" - -"@webcomponents/webcomponentsjs@^1.0.7": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@webcomponents/webcomponentsjs/-/webcomponentsjs-1.3.3.tgz#5bb82a0d3210c836bd4623e13a4a93145cb9dc27" - integrity sha512-eLH04VBMpuZGzBIhOnUjECcQPEPcmfhWEijW9u1B5I+2PPYdWf3vWUExdDxu4Y3GljRSTCOlWnGtS9tpzmXMyQ== - -JSONStream@^1.0.4, JSONStream@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" - integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - -accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: - version "1.3.7" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" - integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== - dependencies: - mime-types "~2.1.24" - negotiator "0.6.2" - -accessibility-developer-tools@^2.12.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/accessibility-developer-tools/-/accessibility-developer-tools-2.12.0.tgz#3da0cce9d6ec6373964b84f35db7cfc3df7ab514" - integrity sha1-PaDM6dbsY3OWS4TzXbfPw996tRQ= - -acorn-jsx@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" - integrity sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s= - dependencies: - acorn "^3.0.4" - -acorn@^3.0.4: - version "3.3.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" - integrity sha1-ReN/s56No/JbruP/U2niu18iAXo= - -acorn@^5.5.0: - version "5.7.4" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.4.tgz#3e8d8a9947d0599a1796d10225d7432f4a4acf5e" - integrity sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg== - -acorn@^7.1.0: - version "7.3.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd" - integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA== - -adm-zip@~0.4.3: - version "0.4.16" - resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.16.tgz#cf4c508fdffab02c269cbc7f471a875f05570365" - integrity sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg== - -after@0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f" - integrity sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8= - -agent-base@4, agent-base@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" - integrity sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg== - dependencies: - es6-promisify "^5.0.0" - -agent-base@6: - version "6.0.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.1.tgz#808007e4e5867decb0ab6ab2f928fbdb5a596db4" - integrity sha512-01q25QQDwLSsyfhrKbn8yuur+JNw0H+0Y4JiGIKd3z9aYk/w/2kxD/Upc+t2ZBBSUNff50VjPsSW2YxM8QYKVg== - dependencies: - debug "4" - -agent-base@~4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9" - integrity sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg== - dependencies: - es6-promisify "^5.0.0" - -agentkeepalive@^3.4.1: - version "3.5.2" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-3.5.2.tgz#a113924dd3fa24a0bc3b78108c450c2abee00f67" - integrity sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ== - dependencies: - humanize-ms "^1.2.1" - -ajv@^6.5.5: - version "6.10.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" - integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== - dependencies: - fast-deep-equal "^2.0.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ansi-align@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-1.1.0.tgz#2f0c1658829739add5ebb15e6b0c6e3423f016ba" - integrity sha1-LwwWWIKXOa3V67FeawxuNCPwFro= - dependencies: - string-width "^1.0.1" - -ansi-align@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" - integrity sha1-w2rsy6VjuJzrVW82kPCx2eNUf38= - dependencies: - string-width "^2.0.0" - -ansi-escapes@^1.1.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" - integrity sha1-06ioOzGapneTZisT52HHkRQiMG4= - -ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" - integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== - -ansi-escapes@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" - integrity sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw== - -ansi-escapes@^4.2.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61" - integrity sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA== - dependencies: - type-fest "^0.11.0" - -ansi-gray@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/ansi-gray/-/ansi-gray-0.1.1.tgz#2962cf54ec9792c48510a3deb524436861ef7251" - integrity sha1-KWLPVOyXksSFEKPetSRDaGHvclE= - dependencies: - ansi-wrap "0.1.0" - -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= - -ansi-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" - integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= - -ansi-regex@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== - -ansi-regex@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" - integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== - -ansi-styles@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" - integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= - -ansi-styles@^3.2.0, ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" - integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== - dependencies: - "@types/color-name" "^1.1.1" - color-convert "^2.0.1" - -ansi-styles@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.0.0.tgz#cb102df1c56f5123eab8b67cd7b98027a0279178" - integrity sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg= - -ansi-wrap@0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf" - integrity sha1-qCJQ3bABXponyoLoLqYDu/pF768= - -ansicolors@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" - integrity sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk= - -any-observable@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b" - integrity sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog== - -any-promise@^1.0.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" - integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= - -anymatch@^1.3.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" - integrity sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA== - dependencies: - micromatch "^2.1.5" - normalize-path "^2.0.0" - -append-field@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/append-field/-/append-field-1.0.0.tgz#1e3440e915f0b1203d23748e78edd7b9b5b43e56" - integrity sha1-HjRA6RXwsSA9I3SOeO3XubW0PlY= - -aproba@^1.0.3, aproba@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - -aproba@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" - integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== - -archiver-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/archiver-utils/-/archiver-utils-2.1.0.tgz#e8a460e94b693c3e3da182a098ca6285ba9249e2" - integrity sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw== - dependencies: - glob "^7.1.4" - graceful-fs "^4.2.0" - lazystream "^1.0.0" - lodash.defaults "^4.2.0" - lodash.difference "^4.5.0" - lodash.flatten "^4.4.0" - lodash.isplainobject "^4.0.6" - lodash.union "^4.6.0" - normalize-path "^3.0.0" - readable-stream "^2.0.0" - -archiver@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/archiver/-/archiver-3.1.1.tgz#9db7819d4daf60aec10fe86b16cb9258ced66ea0" - integrity sha512-5Hxxcig7gw5Jod/8Gq0OneVgLYET+oNHcxgWItq4TbhOzRLKNAFUb9edAftiMKXvXfCB0vbGrJdZDNq0dWMsxg== - dependencies: - archiver-utils "^2.1.0" - async "^2.6.3" - buffer-crc32 "^0.2.1" - glob "^7.1.4" - readable-stream "^3.4.0" - tar-stream "^2.1.0" - zip-stream "^2.1.2" - -archy@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" - integrity sha1-+cjBN1fMHde8N5rHeyxipcKGjEA= - -are-we-there-yet@~1.1.2: - version "1.1.5" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" - integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -arr-diff@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" - integrity sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8= - dependencies: - arr-flatten "^1.0.1" - -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= - -arr-flatten@^1.0.1, arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= - -array-back@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/array-back/-/array-back-2.0.0.tgz#6877471d51ecc9c9bfa6136fb6c7d5fe69748022" - integrity sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw== - dependencies: - typical "^2.6.1" - -array-back@^3.0.1: - version "3.1.0" - resolved "https://registry.yarnpkg.com/array-back/-/array-back-3.1.0.tgz#b8859d7a508871c9a7b2cf42f99428f65e96bfb0" - integrity sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q== - -array-differ@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031" - integrity sha1-7/UuN1gknTO+QCuLuOVkuytdQDE= - -array-differ@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" - integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== - -array-each@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f" - integrity sha1-p5SvDAWrF1KEbudTofIRoFugxE8= - -array-find-index@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" - integrity sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E= - -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= - -array-ify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" - integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= - -array-slice@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4" - integrity sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w== - -array-union@^1.0.1, array-union@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" - integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= - dependencies: - array-uniq "^1.0.1" - -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" - integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== - -array-uniq@^1.0.1, array-uniq@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" - integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= - -array-unique@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" - integrity sha1-odl8yvy8JiXMcPrc6zalDFiwGlM= - -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= - -arraybuffer.slice@~0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675" - integrity sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog== - -arrify@^1.0.0, arrify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= - -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - -asap@^2.0.0: - version "2.0.6" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= - -asn1@~0.2.3: - version "0.2.4" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" - integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== - dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= - -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= - -async-each@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" - integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== - -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - -async@^2.0.0, async@^2.0.1, async@^2.1.2, async@^2.4.1, async@^2.6.0, async@^2.6.2, async@^2.6.3: - version "2.6.3" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" - integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== - dependencies: - lodash "^4.17.14" - -async@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/async/-/async-3.2.0.tgz#b3a2685c5ebb641d3de02d161002c60fc9f85720" - integrity sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw== - -async@~0.2.9: - version "0.2.10" - resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" - integrity sha1-trvgsGdLnXGXCMo43owjfLUmw9E= - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= - -at-least-node@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" - integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== - -atob-lite@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696" - integrity sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY= - -atob@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" - integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= - -aws4@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" - integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ== - -babel-code-frame@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" - integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s= - dependencies: - chalk "^1.1.3" - esutils "^2.0.2" - js-tokens "^3.0.2" - -babel-generator@^6.26.1: - version "6.26.1" - resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" - integrity sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA== - dependencies: - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - detect-indent "^4.0.0" - jsesc "^1.3.0" - lodash "^4.17.4" - source-map "^0.5.7" - trim-right "^1.0.1" - -babel-helper-evaluate-path@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.5.0.tgz#a62fa9c4e64ff7ea5cea9353174ef023a900a67c" - integrity sha512-mUh0UhS607bGh5wUMAQfOpt2JX2ThXMtppHRdRU1kL7ZLRWIXxoV2UIV1r2cAeeNeU1M5SB5/RSUgUxrK8yOkA== - -babel-helper-flip-expressions@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.4.3.tgz#3696736a128ac18bc25254b5f40a22ceb3c1d3fd" - integrity sha1-NpZzahKKwYvCUlS19AoizrPB0/0= - -babel-helper-is-nodes-equiv@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz#34e9b300b1479ddd98ec77ea0bbe9342dfe39684" - integrity sha1-NOmzALFHnd2Y7HfqC76TQt/jloQ= - -babel-helper-is-void-0@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.4.3.tgz#7d9c01b4561e7b95dbda0f6eee48f5b60e67313e" - integrity sha1-fZwBtFYee5Xb2g9u7kj1tg5nMT4= - -babel-helper-mark-eval-scopes@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.4.3.tgz#d244a3bef9844872603ffb46e22ce8acdf551562" - integrity sha1-0kSjvvmESHJgP/tG4izorN9VFWI= - -babel-helper-remove-or-void@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.4.3.tgz#a4f03b40077a0ffe88e45d07010dee241ff5ae60" - integrity sha1-pPA7QAd6D/6I5F0HAQ3uJB/1rmA= - -babel-helper-to-multiple-sequence-expressions@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.5.0.tgz#a3f924e3561882d42fcf48907aa98f7979a4588d" - integrity sha512-m2CvfDW4+1qfDdsrtf4dwOslQC3yhbgyBFptncp4wvtdrDHqueW7slsYv4gArie056phvQFhT2nRcGS4bnm6mA== - -babel-messages@^6.23.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" - integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4= - dependencies: - babel-runtime "^6.22.0" - -babel-plugin-dynamic-import-node@^2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" - integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== - dependencies: - object.assign "^4.1.0" - -babel-plugin-minify-builtins@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.5.0.tgz#31eb82ed1a0d0efdc31312f93b6e4741ce82c36b" - integrity sha512-wpqbN7Ov5hsNwGdzuzvFcjgRlzbIeVv1gMIlICbPj0xkexnfoIDe7q+AZHMkQmAE/F9R5jkrB6TLfTegImlXag== - -babel-plugin-minify-constant-folding@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.5.0.tgz#f84bc8dbf6a561e5e350ff95ae216b0ad5515b6e" - integrity sha512-Vj97CTn/lE9hR1D+jKUeHfNy+m1baNiJ1wJvoGyOBUx7F7kJqDZxr9nCHjO/Ad+irbR3HzR6jABpSSA29QsrXQ== - dependencies: - babel-helper-evaluate-path "^0.5.0" - -babel-plugin-minify-dead-code-elimination@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.5.1.tgz#1a0c68e44be30de4976ca69ffc535e08be13683f" - integrity sha512-x8OJOZIrRmQBcSqxBcLbMIK8uPmTvNWPXH2bh5MDCW1latEqYiRMuUkPImKcfpo59pTUB2FT7HfcgtG8ZlR5Qg== - dependencies: - babel-helper-evaluate-path "^0.5.0" - babel-helper-mark-eval-scopes "^0.4.3" - babel-helper-remove-or-void "^0.4.3" - lodash "^4.17.11" - -babel-plugin-minify-flip-comparisons@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.4.3.tgz#00ca870cb8f13b45c038b3c1ebc0f227293c965a" - integrity sha1-AMqHDLjxO0XAOLPB68DyJyk8llo= - dependencies: - babel-helper-is-void-0 "^0.4.3" - -babel-plugin-minify-guarded-expressions@^0.4.3, babel-plugin-minify-guarded-expressions@^0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.4.4.tgz#818960f64cc08aee9d6c75bec6da974c4d621135" - integrity sha512-RMv0tM72YuPPfLT9QLr3ix9nwUIq+sHT6z8Iu3sLbqldzC1Dls8DPCywzUIzkTx9Zh1hWX4q/m9BPoPed9GOfA== - dependencies: - babel-helper-evaluate-path "^0.5.0" - babel-helper-flip-expressions "^0.4.3" - -babel-plugin-minify-infinity@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.4.3.tgz#dfb876a1b08a06576384ef3f92e653ba607b39ca" - integrity sha1-37h2obCKBldjhO8/kuZTumB7Oco= - -babel-plugin-minify-mangle-names@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.5.0.tgz#bcddb507c91d2c99e138bd6b17a19c3c271e3fd3" - integrity sha512-3jdNv6hCAw6fsX1p2wBGPfWuK69sfOjfd3zjUXkbq8McbohWy23tpXfy5RnToYWggvqzuMOwlId1PhyHOfgnGw== - dependencies: - babel-helper-mark-eval-scopes "^0.4.3" - -babel-plugin-minify-numeric-literals@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.4.3.tgz#8e4fd561c79f7801286ff60e8c5fd9deee93c0bc" - integrity sha1-jk/VYcefeAEob/YOjF/Z3u6TwLw= - -babel-plugin-minify-replace@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.5.0.tgz#d3e2c9946c9096c070efc96761ce288ec5c3f71c" - integrity sha512-aXZiaqWDNUbyNNNpWs/8NyST+oU7QTpK7J9zFEFSA0eOmtUNMU3fczlTTTlnCxHmq/jYNFEmkkSG3DDBtW3Y4Q== - -babel-plugin-minify-simplify@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.5.1.tgz#f21613c8b95af3450a2ca71502fdbd91793c8d6a" - integrity sha512-OSYDSnoCxP2cYDMk9gxNAed6uJDiDz65zgL6h8d3tm8qXIagWGMLWhqysT6DY3Vs7Fgq7YUDcjOomhVUb+xX6A== - dependencies: - babel-helper-evaluate-path "^0.5.0" - babel-helper-flip-expressions "^0.4.3" - babel-helper-is-nodes-equiv "^0.0.1" - babel-helper-to-multiple-sequence-expressions "^0.5.0" - -babel-plugin-minify-type-constructors@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.4.3.tgz#1bc6f15b87f7ab1085d42b330b717657a2156500" - integrity sha1-G8bxW4f3qxCF1CszC3F2V6IVZQA= - dependencies: - babel-helper-is-void-0 "^0.4.3" - -babel-plugin-transform-inline-consecutive-adds@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.4.3.tgz#323d47a3ea63a83a7ac3c811ae8e6941faf2b0d1" - integrity sha1-Mj1Ho+pjqDp6w8gRro5pQfrysNE= - -babel-plugin-transform-member-expression-literals@^6.9.4: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.9.4.tgz#37039c9a0c3313a39495faac2ff3a6b5b9d038bf" - integrity sha1-NwOcmgwzE6OUlfqsL/OmtbnQOL8= - -babel-plugin-transform-merge-sibling-variables@^6.9.4: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.9.4.tgz#85b422fc3377b449c9d1cde44087203532401dae" - integrity sha1-hbQi/DN3tEnJ0c3kQIcgNTJAHa4= - -babel-plugin-transform-minify-booleans@^6.9.4: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.4.tgz#acbb3e56a3555dd23928e4b582d285162dd2b198" - integrity sha1-rLs+VqNVXdI5KOS1gtKFFi3SsZg= - -babel-plugin-transform-property-literals@^6.9.4: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.9.4.tgz#98c1d21e255736573f93ece54459f6ce24985d39" - integrity sha1-mMHSHiVXNlc/k+zlRFn2ziSYXTk= - dependencies: - esutils "^2.0.2" - -babel-plugin-transform-regexp-constructors@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.4.3.tgz#58b7775b63afcf33328fae9a5f88fbd4fb0b4965" - integrity sha1-WLd3W2OvzzMyj66aX4j71PsLSWU= - -babel-plugin-transform-remove-console@^6.9.4: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz#b980360c067384e24b357a588d807d3c83527780" - integrity sha1-uYA2DAZzhOJLNXpYjYB9PINSd4A= - -babel-plugin-transform-remove-debugger@^6.9.4: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.9.4.tgz#42b727631c97978e1eb2d199a7aec84a18339ef2" - integrity sha1-QrcnYxyXl44estGZp67IShgznvI= - -babel-plugin-transform-remove-undefined@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.5.0.tgz#80208b31225766c630c97fa2d288952056ea22dd" - integrity sha512-+M7fJYFaEE/M9CXa0/IRkDbiV3wRELzA1kKQFCJ4ifhrzLKn/9VCCgj9OFmYWwBd8IB48YdgPkHYtbYq+4vtHQ== - dependencies: - babel-helper-evaluate-path "^0.5.0" - -babel-plugin-transform-simplify-comparison-operators@^6.9.4: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.9.4.tgz#f62afe096cab0e1f68a2d753fdf283888471ceb9" - integrity sha1-9ir+CWyrDh9ootdT/fKDiIRxzrk= - -babel-plugin-transform-undefined-to-void@^6.9.4: - version "6.9.4" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.9.4.tgz#be241ca81404030678b748717322b89d0c8fe280" - integrity sha1-viQcqBQEAwZ4t0hxcyK4nQyP4oA= - -babel-preset-minify@^0.5.0: - version "0.5.1" - resolved "https://registry.yarnpkg.com/babel-preset-minify/-/babel-preset-minify-0.5.1.tgz#25f5d0bce36ec818be80338d0e594106e21eaa9f" - integrity sha512-1IajDumYOAPYImkHbrKeiN5AKKP9iOmRoO2IPbIuVp0j2iuCcj0n7P260z38siKMZZ+85d3mJZdtW8IgOv+Tzg== - dependencies: - babel-plugin-minify-builtins "^0.5.0" - babel-plugin-minify-constant-folding "^0.5.0" - babel-plugin-minify-dead-code-elimination "^0.5.1" - babel-plugin-minify-flip-comparisons "^0.4.3" - babel-plugin-minify-guarded-expressions "^0.4.4" - babel-plugin-minify-infinity "^0.4.3" - babel-plugin-minify-mangle-names "^0.5.0" - babel-plugin-minify-numeric-literals "^0.4.3" - babel-plugin-minify-replace "^0.5.0" - babel-plugin-minify-simplify "^0.5.1" - babel-plugin-minify-type-constructors "^0.4.3" - babel-plugin-transform-inline-consecutive-adds "^0.4.3" - babel-plugin-transform-member-expression-literals "^6.9.4" - babel-plugin-transform-merge-sibling-variables "^6.9.4" - babel-plugin-transform-minify-booleans "^6.9.4" - babel-plugin-transform-property-literals "^6.9.4" - babel-plugin-transform-regexp-constructors "^0.4.3" - babel-plugin-transform-remove-console "^6.9.4" - babel-plugin-transform-remove-debugger "^6.9.4" - babel-plugin-transform-remove-undefined "^0.5.0" - babel-plugin-transform-simplify-comparison-operators "^6.9.4" - babel-plugin-transform-undefined-to-void "^6.9.4" - lodash "^4.17.11" - -babel-runtime@^6.22.0, babel-runtime@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" - integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4= - dependencies: - core-js "^2.4.0" - regenerator-runtime "^0.11.0" - -babel-traverse@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" - integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4= - dependencies: - babel-code-frame "^6.26.0" - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - debug "^2.6.8" - globals "^9.18.0" - invariant "^2.2.2" - lodash "^4.17.4" - -babel-types@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" - integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc= - dependencies: - babel-runtime "^6.26.0" - esutils "^2.0.2" - lodash "^4.17.4" - to-fast-properties "^1.0.3" - -babylon@^6.18.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" - integrity sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ== - -babylon@^7.0.0-beta.42: - version "7.0.0-beta.47" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.47.tgz#6d1fa44f0abec41ab7c780481e62fd9aafbdea80" - integrity sha512-+rq2cr4GDhtToEzKFD6KZZMDBXhjFAr9JjPw9pAppZACeEWqNM294j+NdBzkSHYXwzzBmVjZ3nEVJlOhbR2gOQ== - -backo2@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947" - integrity sha1-MasayLEpNjRj41s+u2n038+6eUc= - -balanced-match@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" - integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= - -base64-arraybuffer@0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8" - integrity sha1-c5JncZI7Whl0etZmqlzUv5xunOg= - -base64-js@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.0.tgz#a39992d723584811982be5e290bb6a53d86700f1" - integrity sha1-o5mS1yNYSBGYK+XikLtqU9hnAPE= - -base64-js@^1.0.2: - version "1.3.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1" - integrity sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g== - -base64id@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/base64id/-/base64id-2.0.0.tgz#2770ac6bc47d312af97a8bf9a634342e0cd25cb6" - integrity sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog== - -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= - dependencies: - tweetnacl "^0.14.3" - -beeper@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/beeper/-/beeper-1.1.1.tgz#e6d5ea8c5dad001304a70b22638447f69cb2f809" - integrity sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak= - -before-after-hook@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635" - integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A== - -better-assert@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/better-assert/-/better-assert-1.0.2.tgz#40866b9e1b9e0b55b481894311e68faffaebc522" - integrity sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI= - dependencies: - callsite "1.0.0" - -binary-extensions@^1.0.0: - version "1.13.1" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" - integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== - -binaryextensions@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.1.2.tgz#c83c3d74233ba7674e4f313cb2a2b70f54e94b7c" - integrity sha512-xVNN69YGDghOqCCtA6FI7avYrr02mTJjOgB0/f1VPD3pJC8QEvjTKWc4epDx8AqxxA75NI0QpVM2gPJXUbE4Tg== - -bindings@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - -bl@^1.0.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.2.tgz#a160911717103c07410cef63ef51b397c025af9c" - integrity sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA== - dependencies: - readable-stream "^2.3.5" - safe-buffer "^5.1.1" - -bl@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/bl/-/bl-4.0.2.tgz#52b71e9088515d0606d9dd9cc7aa48dc1f98e73a" - integrity sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ== - dependencies: - buffer "^5.5.0" - inherits "^2.0.4" - readable-stream "^3.4.0" - -blob@0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683" - integrity sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig== - -bluebird@^3.5.1, bluebird@^3.5.5: - version "3.5.5" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f" - integrity sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w== - -body-parser@1.19.0, body-parser@^1.17.2: - version "1.19.0" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a" - integrity sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw== - dependencies: - bytes "3.1.0" - content-type "~1.0.4" - debug "2.6.9" - depd "~1.1.2" - http-errors "1.7.2" - iconv-lite "0.4.24" - on-finished "~2.3.0" - qs "6.7.0" - raw-body "2.4.0" - type-is "~1.6.17" - -bower-config@^1.4.0, bower-config@^1.4.1: - version "1.4.3" - resolved "https://registry.yarnpkg.com/bower-config/-/bower-config-1.4.3.tgz#3454fecdc5f08e7aa9cc6d556e492be0669689ae" - integrity sha512-MVyyUk3d1S7d2cl6YISViwJBc2VXCkxF5AUFykvN0PQj5FsUiMNSgAYTso18oRFfyZ6XEtjrgg9MAaufHbOwNw== - dependencies: - graceful-fs "^4.1.3" - minimist "^0.2.1" - mout "^1.0.0" - osenv "^0.1.3" - untildify "^2.1.0" - wordwrap "^0.0.3" - -bower-json@^0.8.1: - version "0.8.4" - resolved "https://registry.yarnpkg.com/bower-json/-/bower-json-0.8.4.tgz#9c3b375870dcd9581350c1f403f6383dbf6a18b1" - integrity sha512-mMKghvq9ivbuzSsY5nrOLnDtZIJMUCpysqbGaGW3mj88JAcuSi8ZAzIt34vNZjohy0aR9VXLwgPTZGnBX2Vpjg== - dependencies: - deep-extend "^0.5.1" - ends-with "^0.2.0" - ext-list "^2.0.0" - graceful-fs "^4.1.3" - intersect "^1.0.1" - sort-keys-length "^1.0.0" - -bower-logger@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/bower-logger/-/bower-logger-0.2.2.tgz#39be07e979b2fc8e03a94634205ed9422373d381" - integrity sha1-Ob4H6Xmy/I4DqUY0IF7ZQiNz04E= - -bower@^1.8.8: - version "1.8.8" - resolved "https://registry.yarnpkg.com/bower/-/bower-1.8.8.tgz#82544be34a33aeae7efb8bdf9905247b2cffa985" - integrity sha512-1SrJnXnkP9soITHptSO+ahx3QKp3cVzn8poI6ujqc5SeOkg5iqM1pK9H+DSc2OQ8SnO0jC/NG4Ur/UIwy7574A== - -boxen@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/boxen/-/boxen-0.6.0.tgz#8364d4248ac34ff0ef1b2f2bf49a6c60ce0d81b6" - integrity sha1-g2TUJIrDT/DvGy8r9JpsYM4NgbY= - dependencies: - ansi-align "^1.1.0" - camelcase "^2.1.0" - chalk "^1.1.1" - cli-boxes "^1.0.0" - filled-array "^1.0.0" - object-assign "^4.0.1" - repeating "^2.0.0" - string-width "^1.0.1" - widest-line "^1.0.0" - -boxen@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" - integrity sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw== - dependencies: - ansi-align "^2.0.0" - camelcase "^4.0.0" - chalk "^2.0.1" - cli-boxes "^1.0.0" - string-width "^2.0.0" - term-size "^1.2.0" - widest-line "^2.0.0" - -brace-expansion@^1.0.0, brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^1.8.2: - version "1.8.5" - resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" - integrity sha1-uneWLhLf+WnWt2cR6RS3N4V79qc= - dependencies: - expand-range "^1.8.1" - preserve "^0.2.0" - repeat-element "^1.1.2" - -braces@^2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - -braces@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -browser-capabilities@^1.0.0: - version "1.1.4" - resolved "https://registry.yarnpkg.com/browser-capabilities/-/browser-capabilities-1.1.4.tgz#a6bd657a07a134532ad66c722b8949904478b973" - integrity sha512-BezMQhbQklxjRQpZZQ8tnbzEo6AldUwMh8/PeWt5/CTBSwByQRXZEAK2fbnEahQ4poeeaI0suAYRq25A1YGOmw== - dependencies: - "@types/ua-parser-js" "^0.7.31" - ua-parser-js "^0.7.15" - -browserify-zlib@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.1.4.tgz#bb35f8a519f600e0fa6b8485241c979d0141fb2d" - integrity sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0= - dependencies: - pako "~0.2.0" - -browserstack@^1.2.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/browserstack/-/browserstack-1.6.0.tgz#5a56ab90987605d9c138d7a8b88128370297f9bf" - integrity sha512-HJDJ0TSlmkwnt9RZ+v5gFpa1XZTBYTj0ywvLwJ3241J7vMw2jAsGNVhKHtmCOyg+VxeLZyaibO9UL71AsUeDIw== - dependencies: - https-proxy-agent "^2.2.1" - -btoa-lite@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" - integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= - -buffer-alloc-unsafe@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0" - integrity sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg== - -buffer-alloc@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/buffer-alloc/-/buffer-alloc-1.2.0.tgz#890dd90d923a873e08e10e5fd51a57e5b7cce0ec" - integrity sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow== - dependencies: - buffer-alloc-unsafe "^1.1.0" - buffer-fill "^1.0.0" - -buffer-crc32@^0.2.1, buffer-crc32@^0.2.13, buffer-crc32@~0.2.3: - version "0.2.13" - resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" - integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= - -buffer-fill@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c" - integrity sha1-+PeLdniYiO858gXNY39o5wISKyw= - -buffer-from@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" - integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== - -buffer@^5.1.0, buffer@^5.5.0: - version "5.6.0" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786" - integrity sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - -builtin-modules@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" - integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= - -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og= - -busboy@^0.2.11: - version "0.2.14" - resolved "https://registry.yarnpkg.com/busboy/-/busboy-0.2.14.tgz#6c2a622efcf47c57bbbe1e2a9c37ad36c7925453" - integrity sha1-bCpiLvz0fFe7vh4qnDetNseSVFM= - dependencies: - dicer "0.2.5" - readable-stream "1.1.x" - -byline@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1" - integrity sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE= - -byte-size@^4.0.3: - version "4.0.4" - resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-4.0.4.tgz#29d381709f41aae0d89c631f1c81aec88cd40b23" - integrity sha512-82RPeneC6nqCdSwCX2hZUz3JPOvN5at/nTEw/CMf05Smu3Hrpo9Psb7LjN+k+XndNArG1EY8L4+BM3aTM4BCvw== - -bytes@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= - -bytes@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" - integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== - -cacache@^11.3.3: - version "11.3.3" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-11.3.3.tgz#8bd29df8c6a718a6ebd2d010da4d7972ae3bbadc" - integrity sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA== - dependencies: - bluebird "^3.5.5" - chownr "^1.1.1" - figgy-pudding "^3.5.1" - glob "^7.1.4" - graceful-fs "^4.1.15" - lru-cache "^5.1.1" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.3" - ssri "^6.0.1" - unique-filename "^1.1.1" - y18n "^4.0.0" - -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" - -call-me-maybe@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" - integrity sha1-JtII6onje1y95gJQoV8DHBak1ms= - -caller-callsite@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" - integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ= - dependencies: - callsites "^2.0.0" - -caller-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" - integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ= - dependencies: - caller-callsite "^2.0.0" - -callsite@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/callsite/-/callsite-1.0.0.tgz#280398e5d664bd74038b6f0905153e6e8af1bc20" - integrity sha1-KAOY5dZkvXQDi28JBRU+borxvCA= - -callsites@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" - integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= - -camel-case@3.0.x: - version "3.0.0" - resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73" - integrity sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M= - dependencies: - no-case "^2.2.0" - upper-case "^1.1.1" - -camelcase-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" - integrity sha1-MIvur/3ygRkFHvodkyITyRuPkuc= - dependencies: - camelcase "^2.0.0" - map-obj "^1.0.0" - -camelcase-keys@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-4.2.0.tgz#a2aa5fb1af688758259c32c141426d78923b9b77" - integrity sha1-oqpfsa9oh1glnDLBQUJteJI7m3c= - dependencies: - camelcase "^4.1.0" - map-obj "^2.0.0" - quick-lru "^1.0.0" - -camelcase@^2.0.0, camelcase@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" - integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= - -camelcase@^4.0.0, camelcase@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" - integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= - -camelcase@^5.0.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -cancel-token@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/cancel-token/-/cancel-token-0.1.1.tgz#c18197674bb1c84c1d6933ebf15d8d5a5ce79b4f" - integrity sha1-wYGXZ0uxyEwdaTPr8V2NWlznm08= - dependencies: - "@types/node" "^4.0.30" - -capture-stack-trace@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" - integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw== - -cardinal@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" - integrity sha1-fMEFXYItISlU0HsIXeolHMe8VQU= - dependencies: - ansicolors "~0.3.2" - redeyed "~2.1.0" - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= - -chalk@*, chalk@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" - integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= - dependencies: - ansi-styles "^2.2.1" - escape-string-regexp "^1.0.2" - has-ansi "^2.0.0" - strip-ansi "^3.0.0" - supports-color "^2.0.0" - -chalk@^2.0.0, chalk@^2.3.0, chalk@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" - integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chalk@^2.0.1, chalk@^2.3.1, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chalk@~0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.4.0.tgz#5199a3ddcd0c1efe23bc08c1b027b06176e0c64f" - integrity sha1-UZmj3c0MHv4jvAjBsCewYXbgxk8= - dependencies: - ansi-styles "~1.0.0" - has-color "~0.1.0" - strip-ansi "~0.1.0" - -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== - -charenc@~0.0.1: - version "0.0.2" - resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" - integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc= - -chokidar@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" - integrity sha1-eY5ol3gVHIB2tLNg5e3SjNortGg= - dependencies: - anymatch "^1.3.0" - async-each "^1.0.0" - glob-parent "^2.0.0" - inherits "^2.0.1" - is-binary-path "^1.0.0" - is-glob "^2.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.0.0" - optionalDependencies: - fsevents "^1.0.0" - -chownr@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" - integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g== - -chownr@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6" - integrity sha512-GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A== - -ci-info@^1.5.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" - integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== - -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" - -clean-css@4.2.x: - version "4.2.3" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78" - integrity sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA== - dependencies: - source-map "~0.6.0" - -clean-stack@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-1.3.0.tgz#9e821501ae979986c46b1d66d2d432db2fd4ae31" - integrity sha1-noIVAa6XmYbEax1m0tQy2y/UrjE= - -clean-stack@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.1.0.tgz#9e7fec7f3f8340a2ab4f127c80273085e8fbbdd0" - integrity sha512-uQWrpRm+iZZUCAp7ZZJQbd4Za9I3AjR/3YTjmcnAtkauaIm/T5CT6U8zVI6e60T6OANqBFAzuR9/HB3NzuZCRA== - -clean-stack@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-3.0.0.tgz#a7c249369fcf0f33c7888c20ea3f3dc79620211f" - integrity sha512-RHxtgFvXsRQ+1AM7dlozLDY7ssmvUUh0XEnfnyhYgJTO6beNZHBogiaCwGM9Q3rFrUkYxOtsZRC0zAturg5bjg== - dependencies: - escape-string-regexp "4.0.0" - -cleankill@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/cleankill/-/cleankill-2.0.0.tgz#59830dfc8b411d53dc72ad09d45a78ea33161a91" - integrity sha1-WYMN/ItBHVPccq0J1Fp46jMWGpE= - -cli-boxes@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" - integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= - -cli-cursor@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" - integrity sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc= - dependencies: - restore-cursor "^1.0.1" - -cli-cursor@^2.0.0, cli-cursor@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" - integrity sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= - dependencies: - restore-cursor "^2.0.0" - -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cli-table@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" - integrity sha1-9TsFJmqLGguTSz0IIebi3FkUriM= - dependencies: - colors "1.0.3" - -cli-truncate@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" - integrity sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ= - dependencies: - slice-ansi "0.0.4" - string-width "^1.0.1" - -cli-ux@^5.2.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-5.3.1.tgz#3bed8b37c44b03a5d1b9d71d39a69a919a101835" - integrity sha512-l2MXbitx0FjtHKSbHytuxfxWv6MdWBRh23ItRJjU17cjj0dqZxfAL863tzbR1FIs7jccPllPUvn3QWK6BQg3Pg== - dependencies: - "@oclif/command" "^1.5.1" - "@oclif/errors" "^1.2.1" - "@oclif/linewrap" "^1.0.0" - "@oclif/screen" "^1.0.3" - ansi-escapes "^3.1.0" - ansi-styles "^3.2.1" - cardinal "^2.1.1" - chalk "^2.4.1" - clean-stack "^2.0.0" - extract-stack "^1.0.0" - fs-extra "^7.0.1" - hyperlinker "^1.0.0" - indent-string "^3.2.0" - is-wsl "^1.1.0" - lodash "^4.17.11" - natural-orderby "^2.0.1" - password-prompt "^1.1.2" - semver "^5.6.0" - string-width "^3.1.0" - strip-ansi "^5.1.0" - supports-color "^5.5.0" - supports-hyperlinks "^1.0.1" - treeify "^1.1.0" - tslib "^1.9.3" - -cli-width@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" - integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= - -cli-width@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" - integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== - -cliui@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" - integrity sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ== - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" - -clone-buffer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" - integrity sha1-4+JbIHrE5wGvch4staFnksrD3Fg= - -clone-stats@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1" - integrity sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE= - -clone-stats@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680" - integrity sha1-s3gt/4u1R04Yuba/D9/ngvh3doA= - -clone@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/clone/-/clone-0.2.0.tgz#c6126a90ad4f72dbf5acdb243cc37724fe93fc1f" - integrity sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8= - -clone@^1.0.0, clone@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= - -clone@^2.0.0, clone@^2.1.0, clone@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" - integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= - -cloneable-readable@^1.0.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.3.tgz#120a00cb053bfb63a222e709f9683ea2e11d8cec" - integrity sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ== - dependencies: - inherits "^2.0.1" - process-nextick-args "^2.0.0" - readable-stream "^2.3.5" - -cmd-shim@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-2.0.2.tgz#6fcbda99483a8fd15d7d30a196ca69d688a2efdb" - integrity sha1-b8vamUg6j9FdfTChlspp1oii79s= - dependencies: - graceful-fs "^4.1.2" - mkdirp "~0.5.0" - -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= - -collection-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - integrity sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA= - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - -color-convert@^1.9.0, color-convert@^1.9.1: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= - -color-name@^1.0.0, color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -color-string@^1.5.2: - version "1.5.3" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.5.3.tgz#c9bbc5f01b58b5492f3d6857459cb6590ce204cc" - integrity sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw== - dependencies: - color-name "^1.0.0" - simple-swizzle "^0.2.2" - -color-support@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" - integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== - -color@3.0.x: - version "3.0.0" - resolved "https://registry.yarnpkg.com/color/-/color-3.0.0.tgz#d920b4328d534a3ac8295d68f7bd4ba6c427be9a" - integrity sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w== - dependencies: - color-convert "^1.9.1" - color-string "^1.5.2" - -colors@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" - integrity sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs= - -colors@^1.2.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== - -colorspace@1.1.x: - version "1.1.2" - resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.2.tgz#e0128950d082b86a2168580796a0aa5d6c68d8c5" - integrity sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ== - dependencies: - color "3.0.x" - text-hex "1.0.x" - -columnify@^1.5.4: - version "1.5.4" - resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" - integrity sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs= - dependencies: - strip-ansi "^3.0.0" - wcwidth "^1.0.0" - -combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -command-line-args@^5.0.2: - version "5.1.1" - resolved "https://registry.yarnpkg.com/command-line-args/-/command-line-args-5.1.1.tgz#88e793e5bb3ceb30754a86863f0401ac92fd369a" - integrity sha512-hL/eG8lrll1Qy1ezvkant+trihbGnaKaeEjj6Scyr3DN+RC7iQ5Rz84IeLERfAWDGo0HBSNAakczwgCilDXnWg== - dependencies: - array-back "^3.0.1" - find-replace "^3.0.0" - lodash.camelcase "^4.3.0" - typical "^4.0.0" - -command-line-commands@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/command-line-commands/-/command-line-commands-2.0.1.tgz#c58aa13dc78c06038ed67077e57ad09a6f858f46" - integrity sha512-m8c2p1DrNd2ruIAggxd/y6DgygQayf6r8RHwchhXryaLF8I6koYjoYroVP+emeROE9DXN5b9sP1Gh+WtvTTdtQ== - dependencies: - array-back "^2.0.0" - -command-line-usage@^5.0.5: - version "5.0.5" - resolved "https://registry.yarnpkg.com/command-line-usage/-/command-line-usage-5.0.5.tgz#5f25933ffe6dedd983c635d38a21d7e623fda357" - integrity sha512-d8NrGylA5oCXSbGoKz05FkehDAzSmIm4K03S5VDh4d5lZAtTWfc3D1RuETtuQCn8129nYfJfDdF7P/lwcz1BlA== - dependencies: - array-back "^2.0.0" - chalk "^2.4.1" - table-layout "^0.4.3" - typical "^2.6.1" - -commander@2.17.x: - version "2.17.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" - integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== - -commander@^2.19.0, commander@^2.20.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -commander@~2.19.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" - integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= - -compare-func@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648" - integrity sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg= - dependencies: - array-ify "^1.0.0" - dot-prop "^3.0.0" - -component-bind@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1" - integrity sha1-AMYIq33Nk4l8AAllGx06jh5zu9E= - -component-emitter@1.2.1, component-emitter@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" - integrity sha1-E3kY1teCg/ffemt8WmPhQOaUJeY= - -component-emitter@~1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== - -component-inherit@0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143" - integrity sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM= - -compress-commons@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-2.1.1.tgz#9410d9a534cf8435e3fbbb7c6ce48de2dc2f0610" - integrity sha512-eVw6n7CnEMFzc3duyFVrQEuY1BlHR3rYsSztyG32ibGMW722i3C6IizEGMFmfMU+A+fALvBIwxN3czffTcdA+Q== - dependencies: - buffer-crc32 "^0.2.13" - crc32-stream "^3.0.1" - normalize-path "^3.0.0" - readable-stream "^2.3.6" - -compressible@~2.0.16: - version "2.0.18" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" - integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== - dependencies: - mime-db ">= 1.43.0 < 2" - -compression@^1.6.2: - version "1.7.4" - resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" - integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== - dependencies: - accepts "~1.3.5" - bytes "3.0.0" - compressible "~2.0.16" - debug "2.6.9" - on-headers "~1.0.2" - safe-buffer "5.1.2" - vary "~1.1.2" - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= - -concat-stream@^1.4.7, concat-stream@^1.5.0, concat-stream@^1.5.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - -concat-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1" - integrity sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.0.2" - typedarray "^0.0.6" - -config-chain@^1.1.11: - version "1.1.12" - resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa" - integrity sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA== - dependencies: - ini "^1.3.4" - proto-list "~1.2.1" - -configstore@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/configstore/-/configstore-2.1.0.tgz#737a3a7036e9886102aa6099e47bb33ab1aba1a1" - integrity sha1-c3o6cDbpiGECqmCZ5HuzOrGroaE= - dependencies: - dot-prop "^3.0.0" - graceful-fs "^4.1.2" - mkdirp "^0.5.0" - object-assign "^4.0.1" - os-tmpdir "^1.0.0" - osenv "^0.1.0" - uuid "^2.0.1" - write-file-atomic "^1.1.2" - xdg-basedir "^2.0.0" - -configstore@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" - integrity sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw== - dependencies: - dot-prop "^4.1.0" - graceful-fs "^4.1.2" - make-dir "^1.0.0" - unique-string "^1.0.0" - write-file-atomic "^2.0.0" - xdg-basedir "^3.0.0" - -console-control-strings@^1.0.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= - -content-disposition@0.5.3: - version "0.5.3" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd" - integrity sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g== - dependencies: - safe-buffer "5.1.2" - -content-type@^1.0.2, content-type@^1.0.4, content-type@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== - -conventional-changelog-angular@^5.0.3: - version "5.0.3" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.3.tgz#299fdd43df5a1f095283ac16aeedfb0a682ecab0" - integrity sha512-YD1xzH7r9yXQte/HF9JBuEDfvjxxwDGGwZU1+ndanbY0oFgA+Po1T9JDSpPLdP0pZT6MhCAsdvFKC4TJ4MTJTA== - dependencies: - compare-func "^1.3.1" - q "^1.5.1" - -conventional-changelog-core@^3.1.6: - version "3.2.2" - resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-3.2.2.tgz#de41e6b4a71011a18bcee58e744f6f8f0e7c29c0" - integrity sha512-cssjAKajxaOX5LNAJLB+UOcoWjAIBvXtDMedv/58G+YEmAXMNfC16mmPl0JDOuVJVfIqM0nqQiZ8UCm8IXbE0g== - dependencies: - conventional-changelog-writer "^4.0.5" - conventional-commits-parser "^3.0.2" - dateformat "^3.0.0" - get-pkg-repo "^1.0.0" - git-raw-commits "2.0.0" - git-remote-origin-url "^2.0.0" - git-semver-tags "^2.0.2" - lodash "^4.2.1" - normalize-package-data "^2.3.5" - q "^1.5.1" - read-pkg "^3.0.0" - read-pkg-up "^3.0.0" - through2 "^3.0.0" - -conventional-changelog-preset-loader@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.1.1.tgz#65bb600547c56d5627d23135154bcd9a907668c4" - integrity sha512-K4avzGMLm5Xw0Ek/6eE3vdOXkqnpf9ydb68XYmCc16cJ99XMMbc2oaNMuPwAsxVK6CC1yA4/I90EhmWNj0Q6HA== - -conventional-changelog-writer@^4.0.5: - version "4.0.6" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.0.6.tgz#24db578ac8e7c89a409ef9bba12cf3c095990148" - integrity sha512-ou/sbrplJMM6KQpR5rKFYNVQYesFjN7WpNGdudQSWNi6X+RgyFUcSv871YBYkrUYV9EX8ijMohYVzn9RUb+4ag== - dependencies: - compare-func "^1.3.1" - conventional-commits-filter "^2.0.2" - dateformat "^3.0.0" - handlebars "^4.1.0" - json-stringify-safe "^5.0.1" - lodash "^4.2.1" - meow "^4.0.0" - semver "^6.0.0" - split "^1.0.0" - through2 "^3.0.0" - -conventional-commits-filter@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-2.0.2.tgz#f122f89fbcd5bb81e2af2fcac0254d062d1039c1" - integrity sha512-WpGKsMeXfs21m1zIw4s9H5sys2+9JccTzpN6toXtxhpw2VNF2JUXwIakthKBy+LN4DvJm+TzWhxOMWOs1OFCFQ== - dependencies: - lodash.ismatch "^4.4.0" - modify-values "^1.0.0" - -conventional-commits-parser@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.0.3.tgz#c3f972fd4e056aa8b9b4f5f3d0e540da18bf396d" - integrity sha512-KaA/2EeUkO4bKjinNfGUyqPTX/6w9JGshuQRik4r/wJz7rUw3+D3fDG6sZSEqJvKILzKXFQuFkpPLclcsAuZcg== - dependencies: - JSONStream "^1.0.4" - is-text-path "^2.0.0" - lodash "^4.2.1" - meow "^4.0.0" - split2 "^2.0.0" - through2 "^3.0.0" - trim-off-newlines "^1.0.0" - -conventional-recommended-bump@^4.0.4: - version "4.1.1" - resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-4.1.1.tgz#37014fadeda267d0607e2fc81124da840a585127" - integrity sha512-JT2vKfSP9kR18RXXf55BRY1O3AHG8FPg5btP3l7LYfcWJsiXI6MCf30DepQ98E8Qhowvgv7a8iev0J1bEDkTFA== - dependencies: - concat-stream "^2.0.0" - conventional-changelog-preset-loader "^2.1.1" - conventional-commits-filter "^2.0.2" - conventional-commits-parser "^3.0.2" - git-raw-commits "2.0.0" - git-semver-tags "^2.0.2" - meow "^4.0.0" - q "^1.5.1" - -convert-source-map@^1.1.1, convert-source-map@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" - integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== - dependencies: - safe-buffer "~5.1.1" - -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= - -cookie@0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" - integrity sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s= - -cookie@0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" - integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== - -copy-concurrently@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" - integrity sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A== - dependencies: - aproba "^1.1.1" - fs-write-stream-atomic "^1.0.8" - iferr "^0.1.5" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.0" - -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= - -core-js@^2.4.0: - version "2.6.11" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c" - integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg== - -core-util-is@1.0.2, core-util-is@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= - -cors@^2.8.4: - version "2.8.5" - resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" - integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== - dependencies: - object-assign "^4" - vary "^1" - -cosmiconfig@^5.1.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" - integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== - dependencies: - import-fresh "^2.0.0" - is-directory "^0.3.1" - js-yaml "^3.13.1" - parse-json "^4.0.0" - -crc32-stream@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-3.0.1.tgz#cae6eeed003b0e44d739d279de5ae63b171b4e85" - integrity sha512-mctvpXlbzsvK+6z8kJwSJ5crm7yBwrQMTybJzMw1O4lLGJqjlDCXY2Zw7KheiA6XBEcBmfLx1D88mjRGVJtY9w== - dependencies: - crc "^3.4.4" - readable-stream "^3.4.0" - -crc@^3.4.4: - version "3.8.0" - resolved "https://registry.yarnpkg.com/crc/-/crc-3.8.0.tgz#ad60269c2c856f8c299e2c4cc0de4556914056c6" - integrity sha512-iX3mfgcTMIq3ZKLIsVFAbv7+Mc10kxabAGQb8HvjA1o3T1PIYprbakQ65d3I+2HGHt6nSKkM9PYjgoJO2KcFBQ== - dependencies: - buffer "^5.1.0" - -create-error-class@^3.0.0, create-error-class@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" - integrity sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y= - dependencies: - capture-stack-trace "^1.0.0" - -cross-spawn@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" - integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= - dependencies: - lru-cache "^4.0.1" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^6.0.0, cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -crypt@~0.0.1: - version "0.0.2" - resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" - integrity sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs= - -crypto-random-string@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" - integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4= - -css-slam@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/css-slam/-/css-slam-2.1.2.tgz#3d35b1922cb3e0002a45c89ab189492508c493e5" - integrity sha512-cObrY+mhFEmepWpua6EpMrgRNTQ0eeym+kvR0lukI6hDEzK7F8himEDS4cJ9+fPHCoArTzVrrR0d+oAUbTR1NA== - dependencies: - command-line-args "^5.0.2" - command-line-usage "^5.0.5" - dom5 "^3.0.0" - parse5 "^4.0.0" - shady-css-parser "^0.1.0" - -css-what@^2.1.0: - version "2.1.3" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2" - integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg== - -cssbeautify@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/cssbeautify/-/cssbeautify-0.3.1.tgz#12dd1f734035c2e6faca67dcbdcef74e42811397" - integrity sha1-Et0fc0A1wub6ymfcvc73TkKBE5c= - -currently-unhandled@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea" - integrity sha1-mI3zP+qxke95mmE2nddsF635V+o= - dependencies: - array-find-index "^1.0.1" - -cyclist@~0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" - integrity sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA= - -dargs@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/dargs/-/dargs-4.1.0.tgz#03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17" - integrity sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc= - dependencies: - number-is-nan "^1.0.0" - -dargs@^6.0.0, dargs@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/dargs/-/dargs-6.1.0.tgz#1f3b9b56393ecf8caa7cbfd6c31496ffcfb9b272" - integrity sha512-5dVBvpBLBnPwSsYXqfybFyehMmC/EenKEcf23AhCTgTf48JFBbmJKqoZBsERDnjL0FyiVTYWdFsRfTLHxLyKdQ== - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= - dependencies: - assert-plus "^1.0.0" - -date-fns@^1.27.2, date-fns@^1.29.0: - version "1.30.1" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" - integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== - -date-fns@^2.0.1: - version "2.15.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.15.0.tgz#424de6b3778e4e69d3ff27046ec136af58ae5d5f" - integrity sha512-ZCPzAMJZn3rNUvvQIMlXhDr4A+Ar07eLeGsGREoWU19a3Pqf5oYa+ccd+B3F6XVtQY6HANMFdOQ8A+ipFnvJdQ== - -dateformat@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.2.0.tgz#4065e2013cf9fb916ddfd82efb506ad4c6769062" - integrity sha1-QGXiATz5+5Ft39gu+1Bq1MZ2kGI= - -dateformat@^3.0.0, dateformat@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" - integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== - -debug@2.6.9, debug@^2.0.0, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@3.1.0, debug@~3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" - integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== - dependencies: - ms "2.0.0" - -debug@4, debug@^4.1.0, debug@^4.1.1, debug@~4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== - dependencies: - ms "^2.1.1" - -debug@^3.1.0: - version "3.2.5" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.5.tgz#c2418fbfd7a29f4d4f70ff4cea604d4b64c46407" - integrity sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg== - dependencies: - ms "^2.1.1" - -debug@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.0.1.tgz#f9bb36d439b8d1f0dd52d8fb6b46e4ebb8c1cd5b" - integrity sha512-K23FHJ/Mt404FSlp6gSZCevIbTMLX0j3fmHhUEhQ3Wq0FMODW3+cUSoLdy1Gx4polAf4t/lphhmHH35BB8cLYw== - dependencies: - ms "^2.1.1" - -debuglog@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= - -decamelize-keys@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" - integrity sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk= - dependencies: - decamelize "^1.1.0" - map-obj "^1.0.0" - -decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= - -decode-uri-component@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" - integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= - -decompress-response@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M= - dependencies: - mimic-response "^1.0.0" - -dedent@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= - -deep-extend@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.5.1.tgz#b894a9dd90d3023fbf1c55a394fb858eb2066f1f" - integrity sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w== - -deep-extend@^0.6.0, deep-extend@~0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" - integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== - -deepmerge@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.0.0.tgz#3e3110ca29205f120d7cb064960a39c3d2087c09" - integrity sha512-YZ1rOP5+kHor4hMAH+HRQnBQHg+wvS1un1hAOuIcxcBy0hzcUf6Jg2a1w65kpoOUnurOfZbERwjI1TfZxNjcww== - -defaults@^1.0.0, defaults@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" - integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= - dependencies: - clone "^1.0.2" - -define-properties@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" - integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== - dependencies: - object-keys "^1.0.12" - -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY= - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha1-dp66rz9KY6rTr56NMEybvnm/sOY= - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== - dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" - -del@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/del/-/del-3.0.0.tgz#53ecf699ffcbcb39637691ab13baf160819766e5" - integrity sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU= - dependencies: - globby "^6.1.0" - is-path-cwd "^1.0.0" - is-path-in-cwd "^1.0.0" - p-map "^1.1.1" - pify "^3.0.0" - rimraf "^2.2.8" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= - -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= - -depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= - -deprecated@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/deprecated/-/deprecated-0.0.1.tgz#f9c9af5464afa1e7a971458a8bdef2aa94d5bb19" - integrity sha1-+cmvVGSvoeepcUWKi97yqpTVuxk= - -deprecation@^2.0.0, deprecation@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" - integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== - -destroy@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" - integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= - -detect-conflict@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/detect-conflict/-/detect-conflict-1.0.1.tgz#088657a66a961c05019db7c4230883b1c6b4176e" - integrity sha1-CIZXpmqWHAUBnbfEIwiDsca0F24= - -detect-file@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-0.1.0.tgz#4935dedfd9488648e006b0129566e9386711ea63" - integrity sha1-STXe39lIhkjgBrASlWbpOGcR6mM= - dependencies: - fs-exists-sync "^0.1.0" - -detect-file@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" - integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= - -detect-indent@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" - integrity sha1-920GQ1LN9Docts5hnE7jqUdd4gg= - dependencies: - repeating "^2.0.0" - -detect-indent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= - -detect-node@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c" - integrity sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw== - -dezalgo@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" - integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= - dependencies: - asap "^2.0.0" - wrappy "1" - -dicer@0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/dicer/-/dicer-0.2.5.tgz#5996c086bb33218c812c090bddc09cd12facb70f" - integrity sha1-WZbAhrszIYyBLAkL3cCc0S+stw8= - dependencies: - readable-stream "1.1.x" - streamsearch "0.1.2" - -diff@^2.1.2: - version "2.2.3" - resolved "https://registry.yarnpkg.com/diff/-/diff-2.2.3.tgz#60eafd0d28ee906e4e8ff0a52c1229521033bf99" - integrity sha1-YOr9DSjukG5Oj/ClLBIpUhAzv5k= - -diff@^3.1.0, diff@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" - integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== - -dir-glob@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034" - integrity sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag== - dependencies: - arrify "^1.0.1" - path-type "^3.0.0" - -dir-glob@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" - integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== - dependencies: - path-type "^3.0.0" - -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - -doctrine@^2.0.2: - version "2.1.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" - integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== - dependencies: - esutils "^2.0.2" - -dom-urls@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/dom-urls/-/dom-urls-1.1.0.tgz#001ddf81628cd1e706125c7176f53ccec55d918e" - integrity sha1-AB3fgWKM0ecGElxxdvU8zsVdkY4= - dependencies: - urijs "^1.16.1" - -dom5@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/dom5/-/dom5-3.0.1.tgz#cdfc7331f376e284bf379e6ea054afc136702944" - integrity sha512-JPFiouQIr16VQ4dX6i0+Hpbg3H2bMKPmZ+WZgBOSSvOPx9QHwwY8sPzeM2baUtViESYto6wC2nuZOMC/6gulcA== - dependencies: - "@types/parse5" "^2.2.34" - clone "^2.1.0" - parse5 "^4.0.0" - -dot-prop@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-3.0.0.tgz#1b708af094a49c9a0e7dbcad790aba539dac1177" - integrity sha1-G3CK8JSknJoOfbyteQq6U52sEXc= - dependencies: - is-obj "^1.0.0" - -dot-prop@^4.1.0, dot-prop@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" - integrity sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ== - dependencies: - is-obj "^1.0.0" - -duplexer2@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" - integrity sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds= - dependencies: - readable-stream "~1.1.9" - -duplexer2@^0.1.2, duplexer2@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" - integrity sha1-ixLauHjA1p4+eJEFFmKjL8a93ME= - dependencies: - readable-stream "^2.0.2" - -duplexer3@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" - integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= - -duplexer@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" - integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E= - -duplexify@^3.2.0, duplexify@^3.4.2, duplexify@^3.5.0, duplexify@^3.6.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" - integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== - dependencies: - end-of-stream "^1.0.0" - inherits "^2.0.1" - readable-stream "^2.0.0" - stream-shift "^1.0.0" - -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - -editions@^2.1.2, editions@^2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/editions/-/editions-2.1.3.tgz#727ccf3ec2c7b12dcc652c71000f16c4824d6f7d" - integrity sha512-xDZyVm0A4nLgMNWVVLJvcwMjI80ShiH/27RyLiCnW1L273TcJIA25C4pwJ33AWV01OX6UriP35Xu+lH4S7HWQw== - dependencies: - errlop "^1.1.1" - semver "^5.6.0" - -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= - -ejs@^2.5.9, ejs@^2.6.1: - version "2.6.2" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.6.2.tgz#3a32c63d1cd16d11266cd4703b14fec4e74ab4f6" - integrity sha512-PcW2a0tyTuPHz3tWyYqtK6r1fZ3gp+3Sop8Ph+ZYN81Ob5rwmbHEzaqs10N3BEsaGTkh/ooniXK+WwszGlc2+Q== - -elegant-spinner@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" - integrity sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4= - -emitter-component@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/emitter-component/-/emitter-component-1.1.1.tgz#065e2dbed6959bf470679edabeaf7981d1003ab6" - integrity sha1-Bl4tvtaVm/RwZ57avq95gdEAOrY= - -"emoji-regex@>=6.0.0 <=6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-6.1.1.tgz#c6cd0ec1b0642e2a3c67a1137efc5e796da4f88e" - integrity sha1-xs0OwbBkLio8Z6ETfvxeeW2k+I4= - -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -enabled@2.0.x: - version "2.0.0" - resolved "https://registry.yarnpkg.com/enabled/-/enabled-2.0.0.tgz#f9dd92ec2d6f4bbc0d5d1e64e21d61cd4665e7c2" - integrity sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ== - -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= - -encoding@^0.1.11: - version "0.1.12" - resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" - integrity sha1-U4tm8+5izRq1HsMjgp0flIDHS+s= - dependencies: - iconv-lite "~0.4.13" - -end-of-stream@^1.0.0, end-of-stream@^1.1.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" - integrity sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q== - dependencies: - once "^1.4.0" - -end-of-stream@^1.4.1: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -end-of-stream@~0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-0.1.5.tgz#8e177206c3c80837d85632e8b9359dfe8b2f6eaf" - integrity sha1-jhdyBsPICDfYVjLouTWd/osvbq8= - dependencies: - once "~1.3.0" - -ends-with@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/ends-with/-/ends-with-0.2.0.tgz#2f9da98d57a50cfda4571ce4339000500f4e6b8a" - integrity sha1-L52pjVelDP2kVxzkM5AAUA9Oa4o= - -engine.io-client@~3.4.0: - version "3.4.3" - resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-3.4.3.tgz#192d09865403e3097e3575ebfeb3861c4d01a66c" - integrity sha512-0NGY+9hioejTEJCaSJZfWZLk4FPI9dN+1H1C4+wj2iuFba47UgZbJzfWs4aNFajnX/qAaYKbe2lLTfEEWzCmcw== - dependencies: - component-emitter "~1.3.0" - component-inherit "0.0.3" - debug "~4.1.0" - engine.io-parser "~2.2.0" - has-cors "1.1.0" - indexof "0.0.1" - parseqs "0.0.5" - parseuri "0.0.5" - ws "~6.1.0" - xmlhttprequest-ssl "~1.5.4" - yeast "0.1.2" - -engine.io-parser@~2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-2.2.0.tgz#312c4894f57d52a02b420868da7b5c1c84af80ed" - integrity sha512-6I3qD9iUxotsC5HEMuuGsKA0cXerGz+4uGcXQEkfBidgKf0amsjrrtwcbwK/nzpZBxclXlV7gGl9dgWvu4LF6w== - dependencies: - after "0.8.2" - arraybuffer.slice "~0.0.7" - base64-arraybuffer "0.1.5" - blob "0.0.5" - has-binary2 "~1.0.2" - -engine.io@~3.4.0: - version "3.4.2" - resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.4.2.tgz#8fc84ee00388e3e228645e0a7d3dfaeed5bd122c" - integrity sha512-b4Q85dFkGw+TqgytGPrGgACRUhsdKc9S9ErRAXpPGy/CXKs4tYoHDkvIRdsseAF7NjfVwjRFIn6KTnbw7LwJZg== - dependencies: - accepts "~1.3.4" - base64id "2.0.0" - cookie "0.3.1" - debug "~4.1.0" - engine.io-parser "~2.2.0" - ws "^7.1.2" - -err-code@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" - integrity sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA= - -errlop@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/errlop/-/errlop-1.1.1.tgz#d9ae4c76c3e64956c5d79e6e035d6343bfd62250" - integrity sha512-WX7QjiPHhsny7/PQvrhS5VMizXXKoKCS3udaBp8gjlARdbn+XmK300eKBAAN0hGyRaTCtRpOaxK+xFVPUJ3zkw== - dependencies: - editions "^2.1.2" - -error-ex@^1.2.0, error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - -error@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/error/-/error-7.0.2.tgz#a5f75fff4d9926126ddac0ea5dc38e689153cb02" - integrity sha1-pfdf/02ZJhJt2sDqXcOOaJFTywI= - dependencies: - string-template "~0.2.1" - xtend "~4.0.0" - -es-abstract@^1.5.1: - version "1.13.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9" - integrity sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg== - dependencies: - es-to-primitive "^1.2.0" - function-bind "^1.1.1" - has "^1.0.3" - is-callable "^1.1.4" - is-regex "^1.0.4" - object-keys "^1.0.12" - -es-to-primitive@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" - integrity sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - -es6-promise@^4.0.3, es6-promise@^4.0.5: - version "4.2.8" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" - integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== - -es6-promisify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" - integrity sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM= - dependencies: - es6-promise "^4.0.3" - -es6-promisify@^6.0.0: - version "6.1.1" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-6.1.1.tgz#46837651b7b06bf6fff893d03f29393668d01621" - integrity sha512-HBL8I3mIki5C1Cc9QjKUenHtnG0A5/xA8Q/AllRcfiwl2CZFXGK7ddBiCoRwAix4i2KxcQfjtIVcrVbB3vbmwg== - -escape-html@^1.0.3, escape-html@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= - -escape-string-regexp@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - -escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.4, escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= - -espree@^3.5.2: - version "3.5.4" - resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" - integrity sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A== - dependencies: - acorn "^5.5.0" - acorn-jsx "^3.0.0" - -esprima@^4.0.0, esprima@~4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esutils@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" - integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs= - -etag@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= - -eventemitter3@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" - integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== - -eventemitter3@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.4.tgz#b5463ace635a083d018bdc7c917b4c5f10a85384" - integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ== - -execa@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50" - integrity sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw== - dependencies: - cross-spawn "^6.0.0" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -execa@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" - integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c= - dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -exit-hook@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" - integrity sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g= - -expand-brackets@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" - integrity sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s= - dependencies: - is-posix-bracket "^0.1.0" - -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha1-t3c14xXOMPa27/D4OwQVGiJEliI= - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -expand-range@^1.8.1: - version "1.8.2" - resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" - integrity sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc= - dependencies: - fill-range "^2.1.0" - -expand-tilde@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-1.2.2.tgz#0b81eba897e5a3d31d1c3d102f8f01441e559449" - integrity sha1-C4HrqJflo9MdHD0QL48BRB5VlEk= - dependencies: - os-homedir "^1.0.1" - -expand-tilde@^2.0.0, expand-tilde@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" - integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= - dependencies: - homedir-polyfill "^1.0.1" - -express@^4.15.3, express@^4.8.5: - version "4.17.1" - resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134" - integrity sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g== - dependencies: - accepts "~1.3.7" - array-flatten "1.1.1" - body-parser "1.19.0" - content-disposition "0.5.3" - content-type "~1.0.4" - cookie "0.4.0" - cookie-signature "1.0.6" - debug "2.6.9" - depd "~1.1.2" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "~1.1.2" - fresh "0.5.2" - merge-descriptors "1.0.1" - methods "~1.1.2" - on-finished "~2.3.0" - parseurl "~1.3.3" - path-to-regexp "0.1.7" - proxy-addr "~2.0.5" - qs "6.7.0" - range-parser "~1.2.1" - safe-buffer "5.1.2" - send "0.17.1" - serve-static "1.14.1" - setprototypeof "1.1.1" - statuses "~1.5.0" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - -ext-list@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/ext-list/-/ext-list-2.2.2.tgz#0b98e64ed82f5acf0f2931babf69212ef52ddd37" - integrity sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA== - dependencies: - mime-db "^1.28.0" - -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8= - dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg= - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" - -extend@^3.0.0, extend@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -external-editor@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-1.1.1.tgz#12d7b0db850f7ff7e7081baf4005700060c4600b" - integrity sha1-Etew24UPf/fnCBuvQAVwAGDEYAs= - dependencies: - extend "^3.0.0" - spawn-sync "^1.0.15" - tmp "^0.0.29" - -external-editor@^3.0.3: - version "3.1.0" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" - integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - -extglob@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" - integrity sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE= - dependencies: - is-extglob "^1.0.0" - -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -extract-stack@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/extract-stack/-/extract-stack-1.0.0.tgz#b97acaf9441eea2332529624b732fc5a1c8165fa" - integrity sha1-uXrK+UQe6iMyUpYktzL8WhyBZfo= - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= - -extsprintf@^1.2.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" - integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= - -fancy-log@^1.1.0: - version "1.3.3" - resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.3.tgz#dbc19154f558690150a23953a0adbd035be45fc7" - integrity sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw== - dependencies: - ansi-gray "^0.1.1" - color-support "^1.1.3" - parse-node-version "^1.0.0" - time-stamp "^1.0.0" - -fancy-test@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-1.4.3.tgz#c08123504cc48a6dce15ac08a916d6f3e91209af" - integrity sha512-Lt3mcQ0jn9Kg9JDmobVb4ZANiyT4e2VC5qbQvuzJVNYXyKjSgFWKn7bZN4BKei33v5jYWx28KlbDgsxuqnBRvg== - dependencies: - "@types/chai" "*" - "@types/lodash" "*" - "@types/mocha" "*" - "@types/nock" "*" - "@types/node" "*" - "@types/sinon" "*" - lodash "^4.17.11" - mock-stdin "^0.3.1" - stdout-stderr "^0.1.9" - -fast-deep-equal@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" - integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= - -fast-glob@^2.0.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.2.tgz#71723338ac9b4e0e2fff1d6748a2a13d5ed352bf" - integrity sha512-TR6zxCKftDQnUAPvkrCWdBgDq/gbqx8A3ApnBrR5rMvpp6+KMJI0Igw7fkWPgeVK0uhRXTXdvO3O+YP0CaUX2g== - dependencies: - "@mrmlnc/readdir-enhanced" "^2.2.1" - "@nodelib/fs.stat" "^1.0.1" - glob-parent "^3.1.0" - is-glob "^4.0.0" - merge2 "^1.2.1" - micromatch "^3.1.10" - -fast-glob@^2.2.6: - version "2.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" - integrity sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw== - dependencies: - "@mrmlnc/readdir-enhanced" "^2.2.1" - "@nodelib/fs.stat" "^1.1.2" - glob-parent "^3.1.0" - is-glob "^4.0.0" - merge2 "^1.2.3" - micromatch "^3.1.10" - -fast-glob@^3.0.3: - version "3.0.4" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.0.4.tgz#d484a41005cb6faeb399b951fd1bd70ddaebb602" - integrity sha512-wkIbV6qg37xTJwqSsdnIphL1e+LaGz4AIQqr00mIubMaEhv1/HEmJ0uuCGZRNRUkZZmOB5mJKO0ZUTVq+SxMQg== - dependencies: - "@nodelib/fs.stat" "^2.0.1" - "@nodelib/fs.walk" "^1.2.1" - glob-parent "^5.0.0" - is-glob "^4.0.1" - merge2 "^1.2.3" - micromatch "^4.0.2" - -fast-glob@^3.1.1: - version "3.2.4" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" - integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.0" - merge2 "^1.3.0" - micromatch "^4.0.2" - picomatch "^2.2.1" - -fast-json-stable-stringify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" - integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= - -fast-levenshtein@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= - -fast-safe-stringify@^2.0.4: - version "2.0.7" - resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz#124aa885899261f68aedb42a7c080de9da608743" - integrity sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA== - -fastq@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.6.0.tgz#4ec8a38f4ac25f21492673adb7eae9cfef47d1c2" - integrity sha512-jmxqQ3Z/nXoeyDmWAzF9kH1aGZSis6e/SbfPmJpUnyZ0ogr6iscHQaml4wsEepEWSdtmpy+eVXmCRIMpxaXqOA== - dependencies: - reusify "^1.0.0" - -fd-slicer@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" - integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4= - dependencies: - pend "~1.2.0" - -fecha@^2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/fecha/-/fecha-2.3.3.tgz#948e74157df1a32fd1b12c3a3c3cdcb6ec9d96cd" - integrity sha512-lUGBnIamTAwk4znq5BcqsDaxSmZ9nDVJaij6NvRt/Tg4R69gERA+otPKbS86ROw9nxVMw2/mp1fnaiWqbs6Sdg== - -fecha@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.0.tgz#3ffb6395453e3f3efff850404f0a59b6747f5f41" - integrity sha512-aN3pcx/DSmtyoovUudctc8+6Hl4T+hI9GBBHLjA76jdZl7+b1sgh5g4k+u/GL3dTy1/pnYzKp69FpJ0OicE3Wg== - -figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: - version "3.5.1" - resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" - integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== - -figures@^1.3.5, figures@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" - integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4= - dependencies: - escape-string-regexp "^1.0.5" - object-assign "^4.1.0" - -figures@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= - dependencies: - escape-string-regexp "^1.0.5" - -figures@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== - dependencies: - escape-string-regexp "^1.0.5" - -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== - -filename-regex@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" - integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY= - -fill-range@^2.1.0: - version "2.2.4" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.4.tgz#eb1e773abb056dcd8df2bfdf6af59b8b3a936565" - integrity sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q== - dependencies: - is-number "^2.1.0" - isobject "^2.0.0" - randomatic "^3.0.0" - repeat-element "^1.1.2" - repeat-string "^1.5.2" - -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc= - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -filled-array@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/filled-array/-/filled-array-1.1.0.tgz#c3c4f6c663b923459a9aa29912d2d031f1507f84" - integrity sha1-w8T2xmO5I0WamqKZEtLQMfFQf4Q= - -finalhandler@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" - integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== - dependencies: - debug "2.6.9" - encodeurl "~1.0.2" - escape-html "~1.0.3" - on-finished "~2.3.0" - parseurl "~1.3.3" - statuses "~1.5.0" - unpipe "~1.0.0" - -find-index@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/find-index/-/find-index-0.1.1.tgz#675d358b2ca3892d795a1ab47232f8b6e2e0dde4" - integrity sha1-Z101iyyjiS15Whq0cjL4tuLg3eQ= - -find-port@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/find-port/-/find-port-1.0.1.tgz#db084a6cbf99564d99869ae79fbdecf66e8a185c" - integrity sha1-2whKbL+ZVk2Zhprnn73s9m6KGFw= - dependencies: - async "~0.2.9" - -find-replace@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-replace/-/find-replace-3.0.0.tgz#3e7e23d3b05167a76f770c9fbd5258b0def68c38" - integrity sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ== - dependencies: - array-back "^3.0.1" - -find-up@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" - integrity sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8= - dependencies: - path-exists "^2.0.0" - pinkie-promise "^2.0.0" - -find-up@^2.0.0, find-up@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= - dependencies: - locate-path "^2.0.0" - -find-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== - dependencies: - locate-path "^3.0.0" - -findup-sync@^0.4.2: - version "0.4.3" - resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.4.3.tgz#40043929e7bc60adf0b7f4827c4c6e75a0deca12" - integrity sha1-QAQ5Kee8YK3wt/SCfExudaDeyhI= - dependencies: - detect-file "^0.1.0" - is-glob "^2.0.1" - micromatch "^2.3.7" - resolve-dir "^0.1.0" - -findup-sync@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-2.0.0.tgz#9326b1488c22d1a6088650a86901b2d9a90a2cbc" - integrity sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw= - dependencies: - detect-file "^1.0.0" - is-glob "^3.1.0" - micromatch "^3.0.4" - resolve-dir "^1.0.1" - -fined@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fined/-/fined-1.2.0.tgz#d00beccf1aa2b475d16d423b0238b713a2c4a37b" - integrity sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng== - dependencies: - expand-tilde "^2.0.2" - is-plain-object "^2.0.3" - object.defaults "^1.1.0" - object.pick "^1.2.0" - parse-filepath "^1.0.1" - -first-chunk-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz#59bfb50cd905f60d7c394cd3d9acaab4e6ad934e" - integrity sha1-Wb+1DNkF9g18OUzT2ayqtOatk04= - -first-chunk-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz#1bdecdb8e083c0664b91945581577a43a9f31d70" - integrity sha1-G97NuOCDwGZLkZRVgVd6Q6nzHXA= - dependencies: - readable-stream "^2.0.2" - -flagged-respawn@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/flagged-respawn/-/flagged-respawn-1.0.1.tgz#e7de6f1279ddd9ca9aac8a5971d618606b3aab41" - integrity sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q== - -flush-write-stream@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" - integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== - dependencies: - inherits "^2.0.3" - readable-stream "^2.3.6" - -fn.name@1.x.x: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fn.name/-/fn.name-1.1.0.tgz#26cad8017967aea8731bc42961d04a3d5988accc" - integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw== - -follow-redirects@^1.0.0: - version "1.12.1" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.12.1.tgz#de54a6205311b93d60398ebc01cf7015682312b6" - integrity sha512-tmRv0AVuR7ZyouUHLeNSiO6pqulF7dYa3s19c6t+wz9LD69/uSzdMxJ2S91nTI9U3rt/IldxpzMOFejp6f0hjg== - -for-in@^1.0.1, for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= - -for-own@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" - integrity sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4= - dependencies: - for-in "^1.0.1" - -for-own@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b" - integrity sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs= - dependencies: - for-in "^1.0.1" - -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= - -fork-stream@^0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/fork-stream/-/fork-stream-0.0.4.tgz#db849fce77f6708a5f8f386ae533a0907b54ae70" - integrity sha1-24Sfznf2cIpfjzhq5TOgkHtUrnA= - -form-data@*: - version "3.0.0" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.0.tgz#31b7e39c85f1355b7139ee0c647cf0de7f83c682" - integrity sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" - -formatio@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/formatio/-/formatio-1.2.0.tgz#f3b2167d9068c4698a8d51f4f760a39a54d818eb" - integrity sha1-87IWfZBoxGmKjVH092CjmlTYGOs= - dependencies: - samsam "1.x" - -forwarded@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" - integrity sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ= - -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk= - dependencies: - map-cache "^0.2.2" - -freeport@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/freeport/-/freeport-1.0.5.tgz#255e8ab84170c33ba85d990e821ae5f4a1a9bc5d" - integrity sha1-JV6KuEFwwzuoXZkOghrl9KGpvF0= - -fresh@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= - -from2@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8= - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - -fs-exists-sync@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz#982d6893af918e72d08dec9e8673ff2b5a8d6add" - integrity sha1-mC1ok6+RjnLQjeyehnP/K1qNat0= - -fs-extra@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-6.0.1.tgz#8abc128f7946e310135ddc93b98bddb410e7a34b" - integrity sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.0.tgz#8cc3f47ce07ef7b3593a11b9fb245f7e34c041d6" - integrity sha512-EglNDLRpmaTWiD/qraZn6HREAEAHJcJOmxNEYwq6xeMKnVMAy3GUcFB+wXt2C6k4CNvB/mP1y/U3dzvKKj5OtQ== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc" - integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ== - dependencies: - at-least-node "^1.0.0" - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^1.0.0" - -fs-minipass@^1.2.5: - version "1.2.6" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.6.tgz#2c5cc30ded81282bfe8a0d7c7c1853ddeb102c07" - integrity sha512-crhvyXcMejjv3Z5d2Fa9sf5xLYVCF5O1c71QxbVnbLsmYMBEvDAftewesN/HhY03YRoA7zOMxjNGrF5svGaaeQ== - dependencies: - minipass "^2.2.1" - -fs-write-stream-atomic@^1.0.8: - version "1.0.10" - resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" - integrity sha1-tH31NJPvkR33VzHnCp3tAYnbQMk= - dependencies: - graceful-fs "^4.1.2" - iferr "^0.1.5" - imurmurhash "^0.1.4" - readable-stream "1 || 2" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= - -fsevents@^1.0.0: - version "1.2.13" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38" - integrity sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw== - dependencies: - bindings "^1.5.0" - nan "^2.12.1" - -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== - -fuse.js@^3.4.2: - version "3.4.5" - resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.4.5.tgz#8954fb43f9729bd5dbcb8c08f251db552595a7a6" - integrity sha512-s9PGTaQIkT69HaeoTVjwGsLfb8V8ScJLx5XGFcKHg0MqLUH/UZ4EKOtqtXX9k7AFqCGxD1aJmYb8Q5VYDibVRQ== - -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - -gaze@^0.5.1: - version "0.5.2" - resolved "https://registry.yarnpkg.com/gaze/-/gaze-0.5.2.tgz#40b709537d24d1d45767db5a908689dfe69ac44f" - integrity sha1-QLcJU30k0dRXZ9takIaJ3+aaxE8= - dependencies: - globule "~0.1.0" - -genfun@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" - integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== - -gensync@^1.0.0-beta.1: - version "1.0.0-beta.1" - resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" - integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== - -get-caller-file@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" - integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== - -get-pkg-repo@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d" - integrity sha1-xztInAbYDMVTbCyFP54FIyBWly0= - dependencies: - hosted-git-info "^2.1.4" - meow "^3.3.0" - normalize-package-data "^2.3.0" - parse-github-repo-url "^1.3.0" - through2 "^2.0.0" - -get-port@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/get-port/-/get-port-3.2.0.tgz#dd7ce7de187c06c8bf353796ac71e099f0980ebc" - integrity sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw= - -get-stdin@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" - integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4= - -get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" - integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= - -get-stream@^4.0.0, get-stream@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= - dependencies: - assert-plus "^1.0.0" - -gh-got@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/gh-got/-/gh-got-5.0.0.tgz#ee95be37106fd8748a96f8d1db4baea89e1bfa8a" - integrity sha1-7pW+NxBv2HSKlvjR20uuqJ4b+oo= - dependencies: - got "^6.2.0" - is-plain-obj "^1.1.0" - -gh-got@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/gh-got/-/gh-got-6.0.0.tgz#d74353004c6ec466647520a10bd46f7299d268d0" - integrity sha512-F/mS+fsWQMo1zfgG9MD8KWvTWPPzzhuVwY++fhQ5Ggd+0P+CAMHtzMZhNxG+TqGfHDChJKsbh6otfMGqO2AKBw== - dependencies: - got "^7.0.0" - is-plain-obj "^1.1.0" - -git-raw-commits@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.0.tgz#d92addf74440c14bcc5c83ecce3fb7f8a79118b5" - integrity sha512-w4jFEJFgKXMQJ0H0ikBk2S+4KP2VEjhCvLCNqbNRQC8BgGWgLKNCO7a9K9LI+TVT7Gfoloje502sEnctibffgg== - dependencies: - dargs "^4.0.1" - lodash.template "^4.0.2" - meow "^4.0.0" - split2 "^2.0.0" - through2 "^2.0.0" - -git-remote-origin-url@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" - integrity sha1-UoJlna4hBxRaERJhEq0yFuxfpl8= - dependencies: - gitconfiglocal "^1.0.0" - pify "^2.3.0" - -git-semver-tags@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-2.0.2.tgz#f506ec07caade191ac0c8d5a21bdb8131b4934e3" - integrity sha512-34lMF7Yo1xEmsK2EkbArdoU79umpvm0MfzaDkSNYSJqtM5QLAVTPWgpiXSVI5o/O9EvZPSrP4Zvnec/CqhSd5w== - dependencies: - meow "^4.0.0" - semver "^5.5.0" - -git-up@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/git-up/-/git-up-4.0.1.tgz#cb2ef086653640e721d2042fe3104857d89007c0" - integrity sha512-LFTZZrBlrCrGCG07/dm1aCjjpL1z9L3+5aEeI9SBhAqSc+kiA9Or1bgZhQFNppJX6h/f5McrvJt1mQXTFm6Qrw== - dependencies: - is-ssh "^1.3.0" - parse-url "^5.0.0" - -git-url-parse@^11.1.2: - version "11.1.2" - resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-11.1.2.tgz#aff1a897c36cc93699270587bea3dbcbbb95de67" - integrity sha512-gZeLVGY8QVKMIkckncX+iCq2/L8PlwncvDFKiWkBn9EtCfYDbliRTTp6qzyQ1VMdITUfq7293zDzfpjdiGASSQ== - dependencies: - git-up "^4.0.0" - -gitconfiglocal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" - integrity sha1-QdBF84UaXqiPA/JMocYXgRRGS5s= - dependencies: - ini "^1.3.2" - -github-slugger@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.2.1.tgz#47e904e70bf2dccd0014748142d31126cfd49508" - integrity sha512-SsZUjg/P03KPzQBt7OxJPasGw6NRO5uOgiZ5RGXVud5iSIZ0eNZeNp5rTwCxtavrRUa/A77j8mePVc5lEvk0KQ== - dependencies: - emoji-regex ">=6.0.0 <=6.1.1" - -github-username@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/github-username/-/github-username-3.0.0.tgz#0a772219b3130743429f2456d0bdd3db55dce7b1" - integrity sha1-CnciGbMTB0NCnyRW0L3T21Xc57E= - dependencies: - gh-got "^5.0.0" - -github-username@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/github-username/-/github-username-4.1.0.tgz#cbe280041883206da4212ae9e4b5f169c30bf417" - integrity sha1-y+KABBiDIG2kISrp5LXxacML9Bc= - dependencies: - gh-got "^6.0.0" - -glob-base@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" - integrity sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q= - dependencies: - glob-parent "^2.0.0" - is-glob "^2.0.0" - -glob-parent@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" - integrity sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg= - dependencies: - is-glob "^2.0.0" - -glob-parent@^3.0.0, glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4= - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - -glob-parent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.0.0.tgz#1dc99f0f39b006d3e92c2c284068382f0c20e954" - integrity sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg== - dependencies: - is-glob "^4.0.1" - -glob-parent@^5.1.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229" - integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ== - dependencies: - is-glob "^4.0.1" - -glob-stream@^3.1.5: - version "3.1.18" - resolved "https://registry.yarnpkg.com/glob-stream/-/glob-stream-3.1.18.tgz#9170a5f12b790306fdfe598f313f8f7954fd143b" - integrity sha1-kXCl8St5Awb9/lmPMT+PeVT9FDs= - dependencies: - glob "^4.3.1" - glob2base "^0.0.12" - minimatch "^2.0.1" - ordered-read-streams "^0.1.0" - through2 "^0.6.1" - unique-stream "^1.0.0" - -glob-stream@^5.3.2: - version "5.3.5" - resolved "https://registry.yarnpkg.com/glob-stream/-/glob-stream-5.3.5.tgz#a55665a9a8ccdc41915a87c701e32d4e016fad22" - integrity sha1-pVZlqajM3EGRWofHAeMtTgFvrSI= - dependencies: - extend "^3.0.0" - glob "^5.0.3" - glob-parent "^3.0.0" - micromatch "^2.3.7" - ordered-read-streams "^0.3.0" - through2 "^0.6.0" - to-absolute-glob "^0.1.1" - unique-stream "^2.0.2" - -glob-to-regexp@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" - integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= - -glob-watcher@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/glob-watcher/-/glob-watcher-0.0.6.tgz#b95b4a8df74b39c83298b0c05c978b4d9a3b710b" - integrity sha1-uVtKjfdLOcgymLDAXJeLTZo7cQs= - dependencies: - gaze "^0.5.1" - -glob2base@^0.0.12: - version "0.0.12" - resolved "https://registry.yarnpkg.com/glob2base/-/glob2base-0.0.12.tgz#9d419b3e28f12e83a362164a277055922c9c0d56" - integrity sha1-nUGbPijxLoOjYhZKJ3BVkiycDVY= - dependencies: - find-index "^0.1.1" - -glob@^4.3.1: - version "4.5.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-4.5.3.tgz#c6cb73d3226c1efef04de3c56d012f03377ee15f" - integrity sha1-xstz0yJsHv7wTePFbQEvAzd+4V8= - dependencies: - inflight "^1.0.4" - inherits "2" - minimatch "^2.0.1" - once "^1.3.0" - -glob@^5.0.3: - version "5.0.15" - resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" - integrity sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E= - dependencies: - inflight "^1.0.4" - inherits "2" - minimatch "2 || 3" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^6.0.1: - version "6.0.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" - integrity sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI= - dependencies: - inflight "^1.0.4" - inherits "2" - minimatch "2 || 3" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.0.0, glob@^7.0.3, glob@^7.1.3, glob@^7.1.4: - version "7.1.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" - integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.0.5, glob@^7.1.1, glob@^7.1.2: - version "7.1.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" - integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@~3.1.21: - version "3.1.21" - resolved "https://registry.yarnpkg.com/glob/-/glob-3.1.21.tgz#d29e0a055dea5138f4d07ed40e8982e83c2066cd" - integrity sha1-0p4KBV3qUTj00H7UDomC6DwgZs0= - dependencies: - graceful-fs "~1.2.0" - inherits "1" - minimatch "~0.2.11" - -global-dirs@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" - integrity sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU= - dependencies: - ini "^1.3.4" - -global-modules@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-0.2.3.tgz#ea5a3bed42c6d6ce995a4f8a1269b5dae223828d" - integrity sha1-6lo77ULG1s6ZWk+KEmm12uIjgo0= - dependencies: - global-prefix "^0.1.4" - is-windows "^0.2.0" - -global-modules@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" - integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== - dependencies: - global-prefix "^1.0.1" - is-windows "^1.0.1" - resolve-dir "^1.0.0" - -global-prefix@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-0.1.5.tgz#8d3bc6b8da3ca8112a160d8d496ff0462bfef78f" - integrity sha1-jTvGuNo8qBEqFg2NSW/wRiv+948= - dependencies: - homedir-polyfill "^1.0.0" - ini "^1.3.4" - is-windows "^0.2.0" - which "^1.2.12" - -global-prefix@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" - integrity sha1-2/dDxsFJklk8ZVVoy2btMsASLr4= - dependencies: - expand-tilde "^2.0.2" - homedir-polyfill "^1.0.1" - ini "^1.3.4" - is-windows "^1.0.1" - which "^1.2.14" - -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -globals@^9.18.0: - version "9.18.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" - integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ== - -globby@10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.1.tgz#4782c34cb75dd683351335c5829cc3420e606b22" - integrity sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A== - dependencies: - "@types/glob" "^7.1.1" - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.0.3" - glob "^7.1.3" - ignore "^5.1.1" - merge2 "^1.2.3" - slash "^3.0.0" - -globby@^11.0.1: - version "11.0.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357" - integrity sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.1.1" - ignore "^5.1.4" - merge2 "^1.3.0" - slash "^3.0.0" - -globby@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-4.1.0.tgz#080f54549ec1b82a6c60e631fc82e1211dbe95f8" - integrity sha1-CA9UVJ7BuCpsYOYx/ILhIR2+lfg= - dependencies: - array-union "^1.0.1" - arrify "^1.0.0" - glob "^6.0.1" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -globby@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" - integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= - dependencies: - array-union "^1.0.1" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -globby@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.1.tgz#b5ad48b8aa80b35b814fc1281ecc851f1d2b5b50" - integrity sha512-oMrYrJERnKBLXNLVTqhm3vPEdJ/b2ZE28xN4YARiix1NOIOBPEpOUnm844K1iu/BkphCaf2WNFwMszv8Soi1pw== - dependencies: - array-union "^1.0.1" - dir-glob "^2.0.0" - fast-glob "^2.0.2" - glob "^7.1.2" - ignore "^3.3.5" - pify "^3.0.0" - slash "^1.0.0" - -globby@^9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" - integrity sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg== - dependencies: - "@types/glob" "^7.1.1" - array-union "^1.0.2" - dir-glob "^2.2.2" - fast-glob "^2.2.6" - glob "^7.1.3" - ignore "^4.0.3" - pify "^4.0.1" - slash "^2.0.0" - -globule@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/globule/-/globule-0.1.0.tgz#d9c8edde1da79d125a151b79533b978676346ae5" - integrity sha1-2cjt3h2nnRJaFRt5UzuXhnY0auU= - dependencies: - glob "~3.1.21" - lodash "~1.0.1" - minimatch "~0.2.11" - -glogg@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/glogg/-/glogg-1.0.2.tgz#2d7dd702beda22eb3bffadf880696da6d846313f" - integrity sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA== - dependencies: - sparkles "^1.0.0" - -got@^5.0.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/got/-/got-5.7.1.tgz#5f81635a61e4a6589f180569ea4e381680a51f35" - integrity sha1-X4FjWmHkplifGAVp6k44FoClHzU= - dependencies: - create-error-class "^3.0.1" - duplexer2 "^0.1.4" - is-redirect "^1.0.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - lowercase-keys "^1.0.0" - node-status-codes "^1.0.0" - object-assign "^4.0.1" - parse-json "^2.1.0" - pinkie-promise "^2.0.0" - read-all-stream "^3.0.0" - readable-stream "^2.0.5" - timed-out "^3.0.0" - unzip-response "^1.0.2" - url-parse-lax "^1.0.0" - -got@^6.2.0, got@^6.7.1: - version "6.7.1" - resolved "https://registry.yarnpkg.com/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" - integrity sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA= - dependencies: - create-error-class "^3.0.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-redirect "^1.0.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - lowercase-keys "^1.0.0" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - unzip-response "^2.0.1" - url-parse-lax "^1.0.0" - -got@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/got/-/got-7.1.0.tgz#05450fd84094e6bbea56f451a43a9c289166385a" - integrity sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw== - dependencies: - decompress-response "^3.2.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-plain-obj "^1.1.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - p-cancelable "^0.3.0" - p-timeout "^1.1.1" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - url-parse-lax "^1.0.0" - url-to-options "^1.0.1" - -graceful-fs@^3.0.0: - version "3.0.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-3.0.11.tgz#7613c778a1afea62f25c630a086d7f3acbbdd818" - integrity sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg= - dependencies: - natives "^1.1.0" - -graceful-fs@^4.0.0, graceful-fs@^4.1.3, graceful-fs@^4.2.0: - version "4.2.4" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" - integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== - -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6: - version "4.1.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" - integrity sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg= - -graceful-fs@^4.1.15: - version "4.2.0" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.0.tgz#8d8fdc73977cb04104721cb53666c1ca64cd328b" - integrity sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg== - -graceful-fs@~1.2.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364" - integrity sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q= - -grouped-queue@^0.3.0, grouped-queue@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/grouped-queue/-/grouped-queue-0.3.3.tgz#c167d2a5319c5a0e0964ef6a25b7c2df8996c85c" - integrity sha1-wWfSpTGcWg4JZO9qJbfC34mWyFw= - dependencies: - lodash "^4.17.2" - -gulp-if@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/gulp-if/-/gulp-if-2.0.2.tgz#a497b7e7573005041caa2bc8b7dda3c80444d629" - integrity sha1-pJe351cwBQQcqivIt92jyARE1ik= - dependencies: - gulp-match "^1.0.3" - ternary-stream "^2.0.1" - through2 "^2.0.1" - -gulp-match@^1.0.3: - version "1.1.0" - resolved "https://registry.yarnpkg.com/gulp-match/-/gulp-match-1.1.0.tgz#552b7080fc006ee752c90563f9fec9d61aafdf4f" - integrity sha512-DlyVxa1Gj24DitY2OjEsS+X6tDpretuxD6wTfhXE/Rw2hweqc1f6D/XtsJmoiCwLWfXgR87W9ozEityPCVzGtQ== - dependencies: - minimatch "^3.0.3" - -gulp-sourcemaps@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/gulp-sourcemaps/-/gulp-sourcemaps-1.6.0.tgz#b86ff349d801ceb56e1d9e7dc7bbcb4b7dee600c" - integrity sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw= - dependencies: - convert-source-map "^1.1.1" - graceful-fs "^4.1.2" - strip-bom "^2.0.0" - through2 "^2.0.0" - vinyl "^1.0.0" - -gulp-util@^3.0.0: - version "3.0.8" - resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f" - integrity sha1-AFTh50RQLifATBh8PsxQXdVLu08= - dependencies: - array-differ "^1.0.0" - array-uniq "^1.0.2" - beeper "^1.0.0" - chalk "^1.0.0" - dateformat "^2.0.0" - fancy-log "^1.1.0" - gulplog "^1.0.0" - has-gulplog "^0.1.0" - lodash._reescape "^3.0.0" - lodash._reevaluate "^3.0.0" - lodash._reinterpolate "^3.0.0" - lodash.template "^3.0.0" - minimist "^1.1.0" - multipipe "^0.1.2" - object-assign "^3.0.0" - replace-ext "0.0.1" - through2 "^2.0.0" - vinyl "^0.5.0" - -gulp@^3.9.1: - version "3.9.1" - resolved "https://registry.yarnpkg.com/gulp/-/gulp-3.9.1.tgz#571ce45928dd40af6514fc4011866016c13845b4" - integrity sha1-VxzkWSjdQK9lFPxAEYZgFsE4RbQ= - dependencies: - archy "^1.0.0" - chalk "^1.0.0" - deprecated "^0.0.1" - gulp-util "^3.0.0" - interpret "^1.0.0" - liftoff "^2.1.0" - minimist "^1.1.0" - orchestrator "^0.3.0" - pretty-hrtime "^1.0.0" - semver "^4.1.0" - tildify "^1.0.0" - v8flags "^2.0.2" - vinyl-fs "^0.3.0" - -gulplog@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/gulplog/-/gulplog-1.0.0.tgz#e28c4d45d05ecbbed818363ce8f9c5926229ffe5" - integrity sha1-4oxNRdBey77YGDY86PnFkmIp/+U= - dependencies: - glogg "^1.0.0" - -gunzip-maybe@^1.3.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/gunzip-maybe/-/gunzip-maybe-1.4.2.tgz#b913564ae3be0eda6f3de36464837a9cd94b98ac" - integrity sha512-4haO1M4mLO91PW57BMsDFf75UmwoRX0GkdD+Faw+Lr+r/OZrOCS0pIBwOL1xCKQqnQzbNFGgK2V2CpBUPeFNTw== - dependencies: - browserify-zlib "^0.1.4" - is-deflate "^1.0.0" - is-gzip "^1.0.0" - peek-stream "^1.1.0" - pumpify "^1.3.3" - through2 "^2.0.3" - -handle-thing@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4" - integrity sha1-/Xqtcmvxpf0W38KbL3pmAdJxOcQ= - -handlebars@^4.1.0: - version "4.7.6" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e" - integrity sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA== - dependencies: - minimist "^1.2.5" - neo-async "^2.6.0" - source-map "^0.6.1" - wordwrap "^1.0.0" - optionalDependencies: - uglify-js "^3.1.4" - -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= - -har-validator@~5.1.0, har-validator@~5.1.3: - version "5.1.3" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" - integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g== - dependencies: - ajv "^6.5.5" - har-schema "^2.0.0" - -has-ansi@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" - integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= - dependencies: - ansi-regex "^2.0.0" - -has-binary2@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has-binary2/-/has-binary2-1.0.3.tgz#7776ac627f3ea77250cfc332dab7ddf5e4f5d11d" - integrity sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw== - dependencies: - isarray "2.0.1" - -has-color@~0.1.0: - version "0.1.7" - resolved "https://registry.yarnpkg.com/has-color/-/has-color-0.1.7.tgz#67144a5260c34fc3cca677d041daf52fe7b78b2f" - integrity sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8= - -has-cors@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/has-cors/-/has-cors-1.1.0.tgz#5e474793f7ea9843d1bb99c23eef49ff126fff39" - integrity sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk= - -has-flag@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" - integrity sha1-6CB68cx7MNRGzHC3NLXovhj4jVE= - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-gulplog@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/has-gulplog/-/has-gulplog-0.1.0.tgz#6414c82913697da51590397dafb12f22967811ce" - integrity sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4= - dependencies: - sparkles "^1.0.0" - -has-symbol-support-x@^1.4.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz#1409f98bc00247da45da67cee0a36f282ff26455" - integrity sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw== - -has-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" - integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q= - -has-to-string-tag-x@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz#a045ab383d7b4b2012a00148ab0aa5f290044d4d" - integrity sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw== - dependencies: - has-symbol-support-x "^1.4.1" - -has-unicode@^2.0.0, has-unicode@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= - -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8= - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc= - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha1-bWHeldkd/Km5oCCJrThL/49it3E= - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha1-lbC2P+whRmGab+V/51Yo1aOe/k8= - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - -has@^1.0.1, has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - -he@1.2.x: - version "1.2.0" - resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" - integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== - -homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - -hosted-git-info@^2.1.4, hosted-git-info@^2.6.0: - version "2.7.1" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" - integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w== - -hpack.js@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - integrity sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI= - dependencies: - inherits "^2.0.1" - obuf "^1.0.0" - readable-stream "^2.0.1" - wbuf "^1.1.0" - -html-minifier@^3.5.10: - version "3.5.21" - resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.21.tgz#d0040e054730e354db008463593194015212d20c" - integrity sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA== - dependencies: - camel-case "3.0.x" - clean-css "4.2.x" - commander "2.17.x" - he "1.2.x" - param-case "2.1.x" - relateurl "0.2.x" - uglify-js "3.4.x" - -http-cache-semantics@^3.8.1: - version "3.8.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" - integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== - -http-call@^5.1.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/http-call/-/http-call-5.2.2.tgz#d8eb37eef701e566d44373ef19b22444ebb7c02e" - integrity sha512-DMEU+vvbrvt7n1BYPacbvtSwUmIgORP7HphTmKFqt1wBVeGi/+ADe7KkfyKAcnpa9HEoVaPWdfpOKy7fNeLdiw== - dependencies: - content-type "^1.0.4" - debug "^3.1.0" - is-retry-allowed "^1.1.0" - is-stream "^1.1.0" - tunnel-agent "^0.6.0" - -http-deceiver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - integrity sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc= - -http-errors@1.7.2: - version "1.7.2" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f" - integrity sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg== - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.1" - statuses ">= 1.5.0 < 2" - toidentifier "1.0.0" - -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - integrity sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0= - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - -http-errors@~1.7.2: - version "1.7.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" - integrity sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw== - dependencies: - depd "~1.1.2" - inherits "2.0.4" - setprototypeof "1.1.1" - statuses ">= 1.5.0 < 2" - toidentifier "1.0.0" - -http-proxy-agent@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405" - integrity sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg== - dependencies: - agent-base "4" - debug "3.1.0" - -http-proxy-middleware@^0.17.2: - version "0.17.4" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.17.4.tgz#642e8848851d66f09d4f124912846dbaeb41b833" - integrity sha1-ZC6ISIUdZvCdTxJJEoRtuutBuDM= - dependencies: - http-proxy "^1.16.2" - is-glob "^3.1.0" - lodash "^4.17.2" - micromatch "^2.3.11" - -http-proxy@^1.16.2: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -https-proxy-agent@^2.2.1: - version "2.2.2" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz#271ea8e90f836ac9f119daccd39c19ff7dfb0793" - integrity sha512-c8Ndjc9Bkpfx/vCJueCPy0jlP4ccCCSNDp8xwCZzPjKJUm+B+u9WX2x98Qx4n1PiMNTWo3D7KK5ifNV/yJyRzg== - dependencies: - agent-base "^4.3.0" - debug "^3.1.0" - -https-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" - integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== - dependencies: - agent-base "6" - debug "4" - -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0= - dependencies: - ms "^2.0.0" - -hyperlinker@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/hyperlinker/-/hyperlinker-1.0.0.tgz#23dc9e38a206b208ee49bc2d6c8ef47027df0c0e" - integrity sha512-Ty8UblRWFEcfSuIaajM34LdPXIhbs1ajEX/BBPv24J+enSVaEVY63xQ6lTO9VRYS5LAoghIG0IDJ+p+IPzKUQQ== - -iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@~0.4.13: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -ieee754@^1.1.4: - version "1.1.13" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" - integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== - -iferr@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" - integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= - -ignore-walk@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" - integrity sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ== - dependencies: - minimatch "^3.0.4" - -ignore@^3.3.5: - version "3.3.10" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" - integrity sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug== - -ignore@^4.0.3: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== - -ignore@^5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.2.tgz#e28e584d43ad7e92f96995019cc43b9e1ac49558" - integrity sha512-vdqWBp7MyzdmHkkRWV5nY+PfGRbYbahfuvsBCh277tq+w9zyNi7h5CYJCK0kmzti9kU+O/cB7sE8HvKv6aXAKQ== - -ignore@^5.1.4: - version "5.1.8" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" - integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== - -import-fresh@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" - integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY= - dependencies: - caller-path "^2.0.0" - resolve-from "^3.0.0" - -import-lazy@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" - integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= - -import-local@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-1.0.0.tgz#5e4ffdc03f4fe6c009c6729beb29631c2f8227bc" - integrity sha512-vAaZHieK9qjGo58agRBg+bhHX3hoTZU/Oa3GESWLz7t1U62fk63aHuDJJEteXoDeTCcPmUT+z38gkHPZkkmpmQ== - dependencies: - pkg-dir "^2.0.0" - resolve-cwd "^2.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= - -indent-string@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" - integrity sha1-ji1INIdCEhtKghi3oTfppSBJ3IA= - dependencies: - repeating "^2.0.0" - -indent-string@^3.0.0, indent-string@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" - integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -indent@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/indent/-/indent-0.0.2.tgz#8c79f080190559b687034b84c7aefa97d5a911d9" - integrity sha1-jHnwgBkFWbaHA0uEx676l9WpEdk= - -indexof@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" - integrity sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10= - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b" - integrity sha1-ykMJ2t7mtUzAuNJH6NfHoJdb3Js= - -inherits@2, inherits@2.0.3, inherits@~2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= - -inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -ini@^1.3.2, ini@^1.3.4, ini@~1.3.0: - version "1.3.5" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" - integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== - -init-package-json@^1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-1.10.3.tgz#45ffe2f610a8ca134f2bd1db5637b235070f6cbe" - integrity sha512-zKSiXKhQveNteyhcj1CoOP8tqp1QuxPIPBl8Bid99DGLFqA1p87M6lNgfjJHSBoWJJlidGOv5rWjyYKEB3g2Jw== - dependencies: - glob "^7.1.1" - npm-package-arg "^4.0.0 || ^5.0.0 || ^6.0.0" - promzard "^0.3.0" - read "~1.0.1" - read-package-json "1 || 2" - semver "2.x || 3.x || 4 || 5" - validate-npm-package-license "^3.0.1" - validate-npm-package-name "^3.0.0" - -inquirer-autocomplete-prompt@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-1.0.1.tgz#e4be98a9e727ea5160937e33f8724e70464e3c4d" - integrity sha512-Y4V6ifAu9LNrNjcEtYq8YUKhrgmmufUn5fsDQqeWgHY8rEO6ZAQkNUiZtBm2kw2uUQlC9HdgrRCHDhTPPguH5A== - dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.0" - figures "^2.0.0" - run-async "^2.3.0" - -inquirer-recursive@0.0.6, inquirer-recursive@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/inquirer-recursive/-/inquirer-recursive-0.0.6.tgz#f1a10973d69d1ba1c8f993d412e016cc6c6138c5" - integrity sha512-CUIZyDcs5Xl5hn+OFXDXOlZEvNE2sGYt4Gg+/JXLsrnhAcZRs3xSio3IhJor1uPypCMmxxH8/w3qg9Kn3jA8Hg== - dependencies: - inquirer "^1.1.2" - lodash "^4.17.11" - -inquirer@^1.0.2, inquirer@^1.1.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-1.2.3.tgz#4dec6f32f37ef7bb0b2ed3f1d1a5c3f545074918" - integrity sha1-TexvMvN+97sLLtPx0aXD9UUHSRg= - dependencies: - ansi-escapes "^1.1.0" - chalk "^1.0.0" - cli-cursor "^1.0.1" - cli-width "^2.0.0" - external-editor "^1.1.0" - figures "^1.3.5" - lodash "^4.3.0" - mute-stream "0.0.6" - pinkie-promise "^2.0.0" - run-async "^2.2.0" - rx "^4.1.0" - string-width "^1.0.1" - strip-ansi "^3.0.0" - through "^2.3.6" - -inquirer@^6.0.0, inquirer@^6.2.0: - version "6.5.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42" - integrity sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== - dependencies: - ansi-escapes "^3.2.0" - chalk "^2.4.2" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^2.0.0" - lodash "^4.17.12" - mute-stream "0.0.7" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^2.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - -inquirer@^7.0.0: - version "7.3.2" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.2.tgz#25245d2e32dc9f33dbe26eeaada231daa66e9c7c" - integrity sha512-DF4osh1FM6l0RJc5YWYhSDB6TawiBRlbV9Cox8MWlidU218Tb7fm3lQTULyUJDfJ0tjbzl0W4q651mrCCEM55w== - dependencies: - ansi-escapes "^4.2.1" - chalk "^4.1.0" - cli-cursor "^3.1.0" - cli-width "^3.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.16" - mute-stream "0.0.8" - run-async "^2.4.0" - rxjs "^6.6.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - -interpret@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" - integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== - -intersect@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/intersect/-/intersect-1.0.1.tgz#332650e10854d8c0ac58c192bdc27a8bf7e7a30c" - integrity sha1-MyZQ4QhU2MCsWMGSvcJ6i/fnoww= - -invariant@^2.2.2: - version "2.2.4" - resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" - integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== - dependencies: - loose-envify "^1.0.0" - -invert-kv@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" - integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== - -ip@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= - -ipaddr.js@1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" - integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== - -is-absolute@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576" - integrity sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA== - dependencies: - is-relative "^1.0.0" - is-windows "^1.0.1" - -is-accessor-descriptor@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" - integrity sha1-qeEss66Nh2cn7u84Q/igiXtcmNY= - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== - dependencies: - kind-of "^6.0.0" - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= - -is-arrayish@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" - integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== - -is-binary-path@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg= - dependencies: - binary-extensions "^1.0.0" - -is-buffer@^1.1.5, is-buffer@~1.1.1: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - -is-builtin-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" - integrity sha1-VAVy0096wxGfj3bDDLwbHgN6/74= - dependencies: - builtin-modules "^1.0.0" - -is-callable@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75" - integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA== - -is-ci@^1.0.10: - version "1.2.1" - resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" - integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg== - dependencies: - ci-info "^1.5.0" - -is-data-descriptor@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" - integrity sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y= - dependencies: - kind-of "^3.0.2" - -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== - dependencies: - kind-of "^6.0.0" - -is-date-object@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" - integrity sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY= - -is-deflate@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-deflate/-/is-deflate-1.0.0.tgz#c862901c3c161fb09dac7cdc7e784f80e98f2f14" - integrity sha1-yGKQHDwWH7CdrHzcfnhPgOmPLxQ= - -is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== - dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== - dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" - -is-directory@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" - integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= - -is-docker@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.0.0.tgz#2cb0df0e75e2d064fe1864c37cdeacb7b2dcf25b" - integrity sha512-pJEdRugimx4fBMra5z2/5iRdZ63OhYV0vr0Dwm5+xtW4D1FvRkB8hamMIhnWfyJeDdyr/aa7BDyNbtG38VxgoQ== - -is-dotfile@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" - integrity sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE= - -is-equal-shallow@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" - integrity sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ= - dependencies: - is-primitive "^2.0.0" - -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= - -is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== - dependencies: - is-plain-object "^2.0.4" - -is-extglob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" - integrity sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA= - -is-extglob@^2.1.0, is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= - -is-finite@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" - integrity sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko= - dependencies: - number-is-nan "^1.0.0" - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= - dependencies: - number-is-nan "^1.0.0" - -is-fullwidth-code-point@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-glob@^2.0.0, is-glob@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" - integrity sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM= - dependencies: - is-extglob "^1.0.0" - -is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo= - dependencies: - is-extglob "^2.1.0" - -is-glob@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" - integrity sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A= - dependencies: - is-extglob "^2.1.1" - -is-glob@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" - integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== - dependencies: - is-extglob "^2.1.1" - -is-gzip@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-gzip/-/is-gzip-1.0.0.tgz#6ca8b07b99c77998025900e555ced8ed80879a83" - integrity sha1-bKiwe5nHeZgCWQDlVc7Y7YCHmoM= - -is-installed-globally@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" - integrity sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA= - dependencies: - global-dirs "^0.1.0" - is-path-inside "^1.0.0" - -is-npm@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" - integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= - -is-number@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" - integrity sha1-Afy7s5NGOlSPL0ZszhbezknbkI8= - dependencies: - kind-of "^3.0.2" - -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU= - dependencies: - kind-of "^3.0.2" - -is-number@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" - integrity sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ== - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-obj@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" - integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= - -is-object@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470" - integrity sha1-iVJojF7C/9awPsyF52ngKQMINHA= - -is-observable@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e" - integrity sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA== - dependencies: - symbol-observable "^1.1.0" - -is-path-cwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" - integrity sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0= - -is-path-in-cwd@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" - integrity sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ== - dependencies: - is-path-inside "^1.0.0" - -is-path-inside@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" - integrity sha1-jvW33lBDej/cprToZe96pVy0gDY= - dependencies: - path-is-inside "^1.0.1" - -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= - -is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-plain-object@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-3.0.0.tgz#47bfc5da1b5d50d64110806c199359482e75a928" - integrity sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg== - dependencies: - isobject "^4.0.0" - -is-posix-bracket@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" - integrity sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q= - -is-potential-custom-element-name@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz#0c52e54bcca391bb2c494b21e8626d7336c6e397" - integrity sha1-DFLlS8yjkbssSUsh6GJtczbG45c= - -is-primitive@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" - integrity sha1-IHurkWOEmcB7Kt8kCkGochADRXU= - -is-promise@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" - integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= - -is-redirect@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" - integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= - -is-regex@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" - integrity sha1-VRdIm1RwkbCTDglWVM7SXul+lJE= - dependencies: - has "^1.0.1" - -is-relative@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d" - integrity sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA== - dependencies: - is-unc-path "^1.0.0" - -is-retry-allowed@^1.0.0, is-retry-allowed@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" - integrity sha1-EaBgVotnM5REAz0BJaYaINVk+zQ= - -is-scoped@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-scoped/-/is-scoped-1.0.0.tgz#449ca98299e713038256289ecb2b540dc437cb30" - integrity sha1-RJypgpnnEwOCViieyytUDcQ3yzA= - dependencies: - scoped-regex "^1.0.0" - -is-ssh@^1.3.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3" - integrity sha512-0eRIASHZt1E68/ixClI8bp2YK2wmBPVWEismTs6M+M099jKgrzl/3E976zIbImSIob48N2/XGe9y7ZiYdImSlg== - dependencies: - protocols "^1.1.0" - -is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - -is-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" - integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== - -is-symbol@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38" - integrity sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw== - dependencies: - has-symbols "^1.0.0" - -is-text-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-2.0.0.tgz#b2484e2b720a633feb2e85b67dc193ff72c75636" - integrity sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw== - dependencies: - text-extensions "^2.0.0" - -is-typedarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= - -is-unc-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d" - integrity sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ== - dependencies: - unc-path-regex "^0.1.2" - -is-utf8@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" - integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI= - -is-valid-glob@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-0.3.0.tgz#d4b55c69f51886f9b65c70d6c2622d37e29f48fe" - integrity sha1-1LVcafUYhvm2XHDWwmItN+KfSP4= - -is-windows@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-0.2.0.tgz#de1aa6d63ea29dd248737b69f1ff8b8002d2108c" - integrity sha1-3hqm1j6indJIc3tp8f+LgALSEIw= - -is-windows@^1.0.1, is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= - -is-wsl@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= - -isarray@1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= - -isarray@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e" - integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4= - -isbinaryfile@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-3.0.3.tgz#5d6def3edebf6e8ca8cae9c30183a804b5f8be80" - integrity sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw== - dependencies: - buffer-alloc "^1.2.0" - -isbinaryfile@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.2.tgz#bfc45642da645681c610cca831022e30af426488" - integrity sha512-C3FSxJdNrEr2F4z6uFtNzECDM5hXk+46fxaa+cwBe5/XrWSmzdG8DDgyjfX6/NRdBB21q2JXuRAzPCUs+fclnQ== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk= - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= - -isobject@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-4.0.0.tgz#3f1c9155e73b192022a80819bacd0343711697b0" - integrity sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA== - -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= - -istextorbinary@^2.2.1, istextorbinary@^2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/istextorbinary/-/istextorbinary-2.5.1.tgz#14a33824cf6b9d5d7743eac1be2bd2c310d0ccbd" - integrity sha512-pv/JNPWnfpwGjPx7JrtWTwsWsxkrK3fNzcEVnt92YKEIErps4Fsk49+qzCe9iQF2hjqK8Naqf8P9kzoeCuQI1g== - dependencies: - binaryextensions "^2.1.2" - editions "^2.1.3" - textextensions "^2.4.0" - -isurl@^1.0.0-alpha5: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" - integrity sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w== - dependencies: - has-to-string-tag-x "^1.2.0" - is-object "^1.0.1" - -"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-tokens@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" - integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= - -js-yaml@^3.13.1: - version "3.13.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" - integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= - -jsesc@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" - integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s= - -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== - -jsesc@~0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" - integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= - -json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema@0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" - integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= - -json-stable-stringify-without-jsonify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" - integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= - -json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= - -json5@^2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43" - integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA== - dependencies: - minimist "^1.2.5" - -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= - optionalDependencies: - graceful-fs "^4.1.6" - -jsonfile@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.0.1.tgz#98966cba214378c8c84b82e085907b40bf614179" - integrity sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg== - dependencies: - universalify "^1.0.0" - optionalDependencies: - graceful-fs "^4.1.6" - -jsonparse@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= - -jsonschema@^1.1.0, jsonschema@^1.1.1: - version "1.2.6" - resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.2.6.tgz#52b0a8e9dc06bbae7295249d03e4b9faee8a0c0b" - integrity sha512-SqhURKZG07JyKKeo/ir24QnS4/BV7a6gQy93bUSe4lUdNp0QNpIz2c9elWJQ9dpc5cQYY6cvCzgRwy0MQCLyqA== - -jsprim@^1.2.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" - integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI= - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.2.3" - verror "1.10.0" - -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ= - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha1-IIE989cSkosgc3hpGkUGb65y3Vc= - dependencies: - is-buffer "^1.1.5" - -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== - -kind-of@^6.0.0, kind-of@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" - integrity sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA== - -kuler@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/kuler/-/kuler-2.0.0.tgz#e2c570a3800388fb44407e851531c1d670b061b3" - integrity sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A== - -latest-version@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-2.0.0.tgz#56f8d6139620847b8017f8f1f4d78e211324168b" - integrity sha1-VvjWE5YghHuAF/jx9NeOIRMkFos= - dependencies: - package-json "^2.0.0" - -latest-version@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" - integrity sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU= - dependencies: - package-json "^4.0.0" - -launchpad@^0.7.0: - version "0.7.5" - resolved "https://registry.yarnpkg.com/launchpad/-/launchpad-0.7.5.tgz#a16950c937572f10ef01c9be945a96f7aef8e427" - integrity sha512-gsYFgT8XKL3X2XZHPPPrgwM0JqeQwGpSWnzg7EYadBY3MirbQrTVq6L4fm6l7UE2T+7gnfuhiGkKr/xxuU/fdw== - dependencies: - async "^2.0.1" - browserstack "^1.2.0" - debug "^2.2.0" - mkdirp "^0.5.1" - plist "^2.0.1" - q "^1.4.1" - rimraf "^3.0.0" - underscore "^1.8.3" - -lazy-req@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/lazy-req/-/lazy-req-1.1.0.tgz#bdaebead30f8d824039ce0ce149d4daa07ba1fac" - integrity sha1-va6+rTD42CQDnODOFJ1Nqge6H6w= - -lazystream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lazystream/-/lazystream-1.0.0.tgz#f6995fe0f820392f61396be89462407bb77168e4" - integrity sha1-9plf4PggOS9hOWvolGJAe7dxaOQ= - dependencies: - readable-stream "^2.0.5" - -lcid@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - -lerna@^3.11.0: - version "3.15.0" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-3.15.0.tgz#b044dba8138d7a1a8dd48ac1d80e7541bdde0d1f" - integrity sha512-kRIQ3bgzkmew5/WZQ0C9WjH0IUf3ZmTNnBwTHfXgLkVY7td0lbwMQFD7zehflUn0zG4ou54o/gn+IfjF0ti/5A== - dependencies: - "@lerna/add" "3.15.0" - "@lerna/bootstrap" "3.15.0" - "@lerna/changed" "3.15.0" - "@lerna/clean" "3.15.0" - "@lerna/cli" "3.13.0" - "@lerna/create" "3.15.0" - "@lerna/diff" "3.15.0" - "@lerna/exec" "3.15.0" - "@lerna/import" "3.15.0" - "@lerna/init" "3.15.0" - "@lerna/link" "3.15.0" - "@lerna/list" "3.15.0" - "@lerna/publish" "3.15.0" - "@lerna/run" "3.15.0" - "@lerna/version" "3.15.0" - import-local "^1.0.0" - npmlog "^4.1.2" - -liftoff@^2.1.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/liftoff/-/liftoff-2.5.0.tgz#2009291bb31cea861bbf10a7c15a28caf75c31ec" - integrity sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew= - dependencies: - extend "^3.0.0" - findup-sync "^2.0.0" - fined "^1.0.1" - flagged-respawn "^1.0.0" - is-plain-object "^2.0.4" - object.map "^1.0.0" - rechoir "^0.6.2" - resolve "^1.1.7" - -lines-and-columns@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" - integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= - -listr-silent-renderer@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" - integrity sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4= - -listr-update-renderer@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz#4ea8368548a7b8aecb7e06d8c95cb45ae2ede6a2" - integrity sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA== - dependencies: - chalk "^1.1.3" - cli-truncate "^0.2.1" - elegant-spinner "^1.0.1" - figures "^1.7.0" - indent-string "^3.0.0" - log-symbols "^1.0.2" - log-update "^2.3.0" - strip-ansi "^3.0.1" - -listr-verbose-renderer@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz#f1132167535ea4c1261102b9f28dac7cba1e03db" - integrity sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw== - dependencies: - chalk "^2.4.1" - cli-cursor "^2.1.0" - date-fns "^1.27.2" - figures "^2.0.0" - -listr-verbose-renderer@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.6.0.tgz#10d5a960c7763878b0812c884a11dde29ac16c33" - integrity sha512-P3bA/giMu432bs3gHiKXKOIHlWanCIlRhbhCfgKNgCoyvTvZsdbfkgX1BvThYXhm36cS8pOX3Z5vxXBFZC+NQw== - dependencies: - chalk "^2.4.1" - cli-cursor "^2.1.0" - date-fns "^2.0.1" - figures "^2.0.0" - -listr@^0.14.2: - version "0.14.3" - resolved "https://registry.yarnpkg.com/listr/-/listr-0.14.3.tgz#2fea909604e434be464c50bddba0d496928fa586" - integrity sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA== - dependencies: - "@samverschueren/stream-to-observable" "^0.3.0" - is-observable "^1.1.0" - is-promise "^2.1.0" - is-stream "^1.1.0" - listr-silent-renderer "^1.1.1" - listr-update-renderer "^0.5.0" - listr-verbose-renderer "^0.5.0" - p-map "^2.0.0" - rxjs "^6.3.3" - -load-json-file@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" - integrity sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA= - dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - pinkie-promise "^2.0.0" - strip-bom "^2.0.0" - -load-json-file@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - integrity sha1-L19Fq5HjMhYjT9U62rZo607AmTs= - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - -load-json-file@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-5.1.0.tgz#c062f048e0ee556bf7f535bb16f6e45bb9d06b18" - integrity sha512-+ggO8OpTviHQ/zoyFxLJglsu1CylXUt1vpGa+mIUeesCkTC0G+JO6rdTS1/WcGBZDC7Nejo1aZ9MxbqflpmO6Q== - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4= - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== - dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" - -lodash._basecopy@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" - integrity sha1-jaDmqHbPNEwK2KVIghEd08XHyjY= - -lodash._basetostring@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz#d1861d877f824a52f669832dcaf3ee15566a07d5" - integrity sha1-0YYdh3+CSlL2aYMtyvPuFVZqB9U= - -lodash._basevalues@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7" - integrity sha1-W3dXYoAr3j0yl1A+JjAIIP32Ybc= - -lodash._getnative@^3.0.0: - version "3.9.1" - resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" - integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= - -lodash._isiterateecall@^3.0.0: - version "3.0.9" - resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" - integrity sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw= - -lodash._reescape@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._reescape/-/lodash._reescape-3.0.0.tgz#2b1d6f5dfe07c8a355753e5f27fac7f1cde1616a" - integrity sha1-Kx1vXf4HyKNVdT5fJ/rH8c3hYWo= - -lodash._reevaluate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz#58bc74c40664953ae0b124d806996daca431e2ed" - integrity sha1-WLx0xAZklTrgsSTYBpltrKQx4u0= - -lodash._reinterpolate@^3.0.0, lodash._reinterpolate@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" - integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= - -lodash._root@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692" - integrity sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI= - -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" - integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY= - -lodash.clonedeep@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" - integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= - -lodash.defaults@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c" - integrity sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw= - -lodash.difference@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c" - integrity sha1-nMtOUF1Ia5FlE0V3KIWi3yf9AXw= - -lodash.escape@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698" - integrity sha1-mV7g3BjBtIzJLv+ucaEKq1tIdpg= - dependencies: - lodash._root "^3.0.0" - -lodash.flatten@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" - integrity sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8= - -lodash.get@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" - integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= - -lodash.isarguments@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" - integrity sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo= - -lodash.isarray@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" - integrity sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U= - -lodash.isequal@^4.0.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" - integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= - -lodash.ismatch@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" - integrity sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc= - -lodash.isplainobject@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" - integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= - -lodash.keys@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" - integrity sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo= - dependencies: - lodash._getnative "^3.0.0" - lodash.isarguments "^3.0.0" - lodash.isarray "^3.0.0" - -lodash.padend@^4.6.1: - version "4.6.1" - resolved "https://registry.yarnpkg.com/lodash.padend/-/lodash.padend-4.6.1.tgz#53ccba047d06e158d311f45da625f4e49e6f166e" - integrity sha1-U8y6BH0G4VjTEfRdpiX05J5vFm4= - -lodash.restparam@^3.0.0: - version "3.6.1" - resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" - integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= - -lodash.set@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" - integrity sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM= - -lodash.sortby@^4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" - integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= - -lodash.template@^3.0.0: - version "3.6.2" - resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f" - integrity sha1-+M3sxhaaJVvpCYrosMU9N4kx0U8= - dependencies: - lodash._basecopy "^3.0.0" - lodash._basetostring "^3.0.0" - lodash._basevalues "^3.0.0" - lodash._isiterateecall "^3.0.0" - lodash._reinterpolate "^3.0.0" - lodash.escape "^3.0.0" - lodash.keys "^3.0.0" - lodash.restparam "^3.0.0" - lodash.templatesettings "^3.0.0" - -lodash.template@^4.0.2: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" - integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A== - dependencies: - lodash._reinterpolate "^3.0.0" - lodash.templatesettings "^4.0.0" - -lodash.template@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.4.0.tgz#e73a0385c8355591746e020b99679c690e68fba0" - integrity sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A= - dependencies: - lodash._reinterpolate "~3.0.0" - lodash.templatesettings "^4.0.0" - -lodash.templatesettings@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz#fb307844753b66b9f1afa54e262c745307dba8e5" - integrity sha1-+zB4RHU7Zrnxr6VOJix0UwfbqOU= - dependencies: - lodash._reinterpolate "^3.0.0" - lodash.escape "^3.0.0" - -lodash.templatesettings@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz#2b4d4e95ba440d915ff08bc899e4553666713316" - integrity sha1-K01OlbpEDZFf8IvImeRVNmZxMxY= - dependencies: - lodash._reinterpolate "~3.0.0" - -lodash.union@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" - integrity sha1-SLtQiECfFvGCFmZkHETdGqrjzYg= - -lodash.uniq@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" - integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= - -lodash@^3.0.0, lodash@^3.10.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" - integrity sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y= - -lodash@^4.0.0, lodash@^4.11.1, lodash@^4.16.6, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.16, lodash@^4.17.19, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0: - version "4.17.19" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b" - integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ== - -lodash@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551" - integrity sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE= - -log-symbols@^1.0.0, log-symbols@^1.0.1, log-symbols@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" - integrity sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg= - dependencies: - chalk "^1.0.0" - -log-symbols@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" - integrity sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg== - dependencies: - chalk "^2.0.1" - -log-update@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708" - integrity sha1-iDKP19HOeTiykoN0bwsbwSayRwg= - dependencies: - ansi-escapes "^3.0.0" - cli-cursor "^2.0.0" - wrap-ansi "^3.0.1" - -logform@^1.9.1: - version "1.10.0" - resolved "https://registry.yarnpkg.com/logform/-/logform-1.10.0.tgz#c9d5598714c92b546e23f4e78147c40f1e02012e" - integrity sha512-em5ojIhU18fIMOw/333mD+ZLE2fis0EzXl1ZwHx4iQzmpQi6odNiY/t+ITNr33JZhT9/KEaH+UPIipr6a9EjWg== - dependencies: - colors "^1.2.1" - fast-safe-stringify "^2.0.4" - fecha "^2.3.3" - ms "^2.1.1" - triple-beam "^1.2.0" - -logform@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/logform/-/logform-2.2.0.tgz#40f036d19161fc76b68ab50fdc7fe495544492f2" - integrity sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg== - dependencies: - colors "^1.2.1" - fast-safe-stringify "^2.0.4" - fecha "^4.2.0" - ms "^2.1.1" - triple-beam "^1.3.0" - -lolex@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/lolex/-/lolex-1.6.0.tgz#3a9a0283452a47d7439e72731b9e07d7386e49f6" - integrity sha1-OpoCg0UqR9dDnnJzG54H1zhuSfY= - -loose-envify@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - -loud-rejection@^1.0.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f" - integrity sha1-W0b4AUft7leIcPCG0Eghz5mOVR8= - dependencies: - currently-unhandled "^0.4.1" - signal-exit "^3.0.0" - -lower-case@^1.1.1: - version "1.1.4" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" - integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw= - -lowercase-keys@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" - integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== - -lru-cache@2: - version "2.7.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952" - integrity sha1-bUUk6LlV+V1PW1iFHOId1y+06VI= - -lru-cache@^4.0.1, lru-cache@^4.0.2: - version "4.1.5" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" - integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" - -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - -macos-release@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.3.0.tgz#eb1930b036c0800adebccd5f17bc4c12de8bb71f" - integrity sha512-OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqajA== - -magic-string@^0.22.4: - version "0.22.5" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.22.5.tgz#8e9cf5afddf44385c1da5bc2a6a0dbd10b03657e" - integrity sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w== - dependencies: - vlq "^0.2.2" - -make-dir@^1.0.0, make-dir@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" - integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== - dependencies: - pify "^3.0.0" - -make-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.0.0.tgz#1b5f39f6b9270ed33f9f054c5c0f84304989f801" - integrity sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw== - dependencies: - semver "^6.0.0" - -make-fetch-happen@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-4.0.2.tgz#2d156b11696fb32bffbafe1ac1bc085dd6c78a79" - integrity sha512-YMJrAjHSb/BordlsDEcVcPyTbiJKkzqMf48N8dAJZT9Zjctrkb6Yg4TY9Sq2AwSIQJFn5qBBKVTYt3vP5FMIHA== - dependencies: - agentkeepalive "^3.4.1" - cacache "^11.3.3" - http-cache-semantics "^3.8.1" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.1" - lru-cache "^5.1.1" - mississippi "^3.0.0" - node-fetch-npm "^2.0.2" - promise-retry "^1.1.1" - socks-proxy-agent "^4.0.0" - ssri "^6.0.0" - -make-iterator@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/make-iterator/-/make-iterator-1.0.1.tgz#29b33f312aa8f547c4a5e490f56afcec99133ad6" - integrity sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw== - dependencies: - kind-of "^6.0.2" - -map-age-cleaner@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" - integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== - dependencies: - p-defer "^1.0.0" - -map-cache@^0.2.0, map-cache@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= - -map-obj@^1.0.0, map-obj@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= - -map-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9" - integrity sha1-plzSkIepJZi4eRJXpSPgISIqwfk= - -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha1-7Nyo8TFE5mDxtb1B8S80edmN+48= - dependencies: - object-visit "^1.0.0" - -matcher@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/matcher/-/matcher-1.1.1.tgz#51d8301e138f840982b338b116bb0c09af62c1c2" - integrity sha512-+BmqxWIubKTRKNWx/ahnCkk3mG8m7OturVlqq6HiojGJTd5hVYbgZm6WzcYPCoB+KBT4Vd6R7WSRG2OADNaCjg== - dependencies: - escape-string-regexp "^1.0.4" - -math-random@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" - integrity sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A== - -md5@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" - integrity sha1-U6s41f48iJG6RlMp6iP6wFQBJvk= - dependencies: - charenc "~0.0.1" - crypt "~0.0.1" - is-buffer "~1.1.1" - -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= - -mem-fs-editor@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/mem-fs-editor/-/mem-fs-editor-5.1.0.tgz#51972241640be8567680a04f7adaffe5fc603667" - integrity sha512-2Yt2GCYEbcotYbIJagmow4gEtHDqzpq5XN94+yAx/NT5+bGqIjkXnm3KCUQfE6kRfScGp9IZknScoGRKu8L78w== - dependencies: - commondir "^1.0.1" - deep-extend "^0.6.0" - ejs "^2.5.9" - glob "^7.0.3" - globby "^8.0.1" - isbinaryfile "^3.0.2" - mkdirp "^0.5.0" - multimatch "^2.0.0" - rimraf "^2.2.8" - through2 "^2.0.0" - vinyl "^2.0.1" - -mem-fs-editor@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/mem-fs-editor/-/mem-fs-editor-6.0.0.tgz#d63607cf0a52fe6963fc376c6a7aa52db3edabab" - integrity sha512-e0WfJAMm8Gv1mP5fEq/Blzy6Lt1VbLg7gNnZmZak7nhrBTibs+c6nQ4SKs/ZyJYHS1mFgDJeopsLAv7Ow0FMFg== - dependencies: - commondir "^1.0.1" - deep-extend "^0.6.0" - ejs "^2.6.1" - glob "^7.1.4" - globby "^9.2.0" - isbinaryfile "^4.0.0" - mkdirp "^0.5.0" - multimatch "^4.0.0" - rimraf "^2.6.3" - through2 "^3.0.1" - vinyl "^2.2.0" - -mem-fs@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/mem-fs/-/mem-fs-1.1.3.tgz#b8ae8d2e3fcb6f5d3f9165c12d4551a065d989cc" - integrity sha1-uK6NLj/Lb10/kWXBLUVRoGXZicw= - dependencies: - through2 "^2.0.0" - vinyl "^1.1.0" - vinyl-file "^2.0.0" - -mem@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" - integrity sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w== - dependencies: - map-age-cleaner "^0.1.1" - mimic-fn "^2.0.0" - p-is-promise "^2.0.0" - -meow@^3.3.0, meow@^3.7.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" - integrity sha1-cstmi0JSKCkKu/qFaJJYcwioAfs= - dependencies: - camelcase-keys "^2.0.0" - decamelize "^1.1.2" - loud-rejection "^1.0.0" - map-obj "^1.0.1" - minimist "^1.1.3" - normalize-package-data "^2.3.4" - object-assign "^4.0.1" - read-pkg-up "^1.0.1" - redent "^1.0.0" - trim-newlines "^1.0.0" - -meow@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/meow/-/meow-4.0.1.tgz#d48598f6f4b1472f35bf6317a95945ace347f975" - integrity sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A== - dependencies: - camelcase-keys "^4.0.0" - decamelize-keys "^1.0.0" - loud-rejection "^1.0.0" - minimist "^1.1.3" - minimist-options "^3.0.1" - normalize-package-data "^2.3.4" - read-pkg-up "^3.0.0" - redent "^2.0.0" - trim-newlines "^2.0.0" - -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= - -merge-stream@^1.0.0, merge-stream@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-1.0.1.tgz#4041202d508a342ba00174008df0c251b8c135e1" - integrity sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE= - dependencies: - readable-stream "^2.0.1" - -merge2@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.2.tgz#03212e3da8d86c4d8523cebd6318193414f94e34" - integrity sha512-bgM8twH86rWni21thii6WCMQMRMmwqqdW3sGWi9IipnVAszdLXRjwDwAnyrVXo6DuP3AjRMMttZKUB48QWIFGg== - -merge2@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.3.tgz#7ee99dbd69bb6481689253f018488a1b902b0ed5" - integrity sha512-gdUU1Fwj5ep4kplwcmftruWofEFt6lfpkkr3h860CXbAB9c3hGb55EOL2ali0Td5oebvW0E1+3Sr+Ur7XfKpRA== - -merge2@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - -methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= - -micromatch@^2.1.5, micromatch@^2.3.11, micromatch@^2.3.7: - version "2.3.11" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" - integrity sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU= - dependencies: - arr-diff "^2.0.0" - array-unique "^0.2.1" - braces "^1.8.2" - expand-brackets "^0.1.4" - extglob "^0.3.1" - filename-regex "^2.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.1" - kind-of "^3.0.2" - normalize-path "^2.0.1" - object.omit "^2.0.0" - parse-glob "^3.0.4" - regex-cache "^0.4.2" - -micromatch@^3.0.4, micromatch@^3.1.10: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - -micromatch@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259" - integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q== - dependencies: - braces "^3.0.1" - picomatch "^2.0.5" - -mime-db@1.40.0: - version "1.40.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" - integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA== - -mime-db@1.44.0, "mime-db@>= 1.43.0 < 2", mime-db@^1.28.0: - version "1.44.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92" - integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg== - -mime-types@^2.1.12, mime-types@~2.1.19: - version "2.1.24" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81" - integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ== - dependencies: - mime-db "1.40.0" - -mime-types@~2.1.24: - version "2.1.27" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f" - integrity sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w== - dependencies: - mime-db "1.44.0" - -mime@1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" - integrity sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ== - -mime@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - -mime@^2.3.1: - version "2.4.6" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.6.tgz#e5b407c90db442f2beb5b162373d07b69affa4d1" - integrity sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA== - -mimic-fn@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" - integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== - -mimic-fn@^2.0.0, mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -mimic-response@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== - -minimalistic-assert@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimatch-all@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/minimatch-all/-/minimatch-all-1.1.0.tgz#40c496a27a2e128d19bf758e76bb01a0c7145787" - integrity sha1-QMSWonouEo0Zv3WOdrsBoMcUV4c= - dependencies: - minimatch "^3.0.2" - -"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" - -minimatch@^2.0.1: - version "2.0.10" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-2.0.10.tgz#8d087c39c6b38c001b97fca7ce6d0e1e80afbac7" - integrity sha1-jQh8OcazjAAbl/ynzm0OHoCvusc= - dependencies: - brace-expansion "^1.0.0" - -minimatch@~0.2.11: - version "0.2.14" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-0.2.14.tgz#c74e780574f63c6f9a090e90efbe6ef53a6a756a" - integrity sha1-x054BXT2PG+aCQ6Q775u9TpqdWo= - dependencies: - lru-cache "2" - sigmund "~1.0.0" - -minimist-options@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954" - integrity sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ== - dependencies: - arrify "^1.0.1" - is-plain-obj "^1.1.0" - -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= - -minimist@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.2.1.tgz#827ba4e7593464e7c221e8c5bed930904ee2c455" - integrity sha512-GY8fANSrTMfBVfInqJAY41QkOM+upUTytK1jZ0c8+3HdHrJxBJ3rF5i9moClXTE8uUSnUo8cAsCoxDXvSY4DHg== - -minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" - integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== - -minipass@^2.2.1, minipass@^2.3.5: - version "2.3.5" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848" - integrity sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minizlib@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614" - integrity sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA== - dependencies: - minipass "^2.2.1" - -mississippi@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" - integrity sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA== - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^3.0.0" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - -mixin-deep@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" - integrity sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ== - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" - -mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0: - version "0.5.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= - dependencies: - minimist "0.0.8" - -mock-stdin@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/mock-stdin/-/mock-stdin-0.3.1.tgz#c657d9642d90786435c64ca5e99bbd4d09bd7dd3" - integrity sha1-xlfZZC2QeGQ1xkyl6Zu9TQm9fdM= - -modify-values@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" - integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== - -mout@^1.0.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/mout/-/mout-1.2.2.tgz#c9b718a499806a0632cede178e80f436259e777d" - integrity sha512-w0OUxFEla6z3d7sVpMZGBCpQvYh8PHS1wZ6Wu9GNKHMpAHWJ0if0LsQZh3DlOqw55HlhJEOMLpFnwtxp99Y5GA== - -move-concurrently@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" - integrity sha1-viwAX9oy4LKa8fBdfEszIUxwH5I= - dependencies: - aproba "^1.1.1" - copy-concurrently "^1.0.0" - fs-write-stream-atomic "^1.0.8" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.3" - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= - -ms@2.1.1, ms@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" - integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== - -ms@^2.0.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - -multer@^1.3.0: - version "1.4.2" - resolved "https://registry.yarnpkg.com/multer/-/multer-1.4.2.tgz#2f1f4d12dbaeeba74cb37e623f234bf4d3d2057a" - integrity sha512-xY8pX7V+ybyUpbYMxtjM9KAiD9ixtg5/JkeKUTD6xilfDv0vzzOFcCp4Ljb1UU3tSOM3VTZtKo63OmzOrGi3Cg== - dependencies: - append-field "^1.0.0" - busboy "^0.2.11" - concat-stream "^1.5.2" - mkdirp "^0.5.1" - object-assign "^4.1.1" - on-finished "^2.3.0" - type-is "^1.6.4" - xtend "^4.0.0" - -multimatch@^2.0.0, multimatch@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-2.1.0.tgz#9c7906a22fb4c02919e2f5f75161b4cdbd4b2a2b" - integrity sha1-nHkGoi+0wCkZ4vX3UWG0zb1LKis= - dependencies: - array-differ "^1.0.0" - array-union "^1.0.1" - arrify "^1.0.0" - minimatch "^3.0.0" - -multimatch@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-4.0.0.tgz#8c3c0f6e3e8449ada0af3dd29efb491a375191b3" - integrity sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ== - dependencies: - "@types/minimatch" "^3.0.3" - array-differ "^3.0.0" - array-union "^2.1.0" - arrify "^2.0.1" - minimatch "^3.0.4" - -multipipe@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-0.1.2.tgz#2a8f2ddf70eed564dff2d57f1e1a137d9f05078b" - integrity sha1-Ko8t33Du1WTf8tV/HhoTfZ8FB4s= - dependencies: - duplexer2 "0.0.2" - -multipipe@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-1.0.2.tgz#cc13efd833c9cda99f224f868461b8e1a3fd939d" - integrity sha1-zBPv2DPJzamfIk+GhGG44aP9k50= - dependencies: - duplexer2 "^0.1.2" - object-assign "^4.1.0" - -mute-stream@0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.6.tgz#48962b19e169fd1dfc240b3f1e7317627bbc47db" - integrity sha1-SJYrGeFp/R38JAs/HnMXYnu8R9s= - -mute-stream@0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" - integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= - -mute-stream@0.0.8, mute-stream@~0.0.4: - version "0.0.8" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== - -mz@^2.4.0, mz@^2.6.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" - integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== - dependencies: - any-promise "^1.0.0" - object-assign "^4.0.1" - thenify-all "^1.0.0" - -nan@^2.12.1: - version "2.14.1" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.1.tgz#d7be34dfa3105b91494c3147089315eff8874b01" - integrity sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw== - -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -native-promise-only@^0.8.1: - version "0.8.1" - resolved "https://registry.yarnpkg.com/native-promise-only/-/native-promise-only-0.8.1.tgz#20a318c30cb45f71fe7adfbf7b21c99c1472ef11" - integrity sha1-IKMYwwy0X3H+et+/eyHJnBRy7xE= - -natives@^1.1.0: - version "1.1.6" - resolved "https://registry.yarnpkg.com/natives/-/natives-1.1.6.tgz#a603b4a498ab77173612b9ea1acdec4d980f00bb" - integrity sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA== - -natural-orderby@^2.0.1: - version "2.0.3" - resolved "https://registry.yarnpkg.com/natural-orderby/-/natural-orderby-2.0.3.tgz#8623bc518ba162f8ff1cdb8941d74deb0fdcc016" - integrity sha512-p7KTHxU0CUrcOXe62Zfrb5Z13nLvPhSWR/so3kFulUQU0sgUll2Z0LwpsLN351eOOD+hRGu/F1g+6xDfPeD++Q== - -negotiator@0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" - integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== - -neo-async@^2.6.0: - version "2.6.2" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -no-case@^2.2.0: - version "2.3.2" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac" - integrity sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ== - dependencies: - lower-case "^1.1.1" - -node-fetch-npm@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7" - integrity sha512-nJIxm1QmAj4v3nfCvEeCrYSoVwXyxLnaPBK5W1W5DGEJwjlKuC2VEUycGw5oxk+4zZahRrB84PUJJgEmhFTDFw== - dependencies: - encoding "^0.1.11" - json-parse-better-errors "^1.0.0" - safe-buffer "^5.1.1" - -node-fetch@^2.3.0, node-fetch@^2.5.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd" - integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA== - -node-gyp@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-4.0.0.tgz#972654af4e5dd0cd2a19081b4b46fe0442ba6f45" - integrity sha512-2XiryJ8sICNo6ej8d0idXDEMKfVfFK7kekGCtJAuelGsYHQxhj13KTf95swTCN2dZ/4lTfZ84Fu31jqJEEgjWA== - dependencies: - glob "^7.0.3" - graceful-fs "^4.1.2" - mkdirp "^0.5.0" - nopt "2 || 3" - npmlog "0 || 1 || 2 || 3 || 4" - osenv "0" - request "^2.87.0" - rimraf "2" - semver "~5.3.0" - tar "^4.4.8" - which "1" - -node-status-codes@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/node-status-codes/-/node-status-codes-1.0.0.tgz#5ae5541d024645d32a58fcddc9ceecea7ae3ac2f" - integrity sha1-WuVUHQJGRdMqWPzdyc7s6nrjrC8= - -nomnom@^1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/nomnom/-/nomnom-1.8.1.tgz#2151f722472ba79e50a76fc125bb8c8f2e4dc2a7" - integrity sha1-IVH3Ikcrp55Qp2/BJbuMjy5Nwqc= - dependencies: - chalk "~0.4.0" - underscore "~1.6.0" - -"nopt@2 || 3": - version "3.0.6" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" - integrity sha1-xkZdvwirzU2zWTF/eaxopkayj/k= - dependencies: - abbrev "1" - -normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5, normalize-package-data@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" - integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== - dependencies: - hosted-git-info "^2.1.4" - resolve "^1.10.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^2.3.2, normalize-package-data@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" - integrity sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw== - dependencies: - hosted-git-info "^2.1.4" - is-builtin-module "^1.0.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-path@^2.0.0, normalize-path@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" - integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= - dependencies: - remove-trailing-separator "^1.0.1" - -normalize-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -normalize-url@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" - integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== - -npm-bundled@^1.0.1: - version "1.0.6" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" - integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g== - -npm-lifecycle@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/npm-lifecycle/-/npm-lifecycle-2.1.1.tgz#0027c09646f0fd346c5c93377bdaba59c6748fdf" - integrity sha512-+Vg6I60Z75V/09pdcH5iUo/99Q/vop35PaI99elvxk56azSVVsdsSsS/sXqKDNwbRRNN1qSxkcO45ZOu0yOWew== - dependencies: - byline "^5.0.0" - graceful-fs "^4.1.15" - node-gyp "^4.0.0" - resolve-from "^4.0.0" - slide "^1.1.6" - uid-number "0.0.6" - umask "^1.1.0" - which "^1.3.1" - -"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.0.tgz#15ae1e2758a5027efb4c250554b85a737db7fcc1" - integrity sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA== - dependencies: - hosted-git-info "^2.6.0" - osenv "^0.1.5" - semver "^5.5.0" - validate-npm-package-name "^3.0.0" - -npm-packlist@^1.4.1, npm-packlist@^1.4.4: - version "1.4.4" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.4.tgz#866224233850ac534b63d1a6e76050092b5d2f44" - integrity sha512-zTLo8UcVYtDU3gdeaFu2Xu0n0EvelfHDGuqtNIn5RO7yQj4H1TqNdBc/yZjxnWA0PVB8D3Woyp0i5B43JwQ6Vw== - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - -npm-pick-manifest@^2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-2.2.3.tgz#32111d2a9562638bb2c8f2bf27f7f3092c8fae40" - integrity sha512-+IluBC5K201+gRU85vFlUwX3PFShZAbAgDNp2ewJdWMVSppdo/Zih0ul2Ecky/X7b51J7LrrUAP+XOmOCvYZqA== - dependencies: - figgy-pudding "^3.5.1" - npm-package-arg "^6.0.0" - semver "^5.4.1" - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - -"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= - -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - -object-assign@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" - integrity sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I= - -object-assign@^4, object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - -object-component@0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291" - integrity sha1-8MaapQ78lbhmwYb0AKM3acsvEpE= - -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw= - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - -object-keys@^1.0.11, object-keys@^1.0.12: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" - integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== - -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs= - dependencies: - isobject "^3.0.0" - -object.assign@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da" - integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w== - dependencies: - define-properties "^1.1.2" - function-bind "^1.1.1" - has-symbols "^1.0.0" - object-keys "^1.0.11" - -object.defaults@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf" - integrity sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8= - dependencies: - array-each "^1.0.1" - array-slice "^1.0.0" - for-own "^1.0.0" - isobject "^3.0.0" - -object.getownpropertydescriptors@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" - integrity sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY= - dependencies: - define-properties "^1.1.2" - es-abstract "^1.5.1" - -object.map@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object.map/-/object.map-1.0.1.tgz#cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37" - integrity sha1-z4Plncj8wK1fQlDh94s7gb2AHTc= - dependencies: - for-own "^1.0.0" - make-iterator "^1.0.0" - -object.omit@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" - integrity sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo= - dependencies: - for-own "^0.1.4" - is-extendable "^0.1.1" - -object.pick@^1.2.0, object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= - dependencies: - isobject "^3.0.1" - -obuf@^1.0.0, obuf@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" - integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== - -octokit-pagination-methods@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" - integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ== - -on-finished@^2.3.0, on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" - integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= - dependencies: - ee-first "1.1.1" - -on-headers@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" - integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== - -once@^1.3.0, once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= - dependencies: - wrappy "1" - -once@~1.3.0: - version "1.3.3" - resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20" - integrity sha1-suJhVXzkwxTsgwTz+oJmPkKXyiA= - dependencies: - wrappy "1" - -one-time@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/one-time/-/one-time-1.0.0.tgz#e06bc174aed214ed58edede573b433bbf827cb45" - integrity sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g== - dependencies: - fn.name "1.x.x" - -onetime@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" - integrity sha1-ofeDj4MUxRbwXs78vEzP4EtO14k= - -onetime@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" - integrity sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ= - dependencies: - mimic-fn "^1.0.0" - -onetime@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" - integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== - dependencies: - mimic-fn "^2.1.0" - -opn@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/opn/-/opn-3.0.3.tgz#b6d99e7399f78d65c3baaffef1fb288e9b85243a" - integrity sha1-ttmec5n3jWXDuq/+8fsojpuFJDo= - dependencies: - object-assign "^4.0.1" - -orchestrator@^0.3.0: - version "0.3.8" - resolved "https://registry.yarnpkg.com/orchestrator/-/orchestrator-0.3.8.tgz#14e7e9e2764f7315fbac184e506c7aa6df94ad7e" - integrity sha1-FOfp4nZPcxX7rBhOUGx6pt+UrX4= - dependencies: - end-of-stream "~0.1.5" - sequencify "~0.0.7" - stream-consume "~0.1.0" - -ordered-read-streams@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz#fd565a9af8eb4473ba69b6ed8a34352cb552f126" - integrity sha1-/VZamvjrRHO6abbtijQ1LLVS8SY= - -ordered-read-streams@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-0.3.0.tgz#7137e69b3298bb342247a1bbee3881c80e2fd78b" - integrity sha1-cTfmmzKYuzQiR6G77jiByA4v14s= - dependencies: - is-stream "^1.0.1" - readable-stream "^2.0.1" - -os-homedir@^1.0.0, os-homedir@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= - -os-locale@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" - integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== - dependencies: - execa "^1.0.0" - lcid "^2.0.0" - mem "^4.0.0" - -os-name@^3.0.0, os-name@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801" - integrity sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg== - dependencies: - macos-release "^2.2.0" - windows-release "^3.1.0" - -os-shim@^0.1.2: - version "0.1.3" - resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917" - integrity sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc= - -os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.1, os-tmpdir@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= - -osenv@0, osenv@^0.1.0, osenv@^0.1.3, osenv@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - -p-cancelable@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.3.0.tgz#b9e123800bcebb7ac13a479be195b507b98d30fa" - integrity sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw== - -p-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" - integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= - -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= - -p-is-promise@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e" - integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg== - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - -p-limit@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.0.0.tgz#e624ed54ee8c460a778b3c9f3670496ff8a57aec" - integrity sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A== - dependencies: - p-try "^2.0.0" - -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM= - dependencies: - p-limit "^1.1.0" - -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== - dependencies: - p-limit "^2.0.0" - -p-map-series@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-1.0.0.tgz#bf98fe575705658a9e1351befb85ae4c1f07bdca" - integrity sha1-v5j+V1cFZYqeE1G++4WuTB8Hvco= - dependencies: - p-reduce "^1.0.0" - -p-map@^1.1.1, p-map@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" - integrity sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA== - -p-map@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - -p-pipe@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-1.2.0.tgz#4b1a11399a11520a67790ee5a0c1d5881d6befe9" - integrity sha1-SxoROZoRUgpneQ7loMHViB1r7+k= - -p-queue@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-4.0.0.tgz#ed0eee8798927ed6f2c2f5f5b77fdb2061a5d346" - integrity sha512-3cRXXn3/O0o3+eVmUroJPSj/esxoEFIm0ZOno/T+NzG/VZgPOqQ8WKmlNqubSEpZmCIngEy34unkHGg83ZIBmg== - dependencies: - eventemitter3 "^3.1.0" - -p-reduce@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" - integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo= - -p-timeout@^1.1.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-1.2.1.tgz#5eb3b353b7fce99f101a1038880bb054ebbea386" - integrity sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y= - dependencies: - p-finally "^1.0.0" - -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= - -p-try@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.0.0.tgz#85080bb87c64688fa47996fe8f7dfbe8211760b1" - integrity sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ== - -p-try@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -p-waterfall@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-waterfall/-/p-waterfall-1.0.0.tgz#7ed94b3ceb3332782353af6aae11aa9fc235bb00" - integrity sha1-ftlLPOszMngjU69qrhGqn8I1uwA= - dependencies: - p-reduce "^1.0.0" - -package-json@^2.0.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/package-json/-/package-json-2.4.0.tgz#0d15bd67d1cbbddbb2ca222ff2edb86bcb31a8bb" - integrity sha1-DRW9Z9HLvduyyiIv8u24a8sxqLs= - dependencies: - got "^5.0.0" - registry-auth-token "^3.0.1" - registry-url "^3.0.3" - semver "^5.1.0" - -package-json@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" - integrity sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0= - dependencies: - got "^6.7.1" - registry-auth-token "^3.0.1" - registry-url "^3.0.3" - semver "^5.1.0" - -pako@~0.2.0: - version "0.2.9" - resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" - integrity sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU= - -parallel-transform@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.1.0.tgz#d410f065b05da23081fcd10f28854c29bda33b06" - integrity sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY= - dependencies: - cyclist "~0.2.2" - inherits "^2.0.3" - readable-stream "^2.1.5" - -param-case@2.1.x: - version "2.1.1" - resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247" - integrity sha1-35T9jPZTHs915r75oIWPvHK+Ikc= - dependencies: - no-case "^2.2.0" - -parse-filepath@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" - integrity sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE= - dependencies: - is-absolute "^1.0.0" - map-cache "^0.2.0" - path-root "^0.1.1" - -parse-github-repo-url@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" - integrity sha1-nn2LslKmy2ukJZUGC3v23z28H1A= - -parse-glob@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" - integrity sha1-ssN2z7EfNVE7rdFz7wu246OIORw= - dependencies: - glob-base "^0.3.0" - is-dotfile "^1.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.0" - -parse-json@^2.1.0, parse-json@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" - integrity sha1-9ID0BDTvgHQfhGkJn43qGPVaTck= - dependencies: - error-ex "^1.2.0" - -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse-json@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.0.0.tgz#73e5114c986d143efa3712d4ea24db9a4266f60f" - integrity sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - lines-and-columns "^1.1.6" - -parse-node-version@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b" - integrity sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA== - -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= - -parse-path@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff" - integrity sha512-d7yhga0Oc+PwNXDvQ0Jv1BuWkLVPXcAoQ/WREgd6vNNoKYaW52KI+RdOFjI63wjkmps9yUE8VS4veP+AgpQ/hA== - dependencies: - is-ssh "^1.3.0" - protocols "^1.4.0" - -parse-url@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-5.0.1.tgz#99c4084fc11be14141efa41b3d117a96fcb9527f" - integrity sha512-flNUPP27r3vJpROi0/R3/2efgKkyXqnXwyP1KQ2U0SfFRgdizOdWfvrrvJg1LuOoxs7GQhmxJlq23IpQ/BkByg== - dependencies: - is-ssh "^1.3.0" - normalize-url "^3.3.0" - parse-path "^4.0.0" - protocols "^1.4.0" - -parse5@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" - integrity sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA== - -parseqs@0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/parseqs/-/parseqs-0.0.5.tgz#d5208a3738e46766e291ba2ea173684921a8b89d" - integrity sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0= - dependencies: - better-assert "~1.0.0" - -parseuri@0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/parseuri/-/parseuri-0.0.5.tgz#80204a50d4dbb779bfdc6ebe2778d90e4bce320a" - integrity sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo= - dependencies: - better-assert "~1.0.0" - -parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= - -password-prompt@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/password-prompt/-/password-prompt-1.1.2.tgz#85b2f93896c5bd9e9f2d6ff0627fa5af3dc00923" - integrity sha512-bpuBhROdrhuN3E7G/koAju0WjVw9/uQOG5Co5mokNj0MiOSBVZS1JTwM4zl55hu0WFmIEFvO9cU9sJQiBIYeIA== - dependencies: - ansi-escapes "^3.1.0" - cross-spawn "^6.0.5" - -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA= - -path-exists@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" - integrity sha1-D+tsZPD8UY2adU3V77YscCJ2H0s= - dependencies: - pinkie-promise "^2.0.0" - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= - -path-is-inside@^1.0.1, path-is-inside@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= - -path-key@^2.0.0, path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - -path-parse@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" - integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== - -path-root-regex@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" - integrity sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0= - -path-root@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7" - integrity sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc= - dependencies: - path-root-regex "^0.1.0" - -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= - -path-to-regexp@^1.0.1, path-to-regexp@^1.7.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a" - integrity sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA== - dependencies: - isarray "0.0.1" - -path-type@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" - integrity sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE= - dependencies: - graceful-fs "^4.1.2" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -path-type@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" - integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== - dependencies: - pify "^3.0.0" - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -peek-stream@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/peek-stream/-/peek-stream-1.1.3.tgz#3b35d84b7ccbbd262fff31dc10da56856ead6d67" - integrity sha512-FhJ+YbOSBb9/rIl2ZeE/QHEsWn7PqNYt8ARAY3kIgNGOk13g9FGyIY6JIl/xB/3TFRVoTv5as0l11weORrTekA== - dependencies: - buffer-from "^1.0.0" - duplexify "^3.5.0" - through2 "^2.0.3" - -pem@^1.8.3: - version "1.14.4" - resolved "https://registry.yarnpkg.com/pem/-/pem-1.14.4.tgz#a68c70c6e751ccc5b3b5bcd7af78b0aec1177ff9" - integrity sha512-v8lH3NpirgiEmbOqhx0vwQTxwi0ExsiWBGYh0jYNq7K6mQuO4gI6UEFlr6fLAdv9TPXRt6GqiwE37puQdIDS8g== - dependencies: - es6-promisify "^6.0.0" - md5 "^2.2.1" - os-tmpdir "^1.0.1" - which "^2.0.2" - -pend@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" - integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA= - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= - -picomatch@^2.0.5: - version "2.0.7" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6" - integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA== - -picomatch@^2.2.1: - version "2.2.2" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" - integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== - -pify@^2.0.0, pify@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= - -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= - -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o= - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= - -pkg-dir@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" - integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s= - dependencies: - find-up "^2.1.0" - -plist@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/plist/-/plist-2.1.0.tgz#57ccdb7a0821df21831217a3cad54e3e146a1025" - integrity sha1-V8zbeggh3yGDEhejytVOPhRqECU= - dependencies: - base64-js "1.2.0" - xmlbuilder "8.2.2" - xmldom "0.1.x" - -plylog@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/plylog/-/plylog-1.1.0.tgz#f6f354e2ae0b01f6db4ed111f4b3855da9c37417" - integrity sha512-/QnY5aSVaP54va6hruzNtAj02HpsLlAt7V5EndMrtq6ZUTZJKUja43rgiUtGXqm95yrSJjbZoPW0yQQQwLpoJA== - dependencies: - logform "^1.9.1" - winston "^3.0.0" - winston-transport "^4.2.0" - -polymer-analyzer@^3.0.0, polymer-analyzer@^3.1.3, polymer-analyzer@^3.2.2: - version "3.2.4" - resolved "https://registry.yarnpkg.com/polymer-analyzer/-/polymer-analyzer-3.2.4.tgz#7d76356620a2328e8bc9e30e47069f9729260ca1" - integrity sha512-JmxUhMajTuC18tLXbTtu2+aN2x9bTX+4MvCD4IZKJ0rtAL8jWi1iRLfogpHJB4Ig9Dc8EEEuEYipLuzPFl3vqA== - dependencies: - "@babel/generator" "^7.0.0-beta.42" - "@babel/traverse" "^7.0.0-beta.42" - "@babel/types" "^7.0.0-beta.42" - "@types/babel-generator" "^6.25.1" - "@types/babel-traverse" "^6.25.2" - "@types/babel-types" "^6.25.1" - "@types/babylon" "^6.16.2" - "@types/chai-subset" "^1.3.0" - "@types/chalk" "^0.4.30" - "@types/clone" "^0.1.30" - "@types/cssbeautify" "^0.3.1" - "@types/doctrine" "^0.0.1" - "@types/is-windows" "^0.2.0" - "@types/minimatch" "^3.0.1" - "@types/parse5" "^2.2.34" - "@types/path-is-inside" "^1.0.0" - "@types/resolve" "0.0.6" - "@types/whatwg-url" "^6.4.0" - babylon "^7.0.0-beta.42" - cancel-token "^0.1.1" - chalk "^1.1.3" - clone "^2.0.0" - cssbeautify "^0.3.1" - doctrine "^2.0.2" - dom5 "^3.0.0" - indent "0.0.2" - is-windows "^1.0.2" - jsonschema "^1.1.0" - minimatch "^3.0.4" - parse5 "^4.0.0" - path-is-inside "^1.0.2" - resolve "^1.5.0" - shady-css-parser "^0.1.0" - stable "^0.1.6" - strip-indent "^2.0.0" - vscode-uri "=1.0.6" - whatwg-url "^6.4.0" - -polymer-build@^3.1.0, polymer-build@^3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/polymer-build/-/polymer-build-3.1.4.tgz#ab539f1a13d803518b13b73ffd09198431d98142" - integrity sha512-OhTOPG5Y/tK2HqGZ5XA/CVDh+TuOaDv7wTZWXDCg6hxeMgNKuljDMn2coyGU5NLM0pLbS+gwFAc2ZJ5cWHCHNg== - dependencies: - "@babel/core" "^7.0.0" - "@babel/plugin-external-helpers" "^7.0.0" - "@babel/plugin-proposal-async-generator-functions" "^7.0.0" - "@babel/plugin-proposal-object-rest-spread" "^7.0.0" - "@babel/plugin-syntax-async-generators" "^7.0.0" - "@babel/plugin-syntax-dynamic-import" "^7.0.0" - "@babel/plugin-syntax-import-meta" "^7.0.0" - "@babel/plugin-syntax-object-rest-spread" "^7.0.0" - "@babel/plugin-transform-arrow-functions" "^7.0.0" - "@babel/plugin-transform-async-to-generator" "^7.0.0" - "@babel/plugin-transform-block-scoped-functions" "^7.0.0" - "@babel/plugin-transform-block-scoping" "^7.0.0" - "@babel/plugin-transform-classes" "^7.0.0" - "@babel/plugin-transform-computed-properties" "^7.0.0" - "@babel/plugin-transform-destructuring" "^7.0.0" - "@babel/plugin-transform-duplicate-keys" "^7.0.0" - "@babel/plugin-transform-exponentiation-operator" "^7.0.0" - "@babel/plugin-transform-for-of" "^7.0.0" - "@babel/plugin-transform-function-name" "^7.0.0" - "@babel/plugin-transform-instanceof" "^7.0.0" - "@babel/plugin-transform-literals" "^7.0.0" - "@babel/plugin-transform-modules-amd" "^7.0.0" - "@babel/plugin-transform-object-super" "^7.0.0" - "@babel/plugin-transform-parameters" "^7.0.0" - "@babel/plugin-transform-regenerator" "^7.0.0" - "@babel/plugin-transform-shorthand-properties" "^7.0.0" - "@babel/plugin-transform-spread" "^7.0.0" - "@babel/plugin-transform-sticky-regex" "^7.0.0" - "@babel/plugin-transform-template-literals" "^7.0.0" - "@babel/plugin-transform-typeof-symbol" "^7.0.0" - "@babel/plugin-transform-unicode-regex" "^7.0.0" - "@babel/traverse" "^7.0.0" - "@polymer/esm-amd-loader" "^1.0.0" - "@types/babel-types" "^6.25.1" - "@types/babylon" "^6.16.2" - "@types/gulp-if" "0.0.33" - "@types/html-minifier" "^3.5.1" - "@types/is-windows" "^0.2.0" - "@types/mz" "0.0.31" - "@types/parse5" "^2.2.34" - "@types/resolve" "0.0.7" - "@types/uuid" "^3.4.3" - "@types/vinyl" "^2.0.0" - "@types/vinyl-fs" "^2.4.8" - babel-plugin-minify-guarded-expressions "^0.4.3" - babel-preset-minify "^0.5.0" - babylon "^7.0.0-beta.42" - css-slam "^2.1.2" - dom5 "^3.0.0" - gulp-if "^2.0.2" - html-minifier "^3.5.10" - matcher "^1.1.0" - multipipe "^1.0.2" - mz "^2.6.0" - parse5 "^4.0.0" - plylog "^1.0.0" - polymer-analyzer "^3.1.3" - polymer-bundler "^4.0.9" - polymer-project-config "^4.0.3" - regenerator-runtime "^0.11.1" - stream "0.0.2" - sw-precache "^5.1.1" - uuid "^3.2.1" - vinyl "^1.2.0" - vinyl-fs "^2.4.4" - -polymer-bundler@^4.0.9: - version "4.0.10" - resolved "https://registry.yarnpkg.com/polymer-bundler/-/polymer-bundler-4.0.10.tgz#abc8d33977652f031068d034c8104841e80d4cbb" - integrity sha512-nwlN3LQlQDqbZ2sUH3394C/dHZUDHq8tpdS5HARvPDb0Q9IXWD+znOR1cr7wSjF0EZN4LiUH5hWyUoV4QSjhpQ== - dependencies: - "@types/babel-generator" "^6.25.1" - "@types/babel-traverse" "^6.25.3" - babel-generator "^6.26.1" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - clone "^2.1.0" - command-line-args "^5.0.2" - command-line-usage "^5.0.5" - dom5 "^3.0.0" - espree "^3.5.2" - magic-string "^0.22.4" - mkdirp "^0.5.1" - parse5 "^4.0.0" - polymer-analyzer "^3.2.2" - rollup "^1.3.0" - source-map "^0.5.6" - vscode-uri "=1.0.6" - -polymer-cli@1.9.11: - version "1.9.11" - resolved "https://registry.yarnpkg.com/polymer-cli/-/polymer-cli-1.9.11.tgz#0b5310732b787e07b811af96627ef0fd1263f5da" - integrity sha512-tiURjHDCOUUtDVPuVYvrfFI9PXe4OOUmBbn6Sg5GJNQ2POtP7r7hv+I5yI8P9qsxmalHTa19chVtf5/t9IBXDg== - dependencies: - "@octokit/rest" "^16.2.0" - "@types/chalk" "^2.2.0" - "@types/del" "^3.0.0" - "@types/findup-sync" "^0.3.29" - "@types/globby" "^6.1.0" - "@types/inquirer" "0.0.32" - "@types/merge-stream" "^1.0.28" - "@types/mz" "^0.0.31" - "@types/request" "2.0.3" - "@types/resolve" "0.0.4" - "@types/rimraf" "^0.0.28" - "@types/semver" "^5.3.30" - "@types/temp" "^0.8.28" - "@types/update-notifier" "^1.0.0" - "@types/vinyl" "^2.0.0" - "@types/vinyl-fs" "0.0.28" - "@types/yeoman-generator" "^2.0.3" - bower "^1.8.8" - bower-json "^0.8.1" - bower-logger "^0.2.2" - chalk "^2.4.2" - chokidar "^1.7.0" - command-line-args "^5.0.2" - command-line-commands "^2.0.1" - command-line-usage "^5.0.5" - del "^3.0.0" - findup-sync "^0.4.2" - globby "^8.0.1" - gunzip-maybe "^1.3.1" - inquirer "^1.0.2" - merge-stream "^1.0.1" - mz "^2.6.0" - plylog "^1.0.0" - polymer-analyzer "^3.2.2" - polymer-build "^3.1.4" - polymer-bundler "^4.0.9" - polymer-linter "^3.0.0" - polymer-project-config "^4.0.3" - polyserve "^0.27.15" - request "^2.72.0" - rimraf "^2.6.1" - semver "^5.3.0" - tar-fs "^1.12.0" - temp "^0.8.3" - update-notifier "^1.0.0" - validate-element-name "^2.1.1" - vinyl "^1.1.1" - vinyl-fs "^2.4.3" - web-component-tester "^6.9.0" - yeoman-environment "^1.5.2" - yeoman-generator "^3.1.1" - -polymer-linter@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/polymer-linter/-/polymer-linter-3.0.1.tgz#8804e1705fa2a7c263467b8a22da11bb764ee26b" - integrity sha512-eDh2CeswZz4Rwf8gfYXpMN66pieq4qJvP9bH3m39LLGm81hRePo4N5OHoQzR5unen1PUdmtjDv0Iicz3dTYEZQ== - dependencies: - "@types/fast-levenshtein" "0.0.1" - "@types/parse5" "^2.2.34" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - cancel-token "^0.1.1" - css-what "^2.1.0" - dom5 "^3.0.0" - fast-levenshtein "^2.0.6" - parse5 "^4.0.0" - polymer-analyzer "^3.0.0" - shady-css-parser "^0.1.0" - stable "^0.1.6" - strip-indent "^2.0.0" - validate-element-name "^2.1.1" - -polymer-project-config@^4.0.0, polymer-project-config@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/polymer-project-config/-/polymer-project-config-4.0.3.tgz#ef0c1a676ce4809907986c8e910745660de8024f" - integrity sha512-Drr+Imq+znhBC8XSt9pMlmPixoGnIOmleV5SD6mto1zOGC5oCDbSNsQL2v89DWOk+9aSUO79vnWwOmEPDSvYfw== - dependencies: - "@types/parse5" "^2.2.34" - browser-capabilities "^1.0.0" - jsonschema "^1.1.1" - minimatch-all "^1.1.0" - plylog "^1.0.0" - winston "^3.0.0" - -polyserve@^0.27.13, polyserve@^0.27.15: - version "0.27.15" - resolved "https://registry.yarnpkg.com/polyserve/-/polyserve-0.27.15.tgz#261fa5a0873c8d95fd7068598f44c9dac20cf9c4" - integrity sha512-AaFgANt+tUUVgHLw+BnaVYcn649JiwL1ru0TOZUKj1gGGn/Bq2S16gxql+1muGpRaAsgFu13Zu7k5XkwatwwSg== - dependencies: - "@types/compression" "^0.0.33" - "@types/content-type" "^1.1.0" - "@types/escape-html" "0.0.20" - "@types/express" "^4.0.36" - "@types/mime" "^2.0.0" - "@types/mz" "0.0.29" - "@types/opn" "^3.0.28" - "@types/parse5" "^2.2.34" - "@types/pem" "^1.8.1" - "@types/resolve" "0.0.6" - "@types/serve-static" "^1.7.31" - "@types/spdy" "^3.4.1" - bower-config "^1.4.1" - browser-capabilities "^1.0.0" - command-line-args "^5.0.2" - command-line-usage "^5.0.5" - compression "^1.6.2" - content-type "^1.0.2" - cors "^2.8.4" - escape-html "^1.0.3" - express "^4.8.5" - find-port "^1.0.1" - http-proxy-middleware "^0.17.2" - lru-cache "^4.0.2" - mime "^2.3.1" - mz "^2.4.0" - opn "^3.0.2" - pem "^1.8.3" - polymer-build "^3.1.0" - polymer-project-config "^4.0.0" - requirejs "^2.3.4" - resolve "^1.5.0" - send "^0.16.2" - spdy "^3.3.3" - -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= - -prepend-http@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" - integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= - -preserve@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" - integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks= - -pretty-bytes@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9" - integrity sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk= - -pretty-bytes@^5.1.0, pretty-bytes@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.2.0.tgz#96c92c6e95a0b35059253fb33c03e260d40f5a1f" - integrity sha512-ujANBhiUsl9AhREUDUEY1GPOharMGm8x8juS7qOHybcLi7XsKfrYQ88hSly1l2i0klXHTDYrlL8ihMCG55Dc3w== - -pretty-hrtime@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" - integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= - -process-nextick-args@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -process-nextick-args@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" - integrity sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw== - -progress@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" - integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= - -promise-retry@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-1.1.1.tgz#6739e968e3051da20ce6497fb2b50f6911df3d6d" - integrity sha1-ZznpaOMFHaIM5kl/srUPaRHfPW0= - dependencies: - err-code "^1.0.0" - retry "^0.10.0" - -promzard@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - integrity sha1-JqXW7ox97kyxIggwWs+5O6OCqe4= - dependencies: - read "1" - -proto-list@~1.2.1: - version "1.2.4" - resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" - integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= - -protocols@^1.1.0, protocols@^1.4.0: - version "1.4.7" - resolved "https://registry.yarnpkg.com/protocols/-/protocols-1.4.7.tgz#95f788a4f0e979b291ffefcf5636ad113d037d32" - integrity sha512-Fx65lf9/YDn3hUX08XUc0J8rSux36rEsyiv21ZGUC1mOyeM3lTRpZLcrm8aAolzS4itwVfm7TAPyxC2E5zd6xg== - -protoduck@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f" - integrity sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg== - dependencies: - genfun "^5.0.0" - -proxy-addr@~2.0.5: - version "2.0.6" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.6.tgz#fdc2336505447d3f2f2c638ed272caf614bbb2bf" - integrity sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw== - dependencies: - forwarded "~0.1.2" - ipaddr.js "1.9.1" - -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= - -psl@^1.1.24: - version "1.2.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.2.0.tgz#df12b5b1b3a30f51c329eacbdef98f3a6e136dc6" - integrity sha512-GEn74ZffufCmkDDLNcl3uuyF/aSD6exEyh1v/ZSdAomB82t6G9hzJVRx0jBmLDW+VfZqks3aScmMw9DszwUalA== - -psl@^1.1.28: - version "1.8.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" - integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== - -pump@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954" - integrity sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" - integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pumpify@^1.3.3: - version "1.5.1" - resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce" - integrity sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ== - dependencies: - duplexify "^3.6.0" - inherits "^2.0.3" - pump "^2.0.0" - -punycode@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= - -punycode@^2.1.0, punycode@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - -q@^1.4.1, q@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" - integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= - -qqjs@^0.3.10: - version "0.3.10" - resolved "https://registry.yarnpkg.com/qqjs/-/qqjs-0.3.10.tgz#ae3af7cb4c424242db4aa9b92c42d29fa9101562" - integrity sha1-rjr3y0xCQkLbSqm5LELSn6kQFWI= - dependencies: - chalk "^2.4.1" - debug "^3.1.0" - execa "^0.10.0" - fs-extra "^6.0.1" - get-stream "^3.0.0" - glob "^7.1.2" - globby "^8.0.1" - http-call "^5.1.2" - load-json-file "^5.0.0" - pkg-dir "^2.0.0" - tar-fs "^1.16.2" - tmp "^0.0.33" - write-json-file "^2.3.0" - -qs@6.7.0: - version "6.7.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" - integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== - -qs@~6.5.2: - version "6.5.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" - integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== - -quick-lru@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" - integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= - -randomatic@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" - integrity sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw== - dependencies: - is-number "^4.0.0" - kind-of "^6.0.0" - math-random "^1.0.1" - -range-parser@~1.2.0, range-parser@~1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== - -raw-body@2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332" - integrity sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q== - dependencies: - bytes "3.1.0" - http-errors "1.7.2" - iconv-lite "0.4.24" - unpipe "1.0.0" - -rc@^1.0.1, rc@^1.1.6: - version "1.2.8" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" - integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== - dependencies: - deep-extend "^0.6.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - -read-all-stream@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/read-all-stream/-/read-all-stream-3.1.0.tgz#35c3e177f2078ef789ee4bfafa4373074eaef4fa" - integrity sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po= - dependencies: - pinkie-promise "^2.0.0" - readable-stream "^2.0.0" - -read-chunk@^3.0.0, read-chunk@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/read-chunk/-/read-chunk-3.2.0.tgz#2984afe78ca9bfbbdb74b19387bf9e86289c16ca" - integrity sha512-CEjy9LCzhmD7nUpJ1oVOE6s/hBkejlcJEgLQHVnQznOSilOPb+kpKktlLfFDK3/WP43+F80xkUTM2VOkYoSYvQ== - dependencies: - pify "^4.0.1" - with-open-file "^0.1.6" - -read-cmd-shim@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz#2d5d157786a37c055d22077c32c53f8329e91c7b" - integrity sha1-LV0Vd4ajfAVdIgd8MsU/gynpHHs= - dependencies: - graceful-fs "^4.1.2" - -"read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13: - version "2.0.13" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.0.13.tgz#2e82ebd9f613baa6d2ebe3aa72cefe3f68e41f4a" - integrity sha512-/1dZ7TRZvGrYqE0UAfN6qQb5GYBsNcqS1C0tNK601CFOJmtHI7NIGXwetEPU/OtoFHZL3hDxm4rolFFVE9Bnmg== - dependencies: - glob "^7.1.1" - json-parse-better-errors "^1.0.1" - normalize-package-data "^2.0.0" - slash "^1.0.0" - optionalDependencies: - graceful-fs "^4.1.2" - -read-package-tree@^5.1.6: - version "5.3.1" - resolved "https://registry.yarnpkg.com/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636" - integrity sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw== - dependencies: - read-package-json "^2.0.0" - readdir-scoped-modules "^1.0.0" - util-promisify "^2.1.0" - -read-pkg-up@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" - integrity sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI= - dependencies: - find-up "^1.0.0" - read-pkg "^1.0.0" - -read-pkg-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" - integrity sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc= - dependencies: - find-up "^2.0.0" - read-pkg "^3.0.0" - -read-pkg-up@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" - integrity sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA== - dependencies: - find-up "^3.0.0" - read-pkg "^3.0.0" - -read-pkg-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-5.0.0.tgz#b6a6741cb144ed3610554f40162aa07a6db621b8" - integrity sha512-XBQjqOBtTzyol2CpsQOw8LHV0XbDZVG7xMMjmXAJomlVY03WOBRmYgDJETlvcg0H63AJvPRwT7GFi5rvOzUOKg== - dependencies: - find-up "^3.0.0" - read-pkg "^5.0.0" - -read-pkg@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" - integrity sha1-9f+qXs0pyzHAR0vKfXVra7KePyg= - dependencies: - load-json-file "^1.0.0" - normalize-package-data "^2.3.2" - path-type "^1.0.0" - -read-pkg@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - integrity sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k= - dependencies: - load-json-file "^4.0.0" - normalize-package-data "^2.3.2" - path-type "^3.0.0" - -read-pkg@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" - integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== - dependencies: - "@types/normalize-package-data" "^2.4.0" - normalize-package-data "^2.5.0" - parse-json "^5.0.0" - type-fest "^0.6.0" - -read@1, read@~1.0.1: - version "1.0.7" - resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" - integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ= - dependencies: - mute-stream "~0.0.4" - -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" - integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@1.1.x, readable-stream@~1.1.9: - version "1.1.14" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" - integrity sha1-fPTFTvZI44EwhMY23SB54WbAgdk= - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -"readable-stream@2 || 3", readable-stream@^3.0.2: - version "3.4.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc" - integrity sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -"readable-stream@>=1.0.33-1 <1.1.0-0": - version "1.0.34" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" - integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw= - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -readable-stream@^2.0.1, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.2.9, readable-stream@^2.3.7: - version "2.3.7" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@^3.1.1, readable-stream@^3.4.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readdir-scoped-modules@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" - integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== - dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - graceful-fs "^4.1.2" - once "^1.3.0" - -readdirp@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" - integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== - dependencies: - graceful-fs "^4.1.11" - micromatch "^3.1.10" - readable-stream "^2.0.2" - -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= - dependencies: - resolve "^1.1.6" - -redent@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde" - integrity sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94= - dependencies: - indent-string "^2.1.0" - strip-indent "^1.0.1" - -redent@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-2.0.0.tgz#c1b2007b42d57eb1389079b3c8333639d5e1ccaa" - integrity sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo= - dependencies: - indent-string "^3.0.0" - strip-indent "^2.0.0" - -redeyed@~2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" - integrity sha1-iYS1gV2ZyyIEacme7v/jiRPmzAs= - dependencies: - esprima "~4.0.0" - -reduce-flatten@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/reduce-flatten/-/reduce-flatten-1.0.1.tgz#258c78efd153ddf93cb561237f61184f3696e327" - integrity sha1-JYx479FT3fk8tWEjf2EYTzaW4yc= - -regenerate-unicode-properties@^8.2.0: - version "8.2.0" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec" - integrity sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA== - dependencies: - regenerate "^1.4.0" - -regenerate@^1.4.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.1.tgz#cad92ad8e6b591773485fbe05a485caf4f457e6f" - integrity sha512-j2+C8+NtXQgEKWk49MMP5P/u2GhnahTtVkRIHr5R5lVRlbKvmQ+oS+A5aLKWp2ma5VkT8sh6v+v4hbH0YHR66A== - -regenerator-runtime@^0.11.0, regenerator-runtime@^0.11.1: - version "0.11.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" - integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== - -regenerator-runtime@^0.13.4: - version "0.13.5" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" - integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== - -regenerator-transform@^0.14.2: - version "0.14.5" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.5.tgz#c98da154683671c9c4dcb16ece736517e1b7feb4" - integrity sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw== - dependencies: - "@babel/runtime" "^7.8.4" - -regex-cache@^0.4.2: - version "0.4.4" - resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" - integrity sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ== - dependencies: - is-equal-shallow "^0.1.3" - -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - -regexpu-core@^4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.7.0.tgz#fcbf458c50431b0bb7b45d6967b8192d91f3d938" - integrity sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ== - dependencies: - regenerate "^1.4.0" - regenerate-unicode-properties "^8.2.0" - regjsgen "^0.5.1" - regjsparser "^0.6.4" - unicode-match-property-ecmascript "^1.0.4" - unicode-match-property-value-ecmascript "^1.2.0" - -registry-auth-token@^3.0.1: - version "3.4.0" - resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.4.0.tgz#d7446815433f5d5ed6431cd5dca21048f66b397e" - integrity sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A== - dependencies: - rc "^1.1.6" - safe-buffer "^5.0.1" - -registry-url@^3.0.3: - version "3.1.0" - resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" - integrity sha1-PU74cPc93h138M+aOBQyRE4XSUI= - dependencies: - rc "^1.0.1" - -regjsgen@^0.5.1: - version "0.5.2" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.2.tgz#92ff295fb1deecbf6ecdab2543d207e91aa33733" - integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A== - -regjsparser@^0.6.4: - version "0.6.4" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.6.4.tgz#a769f8684308401a66e9b529d2436ff4d0666272" - integrity sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw== - dependencies: - jsesc "~0.5.0" - -relateurl@0.2.x: - version "0.2.7" - resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" - integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= - -remove-trailing-separator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= - -repeat-element@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" - integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g== - -repeat-string@^1.5.2, repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= - -repeating@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" - integrity sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo= - dependencies: - is-finite "^1.0.0" - -replace-ext@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924" - integrity sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ= - -replace-ext@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" - integrity sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs= - -request@2.88.0, request@^2.87.0: - version "2.88.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" - integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.0" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.4.3" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - -request@2.88.2, request@^2.72.0, request@^2.85.0: - version "2.88.2" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" - integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.3" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.5.0" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= - -require-main-filename@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" - integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= - -requirejs@^2.3.4: - version "2.3.6" - resolved "https://registry.yarnpkg.com/requirejs/-/requirejs-2.3.6.tgz#e5093d9601c2829251258c0b9445d4d19fa9e7c9" - integrity sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg== - -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= - -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - integrity sha1-AKn3OHVW4nA46uIyyqNypqWbZlo= - dependencies: - resolve-from "^3.0.0" - -resolve-dir@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-0.1.1.tgz#b219259a5602fac5c5c496ad894a6e8cc430261e" - integrity sha1-shklmlYC+sXFxJatiUpujMQwJh4= - dependencies: - expand-tilde "^1.2.2" - global-modules "^0.2.3" - -resolve-dir@^1.0.0, resolve-dir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= - dependencies: - expand-tilde "^2.0.0" - global-modules "^1.0.0" - -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - integrity sha1-six699nWiBvItuZTM17rywoYh0g= - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== - -resolve-url@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= - -resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0: - version "1.11.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e" - integrity sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw== - dependencies: - path-parse "^1.0.6" - -resolve@^1.3.2, resolve@^1.5.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" - integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== - dependencies: - path-parse "^1.0.6" - -restore-cursor@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" - integrity sha1-NGYfRohjJ/7SmRR5FSJS35LapUE= - dependencies: - exit-hook "^1.0.0" - onetime "^1.0.0" - -restore-cursor@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" - integrity sha1-n37ih/gv0ybU/RYpI9YhKe7g368= - dependencies: - onetime "^2.0.0" - signal-exit "^3.0.2" - -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== - -retry@^0.10.0: - version "0.10.1" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4" - integrity sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q= - -reusify@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" - integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== - -rimraf@2, rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.3, rimraf@~2.6.2: - version "2.6.3" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" - integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== - dependencies: - glob "^7.1.3" - -rimraf@^2.6.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - -rimraf@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" - integrity sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w== - dependencies: - glob "^7.0.5" - -rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - -rollup@^1.3.0: - version "1.32.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.32.1.tgz#4480e52d9d9e2ae4b46ba0d9ddeaf3163940f9c4" - integrity sha512-/2HA0Ec70TvQnXdzynFffkjA6XN+1e2pEv/uKS5Ulca40g2L7KuOE3riasHoNVHOsFD5KKZgDsMk1CP3Tw9s+A== - dependencies: - "@types/estree" "*" - "@types/node" "*" - acorn "^7.1.0" - -run-async@^2.0.0, run-async@^2.2.0, run-async@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" - integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA= - dependencies: - is-promise "^2.1.0" - -run-async@^2.4.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" - integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== - -run-parallel@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679" - integrity sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q== - -run-queue@^1.0.0, run-queue@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" - integrity sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec= - dependencies: - aproba "^1.1.1" - -rx@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" - integrity sha1-pfE/957zt0D+MKqAP7CfmIBdR4I= - -rxjs@^6.3.3, rxjs@^6.4.0: - version "6.5.2" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.2.tgz#2e35ce815cd46d84d02a209fb4e5921e051dbec7" - integrity sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg== - dependencies: - tslib "^1.9.0" - -rxjs@^6.6.0: - version "6.6.0" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.0.tgz#af2901eedf02e3a83ffa7f886240ff9018bbec84" - integrity sha512-3HMA8z/Oz61DUHe+SdOiQyzIf4tOx5oQHmMir7IZEu6TMqCLHT4LRcmNaUS0NwOz8VLvmmBduMsoaUvMaIiqzg== - dependencies: - tslib "^1.9.0" - -safe-buffer@5.1.2, safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-buffer@^5.1.2, safe-buffer@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" - integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== - -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha1-QKNmnzsHfR6UPURinhV91IAjvy4= - dependencies: - ret "~0.1.10" - -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -samsam@1.x, samsam@^1.1.3: - version "1.3.0" - resolved "https://registry.yarnpkg.com/samsam/-/samsam-1.3.0.tgz#8d1d9350e25622da30de3e44ba692b5221ab7c50" - integrity sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg== - -sauce-connect-launcher@^1.0.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/sauce-connect-launcher/-/sauce-connect-launcher-1.3.2.tgz#dfc675a258550809a8eaf457eb9162b943ddbaf0" - integrity sha512-wf0coUlidJ7rmeClgVVBh6Kw55/yalZCY/Un5RgjSnTXRAeGqagnTsTYpZaqC4dCtrY4myuYpOAZXCdbO7lHfQ== - dependencies: - adm-zip "~0.4.3" - async "^2.1.2" - https-proxy-agent "^5.0.0" - lodash "^4.16.6" - rimraf "^2.5.4" - -scoped-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/scoped-regex/-/scoped-regex-1.0.0.tgz#a346bb1acd4207ae70bd7c0c7ca9e566b6baddb8" - integrity sha1-o0a7Gs1CB65wvXwMfKnlZra63bg= - -select-hose@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= - -selenium-standalone@^6.7.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/selenium-standalone/-/selenium-standalone-6.18.0.tgz#011e0672b1b86893f77244a86ddea1b6baadfb87" - integrity sha512-JfuJZoPPhnRuOXPM60wElwzzf3f92VkHa/W1f0QLBxSMKy6K/CTICfPo75aSro8X5wf6pa2npjD/CQmZjUqsoA== - dependencies: - async "^2.6.2" - commander "^2.19.0" - cross-spawn "^6.0.5" - debug "^4.1.1" - lodash "^4.17.11" - minimist "^1.2.0" - mkdirp "^0.5.1" - progress "2.0.3" - request "2.88.2" - tar-stream "2.1.3" - urijs "^1.19.1" - which "^1.3.1" - yauzl "^2.10.0" - -semver-diff@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" - integrity sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY= - dependencies: - semver "^5.0.3" - -"semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.5.1: - version "5.5.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.1.tgz#7dfdd8814bdb7cabc7be0fb1d734cfb66c940477" - integrity sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw== - -"semver@2.x || 3.x || 4 || 5", semver@^5.4.1, semver@^5.6.0, semver@^5.7.0: - version "5.7.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" - integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== - -semver@^4.1.0: - version "4.3.6" - resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da" - integrity sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto= - -semver@^5.0.3, semver@^5.1.0, semver@^5.3.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -semver@^6.0.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db" - integrity sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A== - -semver@~5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" - integrity sha1-myzl094C0XxgEq0yaqa00M9U+U8= - -send@0.17.1: - version "0.17.1" - resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" - integrity sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg== - dependencies: - debug "2.6.9" - depd "~1.1.2" - destroy "~1.0.4" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "~1.7.2" - mime "1.6.0" - ms "2.1.1" - on-finished "~2.3.0" - range-parser "~1.2.1" - statuses "~1.5.0" - -send@^0.16.1, send@^0.16.2: - version "0.16.2" - resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1" - integrity sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw== - dependencies: - debug "2.6.9" - depd "~1.1.2" - destroy "~1.0.4" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "~1.6.2" - mime "1.4.1" - ms "2.0.0" - on-finished "~2.3.0" - range-parser "~1.2.0" - statuses "~1.4.0" - -sequencify@~0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/sequencify/-/sequencify-0.0.7.tgz#90cff19d02e07027fd767f5ead3e7b95d1e7380c" - integrity sha1-kM/xnQLgcCf9dn9erT57ldHnOAw= - -serve-static@1.14.1: - version "1.14.1" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9" - integrity sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg== - dependencies: - encodeurl "~1.0.2" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "0.17.1" - -server-destroy@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/server-destroy/-/server-destroy-1.0.1.tgz#f13bf928e42b9c3e79383e61cc3998b5d14e6cdd" - integrity sha1-8Tv5KOQrnD55OD5hzDmYtdFObN0= - -serviceworker-cache-polyfill@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/serviceworker-cache-polyfill/-/serviceworker-cache-polyfill-4.0.0.tgz#de19ee73bef21ab3c0740a37b33db62464babdeb" - integrity sha1-3hnuc77yGrPAdAo3sz22JGS6ves= - -set-blocking@^2.0.0, set-blocking@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= - -set-value@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" - integrity sha1-fbCPnT0i3H945Trzw79GZuzfzPE= - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.1" - to-object-path "^0.3.0" - -set-value@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" - integrity sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg== - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - -setprototypeof@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" - integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== - -setprototypeof@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" - integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== - -shady-css-parser@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/shady-css-parser/-/shady-css-parser-0.1.0.tgz#534dc79c8ca5884c5ed92a4e5a13d6d863bca428" - integrity sha512-irfJUUkEuDlNHKZNAp2r7zOyMlmbfVJ+kWSfjlCYYUx/7dJnANLCyTzQZsuxy5NJkvtNwSxY5Gj8MOlqXUQPyA== - -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.0.0" - -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= - -shelljs@^0.8.0, shelljs@^0.8.3: - version "0.8.3" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097" - integrity sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -sigmund@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" - integrity sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA= - -signal-exit@^3.0.0, signal-exit@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - -simple-swizzle@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" - integrity sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo= - dependencies: - is-arrayish "^0.3.1" - -sinon-chai@^2.10.0: - version "2.14.0" - resolved "https://registry.yarnpkg.com/sinon-chai/-/sinon-chai-2.14.0.tgz#da7dd4cc83cd6a260b67cca0f7a9fdae26a1205d" - integrity sha512-9stIF1utB0ywNHNT7RgiXbdmen8QDCRsrTjw+G9TgKt1Yexjiv8TOWZ6WHsTPz57Yky3DIswZvEqX8fpuHNDtQ== - -sinon@^2.3.5: - version "2.4.1" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-2.4.1.tgz#021fd64b54cb77d9d2fb0d43cdedfae7629c3a36" - integrity sha512-vFTrO9Wt0ECffDYIPSP/E5bBugt0UjcBQOfQUMh66xzkyPEnhl/vM2LRZi2ajuTdkH07sA6DzrM6KvdvGIH8xw== - dependencies: - diff "^3.1.0" - formatio "1.2.0" - lolex "^1.6.0" - native-promise-only "^0.8.1" - path-to-regexp "^1.7.0" - samsam "^1.1.3" - text-encoding "0.6.4" - type-detect "^4.0.0" - -slash@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" - integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU= - -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - -slash@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -slice-ansi@0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" - integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= - -slide@^1.1.5, slide@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" - integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc= - -smart-buffer@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.2.tgz#5207858c3815cc69110703c6b94e46c15634395d" - integrity sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw== - -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - -socket.io-adapter@~1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz#ab3f0d6f66b8fc7fca3959ab5991f82221789be9" - integrity sha512-WzZRUj1kUjrTIrUKpZLEzFZ1OLj5FwLlAFQs9kuZJzJi5DKdU7FsWc36SNmA8iDOtwBQyT8FkrriRM8vXLYz8g== - -socket.io-client@2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.3.0.tgz#14d5ba2e00b9bcd145ae443ab96b3f86cbcc1bb4" - integrity sha512-cEQQf24gET3rfhxZ2jJ5xzAOo/xhZwK+mOqtGRg5IowZsMgwvHwnf/mCRapAAkadhM26y+iydgwsXGObBB5ZdA== - dependencies: - backo2 "1.0.2" - base64-arraybuffer "0.1.5" - component-bind "1.0.0" - component-emitter "1.2.1" - debug "~4.1.0" - engine.io-client "~3.4.0" - has-binary2 "~1.0.2" - has-cors "1.1.0" - indexof "0.0.1" - object-component "0.0.3" - parseqs "0.0.5" - parseuri "0.0.5" - socket.io-parser "~3.3.0" - to-array "0.1.4" - -socket.io-parser@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.3.0.tgz#2b52a96a509fdf31440ba40fed6094c7d4f1262f" - integrity sha512-hczmV6bDgdaEbVqhAeVMM/jfUfzuEZHsQg6eOmLgJht6G3mPKMxYm75w2+qhAQZ+4X+1+ATZ+QFKeOZD5riHng== - dependencies: - component-emitter "1.2.1" - debug "~3.1.0" - isarray "2.0.1" - -socket.io-parser@~3.4.0: - version "3.4.1" - resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.4.1.tgz#b06af838302975837eab2dc980037da24054d64a" - integrity sha512-11hMgzL+WCLWf1uFtHSNvliI++tcRUWdoeYuwIl+Axvwy9z2gQM+7nJyN3STj1tLj5JyIUH8/gpDGxzAlDdi0A== - dependencies: - component-emitter "1.2.1" - debug "~4.1.0" - isarray "2.0.1" - -socket.io@^2.0.3: - version "2.3.0" - resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-2.3.0.tgz#cd762ed6a4faeca59bc1f3e243c0969311eb73fb" - integrity sha512-2A892lrj0GcgR/9Qk81EaY2gYhCBxurV0PfmmESO6p27QPrUK1J3zdns+5QPqvUYK2q657nSj0guoIil9+7eFg== - dependencies: - debug "~4.1.0" - engine.io "~3.4.0" - has-binary2 "~1.0.2" - socket.io-adapter "~1.1.0" - socket.io-client "2.3.0" - socket.io-parser "~3.4.0" - -socks-proxy-agent@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386" - integrity sha512-NT6syHhI9LmuEMSK6Kd2V7gNv5KFZoLE7V5udWmn0de+3Mkj3UMA/AJPLyeNUVmElCurSHtUdM3ETpR3z770Wg== - dependencies: - agent-base "~4.2.1" - socks "~2.3.2" - -socks@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.3.2.tgz#ade388e9e6d87fdb11649c15746c578922a5883e" - integrity sha512-pCpjxQgOByDHLlNqlnh/mNSAxIUkyBBuwwhTcV+enZGbDaClPvHdvm6uvOwZfFJkam7cGhBNbb4JxiP8UZkRvQ== - dependencies: - ip "^1.1.5" - smart-buffer "4.0.2" - -sort-keys-length@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/sort-keys-length/-/sort-keys-length-1.0.1.tgz#9cb6f4f4e9e48155a6aa0671edd336ff1479a188" - integrity sha1-nLb09OnkgVWmqgZx7dM2/xR5oYg= - dependencies: - sort-keys "^1.0.0" - -sort-keys@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad" - integrity sha1-RBttTTRnmPG05J6JIK37oOVD+a0= - dependencies: - is-plain-obj "^1.0.0" - -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - integrity sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg= - dependencies: - is-plain-obj "^1.0.0" - -source-map-resolve@^0.5.0: - version "0.5.2" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" - integrity sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA== - dependencies: - atob "^2.1.1" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" - -source-map-support@~0.5.12: - version "0.5.19" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" - integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-url@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" - integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= - -source-map@^0.5.0, source-map@^0.5.6, source-map@^0.5.7: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -sparkles@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/sparkles/-/sparkles-1.0.1.tgz#008db65edce6c50eec0c5e228e1945061dd0437c" - integrity sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw== - -spawn-sync@^1.0.15: - version "1.0.15" - resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.15.tgz#b00799557eb7fb0c8376c29d44e8a1ea67e57476" - integrity sha1-sAeZVX63+wyDdsKdROih6mfldHY= - dependencies: - concat-stream "^1.4.7" - os-shim "^0.1.2" - -spdx-correct@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.0.1.tgz#434434ff9d1726b4d9f4219d1004813d80639e30" - integrity sha512-hxSPZbRZvSDuOvADntOElzJpenIR7wXJkuoUcUtS0erbgt2fgeaoPIYretfKpslMhfFDY4k0MZ2F5CUzhBsSvQ== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz#2c7ae61056c714a5b9b9b2b2af7d311ef5c78fe9" - integrity sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg== - -spdx-expression-parse@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" - integrity sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg== - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz#e2a303236cac54b04031fa7a5a79c7e701df852f" - integrity sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w== - -spdy-transport@^2.0.18: - version "2.1.1" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-2.1.1.tgz#c54815d73858aadd06ce63001e7d25fa6441623b" - integrity sha512-q7D8c148escoB3Z7ySCASadkegMmUZW8Wb/Q1u0/XBgDKMO880rLQDj8Twiew/tYi7ghemKUi/whSYOwE17f5Q== - dependencies: - debug "^2.6.8" - detect-node "^2.0.3" - hpack.js "^2.1.6" - obuf "^1.1.1" - readable-stream "^2.2.9" - safe-buffer "^5.0.1" - wbuf "^1.7.2" - -spdy@^3.3.3: - version "3.4.7" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-3.4.7.tgz#42ff41ece5cc0f99a3a6c28aabb73f5c3b03acbc" - integrity sha1-Qv9B7OXMD5mjpsKKq7c/XDsDrLw= - dependencies: - debug "^2.6.8" - handle-thing "^1.2.5" - http-deceiver "^1.2.7" - safe-buffer "^5.0.1" - select-hose "^2.0.0" - spdy-transport "^2.0.18" - -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== - dependencies: - extend-shallow "^3.0.0" - -split2@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/split2/-/split2-2.2.0.tgz#186b2575bcf83e85b7d18465756238ee4ee42493" - integrity sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw== - dependencies: - through2 "^2.0.2" - -split@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" - integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== - dependencies: - through "2" - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= - -sshpk@^1.7.0: - version "1.16.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" - integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - -ssri@^6.0.0, ssri@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8" - integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA== - dependencies: - figgy-pudding "^3.5.1" - -stable@^0.1.6: - version "0.1.8" - resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" - integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== - -stack-trace@0.0.x: - version "0.0.10" - resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" - integrity sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA= - -stacky@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/stacky/-/stacky-1.3.1.tgz#3f117e5187b9a73d23f876d69f05c85b11804a12" - integrity sha1-PxF+UYe5pz0j+HbWnwXIWxGAShI= - dependencies: - chalk "^1.1.1" - lodash "^3.0.0" - -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY= - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - -"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@~1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= - -statuses@~1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" - integrity sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew== - -stdout-stderr@^0.1.9: - version "0.1.9" - resolved "https://registry.yarnpkg.com/stdout-stderr/-/stdout-stderr-0.1.9.tgz#9b48ee04eff955ee07776e27125d5524d9d02f57" - integrity sha1-m0juBO/5Ve4Hd24nEl1VJNnQL1c= - dependencies: - debug "^3.1.0" - strip-ansi "^4.0.0" - -stream-consume@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/stream-consume/-/stream-consume-0.1.1.tgz#d3bdb598c2bd0ae82b8cac7ac50b1107a7996c48" - integrity sha512-tNa3hzgkjEP7XbCkbRXe1jpg+ievoa0O4SCFlMOYEscGSS4JJsckGL8swUyAa/ApGU3Ae4t6Honor4HhL+tRyg== - -stream-each@^1.1.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" - integrity sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw== - dependencies: - end-of-stream "^1.1.0" - stream-shift "^1.0.0" - -stream-shift@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" - integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI= - -stream@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/stream/-/stream-0.0.2.tgz#7f5363f057f6592c5595f00bc80a27f5cec1f0ef" - integrity sha1-f1Nj8Ff2WSxVlfALyAon9c7B8O8= - dependencies: - emitter-component "^1.1.1" - -streamsearch@0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a" - integrity sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo= - -string-template@~0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/string-template/-/string-template-0.2.1.tgz#42932e598a352d01fc22ec3367d9d84eec6c9add" - integrity sha1-QpMuWYo1LQH8IuwzZ9nYTuxsmt0= - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string-width@^3.0.0, string-width@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - -string-width@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" - integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.0" - -string_decoder@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" - integrity sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w== - dependencies: - safe-buffer "~5.1.0" - -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ= - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= - dependencies: - ansi-regex "^2.0.0" - -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= - dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.0.0, strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-ansi@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" - integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== - dependencies: - ansi-regex "^5.0.0" - -strip-ansi@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-0.1.1.tgz#39e8a98d044d150660abe4a6808acf70bb7bc991" - integrity sha1-OeipjQRNFQZgq+SmgIrPcLt7yZE= - -strip-bom-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz#e7144398577d51a6bed0fa1994fa05f43fd988ee" - integrity sha1-5xRDmFd9Uaa+0PoZlPoF9D/ZiO4= - dependencies: - first-chunk-stream "^1.0.0" - strip-bom "^2.0.0" - -strip-bom-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz#f87db5ef2613f6968aa545abfe1ec728b6a829ca" - integrity sha1-+H217yYT9paKpUWr/h7HKLaoKco= - dependencies: - first-chunk-stream "^2.0.0" - strip-bom "^2.0.0" - -strip-bom@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-1.0.0.tgz#85b8862f3844b5a6d5ec8467a93598173a36f794" - integrity sha1-hbiGLzhEtabV7IRnqTWYFzo295Q= - dependencies: - first-chunk-stream "^1.0.0" - is-utf8 "^0.2.0" - -strip-bom@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" - integrity sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4= - dependencies: - is-utf8 "^0.2.0" - -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= - -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - -strip-indent@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" - integrity sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI= - dependencies: - get-stdin "^4.0.1" - -strip-indent@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" - integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= - -strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= - -strong-log-transformer@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" - integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== - dependencies: - duplexer "^0.1.1" - minimist "^1.2.0" - through "^2.3.4" - -supports-color@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= - -supports-color@^5.0.0, supports-color@^5.3.0, supports-color@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - -supports-color@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" - integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== - dependencies: - has-flag "^4.0.0" - -supports-hyperlinks@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-1.0.1.tgz#71daedf36cc1060ac5100c351bb3da48c29c0ef7" - integrity sha512-HHi5kVSefKaJkGYXbDuKbUGRVxqnWGn3J2e39CYcNJEfWciGq2zYtOhXLTlvrOZW1QU7VX67w7fMmWafHX9Pfw== - dependencies: - has-flag "^2.0.0" - supports-color "^5.0.0" - -sw-precache@^5.1.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/sw-precache/-/sw-precache-5.2.1.tgz#06134f319eec68f3b9583ce9a7036b1c119f7179" - integrity sha512-8FAy+BP/FXE+ILfiVTt+GQJ6UEf4CVHD9OfhzH0JX+3zoy2uFk7Vn9EfXASOtVmmIVbL3jE/W8Z66VgPSZcMhw== - dependencies: - dom-urls "^1.1.0" - es6-promise "^4.0.5" - glob "^7.1.1" - lodash.defaults "^4.2.0" - lodash.template "^4.4.0" - meow "^3.7.0" - mkdirp "^0.5.1" - pretty-bytes "^4.0.2" - sw-toolbox "^3.4.0" - update-notifier "^2.3.0" - -sw-toolbox@^3.4.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/sw-toolbox/-/sw-toolbox-3.6.0.tgz#26df1d1c70348658e4dea2884319149b7b3183b5" - integrity sha1-Jt8dHHA0hljk3qKIQxkUm3sxg7U= - dependencies: - path-to-regexp "^1.0.1" - serviceworker-cache-polyfill "^4.0.0" - -symbol-observable@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" - integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== - -table-layout@^0.4.3: - version "0.4.5" - resolved "https://registry.yarnpkg.com/table-layout/-/table-layout-0.4.5.tgz#d906de6a25fa09c0c90d1d08ecd833ecedcb7378" - integrity sha512-zTvf0mcggrGeTe/2jJ6ECkJHAQPIYEwDoqsiqBjI24mvRmQbInK5jq33fyypaCBxX08hMkfmdOqj6haT33EqWw== - dependencies: - array-back "^2.0.0" - deep-extend "~0.6.0" - lodash.padend "^4.6.1" - typical "^2.6.1" - wordwrapjs "^3.0.0" - -tar-fs@^1.12.0, tar-fs@^1.16.2: - version "1.16.3" - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-1.16.3.tgz#966a628841da2c4010406a82167cbd5e0c72d509" - integrity sha512-NvCeXpYx7OsmOh8zIOP/ebG55zZmxLE0etfWRbWok+q2Qo8x/vOR/IJT1taADXPe+jsiu9axDb3X4B+iIgNlKw== - dependencies: - chownr "^1.0.1" - mkdirp "^0.5.1" - pump "^1.0.0" - tar-stream "^1.1.2" - -tar-stream@2.1.3, tar-stream@^2.1.0: - version "2.1.3" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.3.tgz#1e2022559221b7866161660f118255e20fa79e41" - integrity sha512-Z9yri56Dih8IaK8gncVPx4Wqt86NDmQTSh49XLZgjWpGZL9GK9HKParS2scqHCC4w6X9Gh2jwaU45V47XTKwVA== - dependencies: - bl "^4.0.1" - end-of-stream "^1.4.1" - fs-constants "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.1.1" - -tar-stream@^1.1.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555" - integrity sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A== - dependencies: - bl "^1.0.0" - buffer-alloc "^1.2.0" - end-of-stream "^1.0.0" - fs-constants "^1.0.0" - readable-stream "^2.3.0" - to-buffer "^1.1.1" - xtend "^4.0.0" - -tar@^4.4.10, tar@^4.4.8: - version "4.4.10" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.10.tgz#946b2810b9a5e0b26140cf78bea6b0b0d689eba1" - integrity sha512-g2SVs5QIxvo6OLp0GudTqEf05maawKUxXru104iaayWA09551tFCTI8f1Asb4lPfkBr91k07iL4c11XO3/b0tA== - dependencies: - chownr "^1.1.1" - fs-minipass "^1.2.5" - minipass "^2.3.5" - minizlib "^1.2.1" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.3" - -temp-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" - integrity sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0= - -temp-write@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/temp-write/-/temp-write-3.4.0.tgz#8cff630fb7e9da05f047c74ce4ce4d685457d492" - integrity sha1-jP9jD7fp2gXwR8dM5M5NaFRX1JI= - dependencies: - graceful-fs "^4.1.2" - is-stream "^1.1.0" - make-dir "^1.0.0" - pify "^3.0.0" - temp-dir "^1.0.0" - uuid "^3.0.1" - -temp@^0.8.1, temp@^0.8.3: - version "0.8.4" - resolved "https://registry.yarnpkg.com/temp/-/temp-0.8.4.tgz#8c97a33a4770072e0a05f919396c7665a7dd59f2" - integrity sha512-s0ZZzd0BzYv5tLSptZooSjK8oj6C+c19p7Vqta9+6NPOf7r+fxq0cJe6/oN4LTC79sy5NY8ucOJNgwsKCSbfqg== - dependencies: - rimraf "~2.6.2" - -term-size@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" - integrity sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk= - dependencies: - execa "^0.7.0" - -ternary-stream@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ternary-stream/-/ternary-stream-2.1.1.tgz#4ad64b98668d796a085af2c493885a435a8a8bfc" - integrity sha512-j6ei9hxSoyGlqTmoMjOm+QNvUKDOIY6bNl4Uh1lhBvl6yjPW2iLqxDUYyfDPZknQ4KdRziFl+ec99iT4l7g0cw== - dependencies: - duplexify "^3.5.0" - fork-stream "^0.0.4" - merge-stream "^1.0.0" - through2 "^2.0.1" - -terser@^4.7.0: - version "4.8.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17" - integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - -text-encoding@0.6.4: - version "0.6.4" - resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19" - integrity sha1-45mpgiV6J22uQou5KEXLcb3CbRk= - -text-extensions@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-2.0.0.tgz#43eabd1b495482fae4a2bf65e5f56c29f69220f6" - integrity sha512-F91ZqLgvi1E0PdvmxMgp+gcf6q8fMH7mhdwWfzXnl1k+GbpQDmi8l7DzLC5JTASKbwpY3TfxajAUzAXcv2NmsQ== - -text-hex@1.0.x: - version "1.0.0" - resolved "https://registry.yarnpkg.com/text-hex/-/text-hex-1.0.0.tgz#69dc9c1b17446ee79a92bf5b884bb4b9127506f5" - integrity sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg== - -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= - -textextensions@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/textextensions/-/textextensions-2.4.0.tgz#6a143a985464384cc2cff11aea448cd5b018e72b" - integrity sha512-qftQXnX1DzpSV8EddtHIT0eDDEiBF8ywhFYR2lI9xrGtxqKN+CvLXhACeCIGbCpQfxxERbrkZEFb8cZcDKbVZA== - -thenify-all@^1.0.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" - integrity sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY= - dependencies: - thenify ">= 3.1.0 < 4" - -"thenify@>= 3.1.0 < 4": - version "3.3.1" - resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f" - integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== - dependencies: - any-promise "^1.0.0" - -through2-filter@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/through2-filter/-/through2-filter-2.0.0.tgz#60bc55a0dacb76085db1f9dae99ab43f83d622ec" - integrity sha1-YLxVoNrLdghdsfna6Zq0P4PWIuw= - dependencies: - through2 "~2.0.0" - xtend "~4.0.0" - -through2-filter@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/through2-filter/-/through2-filter-3.0.0.tgz#700e786df2367c2c88cd8aa5be4cf9c1e7831254" - integrity sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA== - dependencies: - through2 "~2.0.0" - xtend "~4.0.0" - -through2@^0.6.0, through2@^0.6.1: - version "0.6.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48" - integrity sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg= - dependencies: - readable-stream ">=1.0.33-1 <1.1.0-0" - xtend ">=4.0.0 <4.1.0-0" - -through2@^2.0.0, through2@^2.0.1, through2@^2.0.2, through2@^2.0.3, through2@~2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -through2@^3.0.0, through2@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.1.tgz#39276e713c3302edf9e388dd9c812dd3b825bd5a" - integrity sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww== - dependencies: - readable-stream "2 || 3" - -through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= - -tildify@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/tildify/-/tildify-1.2.0.tgz#dcec03f55dca9b7aa3e5b04f21817eb56e63588a" - integrity sha1-3OwD9V3Km3qj5bBPIYF+tW5jWIo= - dependencies: - os-homedir "^1.0.0" - -time-stamp@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3" - integrity sha1-dkpaEa9QVhkhsTPztE5hhofg9cM= - -timed-out@^3.0.0: - version "3.1.3" - resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-3.1.3.tgz#95860bfcc5c76c277f8f8326fd0f5b2e20eba217" - integrity sha1-lYYL/MXHbCd/j4Mm/Q9bLiDrohc= - -timed-out@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" - integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= - -tmp@^0.0.29: - version "0.0.29" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.29.tgz#f25125ff0dd9da3ccb0c2dd371ee1288bb9128c0" - integrity sha1-8lEl/w3Z2jzLDC3Tce4SiLuRKMA= - dependencies: - os-tmpdir "~1.0.1" - -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== - dependencies: - os-tmpdir "~1.0.2" - -to-absolute-glob@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz#1cdfa472a9ef50c239ee66999b662ca0eb39937f" - integrity sha1-HN+kcqnvUMI57maZm2YsoOs5k38= - dependencies: - extend-shallow "^2.0.1" - -to-array@0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/to-array/-/to-array-0.1.4.tgz#17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890" - integrity sha1-F+bBH3PdTz10zaek/zI46a2b+JA= - -to-buffer@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.1.1.tgz#493bd48f62d7c43fcded313a03dcadb2e1213a80" - integrity sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg== - -to-fast-properties@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" - integrity sha1-uDVx+k2MJbguIxsG46MFXeTKGkc= - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= - -to-object-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - integrity sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68= - dependencies: - kind-of "^3.0.2" - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg= - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - -toidentifier@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" - integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== - -tough-cookie@~2.4.3: - version "2.4.3" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" - integrity sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ== - dependencies: - psl "^1.1.24" - punycode "^1.4.1" - -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - -tr46@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" - integrity sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk= - dependencies: - punycode "^2.1.0" - -treeify@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" - integrity sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A== - -trim-newlines@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" - integrity sha1-WIeWa7WCpFA6QetST301ARgVphM= - -trim-newlines@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20" - integrity sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA= - -trim-off-newlines@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" - integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= - -trim-right@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" - integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM= - -triple-beam@^1.2.0, triple-beam@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.3.0.tgz#a595214c7298db8339eeeee083e4d10bd8cb8dd9" - integrity sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw== - -tslib@^1.9.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - -tslib@^1.9.3: - version "1.9.3" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" - integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= - dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= - -type-detect@^4.0.0: - version "4.0.8" - resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" - integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - -type-fest@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1" - integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ== - -type-fest@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" - integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== - -type-is@^1.6.4, type-is@~1.6.17, type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= - -typical@^2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/typical/-/typical-2.6.1.tgz#5c080e5d661cbbe38259d2e70a3c7253e873881d" - integrity sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0= - -typical@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/typical/-/typical-4.0.0.tgz#cbeaff3b9d7ae1e2bbfaf5a4e6f11eccfde94fc4" - integrity sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw== - -ua-parser-js@^0.7.15: - version "0.7.21" - resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.21.tgz#853cf9ce93f642f67174273cc34565ae6f308777" - integrity sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ== - -uglify-js@3.4.x: - version "3.4.10" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.10.tgz#9ad9563d8eb3acdfb8d38597d2af1d815f6a755f" - integrity sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw== - dependencies: - commander "~2.19.0" - source-map "~0.6.1" - -uglify-js@^3.1.4: - version "3.10.3" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.10.3.tgz#f0d2f99736c14de46d2d24649ba328be3e71c3bf" - integrity sha512-Lh00i69Uf6G74mvYpHCI9KVVXLcHW/xu79YTvH7Mkc9zyKUeSPz0owW0dguj0Scavns3ZOh3wY63J0Zb97Za2g== - -uid-number@0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" - integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE= - -umask@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" - integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= - -unc-path-regex@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" - integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= - -underscore@^1.8.3: - version "1.10.2" - resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.10.2.tgz#73d6aa3668f3188e4adb0f1943bd12cfd7efaaaf" - integrity sha512-N4P+Q/BuyuEKFJ43B9gYuOj4TQUHXX+j2FqguVOpjkssLUUrnJofCcBccJSCoeturDoZU6GorDTHSvUDlSQbTg== - -underscore@~1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.6.0.tgz#8b38b10cacdef63337b8b24e4ff86d45aea529a8" - integrity sha1-izixDKze9jM3uLJOT/htRa6lKag= - -unicode-canonical-property-names-ecmascript@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818" - integrity sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ== - -unicode-match-property-ecmascript@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz#8ed2a32569961bce9227d09cd3ffbb8fed5f020c" - integrity sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg== - dependencies: - unicode-canonical-property-names-ecmascript "^1.0.4" - unicode-property-aliases-ecmascript "^1.0.4" - -unicode-match-property-value-ecmascript@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz#0d91f600eeeb3096aa962b1d6fc88876e64ea531" - integrity sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ== - -unicode-property-aliases-ecmascript@^1.0.4: - version "1.1.0" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz#dd57a99f6207bedff4628abefb94c50db941c8f4" - integrity sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg== - -union-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" - integrity sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ= - dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^0.4.3" - -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== - dependencies: - unique-slug "^2.0.0" - -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== - dependencies: - imurmurhash "^0.1.4" - -unique-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unique-stream/-/unique-stream-1.0.0.tgz#d59a4a75427447d9aa6c91e70263f8d26a4b104b" - integrity sha1-1ZpKdUJ0R9mqbJHnAmP40mpLEEs= - -unique-stream@^2.0.2: - version "2.3.1" - resolved "https://registry.yarnpkg.com/unique-stream/-/unique-stream-2.3.1.tgz#c65d110e9a4adf9a6c5948b28053d9a8d04cbeac" - integrity sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A== - dependencies: - json-stable-stringify-without-jsonify "^1.0.1" - through2-filter "^3.0.0" - -unique-string@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" - integrity sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo= - dependencies: - crypto-random-string "^1.0.0" - -universal-user-agent@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-3.0.0.tgz#4cc88d68097bffd7ac42e3b7c903e7481424b4b9" - integrity sha512-T3siHThqoj5X0benA5H0qcDnrKGXzU8TKoX15x/tQHw1hQBvIEBHjxQ2klizYsqBOO/Q+WuxoQUihadeeqDnoA== - dependencies: - os-name "^3.0.0" - -universal-user-agent@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-4.0.1.tgz#fd8d6cb773a679a709e967ef8288a31fcc03e557" - integrity sha512-LnST3ebHwVL2aNe4mejI9IQh2HfZ1RLo8Io2HugSif8ekzD1TlWpHpColOB/eh8JHMLkGH3Akqf040I+4ylNxg== - dependencies: - os-name "^3.1.0" - -universal-user-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" - integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== - -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - -universalify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" - integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug== - -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= - -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha1-g3aHP30jNRef+x5vw6jtDfyKtVk= - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" - -untildify@^2.0.0, untildify@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-2.1.0.tgz#17eb2807987f76952e9c0485fc311d06a826a2e0" - integrity sha1-F+soB5h/dpUunASF/DEdBqgmouA= - dependencies: - os-homedir "^1.0.0" - -untildify@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-3.0.3.tgz#1e7b42b140bcfd922b22e70ca1265bfe3634c7c9" - integrity sha512-iSk/J8efr8uPT/Z4eSUywnqyrQU7DSdMfdqK4iWEaUVVmcP5JcnpRqmVMwcwcnmI1ATFNgC5V90u09tBynNFKA== - -unzip-response@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-1.0.2.tgz#b984f0877fc0a89c2c773cc1ef7b5b232b5b06fe" - integrity sha1-uYTwh3/AqJwsdzzB73tbIytbBv4= - -unzip-response@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" - integrity sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c= - -update-notifier@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-1.0.3.tgz#8f92c515482bd6831b7c93013e70f87552c7cf5a" - integrity sha1-j5LFFUgr1oMbfJMBPnD4dVLHz1o= - dependencies: - boxen "^0.6.0" - chalk "^1.0.0" - configstore "^2.0.0" - is-npm "^1.0.0" - latest-version "^2.0.0" - lazy-req "^1.1.0" - semver-diff "^2.0.0" - xdg-basedir "^2.0.0" - -update-notifier@^2.2.0, update-notifier@^2.3.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" - integrity sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw== - dependencies: - boxen "^1.2.1" - chalk "^2.0.1" - configstore "^3.0.0" - import-lazy "^2.1.0" - is-ci "^1.0.10" - is-installed-globally "^0.1.0" - is-npm "^1.0.0" - latest-version "^3.0.0" - semver-diff "^2.0.0" - xdg-basedir "^3.0.0" - -upper-case@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" - integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg= - -uri-js@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" - integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== - dependencies: - punycode "^2.1.0" - -urijs@^1.16.1, urijs@^1.19.1: - version "1.19.2" - resolved "https://registry.yarnpkg.com/urijs/-/urijs-1.19.2.tgz#f9be09f00c4c5134b7cb3cf475c1dd394526265a" - integrity sha512-s/UIq9ap4JPZ7H1EB5ULo/aOUbWqfDi7FKzMC2Nz+0Si8GiT1rIEaprt8hy3Vy2Ex2aJPpOQv4P4DuOZ+K1c6w== - -urix@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= - -url-parse-lax@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" - integrity sha1-evjzA2Rem9eaJy56FKxovAYJ2nM= - dependencies: - prepend-http "^1.0.1" - -url-template@^2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21" - integrity sha1-/FZaPMy/93MMd19WQflVV5FDnyE= - -url-to-options@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" - integrity sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k= - -use@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" - integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== - -user-home@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" - integrity sha1-K1viOjK2Onyd640PKNSFcko98ZA= - -util-deprecate@^1.0.1, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= - -util-promisify@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53" - integrity sha1-PCI2R2xNMsX/PEcAKt18E7moKlM= - dependencies: - object.getownpropertydescriptors "^2.0.3" - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= - -uuid@^2.0.1: - version "2.0.3" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" - integrity sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho= - -uuid@^3.0.1, uuid@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" - integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== - -uuid@^3.2.1: - version "3.4.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== - -v8flags@^2.0.2: - version "2.1.1" - resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" - integrity sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ= - dependencies: - user-home "^1.1.1" - -vali-date@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/vali-date/-/vali-date-1.0.0.tgz#1b904a59609fb328ef078138420934f6b86709a6" - integrity sha1-G5BKWWCfsyjvB4E4Qgk09rhnCaY= - -validate-element-name@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/validate-element-name/-/validate-element-name-2.1.1.tgz#8ff75f7da69f73e7c510588362130508b7ac644e" - integrity sha1-j/dffaafc+fFEFiDYhMFCLesZE4= - dependencies: - is-potential-custom-element-name "^1.0.0" - log-symbols "^1.0.0" - meow "^3.7.0" - -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: - version "3.0.4" - resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" - integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -validate-npm-package-name@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34= - dependencies: - builtins "^1.0.3" - -vargs@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/vargs/-/vargs-0.1.0.tgz#6b6184da6520cc3204ce1b407cac26d92609ebff" - integrity sha1-a2GE2mUgzDIEzhtAfKwm2SYJ6/8= - -vary@^1, vary@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= - -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" - -vinyl-file@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-2.0.0.tgz#a7ebf5ffbefda1b7d18d140fcb07b223efb6751a" - integrity sha1-p+v1/779obfRjRQPyweyI++2dRo= - dependencies: - graceful-fs "^4.1.2" - pify "^2.3.0" - pinkie-promise "^2.0.0" - strip-bom "^2.0.0" - strip-bom-stream "^2.0.0" - vinyl "^1.1.0" - -vinyl-fs@^0.3.0: - version "0.3.14" - resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-0.3.14.tgz#9a6851ce1cac1c1cea5fe86c0931d620c2cfa9e6" - integrity sha1-mmhRzhysHBzqX+hsCTHWIMLPqeY= - dependencies: - defaults "^1.0.0" - glob-stream "^3.1.5" - glob-watcher "^0.0.6" - graceful-fs "^3.0.0" - mkdirp "^0.5.0" - strip-bom "^1.0.0" - through2 "^0.6.1" - vinyl "^0.4.0" - -vinyl-fs@^2.4.3, vinyl-fs@^2.4.4: - version "2.4.4" - resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-2.4.4.tgz#be6ff3270cb55dfd7d3063640de81f25d7532239" - integrity sha1-vm/zJwy1Xf19MGNkDegfJddTIjk= - dependencies: - duplexify "^3.2.0" - glob-stream "^5.3.2" - graceful-fs "^4.0.0" - gulp-sourcemaps "1.6.0" - is-valid-glob "^0.3.0" - lazystream "^1.0.0" - lodash.isequal "^4.0.0" - merge-stream "^1.0.0" - mkdirp "^0.5.0" - object-assign "^4.0.0" - readable-stream "^2.0.4" - strip-bom "^2.0.0" - strip-bom-stream "^1.0.0" - through2 "^2.0.0" - through2-filter "^2.0.0" - vali-date "^1.0.0" - vinyl "^1.0.0" - -vinyl@^0.4.0: - version "0.4.6" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.4.6.tgz#2f356c87a550a255461f36bbeb2a5ba8bf784847" - integrity sha1-LzVsh6VQolVGHza76ypbqL94SEc= - dependencies: - clone "^0.2.0" - clone-stats "^0.0.1" - -vinyl@^0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.5.3.tgz#b0455b38fc5e0cf30d4325132e461970c2091cde" - integrity sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4= - dependencies: - clone "^1.0.0" - clone-stats "^0.0.1" - replace-ext "0.0.1" - -vinyl@^1.0.0, vinyl@^1.1.0, vinyl@^1.1.1, vinyl@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-1.2.0.tgz#5c88036cf565e5df05558bfc911f8656df218884" - integrity sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ= - dependencies: - clone "^1.0.0" - clone-stats "^0.0.1" - replace-ext "0.0.1" - -vinyl@^2.0.1, vinyl@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz#d85b07da96e458d25b2ffe19fece9f2caa13ed86" - integrity sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg== - dependencies: - clone "^2.1.1" - clone-buffer "^1.0.0" - clone-stats "^1.0.0" - cloneable-readable "^1.0.0" - remove-trailing-separator "^1.0.1" - replace-ext "^1.0.0" - -vlq@^0.2.2: - version "0.2.3" - resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.3.tgz#8f3e4328cf63b1540c0d67e1b2778386f8975b26" - integrity sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow== - -vscode-uri@=1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-1.0.6.tgz#6b8f141b0bbc44ad7b07e94f82f168ac7608ad4d" - integrity sha512-sLI2L0uGov3wKVb9EB+vIQBl9tVP90nqRvxSoJ35vI3NjxE8jfsE5DSOhWgSunHSZmKS4OCi2jrtfxK7uyp2ww== - -wbuf@^1.1.0, wbuf@^1.7.2: - version "1.7.3" - resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" - integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== - dependencies: - minimalistic-assert "^1.0.0" - -wct-local@^2.1.1: - version "2.1.5" - resolved "https://registry.yarnpkg.com/wct-local/-/wct-local-2.1.5.tgz#f7986753e3ad9a35d39178a9989350523561fff1" - integrity sha512-eqoZhjGy4Xq2tY0uB46Grkw/ztq+/rC0ImbYKl62unFHXtOgal+kkvnxR3SLRFNM8ty9+ItgycPeH0IpTqVL+w== - dependencies: - "@types/express" "^4.0.30" - "@types/freeport" "^1.0.19" - "@types/launchpad" "^0.6.0" - "@types/which" "^1.3.1" - chalk "^2.3.0" - cleankill "^2.0.0" - freeport "^1.0.4" - launchpad "^0.7.0" - selenium-standalone "^6.7.0" - which "^1.0.8" - -wct-sauce@^2.0.2: - version "2.1.0" - resolved "https://registry.yarnpkg.com/wct-sauce/-/wct-sauce-2.1.0.tgz#67d0be346aabbbc28384e8d143b8d3ca7ba774c0" - integrity sha512-c3R4PJcbpS7Gxv2vZ4HDAqpXV6cT9peslAWMU7hHH9PMhKDPbn8RNa6E4DVL0tOmZznB+3cRmtZ6+vJ/aDwu1A== - dependencies: - chalk "^2.4.1" - cleankill "^2.0.0" - lodash "^4.17.10" - request "^2.85.0" - sauce-connect-launcher "^1.0.0" - temp "^0.8.1" - uuid "^3.2.1" - -wcwidth@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= - dependencies: - defaults "^1.0.3" - -wd@^1.2.0: - version "1.12.1" - resolved "https://registry.yarnpkg.com/wd/-/wd-1.12.1.tgz#067eb3674db00eeb9e506701f9314657c44d5a89" - integrity sha512-O99X8OnOgkqfmsPyLIRzG9LmZ+rjmdGFBCyhGpnsSL4MB4xzHoeWmSVcumDiQ5QqPZcwGkszTgeJvjk2VjtiNw== - dependencies: - archiver "^3.0.0" - async "^2.0.0" - lodash "^4.0.0" - mkdirp "^0.5.1" - q "^1.5.1" - request "2.88.0" - vargs "^0.1.0" - -web-component-tester@^6.9.0: - version "6.9.2" - resolved "https://registry.yarnpkg.com/web-component-tester/-/web-component-tester-6.9.2.tgz#40a7b824f2cf3cbc4305552bdfc3357977ded48a" - integrity sha512-s2kB/+IE8XWcnxY1fqSpqTiiHEGHWgUWariAbiRlxmAvWSuvaCVNALHYebsZrLCNCLHKcJR8/sGv/bw0MWMvjw== - dependencies: - "@polymer/sinonjs" "^1.14.1" - "@polymer/test-fixture" "^0.0.3" - "@webcomponents/webcomponentsjs" "^1.0.7" - accessibility-developer-tools "^2.12.0" - async "^2.4.1" - body-parser "^1.17.2" - bower-config "^1.4.0" - chalk "^1.1.3" - cleankill "^2.0.0" - express "^4.15.3" - findup-sync "^2.0.0" - glob "^7.1.2" - lodash "^3.10.1" - multer "^1.3.0" - nomnom "^1.8.1" - polyserve "^0.27.13" - resolve "^1.5.0" - semver "^5.3.0" - send "^0.16.1" - server-destroy "^1.0.1" - sinon "^2.3.5" - sinon-chai "^2.10.0" - socket.io "^2.0.3" - stacky "^1.3.1" - wd "^1.2.0" - optionalDependencies: - update-notifier "^2.2.0" - wct-local "^2.1.1" - wct-sauce "^2.0.2" - -webidl-conversions@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" - integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== - -whatwg-url@^6.4.0: - version "6.5.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-6.5.0.tgz#f2df02bff176fd65070df74ad5ccbb5a199965a8" - integrity sha512-rhRZRqx/TLJQWUpQ6bmrt2UV4f0HCQ463yQuONJqC6fO2VoEb1pTYddbe59SkYq87aoM5A3bdhMZiUiVws+fzQ== - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - -whatwg-url@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.0.0.tgz#fde926fa54a599f3adf82dff25a9f7be02dc6edd" - integrity sha512-37GeVSIJ3kn1JgKyjiYNmSLP1yzbpb29jdmwBSgkD9h40/hyrR/OifpVUndji3tmwGgD8qpw7iQu3RSbCrBpsQ== - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - -which-module@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= - -which@1, which@^1.0.8, which@^1.2.12, which@^1.2.14, which@^1.2.9, which@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - -which@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -wide-align@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== - dependencies: - string-width "^1.0.2 || 2" - -widest-line@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-1.0.0.tgz#0c09c85c2a94683d0d7eaf8ee097d564bf0e105c" - integrity sha1-DAnIXCqUaD0Nfq+O4JfVZL8OEFw= - dependencies: - string-width "^1.0.1" - -widest-line@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.0.tgz#0142a4e8a243f8882c0233aa0e0281aa76152273" - integrity sha1-AUKk6KJD+IgsAjOqDgKBqnYVInM= - dependencies: - string-width "^2.1.1" - -widest-line@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc" - integrity sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA== - dependencies: - string-width "^2.1.1" - -windows-release@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/windows-release/-/windows-release-3.2.0.tgz#8122dad5afc303d833422380680a79cdfa91785f" - integrity sha512-QTlz2hKLrdqukrsapKsINzqMgOUpQW268eJ0OaOpJN32h272waxR9fkB9VoWRtK7uKHG5EHJcTXQBD8XZVJkFA== - dependencies: - execa "^1.0.0" - -winston-transport@^4.2.0, winston-transport@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/winston-transport/-/winston-transport-4.4.0.tgz#17af518daa690d5b2ecccaa7acf7b20ca7925e59" - integrity sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw== - dependencies: - readable-stream "^2.3.7" - triple-beam "^1.2.0" - -winston@^3.0.0: - version "3.3.3" - resolved "https://registry.yarnpkg.com/winston/-/winston-3.3.3.tgz#ae6172042cafb29786afa3d09c8ff833ab7c9170" - integrity sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw== - dependencies: - "@dabh/diagnostics" "^2.0.2" - async "^3.1.0" - is-stream "^2.0.0" - logform "^2.2.0" - one-time "^1.0.0" - readable-stream "^3.4.0" - stack-trace "0.0.x" - triple-beam "^1.3.0" - winston-transport "^4.4.0" - -with-open-file@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/with-open-file/-/with-open-file-0.1.6.tgz#0bc178ecab75f6baac8ae11c85e07445d690ea50" - integrity sha512-SQS05JekbtwQSgCYlBsZn/+m2gpn4zWsqpCYIrCHva0+ojXcnmUEPsBN6Ipoz3vmY/81k5PvYEWSxER2g4BTqA== - dependencies: - p-finally "^1.0.0" - p-try "^2.1.0" - pify "^4.0.1" - -wordwrap@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" - integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc= - -wordwrap@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= - -wordwrapjs@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/wordwrapjs/-/wordwrapjs-3.0.0.tgz#c94c372894cadc6feb1a66bff64e1d9af92c5d1e" - integrity sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw== - dependencies: - reduce-flatten "^1.0.1" - typical "^2.6.1" - -wrap-ansi@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" - integrity sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU= - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - -wrap-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba" - integrity sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo= - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - -wrap-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-4.0.0.tgz#b3570d7c70156159a2d42be5cc942e957f7b1131" - integrity sha512-uMTsj9rDb0/7kk1PbcbCcwvHUxp60fGDB/NNXpVa0Q+ic/e7y5+BwTxKfQ33VYgDppSwi/FBzpetYzo8s6tfbg== - dependencies: - ansi-styles "^3.2.0" - string-width "^2.1.1" - strip-ansi "^4.0.0" - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= - -write-file-atomic@^1.1.2: - version "1.3.4" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-1.3.4.tgz#f807a4f0b1d9e913ae7a48112e6cc3af1991b45f" - integrity sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8= - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - slide "^1.1.5" - -write-file-atomic@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.3.0.tgz#1ff61575c2e2a4e8e510d6fa4e243cce183999ab" - integrity sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA== - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - -write-file-atomic@^2.3.0: - version "2.4.3" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" - integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - -write-json-file@^2.2.0, write-json-file@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-2.3.0.tgz#2b64c8a33004d54b8698c76d585a77ceb61da32f" - integrity sha1-K2TIozAE1UuGmMdtWFp3zrYdoy8= - dependencies: - detect-indent "^5.0.0" - graceful-fs "^4.1.2" - make-dir "^1.0.0" - pify "^3.0.0" - sort-keys "^2.0.0" - write-file-atomic "^2.0.0" - -write-pkg@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/write-pkg/-/write-pkg-3.2.0.tgz#0e178fe97820d389a8928bc79535dbe68c2cff21" - integrity sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw== - dependencies: - sort-keys "^2.0.0" - write-json-file "^2.2.0" - -ws@^7.1.2: - version "7.3.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8" - integrity sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA== - -ws@~6.1.0: - version "6.1.4" - resolved "https://registry.yarnpkg.com/ws/-/ws-6.1.4.tgz#5b5c8800afab925e94ccb29d153c8d02c1776ef9" - integrity sha512-eqZfL+NE/YQc1/ZynhojeV8q+H050oR8AZ2uIev7RU10svA9ZnJUddHcOUZTJLinZ9yEfdA2kSATS2qZK5fhJA== - dependencies: - async-limiter "~1.0.0" - -xdg-basedir@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-2.0.0.tgz#edbc903cc385fc04523d966a335504b5504d1bd2" - integrity sha1-7byQPMOF/ARSPZZqM1UEtVBNG9I= - dependencies: - os-homedir "^1.0.0" - -xdg-basedir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" - integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ= - -xmlbuilder@8.2.2: - version "8.2.2" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-8.2.2.tgz#69248673410b4ba42e1a6136551d2922335aa773" - integrity sha1-aSSGc0ELS6QuGmE2VR0pIjNap3M= - -xmldom@0.1.x: - version "0.1.31" - resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.31.tgz#b76c9a1bd9f0a9737e5a72dc37231cf38375e2ff" - integrity sha512-yS2uJflVQs6n+CyjHoaBmVSqIDevTAWrzMmjG1Gc7h1qQ7uVozNhEPJAwZXWyGQ/Gafo3fCwrcaokezLPupVyQ== - -xmlhttprequest-ssl@~1.5.4: - version "1.5.5" - resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" - integrity sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4= - -"xtend@>=4.0.0 <4.1.0-0", xtend@~4.0.0, xtend@~4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -xtend@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" - integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68= - -"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" - integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== - -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - -yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" - integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A== - -yargs-parser@^11.1.1: - version "11.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" - integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs@^12.0.1: - version "12.0.5" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" - integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== - dependencies: - cliui "^4.0.0" - decamelize "^1.2.0" - find-up "^3.0.0" - get-caller-file "^1.0.1" - os-locale "^3.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1 || ^4.0.0" - yargs-parser "^11.1.1" - -yauzl@^2.10.0: - version "2.10.0" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" - integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= - dependencies: - buffer-crc32 "~0.2.3" - fd-slicer "~1.1.0" - -yeast@0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419" - integrity sha1-AI4G2AlDIMNy28L47XagymyKxBk= - -yeoman-environment@^1.5.2: - version "1.6.6" - resolved "https://registry.yarnpkg.com/yeoman-environment/-/yeoman-environment-1.6.6.tgz#cd85fa67d156060e440d7807d7ef7cf0d2d1d671" - integrity sha1-zYX6Z9FWBg5EDXgH1+988NLR1nE= - dependencies: - chalk "^1.0.0" - debug "^2.0.0" - diff "^2.1.2" - escape-string-regexp "^1.0.2" - globby "^4.0.0" - grouped-queue "^0.3.0" - inquirer "^1.0.2" - lodash "^4.11.1" - log-symbols "^1.0.1" - mem-fs "^1.1.0" - text-table "^0.2.0" - untildify "^2.0.0" - -yeoman-environment@^2.0.5, yeoman-environment@^2.3.3, yeoman-environment@^2.3.4: - version "2.4.0" - resolved "https://registry.yarnpkg.com/yeoman-environment/-/yeoman-environment-2.4.0.tgz#4829445dc1306b02d9f5f7027cd224bf77a8224d" - integrity sha512-SsvoL0RNAFIX69eFxkUhwKUN2hG1UwUjxrcP+T2ytwdhqC/kHdnFOH2SXdtSN1Ju4aO4xuimmzfRoheYY88RuA== - dependencies: - chalk "^2.4.1" - cross-spawn "^6.0.5" - debug "^3.1.0" - diff "^3.5.0" - escape-string-regexp "^1.0.2" - globby "^8.0.1" - grouped-queue "^0.3.3" - inquirer "^6.0.0" - is-scoped "^1.0.0" - lodash "^4.17.10" - log-symbols "^2.2.0" - mem-fs "^1.1.0" - strip-ansi "^4.0.0" - text-table "^0.2.0" - untildify "^3.0.3" - -yeoman-generator@^3.1.1: - version "3.2.0" - resolved "https://registry.yarnpkg.com/yeoman-generator/-/yeoman-generator-3.2.0.tgz#02077d2d7ff28fedc1ed7dad7f9967fd7c3604cc" - integrity sha512-iR/qb2je3GdXtSfxgvOXxUW0Cp8+C6LaZaNlK2BAICzFNzwHtM10t/QBwz5Ea9nk6xVDQNj4Q889TjCXGuIv8w== - dependencies: - async "^2.6.0" - chalk "^2.3.0" - cli-table "^0.3.1" - cross-spawn "^6.0.5" - dargs "^6.0.0" - dateformat "^3.0.3" - debug "^4.1.0" - detect-conflict "^1.0.0" - error "^7.0.2" - find-up "^3.0.0" - github-username "^4.0.0" - istextorbinary "^2.2.1" - lodash "^4.17.10" - make-dir "^1.1.0" - mem-fs-editor "^5.0.0" - minimist "^1.2.0" - pretty-bytes "^5.1.0" - read-chunk "^3.0.0" - read-pkg-up "^4.0.0" - rimraf "^2.6.2" - run-async "^2.0.0" - shelljs "^0.8.0" - text-table "^0.2.0" - through2 "^3.0.0" - yeoman-environment "^2.0.5" - -yeoman-generator@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/yeoman-generator/-/yeoman-generator-4.0.1.tgz#6454056e451ebdfe4ac69927343ae37086bbecb0" - integrity sha512-QFSHcJHfDwqNdcr5RPSCPLnRzVpPuDWb6By2Uz77YByqBqvR/r9QGBucCl58hs5QJl4NFgLFgIHZoNDCJP1byA== - dependencies: - async "^2.6.2" - chalk "^2.4.2" - cli-table "^0.3.1" - cross-spawn "^6.0.5" - dargs "^6.1.0" - dateformat "^3.0.3" - debug "^4.1.1" - detect-conflict "^1.0.0" - error "^7.0.2" - find-up "^3.0.0" - github-username "^3.0.0" - istextorbinary "^2.5.1" - lodash "^4.17.11" - make-dir "^3.0.0" - mem-fs-editor "^6.0.0" - minimist "^1.2.0" - pretty-bytes "^5.2.0" - read-chunk "^3.2.0" - read-pkg-up "^5.0.0" - rimraf "^2.6.3" - run-async "^2.0.0" - shelljs "^0.8.3" - text-table "^0.2.0" - through2 "^3.0.1" - yeoman-environment "^2.3.4" - -zip-stream@^2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-2.1.3.tgz#26cc4bdb93641a8590dd07112e1f77af1758865b" - integrity sha512-EkXc2JGcKhO5N5aZ7TmuNo45budRaFGHOmz24wtJR7znbNqDPmdZtUauKX6et8KAVseAMBOyWJqEpXcHTBsh7Q== - dependencies: - archiver-utils "^2.1.0" - compress-commons "^2.1.1" - readable-stream "^3.4.0" diff --git a/packages/common/config.js b/packages/common/config.js index a066fecb0..d6588e62a 100644 --- a/packages/common/config.js +++ b/packages/common/config.js @@ -4,13 +4,13 @@ * * @todo think about where we want these configs, how we want overrides to work */ -const { existsSync, readFileSync } = require('fs') +const fs = require('fs') const path = require('path') const _ = require('lodash') -const { glob } = require('glob') +const glob = require('glob') const os = require('os') const cwd = process.cwd() -const { execFileSync, spawn } = require('child_process') +const { execFileSync } = require('child_process') const lernaPath = require.resolve('lerna/cli') /** @@ -35,15 +35,11 @@ const factoryDir = () => { */ const factoryOptions = () => { let folders = glob.sync(`${factoryDir()}/*`); - return folders - // verify if each one has a package.json - .filter(i => existsSync(path.join(i, 'package.json'))) - // format the item - .map(i => { - let name = i.split("/").pop(); - const obj = Object.assign({ name: name, value: i }) - return obj - }) + return folders.map(i => { + let name = i.split("/").pop(); + const obj = Object.assign({ name: name, value: i }) + return obj + }) } /** @@ -121,9 +117,9 @@ const collectPackageConfigs = () => { while (path.basename(_cwd) !== '') { // look for package const p = path.join(_cwd, 'package.json') - if (existsSync(p)) { + if (fs.existsSync(p)) { // push the content of the file into an array - const packageJSONContents = JSON.parse(readFileSync(p, 'utf8')) + const packageJSONContents = JSON.parse(fs.readFileSync(p, 'utf8')) const wcfactorySettings = _.get(packageJSONContents, 'wcfactory') if (wcfactorySettings) { configs.push(wcfactorySettings) @@ -145,15 +141,15 @@ const collectUserConfigs = () => { let configs = [] - let _cwd = cwd + // @todo may need to resolve /media/ vs /home/ for mounted / partitioned drives + let _cwd = cwd; while (path.basename(_cwd) !== '') { // look for package const c = path.join(_cwd, '.wcfconfig') const p = path.join(c, 'user') - if (existsSync(p)) { + if (fs.existsSync(p)) { // push the content of the file into an array - const wcfactorySettings = JSON.parse(readFileSync(p, 'utf8')) - configs.push(wcfactorySettings) + const wcfactorySettings = JSON.parse(fs.readFileSync(p, 'utf8')) } // move up a directory _cwd = path.join(_cwd, '../') @@ -180,7 +176,7 @@ const libraries = () => { const libsLocations = getLibraryLocations() _.forEach(libsLocations, (lib, key) => { const packageLocation = path.join(lib, 'package.json') - let json = JSON.parse(readFileSync(packageLocation, "utf8")); + let json = JSON.parse(fs.readFileSync(packageLocation, "utf8")); libs[json.name] = json; }) return libs @@ -191,7 +187,7 @@ const libraries = () => { */ const getUserConfig = () => { try { - return JSON.parse(readFileSync(path.join(os.homedir(), '.wcfconfig/user'), 'utf8')); + return JSON.parse(fs.readFileSync(path.join(os.homedir(), '.wcfconfig/user'), 'utf8')); } catch (err) { console.warn(path.join(os.homedir(), '.wcfconfig/') + ' is missing! Run wcf start from your desired directory to get started!'); } @@ -218,7 +214,7 @@ const librariesOptions = () => { let libraries = getLibraryLocations() _.forEach(libraries, (lib, key) => { const packageLocation = path.join(lib, 'package.json') - let json = JSON.parse(readFileSync(packageLocation, "utf8")); + let json = JSON.parse(fs.readFileSync(packageLocation, "utf8")); options.push({ name: `${json.name} -- ${json.description}. ${Object.keys(json.dependencies).length} dependencies`, value: json.name @@ -241,25 +237,11 @@ const getLibraryLocations = () => { * Get a list of all elements in a factory * @return array containing names and locations and versions */ -const getElements = (factory) => { +const getElements = (factoryLocation) => { try { - // get factory path - const factoryPath = path.join(factoryDir(), factory) // look through the listing of workspaces and return a flattened // array of elements - return JSON.parse(execFileSync(lernaPath, ["list", "--json", "--all", "--long"], { cwd: factoryPath })) - } catch (error) { - throw error - } -} - -/** - * Return a list of scripts defined in an element - */ -const getElementByLocation = (elementLocation) => { - try { - const elementList = JSON.parse(execFileSync(lernaPath, ["list", "--json", "--all", "--long"], { cwd: elementLocation })) - return elementList.find(i => i.location === elementLocation) + return JSON.parse(execFileSync(lernaPath, ["list", "--json", "--all", "--long"], { cwd: factoryLocation })) } catch (error) { throw error } @@ -269,28 +251,8 @@ const getElementByLocation = (elementLocation) => { * Return a list of scripts defined in an element */ const getElementScripts = (elementLocation) => { - const packageLocation = path.join(elementLocation, 'package.json') - try { - const packageObj = JSON.parse(readFileSync(packageLocation, 'utf8')) - return Object.keys(packageObj.scripts) - } catch (error) { - } - return [] -} - -/** - * Execute a script via npm run - * @param {string} script - * @param {string} location - * @return process - */ -const runScript = (script, location) => { - // run the operation for that element - return spawn('npm', ['run', script], { - cwd: location, - stdio: 'inherit', - shell: true - }) + const package = JSON.parse(fs.readFileSync(path.join(elementLocation, 'package.json'), 'utf8')) + return Object.keys(package.scripts) } module.exports.config = config() @@ -304,6 +266,4 @@ module.exports.libraries = libraries() module.exports.librariesOptions = librariesOptions() module.exports.librariesDir = librariesDir() module.exports.getElements = getElements -module.exports.getElementByLocation = getElementByLocation -module.exports.getElementScripts = getElementScripts -module.exports.runScript = runScript \ No newline at end of file +module.exports.getElementScripts = getElementScripts \ No newline at end of file diff --git a/packages/common/factories.js b/packages/common/factories.js index 779d721f0..f0b34af7f 100644 --- a/packages/common/factories.js +++ b/packages/common/factories.js @@ -1,5 +1,5 @@ const path = require('path') -const { glob } = require('glob') +const glob = require('glob') const { factoryDir } = require('./config') /** diff --git a/packages/common/package.json b/packages/common/package.json index c4008e9f7..9a3f801c3 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,7 +1,7 @@ { "name": "@wcfactory/common", "description": "Share utilities for wcfactory.", - "version": "0.13.0", + "version": "0.8.6", "main": "index.js", "license": "Apache 2.0", "repository": "elmsln/wcfactory", @@ -15,12 +15,12 @@ "dependencies": { "chalk": "^4.1.0", "fs-extra": "^9.0.1", - "glob": "^10.2.7", + "glob": "^7.1.3", "lerna": "^3.11.0", "lodash": "^4.17.11", "polymer-cli": "1.9.11", "rimraf": "^3.0.2", "strip-ansi": "^6.0.0" }, - "gitHead": "72f5a446893e45d8c2df8ea2116ef3e741e13849" + "gitHead": "53176e73a12036cd329b6d908ad11919a97a24b0" } diff --git a/packages/common/unbundled-build.js b/packages/common/unbundled-build.js index 8fe035f1b..b3427f547 100644 --- a/packages/common/unbundled-build.js +++ b/packages/common/unbundled-build.js @@ -2,7 +2,7 @@ const cp = require("child_process"); // @todo this should be handled better const path = require("path"); const polymer = path.join(require.resolve("polymer-cli"), '../../bin/polymer.js'); -const { glob } = require("glob"); +const glob = require("glob"); const Terser = require("terser"); const chalk = require("chalk"); const stripAnsi = require("strip-ansi"); @@ -42,6 +42,17 @@ const build = () => { module: true } }) + // Run terser + runTerser({ + name: 'es6-amd', + pattern: path.join(process.cwd(), "dist/build/es6-amd/**/*.js"), + terserOpts: { + keep_fnames: true, + mangle: false, + module: true, + safari10: true, + } + }) moveFiles({ name: `html files`, pattern: "*.html" }); }) } diff --git a/packages/generator-wcfactory/.gitignore b/packages/generator-wcfactory/.gitignore deleted file mode 100644 index 3c3629e64..000000000 --- a/packages/generator-wcfactory/.gitignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/packages/generator-wcfactory/generators/build/index.js b/packages/generator-wcfactory/generators/build/index.js index babd9ca7f..0b7f6060a 100644 --- a/packages/generator-wcfactory/generators/build/index.js +++ b/packages/generator-wcfactory/generators/build/index.js @@ -2,7 +2,7 @@ const Generator = require("yeoman-generator"); const _ = require("lodash"); const fs = require("fs"); const path = require("path"); -const { glob } = require("glob"); +const glob = require("glob"); const mkdirp = require("mkdirp"); const process = require("process"); const { config, buildsDir, buildData, factoryDir, userConfig } = require('@wcfactory/common/config') diff --git a/packages/generator-wcfactory/generators/element/index.js b/packages/generator-wcfactory/generators/element/index.js index 2b4411b44..4dd6b7e0a 100644 --- a/packages/generator-wcfactory/generators/element/index.js +++ b/packages/generator-wcfactory/generators/element/index.js @@ -1,10 +1,11 @@ -const { config, libraries } = require('@wcfactory/common/config') +const { config, libraries, librariesDir } = require('@wcfactory/common/config') const Generator = require("yeoman-generator"); const _ = require("lodash"); const path = require("path"); -const { mkdirp } = require("mkdirp"); +const mkdirp = require("mkdirp"); const chalk = require("chalk"); const process = require("process"); +const {fixDotfiles} = require('../../utils/fix-dotfiles'); module.exports = class extends Generator { constructor(args, opts) { @@ -60,8 +61,7 @@ module.exports = class extends Generator { storyGroup: _.upperFirst(name), lowerCaseName: name, camelCaseName: _.camelCase(this.answers.name), - useSass: (this.answers.useSass == "" ? false : this.answers.useSass), - useCLI: this.answers.useCLI, + useSass: this.answers.useSass, sassLibraryPkg: false, sassLibraryPath: false, libraryScripts: '', @@ -107,6 +107,7 @@ module.exports = class extends Generator { } }, 'settings': { + 'quick': [], 'configure': [], 'advanced': [] } @@ -142,16 +143,22 @@ module.exports = class extends Generator { config.validationType = 'url'; config.required = true; config.icon = 'icons:link'; + // make this quickly available + this.props.haxList.settings.quick.push(config); } else if (prop.name === 'alt') { config.inputMethod = 'alt'; config.required = true; config.icon = 'icons:accessibility'; + // make this quickly available + this.props.haxList.settings.quick.push(config); } else if (prop.name === 'color' || prop.name === 'primaryColor' || prop.name === 'accentColor') { if (config.type === 'textfield') { config.inputMethod = 'colorpicker'; config.icon = 'editor:format-color-fill'; + // make this quickly available by default + this.props.haxList.settings.quick.push(config); } } this.props.haxList.settings.configure.push(config); @@ -221,9 +228,8 @@ module.exports = class extends Generator { } } // create element directory - await mkdirp.sync(`${this.props.factory}/elements/${this.props.elementName}`); + mkdirp.sync(`${this.props.factory}/elements/${this.props.elementName}`); // transition into that directory - process.chdir(`${this.props.factory}/elements/`); this.destinationRoot(`${this.props.factory}/elements/`); this.fs.copyTpl( this.templatePath("package.json"), @@ -242,24 +248,6 @@ module.exports = class extends Generator { this.destinationPath(`${this.props.elementName}/LICENSE.md`), this.props ); - if (this.answers.useCLI) { - this.fs.copyTpl( - this.templatePath(`src/properties.json`), - this.destinationPath( - `${this.props.elementName}/src/${ - this.props.elementName - }-properties.json` - ), - this.props - ); - this.fs.copyTpl( - this.templatePath(`src/hax.json`), - this.destinationPath( - `${this.props.elementName}/src/${this.props.elementName}-hax.json` - ), - this.props - ); - } this.fs.copyTpl( this.templatePath("README.md"), @@ -274,114 +262,64 @@ module.exports = class extends Generator { ); this.fs.copyTpl( - this.templatePath("lib/.gitkeep"), - this.destinationPath(`${this.props.elementName}/lib/.gitkeep`), + this.templatePath("rollup.config.js"), + this.destinationPath(`${this.props.elementName}/rollup.config.js`), this.props ); this.fs.copyTpl( - this.templatePath("lib/.gitkeep"), - this.destinationPath(`${this.props.elementName}/lib/.gitkeep`), + this.templatePath("demo/index.html"), + this.destinationPath(`${this.props.elementName}/demo/index.html`), this.props ); this.fs.copyTpl( - this.templatePath("demo/index.html"), - this.destinationPath(`${this.props.elementName}/demo/index.html`), + this.templatePath("lib/hax.json"), + this.destinationPath(`${this.props.elementName}/lib/${this.props.elementName}.haxProperties.json`), this.props ); - + this.fs.copyTpl( - this.templatePath("test/element.test.js"), + this.templatePath("test/element_test.html"), this.destinationPath( - `${this.props.elementName}/test/${this.props.elementName}.test.js` + `${this.props.elementName}/test/${this.props.elementName}_test.html` ), this.props - ) + ); this.fs.copyTpl( - this.templatePath("element.stories.js"), + this.templatePath("test/index.html"), + this.destinationPath(`${this.props.elementName}/test/index.html`), + this.props + ); + + this.fs.copyTpl( + this.templatePath("element.story.js"), this.destinationPath( - `${this.props.elementName}/${this.props.elementName}.stories.js` + `${this.props.elementName}/${this.props.elementName}.story.js` ), this.props ); - this.fs.copy( this.templatePath(".*"), this.destinationPath(`${this.props.elementName}`) ); - - this.fs.copyTpl( - this.templatePath("_.gitignore"), - this.destinationPath(`${this.props.elementName}/.gitignore`), - this.props - ); - - this.fs.copyTpl( - this.templatePath("_.npmignore"), - this.destinationPath(`${this.props.elementName}/.npmignore`), - this.props + this.fs.copy( + this.templatePath("_.*"), + this.destinationPath(`${this.props.elementName}`) ); - this.fs.copy( this.templatePath("polymer.json"), this.destinationPath(`${this.props.elementName}/polymer.json`) ); - if (this.answers.useCLI) { - if (this.props.useSass) { - this.fs.copyTpl( - this.templatePath("src/element.scss"), - this.destinationPath( - `${this.props.elementName}/src/${this.props.elementName}.scss` - ), - this.props - ); - } else { - this.fs.copy( - this.templatePath("src/element.css"), - this.destinationPath( - `${this.props.elementName}/src/${this.props.elementName}.css` - ) - ); - } - } - else { - this.props.useSass = false; - } - if (this.answers.useCLI) { - this.fs.copyTpl( - this.templatePath("src/element.html"), - this.destinationPath( - `${this.props.elementName}/src/${this.props.elementName}.html` - ), - this.props - ); - } - // if we use the CLI, we dump in this template file - // otherwise we have to stitch them all together - if (this.answers.useCLI) { - this.fs.copyTpl( - this.sourceRoot( - `../../../templates/libraries/${this.props.activeWCFLibrary.main}` - ), - this.destinationPath( - `${this.props.elementName}/src/${this.props.elementName}.js` - ), - this.props - ); - } - else { - this.fs.copyTpl( - this.sourceRoot( - `../../../templates/noCLI/${this.props.activeWCFLibrary.main}` - ), - this.destinationPath( - `${this.props.elementName}/src/${this.props.elementName}.js` - ), - this.props - ); - } + + this.fs.copyTpl( + `${librariesDir}/${this.props.activeWCFLibrary.main}`, + this.destinationPath( + `${this.props.elementName}/src/${this.props.elementName}.js` + ), + this.props + ); } install() { @@ -395,21 +333,23 @@ module.exports = class extends Generator { end() { process.chdir(`${this.props.factory}/elements/${this.props.elementName}`); + this.spawnCommandSync("move", ["_.gitignore", ".gitignore"]); + this.spawnCommandSync("move", ["_.npmignore", ".npmignore"]); this.spawnCommandSync("yarn", ["run", "build"]); + process.chdir(`${this.props.factory}`); + this.spawnCommandSync("yarn", ["run", "haxschema", '--write', `--element=${this.props.elementName}`]); let banner = chalk.green("\n A fresh made ") + chalk.yellow("Web Component Factory ") + chalk.green("element brought to you by:\n ") + chalk.blue("The Pennsylvania ") + chalk.white("State University's ") + - chalk.magenta("E") + - chalk.cyan("L") + - chalk.red("M") + - chalk.yellow("S") + - chalk.white(": ") + - chalk.green("Learning Network\n") + chalk.magenta("H") + + chalk.cyan("A") + + chalk.red("X") + + chalk.white("The") + + chalk.green("Web\n") banner += - chalk.green("\n\nTo publish your element when done go to your element via CLI and type: npm publish:\n ") + chalk.green("\n\nTo work on your new element type:\n ") + chalk.yellow( `cd ${this.props.factory}/elements/${this.props.elementName} && yarn start\n\n` diff --git a/packages/generator-wcfactory/generators/element/templates/README.md b/packages/generator-wcfactory/generators/element/templates/README.md index a868a2f27..394dec17a 100644 --- a/packages/generator-wcfactory/generators/element/templates/README.md +++ b/packages/generator-wcfactory/generators/element/templates/README.md @@ -26,20 +26,20 @@ import '<%= orgNpm %>/<%= elementName %>/<%= elementName %>.js'; ## Develop / Demo Run `yarn start` will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the `/src` directory for changes and automatically rebuilding the element and documentation site for the demo. ```bash -yarn start +$ yarn start ``` ## Test ```bash -yarn run test +$ yarn run test ``` ## Build Builds ensure that wcfactory can correctly compile your web component project to work on the maximum number of browsers possible. ```bash -yarn run build +$ yarn run build ``` ## Contributing diff --git a/packages/generator-wcfactory/generators/element/templates/demo/index.html b/packages/generator-wcfactory/generators/element/templates/demo/index.html index cd98a700f..377b06067 100644 --- a/packages/generator-wcfactory/generators/element/templates/demo/index.html +++ b/packages/generator-wcfactory/generators/element/templates/demo/index.html @@ -6,6 +6,7 @@ <%= elementClassName %>: <%= elementName %> Demo + + + + + + + <<%= elementName %>> + This is the element content. + > + + + + + + + + + + + diff --git a/packages/generator-wcfactory/tests/heym-asdf/test/index.html b/packages/generator-wcfactory/generators/element/templates/test/index.html similarity index 90% rename from packages/generator-wcfactory/tests/heym-asdf/test/index.html rename to packages/generator-wcfactory/generators/element/templates/test/index.html index b80be234c..61fd5f306 100644 --- a/packages/generator-wcfactory/tests/heym-asdf/test/index.html +++ b/packages/generator-wcfactory/generators/element/templates/test/index.html @@ -9,7 +9,7 @@ diff --git a/packages/generator-wcfactory/generators/factory/index.js b/packages/generator-wcfactory/generators/factory/index.js index 66ff6bd84..d29d76b66 100644 --- a/packages/generator-wcfactory/generators/factory/index.js +++ b/packages/generator-wcfactory/generators/factory/index.js @@ -5,7 +5,6 @@ const mkdirp = require("mkdirp"); const process = require("process"); const fs = require("fs"); const {fixDotfiles} = require('../../utils/fix-dotfiles'); -const { spawn } = require('child_process') module.exports = class extends Generator { constructor(args, opts) { @@ -50,11 +49,7 @@ module.exports = class extends Generator { this.props, { ignore: ["._*"] } ); - this.fs.copyTpl( - this.templatePath("_.gitignore"), - this.destinationPath(`.gitignore`), - this.props - ); + fixDotfiles(this); } install() { diff --git a/packages/generator-wcfactory/generators/factory/templates/.gitattributes b/packages/generator-wcfactory/generators/factory/templates/.gitattributes deleted file mode 100644 index 131209079..000000000 --- a/packages/generator-wcfactory/generators/factory/templates/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -* text=auto -*.sh text eol=lf \ No newline at end of file diff --git a/packages/generator-wcfactory/generators/factory/templates/.travis.yml b/packages/generator-wcfactory/generators/factory/templates/.travis.yml new file mode 100644 index 000000000..5e5407ea7 --- /dev/null +++ b/packages/generator-wcfactory/generators/factory/templates/.travis.yml @@ -0,0 +1,19 @@ +language: node_js +sudo: false +node_js: + - "9" +os: + - linux + - osx +addons: + firefox: latest + chrome: stable +script: + - npm test -- --verbose +cache: + directories: + - node_modules +# matrix: +# exclude: +# - os: osx # skip this because on Travis, node.js segfaults on osx+node 9 +# node_js: "9" diff --git a/packages/generator-wcfactory/generators/factory/templates/README.md b/packages/generator-wcfactory/generators/factory/templates/README.md index bd6ac1c31..2344ef0f3 100644 --- a/packages/generator-wcfactory/generators/factory/templates/README.md +++ b/packages/generator-wcfactory/generators/factory/templates/README.md @@ -1,9 +1,8 @@ # <%= humanName %> [![Published on npm](https://img.shields.io/npm/v/<%= orgNpm %>/<%= name %>.svg?style=flat)](https://www.npmjs.com/package/<%= orgNpm %>/<%= name %>) -[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/) -[![Lit](https://img.shields.io/badge/-Lit-324fff?style=flat&logo=data:image/svg%2bxml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMTYwIDIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTYwIDgwdjgwbC00MC00MHptLTQwIDQwdjgwbDQwLTQwem0wLTgwdjgwbC00MC00MHptLTQwIDQwdjgwbDQwLTQwem0tNDAtNDB2ODBsNDAtNDB6bTQwLTQwdjgwbC00MC00MHptLTQwIDEyMHY4MGwtNDAtNDB6bS00MC00MHY4MGw0MC00MHoiLz48L3N2Zz4%3D)](https://lit.dev/) -[![code style: prettier](https://img.shields.io/badge/code_style-prettier-f8bc45.svg)](https://github.com/prettier/prettier) +[![Build Status](https://travis-ci.org/<%= orgGit %>/<%= name %>.svg?branch=master)](https://travis-ci.org/<%= orgGit %>/<%= name %>) [![Dependency Status](https://img.shields.io/david/<%= orgGit %>/<%= name %>.svg?style=flat)](https://david-dm.org/<%= orgGit %>/<%= name %>) +[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/author/<%= orgGit %>) Welcome to the <%= humanName %> project! <%= description %> ## Quick-start @@ -13,38 +12,31 @@ Welcome to the <%= humanName %> project! ### Install ```bash -git clone <%= gitRepo %> -cd <%= name %> -yarn global add @wcfactory/cli -yarn global add polymer-cli -yarn global add @web/test-runner -yarn global add @web/test-runner-commands -yarn global add @web/test-runner-puppeteer -yarn global add @web/test-runner-playwright -yarn global add lerna -yarn global add web-component-analyzer -yarn install +$ git clone <%= gitRepo %> +$ cd <%= name %> +$ yarn install +$ yarn start ``` ## Scripts -- `yarn start` +- `$ yarn start` - Launch a demo server. This should be continuously running as you develop. -- `wcf element` +- `$ wcf element` - Create a new component. -- `yarn run rebuild-wcfcache` +- `$ yarn run rebuild-wcfcache` - Rebuild caches as to what web component libraries can be used -- `yarn test` +- `$ yarn test` - Run tests on ALL <%= name %>. -- `yarn run build` +- `$ yarn run build` - Run build on ALL <%= name %>. -- `yarn run storybook` +- `$ yarn run storybook` - Run storybook -- `yarn run build-storybook` +- `$ yarn run build-storybook` - Build storybook for deployment -- `lerna publish` +- `$ lerna publish` - Publish ALL <%= name %>' elements to npmjs.com -- `lerna run build --no-bail` +- `$ lerna run build --no-bail` - Run `build` command in all projects in the repo, don't bail if there's an issue ## Web Component development @@ -59,13 +51,13 @@ Run `wcf element` to make a new element. Go to the new element following the dir ### Example development on a web component ```bash -cd /Sites/<%= name %> -yarn start +$ cd /Sites/<%= name %> +$ yarn start # SHIFT + CTRL + T to open a new tab in Terminal -cd elements your-card # or any other web component -yarn run dev +$ cd elements your-card # or any other web component +$ yarn run dev ``` Make a change to the web component and save. The gulpfile will handle transpiling the element down to ES5 and will bring in the HTML and Sass into the template in the web component. @@ -75,14 +67,14 @@ Make a change to the web component and save. The gulpfile will handle transpilin To test all <%= name %>, run `yarn test` from the root of the repo. If you only want to test the web component you're working on: ```bash -cd elements/your-card -yarn test +$ cd elements/your-card +$ yarn test ``` Also, if your tests are failing and you want access to a live browser to investigate why, the following flag will keep the browser open. ```bash -yarn test -- -p +$ yarn test -- -p ``` Then open the URL that will be printed in the terminal. It looks something like this: `http://localhost:8081/components/@<%= orgNpm %>/<%= name %>/generated-index.html?cli_browser_id=0`. @@ -94,7 +86,7 @@ We've added [Storybook](https://storybook.js.org/) to <%= name %> as a way to pr To run storybook ```bash -yarn run storybook +$ yarn run storybook ``` This will start a web server on port 9001. Navigate in your browser to `http://localhost:9001` to see Storybook in action. Storybook will watch for file changes and reload the browser automatically for you. This is a little slow at the moment, but we'll look into speeding this up. @@ -102,7 +94,7 @@ This will start a web server on port 9001. Navigate in your browser to `http://l To export the storybook static site ```bash -yarn run build-storybook +$ yarn run build-storybook ``` This places a build of the storybook site in the .storybook_out directory. diff --git a/packages/generator-wcfactory/generators/factory/templates/_.gitignore b/packages/generator-wcfactory/generators/factory/templates/_.gitignore index 3a930c69f..089cfa29a 100644 --- a/packages/generator-wcfactory/generators/factory/templates/_.gitignore +++ b/packages/generator-wcfactory/generators/factory/templates/_.gitignore @@ -8,7 +8,9 @@ npm-debug.log test/.wct-kludge .sass-cache .yo-rc.json +yarn.lock *-*.tgz +package-lock.json analysis.json yarn-error.log .cache \ No newline at end of file diff --git a/packages/generator-wcfactory/generators/factory/templates/elements/rh-sass/rollup.config.js b/packages/generator-wcfactory/generators/factory/templates/elements/rh-sass/rollup.config.js new file mode 100644 index 000000000..f36f682cc --- /dev/null +++ b/packages/generator-wcfactory/generators/factory/templates/elements/rh-sass/rollup.config.js @@ -0,0 +1,5 @@ +// rollup.config.js +import configFactory from "../../scripts/rollup.config.factory.js"; +import rhelementPackage from "./package.json"; + +export default configFactory(rhelementPackage.rhelement); diff --git a/packages/generator-wcfactory/generators/factory/templates/web-dev-server.config.mjs b/packages/generator-wcfactory/generators/factory/templates/es-dev-server.config.js similarity index 100% rename from packages/generator-wcfactory/generators/factory/templates/web-dev-server.config.mjs rename to packages/generator-wcfactory/generators/factory/templates/es-dev-server.config.js diff --git a/packages/generator-wcfactory/generators/factory/templates/github/workflows/build.yml b/packages/generator-wcfactory/generators/factory/templates/github/workflows/build.yml deleted file mode 100644 index 4ed4088db..000000000 --- a/packages/generator-wcfactory/generators/factory/templates/github/workflows/build.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: build -on: - push: - branches: [master] - pull_request: - branches: [master] -jobs: - build-and-test: - name: "${{ matrix.platform }}: node.js ${{ matrix.node-version }}" - strategy: - fail-fast: false - matrix: - platform: [ubuntu-latest, macos-latest] - node-version: [14] - include: - - platform: ubuntu-latest - node-version: 12 - runs-on: ${{ matrix.platform }} - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up Node.js - uses: actions/setup-node@v2-beta - with: - node-version: ${{ matrix.node-version }} - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - name: Cache Yarn - uses: actions/cache@v2 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-node-${{ matrix.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-node-${{ matrix.node-version }}-yarn- - - name: Install - run: yarn install - - name: A11y Test - run: yarn lerna run test --no-bail - - name: Build - run: yarn lerna run build --no-bail - - name: Rebuild Elements README - run: cd elements && for dir in */; do head -4 $dir/README.md; done > README.md \ No newline at end of file diff --git a/packages/generator-wcfactory/generators/factory/templates/package.json b/packages/generator-wcfactory/generators/factory/templates/package.json index d433eee66..f509181aa 100644 --- a/packages/generator-wcfactory/generators/factory/templates/package.json +++ b/packages/generator-wcfactory/generators/factory/templates/package.json @@ -3,9 +3,9 @@ "version": "0.0.0", "description": "<%= description %>", "wcfactory": { - "askSASS": true, - "askProps": true, - "askHAX": true, + "askSASS": false, + "askProps": false, + "askHAX": false, "monorepo": "<%= name %>", "orgNpm": "<%= orgNpm %>", "orgGit": "<%= orgGit %>", @@ -43,83 +43,77 @@ "@open-wc/storybook": "0.2.8", "@emotion/core": "0.13.1", "@emotion/styled": "0.10.6", - "@webcomponents/webcomponentsjs": "^2.8.0", + "@webcomponents/webcomponentsjs": "2.4.4", "babel-plugin-external-helpers": "6.22.0", "babel-plugin-transform-custom-element-classes": "0.1.0", "babel-plugin-transform-es2015-modules-umd": "6.24.1", "babel-preset-env": "1.7.0", - "browser-sync": "2.26.14", - "chalk": "4.1.0", + "browser-sync": "2.26.7", + "chalk": "3.0.0", "css-scss": "0.1.1", - "decomment": "0.9.3", + "decomment": "0.9.2", "del": "5.1.0", - "dialog-polyfill": "0.5.6", + "dialog-polyfill": "0.5.0", "global": "4.4.0", "gulp": "github:gulpjs/gulp#4.0", "gulp-babel": "8.0.0", - "gulp-clean-css": "4.3.0", + "gulp-clean-css": "4.2.0", "gulp-concat-util": "0.5.5", "gulp-copy": "4.0.1", "gulp-rename": "1.4.0", "gulp-replace": "1.0.0", - "gulp-sass": "4.1.0", + "gulp-sass": "4.0.2", "gulp-sequence": "1.0.0", - "gulp-shell": "0.8.0", + "gulp-shell": "0.7.1", "gulp-strip-css-comments": "2.0.0", "gulp-svg-sprite": "1.5.0", "gulp-trim": "1.0.2", - "husky": "4.3.8", - "inquirer-recursive": "0.0.7", + "husky": "3.0.9", + "inquirer-recursive": "0.0.6", "jest": "24.9.0", - "lerna": "3.22.1", - "lint-staged": "10.5.4", - "lodash": "4.17.21", + "lerna": "3.18.4", + "lint-staged": "9.4.3", + "lodash": "4.17.15", "lodash.clonedeep": "4.5.0", - "node-sass": "4.14.1", + "node-sass": "4.13.1", "polymer-build": "3.1.4", "polymer-webpack-loader": "2.0.3", - "@web/dev-server": "0.1.28", - "concurrently": "5.3.0", + "polymer-cli": "1.9.11", + "es-dev-server": "1.57.4", + "concurrently": "5.0.2", "prettier": "1.19.1", - "raw-loader": "4.0.2", + "raw-loader": "3.1.0", "react": "*", "react-dom": "*", "requirejs": "2.3.6", - "rollup": "1.32.1", - "rollup-plugin-babel": "4.4.0", + "rollup": "1.26.5", + "rollup-plugin-babel": "4.3.3", "rollup-plugin-commonjs": "10.1.0", - "rollup-plugin-delete": "1.2.0", - "rollup-plugin-terser": "5.3.1", - "strip-css-comments": "4.1.0", - "symlink-dir": "4.1.0", - "trim": "0.0.3", + "rollup-plugin-delete": "1.1.0", + "rollup-plugin-terser": "5.1.2", + "strip-css-comments": "4.0.0", + "symlink-dir": "3.1.1", + "trim": "0.0.1", "wct-browser-legacy": "1.0.2", "web-component-tester": "6.9.2", - "webpack": "4.46.0", - "whatwg-fetch": "3.6.1", - "yo": "3.1.1" - }, - "peerDependencies": { - "@web/test-runner": "0.12.19", - "@web/test-runner-commands": "0.4.2", - "@web/test-runner-playwright": "0.8.4", - "@web/test-runner-puppeteer": "0.9.3" + "webpack": "4.41.2", + "whatwg-fetch": "3.0.0", + "yo": "3.1.0" }, "dependencies": { - "lit": "^3.1.0", - "lit-element": "4.0.2", - "lit-html": "3.1.0", - "@lrnwebcomponents/deduping-fix": "^7.0.4" + "@lrnwebcomponents/deduping-fix": "2.6.16" }, "lint-staged": { "linters": { "*.{js,json}": [ - "prettier --write" + "prettier --write", + "git add" ] }, "ignore": [ "elements/**/*.*.js", "**/analysis-error.json", + "themes/**/*.*.js", "libraries/**/*.js" ] }, @@ -141,7 +135,8 @@ "useWorkspaces": true, "workspaces": { "packages": [ - "elements/*" + "elements/*", + "themes/*" ], "nohoist": [] }, diff --git a/packages/generator-wcfactory/generators/factory/templates/scripts/postinstall.sh b/packages/generator-wcfactory/generators/factory/templates/scripts/postinstall.sh index 1a8f3103b..dca80d0c3 100644 --- a/packages/generator-wcfactory/generators/factory/templates/scripts/postinstall.sh +++ b/packages/generator-wcfactory/generators/factory/templates/scripts/postinstall.sh @@ -31,12 +31,6 @@ for project in */ ; do if [ -d "build" ]; then symlink-dir ../../../elements/${p}/build ../../node_modules/<%= orgNpm %>/${p}/build fi - if [ -d "locales" ]; then - symlink-dir ../../../elements/${p}/locales ../../node_modules/<%= orgNpm %>/${p}/locales - fi - if [ -d "server" ]; then - symlink-dir ../../../elements/${p}/server ../../node_modules/<%= orgNpm %>/${p}/server - fi if [ -d "src" ]; then symlink-dir ../../../elements/${p}/src ../../node_modules/<%= orgNpm %>/${p}/src fi @@ -53,12 +47,6 @@ for project in */ ; do if [ -d "build" ]; then symlink-dir ../../../elements/${p}/build ../../node_modules/<%= orgNpm %>/${p}/build fi - if [ -d "locales" ]; then - symlink-dir ../../../elements/${p}/locales ../../node_modules/<%= orgNpm %>/${p}/locales - fi - if [ -d "server" ]; then - symlink-dir ../../../elements/${p}/server ../../node_modules/<%= orgNpm %>/${p}/server - fi if [ -d "src" ]; then symlink-dir ../../../elements/${p}/src ../../node_modules/<%= orgNpm %>/${p}/src fi @@ -75,12 +63,6 @@ for project in */ ; do if [ -d "build" ]; then ln -s ../../../elements/${p}/build ../../node_modules/<%= orgNpm %>/${p}/build fi - if [ -d "locales" ]; then - ln -s ../../../elements/${p}/locales ../../node_modules/<%= orgNpm %>/${p}/locales - fi - if [ -d "server" ]; then - ln -s ../../../elements/${p}/server ../../node_modules/<%= orgNpm %>/${p}/server - fi if [ -d "src" ]; then ln -s ../../../elements/${p}/src ../../node_modules/<%= orgNpm %>/${p}/src fi diff --git a/packages/generator-wcfactory/generators/factory/templates/storybook/addons.js b/packages/generator-wcfactory/generators/factory/templates/storybook/addons.js new file mode 100644 index 000000000..88ef588b0 --- /dev/null +++ b/packages/generator-wcfactory/generators/factory/templates/storybook/addons.js @@ -0,0 +1,8 @@ +import "@storybook/addon-storysource/register"; +import "@storybook/addon-actions/register"; +import "@storybook/addon-backgrounds/register"; +import "@storybook/addon-notes/register"; +import "@storybook/addon-knobs/register"; +import "@storybook/addon-links/register"; +import "@storybook/addon-viewport/register"; +import "@storybook/addon-options/register"; diff --git a/packages/generator-wcfactory/generators/factory/templates/storybook/config.js b/packages/generator-wcfactory/generators/factory/templates/storybook/config.js new file mode 100644 index 000000000..ca1605982 --- /dev/null +++ b/packages/generator-wcfactory/generators/factory/templates/storybook/config.js @@ -0,0 +1,14 @@ +import { configure } from "@storybook/polymer"; +import { setOptions } from "@storybook/addon-options"; + +setOptions({ + name: "lrnwebcomponents", + hierarchyRootSeparator: /\|/ +}); + +const req = require.context("../elements", true, /\.story\.js$/); +function loadStories() { + req.keys().forEach(filename => req(filename)); +} + +configure(loadStories, module); diff --git a/packages/generator-wcfactory/generators/factory/templates/storybook/main.js b/packages/generator-wcfactory/generators/factory/templates/storybook/main.js deleted file mode 100644 index 283cd20d7..000000000 --- a/packages/generator-wcfactory/generators/factory/templates/storybook/main.js +++ /dev/null @@ -1,52 +0,0 @@ -const path = require("path"); -const fs = require("fs"); -const cpy = require("rollup-plugin-cpy"); - -module.exports = { - // Globs of all the stories in your project - stories: ["./**.stories.{js,mdx}", "../elements/*/**.stories.{js,mdx}"], - - // Addons to be loaded, note that you need to import - // them from storybook-prebuilt - addons: [ - "storybook-prebuilt/addon-actions/register.js", - "storybook-prebuilt/addon-knobs/register.js", - "storybook-prebuilt/addon-a11y/register.js", - "storybook-prebuilt/addon-docs/register.js", - ], - - // Configuration for es-dev-server (start-storybook only) - esDevServer: { - nodeResolve: true, - open: true, - watch: true, - https: true, - dedupe: true, - preserveSymlinks: true, - }, - - // Rollup build output directory (build-storybook only) - outputDir: "../../../storybooks/styleguide", - - // Configuration for rollup (build-storybook only) - rollup: (config) => { - config.plugins.push( - cpy({ - files: ["elements/*/demo/**/*.{csv,json,jpg,jpeg,png,vtt,mp3,mp4}"], - dest: "../../storybooks/styleguide", - options: { parents: true }, - }), - cpy({ - files: ["elements/**/svgs/**/*.svg"], - dest: "../../storybooks/styleguide/", - options: { parents: true }, - }), - /*cpy({ - files: ["elements/third-party-js/dist/third-party-js.min.*"], - dest: "../../storybooks/styleguide/", - options: { parents: true }, - })*/ - ); - return config; - }, -}; diff --git a/packages/generator-wcfactory/generators/factory/templates/storybook/preview.js b/packages/generator-wcfactory/generators/factory/templates/storybook/preview.js deleted file mode 100644 index 4cf1a7dcc..000000000 --- a/packages/generator-wcfactory/generators/factory/templates/storybook/preview.js +++ /dev/null @@ -1,95 +0,0 @@ -import { - addParameters, - addDecorator, - setCustomElements, - withA11y, - } from "@open-wc/demoing-storybook"; - - addDecorator(withA11y); - - addParameters({ - options: { - panelPosition: "right", - sortStoriesByKind: true, - storySort: (a, b) => - a[1].kind === b[1].kind - ? 0 - : a[1].id.localeCompare(b[1].id, { numeric: true }), - theme: { - base: "light", - - colorPrimary: "hotpink", - colorSecondary: "deepskyblue", - - /* UI*/ - appBg: "rgb(246, 249, 252)", - appContentBg: "white", - appBorderColor: "grey", - appBorderRadius: 4, - - // Typography - fontBase: '"Open Sans", sans-serif', - fontCode: "monospace", - - // Text colors - textColor: "rgb(51, 51, 51)", - textInverseColor: "rgba(255,255,255,0.9)", - - // Toolbar default and active colors - barTextColor: "rgb(153, 153, 153)", - barSelectedColor: "deepskyblue", - barBg: "white", - - // Form colors - inputBg: "white", - inputBorder: "rgb(153, 153, 153)", - inputTextColor: "rgb(51, 51, 51)", - inputBorderRadius: 4, - - brandTitle: "ELMS:LN lrnwebcompomnents", - brandUrl: "https://github.com/elmsln/lrnwebcomponents", - }, - }, - a11y: { - config: {}, - options: { - checks: { "color-contrast": { options: { noScroll: true } } }, - restoreScroll: true, - }, - }, - docs: { - iframeHeight: "200px", - }, - backgrounds: [ - { - name: "light", - value: "#fff", - default: true, - }, - { - name: "dark", - value: "#252525", - }, - { - name: "saturated", - value: "#007a87", - }, - ], - }); - - async function run() { - const customElements = await ( - await fetch(new URL("../custom-elements.json", import.meta.url)) - ).json(); - - setCustomElements(customElements); - } - - run(); - // local development and mobx - window.process = window.process || { - env: { - NODE_ENV: "development", - }, - }; - \ No newline at end of file diff --git a/packages/generator-wcfactory/generators/factory/templates/storybook/webpack.config.js b/packages/generator-wcfactory/generators/factory/templates/storybook/webpack.config.js new file mode 100644 index 000000000..cae5cc21d --- /dev/null +++ b/packages/generator-wcfactory/generators/factory/templates/storybook/webpack.config.js @@ -0,0 +1,39 @@ +const path = require("path"); + +module.exports = (storybookBaseConfig, configType, defaultConfig) => { + defaultConfig.resolve.modules.push("node_modules"); + defaultConfig.module.rules.push({ + test: [/\.js$/], + loader: require.resolve( + "@open-wc/webpack/loaders/import-meta-url-loader.js" + ) + }); + defaultConfig.module.rules.push({ + test: [/\.stories\.js$/, /index\.js$/], + loaders: [require.resolve("@storybook/addon-storysource/loader")], + enforce: "pre" + }); + + // Searches through all exclude rules and replaces them if they exclude node_modules + // Replacement will exclude node_modules with the exeption of listed below packages + for (let i = 0; i < defaultConfig.module.rules.length; i += 1) { + const rule = defaultConfig.module.rules[i]; + if (rule.exclude) { + for (let j = 0; j < rule.exclude.length; j += 1) { + if (rule.exclude[j] === path.resolve("node_modules")) { + rule.exclude[j] = modulePath => { + return ( + /node_modules/.test(modulePath) && + !/node_modules\/@polymer/.test(modulePath) && + !/node_modules\/lit-html/.test(modulePath) && + !/node_modules\/lit-element/.test(modulePath) && + !/node_modules\/@open-wc/.test(modulePath) + ); + }; + } + } + } + } + + return defaultConfig; +}; diff --git a/packages/graphql-server/README.md b/packages/generator-wcfactory/generators/factory/templates/themes/.gitkeep similarity index 100% rename from packages/graphql-server/README.md rename to packages/generator-wcfactory/generators/factory/templates/themes/.gitkeep diff --git a/packages/generator-wcfactory/generators/factory/templates/themes/default-theme/package.json b/packages/generator-wcfactory/generators/factory/templates/themes/default-theme/package.json new file mode 100644 index 000000000..2b54e48c1 --- /dev/null +++ b/packages/generator-wcfactory/generators/factory/templates/themes/default-theme/package.json @@ -0,0 +1,11 @@ +{ + "name": "<%= orgNpm %>/default-theme", + "description": "<%= name %> theme placeholder", + "scripts": { + "test": "../../node_modules/.bin/wct --configFile ../../wct.conf.json elements/all/test/" + }, + "version": "0.0.1", + "private": true, + "license": "Apache-2.0", + "dependencies": {} +} \ No newline at end of file diff --git a/packages/generator-wcfactory/generators/factory/templates/web-test-runner.config.mjs b/packages/generator-wcfactory/generators/factory/templates/web-test-runner.config.mjs deleted file mode 100644 index 59199ce17..000000000 --- a/packages/generator-wcfactory/generators/factory/templates/web-test-runner.config.mjs +++ /dev/null @@ -1,13 +0,0 @@ -export default { - concurrency: 10, - nodeResolve: true, - // in a monorepo you need to set set the root dir to resolve modules - rootDir: '../../', - testRunnerHtml: testFramework => - ` - - - - - `, - }; \ No newline at end of file diff --git a/packages/generator-wcfactory/generators/start/index.js b/packages/generator-wcfactory/generators/start/index.js index 439d93931..f44473b10 100644 --- a/packages/generator-wcfactory/generators/start/index.js +++ b/packages/generator-wcfactory/generators/start/index.js @@ -1,6 +1,8 @@ const Generator = require("yeoman-generator"); const _ = require("lodash"); const process = require("process"); +const {fixDotfiles} = require('../../utils/fix-dotfiles'); + module.exports = class extends Generator { constructor(args, opts) { @@ -42,11 +44,8 @@ module.exports = class extends Generator { this.props, { ignore: [".DS_Store"] } ); - this.fs.copyTpl( - this.templatePath("_.gitignore"), - this.destinationPath(`.gitignore`), - this.props - ); + + fixDotfiles(this); } install() { diff --git a/packages/generator-wcfactory/generators/start/templates/templates/builds/_common/build.html b/packages/generator-wcfactory/generators/start/templates/templates/builds/_common/build.html index 31879bfad..25a1c69f9 100644 --- a/packages/generator-wcfactory/generators/start/templates/templates/builds/_common/build.html +++ b/packages/generator-wcfactory/generators/start/templates/templates/builds/_common/build.html @@ -3,6 +3,7 @@ <%= name %> build housing to ensure assets resolve + diff --git a/packages/generator-wcfactory/generators/start/templates/templates/libraries/HAXcmsTheme/package.json b/packages/generator-wcfactory/generators/start/templates/templates/libraries/HAXcmsTheme/package.json index f2e2f1300..29a7f7f85 100644 --- a/packages/generator-wcfactory/generators/start/templates/templates/libraries/HAXcmsTheme/package.json +++ b/packages/generator-wcfactory/generators/start/templates/templates/libraries/HAXcmsTheme/package.json @@ -13,30 +13,28 @@ "version": "0.0.1", "scripts": { "start": "yarn run dev", - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "web-dev-server -c ../../web-dev-server.config.mjs", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" + "build": "../../node_modules/.bin/gulp --gulpfile=gulpfile.cjs && ../../node_modules/.bin/rollup -c && ../../node_modules/.bin/prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"**/*.js\" --outFile custom-elements.json", + "dev": "../../node_modules/.bin/concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", + "watch": "../../node_modules/.bin/gulp dev --gulpfile=gulpfile.cjs", + "serve": "../../node_modules/.bin/es-dev-server -c ../../es-dev-server.config.js", + "lighthouse": "../../node_modules/.bin/gulp lighthouse --gulpfile=gulpfile.cjs" }, "dependencies": { - "lit": "^3.1.0", - "@lrnwebcomponents/haxcms-elements": "^7.0.18", - "@lrnwebcomponents/simple-colors": "^7.0.18" + "lit": "^3.1.3", + "mobx": "^6.12.3" }, "devDependencies": { - "@wcfactory/rollup-umd-build": "^0.12.1", "web-animations-js": "2.3.2", - "@lrnwebcomponents/deduping-fix": "^7.0.4", + "@lrnwebcomponents/deduping-fix": "2.6.16", "@polymer/iron-demo-helpers": "3.1.0", "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", - "@webcomponents/webcomponentsjs": "^2.8.0", + "@webcomponents/webcomponentsjs": "2.4.4", "gulp-babel": "8.0.0", - "lodash": "4.17.21", - "@web/dev-server": "0.1.28", - "concurrently": "5.3.0", + "lodash": "4.17.15", + "polymer-cli": "1.9.11", + "es-dev-server": "1.57.4", + "concurrently": "5.0.2", "polymer-build": "3.1.4", - "wct-browser-legacy": "1.0.2", - "@open-wc/testing": "2.5.32" + "wct-browser-legacy": "1.0.2" } } diff --git a/packages/generator-wcfactory/generators/start/templates/templates/libraries/HTMLElement/package.json b/packages/generator-wcfactory/generators/start/templates/templates/libraries/HTMLElement/package.json index d759dfcde..cc50262ac 100644 --- a/packages/generator-wcfactory/generators/start/templates/templates/libraries/HTMLElement/package.json +++ b/packages/generator-wcfactory/generators/start/templates/templates/libraries/HTMLElement/package.json @@ -10,26 +10,25 @@ "version": "0.0.1", "scripts": { "start": "yarn run dev", - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "web-dev-server -c ../../web-dev-server.config.mjs", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" + "build": "../../node_modules/.bin/gulp --gulpfile=gulpfile.cjs && ../../node_modules/.bin/rollup -c && ../../node_modules/.bin/prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"**/*.js\" --outFile custom-elements.json", + "dev": "../../node_modules/.bin/concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", + "watch": "../../node_modules/.bin/gulp dev --gulpfile=gulpfile.cjs", + "serve": "../../node_modules/.bin/es-dev-server -c ../../es-dev-server.config.js", + "lighthouse": "../../node_modules/.bin/gulp lighthouse --gulpfile=gulpfile.cjs" }, "dependencies": {}, "devDependencies": { - "@wcfactory/rollup-umd-build": "^0.12.1", "web-animations-js": "2.3.2", - "@lrnwebcomponents/deduping-fix": "^7.0.4", + "@lrnwebcomponents/deduping-fix": "2.6.16", "@polymer/iron-demo-helpers": "3.1.0", "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", - "@webcomponents/webcomponentsjs": "^2.8.0", + "@webcomponents/webcomponentsjs": "2.4.4", "gulp-babel": "8.0.0", - "lodash": "4.17.21", - "@web/dev-server": "0.1.28", - "concurrently": "5.3.0", + "lodash": "4.17.15", + "polymer-cli": "1.9.11", + "es-dev-server": "1.57.4", + "concurrently": "5.0.2", "polymer-build": "3.1.4", - "wct-browser-legacy": "1.0.2", - "@open-wc/testing": "2.5.32" + "wct-browser-legacy": "1.0.2" } } diff --git a/packages/generator-wcfactory/generators/start/templates/templates/libraries/LitElement/LitElement.js b/packages/generator-wcfactory/generators/start/templates/templates/libraries/LitElement/LitElement.js index 00fc4d3fa..4734bc1b9 100644 --- a/packages/generator-wcfactory/generators/start/templates/templates/libraries/LitElement/LitElement.js +++ b/packages/generator-wcfactory/generators/start/templates/templates/libraries/LitElement/LitElement.js @@ -2,7 +2,7 @@ * Copyright <%= year %> <%= copyrightOwner %> * @license <%= license %>, see License.md for full text. */ -import { LitElement, html, css } from "lit"; +import { LitElement, html, css } from 'lit'; <%- includesString %> /** * `<%= elementName %>` @@ -11,8 +11,6 @@ import { LitElement, html, css } from "lit"; * @element <%= elementName %> */ class <%= elementClassName %> extends <%= customElementClass %> { - /* REQUIRED FOR TOOLING DO NOT TOUCH */ - /** * Convention we use */ @@ -28,41 +26,12 @@ class <%= elementClassName %> extends <%= customElementClass %> { <%- constructorString %> } /** - * LitElement ready + * haxProperties integration via file reference */ - firstUpdated(changedProperties) { - <%- connectedString %> - } - /** - * LitElement life cycle - property changed - */ - updated(changedProperties) { - changedProperties.forEach((oldValue, propName) => { - /* notify example - // notify - if (propName == 'format') { - this.dispatchEvent( - new CustomEvent(`${propName}-changed`, { - detail: { - value: this[propName], - } - }) - ); - } - */ - /* observer example - if (propName == 'activeNode') { - this._activeNodeChanged(this[propName], oldValue); - } - */ - /* computed example - if (['id', 'selected'].includes(propName)) { - this.__selectedChanged(this.selected, this.id); - } - */ - }); - } + static get haxProperties() { + return new URL(`./lib/${this.tag}.haxProperties.json`, import.meta.url).href; + } <%- additionalFunctionsString %> } -customElements.define(<%= elementClassName %>.tag, <%= elementClassName %>); +globalThis.customElements.define(<%= elementClassName %>.tag, <%= elementClassName %>); export { <%= elementClassName %> }; diff --git a/packages/generator-wcfactory/generators/start/templates/templates/libraries/LitElement/package.json b/packages/generator-wcfactory/generators/start/templates/templates/libraries/LitElement/package.json index 5d17d3ee4..23ff2d208 100644 --- a/packages/generator-wcfactory/generators/start/templates/templates/libraries/LitElement/package.json +++ b/packages/generator-wcfactory/generators/start/templates/templates/libraries/LitElement/package.json @@ -13,28 +13,27 @@ "version": "0.0.1", "scripts": { "start": "yarn run dev", - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "web-dev-server -c ../../web-dev-server.config.mjs", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" + "build": "../../node_modules/.bin/gulp --gulpfile=gulpfile.cjs && ../../node_modules/.bin/rollup -c && ../../node_modules/.bin/prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"**/*.js\" --outFile custom-elements.json", + "dev": "../../node_modules/.bin/concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", + "watch": "../../node_modules/.bin/gulp dev --gulpfile=gulpfile.cjs", + "serve": "../../node_modules/.bin/es-dev-server -c ../../es-dev-server.config.js", + "lighthouse": "../../node_modules/.bin/gulp lighthouse --gulpfile=gulpfile.cjs" }, "dependencies": { - "lit": "^3.1.0" + "lit": "^3.1.3" }, "devDependencies": { - "@wcfactory/rollup-umd-build": "^0.12.1", - "@lrnwebcomponents/deduping-fix": "^7.0.4", - "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", + "web-animations-js": "2.3.2", + "@lrnwebcomponents/deduping-fix": "2.6.16", "@polymer/iron-demo-helpers": "3.1.0", - "@webcomponents/webcomponentsjs": "^2.8.0", - "concurrently": "5.3.0", + "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", + "@webcomponents/webcomponentsjs": "2.4.4", "gulp-babel": "8.0.0", - "lodash": "4.17.21", + "lodash": "4.17.19", + "polymer-cli": "1.9.11", + "es-dev-server": "1.57.4", + "concurrently": "5.0.2", "polymer-build": "3.1.4", - "@web/dev-server": "0.1.28", - "wct-browser-legacy": "1.0.2", - "web-animations-js": "2.3.2", - "@open-wc/testing": "2.5.32" + "wct-browser-legacy": "1.0.2" } } diff --git a/packages/generator-wcfactory/generators/start/templates/templates/libraries/SingletonElement/SingletonElement.js b/packages/generator-wcfactory/generators/start/templates/templates/libraries/SingletonElement/SingletonElement.js index 6a117ecdb..20e13315b 100644 --- a/packages/generator-wcfactory/generators/start/templates/templates/libraries/SingletonElement/SingletonElement.js +++ b/packages/generator-wcfactory/generators/start/templates/templates/libraries/SingletonElement/SingletonElement.js @@ -2,7 +2,7 @@ * Copyright <%= year %> <%= copyrightOwner %> * @license <%= license %>, see License.md for full text. */ -import { LitElement, html, css } from "lit"; +import { LitElement, html, css } from "lit-element/lit-element.js"; // register globally so we can make sure there is only one window.<%= elementClassName %> = window.<%= elementClassName %> || {}; // request if this exists. This helps invoke the element existing in the dom diff --git a/packages/generator-wcfactory/generators/start/templates/templates/libraries/SingletonElement/package.json b/packages/generator-wcfactory/generators/start/templates/templates/libraries/SingletonElement/package.json index e2b065372..594c30b16 100644 --- a/packages/generator-wcfactory/generators/start/templates/templates/libraries/SingletonElement/package.json +++ b/packages/generator-wcfactory/generators/start/templates/templates/libraries/SingletonElement/package.json @@ -13,28 +13,27 @@ "version": "0.0.1", "scripts": { "start": "yarn run dev", - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "web-dev-server -c ../../web-dev-server.config.mjs", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" + "build": "../../node_modules/.bin/gulp --gulpfile=gulpfile.cjs && ../../node_modules/.bin/rollup -c && ../../node_modules/.bin/prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"**/*.js\" --outFile custom-elements.json", + "dev": "../../node_modules/.bin/concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", + "watch": "../../node_modules/.bin/gulp dev --gulpfile=gulpfile.cjs", + "serve": "../../node_modules/.bin/es-dev-server -c ../../es-dev-server.config.js", + "lighthouse": "../../node_modules/.bin/gulp lighthouse --gulpfile=gulpfile.cjs" }, "dependencies": { - "lit": "^3.1.0" + "lit-element": "^2.3.1" }, "devDependencies": { - "@wcfactory/rollup-umd-build": "^0.12.1", "web-animations-js": "2.3.2", - "@lrnwebcomponents/deduping-fix": "^7.0.4", + "@lrnwebcomponents/deduping-fix": "2.6.16", "@polymer/iron-demo-helpers": "3.1.0", "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", - "@webcomponents/webcomponentsjs": "^2.8.0", + "@webcomponents/webcomponentsjs": "2.4.4", "gulp-babel": "8.0.0", - "lodash": "4.17.21", - "@web/dev-server": "0.1.28", - "concurrently": "5.3.0", + "lodash": "4.17.15", + "polymer-cli": "1.9.11", + "es-dev-server": "1.57.4", + "concurrently": "5.0.2", "polymer-build": "3.1.4", - "wct-browser-legacy": "1.0.2", - "@open-wc/testing": "2.5.32" + "wct-browser-legacy": "1.0.2" } } diff --git a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HAXcmsTheme/HAXcmsTheme.js b/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HAXcmsTheme/HAXcmsTheme.js deleted file mode 100644 index 3672570fd..000000000 --- a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HAXcmsTheme/HAXcmsTheme.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * Copyright <%= year %> <%= copyrightOwner %> - * @license <%= license %>, see License.md for full text. - */ -import { html, css } from "lit"; -import { HAXCMSLitElementTheme } from "@lrnwebcomponents/haxcms-elements/lib/core/HAXCMSLitElementTheme.js"; -import { HAXCMSRememberRoute } from "@lrnwebcomponents/haxcms-elements/lib/core/utils/HAXCMSRememberRoute.js"; -import { HAXCMSThemeParts } from "@lrnwebcomponents/haxcms-elements/lib/core/utils/HAXCMSThemeParts.js"; -import { store } from "@lrnwebcomponents/haxcms-elements/lib/core/haxcms-site-store.js"; -import { autorun, toJS } from "mobx"; -/** - * `<%= elementName %>` - * `<%= description %>` - * - * @microcopy - language worth noting: - * - HAXcms - A headless content management system - * - HAXCMSTheme - A super class that provides correct baseline wiring to build a new theme - * - * @demo demo/index.html - * @element <%= elementName %> - */ -class <%= elementClassName %> extends HAXCMSThemeParts(HAXCMSRememberRoute(HAXCMSLitElementTheme)) { - /** - * Add elements to cheat on initial paint here - */ - constructor() { - super(); - <%- constructorString %> - this.__disposer = []; - autorun(reaction => { - this.activeManifestIndex = toJS(store.activeManifestIndex); - this.__disposer.push(reaction); - }); - } - /** - * LitElement style callback - */ - static get styles() { - // support for using in other classes - let styles = []; - if (super.styles) { - styles = super.styles; - } - return [...styles, css` - :host { - display: block; - } - `] - } - /** - * LitElement render callback - */ - render() { - return html` -
-
- -
-
- `; - } - /** - * Store the tag name to make it easier to obtain directly. - * @notice function name must be here for tooling to operate correctly - */ - static get tag() { - return "<%= elementName %>"; - } - /** - * life cycle, element is afixed to the DOM - */ - firstUpdated(changedProperties) { - if (super.firstUpdated) { - super.firstUpdated(changedProperties); - } - <%- connectedString %> - } - /** - * life cycle, element is removed from the DOM - */ - disconnectedCallback() { - for (var i in this.__disposer) { - this.__disposer[i].dispose(); - } - super.disconnectedCallback(); - } - /** - * Previous page to hook into when prev is hit - */ - prevPage(e) { - super.prevPage(e); - } - /** - * Next page to hook into when next is hit - */ - nextPage(e) { - super.nextPage(e); - } - - <%- additionalFunctionsString %> -} -customElements.define(<%= elementClassName %>.tag, <%= elementClassName %>); -export { <%= elementClassName %> }; diff --git a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HAXcmsTheme/package.json b/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HAXcmsTheme/package.json deleted file mode 100644 index f2e2f1300..000000000 --- a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HAXcmsTheme/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "HAXcmsTheme", - "description": "Build a theme for HAXcms that much faster", - "wcfactory": { - "customElementClass": "LitElement", - "templateReturnFunctionPart": "render() {\n return html", - "propertyBinding": { - "prefix": "${this.", - "suffix": "}" - } - }, - "main": "HAXcmsTheme/HAXcmsTheme.js", - "version": "0.0.1", - "scripts": { - "start": "yarn run dev", - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "web-dev-server -c ../../web-dev-server.config.mjs", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" - }, - "dependencies": { - "lit": "^3.1.0", - "@lrnwebcomponents/haxcms-elements": "^7.0.18", - "@lrnwebcomponents/simple-colors": "^7.0.18" - }, - "devDependencies": { - "@wcfactory/rollup-umd-build": "^0.12.1", - "web-animations-js": "2.3.2", - "@lrnwebcomponents/deduping-fix": "^7.0.4", - "@polymer/iron-demo-helpers": "3.1.0", - "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", - "@webcomponents/webcomponentsjs": "^2.8.0", - "gulp-babel": "8.0.0", - "lodash": "4.17.21", - "@web/dev-server": "0.1.28", - "concurrently": "5.3.0", - "polymer-build": "3.1.4", - "wct-browser-legacy": "1.0.2", - "@open-wc/testing": "2.5.32" - } -} diff --git a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HTMLElement/HTMLElement.js b/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HTMLElement/HTMLElement.js deleted file mode 100644 index 08a324e5b..000000000 --- a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HTMLElement/HTMLElement.js +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Copyright <%= year %> <%= copyrightOwner %> - * @license <%= license %>, see License.md for full text. - */ -<%- includesString %> -/** - * `<%= elementName %>` - * `<%= description %>` - * - * @microcopy - language worth noting: - * - - * - * @demo demo/index.html - * @element <%= elementName %> - */ -class <%= elementClassName %> extends <%= customElementClass %> { - /** - * object life cycle - */ - constructor(delayRender = false) { - super(); - <%- constructorString %> - // create a template element for processing shadowRoot - this.template = document.createElement("template"); - // create a shadowRoot - this.attachShadow({ mode: "open" }); - // optional delay in rendering, otherwise it always happens - if (!delayRender) { - this.render(); - } - } - /** - * This is a convention, not the standard to return HTML of the element - */ - get html() { - return ``; - } - /** - * attributes to notice changes to - */ - static get observedAttributes() { - return []; - } - /** - * callback when any observed attribute changes - */ - attributeChangedCallback(attr, oldValue, newValue) { - - } - /** - * This is a convention, not the standard - */ - static get tag() { - return "<%= elementName %>"; - } - /** - * life cycle, element is afixed to the DOM - */ - connectedCallback() { - if (window.ShadyCSS) { - window.ShadyCSS.styleElement(this); - } - <%- connectedString %> - } - /** - * Render / rerender the shadowRoot - */ - render() { - this.shadowRoot.innerHTML = null; - this.template.innerHTML = this.html; - - if (window.ShadyCSS) { - window.ShadyCSS.prepareTemplate(this.template, this.tag); - } - this.shadowRoot.appendChild(this.template.content.cloneNode(true)); - } - <%- additionalFunctionsString %> -} -customElements.define(<%= elementClassName %>.tag, <%= elementClassName %>); -export { <%= elementClassName %> }; diff --git a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HTMLElement/package.json b/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HTMLElement/package.json deleted file mode 100644 index d759dfcde..000000000 --- a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/HTMLElement/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "Vanilla", - "description": "HTMLElement class extension, 0 dependencies", - "wcfactory": { - "customElementClass": "HTMLElement", - "templateReturnFunctionPart": "get html() {\n return ", - "propertyBinding": false - }, - "main": "HTMLElement/HTMLElement.js", - "version": "0.0.1", - "scripts": { - "start": "yarn run dev", - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "web-dev-server -c ../../web-dev-server.config.mjs", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" - }, - "dependencies": {}, - "devDependencies": { - "@wcfactory/rollup-umd-build": "^0.12.1", - "web-animations-js": "2.3.2", - "@lrnwebcomponents/deduping-fix": "^7.0.4", - "@polymer/iron-demo-helpers": "3.1.0", - "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", - "@webcomponents/webcomponentsjs": "^2.8.0", - "gulp-babel": "8.0.0", - "lodash": "4.17.21", - "@web/dev-server": "0.1.28", - "concurrently": "5.3.0", - "polymer-build": "3.1.4", - "wct-browser-legacy": "1.0.2", - "@open-wc/testing": "2.5.32" - } -} diff --git a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/LitElement/LitElement.js b/packages/generator-wcfactory/generators/start/templates/templates/noCLI/LitElement/LitElement.js deleted file mode 100644 index d0b85f99e..000000000 --- a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/LitElement/LitElement.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * Copyright <%= year %> <%= copyrightOwner %> - * @license <%= license %>, see License.md for full text. - */ -import { LitElement, html, css } from "lit"; -/** - * `<%= elementName %>` - * `<%= description %>` - * @demo demo/index.html - * @element <%= elementName %> - */ -class <%= elementClassName %> extends <%= customElementClass %> { - /** - * HTMLElement - */ - constructor() { - super(); - <%- constructorString %> - } - /** - * LitElement style callback - */ - static get styles() { - // support for using in other classes - let styles = []; - if (super.styles) { - styles = super.styles; - } - return [...styles, css` - :host { - display: block; - } - `] - } - /** - * LitElement render callback - */ - render() { - return html` -
- -
- `; - } - /** - * Convention we use - */ - static get tag() { - return "<%= elementName %>"; - } - /** - * LitElement ready - */ - firstUpdated(changedProperties) { - if (super.firstUpdated) { - super.firstUpdated(changedProperties); - } - } - /** - * LitElement life cycle - property changed - */ - updated(changedProperties) { - if (super.updated) { - super.updated(changedProperties); - } - changedProperties.forEach((oldValue, propName) => { - /* notify example - // notify - if (propName == 'format') { - this.dispatchEvent( - new CustomEvent(`${propName}-changed`, { - detail: { - value: this[propName], - } - }) - ); - } - */ - /* observer example - if (propName == 'activeNode') { - this._activeNodeChanged(this[propName], oldValue); - } - */ - /* computed example - if (['id', 'selected'].includes(propName)) { - this.__selectedChanged(this.selected, this.id); - } - */ - }); - } -} -customElements.define(<%= elementClassName %>.tag, <%= elementClassName %>); -export { <%= elementClassName %> }; diff --git a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/LitElement/package.json b/packages/generator-wcfactory/generators/start/templates/templates/noCLI/LitElement/package.json deleted file mode 100644 index 5d17d3ee4..000000000 --- a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/LitElement/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "lit-element", - "description": "data binding ++, about as small as possible library", - "wcfactory": { - "customElementClass": "LitElement", - "templateReturnFunctionPart": "render() {\n return html", - "propertyBinding": { - "prefix": "${this.", - "suffix": "}" - } - }, - "main": "LitElement/LitElement.js", - "version": "0.0.1", - "scripts": { - "start": "yarn run dev", - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "web-dev-server -c ../../web-dev-server.config.mjs", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" - }, - "dependencies": { - "lit": "^3.1.0" - }, - "devDependencies": { - "@wcfactory/rollup-umd-build": "^0.12.1", - "@lrnwebcomponents/deduping-fix": "^7.0.4", - "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", - "@polymer/iron-demo-helpers": "3.1.0", - "@webcomponents/webcomponentsjs": "^2.8.0", - "concurrently": "5.3.0", - "gulp-babel": "8.0.0", - "lodash": "4.17.21", - "polymer-build": "3.1.4", - "@web/dev-server": "0.1.28", - "wct-browser-legacy": "1.0.2", - "web-animations-js": "2.3.2", - "@open-wc/testing": "2.5.32" - } -} diff --git a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/SingletonElement/SingletonElement.js b/packages/generator-wcfactory/generators/start/templates/templates/noCLI/SingletonElement/SingletonElement.js deleted file mode 100644 index ecbc917a0..000000000 --- a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/SingletonElement/SingletonElement.js +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Copyright <%= year %> <%= copyrightOwner %> - * @license <%= license %>, see License.md for full text. - */ -import { LitElement, html, css } from "lit"; -// register globally so we can make sure there is only one -window.<%= elementClassName %> = window.<%= elementClassName %> || {}; -// request if this exists. This helps invoke the element existing in the dom -// as well as that there is only one of them. That way we can ensure everything -// is rendered through the same <%= elementName %> element, making it a singleton. -window.<%= elementClassName %>.requestAvailability = () => { - // if there is no single instance, generate one and append it to end of the document - if (!window.<%= elementClassName %>.instance) { - window.<%= elementClassName %>.instance = document.createElement("<%= elementName %>"); - document.body.appendChild(window.<%= elementClassName %>.instance); - } - return window.<%= elementClassName %>.instance; -}; -export const elementClassName = window.<%= elementClassName %>.requestAvailability(); - -<%- includesString %> -/** - * `<%= elementName %>` - * `<%= description %>` - * - * @microcopy - language worth noting: - * - - * - * @demo demo/index.html - * @element <%= elementName %> - */ -class <%= elementClassName %> extends <%= customElementClass %> { - /** - * HTMLElement - */ - constructor() { - super(); - <%- constructorString %> - } - /** - * LitElement style callback - */ - static get styles() { - // support for using in other classes - let styles = []; - if (super.styles) { - styles = super.styles; - } - return [...styles, css` - :host { - display: block; - } - `] - } - /** - * LitElement render callback - */ - render() { - return html` -
- -
- `; - } - /** - * Store the tag name to make it easier to obtain directly. - * @notice function name must be here for tooling to operate correctly - */ - static get tag() { - return "<%= elementName %>"; - } - /** - * HTMLElement - */ - connectedCallback() { - super.connectedCallback(); - <%- connectedString %> - setTimeout(() => { - window.addEventListener("<%= elementName %>-hide", this.hide <%= elementClassName %>.bind(this)); - window.addEventListener("<%= elementName %>-show", this.show <%= elementClassName %>.bind(this)); - }, 0); - } - /** - * HTMLElement - */ - disconnectedCallback() { - window.removeEventListener("<%= elementName %>-hide", this.hide <%= elementClassName %>.bind(this)); - window.removeEventListener("<%= elementName %>-show", this.show <%= elementClassName %>.bind(this)); - super.disconnectedCallback(); - } - /** - * Hide callback - */ - hide<%= elementClassName %> (e) { - // add your code to run when the singleton hides - } - /** - * Show / available callback - */ - show<%= elementClassName %> (e) { - // add your code to run when the singleton is called for - } - - <%- additionalFunctionsString %> -} -customElements.define(<%= elementClassName %>.tag, <%= elementClassName %>); -export { <%= elementClassName %> }; diff --git a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/SingletonElement/package.json b/packages/generator-wcfactory/generators/start/templates/templates/noCLI/SingletonElement/package.json deleted file mode 100644 index e2b065372..000000000 --- a/packages/generator-wcfactory/generators/start/templates/templates/noCLI/SingletonElement/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "Singleton via LitElement", - "description": "Singleton element pattern with LitElement for help", - "wcfactory": { - "customElementClass": "LitElement", - "templateReturnFunctionPart": "render() {\n return html", - "propertyBinding": { - "prefix": "${this.", - "suffix": "}" - } - }, - "main": "SingletonElement/SingletonElement.js", - "version": "0.0.1", - "scripts": { - "start": "yarn run dev", - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "web-dev-server -c ../../web-dev-server.config.mjs", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" - }, - "dependencies": { - "lit": "^3.1.0" - }, - "devDependencies": { - "@wcfactory/rollup-umd-build": "^0.12.1", - "web-animations-js": "2.3.2", - "@lrnwebcomponents/deduping-fix": "^7.0.4", - "@polymer/iron-demo-helpers": "3.1.0", - "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", - "@webcomponents/webcomponentsjs": "^2.8.0", - "gulp-babel": "8.0.0", - "lodash": "4.17.21", - "@web/dev-server": "0.1.28", - "concurrently": "5.3.0", - "polymer-build": "3.1.4", - "wct-browser-legacy": "1.0.2", - "@open-wc/testing": "2.5.32" - } -} diff --git a/packages/generator-wcfactory/generators/template/update/index.js b/packages/generator-wcfactory/generators/template/update/index.js deleted file mode 100644 index 05593c81c..000000000 --- a/packages/generator-wcfactory/generators/template/update/index.js +++ /dev/null @@ -1,17 +0,0 @@ -const Generator = require("yeoman-generator"); -const path = require("path"); -const { userConfig } = require("@wcfactory/common/config"); - -module.exports = class extends Generator { - constructor(args, opts) { - super(args, opts); - this.props = opts; - } - writing() { - // copy all files that don't start with an underscore - this.fs.copy( - path.join(__dirname, `../../start/templates/templates`), - path.join(userConfig.companyDir, `templates`) - ); - } -}; diff --git a/packages/generator-wcfactory/generators/unbundled-build/templates/dist/build/es6-amd/src/index.html b/packages/generator-wcfactory/generators/unbundled-build/templates/dist/build/es6-amd/src/index.html index cda4302df..e84ad5ab5 100644 --- a/packages/generator-wcfactory/generators/unbundled-build/templates/dist/build/es6-amd/src/index.html +++ b/packages/generator-wcfactory/generators/unbundled-build/templates/dist/build/es6-amd/src/index.html @@ -2,6 +2,7 @@ simple, boilerplate build + diff --git a/packages/generator-wcfactory/generators/unbundled-build/templates/dist/build/polymer.json b/packages/generator-wcfactory/generators/unbundled-build/templates/dist/build/polymer.json index bb61ef770..e71de3184 100644 --- a/packages/generator-wcfactory/generators/unbundled-build/templates/dist/build/polymer.json +++ b/packages/generator-wcfactory/generators/unbundled-build/templates/dist/build/polymer.json @@ -34,6 +34,40 @@ "minify": false }, "bundle": false + }, + { + "name": "es6-amd", + "browserCapabilities": [ + "es2015" + ], + "js": { + "minify": false, + "transformModulesToAmd": true, + "transformImportMeta": true + }, + "css": { + "minify": false + }, + "html": { + "minify": false + }, + "bundle": false + }, + { + "name": "es5-amd", + "js": { + "compile": true, + "minify": true, + "transformModulesToAmd": true, + "transformImportMeta": true + }, + "css": { + "minify": true + }, + "html": { + "minify": true + }, + "bundle": false } ], "lint": { diff --git a/packages/generator-wcfactory/generators/unbundled-build/templates/package.json b/packages/generator-wcfactory/generators/unbundled-build/templates/package.json index 054fe011f..bc3bfb524 100644 --- a/packages/generator-wcfactory/generators/unbundled-build/templates/package.json +++ b/packages/generator-wcfactory/generators/unbundled-build/templates/package.json @@ -4,15 +4,15 @@ "description": "a boilerplate for your app to do its build routine", "main": "app.js", "dependencies": { - "@webcomponents/webcomponentsjs": "^2.8.0", - "@lrnwebcomponents/dynamic-import-registry": "^4.0.1", - "@lrnwebcomponents/wc-autoload": "^4.0.1", - "@lrnwebcomponents/deduping-fix": "^7.0.4", + "@webcomponents/webcomponentsjs": "2.4.4", + "@lrnwebcomponents/dynamic-import-registry": "2.7.6", + "@lrnwebcomponents/wc-autoload": "2.7.6", + "@lrnwebcomponents/deduping-fix": "2.6.16", "fetch-ie8": "1.5.0", - "promise-polyfill": "8.2.0", + "promise-polyfill": "8.1.3", "web-animations-js": "2.3.2", - "@lrnwebcomponents/accent-card": "^4.0.4", - "@lrnwebcomponents/h-a-x": "^4.0.4" + "@lrnwebcomponents/accent-card": "2.7.6", + "@lrnwebcomponents/h-a-x": "2.7.6" }, "flat": true, "private": false, diff --git a/packages/generator-wcfactory/generators/unbundled-build/templates/src/components/hax-status.js b/packages/generator-wcfactory/generators/unbundled-build/templates/src/components/hax-status.js index 2e41df154..031f4a4f6 100644 --- a/packages/generator-wcfactory/generators/unbundled-build/templates/src/components/hax-status.js +++ b/packages/generator-wcfactory/generators/unbundled-build/templates/src/components/hax-status.js @@ -1,4 +1,4 @@ -import { LitElement, html } from "lit"; +import { LitElement, html } from "lit-element"; class HaxStatus extends LitElement { static get properties() { diff --git a/packages/generator-wcfactory/generators/unbundled-build/templates/src/index.html b/packages/generator-wcfactory/generators/unbundled-build/templates/src/index.html index 44c94af53..6c952c989 100644 --- a/packages/generator-wcfactory/generators/unbundled-build/templates/src/index.html +++ b/packages/generator-wcfactory/generators/unbundled-build/templates/src/index.html @@ -3,6 +3,7 @@ simple, boilerplate build + diff --git a/packages/generator-wcfactory/package.json b/packages/generator-wcfactory/package.json index 3d728b7b6..6e24038bc 100644 --- a/packages/generator-wcfactory/package.json +++ b/packages/generator-wcfactory/package.json @@ -2,9 +2,9 @@ "name": "@wcfactory/generator-wcfactory", "description": "Yeoman generator for creating a sustainable web component library.", "wcfactory": { - "askSASS": true, - "askProps": true, - "askHAX": true + "askSASS": false, + "askProps": false, + "askHAX": false }, "repository": "elmsln/wcfactory", "homepage": "https://github.com/elmsln/wcfactory/", @@ -35,13 +35,13 @@ }, "license": "Apache-2.0", "dependencies": { - "@wcfactory/cli": "^0.13.1", - "@wcfactory/common": "^0.13.0", + "@wcfactory/cli": "^0.8.7", + "@wcfactory/common": "^0.8.6", "gulp": "^3.9.1", - "inquirer-recursive": "0.0.7", + "inquirer-recursive": "0.0.6", "lodash": "^4.17.4", "yeoman-generator": "^4.0.0" }, - "version": "0.13.1", - "gitHead": "72f5a446893e45d8c2df8ea2116ef3e741e13849" + "version": "0.8.7", + "gitHead": "7ff583e930d906d39c5a05334745eb1927574e8f" } diff --git a/packages/generator-wcfactory/tests/.yo-rc.json b/packages/generator-wcfactory/tests/.yo-rc.json deleted file mode 100644 index d67d25916..000000000 --- a/packages/generator-wcfactory/tests/.yo-rc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@wcfactory/generator-wcfactory": { - "promptValues": { - "customElementClass": "PolymerElement", - "author": "heymp", - "copyrightOwner": "Red Hat, Inc.", - "license": "MIT", - "useSass": false, - "addProps": true, - "useHAX": true - } - } -} \ No newline at end of file diff --git a/packages/generator-wcfactory/tests/heym-asdf/.editorconfig b/packages/generator-wcfactory/tests/heym-asdf/.editorconfig deleted file mode 100644 index 7968a8836..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/.editorconfig +++ /dev/null @@ -1,17 +0,0 @@ -# EditorConfig: http://EditorConfig.org - -# Top-most EditorConfig file -root = true - -# Rules for JavaScript files: - -[*.{js,py,json,sh,html}] -# 4 space indentation -indent_style = space -indent_size = 2 -# No trailing spaces -trim_trailing_whitespace = true -# Unix-style newlines -end_of_line = lf -# Newline ending every file -insert_final_newline = true diff --git a/packages/generator-wcfactory/tests/heym-asdf/.gitignore b/packages/generator-wcfactory/tests/heym-asdf/.gitignore deleted file mode 100644 index 3c3629e64..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/.gitignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/packages/generator-wcfactory/tests/heym-asdf/.npmignore b/packages/generator-wcfactory/tests/heym-asdf/.npmignore deleted file mode 100644 index 3c3629e64..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/.npmignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/packages/generator-wcfactory/tests/heym-asdf/.surgeignore b/packages/generator-wcfactory/tests/heym-asdf/.surgeignore deleted file mode 100644 index ddf342489..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/.surgeignore +++ /dev/null @@ -1 +0,0 @@ -!node_modules/ diff --git a/packages/generator-wcfactory/tests/heym-asdf/.travis.yml b/packages/generator-wcfactory/tests/heym-asdf/.travis.yml deleted file mode 100644 index 0781f9160..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: node_js -dist: trusty -sudo: required -addons: - firefox: "latest" - apt: - sources: - - google-chrome - packages: - - google-chrome-stable -node_js: stable -before_install: - - npm install -g web-component-tester -install: - - npm install -before_script: -script: - - xvfb-run npm run test diff --git a/packages/generator-wcfactory/tests/heym-asdf/LICENSE.md b/packages/generator-wcfactory/tests/heym-asdf/LICENSE.md deleted file mode 100644 index e321ffefb..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 Red Hat, Inc. - -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. \ No newline at end of file diff --git a/packages/generator-wcfactory/tests/heym-asdf/README.md b/packages/generator-wcfactory/tests/heym-asdf/README.md deleted file mode 100644 index b7bc920b5..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# PolymerElement Asdf Element - -## Dependencies - -Make sure you have [Polyserve][polyserve] and [Web Component Tester][web-component-tester] installed. - - npm install -g polyserve web-component-tester - -## Dev - - npm start - -## Test - - npm run test - -## Build - - npm run build - -## Demo - -Run `npm start` and Polyserve will start a server and open your default browser to the demo page of the element. - -## Code style - -Asdf (and all RHElements) use [Prettier][prettier] to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can [integrate your editor][prettier-ed] with Prettier to have the style rules applied on every save. - -[prettier]: https://github.com/prettier/prettier/ -[prettier-ed]: https://github.com/prettier/prettier/#editor-integration -[polyserve]: https://github.com/Polymer/polyserve -[web-component-tester]: https://github.com/Polymer/web-component-tester diff --git a/packages/generator-wcfactory/tests/heym-asdf/demo/index.html b/packages/generator-wcfactory/tests/heym-asdf/demo/index.html deleted file mode 100644 index 056b5eb72..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/demo/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - HeymAsdf: heym-asdf Demo - - - - - - - This is heym-asdf - - - diff --git a/packages/generator-wcfactory/tests/heym-asdf/gulpfile.js b/packages/generator-wcfactory/tests/heym-asdf/gulpfile.js deleted file mode 100644 index 329f9a730..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/gulpfile.js +++ /dev/null @@ -1,185 +0,0 @@ -const gulp = require("gulp"); -const connect = require("gulp-connect"); -const lighthouse = require("lighthouse"); -const chromeLauncher = require("chrome-launcher"); -const PORT = 8054; -const fs = require("fs"); -const path = require("path"); -const _ = require("lodash"); -const rename = require("gulp-rename"); -const replace = require("gulp-replace"); -const stripCssComments = require("strip-css-comments"); -const decomment = require("decomment"); -const packageJson = require("./package.json"); - -gulp.task("merge", () => { - return gulp - .src("./src/" + packageJson.wcfactory.elementName + ".js") - .pipe( - replace( - /extends\s+packageJson.wcfactory.className\s+{/g, - (classStatement, character, jsFile) => { - // extract the templateUrl and styleUrl with regex. Would prefer to do - // this by require'ing heym-asdf.js and asking it directly, but without - // node.js support for ES modules, we're stuck with this. - const oneLineFile = jsFile - .slice(character) - .split("\n") - .join(" "); - const [ - , - templateUrl - ] = /templateUrl\([^)]*\)\s*{\s*return\s+"([^"]+)"/.exec(oneLineFile); - - let html = fs - .readFileSync(path.join("./src", templateUrl)) - .toString() - .trim(); - - html = decomment(html); - // check on the HAX wiring - const [ - , - HAXPropertiesUrl - ] = /HAXPropertiesUrl\([^)]*\)\s*{\s*return\s+"([^"]+)"/.exec( - oneLineFile - ); - let HAXProps = fs.readFileSync(path.join("./src", HAXPropertiesUrl)); - HAXProps = stripCssComments(HAXProps).trim(); - // pull properties off of the file location - const [ - , - propertiesUrl - ] = /propertiesUrl\([^)]*\)\s*{\s*return\s+"([^"]+)"/.exec( - oneLineFile - ); - let props = fs.readFileSync(path.join("./src", propertiesUrl)); - props = stripCssComments(props).trim(); - // pull together styles from url - const [ - , - styleUrl - ] = /styleUrl\([^)]*\)\s*{\s*return\s+"([^"]+)"/.exec(oneLineFile); - const styleFilePath = path.join("./src", styleUrl); - let cssResult = fs.readFileSync(styleFilePath); - cssResult = stripCssComments(cssResult).trim(); - return `${classStatement} - static get template() { - return html\` - -${html}\`; - } - // haxProperty definition - static get haxProperties() { - return ${HAXProps}; - } - // properties available to the custom element for data binding - static get properties() { - return ${props}; - } - ${functs}`; - } - ) - ) - .pipe(gulp.dest("./")); -}); - -gulp.task("compile", () => { - return gulp - .src("./" + packageJson.wcfactory.elementName + ".js") - .pipe( - replace( - /^(import .*?)(['"]\.\.\/(?!\.\.\/).*)(\.js['"];)$/gm, - "$1$2.umd$3" - ) - ) - .pipe( - rename({ - suffix: ".umd" - }) - ) - .pipe(gulp.dest("./")); -}); - -gulp.task("watch", () => { - return gulp.watch( - "./src/*", - gulp.series("merge", "compile") - ); -}); - -/** - * Start server - */ -const startServer = function() { - return connect.server({ - root: "./public", - port: PORT - }); -}; - -/** - * Stop server - */ -const stopServer = function() { - connect.serverClose(); -}; - -/** - * Run lighthouse - */ -function launchChromeAndRunLighthouse(url, flags, config = null) { - return chromeLauncher.launch().then(chrome => { - flags.port = chrome.port; - return lighthouse(url, flags, config).then(results => - chrome.kill().then(() => results) - ); - }); -} - -/** - * Handle ok result - * @param {Object} results - Lighthouse results - */ -const handleOk = function(results) { - stopServer(); - console.log(results); // eslint-disable-line no-console - // TODO: use lighthouse results for checking your performance expectations. - // e.g. process.exit(1) or throw Error if score falls below a certain threshold. - // if (results.audits['first-meaningful-paint'].rawValue > 3000) { - // console.log(`Warning: Time to first meaningful paint ${results.audits['first-meaningful-paint'].displayValue}`); - // process.exit(1); - // } - return results; -}; - -/** - * Handle error - */ -const handleError = function(e) { - stopServer(); - console.error(e); // eslint-disable-line no-console - throw e; // Throw to exit process with status 1. -}; -const flags = {}; // available options - https://github.com/GoogleChrome/lighthouse/#cli-options - -gulp.task("default", gulp.series("merge", "compile")); - -gulp.task( - "dev", - gulp.series("merge", "compile", "watch") -); - -gulp.task("lighthouse", () => { - startServer(); - const config = { extends: "lighthouse:default" }; - return launchChromeAndRunLighthouse( - `http://127.0.0.1:${PORT}/index.html`, - flags, - config - ) - .then(handleOk) - .catch(handleError); -}); diff --git a/packages/generator-wcfactory/tests/heym-asdf/heym-asdf.story.js b/packages/generator-wcfactory/tests/heym-asdf/heym-asdf.story.js deleted file mode 100644 index 2acc9cd61..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/heym-asdf.story.js +++ /dev/null @@ -1,15 +0,0 @@ -import { storiesOf } from "@storybook/polymer"; -import { withKnobs, text, boolean, number, color, object, array, date, select } from "@storybook/addon-knobs/polymer"; -import "./heym-asdf"; -const stories = storiesOf("Asdf", module); -stories.addDecorator(withKnobs); -stories.add("heym-asdf", - () => { - const title = text("title", ""); - - return ` - - Asdf - - `; -}); diff --git a/packages/generator-wcfactory/tests/heym-asdf/index.html b/packages/generator-wcfactory/tests/heym-asdf/index.html deleted file mode 100644 index f1c053a6c..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - HeymAsdf: heym-asdf Demo - - - - - - Asdf - - - diff --git a/packages/generator-wcfactory/tests/heym-asdf/package.json b/packages/generator-wcfactory/tests/heym-asdf/package.json deleted file mode 100644 index a06335c01..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@rhelements/heym-asdf", - "wcfactory": { - "className": "HeymAsdf", - "elementName": "heym-asdf" - }, - "version": "0.0.1", - "description": "Asdf element for PolymerElement", - "repository": { - "type": "git", - "url": "" - }, - "main": "heym-asdf.umd.js", - "module": "heym-asdf.es5.js", - "es2015": "heym-asdf.js", - "amd": "heym-asdf.amd.js", - "scripts": { - "build": "gulp --gulpfile=gulpfile.cjs && prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"*.js|lib/**.js\" --format vscode --outFile custom-elements.json", - "dev": "npm run build && open ./src && concurrently --kill-others \"npm run watch\" \"npm run serve\"", - "watch": "gulp dev --gulpfile=gulpfile.cjs", - "serve": "cd build/es6 && polymer serve --npm --module-resolution=node --open", - "test": "wct --configFile ../../wct.conf.json node_modules/@rhelements/heym-asdf/test/", - "lighthouse": "gulp lighthouse --gulpfile=gulpfile.cjs" - }, - "author": { - "name": "heymp" - }, - "license": "MIT", - "generator-rhelement-version": "0.0.5", - "dependencies": { - - "@polymer/polymer": "^3.0.5", - "@rhelements/rhelement": "*" - }, - "devDependencies": { - "@polymer/iron-demo-helpers": "^3.0.1", - "@webcomponents/webcomponentsjs": "^2.8.0", - "concurrently": "^4.0.1", - "gulp-babel": "^8.0.0", - "gulp-connect": "^5.0.0", - "lighthouse": "^2.x", - "lodash": "^4.17.10", - "@web/dev-server": "0.1.28", - "polymer-build": "^3.0.4", - "wct-browser-legacy": "^1.0.1" - } -} diff --git a/packages/generator-wcfactory/tests/heym-asdf/polymer.json b/packages/generator-wcfactory/tests/heym-asdf/polymer.json deleted file mode 100644 index 58d46ba60..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/polymer.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "entrypoint": "index.html", - "extraDependencies": [ - "node_modules/@webcomponents/webcomponentsjs/*.js", - "!node_modules/@webcomponents/webcomponentsjs/gulpfile.js", - "node_modules/@webcomponents/webcomponentsjs/bundles/*.js" - ], - "sources": [], - "builds": [ - { - "name": "es6", - "browserCapabilities": ["es2015", "modules"], - "js": { - "minify": true - }, - "css": { - "minify": true - }, - "html": { - "minify": true - }, - "bundle": false, - "addServiceWorker": false - }, - { - "name": "es5", - "browserCapabilities": ["modules"], - "js": { - "minify": true, - "compile": true - }, - "css": { - "minify": true - }, - "html": { - "minify": true - }, - "bundle": false, - "addServiceWorker": false - }, - { - "name": "es5-amd", - "js": { - "minify": true, - "compile": true, - "transformModulesToAmd": true - }, - "css": { - "minify": true - }, - "html": { - "minify": true - }, - "bundle": false, - "addServiceWorker": false - } - ], - "moduleResolution": "node", - "npm": true, - "lint": { - "rules": ["polymer-3"] - } -} diff --git a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf-hax.json b/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf-hax.json deleted file mode 100644 index 12145eddc..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf-hax.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "canScale": true, - "canPosition": true, - "canEditSource": false, - "gizmo": { - "title": "Heym asdf", - "description": "asdf", - "icon": "icons:android", - "color": "green", - "groups": [ - "Asdf" - ], - "handles": [ - { - "type": "todo:read-the-docs-for-usage" - } - ], - "meta": { - "author": "elms:ln", - "owner": "" - } - }, - "settings": { - "configure": [ - { - "property": "title", - "description": "", - "inputMethod": "textfield", - "required": false, - "icon": "icons:android" - } - ], - "advanced": [] - } -} \ No newline at end of file diff --git a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf-properties.json b/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf-properties.json deleted file mode 100644 index 5d8837d30..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf-properties.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "title": { - "name": "title", - "type": String, - "value": "", - "reflectToAttribute": false, - "observer": "_titleChanged" - } -} \ No newline at end of file diff --git a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.css b/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.css deleted file mode 100644 index 0eb49ed34..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.css +++ /dev/null @@ -1,7 +0,0 @@ -:host { - display: block; -} - -:host([hidden]) { - display: none; -} diff --git a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.html b/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.html deleted file mode 100644 index 8f22388eb..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.html +++ /dev/null @@ -1,2 +0,0 @@ - -
[[title]]
diff --git a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.js b/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.js deleted file mode 100644 index 390f3d850..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/src/heym-asdf.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Copyright 2018 Red Hat, Inc. - * @license MIT, see License.md for full text. - */ -import { html, PolymerElement } from '@polymer/polymer/polymer-element.js'; -import { HAXWiring } from "hax-body-behaviors/lib/HAXWiring.js" -/** - * `heym-asdf` - * `asdf` - * - * @microcopy - language worth noting: - * - - * - * @polymer - * @demo demo/index.html - * @customElement heym-asdf - */ -class HeymAsdf extends PolymerElement { - /** - * Store the tag name to make it easier to obtain directly. - * @notice function name must be here for tooling to operate correctly - */ - static get tag() { - return "heym-asdf"; - } - /** - * A file that contains the HTML template for the element. - * @notice function name must be here for tooling to operate correctly - */ - get templateUrl() { - return "heym-asdf.html"; - } - /** - * A file that contains the properties that will be wired into this element. - * @notice function name must be here for tooling to operate correctly - */ - get propertiesUrl() { - return "heym-asdf-properties.json"; - } - /** - * A file that contains the HAX properties that will be wired into this element. - * @notice function name must be here for tooling to operate correctly - */ - get HAXPropertiesUrl() { - return "heym-asdf-hax.json"; - } - /** - * A file that contains the css for this element to be mixed into the html block. - * @notice function name must be here for tooling to operate correctly - */ - get styleUrl() { - return "heym-asdf.css"; - } - /** - * life cycle, element is afixed to the DOM - */ - connectedCallback() { - super.connectedCallback(); - this.HAXWiring = new HAXWiring; - this.HAXWiring.setHaxProperties(HeymAsdf.haxProperties, HeymAsdf.tag, this); - } - /** - * life cycle, element is removed from the DOM - */ - //disconnectedCallback() {} - // Observer title for changes - _titleChanged (newValue, oldValue) { - if (typeof newValue !== typeof undefined) { - console.log(newValue); - } - } - - -} -customElements.define(HeymAsdf.tag, HeymAsdf); diff --git a/packages/generator-wcfactory/tests/heym-asdf/test/heym-asdf_test.html b/packages/generator-wcfactory/tests/heym-asdf/test/heym-asdf_test.html deleted file mode 100644 index 6628f4283..000000000 --- a/packages/generator-wcfactory/tests/heym-asdf/test/heym-asdf_test.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - This is the element content. - - - - - - - - - - - - diff --git a/packages/generator-wcfactory/utils/fix-dotfiles.js b/packages/generator-wcfactory/utils/fix-dotfiles.js index 981d646b3..7825b21d3 100644 --- a/packages/generator-wcfactory/utils/fix-dotfiles.js +++ b/packages/generator-wcfactory/utils/fix-dotfiles.js @@ -29,7 +29,10 @@ exports.fixDotfiles = function(generator) { return; } - generator.fs.move(file.path, file.dirname + '/' + remap); + generator.fs.move(file.path, file.dirname + '/' + remap, { overwrite: true }, err => { + if (err) return console.error(err) + console.log('Dot files rewritten!') + }); }); } diff --git a/packages/graphql-server/demo/client.js b/packages/graphql-server/demo/client.js deleted file mode 100644 index bb86c29e0..000000000 --- a/packages/graphql-server/demo/client.js +++ /dev/null @@ -1,59 +0,0 @@ -import { ApolloClient } from 'apollo-client'; -import { InMemoryCache } from 'apollo-cache-inmemory'; -import { HttpLink } from 'apollo-link-http'; -import { onError } from 'apollo-link-error'; -import { ApolloLink, split } from 'apollo-link'; -import { WebSocketLink } from 'apollo-link-ws'; -import { getMainDefinition } from 'apollo-utilities'; -import { withClientState } from 'apollo-link-state'; - -// Create an http link: -const httpLink = new HttpLink({ - uri: `http://localhost:4000`, -}) - -// Create a Websocket link; -const wsLink = new WebSocketLink({ - uri: `ws://localhost:4000/graphql`, - options: { - reconnect: true - } -}); - -// using the ability to split links, you can send data to each link -// depending on what kind of operation is being sent -const httpWsLink = split( - // split based on operation type - ({ query }) => { - const { kind, operation } = getMainDefinition(query); - return kind === 'OperationDefinition' && operation === 'subscription'; - }, - wsLink, - httpLink, -); - -// This is the same cache you pass into new ApolloClient -const cache = new InMemoryCache(); - -// set up link state for local -const stateLink = withClientState({ - cache -}); - -export default new ApolloClient({ - link: ApolloLink.from([ - onError(({ graphQLErrors, networkError }) => { - if (graphQLErrors) - graphQLErrors.map(({ message, locations, path }) => - console.log( - `[GraphQL error]: Message: ${message}, Location: ${locations}, Path: ${path}`, - ), - ); - if (networkError) console.log(`[Network error]: ${networkError}`); - }), - stateLink, - httpWsLink - ]), - cache: cache, - connectToDevTools: false -}); \ No newline at end of file diff --git a/packages/graphql-server/demo/index.html b/packages/graphql-server/demo/index.html deleted file mode 100644 index cc45fb99a..000000000 --- a/packages/graphql-server/demo/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - -
- - \ No newline at end of file diff --git a/packages/graphql-server/demo/index.js b/packages/graphql-server/demo/index.js deleted file mode 100644 index d2588cb23..000000000 --- a/packages/graphql-server/demo/index.js +++ /dev/null @@ -1,37 +0,0 @@ -import client from "./client.js" -import gql from 'graphql-tag' -import { Terminal } from 'xterm'; -import 'xterm/dist/xterm.css'; - -var term = new Terminal(); -let prompt = '$' -const outlet = document.getElementById('terminal') -term.open(outlet); -term.write(prompt) -term.on('key', (e) => { - if (e instanceof Object) { - - } - if (e.keyCode !== 'undefined') { - - } - if ( - e.keyCode >= 48 && e.keyCode <= 57 || - e.keyCode >= 65 && e.keyCode <= 90 - ) { - term.write(e.key) - } -}) - -client.subscribe({ - query: gql` - subscription { - childProcess - }`, - variables: {} -}).subscribe({ - next ({data: childProcess }) { - console.log('childProcess:', childProcess.childProcess) - term.writeln(JSON.stringify(childProcess.childProcess)) - } -}); diff --git a/packages/graphql-server/generated/schema.json b/packages/graphql-server/generated/schema.json deleted file mode 100644 index 5bc8af47f..000000000 --- a/packages/graphql-server/generated/schema.json +++ /dev/null @@ -1,1517 +0,0 @@ -{ - "__schema": { - "queryType": { - "name": "Query" - }, - "mutationType": { - "name": "Mutation" - }, - "subscriptionType": { - "name": "Subscription" - }, - "types": [ - { - "kind": "OBJECT", - "name": "Query", - "description": null, - "fields": [ - { - "name": "factory", - "description": null, - "args": [ - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Factory", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "factories", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Factory", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "element", - "description": null, - "args": [ - { - "name": "factory", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Element", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "elements", - "description": null, - "args": [ - { - "name": "factory", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Element", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "operations", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Operation", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "operation", - "description": null, - "args": [ - { - "name": "pid", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Operation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "operationsOutput", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OperationOutput", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "ID", - "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Factory", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "location", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "elements", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Element", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scripts", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "String", - "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Element", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "location", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "private", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scripts", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Operation", - "description": null, - "fields": [ - { - "name": "pid", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "script", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "location", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OperationOutput", - "description": null, - "fields": [ - { - "name": "operation", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Operation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "output", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Mutation", - "description": null, - "fields": [ - { - "name": "runScript", - "description": null, - "args": [ - { - "name": "script", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "location", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stopScript", - "description": null, - "args": [ - { - "name": "script", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "location", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "openLocation", - "description": null, - "args": [ - { - "name": "location", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Subscription", - "description": null, - "fields": [ - { - "name": "operationsUpdate", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "operationsOutput", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "fields": [ - { - "name": "types", - "description": "A list of all types supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "directives", - "description": "A list of all directives supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "fields": [ - { - "name": "kind", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interfaces", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "possibleTypes", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enumValues", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputFields", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ofType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locations", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VARIABLE_DEFINITION", - "description": "Location adjacent to a variable definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Location adjacent to a union definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - } - ], - "directives": [ - { - "name": "skip", - "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Skipped when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "include", - "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Included when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "locations": [ - "FIELD_DEFINITION", - "ENUM_VALUE" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/graphql-server/index.js b/packages/graphql-server/index.js deleted file mode 100644 index 717db8a84..000000000 --- a/packages/graphql-server/index.js +++ /dev/null @@ -1,16 +0,0 @@ -const { ApolloServer } = require('apollo-server') -// Set a really high max listener. -require('events').EventEmitter.defaultMaxListeners = 1000; - -const server = new ApolloServer({ - modules: [ - require('./modules/factory'), - require('./modules/element'), - require('./modules/scripts'), - require('./modules/misc') - ] -}) - -server.listen().then(({ url, subscriptionsUrl }) => { - console.log(`🚀 Server ready at ${url} & ${subscriptionsUrl}`); -}) \ No newline at end of file diff --git a/packages/graphql-server/modules/element/index.js b/packages/graphql-server/modules/element/index.js deleted file mode 100644 index 952eb9e62..000000000 --- a/packages/graphql-server/modules/element/index.js +++ /dev/null @@ -1,82 +0,0 @@ -const { gql } = require('apollo-server') -const { getElements, getFactories, getElementByLocation, librariesOptions } = require('@wcfactory/common/config') - -/** - * SDK - */ -const getFactoryElements = (factory) => getElements(factory).map(i => Object.assign(i, { factory: getFactories().find(i => i.name === factory)})) - -/** - * Define Schema - */ -const typeDefs = gql` - extend type Query { - element(factory: String!, name: String!): Element - elements(factory: String!): [Element] - elementCreateOptions: ElementCreateOptions - } - - extend type Factory { - elements: [Element] - } - - extend type Operation { - element: Element! - } - - type Element { - id: ID! - name: String! - location: String! - version: String! - private: Boolean! - } - - type ElementCreateOptions { - libraries: [ElementCreateOptionsLibrary] - } - - type ElementCreateOptionsLibrary { - name: String - description: String - } -` - -const resolvers = { - Query: { - element: (_, {factory, name}, ctx) => - getElements(factory) - .find(i => i.name === name) - .map(i => Object.assign({}, i, { id: `${i.location}`})), - - elements: (_, {factory}) => - getElements(factory) - .map(i => Object.assign({}, i, { id: `${i.location}`})), - - elementCreateOptions: () => { return {}} - }, - - ElementCreateOptions: { - libraries: () => librariesOptions.map(i => Object.assign({ name: i.value, description: i.name })) - }, - - Factory: { - elements({name}, args, context) { - const factory = name - return getElements(factory) - .map(i => Object.assign({}, i, { id: `${i.location}`})) - } - }, - - Operation: { - element: ({ location }) => { - const element = getElementByLocation(location) - return Object.assign({}, element, { id: `${location}`}) - } - } -} - -module.exports = { - typeDefs, - resolvers -} \ No newline at end of file diff --git a/packages/graphql-server/modules/factory/index.js b/packages/graphql-server/modules/factory/index.js deleted file mode 100644 index 6f428f16a..000000000 --- a/packages/graphql-server/modules/factory/index.js +++ /dev/null @@ -1,154 +0,0 @@ -const { gql, PubSub } = require('apollo-server') -const pubsub = new PubSub() -const { factoryOptions, getElements, factoryDir } = require('@wcfactory/common/config') -const { spawn } = require('child_process') -const path = require('path') -const kill = require('tree-kill') - -/** - * SDK - */ -const getFactories = () => factoryOptions().map(i => formatFactory(i)) -const getFactory = (name) => getFactories().find(i => i.name === name) -const formatFactory = (factory) => Object.assign({}, { - id: `${factory.value}`, - name: factory.name, - location: factory.value, - output: factoryGetOutput(`${factory.value}`), - __typename: 'Factory' -}) - -/** - * Get any factory output - * @param {FactoryScript.id} id - */ -const factoryGetOutput = (id) => { - const found = factoryScripts.find(i => i.id === id) - if (found) { - return found.output - } - return null -} - -/** - * Update the factory set output list - * @param {Factory} factory - */ -const factorySetOutput = (factory, output) => { - const newfactory = Object.assign({}, factory, { output }) - - // save new factory output - let newFactoryScripts = factoryScripts.filter(i => i.id !== factory.id) - factoryScripts = [...newFactoryScripts, newfactory] - - // publish over websocket - pubsub.publish(FACTORY_UPDATE, { factoryUpdate: JSON.stringify(newfactory) }) -} - -/** - * Update the factory set output list - * @param {FactoryScript.id} id - */ -const factoryDeleteOutput = (id) => { - let newFactoryScripts = factoryScripts.filter(i => i.id !== id) - factoryScripts = [...newFactoryScripts] -} - -/** - * @typedef {Object} FactoryScript - * @property {string} id factory id - * @property {string} output factory output - */ - -/** - * @typedef {FactoryScript[]} FactoryScripts - */ -let factoryScripts = [] - - - -/** - * Subscriptions - */ -const FACTORY_UPDATE = 'FACTORY_UPDATE' - - -/** - * Define Schema - */ -const typeDefs = gql` - extend type Query { - factory(name: String!): Factory - factories: [Factory] - } - - extend type Mutation { - createFactory(createFactoryInput: CreateFactoryInput): Factory - } - - extend type Subscription { - factoryUpdate: String - } - - type Factory { - id: ID! - name: String! - location: String! - output: String - } - - input CreateFactoryInput { - name: String! - humanName: String! - description: String! - orgGit: String! - orgNpm: String! - gitRepo: String! - } -` - -const resolvers = { - Query: { - factory: (_, {name}, ctx) => getFactory(name), - factories: () => getFactories() - }, - Mutation: { - createFactory: (_, { createFactoryInput: { name, humanName, description, orgGit, orgNpm, gitRepo }}) => { - const factoryId = `${path.join(factoryDir, name)}` - const location = `${path.join(factoryDir, name)}` - // assemble new factory - const factory = { id: factoryId, name, location, output: 'initializing', __typename: 'Factory' } - - // create the new factory with wcf factory - const cp = spawn('wcf', ['factory', `--name=${name}`, `--humanName=${humanName}`, `--description=${description}`, `--orgGit=${orgGit}`, `--orgNpm=${orgNpm}`, `--gitRepo=${gitRepo}`, '-y']) - cp.stdout.on('data', data => { - const output = data.toString() - if (output.includes('Initialized empty Git')) factorySetOutput(factory, `Initialized empty Git`) - if (output.includes('Resolving packages')) factorySetOutput(factory, `Resolving packages`) - if (output.includes('Fetching packages')) factorySetOutput(factory, `Fetching packages`) - if (output.includes('Linking dependencies')) factorySetOutput(factory, `Linking packages`) - if (output.includes('Building fresh packages')) factorySetOutput(factory, `Building fresh packages`) - if (output.includes('master (root-commit)')) factorySetOutput(factory, `Wrapping up!`) - }) - cp.on('close', (code) => { - // set the output to null - factorySetOutput(factory, null) - // delete output in storage - factoryDeleteOutput(factoryId) - }); - - // return the new factory for the user - return factory - } - }, - Subscription: { - factoryUpdate: { - subscribe: () => pubsub.asyncIterator([FACTORY_UPDATE]) - } - } -} - -module.exports = { - typeDefs, - resolvers -} \ No newline at end of file diff --git a/packages/graphql-server/modules/misc/index.js b/packages/graphql-server/modules/misc/index.js deleted file mode 100644 index 028961d93..000000000 --- a/packages/graphql-server/modules/misc/index.js +++ /dev/null @@ -1,37 +0,0 @@ -const { gql } = require('apollo-server') -const { spawn } = require('child_process') -const { existsSync } = require('fs') -const { config } = require('@wcfactory/common/config.js') -const open = require('open'); - -const typeDefs = gql` - extend type Mutation { - openLocation(location: String!): Boolean - } -` - -const resolvers = { - Mutation: { - openLocation: (_, {location}, ctx) => { - try { - // check if the location exists - if (!existsSync(location)) throw new Error('That location does not exist.') - if (typeof config.openCmd !== 'undefined') { - spawn('code', [location]) - } - else { - open(location) - } - // attempt to spawn the open command - return true - } catch (error) { - throw error - } - } - } -} - -module.exports = { - typeDefs, - resolvers -} \ No newline at end of file diff --git a/packages/graphql-server/modules/scripts/index.js b/packages/graphql-server/modules/scripts/index.js deleted file mode 100644 index 023180a18..000000000 --- a/packages/graphql-server/modules/scripts/index.js +++ /dev/null @@ -1,168 +0,0 @@ -const { gql, PubSub } = require('apollo-server') -const pubsub = new PubSub() -const { spawn } = require('child_process') -const kill = require('tree-kill') -const uuid = require('uuid/v4'); -const { getElementScripts, runScript } = require('@wcfactory/common/config.js') - -/** - * Init the in memory database - */ -operations = [] -operationsOutput = [] - -const OPERATIONS_UPDATE = 'OPERATIONS_UPDATE'; -const OPERATIONS_OUTPUT = 'OPERATIONS_OUTPUT'; - -const updateOperation = (operation) => { - // filter out the current operation if there is one - const newOperations = operations.filter(i => (i.script === operation.script && i.location === operation.location) ? false : true) - // add operation - newOperations.push(operation) - // save to operations - operations = newOperations - // notify the subscription - pubsub.publish(OPERATIONS_UPDATE, { operationsUpdate: JSON.stringify(operation) }); -} - -const deleteOperation = (operation) => { - return new Promise((response, reject) => { - // get the operation pid to delete - const pid = getOperationID(operation) - if (pid) { - kill(pid, 'SIGKILL', err => { - if (err) { - reject(err) - } - // filter out the current operation if there is one - operations = operations.filter(i => { - const deleted = (i.script === operation.script && i.location === operation.location) - return !deleted - }) - // filter out the operationsOutput array - operationsOutput = operationsOutput.filter(i => i.operation !== pid) - response(true) - }); - } - else { - reject(new Error('No pid found.')) - } - }) -} - -const saveOperationOutput = (output) => { - operationsOutput.push(output) - // notify the subscription - pubsub.publish(OPERATIONS_OUTPUT, { operationsOutput: JSON.stringify(output) }); -} - -// return the active operation pid based on script name and location -const getOperationID = (operation) => operations.filter(i => i.script === operation.script && i.location === operation.location).map(i => i.pid).shift() - -/** - * Define Schema - */ -const typeDefs = gql` - type Operation { - id: ID! - pid: Int! - script: String! - location: String! - } - - type OperationOutput { - id: ID! - operation: Operation! - output: String - } - - extend type Query { - operations: [Operation] - operation(pid: Int!): Operation! - operationOutput(pid: Int!): [OperationOutput] - operationsOutput: [OperationOutput] - } - - extend type Element { - scripts: [String] - } - - extend type Factory { - scripts: [String] - } - - extend type Mutation { - runScript(script: String!, location: String!): Operation! - stopScript(script: String!, location: String!): Boolean - } - - extend type Subscription { - operationsUpdate: String, - operationsOutput: String - } -` - -const resolvers = { - Subscription: { - operationsUpdate: { - subscribe: () => pubsub.asyncIterator([OPERATIONS_UPDATE]), - }, - operationsOutput: { - subscribe: () => pubsub.asyncIterator([OPERATIONS_OUTPUT]) - } - }, - - Query: { - operations: (parent) => operations, - operation: (parent, { pid }, ctx) => operations.filter(i => i.pid === pid), - operationsOutput: () => operationsOutput, - operationOutput: (parent, { pid }) => operationsOutput.filter(i => { - return i.operation === pid - }) - }, - - OperationOutput: { - operation: ({ operation }) => operations.find(i => { - return (i.pid === operation) - }) - }, - - Element: { - scripts: ({ location }, args, ctx) => getElementScripts(location), - }, - - Factory: { - scripts: ({ location }, args, ctx) => getElementScripts(location) - }, - - Mutation: { - runScript: (_, { script, location }, ctx) => { - try { - // spawn the command - const cp = spawn('npm', ['run', script], { - cwd: location, - }) - // save the operation - const operation = { __typename: 'Operations', location, script, pid: cp.pid, id: uuid() } - updateOperation(operation) - - // listen for stdout - cp.stdout.on('data', data => { - saveOperationOutput({ __typename: 'OperationsOutput', output: data.toString(), operation: cp.pid, id: uuid() }) - }) - - // verify it completed - return operation - } catch (error) { - throw error - } - }, - - stopScript: async (_, { script, location }, ctx) => await deleteOperation({script, location }) - } -} - -module.exports = { - typeDefs, - resolvers -} \ No newline at end of file diff --git a/packages/graphql-server/package.json b/packages/graphql-server/package.json deleted file mode 100644 index 0ee738185..000000000 --- a/packages/graphql-server/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "@wcfactory/graphql-server", - "version": "0.13.0", - "author": "heyMP @heyMP", - "main": "index.js", - "license": "Apache 2.0", - "publishConfig": { - "access": "public" - }, - "dependencies": { - "@wcfactory/common": "^0.13.0", - "apollo-client": "^2.5.1", - "apollo-server": "^2.4.8", - "case": "^1.6.1", - "graphql": "^14.1.1", - "graphql-type-json": "^0.3.0", - "lowdb": "^1.0.0", - "open": "^6.0.0", - "tree-kill": "^1.2.1", - "uuid": "^3.3.2" - }, - "scripts": { - "start": "node index.js", - "dev": "nodemon index.js", - "demo": "parcel ./demo/index.html", - "generate:schema": "apollo service:download generated/schema.json" - }, - "devDependencies": { - "@open-wc/building-webpack": "0.1.10", - "apollo-cache-inmemory": "1.6.6", - "apollo-client-ws": "2.6.1", - "apollo-link": "1.2.14", - "apollo-link-error": "1.1.13", - "apollo-link-http": "1.5.17", - "apollo-link-state": "0.4.2", - "apollo-link-ws": "1.0.20", - "apollo-utilities": "1.3.4", - "http-server": "0.12.3", - "lit": "2.0.0-rc.2", - "nodemon": "1.19.4", - "owc-dev-server": "1.0.1", - "parcel-bundler": "1.12.4", - "subscriptions-transport-ws": "0.9.18", - "webpack": "4.46.0", - "webpack-cli": "3.3.12", - "webpack-dev-server": "3.11.2", - "xterm": "3.14.5" - } -} diff --git a/packages/rollup-umd-build/package.json b/packages/rollup-umd-build/package.json deleted file mode 100644 index b70930fae..000000000 --- a/packages/rollup-umd-build/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "@wcfactory/rollup-umd-build", - "version": "0.13.0", - "description": "rollup configuration for monorepos that wcfactory generates", - "module": "rollup.config.factory.mjs", - "main": "rollup.config.factory.mjs", - "type": "module", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "keywords": [ - "rollup", - "wcfactory" - ], - "publishConfig": { - "access": "public" - }, - "author": "elmsln", - "license": "Apache-2.0", - "dependencies": { - "@rollup/plugin-commonjs": "18.1.0", - "babel-plugin-transform-dynamic-imports-to-static-imports": "1.0.0", - "rollup-plugin-babel": "4.4.0", - "rollup-plugin-delete": "2.0.0", - "rollup-plugin-terser": "7.0.2" - }, - "gitHead": "4a3231b9a571fabe571adafc93cbccfc2e82f590" -} diff --git a/packages/rollup-umd-build/rollup.config.factory.mjs b/packages/rollup-umd-build/rollup.config.factory.mjs deleted file mode 100644 index db178f4eb..000000000 --- a/packages/rollup-umd-build/rollup.config.factory.mjs +++ /dev/null @@ -1,35 +0,0 @@ -import babel from "rollup-plugin-babel"; -import babelPluginDynamicToStaticImport from "babel-plugin-transform-dynamic-imports-to-static-imports"; -import commonjs from "@rollup/plugin-commonjs"; -import { terser } from "rollup-plugin-terser"; -import del from "rollup-plugin-delete"; - -function umdConfig({ elementName, className } = {}) { - const umdFilename = `${elementName}.umd.js`; - return { - input: umdFilename, - output: { - file: umdFilename, - format: "umd", - name: className, - }, - plugins: [ - commonjs(), - babel({ - presets: ["@babel/preset-env"], - plugins: [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - babelPluginDynamicToStaticImport, - ], - }), - terser(), - del({ targets: "build" }), - ], - external: (id) => id.startsWith(".."), - }; -} - -export default function factory({ elementName, className } = {}) { - return [umdConfig({ elementName, className })]; -} diff --git a/packages/ui/apollo.config.js b/packages/ui/apollo.config.js deleted file mode 100644 index 9bdc92467..000000000 --- a/packages/ui/apollo.config.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - client: { - service: { - name: "graphql-server", - url: "http://localhost:4000/graphql" - } - } -} \ No newline at end of file diff --git a/packages/ui/client.js b/packages/ui/client.js deleted file mode 100644 index 89f66f594..000000000 --- a/packages/ui/client.js +++ /dev/null @@ -1,83 +0,0 @@ -import { ApolloClient } from 'apollo-client'; -import { InMemoryCache, defaultDataIdFromObject } from 'apollo-cache-inmemory'; -import { HttpLink } from 'apollo-link-http'; -import { onError } from 'apollo-link-error'; -import { ApolloLink, split } from 'apollo-link'; -import { WebSocketLink } from 'apollo-link-ws'; -import { getMainDefinition } from 'apollo-utilities'; -import { withClientState } from 'apollo-link-state'; -import { RetryLink } from "apollo-link-retry"; - -// Create an http link: -const httpLink = new HttpLink({ - uri: `http://localhost:4000`, -}) - -// Create a Websocket link; -const wsLink = new WebSocketLink({ - uri: `ws://localhost:4000/graphql`, - options: { - reconnect: true - } -}); - -// using the ability to split links, you can send data to each link -// depending on what kind of operation is being sent -const httpWsLink = split( - // split based on operation type - ({ query }) => { - const { kind, operation } = getMainDefinition(query); - return kind === 'OperationDefinition' && operation === 'subscription'; - }, - wsLink, - httpLink, -); - -// This is the same cache you pass into new ApolloClient -const cache = new InMemoryCache(); - -const retryLink = new RetryLink(); - -// set up link state for local -const stateLink = withClientState({ - cache, -}); - -/** - * Helper function to write fragment changes to cache - * - * @param {object} client apollo client instance - * @param {string} fragment gql fragment string - * @param {string} id id of the object without typename prefix - * @param {string} __typename typename of the object in the cache - * @param {data} data changes you want applied to object in cache - */ -export const writeFragment = ({ client, fragment, id, __typename, data }) => { - try { - const id = `${__typename}:${id}` - const cache = client.readFragment({ fragment, id }) - const data = Object.assign({}, cache, data) - client.writeFragment({ fragment, id, data }) - } catch (err) { - console.log(err) - } -} - -export default new ApolloClient({ - link: ApolloLink.from([ - onError(({ graphQLErrors, networkError }) => { - if (graphQLErrors) - graphQLErrors.map(({ message, locations, path }) => - console.log( - `[GraphQL error]: Message: ${message}, Location: ${locations}, Path: ${path}`, - ) - ); - if (networkError) console.log(`[Network error]: ${networkError}`); - }), - retryLink, - stateLink, - httpWsLink - ]), - cache: cache, - connectToDevTools: true -}); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-404.js b/packages/ui/components/wcfactory-ui-404.js deleted file mode 100644 index 3108d2dd7..000000000 --- a/packages/ui/components/wcfactory-ui-404.js +++ /dev/null @@ -1,11 +0,0 @@ -import { LitElement, html } from "lit"; - -class WCFactoryUI404 extends LitElement { - render() { - return html` - that path does not exist 😔 - `; - } -} - -customElements.define('wcfactory-ui-404', WCFactoryUI404); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-active-script.js b/packages/ui/components/wcfactory-ui-active-script.js deleted file mode 100644 index 50e909fd3..000000000 --- a/packages/ui/components/wcfactory-ui-active-script.js +++ /dev/null @@ -1,67 +0,0 @@ -import { html, ApolloQuery } from '@apollo-elements/lit-apollo' -import gql from 'graphql-tag' -import client from '../client.js' -import './wcfactory-ui-terminal.js' -import './wcfactory-ui-script-stop.js' - -export const GET_OPERATION_OUTPUT = gql` - query($pid: Int!) { - operationOutput(pid: $pid) { - id - output - operation { - pid - } - } - } -` - -class WCFactoryUIActiveScript extends ApolloQuery { - static get properties() { - return { - script: { type: Object } - } - } - constructor() { - super() - this.script = {} - } - firstUpdated() { - this.client = client - this.query = GET_OPERATION_OUTPUT - this.variables = { pid: this.script.pid } - } - shouldUpdate(changedProps) { - return true - } - render() { - const { data, loading, error } = this - if (data) { - return html` - -
- -
- - ${data.operationOutput.map(i => html`
${i.output}
`)} -
- ` - } - if (loading) return html`loading...` - } -} - -customElements.define('wcfactory-ui-active-script', WCFactoryUIActiveScript); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-active-scripts.js b/packages/ui/components/wcfactory-ui-active-scripts.js deleted file mode 100644 index dcac36dbd..000000000 --- a/packages/ui/components/wcfactory-ui-active-scripts.js +++ /dev/null @@ -1,49 +0,0 @@ -import { html, ApolloQuery } from '@apollo-elements/lit-apollo'; -import gql from 'graphql-tag' -import client from '../client.js' -import './wcfactory-ui-active-script.js' -import './wcfactory-ui-desktop-tabs.js' -import './wcfactory-ui-desktop-tab.js' -import { GET_OPERATIONS } from './wcfactory-ui-script.js' - -class WCFactoryUIActiveScripts extends ApolloQuery { - constructor() { - super() - this.client = client - this.query = GET_OPERATIONS - } - render() { - const { data, error, loading } = this; - return html` - - - - ${data.operations.map(operation => { - return html` - - ${operation.element.name} (${operation.script}) - - - ` - })} - - - ` - } -} - -customElements.define('wcfactory-ui-active-scripts', WCFactoryUIActiveScripts); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-button.js b/packages/ui/components/wcfactory-ui-button.js deleted file mode 100644 index 27e72eac7..000000000 --- a/packages/ui/components/wcfactory-ui-button.js +++ /dev/null @@ -1,101 +0,0 @@ -import { LitElement, html } from "lit"; -import '@polymer/paper-button/paper-button.js'; - -class WCFactoryUIButton extends LitElement { - static get properties() { - return { - disabled: { type: Boolean, reflect: true }, - cta: { type: Boolean, reflect: true } - } - } - - constructor() { - super() - this.disabled = false - this.cta = false - } - - render() { - return html` - - -
-
-
-
-
-
- `; - } - -} - -customElements.define('wcfactory-ui-button', WCFactoryUIButton); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-desktop-tab.js b/packages/ui/components/wcfactory-ui-desktop-tab.js deleted file mode 100644 index 7c5e89df6..000000000 --- a/packages/ui/components/wcfactory-ui-desktop-tab.js +++ /dev/null @@ -1,69 +0,0 @@ -import { LitElement, html, css } from "lit"; - -class WCFactoryUIDesktopTab extends LitElement { - static get properties() { - return { - active: { type: Boolean, reflect: true } - } - } - - constructor() { - super() - this.active = false - } - - static get styles() { - return css` - :host { - display: flex; - width: 100vw; - max-width: 300px; - position: relative; - align-items: flex-end; - flex: 1 1 auto; - } - #container { - width: 100%; - background: var(--wcfactory-ui-secondary-color); - } - :host([active]) { - max-width: 400px; - } - #header { - font-size: .8em; - padding: 1em; - cursor: pointer; - } - :host([active]) #header { - border-top: 1px solid var(--wcfactory-ui-accent-color); - } - #container #body { - display: none; - } - #container[active="true"] #body { - display: block; - } - wcfactory-ui-terminal { - --wcfactory-ui-terminal-bg: calc(var(--wcfactory-ui-secondary-color) * 0.9); - } - `; - } - - render() { - return html` -
- -
-
- `; - } -} - -customElements.define('wcfactory-ui-desktop-tab', WCFactoryUIDesktopTab); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-desktop-tabs.js b/packages/ui/components/wcfactory-ui-desktop-tabs.js deleted file mode 100644 index 58f110292..000000000 --- a/packages/ui/components/wcfactory-ui-desktop-tabs.js +++ /dev/null @@ -1,43 +0,0 @@ -import { LitElement, html, css } from "lit"; -import './wcfactory-ui-desktop-tab.js' - -class WCFactoryUIDesktopTabs extends LitElement { - static get properties() { - return { - } - } - - constructor() { - super() - } - - static get styles() { - return css` - :host { - display: flex; - position: fixed; - right: 0; - bottom: 0; - z-index: 100; - } - #tabs { - display: flex; - } - #container { - display: flex; - } - `; - } - - render() { - return html` -
-
- -
-
- `; - } -} - -customElements.define('wcfactory-ui-desktop-tabs', WCFactoryUIDesktopTabs); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-element-create-form.js b/packages/ui/components/wcfactory-ui-element-create-form.js deleted file mode 100644 index c7244f585..000000000 --- a/packages/ui/components/wcfactory-ui-element-create-form.js +++ /dev/null @@ -1,238 +0,0 @@ -import { LitElement, html } from "lit"; -import gql from 'graphql-tag' -import client from '../client.js' -import '@polymer/paper-input/paper-input.js'; -import '@polymer/paper-dropdown-menu/paper-dropdown-menu.js'; -import '@polymer/paper-checkbox/paper-checkbox.js'; -import '@polymer/paper-item/paper-item.js'; -import '@polymer/paper-listbox/paper-listbox.js'; -import '@polymer/iron-form/iron-form.js'; -import './wcfactory-ui-button.js' -import './wcfactory-ui-properties-form.js' - -class WCFactoryUIElementCreateForm extends LitElement { - static get properties() { - return { - form: { type: Object }, - formOptions: { type: Object }, - isValid: { type: Boolean }, - loading: { type: Boolean, reflect: true }, - factory: { type: String } - } - } - - constructor() { - super() - this.title = '' - this.isValid = false - this.loading = false - this.form = { - name: '' - } - this._getFormOptions() - } - - updated(changed) { - if ( - this.form.name && - this.form.description && - this.form.library - ) { - const valid = this._validateForm() - } - } - - render () { - return html` - - -
- -
🏭 ${this.factory} create element
- - -
- -

Name

- this.form = Object.assign({}, this.form, { name: e.detail.value})}> - -

Description

- this.form = Object.assign({}, this.form, { description: e.detail.value})}> - -

Factory

- - -

Library

- ${this.formOptions - ? html` - - this.form = Object.assign({}, this.form, { library: this.formOptions.libraries[e.detail.value].name})}> - ${this.formOptions.libraries.map(library => - html`${library.description}` - )} - - - ` - : '' - } - -

Use Sass (optional)

-
- - this.form = Object.assign({}, this.form, { useSass: e.detail.value })} - > -
- -

Properties (optional)

-
- { - this.form = Object.assign({}, this.form, { propsList: e.detail }) - }} - > -
- - - - - -
-

∈ ${this.form.name}

-
-
-
- Description: ${this.form.description} -
-
- Element Type: ${this.form.library} -
- ${this.form.propsList && this.form.propsList.length > 0 - ? html` -
- Properties: - ${this.form.propsList.map(prop => { - if (prop.name || prop.description || prop.default) { - return html` -
- name: ${prop.name}
- description: ${prop.type}
- default: ${prop.default}
- observe: ${prop.observe ? 'yes' : 'no'}
-
- ` - } - return 'none' - } - )} -
- ` - : '' - } -
-
-
-
- -
- this._submit()} .disabled=${!this.isValid} cta >Create Element -
- - ${this.loading - ? html`
...Creating Element
` - : '' - } - `; - } - - _submit() { - const valid = this._validateForm() - if (valid) { - - } - } - - _validateForm() { - const form = this.shadowRoot.querySelector('#form') - const valid = form.validate() - this.isValid = valid - return valid - } - - _getFormOptions() { - client.watchQuery({ - query: gql` - query { - elementCreateOptions { - libraries { - name - description - } - } - } - ` - }).subscribe(({ data: { elementCreateOptions } }) => { - this.formOptions = elementCreateOptions - }) - } - -} - -customElements.define('wcfactory-ui-element-create-form', WCFactoryUIElementCreateForm); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-element-create.js b/packages/ui/components/wcfactory-ui-element-create.js deleted file mode 100644 index c46ec84a5..000000000 --- a/packages/ui/components/wcfactory-ui-element-create.js +++ /dev/null @@ -1,21 +0,0 @@ -import { LitElement, html } from "lit"; -import gql from 'graphql-tag' -import client from '../client.js' -import './wcfactory-ui-element-create-form.js' - -export class WCFactoryUIElementCreate extends LitElement { - static get properties() { - return { - loading: { type: Boolean }, - location: { type: Object } - } - } - - render() { - return html` - - `; - } -} - -customElements.define('wcfactory-ui-element-create', WCFactoryUIElementCreate); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-element.js b/packages/ui/components/wcfactory-ui-element.js deleted file mode 100644 index 975909d2c..000000000 --- a/packages/ui/components/wcfactory-ui-element.js +++ /dev/null @@ -1,91 +0,0 @@ -import { LitElement, html } from "lit"; -import gql from 'graphql-tag' -import './wcfactory-ui-scripts.js' -import './wcfactory-ui-location.js' -import client from '../client.js' - -class WCFactoryUIElement extends LitElement { - static get properties() { - return { - element: { type: Object } - } - } - - constructor() { - super() - this.element = {} - } - - render() { - return html` - - -
- -
- - `; - } -} - -customElements.define('wcfactory-ui-element', WCFactoryUIElement); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-factories.js b/packages/ui/components/wcfactory-ui-factories.js deleted file mode 100644 index 22704a76b..000000000 --- a/packages/ui/components/wcfactory-ui-factories.js +++ /dev/null @@ -1,94 +0,0 @@ -import { LitElement, html } from "lit"; -import gql from 'graphql-tag' -import client from '../client.js' -import './wcfactory-ui-button.js' -import './wcfactory-ui-factory-state.js' - -export const FACTORY_FRAGMENT = gql` - fragment FactoryInfo on Factory { - __typename - id - name - location - output - } -` - -export const GET_FACTORIES = gql` - query { - factories { - ...FactoryInfo - } - } - ${FACTORY_FRAGMENT} -`; - -class WCFactoryUIFactories extends LitElement { - static get properties() { - return { - factories: { type: Array } - } - } - - constructor() { - super() - this.factories = [] - - try { - client.watchQuery({ - query: GET_FACTORIES, - }).subscribe(({ data: { factories }}) => { - this.factories = factories - }) - } catch (error) { - } - } - - render() { - return html` - -
- ${this.factories.map(factory => html` - -

🏭${factory.name}

-
- ${factory.output - ? html`` - : html`${factory.location}` - } -
-
- `)} -
- 🏭 Create factory - `; - } -} - -customElements.define('wcfactory-ui-factories', WCFactoryUIFactories); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-factory-create-form.js b/packages/ui/components/wcfactory-ui-factory-create-form.js deleted file mode 100644 index 8c515162f..000000000 --- a/packages/ui/components/wcfactory-ui-factory-create-form.js +++ /dev/null @@ -1,143 +0,0 @@ -import { LitElement, html } from "lit"; -import '@polymer/paper-input/paper-input.js'; -import '@polymer/iron-form/iron-form.js'; -import './wcfactory-ui-button.js' - -class WCFactoryUIFactoryCreateForm extends LitElement { - static get properties() { - return { - form: { type: Object }, - name: { type: String }, - humanName: { type: String }, - description: { type: String }, - orgGit: { type: String }, - orgNpm: { type: String }, - gitRepo: { type: String }, - isValid: { type: Boolean }, - loading: { type: Boolean, reflect: true }, - } - } - - constructor() { - super() - this.isValid = false - this.name = '' - this.humanName = '' - this.description = '' - this.orgGit = '' - this.orgNpm = '' - this.gitRepo = '' - this.loading = false - } - - updated(changed) { - if ( - this.name !== '' && - this.humanName !== '' && - this.description !== '' && - this.orgGit !== '' && - this.orgNpm !== '' - ) { - const valid = this._validateForm() - } - this.gitRepo = `git:github.com/${this.orgGit ? this.orgGit : ''}/${this.name ? this.name : ''}` - } - - render () { - return html` - -
- - - this.name = e.detail.value}> - this.humanName = e.detail.value}> - this.description = e.detail.value}> - this.orgGit = e.detail.value}> - this.orgNpm = e.detail.value}> - - - -
-

🏭 ${this.humanName}

-
-
- Git Repo:
- ${this.gitRepo} -
-
- NPM Repo:
- @${this.orgNpm ? `${this.orgNpm}` : ''} -
-
-
-
- -
- this._submit()} .disabled=${!this.isValid} cta >Create Factory -
- - ${this.loading - ? html`
...Creating Factory
` - : '' - } - `; - } - - _submit() { - const valid = this._validateForm() - if (valid) { - this.dispatchEvent(new CustomEvent('submit', { - bubbles: true, - detail: { - name: this.name, - humanName: this.humanName, - description: this.description, - orgGit: this.orgGit, - orgNpm: `@${this.orgNpm}`, - gitRepo: this.gitRepo - } - })) - } - } - - _validateForm() { - const form = this.shadowRoot.querySelector('#form') - const valid = form.validate() - this.isValid = valid - return valid - } -} - -customElements.define('wcfactory-ui-factory-create-form', WCFactoryUIFactoryCreateForm); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-factory-create.js b/packages/ui/components/wcfactory-ui-factory-create.js deleted file mode 100644 index e3e2233eb..000000000 --- a/packages/ui/components/wcfactory-ui-factory-create.js +++ /dev/null @@ -1,54 +0,0 @@ -import { LitElement, html } from "lit"; -// import { ApolloMutation, html } from '@apollo-elements/lit-apollo' -import gql from 'graphql-tag' -import client from '../client.js' -import './wcfactory-ui-factory-create-form.js' -import { FACTORY_FRAGMENT, GET_FACTORIES } from './wcfactory-ui-factories' - -export const CREATE_FACTORY_MUTATION = gql` - mutation($createFactoryInput: CreateFactoryInput!) { - createFactory(createFactoryInput: $createFactoryInput) { - ...FactoryInfo - } - } - ${FACTORY_FRAGMENT} -` - -export class WCFactoryUIFactoryCreate extends LitElement { - static get properties() { - return { - loading: { type: Boolean } - } - } - - render() { - return html` - - - `; - } - - /** - * Create a new factory and add it to the cache - */ - _submitHandler(e) { - this.loading = true; - client.mutate({ - mutation: CREATE_FACTORY_MUTATION, - variables: { createFactoryInput: e.detail }, - update: (store, { data: { createFactory } }) => { - const { id, __typename } = createFactory - const query = GET_FACTORIES - const cache = store.readQuery({ query }) - const factories = [...cache.factories, createFactory] - store.writeQuery({ query, data: Object.assign({}, cache, { factories }) }) - setTimeout(() => { - this.loading = false; - this.shadowRoot.querySelector('#return-home').click() - }, 1000) - } - }) - } -} - -customElements.define('wcfactory-ui-factory-create', WCFactoryUIFactoryCreate); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-factory-state.js b/packages/ui/components/wcfactory-ui-factory-state.js deleted file mode 100644 index b90e21029..000000000 --- a/packages/ui/components/wcfactory-ui-factory-state.js +++ /dev/null @@ -1,41 +0,0 @@ -import { LitElement, html, css } from "lit"; -import '@polymer/paper-spinner/paper-spinner.js'; - -class WCFactoryUIFactoryState extends LitElement { - static get properties() { - return { - output: { type: String }, - } - } - - constructor() { - super() - this.output = '' - } - - static get styles() { - return css` - :host { - --wcfactory-ui-factory-state-spinner-scale: 0.5; - display: flex; - } - paper-spinner { - transform: scale(var(--wcfactory-ui-factory-state-spinner-scale)); - --paper-spinner-stroke-width: 3px; - } - `; - } - - render() { - if (this.output) { - return html`${this.output}` - } - else { - return html` - complete - ` - } - } -} - -customElements.define('wcfactory-ui-factory-state', WCFactoryUIFactoryState); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-factory.js b/packages/ui/components/wcfactory-ui-factory.js deleted file mode 100644 index 658504a2b..000000000 --- a/packages/ui/components/wcfactory-ui-factory.js +++ /dev/null @@ -1,219 +0,0 @@ -import { LitElement, html } from "lit"; -import gql from 'graphql-tag' -import Fuse from 'fuse.js' -import client from '../client.js' -import './wcfactory-ui-element.js' -import './wcfactory-ui-search.js' -import './wcfactory-ui-scripts.js' -import './wcfactory-ui-location.js' -import './wcfactory-ui-button.js' - -class WCFactoryUIFactory extends LitElement { - static get properties() { - return { - location: { type: Object }, - loading: { type: Boolean }, - factory: { type: Object }, - activeElement: { type: String }, - elementFilter: { type: String } - } - } - - constructor() { - super() - this.factory = null - this.loading = true - this.activeElement = null - this.elementFilter = '' - } - - render() { - // notice location changed - const { factory } = this.location.params - // update factory - this.fetchFactory(factory) - - // render - if (this.loading) { - return html`loading...` - } - else if (this.factory) { - // setup fuzzy search - var fuse = new Fuse(this.factory.elements, {keys: ['name'], minMatchCharLength: 2}) - const filteredElements = (this.elementFilter !== '') ? fuse.search(this.elementFilter) : this.factory.elements - - // render - return html` - - -
-
-
🏭 ${this.factory.name}
-
-
-
- -
- this.elementFilter = e.composedPath()[0].value}> - (${this.factory.elements.length}) -
- -
- ${filteredElements - .map(element => html` -
-
- ∈ ${element.name} -
-
- - -
-
- `)} -
- - Create Element (coming soon) -

create element by running the following command in your terminal 😄

-

wcf element ${this._renderFactoryFlag(this.factory.location)}

-
- `; - } - } - - _renderFactoryFlag(location) { - return `--factory=${location}` - } - - fetchFactory(factory) { - try { - client.watchQuery({ - query: gql` - query($name: String!) { - factory(name: $name) { - name - location - scripts - elements { - id - name - location - version - scripts - } - } - } - `, - variables: { - name: factory - } - }).subscribe(({ data: { factory } }) => { - this.loading = false - this.factory = factory - }) - } catch (error) { - } - } - - _activateItemHander(e) { - let selection = false - // if it's a click - if (e.type === 'click') { - selection = true - } - // or if its a space or enter - else if (typeof e.keyCode !== 'undefined') { - if (e.keyCode === 13 || e.keyCode === 32) { - selection = true - } - } - // if selection is good then we'll pop open the dialog - if (selection) { - // change active item - this.activeElement = e.target.dataset.name - // forward focus to dialog - e.target.nextSibling.focus() - } - } -} - -customElements.define('wcfactory-ui-factory', WCFactoryUIFactory); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-list-item.js b/packages/ui/components/wcfactory-ui-list-item.js deleted file mode 100644 index 3b80af16f..000000000 --- a/packages/ui/components/wcfactory-ui-list-item.js +++ /dev/null @@ -1,47 +0,0 @@ -import { LitElement, html } from "lit"; - -class WCFactoryUIListItem extends LitElement { - static get properties() { - return { - url: { type: String }, - title: { type: String } - } - } - - constructor() { - super() - } - - render() { - return html` - -
-

${this.title}

-
-
- `; - } -} - -customElements.define('wcfactory-ui-list-item', WCFactoryUIListItem); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-location.js b/packages/ui/components/wcfactory-ui-location.js deleted file mode 100644 index b447ea3e7..000000000 --- a/packages/ui/components/wcfactory-ui-location.js +++ /dev/null @@ -1,38 +0,0 @@ -import { html, ApolloMutation } from '@apollo-elements/lit-apollo'; -import gql from 'graphql-tag' -import client from '../client.js' - -export const OPEN_LOCATION_MUTATION = gql` - mutation($location: String!) { - openLocation(location: $location) - } -` - -class WCFactoryUILocation extends ApolloMutation { - static get properties() { - return { - location: { type: String } - } - } - - render() { - // set up mutation open location mutation - this.client = client - this.mutation = OPEN_LOCATION_MUTATION - this.variables = { location: this.location } - - return html` - -
📁
- `; - } -} - -customElements.define('wcfactory-ui-location', WCFactoryUILocation); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-properties-form.js b/packages/ui/components/wcfactory-ui-properties-form.js deleted file mode 100644 index e755f48de..000000000 --- a/packages/ui/components/wcfactory-ui-properties-form.js +++ /dev/null @@ -1,69 +0,0 @@ -import { LitElement, html } from "lit"; -import '@polymer/paper-input/paper-input.js'; -import '@polymer/paper-dropdown-menu/paper-dropdown-menu.js'; -import '@polymer/paper-checkbox/paper-checkbox.js'; -import '@polymer/paper-item/paper-item.js'; -import '@polymer/paper-listbox/paper-listbox.js'; -import '@polymer/iron-form/iron-form.js'; -import './wcfactory-ui-button.js' -import './wcfactory-ui-property-form.js' - -class WCFactoryUIPropertiesForm extends LitElement { - static get properties() { - return { - value: { type: Array } - } - } - - constructor() { - super() - this.value = [{ - name: '', - type: '', - default: '' - }] - } - - updated(changed) { - for (let changes of changed) { - changes.forEach(change => { - if (change === 'value') { - this.dispatchEvent(new CustomEvent('value-changed', { - detail: this.value - })) - } - }); - } - } - - render () { - return html` - - ${this.value.map((item, key) => - html` - { - let value = [...this.value] - value[key] = e.detail - this.value = value - }} - > - ` - )} - this.value = [...this.value, {}]} - > Add property➕ - ` - } -} - -customElements.define('wcfactory-ui-properties-form', WCFactoryUIPropertiesForm); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-property-form.js b/packages/ui/components/wcfactory-ui-property-form.js deleted file mode 100644 index 44c7b309e..000000000 --- a/packages/ui/components/wcfactory-ui-property-form.js +++ /dev/null @@ -1,88 +0,0 @@ -import { LitElement, html } from "lit"; -import '@polymer/paper-input/paper-input.js'; -import '@polymer/paper-dropdown-menu/paper-dropdown-menu.js'; -import '@polymer/paper-checkbox/paper-checkbox.js'; -import '@polymer/paper-item/paper-item.js'; -import '@polymer/paper-listbox/paper-listbox.js'; -import '@polymer/iron-form/iron-form.js'; -import './wcfactory-ui-button.js' - -class WCFactoryUIPropertyForm extends LitElement { - static get properties() { - return { - value: { type: Object } - } - } - - constructor() { - super() - this.value = {} - this.propertyTypes = [ - { - value: 'Boolean', - description: 'Boolean, true/false value', - }, - { - value: 'Number', - description: 'Number, number like 54', - }, - { - value: 'Object', - description: 'Object, complex item storing multiple types', - }, - { - value: 'Array', - description: 'Array, list of types', - } - ] - } - - updated(changed) { - for (let changes of changed) { - changes.forEach(change => { - if (change === 'value') { - this.dispatchEvent(new CustomEvent('value-changed', { - detail: this.value - })) - } - }); - } - } - - render () { - return html` - - this.value = Object.assign({}, this.value, { name: e.detail.value })}> - - - this.value = Object.assign({}, this.value, { type: this.propertyTypes[e.detail.value].value})}> - ${this.propertyTypes.map(type => - html`${type.description}` - )} - - - - this.value = Object.assign({}, this.value, { default: e.detail.value })} - > - -
- - { - console.log(e) - }} - > -
- ` - } -} - -customElements.define('wcfactory-ui-property-form', WCFactoryUIPropertyForm); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-script-run.js b/packages/ui/components/wcfactory-ui-script-run.js deleted file mode 100644 index 55348d155..000000000 --- a/packages/ui/components/wcfactory-ui-script-run.js +++ /dev/null @@ -1,84 +0,0 @@ -import { html, ApolloMutation } from '@apollo-elements/lit-apollo'; -import gql from 'graphql-tag' -import client from '../client.js' -import { GET_OPERATIONS } from './wcfactory-ui-script.js' - -export const RUN_SCRIPT_MUTATION = gql` - mutation($script: String!, $location: String!) { - runScript(script: $script, location: $location) { - id - location - script - pid - element { - id - name - } - } - } -` - -class WCFactoryUIScriptRun extends ApolloMutation { - static get properties() { - return { - script: { type: String }, - location: { type: String } - } - } - - render() { - this.client = client - this.mutation = RUN_SCRIPT_MUTATION - this.variables = { - script: this.script, - location: this.location - } - this.onUpdate = (store, { data: { runScript }}) => { - // if we successfully stoped the script then update local cache - const cache = store.readQuery({ query: GET_OPERATIONS }) - const operations = [...cache.operations, runScript] - store.writeQuery({ query: GET_OPERATIONS, data: Object.assign({}, cache, { operations }) }) - } - - // set up the mutation - return html` - - - - ` - } -} - -customElements.define('wcfactory-ui-script-run', WCFactoryUIScriptRun); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-script-stop.js b/packages/ui/components/wcfactory-ui-script-stop.js deleted file mode 100644 index edb75c5e5..000000000 --- a/packages/ui/components/wcfactory-ui-script-stop.js +++ /dev/null @@ -1,76 +0,0 @@ -import { html, ApolloMutation } from '@apollo-elements/lit-apollo'; -import gql from 'graphql-tag' -import client from '../client.js' -import { GET_OPERATIONS } from './wcfactory-ui-script' - -export const STOP_SCRIPT_MUTATION = gql` - mutation($script: String!, $location: String!) { - stopScript(script: $script, location: $location) - } -` - -class WCFactoryUIScriptStop extends ApolloMutation { - static get properties() { - return { - script: { type: String }, - location: { type: String } - } - } - - constructor() { - super() - } - - render() { - this.client = client - this.mutation = STOP_SCRIPT_MUTATION - this.variables = { - script: this.script, - location: this.location - } - this.onUpdate = (store, { data: { stopScript }}) => { - // if we successfully stoped the script then update local cache - if (stopScript) { - const cache = store.readQuery({ query: GET_OPERATIONS }) - const operations = cache.operations.filter(i => !(i.script === this.script && i.location === this.location)) - store.writeQuery({ query: GET_OPERATIONS, data: Object.assign({}, cache, { operations }) }) - } - } - - // set up the mutation - return html` - - - - ` - } -} - -customElements.define('wcfactory-ui-script-stop', WCFactoryUIScriptStop); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-script.js b/packages/ui/components/wcfactory-ui-script.js deleted file mode 100644 index 13245178a..000000000 --- a/packages/ui/components/wcfactory-ui-script.js +++ /dev/null @@ -1,54 +0,0 @@ -import { html, ApolloQuery } from '@apollo-elements/lit-apollo'; -import gql from 'graphql-tag' -import client from '../client.js' -import 'lit-apollo/elements/apollo-mutation-element.js'; -import './wcfactory-ui-script-run.js' -import './wcfactory-ui-script-stop.js' - -export const GET_OPERATIONS = gql` - query operationsList { - operations { - id - location - script - pid - element { - id - name - } - } - } -` - -class WCFactoryUIScript extends ApolloQuery { - static get properties() { - return { - script: { type: String }, - location: { type: String } - } - } - - constructor() { - super() - this.client = client - this.query = GET_OPERATIONS - } - - render() { - // set up the mutation - const { data } = this - const active = (data.operations.find(i => i.script === this.script && i.location === this.location)) ? true : false - if (active) { - return html` - ${this.script} - ` - } - else { - return html` - - ` - } - } -} - -customElements.define('wcfactory-ui-script', WCFactoryUIScript); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-scripts-old.1.js b/packages/ui/components/wcfactory-ui-scripts-old.1.js deleted file mode 100644 index d59e60f23..000000000 --- a/packages/ui/components/wcfactory-ui-scripts-old.1.js +++ /dev/null @@ -1,222 +0,0 @@ -import { LitElement, html } from "lit"; -import gql from 'graphql-tag' -import client from '../client.js' -import './wcfactory-ui-terminal' - -const SUBSCRIBE_OPERATIONS_UPDATE = gql` - subscription { - operationsUpdate - } -` - -const SUBSCRIBE_OPERATIONS_OUTPUT = gql` - subscription { - operationsOutput - } -` - -const GET_OPERATIONS = gql` - query { - operations { - script - location - pid - } - } -` - -const GET_OPERATIONS_OUTPUT = gql` - query { - operationsOutput { - output - operation { - pid - } - } - } -` - -const subscribeToOperations = () => { - client.subscribe({ - query: SUBSCRIBE_OPERATIONS_UPDATE - }).subscribe(({ data: { operationsUpdate } }) => { - const data = client.readQuery({ query: GET_OPERATIONS }) - const operation = JSON.parse(operationsUpdate) - data.operations = [...data.operations, operation] - client.writeQuery({ query: GET_OPERATIONS, data }) - }) -} - -const subscribeToOperationsOutput = () => { - client.subscribe({ - query: SUBSCRIBE_OPERATIONS_OUTPUT - }).subscribe(({ data: { operationsOutput } }) => { - const data = client.readQuery({ query: GET_OPERATIONS_OUTPUT }) - // grab a listing of all operations so we can dynaimcally - const operationsCache = client.readQuery({ query: GET_OPERATIONS }) - // grab the operationOutput cache - let operationsOutputData = JSON.parse(operationsOutput) - // get the operation object reference - const operationRef = operationsCache.operations.find(i => i.pid === operationsOutputData.operation) - // create a new operationsOutputData with the operation object - operationsOutputData = Object.assign({}, operationsOutputData, { operation: operationRef }) - // create a new instance of the cache - data.operationsOutput = [...data.operationsOutput, operationsOutputData] - // write the new cache back to the global cache - client.writeQuery({ query: GET_OPERATIONS_OUTPUT, data }) - }) -} - -// start subscriptions -subscribeToOperations() -subscribeToOperationsOutput() - -class WCFactoryUIScripts extends LitElement { - static get properties() { - return { - scripts: { type: Array }, - operations: { type: Array }, - operationsOutput: { type: Array }, - location: { type: Array }, - activeScript: { type: String }, - } - } - - constructor() { - super() - this.scripts = {} - this.operations = [] - this.operationsOutput = [] - this.activeScript = '' - } - - firstUpdated() { - // fetch operations - this.fetchOperations() - // fetch operations output - this.fetchOperationsOutput() - } - - render() { - return html` - - ${this.activeScript} - ${this.script} - ${this.scripts.map(script => { - const currentOperation = this.operations.find(i => (i.script === script && i.location === this.location)) - const currentOperationOutput = (typeof currentOperation !== 'undefined') ? this.operationsOutput.filter(i => i.operation.pid === currentOperation.pid) : [] - if (currentOperation) { - return html` - this.stopScript(script, this.location)}> 🔄${script} -
- - ${currentOperationOutput.map(o => html`${o.output}
`)} -
-
- ` - } - else { - return html` - ` - } - })} - ` - } - - async runScript(script, location) { - try { - await client.mutate({ - mutation: gql` - mutation($script: String!, $location: String!) { - runScript(script: $script, location: $location) { - pid - location - script - element { - name - } - } - } - `, - variables: { script, location }, - update: (cache, { data: { runScript } }) => { - console.log('runScript:', runScript) - } - }) - } catch (error) {} - } - - async stopScript(script, location) { - try { - await client.mutate({ - mutation: gql` - mutation($script: String!, $location: String!) { - stopScript(script: $script, location: $location) - } - `, - variables: { script, location }, - // update the cache based on returned data - update: (store, { data: { stopScript }}) => { - // if we successfully stoped the script then update local cache - if (stopScript) { - const cache = store.readQuery({ query: GET_OPERATIONS }) - const operations = cache.operations.filter(i => !(i.script === script && i.location === location)) - store.writeQuery({ query: GET_OPERATIONS, data: Object.assign({}, cache, { operations }) }) - } - } - }) - } catch (error) {} - } - - fetchOperationsOutput() { - try { - client.watchQuery({ - query: GET_OPERATIONS_OUTPUT, - }).subscribe(({ data: { operationsOutput } }) => { - this.operationsOutput = operationsOutput - }) - } catch (error) { - } - } - - fetchOperations() { - try { - client.watchQuery({ - query: GET_OPERATIONS, - }).subscribe(({ data: { operations } }) => { - this.operations = operations - }) - } catch (error) { - } - } -} - -customElements.define('wcfactory-ui-scripts', WCFactoryUIScripts); diff --git a/packages/ui/components/wcfactory-ui-scripts.js b/packages/ui/components/wcfactory-ui-scripts.js deleted file mode 100644 index 71cb283ff..000000000 --- a/packages/ui/components/wcfactory-ui-scripts.js +++ /dev/null @@ -1,22 +0,0 @@ -import { html, LitElement } from "lit"; -import gql from 'graphql-tag' -import client from '../client.js' -import './wcfactory-ui-script.js' - -class WCFactoryUIScripts extends LitElement { - static get properties() { - return { - scripts: { type: Array }, - location: { type: String } - } - } - render() { - return html` - ${this.scripts.map(script => { - return html`` - })} - ` - } -} - -customElements.define('wcfactory-ui-scripts', WCFactoryUIScripts); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-search.js b/packages/ui/components/wcfactory-ui-search.js deleted file mode 100644 index 290861281..000000000 --- a/packages/ui/components/wcfactory-ui-search.js +++ /dev/null @@ -1,25 +0,0 @@ -import { LitElement, html } from "lit"; - -class WCFactoryUISearch extends LitElement { - static get properties() { - return { - placeholder: { type: String } - } - } - constructor() { - super() - this.placeholder = '' - } - render() { - return html` - - - - `; - } -} - -customElements.define('wcfactory-ui-search', WCFactoryUISearch); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui-terminal.js b/packages/ui/components/wcfactory-ui-terminal.js deleted file mode 100644 index a95bce550..000000000 --- a/packages/ui/components/wcfactory-ui-terminal.js +++ /dev/null @@ -1,47 +0,0 @@ -import { LitElement, html } from "lit"; - -class WCFactoryUITerminal extends LitElement { - - firstUpdated() { - // store output target - this._outputElement = this.shadowRoot.querySelector('#output') - // watch for changes to content and update scroll - this.shadowRoot.addEventListener('slotchange', this._slotChangeHandler.bind(this)) - } - - disconnectedCallback() { - this.shadowRoot.removeEventListener('slotchange', this._slotChangeHandler.bind(this)) - } - - /** - * Scroll ouput element to the bottom - */ - _slotChangeHandler() { - this._outputElement.scrollTop = this._outputElement.scrollHeight - } - - render() { - return html` - -
- -
- `; - } -} - -customElements.define('wcfactory-ui-terminal', WCFactoryUITerminal); \ No newline at end of file diff --git a/packages/ui/components/wcfactory-ui.js b/packages/ui/components/wcfactory-ui.js deleted file mode 100644 index 47b38bcfb..000000000 --- a/packages/ui/components/wcfactory-ui.js +++ /dev/null @@ -1,67 +0,0 @@ -import { LitElement, html } from "lit"; -import {Router} from '@vaadin/router'; -import './wcfactory-ui-factories.js' -import './wcfactory-ui-factory.js' -import './wcfactory-ui-404.js' -import './wcfactory-ui-active-scripts.js' -import './wcfactory-ui-desktop-tabs.js' -import './wcfactory-ui-terminal.js' -import './wcfactory-ui-factory-create.js' -import './wcfactory-ui-element-create.js' -import { subscribeToOperationsOutput } from '../subscriptions/operationsOutput.js' -import { subscribeToFactoryUpdates } from '../subscriptions/factoryUpdate.js' - -class WCFactoryUI extends LitElement { - firstUpdated() { - this.routerSetup() - subscribeToOperationsOutput() - subscribeToFactoryUpdates() - } - - render() { - return html` - - -

WCFactory

-
- - - `; - } - - /** - * Sets up the router - */ - routerSetup() { - const outlet = this.shadowRoot.getElementById('router-outlet') - const router = new Router(outlet); - router.setRoutes([ - {path: '/', component: 'wcfactory-ui-factories'}, - {path: '/factories', component: 'wcfactory-ui-factory'}, - {path: '/factories/create', component: 'wcfactory-ui-factory-create'}, - {path: '/factories/:factory', component: 'wcfactory-ui-factory'}, - {path: '/factories/:factory/create-element', component: 'wcfactory-ui-element-create'}, - {path: '(.*)', component: 'wcfactory-ui-404'}, - ]); - } -} - -customElements.define('wcfactory-ui', WCFactoryUI); \ No newline at end of file diff --git a/packages/ui/dist/0.00a9dac7fdff2914469b.js b/packages/ui/dist/0.00a9dac7fdff2914469b.js deleted file mode 100644 index 05d8f3b08..000000000 --- a/packages/ui/dist/0.00a9dac7fdff2914469b.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 0.00a9dac7fdff2914469b.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{261:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},262:function(e,t){function n(e,t){for(var n=0;n+~])"},295:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0;t--){var n=e[t],r=w(n);r&&T(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(T(t)&&e[t])return e[t];var n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var a=i.value;if(w(a)==t)return a}}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return null},e},D="__shady_native_",O="__shady_",A=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(r&&r.indexOf(o)>=0)){i.configurable=!0;var s=n+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},M=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,function(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}),x=[];function P(e){E||(E=!0,N(L)),x.push(e)}function L(){E=!1;for(var e=Boolean(x.length);x.length;)x.shift()();return e}L.list=x;var R=function(){function e(){o()(this,e),this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}return s()(e,[{key:"schedule",value:function(){var e=this;this._scheduled||(this._scheduled=!0,N(function(){e.flush()}))}},{key:"flush",value:function(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}},{key:"takeRecords",value:function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}]),e}();var H=/[&\u00A0"]/g,I=/[&\u00A0<>]/g;function F(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function j(e){return e.replace(H,F)}function B(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&q[t.localName]?l:function(e){return e.replace(I,F)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function V(e,t){"template"===e.localName&&(e=e.content);for(var n,r="",o=t?t(e):e.childNodes,i=0,s=o.length;i1&&void 0!==arguments[1]?arguments[1]:[],n=0;n-1)return n}function Ne(e){var t=function(t,n){var r=new e(t,n);return r.__composed=n&&Boolean(n.composed),r};return t.__proto__=e,t.prototype=e.prototype,t}var be={focus:!0,blur:!0};function Ce(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function we(e,t,n){var r=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n];if(r)for(var o,i=0;o=r[i];i++){if(Ce(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Te(e){var t,n,r=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=r.length-1;o>=0;o--)if(we(e,t=r[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var i=0;i-1)return}else t[me]=[];var c=function(o){var s;if(i&&this[O+"removeEventListener"](e,t,n),o.__target||Le(o),a!==this&&(s=Object.getOwnPropertyDescriptor(o,"currentTarget"),Object.defineProperty(o,"currentTarget",{get:function(){return a},configurable:!0})),o.__previousCurrentTarget=o.currentTarget,(!p(a)||-1!=o.composedPath().indexOf(a))&&(o.composed||o.composedPath().indexOf(a)>-1)){if(Ce(o)&&o.target===o.relatedTarget)return void(o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation());if(!(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a||a instanceof Window))return;var l="function"===r?t.call(a,o):t.handleEvent&&t.handleEvent(o);return a!==this&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget),l}};t[me].push({node:a,type:e,capture:o,once:i,passive:s,wrapperFn:c}),be[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(c)):this[D+"addEventListener"](e,c,n)}}}function Ae(e,t,n){if(t){if(_e[e])return this[D+"removeEventListener"](e,t,n);var r,o,i;n&&"object"===fe()(n)?(r=Boolean(n.capture),o=Boolean(n.once),i=Boolean(n.passive)):(r=Boolean(n),o=!1,i=!1);var s=n&&n.__shadyTarget||this,a=void 0,l=function(e){var t=null;try{t=e[me]}catch(e){}return t}(t);if(l){var c=De(l,s,e,r,o,i);c>-1&&(a=l.splice(c,1)[0].wrapperFn,l.length||(t[me]=void 0))}if(this[D+"removeEventListener"](e,a||t,n),a&&be[e]&&this.__handlers&&this.__handlers[e]){var u=this.__handlers[e][r?"capture":"bubble"],d=u.indexOf(a);d>-1&&u.splice(d,1)}}}var Me=M({get composed(){return void 0===this.__composed&&(ve?this.__composed="focusin"===this.type||"focusout"===this.type||ve(this):!1!==this.isTrusted&&(this.__composed=ye[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Se(this.__target,this.composed)),this.__composedPath},get target(){return Ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Se(this.__relatedTarget,!0)),Ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),xe="__shady_patchedProto",Pe="__shady_sourceProto";function Le(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,u.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,xe)){var n=Object.create(t);n[Pe]=t,A(n,Me),t[xe]=n}e.__proto__=t[xe]}else A(e,Me)}var Re=Ne(Event),He=Ne(CustomEvent),Ie=Ne(MouseEvent);var Fe=Object.getOwnPropertyNames(Document.prototype).filter(function(e){return"on"===e.substring(0,2)}),je=n(274),Be=n.n(je);function Ue(e,t,n){return{index:e,removed:t,addedCount:n}}var qe=0,We=1,Ve=2,Ke=3;function Ge(e,t,n,r,o,i){var s,a=0,l=0,c=Math.min(n-t,i-o);if(0==t&&0==o&&(a=function(e,t,n){for(var r=0;r0||n>0;)if(0!=t)if(0!=n){var i=e[t-1][n-1],s=e[t-1][n],a=e[t][n-1],l=void 0;(l=s0||this.nodeType===Node.ELEMENT_NODE)&&this[O+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==nt&&e.ownerDocument!==nt)return this[D+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=c(t),r=n&&n.parentNode;if(void 0!==r&&r!==this||void 0===r&&t[D+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var o,i=[],s=xt(this),a=s?s.host.localName:et(this),u=e[O+"parentNode"];u&&(o=et(e),u[O+"removeChild"](e,Boolean(s)||!xt(e)));var d=!0,m=!(rt&&void 0!==e.__noInsertionPoint||function e(t,n){var r=Je();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[O+"childNodes"],s=0;o&&s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==nt)return this[D+"removeChild"](e);if(e[O+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var r=xt(e),o=r&&r._removeContainedSlots(e),i=c(this);if(h(this)&&(!function(e,t){var n=l(e),r=l(t);e===r.firstChild&&(r.firstChild=n.nextSibling),e===r.lastChild&&(r.lastChild=n.previousSibling);var o=n.previousSibling,i=n.nextSibling;o&&(l(o).nextSibling=i),i&&(l(i).previousSibling=o),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==r.childNodes&&(r.childNodes=null)}(e,this),f(this)&&(i.root._asyncRender(),t=!0)),Je()&&!n&&r){var s=et(e);tt(e,function(e){Qe(e,s)})}if(at(e),r){var a=this&&"slot"===this.localName;a&&(t=!0),(o||a)&&r._asyncRender()}if(!t){var u=p(this)?this.host:this;(!i.root&&"slot"!==e.localName||u===e[D+"parentNode"])&&u[D+"removeChild"](e)}return lt(this,null,e),e},replaceChild:function(e,t){return this[O+"insertBefore"](e,t),this[O+"removeChild"](t),e},cloneNode:function(e){if("template"==this.localName)return this[D+"cloneNode"](e);var t=this[D+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var n,r=this[O+"childNodes"],o=0;o0?e:void 0}}},{key:"_render",value:function(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}},{key:"_flushInitial",value:function(){!this._hasRendered&&this._renderPending&&this._render()}},{key:"_renderSelf",value:function(){var e=Tt;if(Tt=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!u.preferPerformance&&!this._hasRendered)for(var t=this.host[O+"childNodes"],n=0,r=t.length;ni.assignedNodes.length&&(i.dirty=!0)}i.dirty&&(i.dirty=!1,this._fireSlotChange(o))}}},{key:"_distributeNodeToSlot",value:function(e,t){var n=l(e),r=n._prevAssignedSlot;n._prevAssignedSlot=null;var o=t;if(!o){var i=e[O+"slot"]||"__catchall",s=this._slotMap[i];o=s&&s[0]}o?(l(o).assignedNodes.push(e),n.assignedSlot=o):n.assignedSlot=void 0;r!==n.assignedSlot&&n.assignedSlot&&(l(n.assignedSlot).dirty=!0)}},{key:"_clearSlotAssignedNodes",value:function(e){var t=c(e),n=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=n,n)for(var r=0;r=0){this._slotList.splice(a,1);var l=c(s[O+"parentNode"]);l&&l.__childSlotCount&&l.__childSlotCount--}i--,this._removeFlattenedNodes(s),t=!0}}return t}}},{key:"_updateSlotName",value:function(e){if(this._slotList){this._validateSlots();var t=e.__slotName,n=this._nameForSlot(e);if(n!==t){var r=this._slotMap[t],o=r.indexOf(e);o>=0&&r.splice(o,1);var i=this._slotMap[n]||(this._slotMap[n]=[]);i.push(e),i.length>1&&(this._slotMap[n]=this._sortSlots(i))}}}},{key:"_removeFlattenedNodes",value:function(e){var t=c(e),n=t.flattenedNodes;if(n)for(var r=0;r0||this.nodeType===Node.ELEMENT_NODE)&&this[G+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Q(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get:function(){return ee.currentNode=this,ee.firstChild()}},lastElementChild:{get:function(){return ee.currentNode=this,ee.lastChild()}},children:{get:function(){var e=[];ee.currentNode=this;for(var t=ee.firstChild();t;)e.push(t),t=ee.nextSibling();return k(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};K?(Q(Element.prototype,re),Q(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&Q(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&Q(HTMLElement.prototype,["innerHTML"])):(J(Element.prototype,t),J(Element.prototype,{previousElementSibling:{get:function(){return ee.currentNode=this,ee.previousSibling()}},nextElementSibling:{get:function(){return ee.currentNode=this,ee.nextSibling()}},innerHTML:{get:function(){return V(this,function(e){return e[G+"childNodes"]})},set:function(e){var t="template"===this.localName?this.content:this;ne(t);var n,r=this.localName||"div";(n=this.namespaceURI&&this.namespaceURI!==te.namespaceURI?te.createElementNS(this.namespaceURI,r):te.createElement(r)).innerHTML=e;for(var o,i="template"===this.localName?n.content:n;o=i[G+"firstChild"];)t[G+"insertBefore"](o,void 0)}}})),Q(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),Q(Element.prototype,oe),Q(HTMLElement.prototype,["focus","blur","contains"]),K&&Q(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&Q(window.HTMLTemplateElement.prototype,["innerHTML"]),K?Q(DocumentFragment.prototype,re):J(DocumentFragment.prototype,t),Q(DocumentFragment.prototype,oe),K?(Q(Document.prototype,re),Q(Document.prototype,["activeElement"])):J(Document.prototype,t),Q(Document.prototype,["importNode","getElementById"]),Q(Document.prototype,oe)}(),function(){$t(O);var e=_t.activeElement;Object.defineProperty(document,"_activeElement",e),A(Window.prototype,Vt,O)}(),u.noPatch||($t(),function(){if(!ve&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[O+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in be)window[D+"addEventListener"](e,function(e){e.__target||(Le(e),Te(e))},!0)}(),window.Event=Re,window.CustomEvent=He,window.MouseEvent=Ie,window.ShadowRoot=Ot}},316:function(e,t,n){"use strict";var r=n(261),o=n.n(r),i=n(262),s=n.n(i),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function l(e){var t=a.has(e),n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&n}function c(e){var t=e.isConnected;if(void 0!==t)return t;for(var n=e;n&&!(n.__CE_isImportDocument||n instanceof Document);)n=n.parentNode||(window.ShadowRoot&&n instanceof ShadowRoot?n.host:void 0);return!(!n||!(n.__CE_isImportDocument||n instanceof Document))}function u(e,t){for(var n=t;n&&n!==e&&!n.nextSibling;)n=n.parentNode;return n&&n!==e?n.nextSibling:null}function d(e,t){return t.firstChild?t.firstChild:u(e,t)}function h(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var s=o.import;if(s instanceof Node&&!n.has(s)){n.add(s);for(var a=s.firstChild;a;a=a.nextSibling)h(a,t,n)}r=u(e,o);continue}if("template"===i){r=u(e,o);continue}var l=o.__CE_shadowRoot;if(l)for(var c=l.firstChild;c;c=c.nextSibling)h(c,t,n)}r=d(e,r)}}function p(e,t,n){e[t]=n}var f={custom:1,failed:2},m=function(){function e(){o()(this,e),this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}return s()(e,[{key:"setDefinition",value:function(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}},{key:"localNameToDefinition",value:function(e){return this._localNameToDefinition.get(e)}},{key:"constructorToDefinition",value:function(e){return this._constructorToDefinition.get(e)}},{key:"addPatch",value:function(e){this._hasPatches=!0,this._patches.push(e)}},{key:"patchTree",value:function(e){var t=this;this._hasPatches&&h(e,function(e){return t.patch(e)})}},{key:"patch",value:function(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},r=n.visitedImports||new Set,o=n.upgrade||function(e){return t.upgradeElement(e)},i=[];if(h(e,function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(r);i.delete(n),t.patchAndUpgradeTree(n,{visitedImports:i,upgrade:o})}})}else i.push(e)},r),this._hasPatches)for(var s=0;s-1&&i.attributeChangedCallback.call(e,t,n,r,o)}}]),e}(),v=function(){function e(t,n){o()(this,e),this._internals=t,this._document=n,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}return s()(e,[{key:"disconnect",value:function(){this._observer&&this._observer.disconnect()}},{key:"_handleMutations",value:function(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var n=0;n0;){for(var s=t.shift(),a=s.localName,l=r.get(s.localName),c=0;c0&&c(this)){r=new Array(i);for(var s=0;s0;)S.Node_removeChild.call(n,n.childNodes[0]);for(var o=t?r.content:r;o.childNodes.length>0;)S.Node_appendChild.call(n,o.childNodes[0])}})}),p(Element.prototype,"setAttribute",function(t,n){if(this.__CE_state!==f.custom)return S.Element_setAttribute.call(this,t,n);var r=S.Element_getAttribute.call(this,t);S.Element_setAttribute.call(this,t,n),n=S.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,r,n,null)}),p(Element.prototype,"setAttributeNS",function(t,n,r){if(this.__CE_state!==f.custom)return S.Element_setAttributeNS.call(this,t,n,r);var o=S.Element_getAttributeNS.call(this,t,n);S.Element_setAttributeNS.call(this,t,n,r),r=S.Element_getAttributeNS.call(this,t,n),e.attributeChangedCallback(this,n,o,r,t)}),p(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==f.custom)return S.Element_removeAttribute.call(this,t);var n=S.Element_getAttribute.call(this,t);S.Element_removeAttribute.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)}),p(Element.prototype,"removeAttributeNS",function(t,n){if(this.__CE_state!==f.custom)return S.Element_removeAttributeNS.call(this,t,n);var r=S.Element_getAttributeNS.call(this,t,n);S.Element_removeAttributeNS.call(this,t,n);var o=S.Element_getAttributeNS.call(this,t,n);r!==o&&e.attributeChangedCallback(this,n,r,o,t)}),S.HTMLElement_insertAdjacentElement?n(HTMLElement.prototype,S.HTMLElement_insertAdjacentElement):S.Element_insertAdjacentElement?n(Element.prototype,S.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),S.HTMLElement_insertAdjacentHTML?r(HTMLElement.prototype,S.HTMLElement_insertAdjacentHTML):S.Element_insertAdjacentHTML?r(Element.prototype,S.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),N(e,Element.prototype,{prepend:S.Element_prepend,append:S.Element_append}),function(e,t,n){function r(t){return function(){for(var n=[],r=[],o=arguments.length,i=new Array(o),s=0;s2&&void 0!==arguments[2]?arguments[2]:"",r="";if(e.cssText||e.rules){var o=e.rules;if(o&&!function(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(m)}(o))for(var i,s=0,a=o.length;s-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function R(e){for(var t=[],n="",r=0;r>=0&&r0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!_.c)&&(_.d?"shadow"===e:"shady"===e)}var B=function(){function e(){o()(this,e)}return s()(e,[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,function(e){r.element(e,t||"",n)})}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,function(e){n.element(e,t||"")})}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(_.d||"shady"===r)o=C(t,n);else{var i=L(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return C(e,function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)})}},{key:"_calcElementScope",value:function(e){return e?Z+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=R(e.selector);if(!T(e))for(var i,s=0,a=o.length;s-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")})}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(re);){var r=t.index,o=M(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,oe),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(oe);return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=U.test(e);i&&(e=e.replace(U,function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")}),e=this._twiddleNthPlus(e));var s,a=re.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace($,"".concat(G," $1"))).replace(V,function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s}),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(X);e.indexOf(G)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(J,function(e,t){return" > ".concat(t)}))),{value:e=e.replace(Q,function(e,t,n){return'[dir="'.concat(n,'"] ').concat(t,", ").concat(t,'[dir="').concat(n,'"]')}),combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,K=/[[.:#*]/,G=":host",z=":root",X="::slotted",$=new RegExp("^(".concat(X,")")),Y=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,J=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Q=/(.*):dir\((?:(ltr|rtl))\)/,Z=".",ee=":",te="class",ne="should_not_match",re=/:(?:matches|any|-(?:webkit|moz)-any)/,oe="",ie=new B,se=function(){function e(t,n,r,i,s,a){o()(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=i||"",this.cssBuild=a||"",this.typeExtension=s||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return s()(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),s()(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();se.prototype._getStyleRules=se.prototype._getStyleRules;var ae=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},le=navigator.userAgent.match("Trident");var ce=new(function(){function e(){o()(this,e)}return s()(e,[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;k(e,function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)},function(e){r.push(e)}),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=g.g,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(g.b,"").replace(g.g,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=g.h.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=M(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i *"===l||"html"===l,u=0===l.indexOf(":host")&&!c;if("shady"===n&&(u=!(c=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),c||u){var d=a;u&&(t.transformedSelector||(t.transformedSelector=ie._transformRuleCss(t,ie._transformComplexSelector,ie._calcElementScope(i),a)),d=t.transformedSelector||a),r({selector:d,isHost:u,isRoot:c})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return k(t,function(t){r.whenHostOrRootRule(e,t,n,function(n){var s=e._element||e;ae.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))})},null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=L(e),i=o.is,s=o.typeExtension,a=ie._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,c=new RegExp(g.c+l+g.d),u=se.get(e),d=u.styleRules,h=u.cssBuild,p=this._elementKeyframeTransforms(e,d,n);return ie.elementStyles(e,d,function(e){r.applyProperties(e,t),_.d||T(e)||!e.cssText||(r.applyKeyframeTransforms(e,p),r._scopeSelector(e,c,a,n))},h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!_.d&&r)for(var i=0,s=r[i];i-1&&(r.textContent=o),A(r,null,i.placeholder)):o&&(r=D(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=w(e),r=this;e.textContent=C(n,function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=u(n),e.cssText=r.valueForProperties(n,t))})}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}]),e}()),ue={};function de(e){return ue[e]||null}function he(e){var t,n,r,o;ue[e]||(ue[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=O?O.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),O=n,n))}var pe=window.customElements;if(pe&&!_.d&&!_.b){var fe=pe.define;pe.define=function(e,t,n){he(e),fe.call(pe,e,t,n)}}var me=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o()(this,e),this.cache={},this.typeMax=t}return s()(e,[{key:"_validate",value:function(e,t,n){for(var r=0;rthis.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}]),e}(),ve=function(){};var ye=new RegExp("".concat(ie.SCOPE_NAME,"\\s*([^\\s]*)"));function _e(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(ye);return t?t[1]:""}function ge(e){var t=P(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?L(n).is:""}function Se(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(ie.SCOPE_NAME,")")),n=0;n+~])"},353:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0;t--){var n=e[t],r=w(n);r&&T(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(T(t)&&e[t])return e[t];var n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var a=i.value;if(w(a)==t)return a}}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return null},e},D="__shady_native_",O="__shady_",A=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(r&&r.indexOf(o)>=0)){i.configurable=!0;var s=n+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},M=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,function(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}),x=[];function P(e){E||(E=!0,N(L)),x.push(e)}function L(){E=!1;for(var e=Boolean(x.length);x.length;)x.shift()();return e}L.list=x;var R=function(){function e(){o()(this,e),this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}return s()(e,[{key:"schedule",value:function(){var e=this;this._scheduled||(this._scheduled=!0,N(function(){e.flush()}))}},{key:"flush",value:function(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}},{key:"takeRecords",value:function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}]),e}();var H=/[&\u00A0"]/g,I=/[&\u00A0<>]/g;function F(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function j(e){return e.replace(H,F)}function B(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&q[t.localName]?l:function(e){return e.replace(I,F)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function V(e,t){"template"===e.localName&&(e=e.content);for(var n,r="",o=t?t(e):e.childNodes,i=0,s=o.length;i1&&void 0!==arguments[1]?arguments[1]:[],n=0;n-1)return n}function Ne(e){var t=function(t,n){var r=new e(t,n);return r.__composed=n&&Boolean(n.composed),r};return t.__proto__=e,t.prototype=e.prototype,t}var be={focus:!0,blur:!0};function Ce(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function we(e,t,n){var r=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n];if(r)for(var o,i=0;o=r[i];i++){if(Ce(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Te(e){var t,n,r=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=r.length-1;o>=0;o--)if(we(e,t=r[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var i=0;i-1)return}else t[me]=[];var c=function(o){var s;if(i&&this[O+"removeEventListener"](e,t,n),o.__target||Le(o),a!==this&&(s=Object.getOwnPropertyDescriptor(o,"currentTarget"),Object.defineProperty(o,"currentTarget",{get:function(){return a},configurable:!0})),o.__previousCurrentTarget=o.currentTarget,(!p(a)||-1!=o.composedPath().indexOf(a))&&(o.composed||o.composedPath().indexOf(a)>-1)){if(Ce(o)&&o.target===o.relatedTarget)return void(o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation());if(!(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a||a instanceof Window))return;var l="function"===r?t.call(a,o):t.handleEvent&&t.handleEvent(o);return a!==this&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget),l}};t[me].push({node:a,type:e,capture:o,once:i,passive:s,wrapperFn:c}),be[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(c)):this[D+"addEventListener"](e,c,n)}}}function Ae(e,t,n){if(t){if(_e[e])return this[D+"removeEventListener"](e,t,n);var r,o,i;n&&"object"===fe()(n)?(r=Boolean(n.capture),o=Boolean(n.once),i=Boolean(n.passive)):(r=Boolean(n),o=!1,i=!1);var s=n&&n.__shadyTarget||this,a=void 0,l=function(e){var t=null;try{t=e[me]}catch(e){}return t}(t);if(l){var c=De(l,s,e,r,o,i);c>-1&&(a=l.splice(c,1)[0].wrapperFn,l.length||(t[me]=void 0))}if(this[D+"removeEventListener"](e,a||t,n),a&&be[e]&&this.__handlers&&this.__handlers[e]){var u=this.__handlers[e][r?"capture":"bubble"],d=u.indexOf(a);d>-1&&u.splice(d,1)}}}var Me=M({get composed(){return void 0===this.__composed&&(ve?this.__composed="focusin"===this.type||"focusout"===this.type||ve(this):!1!==this.isTrusted&&(this.__composed=ye[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Se(this.__target,this.composed)),this.__composedPath},get target(){return Ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Se(this.__relatedTarget,!0)),Ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),xe="__shady_patchedProto",Pe="__shady_sourceProto";function Le(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,u.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,xe)){var n=Object.create(t);n[Pe]=t,A(n,Me),t[xe]=n}e.__proto__=t[xe]}else A(e,Me)}var Re=Ne(Event),He=Ne(CustomEvent),Ie=Ne(MouseEvent);var Fe=Object.getOwnPropertyNames(Document.prototype).filter(function(e){return"on"===e.substring(0,2)}),je=n(291),Be=n.n(je);function Ue(e,t,n){return{index:e,removed:t,addedCount:n}}var qe=0,We=1,Ve=2,Ke=3;function Ge(e,t,n,r,o,i){var s,a=0,l=0,c=Math.min(n-t,i-o);if(0==t&&0==o&&(a=function(e,t,n){for(var r=0;r0||n>0;)if(0!=t)if(0!=n){var i=e[t-1][n-1],s=e[t-1][n],a=e[t][n-1],l=void 0;(l=s0||this.nodeType===Node.ELEMENT_NODE)&&this[O+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==nt&&e.ownerDocument!==nt)return this[D+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=c(t),r=n&&n.parentNode;if(void 0!==r&&r!==this||void 0===r&&t[D+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var o,i=[],s=xt(this),a=s?s.host.localName:et(this),u=e[O+"parentNode"];u&&(o=et(e),u[O+"removeChild"](e,Boolean(s)||!xt(e)));var d=!0,m=!(rt&&void 0!==e.__noInsertionPoint||function e(t,n){var r=Je();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[O+"childNodes"],s=0;o&&s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==nt)return this[D+"removeChild"](e);if(e[O+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var r=xt(e),o=r&&r._removeContainedSlots(e),i=c(this);if(h(this)&&(!function(e,t){var n=l(e),r=l(t);e===r.firstChild&&(r.firstChild=n.nextSibling),e===r.lastChild&&(r.lastChild=n.previousSibling);var o=n.previousSibling,i=n.nextSibling;o&&(l(o).nextSibling=i),i&&(l(i).previousSibling=o),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==r.childNodes&&(r.childNodes=null)}(e,this),f(this)&&(i.root._asyncRender(),t=!0)),Je()&&!n&&r){var s=et(e);tt(e,function(e){Qe(e,s)})}if(at(e),r){var a=this&&"slot"===this.localName;a&&(t=!0),(o||a)&&r._asyncRender()}if(!t){var u=p(this)?this.host:this;(!i.root&&"slot"!==e.localName||u===e[D+"parentNode"])&&u[D+"removeChild"](e)}return lt(this,null,e),e},replaceChild:function(e,t){return this[O+"insertBefore"](e,t),this[O+"removeChild"](t),e},cloneNode:function(e){if("template"==this.localName)return this[D+"cloneNode"](e);var t=this[D+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var n,r=this[O+"childNodes"],o=0;o0?e:void 0}}},{key:"_render",value:function(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}},{key:"_flushInitial",value:function(){!this._hasRendered&&this._renderPending&&this._render()}},{key:"_renderSelf",value:function(){var e=Tt;if(Tt=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!u.preferPerformance&&!this._hasRendered)for(var t=this.host[O+"childNodes"],n=0,r=t.length;ni.assignedNodes.length&&(i.dirty=!0)}i.dirty&&(i.dirty=!1,this._fireSlotChange(o))}}},{key:"_distributeNodeToSlot",value:function(e,t){var n=l(e),r=n._prevAssignedSlot;n._prevAssignedSlot=null;var o=t;if(!o){var i=e[O+"slot"]||"__catchall",s=this._slotMap[i];o=s&&s[0]}o?(l(o).assignedNodes.push(e),n.assignedSlot=o):n.assignedSlot=void 0;r!==n.assignedSlot&&n.assignedSlot&&(l(n.assignedSlot).dirty=!0)}},{key:"_clearSlotAssignedNodes",value:function(e){var t=c(e),n=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=n,n)for(var r=0;r=0){this._slotList.splice(a,1);var l=c(s[O+"parentNode"]);l&&l.__childSlotCount&&l.__childSlotCount--}i--,this._removeFlattenedNodes(s),t=!0}}return t}}},{key:"_updateSlotName",value:function(e){if(this._slotList){this._validateSlots();var t=e.__slotName,n=this._nameForSlot(e);if(n!==t){var r=this._slotMap[t],o=r.indexOf(e);o>=0&&r.splice(o,1);var i=this._slotMap[n]||(this._slotMap[n]=[]);i.push(e),i.length>1&&(this._slotMap[n]=this._sortSlots(i))}}}},{key:"_removeFlattenedNodes",value:function(e){var t=c(e),n=t.flattenedNodes;if(n)for(var r=0;r0||this.nodeType===Node.ELEMENT_NODE)&&this[G+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Q(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get:function(){return ee.currentNode=this,ee.firstChild()}},lastElementChild:{get:function(){return ee.currentNode=this,ee.lastChild()}},children:{get:function(){var e=[];ee.currentNode=this;for(var t=ee.firstChild();t;)e.push(t),t=ee.nextSibling();return k(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};K?(Q(Element.prototype,re),Q(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&Q(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&Q(HTMLElement.prototype,["innerHTML"])):(J(Element.prototype,t),J(Element.prototype,{previousElementSibling:{get:function(){return ee.currentNode=this,ee.previousSibling()}},nextElementSibling:{get:function(){return ee.currentNode=this,ee.nextSibling()}},innerHTML:{get:function(){return V(this,function(e){return e[G+"childNodes"]})},set:function(e){var t="template"===this.localName?this.content:this;ne(t);var n,r=this.localName||"div";(n=this.namespaceURI&&this.namespaceURI!==te.namespaceURI?te.createElementNS(this.namespaceURI,r):te.createElement(r)).innerHTML=e;for(var o,i="template"===this.localName?n.content:n;o=i[G+"firstChild"];)t[G+"insertBefore"](o,void 0)}}})),Q(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),Q(Element.prototype,oe),Q(HTMLElement.prototype,["focus","blur","contains"]),K&&Q(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&Q(window.HTMLTemplateElement.prototype,["innerHTML"]),K?Q(DocumentFragment.prototype,re):J(DocumentFragment.prototype,t),Q(DocumentFragment.prototype,oe),K?(Q(Document.prototype,re),Q(Document.prototype,["activeElement"])):J(Document.prototype,t),Q(Document.prototype,["importNode","getElementById"]),Q(Document.prototype,oe)}(),function(){$t(O);var e=_t.activeElement;Object.defineProperty(document,"_activeElement",e),A(Window.prototype,Vt,O)}(),u.noPatch||($t(),function(){if(!ve&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[O+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in be)window[D+"addEventListener"](e,function(e){e.__target||(Le(e),Te(e))},!0)}(),window.Event=Re,window.CustomEvent=He,window.MouseEvent=Ie,window.ShadowRoot=Ot}},412:function(e,t,n){"use strict";var r=n(261),o=n.n(r),i=n(262),s=n.n(i),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function l(e){var t=a.has(e),n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&n}function c(e){var t=e.isConnected;if(void 0!==t)return t;for(var n=e;n&&!(n.__CE_isImportDocument||n instanceof Document);)n=n.parentNode||(window.ShadowRoot&&n instanceof ShadowRoot?n.host:void 0);return!(!n||!(n.__CE_isImportDocument||n instanceof Document))}function u(e,t){for(var n=t;n&&n!==e&&!n.nextSibling;)n=n.parentNode;return n&&n!==e?n.nextSibling:null}function d(e,t){return t.firstChild?t.firstChild:u(e,t)}function h(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var s=o.import;if(s instanceof Node&&!n.has(s)){n.add(s);for(var a=s.firstChild;a;a=a.nextSibling)h(a,t,n)}r=u(e,o);continue}if("template"===i){r=u(e,o);continue}var l=o.__CE_shadowRoot;if(l)for(var c=l.firstChild;c;c=c.nextSibling)h(c,t,n)}r=d(e,r)}}function p(e,t,n){e[t]=n}var f={custom:1,failed:2},m=function(){function e(){o()(this,e),this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}return s()(e,[{key:"setDefinition",value:function(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}},{key:"localNameToDefinition",value:function(e){return this._localNameToDefinition.get(e)}},{key:"constructorToDefinition",value:function(e){return this._constructorToDefinition.get(e)}},{key:"addPatch",value:function(e){this._hasPatches=!0,this._patches.push(e)}},{key:"patchTree",value:function(e){var t=this;this._hasPatches&&h(e,function(e){return t.patch(e)})}},{key:"patch",value:function(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},r=n.visitedImports||new Set,o=n.upgrade||function(e){return t.upgradeElement(e)},i=[];if(h(e,function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(r);i.delete(n),t.patchAndUpgradeTree(n,{visitedImports:i,upgrade:o})}})}else i.push(e)},r),this._hasPatches)for(var s=0;s-1&&i.attributeChangedCallback.call(e,t,n,r,o)}}]),e}(),v=function(){function e(t,n){o()(this,e),this._internals=t,this._document=n,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}return s()(e,[{key:"disconnect",value:function(){this._observer&&this._observer.disconnect()}},{key:"_handleMutations",value:function(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var n=0;n0;){for(var s=t.shift(),a=s.localName,l=r.get(s.localName),c=0;c0&&c(this)){r=new Array(i);for(var s=0;s0;)S.Node_removeChild.call(n,n.childNodes[0]);for(var o=t?r.content:r;o.childNodes.length>0;)S.Node_appendChild.call(n,o.childNodes[0])}})}),p(Element.prototype,"setAttribute",function(t,n){if(this.__CE_state!==f.custom)return S.Element_setAttribute.call(this,t,n);var r=S.Element_getAttribute.call(this,t);S.Element_setAttribute.call(this,t,n),n=S.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,r,n,null)}),p(Element.prototype,"setAttributeNS",function(t,n,r){if(this.__CE_state!==f.custom)return S.Element_setAttributeNS.call(this,t,n,r);var o=S.Element_getAttributeNS.call(this,t,n);S.Element_setAttributeNS.call(this,t,n,r),r=S.Element_getAttributeNS.call(this,t,n),e.attributeChangedCallback(this,n,o,r,t)}),p(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==f.custom)return S.Element_removeAttribute.call(this,t);var n=S.Element_getAttribute.call(this,t);S.Element_removeAttribute.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)}),p(Element.prototype,"removeAttributeNS",function(t,n){if(this.__CE_state!==f.custom)return S.Element_removeAttributeNS.call(this,t,n);var r=S.Element_getAttributeNS.call(this,t,n);S.Element_removeAttributeNS.call(this,t,n);var o=S.Element_getAttributeNS.call(this,t,n);r!==o&&e.attributeChangedCallback(this,n,r,o,t)}),S.HTMLElement_insertAdjacentElement?n(HTMLElement.prototype,S.HTMLElement_insertAdjacentElement):S.Element_insertAdjacentElement?n(Element.prototype,S.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),S.HTMLElement_insertAdjacentHTML?r(HTMLElement.prototype,S.HTMLElement_insertAdjacentHTML):S.Element_insertAdjacentHTML?r(Element.prototype,S.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),N(e,Element.prototype,{prepend:S.Element_prepend,append:S.Element_append}),function(e,t,n){function r(t){return function(){for(var n=[],r=[],o=arguments.length,i=new Array(o),s=0;s2&&void 0!==arguments[2]?arguments[2]:"",r="";if(e.cssText||e.rules){var o=e.rules;if(o&&!function(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(m)}(o))for(var i,s=0,a=o.length;s-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function R(e){for(var t=[],n="",r=0;r>=0&&r0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!_.c)&&(_.d?"shadow"===e:"shady"===e)}var B=function(){function e(){o()(this,e)}return s()(e,[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,function(e){r.element(e,t||"",n)})}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,function(e){n.element(e,t||"")})}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(_.d||"shady"===r)o=C(t,n);else{var i=L(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return C(e,function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)})}},{key:"_calcElementScope",value:function(e){return e?Z+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=R(e.selector);if(!T(e))for(var i,s=0,a=o.length;s-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")})}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(re);){var r=t.index,o=M(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,oe),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(oe);return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=U.test(e);i&&(e=e.replace(U,function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")}),e=this._twiddleNthPlus(e));var s,a=re.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace($,"".concat(G," $1"))).replace(V,function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s}),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(X);e.indexOf(G)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(J,function(e,t){return" > ".concat(t)}))),{value:e=e.replace(Q,function(e,t,n){return'[dir="'.concat(n,'"] ').concat(t,", ").concat(t,'[dir="').concat(n,'"]')}),combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,K=/[[.:#*]/,G=":host",z=":root",X="::slotted",$=new RegExp("^(".concat(X,")")),Y=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,J=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Q=/(.*):dir\((?:(ltr|rtl))\)/,Z=".",ee=":",te="class",ne="should_not_match",re=/:(?:matches|any|-(?:webkit|moz)-any)/,oe="",ie=new B,se=function(){function e(t,n,r,i,s,a){o()(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=i||"",this.cssBuild=a||"",this.typeExtension=s||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return s()(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),s()(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();se.prototype._getStyleRules=se.prototype._getStyleRules;var ae=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},le=navigator.userAgent.match("Trident");var ce=new(function(){function e(){o()(this,e)}return s()(e,[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;k(e,function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)},function(e){r.push(e)}),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=g.g,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(g.b,"").replace(g.g,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=g.h.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=M(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i *"===l||"html"===l,u=0===l.indexOf(":host")&&!c;if("shady"===n&&(u=!(c=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),c||u){var d=a;u&&(t.transformedSelector||(t.transformedSelector=ie._transformRuleCss(t,ie._transformComplexSelector,ie._calcElementScope(i),a)),d=t.transformedSelector||a),r({selector:d,isHost:u,isRoot:c})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return k(t,function(t){r.whenHostOrRootRule(e,t,n,function(n){var s=e._element||e;ae.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))})},null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=L(e),i=o.is,s=o.typeExtension,a=ie._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,c=new RegExp(g.c+l+g.d),u=se.get(e),d=u.styleRules,h=u.cssBuild,p=this._elementKeyframeTransforms(e,d,n);return ie.elementStyles(e,d,function(e){r.applyProperties(e,t),_.d||T(e)||!e.cssText||(r.applyKeyframeTransforms(e,p),r._scopeSelector(e,c,a,n))},h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!_.d&&r)for(var i=0,s=r[i];i-1&&(r.textContent=o),A(r,null,i.placeholder)):o&&(r=D(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=w(e),r=this;e.textContent=C(n,function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=u(n),e.cssText=r.valueForProperties(n,t))})}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}]),e}()),ue={};function de(e){return ue[e]||null}function he(e){var t,n,r,o;ue[e]||(ue[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=O?O.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),O=n,n))}var pe=window.customElements;if(pe&&!_.d&&!_.b){var fe=pe.define;pe.define=function(e,t,n){he(e),fe.call(pe,e,t,n)}}var me=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o()(this,e),this.cache={},this.typeMax=t}return s()(e,[{key:"_validate",value:function(e,t,n){for(var r=0;rthis.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}]),e}(),ve=function(){};var ye=new RegExp("".concat(ie.SCOPE_NAME,"\\s*([^\\s]*)"));function _e(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(ye);return t?t[1]:""}function ge(e){var t=P(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?L(n).is:""}function Se(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(ie.SCOPE_NAME,")")),n=0;n2&&void 0!==arguments[2]?arguments[2]:"",r="";if(t.cssText||t.rules){var o=t.rules;if(o&&!function(t){var n=t[0];return Boolean(n)&&Boolean(n.selector)&&0===n.selector.indexOf(p)}(o))for(var i,u=0,c=o.length;u-1?e=n:(r=n,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,r=t.extends),{is:e,typeExtension:r}}function _(t){for(var n=[],e=t.querySelectorAll("style"),o=0;o=0&&r0&&void 0!==arguments[0]?arguments[0]:"";return!(""===t||!r.c)&&(r.d?"shadow"===t:"shady"===t)}},377:function(t,n,e){"use strict";e.d(n,"g",function(){return r}),e.d(n,"f",function(){return o}),e.d(n,"h",function(){return i}),e.d(n,"a",function(){return u}),e.d(n,"e",function(){return s}),e.d(n,"b",function(){return a}),e.d(n,"c",function(){return c}),e.d(n,"d",function(){return l});var r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=/(--[\w-]+)\s*([:,;)]|$)/gi,u=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,a=/\{[^}]*\}/g,c="(?:^|[^.#[:])",l="($|[.:[\\s>+~])"},378:function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"b",function(){return i}),e.d(n,"a",function(){return u});var r=e(377);function o(t,n){for(var e in n)null===e?t.style.removeProperty(e):t.style.setProperty(e,n[e])}function i(t,n){var e=window.getComputedStyle(t).getPropertyValue(n);return e?e.trim():""}function u(t){var n=r.f.test(t)||r.g.test(t);return r.f.lastIndex=0,r.g.lastIndex=0,n}},419:function(t,n,e){"use strict";n.a={}},442:function(t,n,e){"use strict";var r,o=e(261),i=e.n(o),u=e(262),s=e.n(u),a=null,c=window.HTMLImports&&window.HTMLImports.whenReady||null;function l(t){requestAnimationFrame(function(){c?c(t):(a||(a=new Promise(function(t){r=t}),"complete"===document.readyState?r():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&r()})),a.then(function(){t&&t()}))})}e.d(n,"a",function(){return y});var f="__shadyCSSCachedStyle",d=null,p=null,y=function(){function t(){i()(this,t),this.customStyles=[],this.enqueued=!1,l(function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}return s()(t,[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&p&&(this.enqueued=!0,l(p))}},{key:"addCustomStyle",value:function(t){t.__seenByShadyCSS||(t.__seenByShadyCSS=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(t){return t[f]?t[f]:t.getStyle?t.getStyle():t}},{key:"processStyles",value:function(){for(var t=this.customStyles,n=0;n+~])"},296:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0;t--){var n=e[t],r=w(n);r&&T(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(T(t)&&e[t])return e[t];var n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var a=i.value;if(w(a)==t)return a}}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return null},e},D="__shady_native_",O="__shady_",A=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(r&&r.indexOf(o)>=0)){i.configurable=!0;var s=n+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},M=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,function(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}),x=[];function P(e){E||(E=!0,N(L)),x.push(e)}function L(){E=!1;for(var e=Boolean(x.length);x.length;)x.shift()();return e}L.list=x;var R=function(){function e(){o()(this,e),this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}return s()(e,[{key:"schedule",value:function(){var e=this;this._scheduled||(this._scheduled=!0,N(function(){e.flush()}))}},{key:"flush",value:function(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}},{key:"takeRecords",value:function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}]),e}();var H=/[&\u00A0"]/g,I=/[&\u00A0<>]/g;function F(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function j(e){return e.replace(H,F)}function B(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&q[t.localName]?l:function(e){return e.replace(I,F)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function V(e,t){"template"===e.localName&&(e=e.content);for(var n,r="",o=t?t(e):e.childNodes,i=0,s=o.length;i1&&void 0!==arguments[1]?arguments[1]:[],n=0;n-1)return n}function Ne(e){var t=function(t,n){var r=new e(t,n);return r.__composed=n&&Boolean(n.composed),r};return t.__proto__=e,t.prototype=e.prototype,t}var be={focus:!0,blur:!0};function Ce(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function we(e,t,n){var r=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n];if(r)for(var o,i=0;o=r[i];i++){if(Ce(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Te(e){var t,n,r=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=r.length-1;o>=0;o--)if(we(e,t=r[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var i=0;i-1)return}else t[me]=[];var c=function(o){var s;if(i&&this[O+"removeEventListener"](e,t,n),o.__target||Le(o),a!==this&&(s=Object.getOwnPropertyDescriptor(o,"currentTarget"),Object.defineProperty(o,"currentTarget",{get:function(){return a},configurable:!0})),o.__previousCurrentTarget=o.currentTarget,(!p(a)||-1!=o.composedPath().indexOf(a))&&(o.composed||o.composedPath().indexOf(a)>-1)){if(Ce(o)&&o.target===o.relatedTarget)return void(o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation());if(!(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a||a instanceof Window))return;var l="function"===r?t.call(a,o):t.handleEvent&&t.handleEvent(o);return a!==this&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget),l}};t[me].push({node:a,type:e,capture:o,once:i,passive:s,wrapperFn:c}),be[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(c)):this[D+"addEventListener"](e,c,n)}}}function Ae(e,t,n){if(t){if(_e[e])return this[D+"removeEventListener"](e,t,n);var r,o,i;n&&"object"===fe()(n)?(r=Boolean(n.capture),o=Boolean(n.once),i=Boolean(n.passive)):(r=Boolean(n),o=!1,i=!1);var s=n&&n.__shadyTarget||this,a=void 0,l=function(e){var t=null;try{t=e[me]}catch(e){}return t}(t);if(l){var c=De(l,s,e,r,o,i);c>-1&&(a=l.splice(c,1)[0].wrapperFn,l.length||(t[me]=void 0))}if(this[D+"removeEventListener"](e,a||t,n),a&&be[e]&&this.__handlers&&this.__handlers[e]){var u=this.__handlers[e][r?"capture":"bubble"],d=u.indexOf(a);d>-1&&u.splice(d,1)}}}var Me=M({get composed(){return void 0===this.__composed&&(ve?this.__composed="focusin"===this.type||"focusout"===this.type||ve(this):!1!==this.isTrusted&&(this.__composed=ye[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Se(this.__target,this.composed)),this.__composedPath},get target(){return Ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Se(this.__relatedTarget,!0)),Ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),xe="__shady_patchedProto",Pe="__shady_sourceProto";function Le(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,u.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,xe)){var n=Object.create(t);n[Pe]=t,A(n,Me),t[xe]=n}e.__proto__=t[xe]}else A(e,Me)}var Re=Ne(Event),He=Ne(CustomEvent),Ie=Ne(MouseEvent);var Fe=Object.getOwnPropertyNames(Document.prototype).filter(function(e){return"on"===e.substring(0,2)}),je=n(276),Be=n.n(je);function Ue(e,t,n){return{index:e,removed:t,addedCount:n}}var qe=0,We=1,Ve=2,Ke=3;function Ge(e,t,n,r,o,i){var s,a=0,l=0,c=Math.min(n-t,i-o);if(0==t&&0==o&&(a=function(e,t,n){for(var r=0;r0||n>0;)if(0!=t)if(0!=n){var i=e[t-1][n-1],s=e[t-1][n],a=e[t][n-1],l=void 0;(l=s0||this.nodeType===Node.ELEMENT_NODE)&&this[O+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==nt&&e.ownerDocument!==nt)return this[D+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=c(t),r=n&&n.parentNode;if(void 0!==r&&r!==this||void 0===r&&t[D+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var o,i=[],s=xt(this),a=s?s.host.localName:et(this),u=e[O+"parentNode"];u&&(o=et(e),u[O+"removeChild"](e,Boolean(s)||!xt(e)));var d=!0,m=!(rt&&void 0!==e.__noInsertionPoint||function e(t,n){var r=Je();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[O+"childNodes"],s=0;o&&s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==nt)return this[D+"removeChild"](e);if(e[O+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var r=xt(e),o=r&&r._removeContainedSlots(e),i=c(this);if(h(this)&&(!function(e,t){var n=l(e),r=l(t);e===r.firstChild&&(r.firstChild=n.nextSibling),e===r.lastChild&&(r.lastChild=n.previousSibling);var o=n.previousSibling,i=n.nextSibling;o&&(l(o).nextSibling=i),i&&(l(i).previousSibling=o),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==r.childNodes&&(r.childNodes=null)}(e,this),f(this)&&(i.root._asyncRender(),t=!0)),Je()&&!n&&r){var s=et(e);tt(e,function(e){Qe(e,s)})}if(at(e),r){var a=this&&"slot"===this.localName;a&&(t=!0),(o||a)&&r._asyncRender()}if(!t){var u=p(this)?this.host:this;(!i.root&&"slot"!==e.localName||u===e[D+"parentNode"])&&u[D+"removeChild"](e)}return lt(this,null,e),e},replaceChild:function(e,t){return this[O+"insertBefore"](e,t),this[O+"removeChild"](t),e},cloneNode:function(e){if("template"==this.localName)return this[D+"cloneNode"](e);var t=this[D+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var n,r=this[O+"childNodes"],o=0;o0?e:void 0}}},{key:"_render",value:function(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}},{key:"_flushInitial",value:function(){!this._hasRendered&&this._renderPending&&this._render()}},{key:"_renderSelf",value:function(){var e=Tt;if(Tt=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!u.preferPerformance&&!this._hasRendered)for(var t=this.host[O+"childNodes"],n=0,r=t.length;ni.assignedNodes.length&&(i.dirty=!0)}i.dirty&&(i.dirty=!1,this._fireSlotChange(o))}}},{key:"_distributeNodeToSlot",value:function(e,t){var n=l(e),r=n._prevAssignedSlot;n._prevAssignedSlot=null;var o=t;if(!o){var i=e[O+"slot"]||"__catchall",s=this._slotMap[i];o=s&&s[0]}o?(l(o).assignedNodes.push(e),n.assignedSlot=o):n.assignedSlot=void 0;r!==n.assignedSlot&&n.assignedSlot&&(l(n.assignedSlot).dirty=!0)}},{key:"_clearSlotAssignedNodes",value:function(e){var t=c(e),n=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=n,n)for(var r=0;r=0){this._slotList.splice(a,1);var l=c(s[O+"parentNode"]);l&&l.__childSlotCount&&l.__childSlotCount--}i--,this._removeFlattenedNodes(s),t=!0}}return t}}},{key:"_updateSlotName",value:function(e){if(this._slotList){this._validateSlots();var t=e.__slotName,n=this._nameForSlot(e);if(n!==t){var r=this._slotMap[t],o=r.indexOf(e);o>=0&&r.splice(o,1);var i=this._slotMap[n]||(this._slotMap[n]=[]);i.push(e),i.length>1&&(this._slotMap[n]=this._sortSlots(i))}}}},{key:"_removeFlattenedNodes",value:function(e){var t=c(e),n=t.flattenedNodes;if(n)for(var r=0;r0||this.nodeType===Node.ELEMENT_NODE)&&this[G+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Q(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get:function(){return ee.currentNode=this,ee.firstChild()}},lastElementChild:{get:function(){return ee.currentNode=this,ee.lastChild()}},children:{get:function(){var e=[];ee.currentNode=this;for(var t=ee.firstChild();t;)e.push(t),t=ee.nextSibling();return k(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};K?(Q(Element.prototype,re),Q(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&Q(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&Q(HTMLElement.prototype,["innerHTML"])):(J(Element.prototype,t),J(Element.prototype,{previousElementSibling:{get:function(){return ee.currentNode=this,ee.previousSibling()}},nextElementSibling:{get:function(){return ee.currentNode=this,ee.nextSibling()}},innerHTML:{get:function(){return V(this,function(e){return e[G+"childNodes"]})},set:function(e){var t="template"===this.localName?this.content:this;ne(t);var n,r=this.localName||"div";(n=this.namespaceURI&&this.namespaceURI!==te.namespaceURI?te.createElementNS(this.namespaceURI,r):te.createElement(r)).innerHTML=e;for(var o,i="template"===this.localName?n.content:n;o=i[G+"firstChild"];)t[G+"insertBefore"](o,void 0)}}})),Q(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),Q(Element.prototype,oe),Q(HTMLElement.prototype,["focus","blur","contains"]),K&&Q(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&Q(window.HTMLTemplateElement.prototype,["innerHTML"]),K?Q(DocumentFragment.prototype,re):J(DocumentFragment.prototype,t),Q(DocumentFragment.prototype,oe),K?(Q(Document.prototype,re),Q(Document.prototype,["activeElement"])):J(Document.prototype,t),Q(Document.prototype,["importNode","getElementById"]),Q(Document.prototype,oe)}(),function(){$t(O);var e=_t.activeElement;Object.defineProperty(document,"_activeElement",e),A(Window.prototype,Vt,O)}(),u.noPatch||($t(),function(){if(!ve&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[O+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in be)window[D+"addEventListener"](e,function(e){e.__target||(Le(e),Te(e))},!0)}(),window.Event=Re,window.CustomEvent=He,window.MouseEvent=Ie,window.ShadowRoot=Ot}},318:function(e,t,n){"use strict";var r=n(261),o=n.n(r),i=n(262),s=n.n(i),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function l(e){var t=a.has(e),n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&n}function c(e){var t=e.isConnected;if(void 0!==t)return t;for(var n=e;n&&!(n.__CE_isImportDocument||n instanceof Document);)n=n.parentNode||(window.ShadowRoot&&n instanceof ShadowRoot?n.host:void 0);return!(!n||!(n.__CE_isImportDocument||n instanceof Document))}function u(e,t){for(var n=t;n&&n!==e&&!n.nextSibling;)n=n.parentNode;return n&&n!==e?n.nextSibling:null}function d(e,t){return t.firstChild?t.firstChild:u(e,t)}function h(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var s=o.import;if(s instanceof Node&&!n.has(s)){n.add(s);for(var a=s.firstChild;a;a=a.nextSibling)h(a,t,n)}r=u(e,o);continue}if("template"===i){r=u(e,o);continue}var l=o.__CE_shadowRoot;if(l)for(var c=l.firstChild;c;c=c.nextSibling)h(c,t,n)}r=d(e,r)}}function p(e,t,n){e[t]=n}var f={custom:1,failed:2},m=function(){function e(){o()(this,e),this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}return s()(e,[{key:"setDefinition",value:function(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}},{key:"localNameToDefinition",value:function(e){return this._localNameToDefinition.get(e)}},{key:"constructorToDefinition",value:function(e){return this._constructorToDefinition.get(e)}},{key:"addPatch",value:function(e){this._hasPatches=!0,this._patches.push(e)}},{key:"patchTree",value:function(e){var t=this;this._hasPatches&&h(e,function(e){return t.patch(e)})}},{key:"patch",value:function(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},r=n.visitedImports||new Set,o=n.upgrade||function(e){return t.upgradeElement(e)},i=[];if(h(e,function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(r);i.delete(n),t.patchAndUpgradeTree(n,{visitedImports:i,upgrade:o})}})}else i.push(e)},r),this._hasPatches)for(var s=0;s-1&&i.attributeChangedCallback.call(e,t,n,r,o)}}]),e}(),v=function(){function e(t,n){o()(this,e),this._internals=t,this._document=n,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}return s()(e,[{key:"disconnect",value:function(){this._observer&&this._observer.disconnect()}},{key:"_handleMutations",value:function(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var n=0;n0;){for(var s=t.shift(),a=s.localName,l=r.get(s.localName),c=0;c0&&c(this)){r=new Array(i);for(var s=0;s0;)S.Node_removeChild.call(n,n.childNodes[0]);for(var o=t?r.content:r;o.childNodes.length>0;)S.Node_appendChild.call(n,o.childNodes[0])}})}),p(Element.prototype,"setAttribute",function(t,n){if(this.__CE_state!==f.custom)return S.Element_setAttribute.call(this,t,n);var r=S.Element_getAttribute.call(this,t);S.Element_setAttribute.call(this,t,n),n=S.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,r,n,null)}),p(Element.prototype,"setAttributeNS",function(t,n,r){if(this.__CE_state!==f.custom)return S.Element_setAttributeNS.call(this,t,n,r);var o=S.Element_getAttributeNS.call(this,t,n);S.Element_setAttributeNS.call(this,t,n,r),r=S.Element_getAttributeNS.call(this,t,n),e.attributeChangedCallback(this,n,o,r,t)}),p(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==f.custom)return S.Element_removeAttribute.call(this,t);var n=S.Element_getAttribute.call(this,t);S.Element_removeAttribute.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)}),p(Element.prototype,"removeAttributeNS",function(t,n){if(this.__CE_state!==f.custom)return S.Element_removeAttributeNS.call(this,t,n);var r=S.Element_getAttributeNS.call(this,t,n);S.Element_removeAttributeNS.call(this,t,n);var o=S.Element_getAttributeNS.call(this,t,n);r!==o&&e.attributeChangedCallback(this,n,r,o,t)}),S.HTMLElement_insertAdjacentElement?n(HTMLElement.prototype,S.HTMLElement_insertAdjacentElement):S.Element_insertAdjacentElement?n(Element.prototype,S.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),S.HTMLElement_insertAdjacentHTML?r(HTMLElement.prototype,S.HTMLElement_insertAdjacentHTML):S.Element_insertAdjacentHTML?r(Element.prototype,S.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),N(e,Element.prototype,{prepend:S.Element_prepend,append:S.Element_append}),function(e,t,n){function r(t){return function(){for(var n=[],r=[],o=arguments.length,i=new Array(o),s=0;s2&&void 0!==arguments[2]?arguments[2]:"",r="";if(e.cssText||e.rules){var o=e.rules;if(o&&!function(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(m)}(o))for(var i,s=0,a=o.length;s-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function R(e){for(var t=[],n="",r=0;r>=0&&r0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!_.c)&&(_.d?"shadow"===e:"shady"===e)}var B=function(){function e(){o()(this,e)}return s()(e,[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,function(e){r.element(e,t||"",n)})}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,function(e){n.element(e,t||"")})}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(_.d||"shady"===r)o=C(t,n);else{var i=L(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return C(e,function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)})}},{key:"_calcElementScope",value:function(e){return e?Z+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=R(e.selector);if(!T(e))for(var i,s=0,a=o.length;s-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")})}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(re);){var r=t.index,o=M(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,oe),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(oe);return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=U.test(e);i&&(e=e.replace(U,function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")}),e=this._twiddleNthPlus(e));var s,a=re.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace($,"".concat(G," $1"))).replace(V,function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s}),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(X);e.indexOf(G)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(J,function(e,t){return" > ".concat(t)}))),{value:e=e.replace(Q,function(e,t,n){return'[dir="'.concat(n,'"] ').concat(t,", ").concat(t,'[dir="').concat(n,'"]')}),combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,K=/[[.:#*]/,G=":host",z=":root",X="::slotted",$=new RegExp("^(".concat(X,")")),Y=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,J=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Q=/(.*):dir\((?:(ltr|rtl))\)/,Z=".",ee=":",te="class",ne="should_not_match",re=/:(?:matches|any|-(?:webkit|moz)-any)/,oe="",ie=new B,se=function(){function e(t,n,r,i,s,a){o()(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=i||"",this.cssBuild=a||"",this.typeExtension=s||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return s()(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),s()(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();se.prototype._getStyleRules=se.prototype._getStyleRules;var ae=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},le=navigator.userAgent.match("Trident");var ce=new(function(){function e(){o()(this,e)}return s()(e,[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;k(e,function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)},function(e){r.push(e)}),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=g.g,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(g.b,"").replace(g.g,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=g.h.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=M(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i *"===l||"html"===l,u=0===l.indexOf(":host")&&!c;if("shady"===n&&(u=!(c=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),c||u){var d=a;u&&(t.transformedSelector||(t.transformedSelector=ie._transformRuleCss(t,ie._transformComplexSelector,ie._calcElementScope(i),a)),d=t.transformedSelector||a),r({selector:d,isHost:u,isRoot:c})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return k(t,function(t){r.whenHostOrRootRule(e,t,n,function(n){var s=e._element||e;ae.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))})},null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=L(e),i=o.is,s=o.typeExtension,a=ie._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,c=new RegExp(g.c+l+g.d),u=se.get(e),d=u.styleRules,h=u.cssBuild,p=this._elementKeyframeTransforms(e,d,n);return ie.elementStyles(e,d,function(e){r.applyProperties(e,t),_.d||T(e)||!e.cssText||(r.applyKeyframeTransforms(e,p),r._scopeSelector(e,c,a,n))},h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!_.d&&r)for(var i=0,s=r[i];i-1&&(r.textContent=o),A(r,null,i.placeholder)):o&&(r=D(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=w(e),r=this;e.textContent=C(n,function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=u(n),e.cssText=r.valueForProperties(n,t))})}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}]),e}()),ue={};function de(e){return ue[e]||null}function he(e){var t,n,r,o;ue[e]||(ue[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=O?O.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),O=n,n))}var pe=window.customElements;if(pe&&!_.d&&!_.b){var fe=pe.define;pe.define=function(e,t,n){he(e),fe.call(pe,e,t,n)}}var me=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o()(this,e),this.cache={},this.typeMax=t}return s()(e,[{key:"_validate",value:function(e,t,n){for(var r=0;rthis.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}]),e}(),ve=function(){};var ye=new RegExp("".concat(ie.SCOPE_NAME,"\\s*([^\\s]*)"));function _e(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(ye);return t?t[1]:""}function ge(e){var t=P(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?L(n).is:""}function Se(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(ie.SCOPE_NAME,")")),n=0;n2&&void 0!==arguments[2]?arguments[2]:"",r="";if(t.cssText||t.rules){var o=t.rules;if(o&&!function(t){var n=t[0];return Boolean(n)&&Boolean(n.selector)&&0===n.selector.indexOf(p)}(o))for(var i,u=0,c=o.length;u-1?e=n:(r=n,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,r=t.extends),{is:e,typeExtension:r}}function _(t){for(var n=[],e=t.querySelectorAll("style"),o=0;o=0&&r0&&void 0!==arguments[0]?arguments[0]:"";return!(""===t||!r.c)&&(r.d?"shadow"===t:"shady"===t)}},373:function(t,n,e){"use strict";e.d(n,"g",function(){return r}),e.d(n,"f",function(){return o}),e.d(n,"h",function(){return i}),e.d(n,"a",function(){return u}),e.d(n,"e",function(){return s}),e.d(n,"b",function(){return a}),e.d(n,"c",function(){return c}),e.d(n,"d",function(){return l});var r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=/(--[\w-]+)\s*([:,;)]|$)/gi,u=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,a=/\{[^}]*\}/g,c="(?:^|[^.#[:])",l="($|[.:[\\s>+~])"},374:function(t,n,e){"use strict";e.d(n,"c",function(){return o}),e.d(n,"b",function(){return i}),e.d(n,"a",function(){return u});var r=e(373);function o(t,n){for(var e in n)null===e?t.style.removeProperty(e):t.style.setProperty(e,n[e])}function i(t,n){var e=window.getComputedStyle(t).getPropertyValue(n);return e?e.trim():""}function u(t){var n=r.f.test(t)||r.g.test(t);return r.f.lastIndex=0,r.g.lastIndex=0,n}},413:function(t,n,e){"use strict";n.a={}},427:function(t,n,e){"use strict";var r,o=e(261),i=e.n(o),u=e(262),s=e.n(u),a=null,c=window.HTMLImports&&window.HTMLImports.whenReady||null;function l(t){requestAnimationFrame(function(){c?c(t):(a||(a=new Promise(function(t){r=t}),"complete"===document.readyState?r():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&r()})),a.then(function(){t&&t()}))})}e.d(n,"a",function(){return y});var f="__shadyCSSCachedStyle",d=null,p=null,y=function(){function t(){i()(this,t),this.customStyles=[],this.enqueued=!1,l(function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}return s()(t,[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&p&&(this.enqueued=!0,l(p))}},{key:"addCustomStyle",value:function(t){t.__seenByShadyCSS||(t.__seenByShadyCSS=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(t){return t[f]?t[f]:t.getStyle?t.getStyle():t}},{key:"processStyles",value:function(){for(var t=this.customStyles,n=0;n2&&void 0!==arguments[2]?arguments[2]:"",r="";if(t.cssText||t.rules){var i=t.rules;if(i&&!function(t){var e=t[0];return Boolean(e)&&Boolean(e.selector)&&0===e.selector.indexOf(l)}(i))for(var s,f=0,p=i.length;ft);function _(t){var e=t.localName,n="",r="";return e?e.indexOf("-")>-1?n=e:(r=e,n=t.getAttribute&&t.getAttribute("is")||""):(n=t.is,r=t.extends),{is:n,typeExtension:r}}function b(t){for(var e=[],n=t.querySelectorAll("style"),i=0;i=0&&r0&&void 0!==arguments[0]?arguments[0]:"";return!(""===t||!r.c)&&(r.d?"shadow"===t:"shady"===t)}},360:function(t,e,n){"use strict";n.d(e,"g",function(){return r}),n.d(e,"f",function(){return i}),n.d(e,"h",function(){return o}),n.d(e,"a",function(){return u}),n.d(e,"e",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return d});var r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,o=/(--[\w-]+)\s*([:,;)]|$)/gi,u=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,a=/\{[^}]*\}/g,c="(?:^|[^.#[:])",d="($|[.:[\\s>+~])"},361:function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return u});var r=n(360);function i(t,e){for(var n in e)null===n?t.style.removeProperty(n):t.style.setProperty(n,e[n])}function o(t,e){var n=window.getComputedStyle(t).getPropertyValue(e);return n?n.trim():""}function u(t){var e=r.f.test(t)||r.g.test(t);return r.f.lastIndex=0,r.g.lastIndex=0,e}},397:function(t,e,n){"use strict";e.a={}},426:function(t,e,n){"use strict";var r,i=null,o=window.HTMLImports&&window.HTMLImports.whenReady||null;function u(t){requestAnimationFrame(function(){o?o(t):(i||(i=new Promise(t=>{r=t}),"complete"===document.readyState?r():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&r()})),i.then(function(){t&&t()}))})}n.d(e,"a",function(){return l});var s="__seenByShadyCSS",a="__shadyCSSCachedStyle",c=null,d=null;class l{constructor(){this.customStyles=[],this.enqueued=!1,u(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&d&&(this.enqueued=!0,u(d))}addCustomStyle(t){t[s]||(t[s]=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}getStyleForCustomStyle(t){return t[a]?t[a]:t.getStyle?t.getStyle():t}processStyles(){for(var t=this.customStyles,e=0;ec,set(t){c=t}},validateCallback:{get:()=>d,set(t){var e=!1;d||(e=!0),d=t,e&&this.enqueueDocumentValidation()}}})},436:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return d}),n.d(e,"b",function(){return l});var r=n(397),i=(n(322),"_applyShimCurrentVersion"),o="_applyShimNextVersion",u="_applyShimValidatingVersion",s=Promise.resolve();function a(t){var e=r.a[t];e&&function(t){t[i]=t[i]||0,t[u]=t[u]||0,t[o]=(t[o]||0)+1}(e)}function c(t){return t[i]===t[o]}function d(t){return!c(t)&&t[u]===t[o]}function l(t){t[u]=t[o],t._validating||(t._validating=!0,s.then(function(){t[i]=t[o],t._validating=!1}))}}}]); -//# sourceMappingURL=1.1f19ce369c681082806d.js.map \ No newline at end of file diff --git a/packages/ui/dist/1.1f19ce369c681082806d.js.LICENSE b/packages/ui/dist/1.1f19ce369c681082806d.js.LICENSE deleted file mode 100644 index 5a117b4d8..000000000 --- a/packages/ui/dist/1.1f19ce369c681082806d.js.LICENSE +++ /dev/null @@ -1,9 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/1.1f19ce369c681082806d.js.map b/packages/ui/dist/1.1f19ce369c681082806d.js.map deleted file mode 100644 index aac514c82..000000000 --- a/packages/ui/dist/1.1f19ce369c681082806d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"1.1f19ce369c681082806d.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/1.794f9551f735788d27d0.js b/packages/ui/dist/1.794f9551f735788d27d0.js deleted file mode 100644 index 8185e0f28..000000000 --- a/packages/ui/dist/1.794f9551f735788d27d0.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 1.794f9551f735788d27d0.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{270:function(e,t,r){"use strict";r.d(t,"d",function(){return i}),r.d(t,"a",function(){return o}),r.d(t,"b",function(){return a}),r.d(t,"c",function(){return l});var n,o,i=!(window.ShadyDOM&&window.ShadyDOM.inUse);function s(e){n=(!e||!e.shimcssproperties)&&(i||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(o=window.ShadyCSS.cssBuild);var a=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?n=window.ShadyCSS.nativeCss:window.ShadyCSS?(s(window.ShadyCSS),window.ShadyCSS=void 0):s(window.WebComponents&&window.WebComponents.flags);var l=n},282:function(e,t,r){"use strict";r.d(t,"g",function(){return n}),r.d(t,"f",function(){return o}),r.d(t,"h",function(){return i}),r.d(t,"a",function(){return s}),r.d(t,"e",function(){return a}),r.d(t,"b",function(){return l}),r.d(t,"c",function(){return d}),r.d(t,"d",function(){return c});var n=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=/(--[\w-]+)\s*([:,;)]|$)/gi,s=/(animation\s*:)|(animation-name\s*:)/,a=/@media\s(.*)/,l=/\{[^}]*\}/g,d="(?:^|[^.#[:])",c="($|[.:[\\s>+~])"},293:function(e,t,r){"use strict";r.d(t,"c",function(){return o}),r.d(t,"b",function(){return i}),r.d(t,"a",function(){return s});var n=r(282);function o(e,t){for(var r in t)null===r?e.style.removeProperty(r):e.style.setProperty(r,t[r])}function i(e,t){var r=window.getComputedStyle(e).getPropertyValue(t);return r?r.trim():""}function s(e){var t=n.f.test(e)||n.g.test(e);return n.f.lastIndex=0,n.g.lastIndex=0,t}},303:function(e,t,r){"use strict";var n,o=null,i=window.HTMLImports&&window.HTMLImports.whenReady||null;function s(e){requestAnimationFrame(function(){i?i(e):(o||(o=new Promise(e=>{n=e}),"complete"===document.readyState?n():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&n()})),o.then(function(){e&&e()}))})}r.d(t,"a",function(){return h});var a="__seenByShadyCSS",l="__shadyCSSCachedStyle",d=null,c=null;class h{constructor(){this.customStyles=[],this.enqueued=!1,s(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&c&&(this.enqueued=!0,s(c))}addCustomStyle(e){e[a]||(e[a]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[l]?e[l]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;td,set(e){d=e}},validateCallback:{get:()=>c,set(e){var t=!1;c||(t=!0),c=e,t&&this.enqueueDocumentValidation()}}})},316:function(e,t,r){"use strict";class n{constructor(){this.root=null,this.publicRoot=null,this.dirty=!1,this.observer=null,this.assignedNodes=null,this.assignedSlot=null,this._previouslyAssignedNodes=null,this._prevAssignedSlot=null,this.flattenedNodes=null,this.ownerShadyRoot=void 0,this.parentNode=void 0,this.firstChild=void 0,this.lastChild=void 0,this.previousSibling=void 0,this.nextSibling=void 0,this.childNodes=void 0,this.__outsideAccessors=!1,this.__insideAccessors=!1,this.__onCallbackListeners={}}toJSON(){return{}}}function o(e){return e.__shady||(e.__shady=new n),e.__shady}function i(e){return e&&e.__shady}var s=window.ShadyDOM||{};s.hasNativeShadowDOM=Boolean(Element.prototype.attachShadow&&Node.prototype.getRootNode);var a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");s.hasDescriptors=Boolean(a&&a.configurable&&a.get),s.inUse=s.force||!s.hasNativeShadowDOM,s.noPatch=s.noPatch||!1,s.preferPerformance=s.preferPerformance;var l=e=>{var t=i(e);return t&&void 0!==t.firstChild},d=e=>Boolean("ShadyRoot"===e._localName),c=e=>{var t=i(e),r=t&&t.root;return r&&r._hasInsertionPoint()},h=Element.prototype,u=h.matches||h.matchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector||h.webkitMatchesSelector,p=(e,t)=>u.call(e,t),m=document.createTextNode(""),f=0,v=[];new MutationObserver(()=>{for(;v.length;)try{v.shift()()}catch(e){throw m.textContent=f++,e}}).observe(m,{characterData:!0});var _,y=e=>{v.push(e),m.textContent=f++},g=Boolean(document.contains),S=(e,t)=>{for(;t;){if(t==e)return!0;t=t[w+"parentNode"]}return!1},E=e=>e.getAttribute("id")||e.getAttribute("name"),N=e=>"length"!==e&&isNaN(e),C=e=>{for(var t=e.length-1;t>=0;t--){var r=e[t],n=E(r);n&&N(n)&&(e[n]=r)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(N(t)&&e[t])return e[t];for(var r of e){if(E(r)==t)return r}return null},e},b="__shady_native_",w="__shady_",T=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(n&&n.indexOf(o)>=0)){i.configurable=!0;var s=r+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},D=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,e=>{var t={};return Object.getOwnPropertyNames(e).forEach(r=>{t[r]=Object.getOwnPropertyDescriptor(e,r)}),t}),M=[];function O(e){_||(_=!0,y(A)),M.push(e)}function A(){_=!1;for(var e=Boolean(M.length);M.length;)M.shift()();return e}A.list=M;class x{constructor(){this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}schedule(){this._scheduled||(this._scheduled=!0,y(()=>{this.flush()}))}flush(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}takeRecords(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}var P=/[&\u00A0"]/g,L=/[&\u00A0<>]/g;function R(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function k(e){return e.replace(P,R)}function H(e){for(var t={},r=0;r";case Node.TEXT_NODE:var l=e.data;return t&&F[t.localName]?l:function(e){return e.replace(L,R)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function B(e,t){"template"===e.localName&&(e=e.content);for(var r,n="",o=t?t(e):e.childNodes,i=0,s=o.length;i{W[e]=(t=>t[$+e])},K=(e,t)=>{q[e]||(q[e]=t)},G=(e,t)=>{for(var r in T(e,t,$),t)V(r)},z=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0;r{for(var t;t=e[$+"firstChild"];)e[$+"removeChild"](t)},Z=["firstElementChild","lastElementChild","children","childElementCount"],ee=["querySelector","querySelectorAll"],te=D({get childNodes(){return this[w+"childNodes"]},get firstChild(){return this[w+"firstChild"]},get lastChild(){return this[w+"lastChild"]},get textContent(){return this[w+"textContent"]},set textContent(e){this[w+"textContent"]=e},get childElementCount(){return this[w+"childElementCount"]},get children(){return this[w+"children"]},get firstElementChild(){return this[w+"firstElementChild"]},get lastElementChild(){return this[w+"lastElementChild"]},get innerHTML(){return this[w+"innerHTML"]},set innerHTML(e){return this[w+"innerHTML"]=e},get shadowRoot(){return this[w+"shadowRoot"]}}),re=D({get parentElement(){return this[w+"parentElement"]},get parentNode(){return this[w+"parentNode"]},get nextSibling(){return this[w+"nextSibling"]},get previousSibling(){return this[w+"previousSibling"]},get nextElementSibling(){return this[w+"nextElementSibling"]},get previousElementSibling(){return this[w+"previousElementSibling"]},get className(){return this[w+"className"]},set className(e){return this[w+"className"]=e}});for(var ne in te)te[ne].enumerable=!1;for(var oe in re)re[oe].enumerable=!1;var ie,se=s.hasDescriptors||s.noPatch,ae=se?function(){}:function(e){var t=o(e);t.__outsideAccessors||(t.__outsideAccessors=!0,T(e,re))},le=se?function(){}:function(e){var t=o(e);t.__insideAccessors||(t.__insideAccessors=!0,T(e,te))},de=`__eventWrappers${Date.now()}`,ce=(ie=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?e=>ie.get.call(e):null,he={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},ue={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function pe(e){return e instanceof Node?e[w+"getRootNode"]():e}function me(e,t){for(var r=[],n=e,o=pe(e);n;)r.push(n),n=n[w+"assignedSlot"]?n[w+"assignedSlot"]:n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host&&(t||n!==o)?n.host:n[w+"parentNode"];return r[r.length-1]===document&&r.push(window),r}function fe(e,t){if(!d)return e;for(var r,n,o,i,s=me(e,!0),a=t,l=0;l-1)return r}function ve(e){var t=function(t,r){var n=new e(t,r);return n.__composed=r&&Boolean(r.composed),n};return t.__proto__=e,t.prototype=e.prototype,t}var _e={focus:!0,blur:!0};function ye(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function ge(e,t,r){var n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][r];if(n)for(var o,i=0;o=n[i];i++){if(ye(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Se(e){var t,r,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=n.length-1;o>=0;o--)if(ge(e,t=n[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:()=>Event.AT_TARGET});for(var s=0;s-1)return}else t[de]=[];var c=function(o){var s;if(i&&this[w+"removeEventListener"](e,t,r),o.__target||Me(o),a!==this&&(s=Object.getOwnPropertyDescriptor(o,"currentTarget"),Object.defineProperty(o,"currentTarget",{get:()=>a,configurable:!0})),o.__previousCurrentTarget=o.currentTarget,(!d(a)||-1!=o.composedPath().indexOf(a))&&(o.composed||o.composedPath().indexOf(a)>-1)){if(ye(o)&&o.target===o.relatedTarget)return void(o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation());if(!(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a||a instanceof Window))return;var l="function"===n?t.call(a,o):t.handleEvent&&t.handleEvent(o);return a!==this&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget),l}};t[de].push({node:a,type:e,capture:o,once:i,passive:s,wrapperFn:c}),_e[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(c)):this[b+"addEventListener"](e,c,r)}}}function be(e,t,r){if(t){if(ue[e])return this[b+"removeEventListener"](e,t,r);var n,o,i;r&&"object"==typeof r?(n=Boolean(r.capture),o=Boolean(r.once),i=Boolean(r.passive)):(n=Boolean(r),o=!1,i=!1);var s=r&&r.__shadyTarget||this,a=void 0,l=function(e){var t=null;try{t=e[de]}catch(e){}return t}(t);if(l){var d=Ne(l,s,e,n,o,i);d>-1&&(a=l.splice(d,1)[0].wrapperFn,l.length||(t[de]=void 0))}if(this[b+"removeEventListener"](e,a||t,r),a&&_e[e]&&this.__handlers&&this.__handlers[e]){var c=this.__handlers[e][n?"capture":"bubble"],h=c.indexOf(a);h>-1&&c.splice(h,1)}}}var we=D({get composed(){return void 0===this.__composed&&(ce?this.__composed="focusin"===this.type||"focusout"===this.type||ce(this):!1!==this.isTrusted&&(this.__composed=he[this.type])),this.__composed||!1},composedPath(){return this.__composedPath||(this.__composedPath=me(this.__target,this.composed)),this.__composedPath},get target(){return fe(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=me(this.__relatedTarget,!0)),fe(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),Te="__shady_patchedProto",De="__shady_sourceProto";function Me(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,s.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,Te)){var r=Object.create(t);r[De]=t,T(r,we),t[Te]=r}e.__proto__=t[Te]}else T(e,we)}var Oe=ve(Event),Ae=ve(CustomEvent),xe=ve(MouseEvent);var Pe=Object.getOwnPropertyNames(Document.prototype).filter(e=>"on"===e.substring(0,2));function Le(e,t,r){return{index:e,removed:t,addedCount:r}}var Re=0,ke=1,He=2,Ie=3;function Fe(e,t,r,n,o,i){var s,a=0,l=0,d=Math.min(r-t,i-o);if(0==t&&0==o&&(a=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var i=e[t-1][r-1],s=e[t-1][r],a=e[t][r-1],l=void 0;(l=s{var t=o(e);if(void 0===t.firstChild){t.childNodes=null;var r=t.firstChild=e[b+"firstChild"]||null;t.lastChild=e[b+"lastChild"]||null,le(e);for(var n,i=r;i;i=i[b+"nextSibling"]){var s=o(i);s.parentNode=e,s.nextSibling=i[b+"nextSibling"]||null,s.previousSibling=n||null,n=i,ae(i)}}},$e=null;function qe(){return $e||($e=window.ShadyCSS&&window.ShadyCSS.ScopingShim),$e||null}function We(e,t){var r=qe();r&&r.unscopeNode(e,t)}function Ve(e,t,r){qe()&&(r&&We(e,r),function(e,t){var r=qe();r&&r.scopeNode(e,t)}(e,t))}function Ke(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=qe();return t?t.currentScopeForNode(e):""}function Ge(e,t){if(e){e.nodeType===Node.ELEMENT_NODE&&t(e);for(var r,n=e[w+"childNodes"],o=0;o0||this.nodeType===Node.ELEMENT_NODE)&&this[w+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore(e,t){if(this.ownerDocument!==ze&&e.ownerDocument!==ze)return this[b+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var r=i(t),n=r&&r.parentNode;if(void 0!==n&&n!==this||void 0===n&&t[b+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var s,a=[],h=Tt(this),u=h?h.host.localName:Ke(this),p=e[w+"parentNode"];p&&(s=Ke(e),p[w+"removeChild"](e,Boolean(h)||!Tt(e)));var m=!0,f=!(Xe&&void 0!==e.__noInsertionPoint||function e(t,r){var n=qe();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[w+"childNodes"],s=0;o&&s{v&&"slot"===e.localName&&a.push(e),f&&Ve(e,u,s)})),("slot"===this.localName||a.length)&&(a.length&&h._addSlots(a),h&&h._asyncRender()),l(this)){((e,t,r)=>{le(t);var n=o(t);if(void 0!==n.firstChild&&(n.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var i=e[w+"childNodes"],s=0;s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==ze)return this[b+"removeChild"](e);if(e[w+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var n=Tt(e),s=n&&n._removeContainedSlots(e),a=i(this);if(l(this)&&(((e,t)=>{var r=o(e),n=o(t);e===n.firstChild&&(n.firstChild=r.nextSibling),e===n.lastChild&&(n.lastChild=r.previousSibling);var i=r.previousSibling,s=r.nextSibling;i&&(o(i).nextSibling=s),s&&(o(s).previousSibling=i),r.parentNode=r.previousSibling=r.nextSibling=void 0,void 0!==n.childNodes&&(n.childNodes=null)})(e,this),c(this)&&(a.root._asyncRender(),t=!0)),qe()&&!r&&n){var h=Ke(e);Ge(e,e=>{We(e,h)})}if(Ze(e),n){var u=this&&"slot"===this.localName;u&&(t=!0),(s||u)&&n._asyncRender()}if(!t){var p=d(this)?this.host:this;(!a.root&&"slot"!==e.localName||p===e[b+"parentNode"])&&p[b+"removeChild"](e)}return et(this,null,e),e},replaceChild(e,t){return this[w+"insertBefore"](e,t),this[w+"removeChild"](t),e},cloneNode(e){if("template"==this.localName)return this[b+"cloneNode"](e);var t=this[b+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var r,n=this[w+"childNodes"],o=0;oe[w+"getRootNode"]()==n)}return rt(this,function(t){return p(t,e)})}}),at=s.preferPerformance?Object.assign({},it):it;Object.assign(it,st);var lt=D({getElementById(e){return""===e?null:rt(this,function(t){return t.id==e},function(e){return Boolean(e)})[0]||null}});var dt,ct,ht=D({get activeElement(){var e=s.hasDescriptors?document[b+"activeElement"]:document.activeElement;if(!e||!e.nodeType)return null;var t=!!d(this);if(this!==document){if(!t)return null;if(this.host===e||!this.host[b+"contains"](e))return null}for(var r=Tt(e);r&&r!==this;)e=r.host,r=Tt(e);return this===document?r?null:e:r===this?e:null}}),ut=document.implementation.createHTMLDocument("inert"),pt=D({get innerHTML(){return l(this)?B("template"===this.localName?this.content:this,e=>e[w+"childNodes"]):this[b+"innerHTML"]},set innerHTML(e){if("template"===this.localName)this[b+"innerHTML"]=e;else{Qe(this);var t,r,n=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==ut.namespaceURI?ut.createElementNS(this.namespaceURI,n):ut.createElement(n),s.hasDescriptors?t[b+"innerHTML"]=e:t.innerHTML=e;r=t[w+"firstChild"];)this[w+"insertBefore"](r)}}}),mt=D({addEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=this,this.host[w+"addEventListener"](e,t,r)},removeEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=this,this.host[w+"removeEventListener"](e,t,r)}}),ft=(e,t)=>{T(e,mt,t),T(e,ht,t),T(e,pt,t),T(e,it,t),s.noPatch&&!t?(T(e,tt,t),T(e,lt,t)):s.hasDescriptors||(T(e,re),T(e,te))},vt={},_t="__catchall",yt="ShadyRoot",gt="closed",St=s.deferConnectionCallbacks&&"loading"===document.readyState;function Et(e){var t=[];do{t.unshift(e)}while(e=e[w+"parentNode"]);return t}class Nt{constructor(e,t,r){if(e!==vt)throw new TypeError("Illegal constructor");this._localName=yt,this.host=t,this.mode=r&&r.mode,Ue(t);var n=o(t);n.root=this,n.publicRoot=this.mode!==gt?this:null;var i=o(this);if(i.firstChild=i.lastChild=i.parentNode=i.nextSibling=i.previousSibling=null,i.childNodes=[],this._renderPending=!1,this._hasRendered=!1,this._slotList=null,this._slotMap=null,this._pendingSlots=null,s.preferPerformance)for(var a;a=t[b+"firstChild"];)t[b+"removeChild"](a);else this._asyncRender()}_asyncRender(){this._renderPending||(this._renderPending=!0,O(()=>this._render()))}_getPendingDistributionRoot(){for(var e,t=this;t;)t._renderPending&&(e=t),t=t._getDistributionParent();return e}_getDistributionParent(){var e=this.host[w+"getRootNode"]();if(d(e)){var t=i(this.host);return t&&t.__childSlotCount>0?e:void 0}}_render(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}_flushInitial(){!this._hasRendered&&this._renderPending&&this._render()}_renderSelf(){var e=St;if(St=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!s.preferPerformance&&!this._hasRendered)for(var t=this.host[w+"childNodes"],r=0,n=t.length;rs.assignedNodes.length&&(s.dirty=!0)}s.dirty&&(s.dirty=!1,this._fireSlotChange(o))}}_distributeNodeToSlot(e,t){var r=o(e),n=r._prevAssignedSlot;r._prevAssignedSlot=null;var i=t;if(!i){var s=e[w+"slot"]||_t,a=this._slotMap[s];i=a&&a[0]}i?(o(i).assignedNodes.push(e),r.assignedSlot=i):r.assignedSlot=void 0;n!==r.assignedSlot&&r.assignedSlot&&(o(r.assignedSlot).dirty=!0)}_clearSlotAssignedNodes(e){var t=i(e),r=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=r,r)for(var n=0;n{for(var r=Et(e),n=Et(t),o=0;o=0){this._slotList.splice(l,1);var d=i(a[w+"parentNode"]);d&&d.__childSlotCount&&d.__childSlotCount--}s--,this._removeFlattenedNodes(a),t=!0}}return t}}_updateSlotName(e){if(this._slotList){this._validateSlots();var t=e.__slotName,r=this._nameForSlot(e);if(r!==t){var n=this._slotMap[t],o=n.indexOf(e);o>=0&&n.splice(o,1);var i=this._slotMap[r]||(this._slotMap[r]=[]);i.push(e),i.length>1&&(this._slotMap[r]=this._sortSlots(i))}}}_removeFlattenedNodes(e){var t=i(e),r=t.flattenedNodes;if(r)for(var n=0;n{Object.defineProperty(ct,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(e=>{Object.defineProperty(ct,e,{get(){return this.host[e]},configurable:!0})});if(window.customElements&&s.inUse&&!s.preferPerformance){var Ct=new Map;dt=function(){var e=[];Ct.forEach((t,r)=>{e.push([r,t])}),Ct.clear();for(var t=0;t{St=!1,dt()},{once:!0});var bt=(e,t,r)=>{var n=0,o=`__isConnected${n++}`;return(t||r)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){St?Ct.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){St?this.isConnected||Ct.set(this,!1):this[o]&&(this[o]=!1,r&&r.call(this))}),e},wt=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(e,t){var r=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;wt.call(window.customElements,e,bt(t,r,n)),t.prototype.connectedCallback=r,t.prototype.disconnectedCallback=n}})}var Tt=e=>{var t=e[w+"getRootNode"]();if(d(t))return t};class Dt{constructor(e){this.node=e}addEventListener(e,t,r){return this.node[w+"addEventListener"](e,t,r)}removeEventListener(e,t,r){return this.node[w+"removeEventListener"](e,t,r)}appendChild(e){return this.node[w+"appendChild"](e)}insertBefore(e,t){return this.node[w+"insertBefore"](e,t)}removeChild(e){return this.node[w+"removeChild"](e)}replaceChild(e,t){return this.node[w+"replaceChild"](e,t)}cloneNode(e){return this.node[w+"cloneNode"](e)}getRootNode(e){return this.node[w+"getRootNode"](e)}contains(e){return this.node[w+"contains"](e)}dispatchEvent(e){return this.node[w+"dispatchEvent"](e)}setAttribute(e,t){this.node[w+"setAttribute"](e,t)}getAttribute(e){return this.node[b+"getAttribute"](e)}hasAttribute(e){return this.node[b+"hasAttribute"](e)}removeAttribute(e){this.node[w+"removeAttribute"](e)}attachShadow(e){return this.node[w+"attachShadow"](e)}get activeElement(){if(d(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"activeElement"]}get _activeElement(){return this.activeElement}focus(){this.node[b+"focus"]()}blur(){this.node[w+"blur"]()}importNode(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"importNode"](e,t)}getElementById(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"getElementById"](e)}querySelector(e){return this.node[w+"querySelector"](e)}querySelectorAll(e,t){return this.node[w+"querySelectorAll"](e,t)}assignedNodes(e){if("slot"===this.node.localName)return this.node[w+"assignedNodes"](e)}get host(){if(d(this.node))return this.node.host}get parentNode(){return this.node[w+"parentNode"]}get firstChild(){return this.node[w+"firstChild"]}get lastChild(){return this.node[w+"lastChild"]}get nextSibling(){return this.node[w+"nextSibling"]}get previousSibling(){return this.node[w+"previousSibling"]}get childNodes(){return this.node[w+"childNodes"]}get parentElement(){return this.node[w+"parentElement"]}get firstElementChild(){return this.node[w+"firstElementChild"]}get lastElementChild(){return this.node[w+"lastElementChild"]}get nextElementSibling(){return this.node[w+"nextElementSibling"]}get previousElementSibling(){return this.node[w+"previousElementSibling"]}get children(){return this.node[w+"children"]}get childElementCount(){return this.node[w+"childElementCount"]}get shadowRoot(){return this.node[w+"shadowRoot"]}get assignedSlot(){return this.node[w+"assignedSlot"]}get isConnected(){return this.node[w+"isConnected"]}get innerHTML(){return this.node[w+"innerHTML"]}set innerHTML(e){this.node[w+"innerHTML"]=e}get textContent(){return this.node[w+"textContent"]}set textContent(e){this.node[w+"textContent"]=e}get slot(){return this.node[w+"slot"]}set slot(e){this.node[w+"slot"]=e}}Pe.forEach(e=>{Object.defineProperty(Dt.prototype,e,{get(){return this.node[w+e]},set(t){this.node[w+e]=t},configurable:!0})});var Mt=new WeakMap;var Ot=D({dispatchEvent(e){return A(),this[b+"dispatchEvent"](e)},addEventListener:Ce,removeEventListener:be}),At=D({get assignedSlot(){var e=this[w+"parentNode"],t=e&&e[w+"shadowRoot"];t&&t._render();var r=i(this);return r&&r.assignedSlot||null}}),xt=window.document;function Pt(e,t){if("slot"===t){var r=e[w+"parentNode"];c(r)&&i(r).root._asyncRender()}else if("slot"===e.localName&&"name"===t){var n=Tt(e);n&&(n._updateSlotName(e),n._asyncRender())}}var Lt=D({get previousElementSibling(){var e=i(this);if(e&&void 0!==e.previousSibling){for(var t=this[w+"previousSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"previousSibling"];return t}return this[b+"previousElementSibling"]},get nextElementSibling(){var e=i(this);if(e&&void 0!==e.nextSibling){for(var t=this[w+"nextSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"nextSibling"];return t}return this[b+"nextElementSibling"]},get slot(){return this.getAttribute("slot")},set slot(e){this[w+"setAttribute"]("slot",e)},get shadowRoot(){var e=i(this);return e&&e.publicRoot||null},get className(){return this.getAttribute("class")||""},set className(e){this[w+"setAttribute"]("class",e)},setAttribute(e,t){this.ownerDocument!==xt?this[b+"setAttribute"](e,t):function(e,t,r){var n=qe();return!(!n||"class"!==t||(n.setElementClass(e,r),0))}(this,e,t)||(this[b+"setAttribute"](e,t),Pt(this,e))},removeAttribute(e){this[b+"removeAttribute"](e),Pt(this,e)},attachShadow(e){return((e,t)=>{if(!e)throw new Error("Must provide a host.");if(!t)throw new Error("Not enough arguments.");return new Nt(vt,e,t)})(this,e)}}),Rt=D({blur(){var e=i(this),t=e&&e.root,r=t&&t.activeElement;r?r[w+"blur"]():this[b+"blur"]()}});Pe.forEach(e=>{Rt[e]={set:function(t){var r=o(this),n=e.substring(2);r.__onCallbackListeners[e]&&this.removeEventListener(n,r.__onCallbackListeners[e]),this[w+"addEventListener"](n,t),r.__onCallbackListeners[e]=t},get(){var t=i(this);return t&&t.__onCallbackListeners[e]},configurable:!0}});var kt=D({assignedNodes(e){if("slot"===this.localName){var t=this[w+"getRootNode"]();t&&d(t)&&t._render();var r=i(this);return r&&(e&&e.flatten?r.flattenedNodes:r.assignedNodes)||[]}}}),Ht=window.document,It=D({importNode(e,t){if(e.ownerDocument!==Ht||"template"===e.localName)return this[b+"importNode"](e,t);var r=this[b+"importNode"](e,!1);if(t)for(var n,o=e[w+"childNodes"],i=0;i{var t=e?null:$t,r=function(r){var n=(e=>window[e]&&window[e].prototype)(r);Ut[r].forEach(r=>n&&r&&T(n,r,e,t))};for(var n in Ut)r(n)};if(s.inUse){var Wt={inUse:s.inUse,patch:e=>(le(e),ae(e),e),isShadyRoot:d,enqueue:O,flush:A,flushInitial:e=>{e._flushInitial()},settings:s,filterMutations:function(e,t){var r=t.getRootNode();return e.map(function(e){var t=r===e.target.getRootNode();if(t&&e.addedNodes){var n=Array.from(e.addedNodes).filter(function(e){return r===e.getRootNode()});if(n.length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:n,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){var r=o(e);r.observer||(r.observer=new x),r.observer.callbacks.add(t);var n=r.observer;return{_callback:t,_observer:n,_node:e,takeRecords:()=>n.takeRecords()}},unobserveChildren:function(e){var t=e&&e._observer;t&&(t.callbacks.delete(e._callback),t.callbacks.size||(o(e._node).observer=null))},deferConnectionCallbacks:s.deferConnectionCallbacks,preferPerformance:s.preferPerformance,handlesDynamicScoping:!0,wrap:s.noPatch?function(e){if(d(e)||e instanceof Dt)return e;var t=Mt.get(e);return t||(t=new Dt(e),Mt.set(e,t)),t}:e=>e,Wrapper:Dt,composedPath:e=>(e.__composedPath||(e.__composedPath=me(e.target,!0)),e.__composedPath),noPatch:s.noPatch,nativeMethods:q,nativeTree:W};window.ShadyDOM=Wt,(()=>{var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?z(window.EventTarget.prototype,e):(z(Node.prototype,e),z(Window.prototype,e)),U?z(Node.prototype,["parentNode","firstChild","lastChild","previousSibling","nextSibling","childNodes","parentElement","textContent"]):G(Node.prototype,{parentNode:{get(){return X.currentNode=this,X.parentNode()}},firstChild:{get(){return X.currentNode=this,X.firstChild()}},lastChild:{get(){return X.currentNode=this,X.lastChild()}},previousSibling:{get(){return X.currentNode=this,X.previousSibling()}},nextSibling:{get(){return X.currentNode=this,X.nextSibling()}},childNodes:{get(){var e=[];X.currentNode=this;for(var t=X.firstChild();t;)e.push(t),t=X.nextSibling();return e}},parentElement:{get(){return Y.currentNode=this,Y.parentNode()}},textContent:{get(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),r="";e=t.nextNode();)r+=e.nodeValue;return r;default:return this.nodeValue}},set(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Q(this),(e.length>0||this.nodeType===Node.ELEMENT_NODE)&&this[$+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),z(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get(){return Y.currentNode=this,Y.firstChild()}},lastElementChild:{get(){return Y.currentNode=this,Y.lastChild()}},children:{get(){var e=[];Y.currentNode=this;for(var t=Y.firstChild();t;)e.push(t),t=Y.nextSibling();return C(e)}},childElementCount:{get(){return this.children?this.children.length:0}}};U?(z(Element.prototype,Z),z(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&z(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&z(HTMLElement.prototype,["innerHTML"])):(G(Element.prototype,t),G(Element.prototype,{previousElementSibling:{get(){return Y.currentNode=this,Y.previousSibling()}},nextElementSibling:{get(){return Y.currentNode=this,Y.nextSibling()}},innerHTML:{get(){return B(this,e=>e[$+"childNodes"])},set(e){var t="template"===this.localName?this.content:this;Q(t);var r,n=this.localName||"div";(r=this.namespaceURI&&this.namespaceURI!==J.namespaceURI?J.createElementNS(this.namespaceURI,n):J.createElement(n)).innerHTML=e;for(var o,i="template"===this.localName?r.content:r;o=i[$+"firstChild"];)t[$+"insertBefore"](o,void 0)}}})),z(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),z(Element.prototype,ee),z(HTMLElement.prototype,["focus","blur","contains"]),U&&z(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&z(window.HTMLTemplateElement.prototype,["innerHTML"]),U?z(DocumentFragment.prototype,Z):G(DocumentFragment.prototype,t),z(DocumentFragment.prototype,ee),U?(z(Document.prototype,Z),z(Document.prototype,["activeElement"])):G(Document.prototype,t),z(Document.prototype,["importNode","getElementById"]),z(Document.prototype,ee)})(),(()=>{qt(w);var e=ht.activeElement;Object.defineProperty(document,"_activeElement",e),T(Window.prototype,Ft,w)})(),s.noPatch||(qt(),function(){if(!ce&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[w+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in _e)window[b+"addEventListener"](e,function(e){e.__target||(Me(e),Se(e))},!0)}(),window.Event=Oe,window.CustomEvent=Ae,window.MouseEvent=xe,window.ShadowRoot=Nt}},319:function(e,t,r){"use strict";var n=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function o(e){var t=n.has(e),r=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&r}function i(e){var t=e.isConnected;if(void 0!==t)return t;for(var r=e;r&&!(r.__CE_isImportDocument||r instanceof Document);)r=r.parentNode||(window.ShadowRoot&&r instanceof ShadowRoot?r.host:void 0);return!(!r||!(r.__CE_isImportDocument||r instanceof Document))}function s(e,t){for(var r=t;r&&r!==e&&!r.nextSibling;)r=r.parentNode;return r&&r!==e?r.nextSibling:null}function a(e,t){return t.firstChild?t.firstChild:s(e,t)}function l(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,n=e;n;){if(n.nodeType===Node.ELEMENT_NODE){var o=n;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var d=o.import;if(d instanceof Node&&!r.has(d)){r.add(d);for(var c=d.firstChild;c;c=c.nextSibling)l(c,t,r)}n=s(e,o);continue}if("template"===i){n=s(e,o);continue}var h=o.__CE_shadowRoot;if(h)for(var u=h.firstChild;u;u=u.nextSibling)l(u,t,r)}n=a(e,n)}}function d(e,t,r){e[t]=r}var c={custom:1,failed:2};class h{constructor(){this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}setDefinition(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}localNameToDefinition(e){return this._localNameToDefinition.get(e)}constructorToDefinition(e){return this._constructorToDefinition.get(e)}addPatch(e){this._hasPatches=!0,this._patches.push(e)}patchTree(e){this._hasPatches&&l(e,e=>this.patch(e))}patch(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;tt.push(e));for(var r=0;rt.push(e));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.visitedImports||new Set,n=t.upgrade||(e=>this.upgradeElement(e)),o=[];if(l(e,e=>{if("link"===e.localName&&"import"===e.getAttribute("rel")){var t=e.import;t instanceof Node&&(t.__CE_isImportDocument=!0,t.__CE_hasRegistry=!0),t&&"complete"===t.readyState?t.__CE_documentLoadHandled=!0:e.addEventListener("load",()=>{var t=e.import;if(!t.__CE_documentLoadHandled){t.__CE_documentLoadHandled=!0;var o=new Set(r);o.delete(t),this.patchAndUpgradeTree(t,{visitedImports:o,upgrade:n})}})}else o.push(e)},r),this._hasPatches)for(var i=0;i-1&&i.attributeChangedCallback.call(e,t,r,n,o)}}class u{constructor(e,t){this._internals=e,this._document=t,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}disconnect(){this._observer&&this._observer.disconnect()}_handleMutations(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var r=0;r{this._resolve=e,this._value&&e(this._value)})}resolve(e){if(this._value)throw new Error("Already resolved.");this._value=e,this._resolve&&this._resolve(e)}toPromise(){return this._promise}}class m{constructor(e){this._elementDefinitionIsRunning=!1,this._internals=e,this._whenDefinedDeferred=new Map,this._flushCallback=(e=>e()),this._flushPending=!1,this._pendingDefinitions=[],this._documentConstructionObserver=new u(e,document)}define(e,t){if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!o(e))throw new SyntaxError(`The element name '${e}' is not valid.`);if(this._internals.localNameToDefinition(e))throw new Error(`A custom element with name '${e}' has already been defined.`);if(this._elementDefinitionIsRunning)throw new Error("A custom element is already being defined.");var r,n,i,s,a;this._elementDefinitionIsRunning=!0;try{var l=t.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");function d(e){var t=l[e];if(void 0!==t&&!(t instanceof Function))throw new Error(`The '${e}' callback must be a function.`);return t}r=d("connectedCallback"),n=d("disconnectedCallback"),i=d("adoptedCallback"),s=d("attributeChangedCallback"),a=t.observedAttributes||[]}catch(e){return}finally{this._elementDefinitionIsRunning=!1}var c={localName:e,constructorFunction:t,connectedCallback:r,disconnectedCallback:n,adoptedCallback:i,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]};this._internals.setDefinition(e,c),this._pendingDefinitions.push(c),this._flushPending||(this._flushPending=!0,this._flushCallback(()=>this._flush()))}upgrade(e){this._internals.patchAndUpgradeTree(e)}_flush(){if(!1!==this._flushPending){this._flushPending=!1;for(var e=this._pendingDefinitions,t=[],r=new Map,n=0;n{if(void 0===e.__CE_state){var n=e.localName,o=r.get(n);o?o.push(e):this._internals.localNameToDefinition(n)&&t.push(e)}}});for(var o=0;o0;){for(var i=e.shift(),s=i.localName,a=r.get(i.localName),l=0;lt.localName===e)&&r.resolve(void 0),r.toPromise()}polyfillWrapFlushCallback(e){this._documentConstructionObserver.disconnect();var t=this._flushCallback;this._flushCallback=(r=>e(()=>t(r)))}}window.CustomElementRegistry=m,m.prototype.define=m.prototype.define,m.prototype.upgrade=m.prototype.upgrade,m.prototype.get=m.prototype.get,m.prototype.whenDefined=m.prototype.whenDefined,m.prototype.polyfillWrapFlushCallback=m.prototype.polyfillWrapFlushCallback;var f={Document_createElement:window.Document.prototype.createElement,Document_createElementNS:window.Document.prototype.createElementNS,Document_importNode:window.Document.prototype.importNode,Document_prepend:window.Document.prototype.prepend,Document_append:window.Document.prototype.append,DocumentFragment_prepend:window.DocumentFragment.prototype.prepend,DocumentFragment_append:window.DocumentFragment.prototype.append,Node_cloneNode:window.Node.prototype.cloneNode,Node_appendChild:window.Node.prototype.appendChild,Node_insertBefore:window.Node.prototype.insertBefore,Node_removeChild:window.Node.prototype.removeChild,Node_replaceChild:window.Node.prototype.replaceChild,Node_textContent:Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Element_attachShadow:window.Element.prototype.attachShadow,Element_innerHTML:Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Element_getAttribute:window.Element.prototype.getAttribute,Element_setAttribute:window.Element.prototype.setAttribute,Element_removeAttribute:window.Element.prototype.removeAttribute,Element_getAttributeNS:window.Element.prototype.getAttributeNS,Element_setAttributeNS:window.Element.prototype.setAttributeNS,Element_removeAttributeNS:window.Element.prototype.removeAttributeNS,Element_insertAdjacentElement:window.Element.prototype.insertAdjacentElement,Element_insertAdjacentHTML:window.Element.prototype.insertAdjacentHTML,Element_prepend:window.Element.prototype.prepend,Element_append:window.Element.prototype.append,Element_before:window.Element.prototype.before,Element_after:window.Element.prototype.after,Element_replaceWith:window.Element.prototype.replaceWith,Element_remove:window.Element.prototype.remove,HTMLElement:window.HTMLElement,HTMLElement_innerHTML:Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),HTMLElement_insertAdjacentElement:window.HTMLElement.prototype.insertAdjacentElement,HTMLElement_insertAdjacentHTML:window.HTMLElement.prototype.insertAdjacentHTML};var v,_=new class{},y=function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a0&&i(this)){n=new Array(s);for(var a=0;a{e!==this&&o.push(e)})),r.set.call(this,t),o)for(var s=0;s0;)f.Node_removeChild.call(r,r.childNodes[0]);for(var o=t?n.content:n;o.childNodes.length>0;)f.Node_appendChild.call(r,o.childNodes[0])}})}),d(Element.prototype,"setAttribute",function(t,r){if(this.__CE_state!==c.custom)return f.Element_setAttribute.call(this,t,r);var n=f.Element_getAttribute.call(this,t);f.Element_setAttribute.call(this,t,r),r=f.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,n,r,null)}),d(Element.prototype,"setAttributeNS",function(t,r,n){if(this.__CE_state!==c.custom)return f.Element_setAttributeNS.call(this,t,r,n);var o=f.Element_getAttributeNS.call(this,t,r);f.Element_setAttributeNS.call(this,t,r,n),n=f.Element_getAttributeNS.call(this,t,r),e.attributeChangedCallback(this,r,o,n,t)}),d(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==c.custom)return f.Element_removeAttribute.call(this,t);var r=f.Element_getAttribute.call(this,t);f.Element_removeAttribute.call(this,t),null!==r&&e.attributeChangedCallback(this,t,r,null,null)}),d(Element.prototype,"removeAttributeNS",function(t,r){if(this.__CE_state!==c.custom)return f.Element_removeAttributeNS.call(this,t,r);var n=f.Element_getAttributeNS.call(this,t,r);f.Element_removeAttributeNS.call(this,t,r);var o=f.Element_getAttributeNS.call(this,t,r);n!==o&&e.attributeChangedCallback(this,r,n,o,t)}),f.HTMLElement_insertAdjacentElement?r(HTMLElement.prototype,f.HTMLElement_insertAdjacentElement):f.Element_insertAdjacentElement?r(Element.prototype,f.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),f.HTMLElement_insertAdjacentHTML?n(HTMLElement.prototype,f.HTMLElement_insertAdjacentHTML):f.Element_insertAdjacentHTML?n(Element.prototype,f.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),y(e,Element.prototype,{prepend:f.Element_prepend,append:f.Element_append}),function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a2&&void 0!==arguments[2]?arguments[2]:"",n="";if(e.cssText||e.rules){var o=e.rules;if(o&&!function(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(h)}(o))for(var a,u=0,p=o.length;ue);function A(e){var t=e.localName,r="",n="";return t?t.indexOf("-")>-1?r=t:(n=t,r=e.getAttribute&&e.getAttribute("is")||""):(r=e.is,n=e.extends),{is:r,typeExtension:n}}function x(e){for(var t=[],r="",n=0;n>=0&&n0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!m.c)&&(m.d?"shadow"===e:"shady"===e)}var H="style-scope";var I=/:(nth[-\w]+)\(([^)]+)\)/,F=`:not(.${H})`,j=",",B=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,U=/[[.:#*]/,$=":host",q=":root",W="::slotted",V=new RegExp(`^(${W})`),K=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,G=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,z=/(.*):dir\((?:(ltr|rtl))\)/,X=".",Y=":",J="class",Q="should_not_match",Z=/:(?:matches|any|-(?:webkit|moz)-any)/,ee="",te=new class{get SCOPE_NAME(){return H}dom(e,t,r){this._transformDom(e,e=>{this.element(e,t||"",r)})}domAddScope(e,t){this._transformDom(e,e=>{this.element(e,t||"")})}_transformDom(e,t){var r;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var n=e;r=(n.content||n._content||n).childNodes}else r=e.children||e.childNodes;if(r)for(var o=0;o{this.element(e,t,!0),this.element(e,r)})}domRemoveScope(e,t){this._transformDom(e,e=>{this.element(e,t||"",!0)})}elementStyles(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m.d||"shady"===n)o=S(t,r);else{var i=A(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,r)+"\n\n"}return o.trim()}css(e,t,r,n){var o=this._calcHostScope(t,r);t=this._calcElementScope(t);var i=this;return S(e,function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),n&&n(e,t,o)})}_calcElementScope(e){return e?X+e:""}_calcHostScope(e,t){return t?`[is=${e}]`:e}rule(e,t,r){this._transformRule(e,this._transformComplexSelector,t,r)}_transformRule(e,t,r,n){e.selector=e.transformedSelector=this._transformRuleCss(e,t,r,n)}_transformRuleCss(e,t,r,n){var o=x(e.selector);if(!N(e))for(var i,s=0,a=o.length;sBoolean(e)).join(j)}_twiddleNthPlus(e){return e.replace(I,(e,t,r)=>(r.indexOf("+")>-1?r=r.replace(/\+/g,"___"):r.indexOf("___")>-1&&(r=r.replace(/___/g,"+")),`:${t}(${r})`))}_preserveMatchesPseudo(e){for(var t,r=[];t=e.match(Z);){var n=t.index,o=D(e,n);if(-1===o)throw new Error(`${t.input} selector missing ')'`);var i=e.slice(n,o+1);e=e.replace(i,ee),r.push(i)}return{selector:e,matches:r}}_replaceMatchesPseudo(e,t){var r=e.split(ee);return t.reduce((e,t,n)=>e+t+r[n+1],r[0])}_transformComplexSelector(e,t,r){var n=!1;e=e.trim();var o=I.test(e);o&&(e=e.replace(I,(e,t,r)=>`:${t}(${r.replace(/\s/g,"")})`),e=this._twiddleNthPlus(e));var i,s=Z.test(e);if(s){var a=this._preserveMatchesPseudo(e);e=a.selector,i=a.matches}return e=(e=e.replace(V,`${$} $1`)).replace(B,(e,o,i)=>{if(!n){var s=this._transformCompoundSelector(i,o,t,r);n=n||s.stop,o=s.combinator,i=s.value}return o+i}),s&&(e=this._replaceMatchesPseudo(e,i)),o&&(e=this._twiddleNthPlus(e)),e}_transformCompoundSelector(e,t,r,n){var o=e.indexOf(W);e.indexOf($)>=0?e=this._transformHostSelector(e,n):0!==o&&(e=r?this._transformSimpleSelector(e,r):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(G,(e,t)=>` > ${t}`))),{value:e=e.replace(z,(e,t,r)=>`[dir="${r}"] ${t}, ${t}[dir="${r}"]`),combinator:t,stop:i}}_transformSimpleSelector(e,t){for(var r=e.split(/(\[.+?\])/),n=[],o=0;o=0)e=this.valueForProperties(e,t);else{var r=this;e=function e(t,r){var n=t.indexOf("var(");if(-1===n)return r(t,"","","");var o=D(t,n+3),i=t.substring(n+4,o),s=t.substring(0,n),a=e(t.substring(o+1),r),l=i.indexOf(",");return-1===l?r(s,i.trim(),"",a):r(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,function(e,n,o,i){if(!n)return e+i;var s=r.valueForProperty(t[n],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=r.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}valueForProperties(e,t){for(var r,n,o=e.split(";"),i=0;i{e.propertyInfo||this.decorateRule(e);var o=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&o&&oe.call(t,o)&&(this.collectProperties(e,r),function(e,t){var r=parseInt(e/32,10),n=1< *"===l||"html"===l,c=0===l.indexOf(":host")&&!d;if("shady"===r&&(c=!(d=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),d||c){var h=a;c&&(t.transformedSelector||(t.transformedSelector=te._transformRuleCss(t,te._transformComplexSelector,te._calcElementScope(i),a)),h=t.transformedSelector||a),n({selector:h,isHost:c,isRoot:d})}}}hostAndRootPropertiesForScope(e,t,r){var n={},o={};return C(t,t=>{this.whenHostOrRootRule(e,t,r,r=>{var i=e._element||e;oe.call(i,r.selector)&&(r.isHost?this.collectProperties(t,n):this.collectProperties(t,o))})},null,!0),{rootProps:o,hostProps:n}}transformStyles(e,t,r){var n=this,o=A(e),i=o.is,s=o.typeExtension,a=te._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,d=new RegExp(f.c+l+f.d),c=ne.get(e),h=c.styleRules,u=c.cssBuild,p=this._elementKeyframeTransforms(e,h,r);return te.elementStyles(e,h,function(e){n.applyProperties(e,t),m.d||N(e)||!e.cssText||(n.applyKeyframeTransforms(e,p),n._scopeSelector(e,d,a,r))},u)}_elementKeyframeTransforms(e,t,r){var n=t._keyframes,o={};if(!m.d&&n)for(var i=0,s=n[i];i-1&&(n.textContent=o),T(n,null,i.placeholder)):o&&(n=b(o,r,null,i.placeholder)),n&&(n._useCount=n._useCount||0,i.customStyle!=n&&n._useCount++,i.customStyle=n),n}applyCustomStyle(e,t){var r=E(e),n=this;e.textContent=S(r,function(e){var r=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(r=s(r),e.cssText=n.valueForProperties(r,t))})}},le={};function de(e){return le[e]||null}function ce(e){var t,r,n,o;le[e]||(le[e]=(t=e,r=document.createComment(" Shady DOM styles for "+t+" "),n=w?w.nextSibling:null,(o=document.head).insertBefore(r,n||o.firstChild),w=r,r))}var he=window.customElements;if(he&&!m.d&&!m.b){var ue=he.define;he.define=((e,t,r)=>{ce(e),ue.call(he,e,t,r)})}var pe=function(){};var me=new RegExp(`${te.SCOPE_NAME}\\s*([^\\s]*)`);function fe(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(me);return t?t[1]:""}function ve(e){var t=O(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var r=t.host;return r?A(r).is:""}function _e(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,`:not(.${te.SCOPE_NAME})`),r=0;r{ge.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Se(document);else{var Ee=()=>{Se(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ee):requestAnimationFrame(function(){if("loading"===document.readyState){document.addEventListener("readystatechange",function e(){Ee(),document.removeEventListener("readystatechange",e)})}else Ee()})}pe=function(){ye(ge.takeRecords())}}var Ne={},Ce="_applyShimCurrentVersion",be="_applyShimNextVersion",we="_applyShimValidatingVersion",Te=Promise.resolve();function De(e){var t=Ne[e];t&&function(e){e[Ce]=e[Ce]||0,e[we]=e[we]||0,e[be]=(e[be]||0)+1}(t)}function Me(e){return e[Ce]===e[be]}function Oe(e){return!Me(e)&&e[we]===e[be]}function Ae(e){e[we]=e[be],e._validating||(e._validating=!0,Te.then(function(){e[Ce]=e[be],e._validating=!1}))}var xe=r(293),Pe=(r(303),{}),Le=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.cache={},this.typeMax=e}_validate(e,t,r){for(var n=0;nthis.typeMax&&o.shift(),this.cache[e]=o}fetch(e,t,r){var n=this.cache[e];if(n)for(var o=n.length-1;o>=0;o--){var i=n[o];if(this._validate(i,t,r))return i}}};class Re{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;var e=new n;e.rules=[],this._documentOwnerStyleInfo=ne.set(this._documentOwner,new ne(e)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}flush(){pe()}_generateScopeSelector(e){return`${e}-${this._scopeCounter[e]=(this._scopeCounter[e]||0)+1}`}getStyleAst(e){return E(e)}styleAstToString(e){return S(e)}_gatherStyles(e){return function(e){for(var t=[],r=e.querySelectorAll("style"),n=0;n{this.transformCustomStyleForDocument(e)}),this._customStyleInterface.validateCallback=(()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})}))}_ensure(){this._ensureApplyShim(),this._ensureCustomStyleInterface()}flushCustomStyles(){if(!m.b&&(this._ensure(),this._customStyleInterface)){var e=this._customStyleInterface.processStyles();this._customStyleInterface.enqueued&&(k(this._documentOwnerStyleInfo.cssBuild)||(m.c?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(e):(this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(e),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}styleElement(e,t){if(m.b){if(t){ne.get(e)||ne.set(e,new ne(null));var r=ne.get(e);this._mixOverrideStyleProps(r,t),this.styleElementNativeVariables(e,r)}}else{var n=ne.get(e)||this._prepareHost(e);n&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(n,t),m.c?this.styleElementNativeVariables(e,n):this.styleElementShimVariables(e,n))}}_mixOverrideStyleProps(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}styleElementShimVariables(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}styleElementNativeVariables(e,t){var r=A(e).is;t.overrideStyleProperties&&Object(xe.c)(e,t.overrideStyleProperties);var n=Ne[r];if((n||this._isRootOwner(e))&&(!n||!R(n))&&n&&n._style&&!Me(n)){if(Oe(n)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(n._styleAst,r),n._style.textContent=te.elementStyles(e,t.styleRules),Ae(n)),m.d){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=te.elementStyles(e,t.styleRules))}}t.styleRules=n._styleAst}}_styleOwnerForNode(e){var t=O(e).getRootNode().host;return t?ne.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}_isRootOwner(e){return e===this._documentOwner}_applyStyleProperties(e,t){var r=A(e).is,n=Le.fetch(r,t.styleProperties,t.ownStylePropertyNames),o=n&&n.scopeSelector,i=n?n.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(r);var a=ae.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m.d||ae.applyElementScopeSelector(e,t.scopeSelector,s),n||Le.store(r,t.styleProperties,a,t.scopeSelector),a}_updateProperties(e,t){var r=this._styleOwnerForNode(e),n=ne.get(r),o=n.styleProperties;r===this._documentOwner||o||(this._updateProperties(r,n),o=n.styleProperties);var i=Object.create(o||null),s=ae.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ae.propertyDataFromStyles(n.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ae.reify(i),t.styleProperties=i}_mixinOverrideStyles(e,t){for(var r in t){var n=t[r];(n||0===n)&&(e[r]=n)}}styleDocument(e){this.styleSubtree(this._documentOwner,e)}styleSubtree(e,t){var r=O(e),n=r.shadowRoot;(n||this._isRootOwner(e))&&this.styleElement(e,t);var o=n&&(n.children||n.childNodes);if(o)for(var i=0;i{m.d?te.normalizeRootSelector(e):te.documentRule(e),m.c&&""===t&&(this._ensure(),this._applyShim&&this._applyShim.transformRule(e))}),m.c?e.textContent=S(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}_revalidateApplyShim(e){if(m.c&&this._applyShim){var t=E(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=S(t)}}getComputedStyleValue(e,t){var r;m.c||(r=(ne.get(e)||ne.get(this._styleOwnerForNode(e))).styleProperties[t]);return(r=r||window.getComputedStyle(e).getPropertyValue(t))?r.trim():""}setElementClass(e,t){var r=O(e).getRootNode(),n=t?t.split(/\s/):[],o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;am.d},nativeCss:{get:()=>m.c}});var ke,He,Ie=new Re;window.ShadyCSS&&(ke=window.ShadyCSS.ApplyShim,He=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Ie,prepareTemplate(e,t,r){Ie.flushCustomStyles(),Ie.prepareTemplate(e,t,r)},prepareTemplateDom(e,t){Ie.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,r){Ie.flushCustomStyles(),Ie.prepareTemplateStyles(e,t,r)},styleSubtree(e,t){Ie.flushCustomStyles(),Ie.styleSubtree(e,t)},styleElement(e){Ie.flushCustomStyles(),Ie.styleElement(e)},styleDocument(e){Ie.flushCustomStyles(),Ie.styleDocument(e)},flushCustomStyles(){Ie.flushCustomStyles()},getComputedStyleValue:(e,t)=>Ie.getComputedStyleValue(e,t),nativeCss:m.c,nativeShadow:m.d,cssBuild:m.a,disableRuntime:m.b},ke&&(window.ShadyCSS.ApplyShim=ke),He&&(window.ShadyCSS.CustomStyleInterface=He)}}]); -//# sourceMappingURL=1.794f9551f735788d27d0.js.map \ No newline at end of file diff --git a/packages/ui/dist/1.794f9551f735788d27d0.js.LICENSE b/packages/ui/dist/1.794f9551f735788d27d0.js.LICENSE deleted file mode 100644 index d3d993db0..000000000 --- a/packages/ui/dist/1.794f9551f735788d27d0.js.LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/1.794f9551f735788d27d0.js.map b/packages/ui/dist/1.794f9551f735788d27d0.js.map deleted file mode 100644 index 5ed741096..000000000 --- a/packages/ui/dist/1.794f9551f735788d27d0.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"1.794f9551f735788d27d0.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/1.9be860c09812a5484a0c.js b/packages/ui/dist/1.9be860c09812a5484a0c.js deleted file mode 100644 index 01031d8cf..000000000 --- a/packages/ui/dist/1.9be860c09812a5484a0c.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 1.9be860c09812a5484a0c.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{268:function(e,t,r){"use strict";r.d(t,"d",function(){return i}),r.d(t,"a",function(){return o}),r.d(t,"b",function(){return a}),r.d(t,"c",function(){return l});var n,o,i=!(window.ShadyDOM&&window.ShadyDOM.inUse);function s(e){n=(!e||!e.shimcssproperties)&&(i||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(o=window.ShadyCSS.cssBuild);var a=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?n=window.ShadyCSS.nativeCss:window.ShadyCSS?(s(window.ShadyCSS),window.ShadyCSS=void 0):s(window.WebComponents&&window.WebComponents.flags);var l=n},281:function(e,t,r){"use strict";r.d(t,"g",function(){return n}),r.d(t,"f",function(){return o}),r.d(t,"h",function(){return i}),r.d(t,"a",function(){return s}),r.d(t,"e",function(){return a}),r.d(t,"b",function(){return l}),r.d(t,"c",function(){return d}),r.d(t,"d",function(){return c});var n=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=/(--[\w-]+)\s*([:,;)]|$)/gi,s=/(animation\s*:)|(animation-name\s*:)/,a=/@media\s(.*)/,l=/\{[^}]*\}/g,d="(?:^|[^.#[:])",c="($|[.:[\\s>+~])"},292:function(e,t,r){"use strict";r.d(t,"c",function(){return o}),r.d(t,"b",function(){return i}),r.d(t,"a",function(){return s});var n=r(281);function o(e,t){for(var r in t)null===r?e.style.removeProperty(r):e.style.setProperty(r,t[r])}function i(e,t){var r=window.getComputedStyle(e).getPropertyValue(t);return r?r.trim():""}function s(e){var t=n.f.test(e)||n.g.test(e);return n.f.lastIndex=0,n.g.lastIndex=0,t}},303:function(e,t,r){"use strict";var n,o=null,i=window.HTMLImports&&window.HTMLImports.whenReady||null;function s(e){requestAnimationFrame(function(){i?i(e):(o||(o=new Promise(e=>{n=e}),"complete"===document.readyState?n():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&n()})),o.then(function(){e&&e()}))})}r.d(t,"a",function(){return h});var a="__seenByShadyCSS",l="__shadyCSSCachedStyle",d=null,c=null;class h{constructor(){this.customStyles=[],this.enqueued=!1,s(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&c&&(this.enqueued=!0,s(c))}addCustomStyle(e){e[a]||(e[a]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[l]?e[l]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;td,set(e){d=e}},validateCallback:{get:()=>c,set(e){var t=!1;c||(t=!0),c=e,t&&this.enqueueDocumentValidation()}}})},314:function(e,t,r){"use strict";class n{constructor(){this.root=null,this.publicRoot=null,this.dirty=!1,this.observer=null,this.assignedNodes=null,this.assignedSlot=null,this._previouslyAssignedNodes=null,this._prevAssignedSlot=null,this.flattenedNodes=null,this.ownerShadyRoot=void 0,this.parentNode=void 0,this.firstChild=void 0,this.lastChild=void 0,this.previousSibling=void 0,this.nextSibling=void 0,this.childNodes=void 0,this.__outsideAccessors=!1,this.__insideAccessors=!1,this.__onCallbackListeners={}}toJSON(){return{}}}function o(e){return e.__shady||(e.__shady=new n),e.__shady}function i(e){return e&&e.__shady}var s=window.ShadyDOM||{};s.hasNativeShadowDOM=Boolean(Element.prototype.attachShadow&&Node.prototype.getRootNode);var a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");s.hasDescriptors=Boolean(a&&a.configurable&&a.get),s.inUse=s.force||!s.hasNativeShadowDOM,s.noPatch=s.noPatch||!1,s.preferPerformance=s.preferPerformance;var l=e=>{var t=i(e);return t&&void 0!==t.firstChild},d=e=>Boolean("ShadyRoot"===e._localName),c=e=>{var t=i(e),r=t&&t.root;return r&&r._hasInsertionPoint()},h=Element.prototype,u=h.matches||h.matchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector||h.webkitMatchesSelector,p=(e,t)=>u.call(e,t),m=document.createTextNode(""),f=0,v=[];new MutationObserver(()=>{for(;v.length;)try{v.shift()()}catch(e){throw m.textContent=f++,e}}).observe(m,{characterData:!0});var _,y=e=>{v.push(e),m.textContent=f++},g=Boolean(document.contains),S=(e,t)=>{for(;t;){if(t==e)return!0;t=t[w+"parentNode"]}return!1},E=e=>e.getAttribute("id")||e.getAttribute("name"),N=e=>"length"!==e&&isNaN(e),C=e=>{for(var t=e.length-1;t>=0;t--){var r=e[t],n=E(r);n&&N(n)&&(e[n]=r)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(N(t)&&e[t])return e[t];for(var r of e){if(E(r)==t)return r}return null},e},b="__shady_native_",w="__shady_",T=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(n&&n.indexOf(o)>=0)){i.configurable=!0;var s=r+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},D=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,e=>{var t={};return Object.getOwnPropertyNames(e).forEach(r=>{t[r]=Object.getOwnPropertyDescriptor(e,r)}),t}),M=[];function O(e){_||(_=!0,y(A)),M.push(e)}function A(){_=!1;for(var e=Boolean(M.length);M.length;)M.shift()();return e}A.list=M;class x{constructor(){this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}schedule(){this._scheduled||(this._scheduled=!0,y(()=>{this.flush()}))}flush(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}takeRecords(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}var P=/[&\u00A0"]/g,L=/[&\u00A0<>]/g;function R(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function k(e){return e.replace(P,R)}function H(e){for(var t={},r=0;r";case Node.TEXT_NODE:var l=e.data;return t&&F[t.localName]?l:function(e){return e.replace(L,R)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function B(e,t){"template"===e.localName&&(e=e.content);for(var r,n="",o=t?t(e):e.childNodes,i=0,s=o.length;i{W[e]=(t=>t[$+e])},K=(e,t)=>{q[e]||(q[e]=t)},G=(e,t)=>{for(var r in T(e,t,$),t)V(r)},z=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0;r{for(var t;t=e[$+"firstChild"];)e[$+"removeChild"](t)},Z=["firstElementChild","lastElementChild","children","childElementCount"],ee=["querySelector","querySelectorAll"],te=D({get childNodes(){return this[w+"childNodes"]},get firstChild(){return this[w+"firstChild"]},get lastChild(){return this[w+"lastChild"]},get textContent(){return this[w+"textContent"]},set textContent(e){this[w+"textContent"]=e},get childElementCount(){return this[w+"childElementCount"]},get children(){return this[w+"children"]},get firstElementChild(){return this[w+"firstElementChild"]},get lastElementChild(){return this[w+"lastElementChild"]},get innerHTML(){return this[w+"innerHTML"]},set innerHTML(e){return this[w+"innerHTML"]=e},get shadowRoot(){return this[w+"shadowRoot"]}}),re=D({get parentElement(){return this[w+"parentElement"]},get parentNode(){return this[w+"parentNode"]},get nextSibling(){return this[w+"nextSibling"]},get previousSibling(){return this[w+"previousSibling"]},get nextElementSibling(){return this[w+"nextElementSibling"]},get previousElementSibling(){return this[w+"previousElementSibling"]},get className(){return this[w+"className"]},set className(e){return this[w+"className"]=e}});for(var ne in te)te[ne].enumerable=!1;for(var oe in re)re[oe].enumerable=!1;var ie,se=s.hasDescriptors||s.noPatch,ae=se?function(){}:function(e){var t=o(e);t.__outsideAccessors||(t.__outsideAccessors=!0,T(e,re))},le=se?function(){}:function(e){var t=o(e);t.__insideAccessors||(t.__insideAccessors=!0,T(e,te))},de=`__eventWrappers${Date.now()}`,ce=(ie=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?e=>ie.get.call(e):null,he={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},ue={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function pe(e){return e instanceof Node?e[w+"getRootNode"]():e}function me(e,t){for(var r=[],n=e,o=pe(e);n;)r.push(n),n=n[w+"assignedSlot"]?n[w+"assignedSlot"]:n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host&&(t||n!==o)?n.host:n[w+"parentNode"];return r[r.length-1]===document&&r.push(window),r}function fe(e,t){if(!d)return e;for(var r,n,o,i,s=me(e,!0),a=t,l=0;l-1)return r}function ve(e){var t=function(t,r){var n=new e(t,r);return n.__composed=r&&Boolean(r.composed),n};return t.__proto__=e,t.prototype=e.prototype,t}var _e={focus:!0,blur:!0};function ye(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function ge(e,t,r){var n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][r];if(n)for(var o,i=0;o=n[i];i++){if(ye(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Se(e){var t,r,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=n.length-1;o>=0;o--)if(ge(e,t=n[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:()=>Event.AT_TARGET});for(var s=0;s-1)return}else t[de]=[];var c=function(o){var s;if(i&&this[w+"removeEventListener"](e,t,r),o.__target||Me(o),a!==this&&(s=Object.getOwnPropertyDescriptor(o,"currentTarget"),Object.defineProperty(o,"currentTarget",{get:()=>a,configurable:!0})),o.__previousCurrentTarget=o.currentTarget,(!d(a)||-1!=o.composedPath().indexOf(a))&&(o.composed||o.composedPath().indexOf(a)>-1)){if(ye(o)&&o.target===o.relatedTarget)return void(o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation());if(!(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a||a instanceof Window))return;var l="function"===n?t.call(a,o):t.handleEvent&&t.handleEvent(o);return a!==this&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget),l}};t[de].push({node:a,type:e,capture:o,once:i,passive:s,wrapperFn:c}),_e[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(c)):this[b+"addEventListener"](e,c,r)}}}function be(e,t,r){if(t){if(ue[e])return this[b+"removeEventListener"](e,t,r);var n,o,i;r&&"object"==typeof r?(n=Boolean(r.capture),o=Boolean(r.once),i=Boolean(r.passive)):(n=Boolean(r),o=!1,i=!1);var s=r&&r.__shadyTarget||this,a=void 0,l=function(e){var t=null;try{t=e[de]}catch(e){}return t}(t);if(l){var d=Ne(l,s,e,n,o,i);d>-1&&(a=l.splice(d,1)[0].wrapperFn,l.length||(t[de]=void 0))}if(this[b+"removeEventListener"](e,a||t,r),a&&_e[e]&&this.__handlers&&this.__handlers[e]){var c=this.__handlers[e][n?"capture":"bubble"],h=c.indexOf(a);h>-1&&c.splice(h,1)}}}var we=D({get composed(){return void 0===this.__composed&&(ce?this.__composed="focusin"===this.type||"focusout"===this.type||ce(this):!1!==this.isTrusted&&(this.__composed=he[this.type])),this.__composed||!1},composedPath(){return this.__composedPath||(this.__composedPath=me(this.__target,this.composed)),this.__composedPath},get target(){return fe(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=me(this.__relatedTarget,!0)),fe(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),Te="__shady_patchedProto",De="__shady_sourceProto";function Me(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,s.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,Te)){var r=Object.create(t);r[De]=t,T(r,we),t[Te]=r}e.__proto__=t[Te]}else T(e,we)}var Oe=ve(Event),Ae=ve(CustomEvent),xe=ve(MouseEvent);var Pe=Object.getOwnPropertyNames(Document.prototype).filter(e=>"on"===e.substring(0,2));function Le(e,t,r){return{index:e,removed:t,addedCount:r}}var Re=0,ke=1,He=2,Ie=3;function Fe(e,t,r,n,o,i){var s,a=0,l=0,d=Math.min(r-t,i-o);if(0==t&&0==o&&(a=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var i=e[t-1][r-1],s=e[t-1][r],a=e[t][r-1],l=void 0;(l=s{var t=o(e);if(void 0===t.firstChild){t.childNodes=null;var r=t.firstChild=e[b+"firstChild"]||null;t.lastChild=e[b+"lastChild"]||null,le(e);for(var n,i=r;i;i=i[b+"nextSibling"]){var s=o(i);s.parentNode=e,s.nextSibling=i[b+"nextSibling"]||null,s.previousSibling=n||null,n=i,ae(i)}}},$e=null;function qe(){return $e||($e=window.ShadyCSS&&window.ShadyCSS.ScopingShim),$e||null}function We(e,t){var r=qe();r&&r.unscopeNode(e,t)}function Ve(e,t,r){qe()&&(r&&We(e,r),function(e,t){var r=qe();r&&r.scopeNode(e,t)}(e,t))}function Ke(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=qe();return t?t.currentScopeForNode(e):""}function Ge(e,t){if(e){e.nodeType===Node.ELEMENT_NODE&&t(e);for(var r,n=e[w+"childNodes"],o=0;o0||this.nodeType===Node.ELEMENT_NODE)&&this[w+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore(e,t){if(this.ownerDocument!==ze&&e.ownerDocument!==ze)return this[b+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var r=i(t),n=r&&r.parentNode;if(void 0!==n&&n!==this||void 0===n&&t[b+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var s,a=[],h=Tt(this),u=h?h.host.localName:Ke(this),p=e[w+"parentNode"];p&&(s=Ke(e),p[w+"removeChild"](e,Boolean(h)||!Tt(e)));var m=!0,f=!(Xe&&void 0!==e.__noInsertionPoint||function e(t,r){var n=qe();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[w+"childNodes"],s=0;o&&s{v&&"slot"===e.localName&&a.push(e),f&&Ve(e,u,s)})),("slot"===this.localName||a.length)&&(a.length&&h._addSlots(a),h&&h._asyncRender()),l(this)){((e,t,r)=>{le(t);var n=o(t);if(void 0!==n.firstChild&&(n.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var i=e[w+"childNodes"],s=0;s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==ze)return this[b+"removeChild"](e);if(e[w+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var n=Tt(e),s=n&&n._removeContainedSlots(e),a=i(this);if(l(this)&&(((e,t)=>{var r=o(e),n=o(t);e===n.firstChild&&(n.firstChild=r.nextSibling),e===n.lastChild&&(n.lastChild=r.previousSibling);var i=r.previousSibling,s=r.nextSibling;i&&(o(i).nextSibling=s),s&&(o(s).previousSibling=i),r.parentNode=r.previousSibling=r.nextSibling=void 0,void 0!==n.childNodes&&(n.childNodes=null)})(e,this),c(this)&&(a.root._asyncRender(),t=!0)),qe()&&!r&&n){var h=Ke(e);Ge(e,e=>{We(e,h)})}if(Ze(e),n){var u=this&&"slot"===this.localName;u&&(t=!0),(s||u)&&n._asyncRender()}if(!t){var p=d(this)?this.host:this;(!a.root&&"slot"!==e.localName||p===e[b+"parentNode"])&&p[b+"removeChild"](e)}return et(this,null,e),e},replaceChild(e,t){return this[w+"insertBefore"](e,t),this[w+"removeChild"](t),e},cloneNode(e){if("template"==this.localName)return this[b+"cloneNode"](e);var t=this[b+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var r,n=this[w+"childNodes"],o=0;oe[w+"getRootNode"]()==n)}return rt(this,function(t){return p(t,e)})}}),at=s.preferPerformance?Object.assign({},it):it;Object.assign(it,st);var lt=D({getElementById(e){return""===e?null:rt(this,function(t){return t.id==e},function(e){return Boolean(e)})[0]||null}});var dt,ct,ht=D({get activeElement(){var e=s.hasDescriptors?document[b+"activeElement"]:document.activeElement;if(!e||!e.nodeType)return null;var t=!!d(this);if(this!==document){if(!t)return null;if(this.host===e||!this.host[b+"contains"](e))return null}for(var r=Tt(e);r&&r!==this;)e=r.host,r=Tt(e);return this===document?r?null:e:r===this?e:null}}),ut=document.implementation.createHTMLDocument("inert"),pt=D({get innerHTML(){return l(this)?B("template"===this.localName?this.content:this,e=>e[w+"childNodes"]):this[b+"innerHTML"]},set innerHTML(e){if("template"===this.localName)this[b+"innerHTML"]=e;else{Qe(this);var t,r,n=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==ut.namespaceURI?ut.createElementNS(this.namespaceURI,n):ut.createElement(n),s.hasDescriptors?t[b+"innerHTML"]=e:t.innerHTML=e;r=t[w+"firstChild"];)this[w+"insertBefore"](r)}}}),mt=D({addEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=this,this.host[w+"addEventListener"](e,t,r)},removeEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=this,this.host[w+"removeEventListener"](e,t,r)}}),ft=(e,t)=>{T(e,mt,t),T(e,ht,t),T(e,pt,t),T(e,it,t),s.noPatch&&!t?(T(e,tt,t),T(e,lt,t)):s.hasDescriptors||(T(e,re),T(e,te))},vt={},_t="__catchall",yt="ShadyRoot",gt="closed",St=s.deferConnectionCallbacks&&"loading"===document.readyState;function Et(e){var t=[];do{t.unshift(e)}while(e=e[w+"parentNode"]);return t}class Nt{constructor(e,t,r){if(e!==vt)throw new TypeError("Illegal constructor");this._localName=yt,this.host=t,this.mode=r&&r.mode,Ue(t);var n=o(t);n.root=this,n.publicRoot=this.mode!==gt?this:null;var i=o(this);if(i.firstChild=i.lastChild=i.parentNode=i.nextSibling=i.previousSibling=null,i.childNodes=[],this._renderPending=!1,this._hasRendered=!1,this._slotList=null,this._slotMap=null,this._pendingSlots=null,s.preferPerformance)for(var a;a=t[b+"firstChild"];)t[b+"removeChild"](a);else this._asyncRender()}_asyncRender(){this._renderPending||(this._renderPending=!0,O(()=>this._render()))}_getPendingDistributionRoot(){for(var e,t=this;t;)t._renderPending&&(e=t),t=t._getDistributionParent();return e}_getDistributionParent(){var e=this.host[w+"getRootNode"]();if(d(e)){var t=i(this.host);return t&&t.__childSlotCount>0?e:void 0}}_render(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}_flushInitial(){!this._hasRendered&&this._renderPending&&this._render()}_renderSelf(){var e=St;if(St=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!s.preferPerformance&&!this._hasRendered)for(var t=this.host[w+"childNodes"],r=0,n=t.length;rs.assignedNodes.length&&(s.dirty=!0)}s.dirty&&(s.dirty=!1,this._fireSlotChange(o))}}_distributeNodeToSlot(e,t){var r=o(e),n=r._prevAssignedSlot;r._prevAssignedSlot=null;var i=t;if(!i){var s=e[w+"slot"]||_t,a=this._slotMap[s];i=a&&a[0]}i?(o(i).assignedNodes.push(e),r.assignedSlot=i):r.assignedSlot=void 0;n!==r.assignedSlot&&r.assignedSlot&&(o(r.assignedSlot).dirty=!0)}_clearSlotAssignedNodes(e){var t=i(e),r=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=r,r)for(var n=0;n{for(var r=Et(e),n=Et(t),o=0;o=0){this._slotList.splice(l,1);var d=i(a[w+"parentNode"]);d&&d.__childSlotCount&&d.__childSlotCount--}s--,this._removeFlattenedNodes(a),t=!0}}return t}}_updateSlotName(e){if(this._slotList){this._validateSlots();var t=e.__slotName,r=this._nameForSlot(e);if(r!==t){var n=this._slotMap[t],o=n.indexOf(e);o>=0&&n.splice(o,1);var i=this._slotMap[r]||(this._slotMap[r]=[]);i.push(e),i.length>1&&(this._slotMap[r]=this._sortSlots(i))}}}_removeFlattenedNodes(e){var t=i(e),r=t.flattenedNodes;if(r)for(var n=0;n{Object.defineProperty(ct,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(e=>{Object.defineProperty(ct,e,{get(){return this.host[e]},configurable:!0})});if(window.customElements&&s.inUse&&!s.preferPerformance){var Ct=new Map;dt=function(){var e=[];Ct.forEach((t,r)=>{e.push([r,t])}),Ct.clear();for(var t=0;t{St=!1,dt()},{once:!0});var bt=(e,t,r)=>{var n=0,o=`__isConnected${n++}`;return(t||r)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){St?Ct.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){St?this.isConnected||Ct.set(this,!1):this[o]&&(this[o]=!1,r&&r.call(this))}),e},wt=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(e,t){var r=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;wt.call(window.customElements,e,bt(t,r,n)),t.prototype.connectedCallback=r,t.prototype.disconnectedCallback=n}})}var Tt=e=>{var t=e[w+"getRootNode"]();if(d(t))return t};class Dt{constructor(e){this.node=e}addEventListener(e,t,r){return this.node[w+"addEventListener"](e,t,r)}removeEventListener(e,t,r){return this.node[w+"removeEventListener"](e,t,r)}appendChild(e){return this.node[w+"appendChild"](e)}insertBefore(e,t){return this.node[w+"insertBefore"](e,t)}removeChild(e){return this.node[w+"removeChild"](e)}replaceChild(e,t){return this.node[w+"replaceChild"](e,t)}cloneNode(e){return this.node[w+"cloneNode"](e)}getRootNode(e){return this.node[w+"getRootNode"](e)}contains(e){return this.node[w+"contains"](e)}dispatchEvent(e){return this.node[w+"dispatchEvent"](e)}setAttribute(e,t){this.node[w+"setAttribute"](e,t)}getAttribute(e){return this.node[b+"getAttribute"](e)}hasAttribute(e){return this.node[b+"hasAttribute"](e)}removeAttribute(e){this.node[w+"removeAttribute"](e)}attachShadow(e){return this.node[w+"attachShadow"](e)}get activeElement(){if(d(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"activeElement"]}get _activeElement(){return this.activeElement}focus(){this.node[b+"focus"]()}blur(){this.node[w+"blur"]()}importNode(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"importNode"](e,t)}getElementById(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"getElementById"](e)}querySelector(e){return this.node[w+"querySelector"](e)}querySelectorAll(e,t){return this.node[w+"querySelectorAll"](e,t)}assignedNodes(e){if("slot"===this.node.localName)return this.node[w+"assignedNodes"](e)}get host(){if(d(this.node))return this.node.host}get parentNode(){return this.node[w+"parentNode"]}get firstChild(){return this.node[w+"firstChild"]}get lastChild(){return this.node[w+"lastChild"]}get nextSibling(){return this.node[w+"nextSibling"]}get previousSibling(){return this.node[w+"previousSibling"]}get childNodes(){return this.node[w+"childNodes"]}get parentElement(){return this.node[w+"parentElement"]}get firstElementChild(){return this.node[w+"firstElementChild"]}get lastElementChild(){return this.node[w+"lastElementChild"]}get nextElementSibling(){return this.node[w+"nextElementSibling"]}get previousElementSibling(){return this.node[w+"previousElementSibling"]}get children(){return this.node[w+"children"]}get childElementCount(){return this.node[w+"childElementCount"]}get shadowRoot(){return this.node[w+"shadowRoot"]}get assignedSlot(){return this.node[w+"assignedSlot"]}get isConnected(){return this.node[w+"isConnected"]}get innerHTML(){return this.node[w+"innerHTML"]}set innerHTML(e){this.node[w+"innerHTML"]=e}get textContent(){return this.node[w+"textContent"]}set textContent(e){this.node[w+"textContent"]=e}get slot(){return this.node[w+"slot"]}set slot(e){this.node[w+"slot"]=e}}Pe.forEach(e=>{Object.defineProperty(Dt.prototype,e,{get(){return this.node[w+e]},set(t){this.node[w+e]=t},configurable:!0})});var Mt=new WeakMap;var Ot=D({dispatchEvent(e){return A(),this[b+"dispatchEvent"](e)},addEventListener:Ce,removeEventListener:be}),At=D({get assignedSlot(){var e=this[w+"parentNode"],t=e&&e[w+"shadowRoot"];t&&t._render();var r=i(this);return r&&r.assignedSlot||null}}),xt=window.document;function Pt(e,t){if("slot"===t){var r=e[w+"parentNode"];c(r)&&i(r).root._asyncRender()}else if("slot"===e.localName&&"name"===t){var n=Tt(e);n&&(n._updateSlotName(e),n._asyncRender())}}var Lt=D({get previousElementSibling(){var e=i(this);if(e&&void 0!==e.previousSibling){for(var t=this[w+"previousSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"previousSibling"];return t}return this[b+"previousElementSibling"]},get nextElementSibling(){var e=i(this);if(e&&void 0!==e.nextSibling){for(var t=this[w+"nextSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"nextSibling"];return t}return this[b+"nextElementSibling"]},get slot(){return this.getAttribute("slot")},set slot(e){this[w+"setAttribute"]("slot",e)},get shadowRoot(){var e=i(this);return e&&e.publicRoot||null},get className(){return this.getAttribute("class")||""},set className(e){this[w+"setAttribute"]("class",e)},setAttribute(e,t){this.ownerDocument!==xt?this[b+"setAttribute"](e,t):function(e,t,r){var n=qe();return!(!n||"class"!==t||(n.setElementClass(e,r),0))}(this,e,t)||(this[b+"setAttribute"](e,t),Pt(this,e))},removeAttribute(e){this[b+"removeAttribute"](e),Pt(this,e)},attachShadow(e){return((e,t)=>{if(!e)throw new Error("Must provide a host.");if(!t)throw new Error("Not enough arguments.");return new Nt(vt,e,t)})(this,e)}}),Rt=D({blur(){var e=i(this),t=e&&e.root,r=t&&t.activeElement;r?r[w+"blur"]():this[b+"blur"]()}});Pe.forEach(e=>{Rt[e]={set:function(t){var r=o(this),n=e.substring(2);r.__onCallbackListeners[e]&&this.removeEventListener(n,r.__onCallbackListeners[e]),this[w+"addEventListener"](n,t),r.__onCallbackListeners[e]=t},get(){var t=i(this);return t&&t.__onCallbackListeners[e]},configurable:!0}});var kt=D({assignedNodes(e){if("slot"===this.localName){var t=this[w+"getRootNode"]();t&&d(t)&&t._render();var r=i(this);return r&&(e&&e.flatten?r.flattenedNodes:r.assignedNodes)||[]}}}),Ht=window.document,It=D({importNode(e,t){if(e.ownerDocument!==Ht||"template"===e.localName)return this[b+"importNode"](e,t);var r=this[b+"importNode"](e,!1);if(t)for(var n,o=e[w+"childNodes"],i=0;i{var t=e?null:$t,r=function(r){var n=(e=>window[e]&&window[e].prototype)(r);Ut[r].forEach(r=>n&&r&&T(n,r,e,t))};for(var n in Ut)r(n)};if(s.inUse){var Wt={inUse:s.inUse,patch:e=>(le(e),ae(e),e),isShadyRoot:d,enqueue:O,flush:A,flushInitial:e=>{e._flushInitial()},settings:s,filterMutations:function(e,t){var r=t.getRootNode();return e.map(function(e){var t=r===e.target.getRootNode();if(t&&e.addedNodes){var n=Array.from(e.addedNodes).filter(function(e){return r===e.getRootNode()});if(n.length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:n,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){var r=o(e);r.observer||(r.observer=new x),r.observer.callbacks.add(t);var n=r.observer;return{_callback:t,_observer:n,_node:e,takeRecords:()=>n.takeRecords()}},unobserveChildren:function(e){var t=e&&e._observer;t&&(t.callbacks.delete(e._callback),t.callbacks.size||(o(e._node).observer=null))},deferConnectionCallbacks:s.deferConnectionCallbacks,preferPerformance:s.preferPerformance,handlesDynamicScoping:!0,wrap:s.noPatch?function(e){if(d(e)||e instanceof Dt)return e;var t=Mt.get(e);return t||(t=new Dt(e),Mt.set(e,t)),t}:e=>e,Wrapper:Dt,composedPath:e=>(e.__composedPath||(e.__composedPath=me(e.target,!0)),e.__composedPath),noPatch:s.noPatch,nativeMethods:q,nativeTree:W};window.ShadyDOM=Wt,(()=>{var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?z(window.EventTarget.prototype,e):(z(Node.prototype,e),z(Window.prototype,e)),U?z(Node.prototype,["parentNode","firstChild","lastChild","previousSibling","nextSibling","childNodes","parentElement","textContent"]):G(Node.prototype,{parentNode:{get(){return X.currentNode=this,X.parentNode()}},firstChild:{get(){return X.currentNode=this,X.firstChild()}},lastChild:{get(){return X.currentNode=this,X.lastChild()}},previousSibling:{get(){return X.currentNode=this,X.previousSibling()}},nextSibling:{get(){return X.currentNode=this,X.nextSibling()}},childNodes:{get(){var e=[];X.currentNode=this;for(var t=X.firstChild();t;)e.push(t),t=X.nextSibling();return e}},parentElement:{get(){return Y.currentNode=this,Y.parentNode()}},textContent:{get(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),r="";e=t.nextNode();)r+=e.nodeValue;return r;default:return this.nodeValue}},set(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Q(this),(e.length>0||this.nodeType===Node.ELEMENT_NODE)&&this[$+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),z(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get(){return Y.currentNode=this,Y.firstChild()}},lastElementChild:{get(){return Y.currentNode=this,Y.lastChild()}},children:{get(){var e=[];Y.currentNode=this;for(var t=Y.firstChild();t;)e.push(t),t=Y.nextSibling();return C(e)}},childElementCount:{get(){return this.children?this.children.length:0}}};U?(z(Element.prototype,Z),z(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&z(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&z(HTMLElement.prototype,["innerHTML"])):(G(Element.prototype,t),G(Element.prototype,{previousElementSibling:{get(){return Y.currentNode=this,Y.previousSibling()}},nextElementSibling:{get(){return Y.currentNode=this,Y.nextSibling()}},innerHTML:{get(){return B(this,e=>e[$+"childNodes"])},set(e){var t="template"===this.localName?this.content:this;Q(t);var r,n=this.localName||"div";(r=this.namespaceURI&&this.namespaceURI!==J.namespaceURI?J.createElementNS(this.namespaceURI,n):J.createElement(n)).innerHTML=e;for(var o,i="template"===this.localName?r.content:r;o=i[$+"firstChild"];)t[$+"insertBefore"](o,void 0)}}})),z(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),z(Element.prototype,ee),z(HTMLElement.prototype,["focus","blur","contains"]),U&&z(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&z(window.HTMLTemplateElement.prototype,["innerHTML"]),U?z(DocumentFragment.prototype,Z):G(DocumentFragment.prototype,t),z(DocumentFragment.prototype,ee),U?(z(Document.prototype,Z),z(Document.prototype,["activeElement"])):G(Document.prototype,t),z(Document.prototype,["importNode","getElementById"]),z(Document.prototype,ee)})(),(()=>{qt(w);var e=ht.activeElement;Object.defineProperty(document,"_activeElement",e),T(Window.prototype,Ft,w)})(),s.noPatch||(qt(),function(){if(!ce&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[w+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in _e)window[b+"addEventListener"](e,function(e){e.__target||(Me(e),Se(e))},!0)}(),window.Event=Oe,window.CustomEvent=Ae,window.MouseEvent=xe,window.ShadowRoot=Nt}},317:function(e,t,r){"use strict";var n=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function o(e){var t=n.has(e),r=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&r}function i(e){var t=e.isConnected;if(void 0!==t)return t;for(var r=e;r&&!(r.__CE_isImportDocument||r instanceof Document);)r=r.parentNode||(window.ShadowRoot&&r instanceof ShadowRoot?r.host:void 0);return!(!r||!(r.__CE_isImportDocument||r instanceof Document))}function s(e,t){for(var r=t;r&&r!==e&&!r.nextSibling;)r=r.parentNode;return r&&r!==e?r.nextSibling:null}function a(e,t){return t.firstChild?t.firstChild:s(e,t)}function l(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,n=e;n;){if(n.nodeType===Node.ELEMENT_NODE){var o=n;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var d=o.import;if(d instanceof Node&&!r.has(d)){r.add(d);for(var c=d.firstChild;c;c=c.nextSibling)l(c,t,r)}n=s(e,o);continue}if("template"===i){n=s(e,o);continue}var h=o.__CE_shadowRoot;if(h)for(var u=h.firstChild;u;u=u.nextSibling)l(u,t,r)}n=a(e,n)}}function d(e,t,r){e[t]=r}var c={custom:1,failed:2};class h{constructor(){this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}setDefinition(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}localNameToDefinition(e){return this._localNameToDefinition.get(e)}constructorToDefinition(e){return this._constructorToDefinition.get(e)}addPatch(e){this._hasPatches=!0,this._patches.push(e)}patchTree(e){this._hasPatches&&l(e,e=>this.patch(e))}patch(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;tt.push(e));for(var r=0;rt.push(e));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.visitedImports||new Set,n=t.upgrade||(e=>this.upgradeElement(e)),o=[];if(l(e,e=>{if("link"===e.localName&&"import"===e.getAttribute("rel")){var t=e.import;t instanceof Node&&(t.__CE_isImportDocument=!0,t.__CE_hasRegistry=!0),t&&"complete"===t.readyState?t.__CE_documentLoadHandled=!0:e.addEventListener("load",()=>{var t=e.import;if(!t.__CE_documentLoadHandled){t.__CE_documentLoadHandled=!0;var o=new Set(r);o.delete(t),this.patchAndUpgradeTree(t,{visitedImports:o,upgrade:n})}})}else o.push(e)},r),this._hasPatches)for(var i=0;i-1&&i.attributeChangedCallback.call(e,t,r,n,o)}}class u{constructor(e,t){this._internals=e,this._document=t,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}disconnect(){this._observer&&this._observer.disconnect()}_handleMutations(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var r=0;r{this._resolve=e,this._value&&e(this._value)})}resolve(e){if(this._value)throw new Error("Already resolved.");this._value=e,this._resolve&&this._resolve(e)}toPromise(){return this._promise}}class m{constructor(e){this._elementDefinitionIsRunning=!1,this._internals=e,this._whenDefinedDeferred=new Map,this._flushCallback=(e=>e()),this._flushPending=!1,this._pendingDefinitions=[],this._documentConstructionObserver=new u(e,document)}define(e,t){if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!o(e))throw new SyntaxError(`The element name '${e}' is not valid.`);if(this._internals.localNameToDefinition(e))throw new Error(`A custom element with name '${e}' has already been defined.`);if(this._elementDefinitionIsRunning)throw new Error("A custom element is already being defined.");var r,n,i,s,a;this._elementDefinitionIsRunning=!0;try{var l=t.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");function d(e){var t=l[e];if(void 0!==t&&!(t instanceof Function))throw new Error(`The '${e}' callback must be a function.`);return t}r=d("connectedCallback"),n=d("disconnectedCallback"),i=d("adoptedCallback"),s=d("attributeChangedCallback"),a=t.observedAttributes||[]}catch(e){return}finally{this._elementDefinitionIsRunning=!1}var c={localName:e,constructorFunction:t,connectedCallback:r,disconnectedCallback:n,adoptedCallback:i,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]};this._internals.setDefinition(e,c),this._pendingDefinitions.push(c),this._flushPending||(this._flushPending=!0,this._flushCallback(()=>this._flush()))}upgrade(e){this._internals.patchAndUpgradeTree(e)}_flush(){if(!1!==this._flushPending){this._flushPending=!1;for(var e=this._pendingDefinitions,t=[],r=new Map,n=0;n{if(void 0===e.__CE_state){var n=e.localName,o=r.get(n);o?o.push(e):this._internals.localNameToDefinition(n)&&t.push(e)}}});for(var o=0;o0;){for(var i=e.shift(),s=i.localName,a=r.get(i.localName),l=0;lt.localName===e)&&r.resolve(void 0),r.toPromise()}polyfillWrapFlushCallback(e){this._documentConstructionObserver.disconnect();var t=this._flushCallback;this._flushCallback=(r=>e(()=>t(r)))}}window.CustomElementRegistry=m,m.prototype.define=m.prototype.define,m.prototype.upgrade=m.prototype.upgrade,m.prototype.get=m.prototype.get,m.prototype.whenDefined=m.prototype.whenDefined,m.prototype.polyfillWrapFlushCallback=m.prototype.polyfillWrapFlushCallback;var f={Document_createElement:window.Document.prototype.createElement,Document_createElementNS:window.Document.prototype.createElementNS,Document_importNode:window.Document.prototype.importNode,Document_prepend:window.Document.prototype.prepend,Document_append:window.Document.prototype.append,DocumentFragment_prepend:window.DocumentFragment.prototype.prepend,DocumentFragment_append:window.DocumentFragment.prototype.append,Node_cloneNode:window.Node.prototype.cloneNode,Node_appendChild:window.Node.prototype.appendChild,Node_insertBefore:window.Node.prototype.insertBefore,Node_removeChild:window.Node.prototype.removeChild,Node_replaceChild:window.Node.prototype.replaceChild,Node_textContent:Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Element_attachShadow:window.Element.prototype.attachShadow,Element_innerHTML:Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Element_getAttribute:window.Element.prototype.getAttribute,Element_setAttribute:window.Element.prototype.setAttribute,Element_removeAttribute:window.Element.prototype.removeAttribute,Element_getAttributeNS:window.Element.prototype.getAttributeNS,Element_setAttributeNS:window.Element.prototype.setAttributeNS,Element_removeAttributeNS:window.Element.prototype.removeAttributeNS,Element_insertAdjacentElement:window.Element.prototype.insertAdjacentElement,Element_insertAdjacentHTML:window.Element.prototype.insertAdjacentHTML,Element_prepend:window.Element.prototype.prepend,Element_append:window.Element.prototype.append,Element_before:window.Element.prototype.before,Element_after:window.Element.prototype.after,Element_replaceWith:window.Element.prototype.replaceWith,Element_remove:window.Element.prototype.remove,HTMLElement:window.HTMLElement,HTMLElement_innerHTML:Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),HTMLElement_insertAdjacentElement:window.HTMLElement.prototype.insertAdjacentElement,HTMLElement_insertAdjacentHTML:window.HTMLElement.prototype.insertAdjacentHTML};var v,_=new class{},y=function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a0&&i(this)){n=new Array(s);for(var a=0;a{e!==this&&o.push(e)})),r.set.call(this,t),o)for(var s=0;s0;)f.Node_removeChild.call(r,r.childNodes[0]);for(var o=t?n.content:n;o.childNodes.length>0;)f.Node_appendChild.call(r,o.childNodes[0])}})}),d(Element.prototype,"setAttribute",function(t,r){if(this.__CE_state!==c.custom)return f.Element_setAttribute.call(this,t,r);var n=f.Element_getAttribute.call(this,t);f.Element_setAttribute.call(this,t,r),r=f.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,n,r,null)}),d(Element.prototype,"setAttributeNS",function(t,r,n){if(this.__CE_state!==c.custom)return f.Element_setAttributeNS.call(this,t,r,n);var o=f.Element_getAttributeNS.call(this,t,r);f.Element_setAttributeNS.call(this,t,r,n),n=f.Element_getAttributeNS.call(this,t,r),e.attributeChangedCallback(this,r,o,n,t)}),d(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==c.custom)return f.Element_removeAttribute.call(this,t);var r=f.Element_getAttribute.call(this,t);f.Element_removeAttribute.call(this,t),null!==r&&e.attributeChangedCallback(this,t,r,null,null)}),d(Element.prototype,"removeAttributeNS",function(t,r){if(this.__CE_state!==c.custom)return f.Element_removeAttributeNS.call(this,t,r);var n=f.Element_getAttributeNS.call(this,t,r);f.Element_removeAttributeNS.call(this,t,r);var o=f.Element_getAttributeNS.call(this,t,r);n!==o&&e.attributeChangedCallback(this,r,n,o,t)}),f.HTMLElement_insertAdjacentElement?r(HTMLElement.prototype,f.HTMLElement_insertAdjacentElement):f.Element_insertAdjacentElement?r(Element.prototype,f.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),f.HTMLElement_insertAdjacentHTML?n(HTMLElement.prototype,f.HTMLElement_insertAdjacentHTML):f.Element_insertAdjacentHTML?n(Element.prototype,f.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),y(e,Element.prototype,{prepend:f.Element_prepend,append:f.Element_append}),function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a2&&void 0!==arguments[2]?arguments[2]:"",n="";if(e.cssText||e.rules){var o=e.rules;if(o&&!function(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(h)}(o))for(var a,u=0,p=o.length;ue);function A(e){var t=e.localName,r="",n="";return t?t.indexOf("-")>-1?r=t:(n=t,r=e.getAttribute&&e.getAttribute("is")||""):(r=e.is,n=e.extends),{is:r,typeExtension:n}}function x(e){for(var t=[],r="",n=0;n>=0&&n0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!m.c)&&(m.d?"shadow"===e:"shady"===e)}var H="style-scope";var I=/:(nth[-\w]+)\(([^)]+)\)/,F=`:not(.${H})`,j=",",B=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,U=/[[.:#*]/,$=":host",q=":root",W="::slotted",V=new RegExp(`^(${W})`),K=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,G=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,z=/(.*):dir\((?:(ltr|rtl))\)/,X=".",Y=":",J="class",Q="should_not_match",Z=/:(?:matches|any|-(?:webkit|moz)-any)/,ee="",te=new class{get SCOPE_NAME(){return H}dom(e,t,r){this._transformDom(e,e=>{this.element(e,t||"",r)})}domAddScope(e,t){this._transformDom(e,e=>{this.element(e,t||"")})}_transformDom(e,t){var r;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var n=e;r=(n.content||n._content||n).childNodes}else r=e.children||e.childNodes;if(r)for(var o=0;o{this.element(e,t,!0),this.element(e,r)})}domRemoveScope(e,t){this._transformDom(e,e=>{this.element(e,t||"",!0)})}elementStyles(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m.d||"shady"===n)o=S(t,r);else{var i=A(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,r)+"\n\n"}return o.trim()}css(e,t,r,n){var o=this._calcHostScope(t,r);t=this._calcElementScope(t);var i=this;return S(e,function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),n&&n(e,t,o)})}_calcElementScope(e){return e?X+e:""}_calcHostScope(e,t){return t?`[is=${e}]`:e}rule(e,t,r){this._transformRule(e,this._transformComplexSelector,t,r)}_transformRule(e,t,r,n){e.selector=e.transformedSelector=this._transformRuleCss(e,t,r,n)}_transformRuleCss(e,t,r,n){var o=x(e.selector);if(!N(e))for(var i,s=0,a=o.length;sBoolean(e)).join(j)}_twiddleNthPlus(e){return e.replace(I,(e,t,r)=>(r.indexOf("+")>-1?r=r.replace(/\+/g,"___"):r.indexOf("___")>-1&&(r=r.replace(/___/g,"+")),`:${t}(${r})`))}_preserveMatchesPseudo(e){for(var t,r=[];t=e.match(Z);){var n=t.index,o=D(e,n);if(-1===o)throw new Error(`${t.input} selector missing ')'`);var i=e.slice(n,o+1);e=e.replace(i,ee),r.push(i)}return{selector:e,matches:r}}_replaceMatchesPseudo(e,t){var r=e.split(ee);return t.reduce((e,t,n)=>e+t+r[n+1],r[0])}_transformComplexSelector(e,t,r){var n=!1;e=e.trim();var o=I.test(e);o&&(e=e.replace(I,(e,t,r)=>`:${t}(${r.replace(/\s/g,"")})`),e=this._twiddleNthPlus(e));var i,s=Z.test(e);if(s){var a=this._preserveMatchesPseudo(e);e=a.selector,i=a.matches}return e=(e=e.replace(V,`${$} $1`)).replace(B,(e,o,i)=>{if(!n){var s=this._transformCompoundSelector(i,o,t,r);n=n||s.stop,o=s.combinator,i=s.value}return o+i}),s&&(e=this._replaceMatchesPseudo(e,i)),o&&(e=this._twiddleNthPlus(e)),e}_transformCompoundSelector(e,t,r,n){var o=e.indexOf(W);e.indexOf($)>=0?e=this._transformHostSelector(e,n):0!==o&&(e=r?this._transformSimpleSelector(e,r):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(G,(e,t)=>` > ${t}`))),{value:e=e.replace(z,(e,t,r)=>`[dir="${r}"] ${t}, ${t}[dir="${r}"]`),combinator:t,stop:i}}_transformSimpleSelector(e,t){for(var r=e.split(/(\[.+?\])/),n=[],o=0;o=0)e=this.valueForProperties(e,t);else{var r=this;e=function e(t,r){var n=t.indexOf("var(");if(-1===n)return r(t,"","","");var o=D(t,n+3),i=t.substring(n+4,o),s=t.substring(0,n),a=e(t.substring(o+1),r),l=i.indexOf(",");return-1===l?r(s,i.trim(),"",a):r(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,function(e,n,o,i){if(!n)return e+i;var s=r.valueForProperty(t[n],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=r.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}valueForProperties(e,t){for(var r,n,o=e.split(";"),i=0;i{e.propertyInfo||this.decorateRule(e);var o=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&o&&oe.call(t,o)&&(this.collectProperties(e,r),function(e,t){var r=parseInt(e/32,10),n=1< *"===l||"html"===l,c=0===l.indexOf(":host")&&!d;if("shady"===r&&(c=!(d=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),d||c){var h=a;c&&(t.transformedSelector||(t.transformedSelector=te._transformRuleCss(t,te._transformComplexSelector,te._calcElementScope(i),a)),h=t.transformedSelector||a),n({selector:h,isHost:c,isRoot:d})}}}hostAndRootPropertiesForScope(e,t,r){var n={},o={};return C(t,t=>{this.whenHostOrRootRule(e,t,r,r=>{var i=e._element||e;oe.call(i,r.selector)&&(r.isHost?this.collectProperties(t,n):this.collectProperties(t,o))})},null,!0),{rootProps:o,hostProps:n}}transformStyles(e,t,r){var n=this,o=A(e),i=o.is,s=o.typeExtension,a=te._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,d=new RegExp(f.c+l+f.d),c=ne.get(e),h=c.styleRules,u=c.cssBuild,p=this._elementKeyframeTransforms(e,h,r);return te.elementStyles(e,h,function(e){n.applyProperties(e,t),m.d||N(e)||!e.cssText||(n.applyKeyframeTransforms(e,p),n._scopeSelector(e,d,a,r))},u)}_elementKeyframeTransforms(e,t,r){var n=t._keyframes,o={};if(!m.d&&n)for(var i=0,s=n[i];i-1&&(n.textContent=o),T(n,null,i.placeholder)):o&&(n=b(o,r,null,i.placeholder)),n&&(n._useCount=n._useCount||0,i.customStyle!=n&&n._useCount++,i.customStyle=n),n}applyCustomStyle(e,t){var r=E(e),n=this;e.textContent=S(r,function(e){var r=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(r=s(r),e.cssText=n.valueForProperties(r,t))})}},le={};function de(e){return le[e]||null}function ce(e){var t,r,n,o;le[e]||(le[e]=(t=e,r=document.createComment(" Shady DOM styles for "+t+" "),n=w?w.nextSibling:null,(o=document.head).insertBefore(r,n||o.firstChild),w=r,r))}var he=window.customElements;if(he&&!m.d&&!m.b){var ue=he.define;he.define=((e,t,r)=>{ce(e),ue.call(he,e,t,r)})}var pe=function(){};var me=new RegExp(`${te.SCOPE_NAME}\\s*([^\\s]*)`);function fe(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(me);return t?t[1]:""}function ve(e){var t=O(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var r=t.host;return r?A(r).is:""}function _e(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,`:not(.${te.SCOPE_NAME})`),r=0;r{ge.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Se(document);else{var Ee=()=>{Se(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ee):requestAnimationFrame(function(){if("loading"===document.readyState){document.addEventListener("readystatechange",function e(){Ee(),document.removeEventListener("readystatechange",e)})}else Ee()})}pe=function(){ye(ge.takeRecords())}}var Ne={},Ce="_applyShimCurrentVersion",be="_applyShimNextVersion",we="_applyShimValidatingVersion",Te=Promise.resolve();function De(e){var t=Ne[e];t&&function(e){e[Ce]=e[Ce]||0,e[we]=e[we]||0,e[be]=(e[be]||0)+1}(t)}function Me(e){return e[Ce]===e[be]}function Oe(e){return!Me(e)&&e[we]===e[be]}function Ae(e){e[we]=e[be],e._validating||(e._validating=!0,Te.then(function(){e[Ce]=e[be],e._validating=!1}))}var xe=r(292),Pe=(r(303),{}),Le=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.cache={},this.typeMax=e}_validate(e,t,r){for(var n=0;nthis.typeMax&&o.shift(),this.cache[e]=o}fetch(e,t,r){var n=this.cache[e];if(n)for(var o=n.length-1;o>=0;o--){var i=n[o];if(this._validate(i,t,r))return i}}};class Re{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;var e=new n;e.rules=[],this._documentOwnerStyleInfo=ne.set(this._documentOwner,new ne(e)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}flush(){pe()}_generateScopeSelector(e){return`${e}-${this._scopeCounter[e]=(this._scopeCounter[e]||0)+1}`}getStyleAst(e){return E(e)}styleAstToString(e){return S(e)}_gatherStyles(e){return function(e){for(var t=[],r=e.querySelectorAll("style"),n=0;n{this.transformCustomStyleForDocument(e)}),this._customStyleInterface.validateCallback=(()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})}))}_ensure(){this._ensureApplyShim(),this._ensureCustomStyleInterface()}flushCustomStyles(){if(!m.b&&(this._ensure(),this._customStyleInterface)){var e=this._customStyleInterface.processStyles();this._customStyleInterface.enqueued&&(k(this._documentOwnerStyleInfo.cssBuild)||(m.c?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(e):(this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(e),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}styleElement(e,t){if(m.b){if(t){ne.get(e)||ne.set(e,new ne(null));var r=ne.get(e);this._mixOverrideStyleProps(r,t),this.styleElementNativeVariables(e,r)}}else{var n=ne.get(e)||this._prepareHost(e);n&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(n,t),m.c?this.styleElementNativeVariables(e,n):this.styleElementShimVariables(e,n))}}_mixOverrideStyleProps(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}styleElementShimVariables(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}styleElementNativeVariables(e,t){var r=A(e).is;t.overrideStyleProperties&&Object(xe.c)(e,t.overrideStyleProperties);var n=Ne[r];if((n||this._isRootOwner(e))&&(!n||!R(n))&&n&&n._style&&!Me(n)){if(Oe(n)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(n._styleAst,r),n._style.textContent=te.elementStyles(e,t.styleRules),Ae(n)),m.d){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=te.elementStyles(e,t.styleRules))}}t.styleRules=n._styleAst}}_styleOwnerForNode(e){var t=O(e).getRootNode().host;return t?ne.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}_isRootOwner(e){return e===this._documentOwner}_applyStyleProperties(e,t){var r=A(e).is,n=Le.fetch(r,t.styleProperties,t.ownStylePropertyNames),o=n&&n.scopeSelector,i=n?n.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(r);var a=ae.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m.d||ae.applyElementScopeSelector(e,t.scopeSelector,s),n||Le.store(r,t.styleProperties,a,t.scopeSelector),a}_updateProperties(e,t){var r=this._styleOwnerForNode(e),n=ne.get(r),o=n.styleProperties;r===this._documentOwner||o||(this._updateProperties(r,n),o=n.styleProperties);var i=Object.create(o||null),s=ae.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ae.propertyDataFromStyles(n.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ae.reify(i),t.styleProperties=i}_mixinOverrideStyles(e,t){for(var r in t){var n=t[r];(n||0===n)&&(e[r]=n)}}styleDocument(e){this.styleSubtree(this._documentOwner,e)}styleSubtree(e,t){var r=O(e),n=r.shadowRoot;(n||this._isRootOwner(e))&&this.styleElement(e,t);var o=n&&(n.children||n.childNodes);if(o)for(var i=0;i{m.d?te.normalizeRootSelector(e):te.documentRule(e),m.c&&""===t&&(this._ensure(),this._applyShim&&this._applyShim.transformRule(e))}),m.c?e.textContent=S(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}_revalidateApplyShim(e){if(m.c&&this._applyShim){var t=E(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=S(t)}}getComputedStyleValue(e,t){var r;m.c||(r=(ne.get(e)||ne.get(this._styleOwnerForNode(e))).styleProperties[t]);return(r=r||window.getComputedStyle(e).getPropertyValue(t))?r.trim():""}setElementClass(e,t){var r=O(e).getRootNode(),n=t?t.split(/\s/):[],o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;am.d},nativeCss:{get:()=>m.c}});var ke,He,Ie=new Re;window.ShadyCSS&&(ke=window.ShadyCSS.ApplyShim,He=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Ie,prepareTemplate(e,t,r){Ie.flushCustomStyles(),Ie.prepareTemplate(e,t,r)},prepareTemplateDom(e,t){Ie.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,r){Ie.flushCustomStyles(),Ie.prepareTemplateStyles(e,t,r)},styleSubtree(e,t){Ie.flushCustomStyles(),Ie.styleSubtree(e,t)},styleElement(e){Ie.flushCustomStyles(),Ie.styleElement(e)},styleDocument(e){Ie.flushCustomStyles(),Ie.styleDocument(e)},flushCustomStyles(){Ie.flushCustomStyles()},getComputedStyleValue:(e,t)=>Ie.getComputedStyleValue(e,t),nativeCss:m.c,nativeShadow:m.d,cssBuild:m.a,disableRuntime:m.b},ke&&(window.ShadyCSS.ApplyShim=ke),He&&(window.ShadyCSS.CustomStyleInterface=He)}}]); -//# sourceMappingURL=1.9be860c09812a5484a0c.js.map \ No newline at end of file diff --git a/packages/ui/dist/1.9be860c09812a5484a0c.js.LICENSE b/packages/ui/dist/1.9be860c09812a5484a0c.js.LICENSE deleted file mode 100644 index d3d993db0..000000000 --- a/packages/ui/dist/1.9be860c09812a5484a0c.js.LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/1.9be860c09812a5484a0c.js.map b/packages/ui/dist/1.9be860c09812a5484a0c.js.map deleted file mode 100644 index 6ac8631a5..000000000 --- a/packages/ui/dist/1.9be860c09812a5484a0c.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"1.9be860c09812a5484a0c.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/1.a6a64c653a8d5b027d77.js b/packages/ui/dist/1.a6a64c653a8d5b027d77.js deleted file mode 100644 index 4510108e5..000000000 --- a/packages/ui/dist/1.a6a64c653a8d5b027d77.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 1.a6a64c653a8d5b027d77.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{283:function(e,t,r){"use strict";r.d(t,"d",function(){return i}),r.d(t,"a",function(){return o}),r.d(t,"b",function(){return a}),r.d(t,"c",function(){return l});var n,o,i=!(window.ShadyDOM&&window.ShadyDOM.inUse);function s(e){n=(!e||!e.shimcssproperties)&&(i||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(o=window.ShadyCSS.cssBuild);var a=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?n=window.ShadyCSS.nativeCss:window.ShadyCSS?(s(window.ShadyCSS),window.ShadyCSS=void 0):s(window.WebComponents&&window.WebComponents.flags);var l=n},313:function(e,t,r){"use strict";r.d(t,"g",function(){return n}),r.d(t,"f",function(){return o}),r.d(t,"h",function(){return i}),r.d(t,"a",function(){return s}),r.d(t,"e",function(){return a}),r.d(t,"b",function(){return l}),r.d(t,"c",function(){return d}),r.d(t,"d",function(){return c});var n=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=/(--[\w-]+)\s*([:,;)]|$)/gi,s=/(animation\s*:)|(animation-name\s*:)/,a=/@media\s(.*)/,l=/\{[^}]*\}/g,d="(?:^|[^.#[:])",c="($|[.:[\\s>+~])"},344:function(e,t,r){"use strict";r.d(t,"c",function(){return o}),r.d(t,"b",function(){return i}),r.d(t,"a",function(){return s});var n=r(313);function o(e,t){for(var r in t)null===r?e.style.removeProperty(r):e.style.setProperty(r,t[r])}function i(e,t){var r=window.getComputedStyle(e).getPropertyValue(t);return r?r.trim():""}function s(e){var t=n.f.test(e)||n.g.test(e);return n.f.lastIndex=0,n.g.lastIndex=0,t}},366:function(e,t,r){"use strict";var n,o=null,i=window.HTMLImports&&window.HTMLImports.whenReady||null;function s(e){requestAnimationFrame(function(){i?i(e):(o||(o=new Promise(e=>{n=e}),"complete"===document.readyState?n():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&n()})),o.then(function(){e&&e()}))})}r.d(t,"a",function(){return h});var a="__seenByShadyCSS",l="__shadyCSSCachedStyle",d=null,c=null;class h{constructor(){this.customStyles=[],this.enqueued=!1,s(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&c&&(this.enqueued=!0,s(c))}addCustomStyle(e){e[a]||(e[a]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[l]?e[l]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;td,set(e){d=e}},validateCallback:{get:()=>c,set(e){var t=!1;c||(t=!0),c=e,t&&this.enqueueDocumentValidation()}}})},410:function(e,t,r){"use strict";class n{constructor(){this.root=null,this.publicRoot=null,this.dirty=!1,this.observer=null,this.assignedNodes=null,this.assignedSlot=null,this._previouslyAssignedNodes=null,this._prevAssignedSlot=null,this.flattenedNodes=null,this.ownerShadyRoot=void 0,this.parentNode=void 0,this.firstChild=void 0,this.lastChild=void 0,this.previousSibling=void 0,this.nextSibling=void 0,this.childNodes=void 0,this.__outsideAccessors=!1,this.__insideAccessors=!1,this.__onCallbackListeners={}}toJSON(){return{}}}function o(e){return e.__shady||(e.__shady=new n),e.__shady}function i(e){return e&&e.__shady}var s=window.ShadyDOM||{};s.hasNativeShadowDOM=Boolean(Element.prototype.attachShadow&&Node.prototype.getRootNode);var a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");s.hasDescriptors=Boolean(a&&a.configurable&&a.get),s.inUse=s.force||!s.hasNativeShadowDOM,s.noPatch=s.noPatch||!1,s.preferPerformance=s.preferPerformance;var l=e=>{var t=i(e);return t&&void 0!==t.firstChild},d=e=>Boolean("ShadyRoot"===e._localName),c=e=>{var t=i(e),r=t&&t.root;return r&&r._hasInsertionPoint()},h=Element.prototype,u=h.matches||h.matchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector||h.webkitMatchesSelector,p=(e,t)=>u.call(e,t),m=document.createTextNode(""),f=0,v=[];new MutationObserver(()=>{for(;v.length;)try{v.shift()()}catch(e){throw m.textContent=f++,e}}).observe(m,{characterData:!0});var _,y=e=>{v.push(e),m.textContent=f++},g=Boolean(document.contains),S=(e,t)=>{for(;t;){if(t==e)return!0;t=t[w+"parentNode"]}return!1},E=e=>e.getAttribute("id")||e.getAttribute("name"),N=e=>"length"!==e&&isNaN(e),C=e=>{for(var t=e.length-1;t>=0;t--){var r=e[t],n=E(r);n&&N(n)&&(e[n]=r)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(N(t)&&e[t])return e[t];for(var r of e){if(E(r)==t)return r}return null},e},b="__shady_native_",w="__shady_",T=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(n&&n.indexOf(o)>=0)){i.configurable=!0;var s=r+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},D=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,e=>{var t={};return Object.getOwnPropertyNames(e).forEach(r=>{t[r]=Object.getOwnPropertyDescriptor(e,r)}),t}),M=[];function O(e){_||(_=!0,y(A)),M.push(e)}function A(){_=!1;for(var e=Boolean(M.length);M.length;)M.shift()();return e}A.list=M;class x{constructor(){this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}schedule(){this._scheduled||(this._scheduled=!0,y(()=>{this.flush()}))}flush(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}takeRecords(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}var P=/[&\u00A0"]/g,L=/[&\u00A0<>]/g;function R(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function k(e){return e.replace(P,R)}function H(e){for(var t={},r=0;r";case Node.TEXT_NODE:var l=e.data;return t&&F[t.localName]?l:function(e){return e.replace(L,R)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function B(e,t){"template"===e.localName&&(e=e.content);for(var r,n="",o=t?t(e):e.childNodes,i=0,s=o.length;i{W[e]=(t=>t[$+e])},K=(e,t)=>{q[e]||(q[e]=t)},G=(e,t)=>{for(var r in T(e,t,$),t)V(r)},z=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0;r{for(var t;t=e[$+"firstChild"];)e[$+"removeChild"](t)},Z=["firstElementChild","lastElementChild","children","childElementCount"],ee=["querySelector","querySelectorAll"],te=D({get childNodes(){return this[w+"childNodes"]},get firstChild(){return this[w+"firstChild"]},get lastChild(){return this[w+"lastChild"]},get textContent(){return this[w+"textContent"]},set textContent(e){this[w+"textContent"]=e},get childElementCount(){return this[w+"childElementCount"]},get children(){return this[w+"children"]},get firstElementChild(){return this[w+"firstElementChild"]},get lastElementChild(){return this[w+"lastElementChild"]},get innerHTML(){return this[w+"innerHTML"]},set innerHTML(e){return this[w+"innerHTML"]=e},get shadowRoot(){return this[w+"shadowRoot"]}}),re=D({get parentElement(){return this[w+"parentElement"]},get parentNode(){return this[w+"parentNode"]},get nextSibling(){return this[w+"nextSibling"]},get previousSibling(){return this[w+"previousSibling"]},get nextElementSibling(){return this[w+"nextElementSibling"]},get previousElementSibling(){return this[w+"previousElementSibling"]},get className(){return this[w+"className"]},set className(e){return this[w+"className"]=e}});for(var ne in te)te[ne].enumerable=!1;for(var oe in re)re[oe].enumerable=!1;var ie,se=s.hasDescriptors||s.noPatch,ae=se?function(){}:function(e){var t=o(e);t.__outsideAccessors||(t.__outsideAccessors=!0,T(e,re))},le=se?function(){}:function(e){var t=o(e);t.__insideAccessors||(t.__insideAccessors=!0,T(e,te))},de=`__eventWrappers${Date.now()}`,ce=(ie=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?e=>ie.get.call(e):null,he={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},ue={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function pe(e){return e instanceof Node?e[w+"getRootNode"]():e}function me(e,t){for(var r=[],n=e,o=pe(e);n;)r.push(n),n=n[w+"assignedSlot"]?n[w+"assignedSlot"]:n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host&&(t||n!==o)?n.host:n[w+"parentNode"];return r[r.length-1]===document&&r.push(window),r}function fe(e,t){if(!d)return e;for(var r,n,o,i,s=me(e,!0),a=t,l=0;l-1)return r}function ve(e){var t=function(t,r){var n=new e(t,r);return n.__composed=r&&Boolean(r.composed),n};return t.__proto__=e,t.prototype=e.prototype,t}var _e={focus:!0,blur:!0};function ye(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function ge(e,t,r){var n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][r];if(n)for(var o,i=0;o=n[i];i++){if(ye(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Se(e){var t,r,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=n.length-1;o>=0;o--)if(ge(e,t=n[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:()=>Event.AT_TARGET});for(var s=0;s-1)return}else t[de]=[];var c=function(o){var s;if(i&&this[w+"removeEventListener"](e,t,r),o.__target||Me(o),a!==this&&(s=Object.getOwnPropertyDescriptor(o,"currentTarget"),Object.defineProperty(o,"currentTarget",{get:()=>a,configurable:!0})),o.__previousCurrentTarget=o.currentTarget,(!d(a)||-1!=o.composedPath().indexOf(a))&&(o.composed||o.composedPath().indexOf(a)>-1)){if(ye(o)&&o.target===o.relatedTarget)return void(o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation());if(!(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a||a instanceof Window))return;var l="function"===n?t.call(a,o):t.handleEvent&&t.handleEvent(o);return a!==this&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget),l}};t[de].push({node:a,type:e,capture:o,once:i,passive:s,wrapperFn:c}),_e[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(c)):this[b+"addEventListener"](e,c,r)}}}function be(e,t,r){if(t){if(ue[e])return this[b+"removeEventListener"](e,t,r);var n,o,i;r&&"object"==typeof r?(n=Boolean(r.capture),o=Boolean(r.once),i=Boolean(r.passive)):(n=Boolean(r),o=!1,i=!1);var s=r&&r.__shadyTarget||this,a=void 0,l=function(e){var t=null;try{t=e[de]}catch(e){}return t}(t);if(l){var d=Ne(l,s,e,n,o,i);d>-1&&(a=l.splice(d,1)[0].wrapperFn,l.length||(t[de]=void 0))}if(this[b+"removeEventListener"](e,a||t,r),a&&_e[e]&&this.__handlers&&this.__handlers[e]){var c=this.__handlers[e][n?"capture":"bubble"],h=c.indexOf(a);h>-1&&c.splice(h,1)}}}var we=D({get composed(){return void 0===this.__composed&&(ce?this.__composed="focusin"===this.type||"focusout"===this.type||ce(this):!1!==this.isTrusted&&(this.__composed=he[this.type])),this.__composed||!1},composedPath(){return this.__composedPath||(this.__composedPath=me(this.__target,this.composed)),this.__composedPath},get target(){return fe(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=me(this.__relatedTarget,!0)),fe(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),Te="__shady_patchedProto",De="__shady_sourceProto";function Me(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,s.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,Te)){var r=Object.create(t);r[De]=t,T(r,we),t[Te]=r}e.__proto__=t[Te]}else T(e,we)}var Oe=ve(Event),Ae=ve(CustomEvent),xe=ve(MouseEvent);var Pe=Object.getOwnPropertyNames(Document.prototype).filter(e=>"on"===e.substring(0,2));function Le(e,t,r){return{index:e,removed:t,addedCount:r}}var Re=0,ke=1,He=2,Ie=3;function Fe(e,t,r,n,o,i){var s,a=0,l=0,d=Math.min(r-t,i-o);if(0==t&&0==o&&(a=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var i=e[t-1][r-1],s=e[t-1][r],a=e[t][r-1],l=void 0;(l=s{var t=o(e);if(void 0===t.firstChild){t.childNodes=null;var r=t.firstChild=e[b+"firstChild"]||null;t.lastChild=e[b+"lastChild"]||null,le(e);for(var n,i=r;i;i=i[b+"nextSibling"]){var s=o(i);s.parentNode=e,s.nextSibling=i[b+"nextSibling"]||null,s.previousSibling=n||null,n=i,ae(i)}}},$e=null;function qe(){return $e||($e=window.ShadyCSS&&window.ShadyCSS.ScopingShim),$e||null}function We(e,t){var r=qe();r&&r.unscopeNode(e,t)}function Ve(e,t,r){qe()&&(r&&We(e,r),function(e,t){var r=qe();r&&r.scopeNode(e,t)}(e,t))}function Ke(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=qe();return t?t.currentScopeForNode(e):""}function Ge(e,t){if(e){e.nodeType===Node.ELEMENT_NODE&&t(e);for(var r,n=e[w+"childNodes"],o=0;o0||this.nodeType===Node.ELEMENT_NODE)&&this[w+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore(e,t){if(this.ownerDocument!==ze&&e.ownerDocument!==ze)return this[b+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var r=i(t),n=r&&r.parentNode;if(void 0!==n&&n!==this||void 0===n&&t[b+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var s,a=[],h=Tt(this),u=h?h.host.localName:Ke(this),p=e[w+"parentNode"];p&&(s=Ke(e),p[w+"removeChild"](e,Boolean(h)||!Tt(e)));var m=!0,f=!(Xe&&void 0!==e.__noInsertionPoint||function e(t,r){var n=qe();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[w+"childNodes"],s=0;o&&s{v&&"slot"===e.localName&&a.push(e),f&&Ve(e,u,s)})),("slot"===this.localName||a.length)&&(a.length&&h._addSlots(a),h&&h._asyncRender()),l(this)){((e,t,r)=>{le(t);var n=o(t);if(void 0!==n.firstChild&&(n.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var i=e[w+"childNodes"],s=0;s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==ze)return this[b+"removeChild"](e);if(e[w+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var n=Tt(e),s=n&&n._removeContainedSlots(e),a=i(this);if(l(this)&&(((e,t)=>{var r=o(e),n=o(t);e===n.firstChild&&(n.firstChild=r.nextSibling),e===n.lastChild&&(n.lastChild=r.previousSibling);var i=r.previousSibling,s=r.nextSibling;i&&(o(i).nextSibling=s),s&&(o(s).previousSibling=i),r.parentNode=r.previousSibling=r.nextSibling=void 0,void 0!==n.childNodes&&(n.childNodes=null)})(e,this),c(this)&&(a.root._asyncRender(),t=!0)),qe()&&!r&&n){var h=Ke(e);Ge(e,e=>{We(e,h)})}if(Ze(e),n){var u=this&&"slot"===this.localName;u&&(t=!0),(s||u)&&n._asyncRender()}if(!t){var p=d(this)?this.host:this;(!a.root&&"slot"!==e.localName||p===e[b+"parentNode"])&&p[b+"removeChild"](e)}return et(this,null,e),e},replaceChild(e,t){return this[w+"insertBefore"](e,t),this[w+"removeChild"](t),e},cloneNode(e){if("template"==this.localName)return this[b+"cloneNode"](e);var t=this[b+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var r,n=this[w+"childNodes"],o=0;oe[w+"getRootNode"]()==n)}return rt(this,function(t){return p(t,e)})}}),at=s.preferPerformance?Object.assign({},it):it;Object.assign(it,st);var lt=D({getElementById(e){return""===e?null:rt(this,function(t){return t.id==e},function(e){return Boolean(e)})[0]||null}});var dt,ct,ht=D({get activeElement(){var e=s.hasDescriptors?document[b+"activeElement"]:document.activeElement;if(!e||!e.nodeType)return null;var t=!!d(this);if(this!==document){if(!t)return null;if(this.host===e||!this.host[b+"contains"](e))return null}for(var r=Tt(e);r&&r!==this;)e=r.host,r=Tt(e);return this===document?r?null:e:r===this?e:null}}),ut=document.implementation.createHTMLDocument("inert"),pt=D({get innerHTML(){return l(this)?B("template"===this.localName?this.content:this,e=>e[w+"childNodes"]):this[b+"innerHTML"]},set innerHTML(e){if("template"===this.localName)this[b+"innerHTML"]=e;else{Qe(this);var t,r,n=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==ut.namespaceURI?ut.createElementNS(this.namespaceURI,n):ut.createElement(n),s.hasDescriptors?t[b+"innerHTML"]=e:t.innerHTML=e;r=t[w+"firstChild"];)this[w+"insertBefore"](r)}}}),mt=D({addEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=this,this.host[w+"addEventListener"](e,t,r)},removeEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=this,this.host[w+"removeEventListener"](e,t,r)}}),ft=(e,t)=>{T(e,mt,t),T(e,ht,t),T(e,pt,t),T(e,it,t),s.noPatch&&!t?(T(e,tt,t),T(e,lt,t)):s.hasDescriptors||(T(e,re),T(e,te))},vt={},_t="__catchall",yt="ShadyRoot",gt="closed",St=s.deferConnectionCallbacks&&"loading"===document.readyState;function Et(e){var t=[];do{t.unshift(e)}while(e=e[w+"parentNode"]);return t}class Nt{constructor(e,t,r){if(e!==vt)throw new TypeError("Illegal constructor");this._localName=yt,this.host=t,this.mode=r&&r.mode,Ue(t);var n=o(t);n.root=this,n.publicRoot=this.mode!==gt?this:null;var i=o(this);if(i.firstChild=i.lastChild=i.parentNode=i.nextSibling=i.previousSibling=null,i.childNodes=[],this._renderPending=!1,this._hasRendered=!1,this._slotList=null,this._slotMap=null,this._pendingSlots=null,s.preferPerformance)for(var a;a=t[b+"firstChild"];)t[b+"removeChild"](a);else this._asyncRender()}_asyncRender(){this._renderPending||(this._renderPending=!0,O(()=>this._render()))}_getPendingDistributionRoot(){for(var e,t=this;t;)t._renderPending&&(e=t),t=t._getDistributionParent();return e}_getDistributionParent(){var e=this.host[w+"getRootNode"]();if(d(e)){var t=i(this.host);return t&&t.__childSlotCount>0?e:void 0}}_render(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}_flushInitial(){!this._hasRendered&&this._renderPending&&this._render()}_renderSelf(){var e=St;if(St=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!s.preferPerformance&&!this._hasRendered)for(var t=this.host[w+"childNodes"],r=0,n=t.length;rs.assignedNodes.length&&(s.dirty=!0)}s.dirty&&(s.dirty=!1,this._fireSlotChange(o))}}_distributeNodeToSlot(e,t){var r=o(e),n=r._prevAssignedSlot;r._prevAssignedSlot=null;var i=t;if(!i){var s=e[w+"slot"]||_t,a=this._slotMap[s];i=a&&a[0]}i?(o(i).assignedNodes.push(e),r.assignedSlot=i):r.assignedSlot=void 0;n!==r.assignedSlot&&r.assignedSlot&&(o(r.assignedSlot).dirty=!0)}_clearSlotAssignedNodes(e){var t=i(e),r=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=r,r)for(var n=0;n{for(var r=Et(e),n=Et(t),o=0;o=0){this._slotList.splice(l,1);var d=i(a[w+"parentNode"]);d&&d.__childSlotCount&&d.__childSlotCount--}s--,this._removeFlattenedNodes(a),t=!0}}return t}}_updateSlotName(e){if(this._slotList){this._validateSlots();var t=e.__slotName,r=this._nameForSlot(e);if(r!==t){var n=this._slotMap[t],o=n.indexOf(e);o>=0&&n.splice(o,1);var i=this._slotMap[r]||(this._slotMap[r]=[]);i.push(e),i.length>1&&(this._slotMap[r]=this._sortSlots(i))}}}_removeFlattenedNodes(e){var t=i(e),r=t.flattenedNodes;if(r)for(var n=0;n{Object.defineProperty(ct,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(e=>{Object.defineProperty(ct,e,{get(){return this.host[e]},configurable:!0})});if(window.customElements&&s.inUse&&!s.preferPerformance){var Ct=new Map;dt=function(){var e=[];Ct.forEach((t,r)=>{e.push([r,t])}),Ct.clear();for(var t=0;t{St=!1,dt()},{once:!0});var bt=(e,t,r)=>{var n=0,o=`__isConnected${n++}`;return(t||r)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){St?Ct.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){St?this.isConnected||Ct.set(this,!1):this[o]&&(this[o]=!1,r&&r.call(this))}),e},wt=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(e,t){var r=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;wt.call(window.customElements,e,bt(t,r,n)),t.prototype.connectedCallback=r,t.prototype.disconnectedCallback=n}})}var Tt=e=>{var t=e[w+"getRootNode"]();if(d(t))return t};class Dt{constructor(e){this.node=e}addEventListener(e,t,r){return this.node[w+"addEventListener"](e,t,r)}removeEventListener(e,t,r){return this.node[w+"removeEventListener"](e,t,r)}appendChild(e){return this.node[w+"appendChild"](e)}insertBefore(e,t){return this.node[w+"insertBefore"](e,t)}removeChild(e){return this.node[w+"removeChild"](e)}replaceChild(e,t){return this.node[w+"replaceChild"](e,t)}cloneNode(e){return this.node[w+"cloneNode"](e)}getRootNode(e){return this.node[w+"getRootNode"](e)}contains(e){return this.node[w+"contains"](e)}dispatchEvent(e){return this.node[w+"dispatchEvent"](e)}setAttribute(e,t){this.node[w+"setAttribute"](e,t)}getAttribute(e){return this.node[b+"getAttribute"](e)}hasAttribute(e){return this.node[b+"hasAttribute"](e)}removeAttribute(e){this.node[w+"removeAttribute"](e)}attachShadow(e){return this.node[w+"attachShadow"](e)}get activeElement(){if(d(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"activeElement"]}get _activeElement(){return this.activeElement}focus(){this.node[b+"focus"]()}blur(){this.node[w+"blur"]()}importNode(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"importNode"](e,t)}getElementById(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"getElementById"](e)}querySelector(e){return this.node[w+"querySelector"](e)}querySelectorAll(e,t){return this.node[w+"querySelectorAll"](e,t)}assignedNodes(e){if("slot"===this.node.localName)return this.node[w+"assignedNodes"](e)}get host(){if(d(this.node))return this.node.host}get parentNode(){return this.node[w+"parentNode"]}get firstChild(){return this.node[w+"firstChild"]}get lastChild(){return this.node[w+"lastChild"]}get nextSibling(){return this.node[w+"nextSibling"]}get previousSibling(){return this.node[w+"previousSibling"]}get childNodes(){return this.node[w+"childNodes"]}get parentElement(){return this.node[w+"parentElement"]}get firstElementChild(){return this.node[w+"firstElementChild"]}get lastElementChild(){return this.node[w+"lastElementChild"]}get nextElementSibling(){return this.node[w+"nextElementSibling"]}get previousElementSibling(){return this.node[w+"previousElementSibling"]}get children(){return this.node[w+"children"]}get childElementCount(){return this.node[w+"childElementCount"]}get shadowRoot(){return this.node[w+"shadowRoot"]}get assignedSlot(){return this.node[w+"assignedSlot"]}get isConnected(){return this.node[w+"isConnected"]}get innerHTML(){return this.node[w+"innerHTML"]}set innerHTML(e){this.node[w+"innerHTML"]=e}get textContent(){return this.node[w+"textContent"]}set textContent(e){this.node[w+"textContent"]=e}get slot(){return this.node[w+"slot"]}set slot(e){this.node[w+"slot"]=e}}Pe.forEach(e=>{Object.defineProperty(Dt.prototype,e,{get(){return this.node[w+e]},set(t){this.node[w+e]=t},configurable:!0})});var Mt=new WeakMap;var Ot=D({dispatchEvent(e){return A(),this[b+"dispatchEvent"](e)},addEventListener:Ce,removeEventListener:be}),At=D({get assignedSlot(){var e=this[w+"parentNode"],t=e&&e[w+"shadowRoot"];t&&t._render();var r=i(this);return r&&r.assignedSlot||null}}),xt=window.document;function Pt(e,t){if("slot"===t){var r=e[w+"parentNode"];c(r)&&i(r).root._asyncRender()}else if("slot"===e.localName&&"name"===t){var n=Tt(e);n&&(n._updateSlotName(e),n._asyncRender())}}var Lt=D({get previousElementSibling(){var e=i(this);if(e&&void 0!==e.previousSibling){for(var t=this[w+"previousSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"previousSibling"];return t}return this[b+"previousElementSibling"]},get nextElementSibling(){var e=i(this);if(e&&void 0!==e.nextSibling){for(var t=this[w+"nextSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"nextSibling"];return t}return this[b+"nextElementSibling"]},get slot(){return this.getAttribute("slot")},set slot(e){this[w+"setAttribute"]("slot",e)},get shadowRoot(){var e=i(this);return e&&e.publicRoot||null},get className(){return this.getAttribute("class")||""},set className(e){this[w+"setAttribute"]("class",e)},setAttribute(e,t){this.ownerDocument!==xt?this[b+"setAttribute"](e,t):function(e,t,r){var n=qe();return!(!n||"class"!==t||(n.setElementClass(e,r),0))}(this,e,t)||(this[b+"setAttribute"](e,t),Pt(this,e))},removeAttribute(e){this[b+"removeAttribute"](e),Pt(this,e)},attachShadow(e){return((e,t)=>{if(!e)throw new Error("Must provide a host.");if(!t)throw new Error("Not enough arguments.");return new Nt(vt,e,t)})(this,e)}}),Rt=D({blur(){var e=i(this),t=e&&e.root,r=t&&t.activeElement;r?r[w+"blur"]():this[b+"blur"]()}});Pe.forEach(e=>{Rt[e]={set:function(t){var r=o(this),n=e.substring(2);r.__onCallbackListeners[e]&&this.removeEventListener(n,r.__onCallbackListeners[e]),this[w+"addEventListener"](n,t),r.__onCallbackListeners[e]=t},get(){var t=i(this);return t&&t.__onCallbackListeners[e]},configurable:!0}});var kt=D({assignedNodes(e){if("slot"===this.localName){var t=this[w+"getRootNode"]();t&&d(t)&&t._render();var r=i(this);return r&&(e&&e.flatten?r.flattenedNodes:r.assignedNodes)||[]}}}),Ht=window.document,It=D({importNode(e,t){if(e.ownerDocument!==Ht||"template"===e.localName)return this[b+"importNode"](e,t);var r=this[b+"importNode"](e,!1);if(t)for(var n,o=e[w+"childNodes"],i=0;i{var t=e?null:$t,r=function(r){var n=(e=>window[e]&&window[e].prototype)(r);Ut[r].forEach(r=>n&&r&&T(n,r,e,t))};for(var n in Ut)r(n)};if(s.inUse){var Wt={inUse:s.inUse,patch:e=>(le(e),ae(e),e),isShadyRoot:d,enqueue:O,flush:A,flushInitial:e=>{e._flushInitial()},settings:s,filterMutations:function(e,t){var r=t.getRootNode();return e.map(function(e){var t=r===e.target.getRootNode();if(t&&e.addedNodes){var n=Array.from(e.addedNodes).filter(function(e){return r===e.getRootNode()});if(n.length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:n,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){var r=o(e);r.observer||(r.observer=new x),r.observer.callbacks.add(t);var n=r.observer;return{_callback:t,_observer:n,_node:e,takeRecords:()=>n.takeRecords()}},unobserveChildren:function(e){var t=e&&e._observer;t&&(t.callbacks.delete(e._callback),t.callbacks.size||(o(e._node).observer=null))},deferConnectionCallbacks:s.deferConnectionCallbacks,preferPerformance:s.preferPerformance,handlesDynamicScoping:!0,wrap:s.noPatch?function(e){if(d(e)||e instanceof Dt)return e;var t=Mt.get(e);return t||(t=new Dt(e),Mt.set(e,t)),t}:e=>e,Wrapper:Dt,composedPath:e=>(e.__composedPath||(e.__composedPath=me(e.target,!0)),e.__composedPath),noPatch:s.noPatch,nativeMethods:q,nativeTree:W};window.ShadyDOM=Wt,(()=>{var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?z(window.EventTarget.prototype,e):(z(Node.prototype,e),z(Window.prototype,e)),U?z(Node.prototype,["parentNode","firstChild","lastChild","previousSibling","nextSibling","childNodes","parentElement","textContent"]):G(Node.prototype,{parentNode:{get(){return X.currentNode=this,X.parentNode()}},firstChild:{get(){return X.currentNode=this,X.firstChild()}},lastChild:{get(){return X.currentNode=this,X.lastChild()}},previousSibling:{get(){return X.currentNode=this,X.previousSibling()}},nextSibling:{get(){return X.currentNode=this,X.nextSibling()}},childNodes:{get(){var e=[];X.currentNode=this;for(var t=X.firstChild();t;)e.push(t),t=X.nextSibling();return e}},parentElement:{get(){return Y.currentNode=this,Y.parentNode()}},textContent:{get(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),r="";e=t.nextNode();)r+=e.nodeValue;return r;default:return this.nodeValue}},set(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Q(this),(e.length>0||this.nodeType===Node.ELEMENT_NODE)&&this[$+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),z(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get(){return Y.currentNode=this,Y.firstChild()}},lastElementChild:{get(){return Y.currentNode=this,Y.lastChild()}},children:{get(){var e=[];Y.currentNode=this;for(var t=Y.firstChild();t;)e.push(t),t=Y.nextSibling();return C(e)}},childElementCount:{get(){return this.children?this.children.length:0}}};U?(z(Element.prototype,Z),z(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&z(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&z(HTMLElement.prototype,["innerHTML"])):(G(Element.prototype,t),G(Element.prototype,{previousElementSibling:{get(){return Y.currentNode=this,Y.previousSibling()}},nextElementSibling:{get(){return Y.currentNode=this,Y.nextSibling()}},innerHTML:{get(){return B(this,e=>e[$+"childNodes"])},set(e){var t="template"===this.localName?this.content:this;Q(t);var r,n=this.localName||"div";(r=this.namespaceURI&&this.namespaceURI!==J.namespaceURI?J.createElementNS(this.namespaceURI,n):J.createElement(n)).innerHTML=e;for(var o,i="template"===this.localName?r.content:r;o=i[$+"firstChild"];)t[$+"insertBefore"](o,void 0)}}})),z(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),z(Element.prototype,ee),z(HTMLElement.prototype,["focus","blur","contains"]),U&&z(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&z(window.HTMLTemplateElement.prototype,["innerHTML"]),U?z(DocumentFragment.prototype,Z):G(DocumentFragment.prototype,t),z(DocumentFragment.prototype,ee),U?(z(Document.prototype,Z),z(Document.prototype,["activeElement"])):G(Document.prototype,t),z(Document.prototype,["importNode","getElementById"]),z(Document.prototype,ee)})(),(()=>{qt(w);var e=ht.activeElement;Object.defineProperty(document,"_activeElement",e),T(Window.prototype,Ft,w)})(),s.noPatch||(qt(),function(){if(!ce&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[w+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in _e)window[b+"addEventListener"](e,function(e){e.__target||(Me(e),Se(e))},!0)}(),window.Event=Oe,window.CustomEvent=Ae,window.MouseEvent=xe,window.ShadowRoot=Nt}},413:function(e,t,r){"use strict";var n=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function o(e){var t=n.has(e),r=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&r}function i(e){var t=e.isConnected;if(void 0!==t)return t;for(var r=e;r&&!(r.__CE_isImportDocument||r instanceof Document);)r=r.parentNode||(window.ShadowRoot&&r instanceof ShadowRoot?r.host:void 0);return!(!r||!(r.__CE_isImportDocument||r instanceof Document))}function s(e,t){for(var r=t;r&&r!==e&&!r.nextSibling;)r=r.parentNode;return r&&r!==e?r.nextSibling:null}function a(e,t){return t.firstChild?t.firstChild:s(e,t)}function l(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,n=e;n;){if(n.nodeType===Node.ELEMENT_NODE){var o=n;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var d=o.import;if(d instanceof Node&&!r.has(d)){r.add(d);for(var c=d.firstChild;c;c=c.nextSibling)l(c,t,r)}n=s(e,o);continue}if("template"===i){n=s(e,o);continue}var h=o.__CE_shadowRoot;if(h)for(var u=h.firstChild;u;u=u.nextSibling)l(u,t,r)}n=a(e,n)}}function d(e,t,r){e[t]=r}var c={custom:1,failed:2};class h{constructor(){this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}setDefinition(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}localNameToDefinition(e){return this._localNameToDefinition.get(e)}constructorToDefinition(e){return this._constructorToDefinition.get(e)}addPatch(e){this._hasPatches=!0,this._patches.push(e)}patchTree(e){this._hasPatches&&l(e,e=>this.patch(e))}patch(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;tt.push(e));for(var r=0;rt.push(e));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.visitedImports||new Set,n=t.upgrade||(e=>this.upgradeElement(e)),o=[];if(l(e,e=>{if("link"===e.localName&&"import"===e.getAttribute("rel")){var t=e.import;t instanceof Node&&(t.__CE_isImportDocument=!0,t.__CE_hasRegistry=!0),t&&"complete"===t.readyState?t.__CE_documentLoadHandled=!0:e.addEventListener("load",()=>{var t=e.import;if(!t.__CE_documentLoadHandled){t.__CE_documentLoadHandled=!0;var o=new Set(r);o.delete(t),this.patchAndUpgradeTree(t,{visitedImports:o,upgrade:n})}})}else o.push(e)},r),this._hasPatches)for(var i=0;i-1&&i.attributeChangedCallback.call(e,t,r,n,o)}}class u{constructor(e,t){this._internals=e,this._document=t,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}disconnect(){this._observer&&this._observer.disconnect()}_handleMutations(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var r=0;r{this._resolve=e,this._value&&e(this._value)})}resolve(e){if(this._value)throw new Error("Already resolved.");this._value=e,this._resolve&&this._resolve(e)}toPromise(){return this._promise}}class m{constructor(e){this._elementDefinitionIsRunning=!1,this._internals=e,this._whenDefinedDeferred=new Map,this._flushCallback=(e=>e()),this._flushPending=!1,this._pendingDefinitions=[],this._documentConstructionObserver=new u(e,document)}define(e,t){if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!o(e))throw new SyntaxError(`The element name '${e}' is not valid.`);if(this._internals.localNameToDefinition(e))throw new Error(`A custom element with name '${e}' has already been defined.`);if(this._elementDefinitionIsRunning)throw new Error("A custom element is already being defined.");var r,n,i,s,a;this._elementDefinitionIsRunning=!0;try{var l=t.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");function d(e){var t=l[e];if(void 0!==t&&!(t instanceof Function))throw new Error(`The '${e}' callback must be a function.`);return t}r=d("connectedCallback"),n=d("disconnectedCallback"),i=d("adoptedCallback"),s=d("attributeChangedCallback"),a=t.observedAttributes||[]}catch(e){return}finally{this._elementDefinitionIsRunning=!1}var c={localName:e,constructorFunction:t,connectedCallback:r,disconnectedCallback:n,adoptedCallback:i,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]};this._internals.setDefinition(e,c),this._pendingDefinitions.push(c),this._flushPending||(this._flushPending=!0,this._flushCallback(()=>this._flush()))}upgrade(e){this._internals.patchAndUpgradeTree(e)}_flush(){if(!1!==this._flushPending){this._flushPending=!1;for(var e=this._pendingDefinitions,t=[],r=new Map,n=0;n{if(void 0===e.__CE_state){var n=e.localName,o=r.get(n);o?o.push(e):this._internals.localNameToDefinition(n)&&t.push(e)}}});for(var o=0;o0;){for(var i=e.shift(),s=i.localName,a=r.get(i.localName),l=0;lt.localName===e)&&r.resolve(void 0),r.toPromise()}polyfillWrapFlushCallback(e){this._documentConstructionObserver.disconnect();var t=this._flushCallback;this._flushCallback=(r=>e(()=>t(r)))}}window.CustomElementRegistry=m,m.prototype.define=m.prototype.define,m.prototype.upgrade=m.prototype.upgrade,m.prototype.get=m.prototype.get,m.prototype.whenDefined=m.prototype.whenDefined,m.prototype.polyfillWrapFlushCallback=m.prototype.polyfillWrapFlushCallback;var f={Document_createElement:window.Document.prototype.createElement,Document_createElementNS:window.Document.prototype.createElementNS,Document_importNode:window.Document.prototype.importNode,Document_prepend:window.Document.prototype.prepend,Document_append:window.Document.prototype.append,DocumentFragment_prepend:window.DocumentFragment.prototype.prepend,DocumentFragment_append:window.DocumentFragment.prototype.append,Node_cloneNode:window.Node.prototype.cloneNode,Node_appendChild:window.Node.prototype.appendChild,Node_insertBefore:window.Node.prototype.insertBefore,Node_removeChild:window.Node.prototype.removeChild,Node_replaceChild:window.Node.prototype.replaceChild,Node_textContent:Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Element_attachShadow:window.Element.prototype.attachShadow,Element_innerHTML:Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Element_getAttribute:window.Element.prototype.getAttribute,Element_setAttribute:window.Element.prototype.setAttribute,Element_removeAttribute:window.Element.prototype.removeAttribute,Element_getAttributeNS:window.Element.prototype.getAttributeNS,Element_setAttributeNS:window.Element.prototype.setAttributeNS,Element_removeAttributeNS:window.Element.prototype.removeAttributeNS,Element_insertAdjacentElement:window.Element.prototype.insertAdjacentElement,Element_insertAdjacentHTML:window.Element.prototype.insertAdjacentHTML,Element_prepend:window.Element.prototype.prepend,Element_append:window.Element.prototype.append,Element_before:window.Element.prototype.before,Element_after:window.Element.prototype.after,Element_replaceWith:window.Element.prototype.replaceWith,Element_remove:window.Element.prototype.remove,HTMLElement:window.HTMLElement,HTMLElement_innerHTML:Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),HTMLElement_insertAdjacentElement:window.HTMLElement.prototype.insertAdjacentElement,HTMLElement_insertAdjacentHTML:window.HTMLElement.prototype.insertAdjacentHTML};var v,_=new class{},y=function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a0&&i(this)){n=new Array(s);for(var a=0;a{e!==this&&o.push(e)})),r.set.call(this,t),o)for(var s=0;s0;)f.Node_removeChild.call(r,r.childNodes[0]);for(var o=t?n.content:n;o.childNodes.length>0;)f.Node_appendChild.call(r,o.childNodes[0])}})}),d(Element.prototype,"setAttribute",function(t,r){if(this.__CE_state!==c.custom)return f.Element_setAttribute.call(this,t,r);var n=f.Element_getAttribute.call(this,t);f.Element_setAttribute.call(this,t,r),r=f.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,n,r,null)}),d(Element.prototype,"setAttributeNS",function(t,r,n){if(this.__CE_state!==c.custom)return f.Element_setAttributeNS.call(this,t,r,n);var o=f.Element_getAttributeNS.call(this,t,r);f.Element_setAttributeNS.call(this,t,r,n),n=f.Element_getAttributeNS.call(this,t,r),e.attributeChangedCallback(this,r,o,n,t)}),d(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==c.custom)return f.Element_removeAttribute.call(this,t);var r=f.Element_getAttribute.call(this,t);f.Element_removeAttribute.call(this,t),null!==r&&e.attributeChangedCallback(this,t,r,null,null)}),d(Element.prototype,"removeAttributeNS",function(t,r){if(this.__CE_state!==c.custom)return f.Element_removeAttributeNS.call(this,t,r);var n=f.Element_getAttributeNS.call(this,t,r);f.Element_removeAttributeNS.call(this,t,r);var o=f.Element_getAttributeNS.call(this,t,r);n!==o&&e.attributeChangedCallback(this,r,n,o,t)}),f.HTMLElement_insertAdjacentElement?r(HTMLElement.prototype,f.HTMLElement_insertAdjacentElement):f.Element_insertAdjacentElement?r(Element.prototype,f.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),f.HTMLElement_insertAdjacentHTML?n(HTMLElement.prototype,f.HTMLElement_insertAdjacentHTML):f.Element_insertAdjacentHTML?n(Element.prototype,f.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),y(e,Element.prototype,{prepend:f.Element_prepend,append:f.Element_append}),function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a2&&void 0!==arguments[2]?arguments[2]:"",n="";if(e.cssText||e.rules){var o=e.rules;if(o&&!function(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(h)}(o))for(var a,u=0,p=o.length;ue);function A(e){var t=e.localName,r="",n="";return t?t.indexOf("-")>-1?r=t:(n=t,r=e.getAttribute&&e.getAttribute("is")||""):(r=e.is,n=e.extends),{is:r,typeExtension:n}}function x(e){for(var t=[],r="",n=0;n>=0&&n0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!m.c)&&(m.d?"shadow"===e:"shady"===e)}var H="style-scope";var I=/:(nth[-\w]+)\(([^)]+)\)/,F=`:not(.${H})`,j=",",B=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,U=/[[.:#*]/,$=":host",q=":root",W="::slotted",V=new RegExp(`^(${W})`),K=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,G=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,z=/(.*):dir\((?:(ltr|rtl))\)/,X=".",Y=":",J="class",Q="should_not_match",Z=/:(?:matches|any|-(?:webkit|moz)-any)/,ee="",te=new class{get SCOPE_NAME(){return H}dom(e,t,r){this._transformDom(e,e=>{this.element(e,t||"",r)})}domAddScope(e,t){this._transformDom(e,e=>{this.element(e,t||"")})}_transformDom(e,t){var r;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var n=e;r=(n.content||n._content||n).childNodes}else r=e.children||e.childNodes;if(r)for(var o=0;o{this.element(e,t,!0),this.element(e,r)})}domRemoveScope(e,t){this._transformDom(e,e=>{this.element(e,t||"",!0)})}elementStyles(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m.d||"shady"===n)o=S(t,r);else{var i=A(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,r)+"\n\n"}return o.trim()}css(e,t,r,n){var o=this._calcHostScope(t,r);t=this._calcElementScope(t);var i=this;return S(e,function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),n&&n(e,t,o)})}_calcElementScope(e){return e?X+e:""}_calcHostScope(e,t){return t?`[is=${e}]`:e}rule(e,t,r){this._transformRule(e,this._transformComplexSelector,t,r)}_transformRule(e,t,r,n){e.selector=e.transformedSelector=this._transformRuleCss(e,t,r,n)}_transformRuleCss(e,t,r,n){var o=x(e.selector);if(!N(e))for(var i,s=0,a=o.length;sBoolean(e)).join(j)}_twiddleNthPlus(e){return e.replace(I,(e,t,r)=>(r.indexOf("+")>-1?r=r.replace(/\+/g,"___"):r.indexOf("___")>-1&&(r=r.replace(/___/g,"+")),`:${t}(${r})`))}_preserveMatchesPseudo(e){for(var t,r=[];t=e.match(Z);){var n=t.index,o=D(e,n);if(-1===o)throw new Error(`${t.input} selector missing ')'`);var i=e.slice(n,o+1);e=e.replace(i,ee),r.push(i)}return{selector:e,matches:r}}_replaceMatchesPseudo(e,t){var r=e.split(ee);return t.reduce((e,t,n)=>e+t+r[n+1],r[0])}_transformComplexSelector(e,t,r){var n=!1;e=e.trim();var o=I.test(e);o&&(e=e.replace(I,(e,t,r)=>`:${t}(${r.replace(/\s/g,"")})`),e=this._twiddleNthPlus(e));var i,s=Z.test(e);if(s){var a=this._preserveMatchesPseudo(e);e=a.selector,i=a.matches}return e=(e=e.replace(V,`${$} $1`)).replace(B,(e,o,i)=>{if(!n){var s=this._transformCompoundSelector(i,o,t,r);n=n||s.stop,o=s.combinator,i=s.value}return o+i}),s&&(e=this._replaceMatchesPseudo(e,i)),o&&(e=this._twiddleNthPlus(e)),e}_transformCompoundSelector(e,t,r,n){var o=e.indexOf(W);e.indexOf($)>=0?e=this._transformHostSelector(e,n):0!==o&&(e=r?this._transformSimpleSelector(e,r):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(G,(e,t)=>` > ${t}`))),{value:e=e.replace(z,(e,t,r)=>`[dir="${r}"] ${t}, ${t}[dir="${r}"]`),combinator:t,stop:i}}_transformSimpleSelector(e,t){for(var r=e.split(/(\[.+?\])/),n=[],o=0;o=0)e=this.valueForProperties(e,t);else{var r=this;e=function e(t,r){var n=t.indexOf("var(");if(-1===n)return r(t,"","","");var o=D(t,n+3),i=t.substring(n+4,o),s=t.substring(0,n),a=e(t.substring(o+1),r),l=i.indexOf(",");return-1===l?r(s,i.trim(),"",a):r(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,function(e,n,o,i){if(!n)return e+i;var s=r.valueForProperty(t[n],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=r.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}valueForProperties(e,t){for(var r,n,o=e.split(";"),i=0;i{e.propertyInfo||this.decorateRule(e);var o=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&o&&oe.call(t,o)&&(this.collectProperties(e,r),function(e,t){var r=parseInt(e/32,10),n=1< *"===l||"html"===l,c=0===l.indexOf(":host")&&!d;if("shady"===r&&(c=!(d=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),d||c){var h=a;c&&(t.transformedSelector||(t.transformedSelector=te._transformRuleCss(t,te._transformComplexSelector,te._calcElementScope(i),a)),h=t.transformedSelector||a),n({selector:h,isHost:c,isRoot:d})}}}hostAndRootPropertiesForScope(e,t,r){var n={},o={};return C(t,t=>{this.whenHostOrRootRule(e,t,r,r=>{var i=e._element||e;oe.call(i,r.selector)&&(r.isHost?this.collectProperties(t,n):this.collectProperties(t,o))})},null,!0),{rootProps:o,hostProps:n}}transformStyles(e,t,r){var n=this,o=A(e),i=o.is,s=o.typeExtension,a=te._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,d=new RegExp(f.c+l+f.d),c=ne.get(e),h=c.styleRules,u=c.cssBuild,p=this._elementKeyframeTransforms(e,h,r);return te.elementStyles(e,h,function(e){n.applyProperties(e,t),m.d||N(e)||!e.cssText||(n.applyKeyframeTransforms(e,p),n._scopeSelector(e,d,a,r))},u)}_elementKeyframeTransforms(e,t,r){var n=t._keyframes,o={};if(!m.d&&n)for(var i=0,s=n[i];i-1&&(n.textContent=o),T(n,null,i.placeholder)):o&&(n=b(o,r,null,i.placeholder)),n&&(n._useCount=n._useCount||0,i.customStyle!=n&&n._useCount++,i.customStyle=n),n}applyCustomStyle(e,t){var r=E(e),n=this;e.textContent=S(r,function(e){var r=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(r=s(r),e.cssText=n.valueForProperties(r,t))})}},le={};function de(e){return le[e]||null}function ce(e){var t,r,n,o;le[e]||(le[e]=(t=e,r=document.createComment(" Shady DOM styles for "+t+" "),n=w?w.nextSibling:null,(o=document.head).insertBefore(r,n||o.firstChild),w=r,r))}var he=window.customElements;if(he&&!m.d&&!m.b){var ue=he.define;he.define=((e,t,r)=>{ce(e),ue.call(he,e,t,r)})}var pe=function(){};var me=new RegExp(`${te.SCOPE_NAME}\\s*([^\\s]*)`);function fe(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(me);return t?t[1]:""}function ve(e){var t=O(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var r=t.host;return r?A(r).is:""}function _e(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,`:not(.${te.SCOPE_NAME})`),r=0;r{ge.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Se(document);else{var Ee=()=>{Se(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ee):requestAnimationFrame(function(){if("loading"===document.readyState){document.addEventListener("readystatechange",function e(){Ee(),document.removeEventListener("readystatechange",e)})}else Ee()})}pe=function(){ye(ge.takeRecords())}}var Ne={},Ce="_applyShimCurrentVersion",be="_applyShimNextVersion",we="_applyShimValidatingVersion",Te=Promise.resolve();function De(e){var t=Ne[e];t&&function(e){e[Ce]=e[Ce]||0,e[we]=e[we]||0,e[be]=(e[be]||0)+1}(t)}function Me(e){return e[Ce]===e[be]}function Oe(e){return!Me(e)&&e[we]===e[be]}function Ae(e){e[we]=e[be],e._validating||(e._validating=!0,Te.then(function(){e[Ce]=e[be],e._validating=!1}))}var xe=r(344),Pe=(r(366),{}),Le=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.cache={},this.typeMax=e}_validate(e,t,r){for(var n=0;nthis.typeMax&&o.shift(),this.cache[e]=o}fetch(e,t,r){var n=this.cache[e];if(n)for(var o=n.length-1;o>=0;o--){var i=n[o];if(this._validate(i,t,r))return i}}};class Re{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;var e=new n;e.rules=[],this._documentOwnerStyleInfo=ne.set(this._documentOwner,new ne(e)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}flush(){pe()}_generateScopeSelector(e){return`${e}-${this._scopeCounter[e]=(this._scopeCounter[e]||0)+1}`}getStyleAst(e){return E(e)}styleAstToString(e){return S(e)}_gatherStyles(e){return function(e){for(var t=[],r=e.querySelectorAll("style"),n=0;n{this.transformCustomStyleForDocument(e)}),this._customStyleInterface.validateCallback=(()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})}))}_ensure(){this._ensureApplyShim(),this._ensureCustomStyleInterface()}flushCustomStyles(){if(!m.b&&(this._ensure(),this._customStyleInterface)){var e=this._customStyleInterface.processStyles();this._customStyleInterface.enqueued&&(k(this._documentOwnerStyleInfo.cssBuild)||(m.c?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(e):(this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(e),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}styleElement(e,t){if(m.b){if(t){ne.get(e)||ne.set(e,new ne(null));var r=ne.get(e);this._mixOverrideStyleProps(r,t),this.styleElementNativeVariables(e,r)}}else{var n=ne.get(e)||this._prepareHost(e);n&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(n,t),m.c?this.styleElementNativeVariables(e,n):this.styleElementShimVariables(e,n))}}_mixOverrideStyleProps(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}styleElementShimVariables(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}styleElementNativeVariables(e,t){var r=A(e).is;t.overrideStyleProperties&&Object(xe.c)(e,t.overrideStyleProperties);var n=Ne[r];if((n||this._isRootOwner(e))&&(!n||!R(n))&&n&&n._style&&!Me(n)){if(Oe(n)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(n._styleAst,r),n._style.textContent=te.elementStyles(e,t.styleRules),Ae(n)),m.d){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=te.elementStyles(e,t.styleRules))}}t.styleRules=n._styleAst}}_styleOwnerForNode(e){var t=O(e).getRootNode().host;return t?ne.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}_isRootOwner(e){return e===this._documentOwner}_applyStyleProperties(e,t){var r=A(e).is,n=Le.fetch(r,t.styleProperties,t.ownStylePropertyNames),o=n&&n.scopeSelector,i=n?n.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(r);var a=ae.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m.d||ae.applyElementScopeSelector(e,t.scopeSelector,s),n||Le.store(r,t.styleProperties,a,t.scopeSelector),a}_updateProperties(e,t){var r=this._styleOwnerForNode(e),n=ne.get(r),o=n.styleProperties;r===this._documentOwner||o||(this._updateProperties(r,n),o=n.styleProperties);var i=Object.create(o||null),s=ae.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ae.propertyDataFromStyles(n.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ae.reify(i),t.styleProperties=i}_mixinOverrideStyles(e,t){for(var r in t){var n=t[r];(n||0===n)&&(e[r]=n)}}styleDocument(e){this.styleSubtree(this._documentOwner,e)}styleSubtree(e,t){var r=O(e),n=r.shadowRoot;(n||this._isRootOwner(e))&&this.styleElement(e,t);var o=n&&(n.children||n.childNodes);if(o)for(var i=0;i{m.d?te.normalizeRootSelector(e):te.documentRule(e),m.c&&""===t&&(this._ensure(),this._applyShim&&this._applyShim.transformRule(e))}),m.c?e.textContent=S(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}_revalidateApplyShim(e){if(m.c&&this._applyShim){var t=E(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=S(t)}}getComputedStyleValue(e,t){var r;m.c||(r=(ne.get(e)||ne.get(this._styleOwnerForNode(e))).styleProperties[t]);return(r=r||window.getComputedStyle(e).getPropertyValue(t))?r.trim():""}setElementClass(e,t){var r=O(e).getRootNode(),n=t?t.split(/\s/):[],o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;am.d},nativeCss:{get:()=>m.c}});var ke,He,Ie=new Re;window.ShadyCSS&&(ke=window.ShadyCSS.ApplyShim,He=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Ie,prepareTemplate(e,t,r){Ie.flushCustomStyles(),Ie.prepareTemplate(e,t,r)},prepareTemplateDom(e,t){Ie.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,r){Ie.flushCustomStyles(),Ie.prepareTemplateStyles(e,t,r)},styleSubtree(e,t){Ie.flushCustomStyles(),Ie.styleSubtree(e,t)},styleElement(e){Ie.flushCustomStyles(),Ie.styleElement(e)},styleDocument(e){Ie.flushCustomStyles(),Ie.styleDocument(e)},flushCustomStyles(){Ie.flushCustomStyles()},getComputedStyleValue:(e,t)=>Ie.getComputedStyleValue(e,t),nativeCss:m.c,nativeShadow:m.d,cssBuild:m.a,disableRuntime:m.b},ke&&(window.ShadyCSS.ApplyShim=ke),He&&(window.ShadyCSS.CustomStyleInterface=He)}}]); -//# sourceMappingURL=1.a6a64c653a8d5b027d77.js.map \ No newline at end of file diff --git a/packages/ui/dist/1.a6a64c653a8d5b027d77.js.LICENSE b/packages/ui/dist/1.a6a64c653a8d5b027d77.js.LICENSE deleted file mode 100644 index d3d993db0..000000000 --- a/packages/ui/dist/1.a6a64c653a8d5b027d77.js.LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/1.a6a64c653a8d5b027d77.js.map b/packages/ui/dist/1.a6a64c653a8d5b027d77.js.map deleted file mode 100644 index 47045e086..000000000 --- a/packages/ui/dist/1.a6a64c653a8d5b027d77.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"1.a6a64c653a8d5b027d77.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js b/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js deleted file mode 100644 index bbfc49878..000000000 --- a/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 1.bdc2609ae7ae8d9ed7b4.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{305:function(t,e,n){"use strict";n.d(e,"d",function(){return o}),n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return a});var r,i,o=!(window.ShadyDOM&&window.ShadyDOM.inUse);function u(t){r=(!t||!t.shimcssproperties)&&(o||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild);var s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?r=window.ShadyCSS.nativeCss:window.ShadyCSS?(u(window.ShadyCSS),window.ShadyCSS=void 0):u(window.WebComponents&&window.WebComponents.flags);var a=r},327:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"c",function(){return u}),n.d(e,"e",function(){return s});class r{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function i(t){return function t(e,n){var r=n.substring(e.start,e.end-1);e.parsedCssText=e.cssText=r.trim();if(e.parent){var i=e.previous?e.previous.end:e.parent.start;r=(r=(r=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(){for(var t=arguments[1],e=6-t.length;e--;)t="0"+t;return"\\"+t})}(r=n.substring(i,e.start-1))).replace(d.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var o=e.parsedSelector=e.selector=r.trim();e.atRule=0===o.indexOf(p),e.atRule?0===o.indexOf(f)?e.type=s.MEDIA_RULE:o.match(d.keyframesRule)&&(e.type=s.KEYFRAMES_RULE,e.keyframesName=e.selector.split(d.multipleSpaces).pop()):0===o.indexOf(l)?e.type=s.MIXIN_RULE:e.type=s.STYLE_RULE}var u=e.rules;if(u)for(var a,c=0,m=u.length;c2&&void 0!==arguments[2]?arguments[2]:"",r="";if(t.cssText||t.rules){var i=t.rules;if(i&&!function(t){var e=t[0];return Boolean(e)&&Boolean(e.selector)&&0===e.selector.indexOf(l)}(i))for(var s,f=0,p=i.length;ft);function _(t){var e=t.localName,n="",r="";return e?e.indexOf("-")>-1?n=e:(r=e,n=t.getAttribute&&t.getAttribute("is")||""):(n=t.is,r=t.extends),{is:n,typeExtension:r}}function b(t){for(var e=[],n=t.querySelectorAll("style"),i=0;i=0&&r0&&void 0!==arguments[0]?arguments[0]:"";return!(""===t||!r.c)&&(r.d?"shadow"===t:"shady"===t)}},365:function(t,e,n){"use strict";n.d(e,"g",function(){return r}),n.d(e,"f",function(){return i}),n.d(e,"h",function(){return o}),n.d(e,"a",function(){return u}),n.d(e,"e",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return d});var r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,o=/(--[\w-]+)\s*([:,;)]|$)/gi,u=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,a=/\{[^}]*\}/g,c="(?:^|[^.#[:])",d="($|[.:[\\s>+~])"},366:function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return u});var r=n(365);function i(t,e){for(var n in e)null===n?t.style.removeProperty(n):t.style.setProperty(n,e[n])}function o(t,e){var n=window.getComputedStyle(t).getPropertyValue(e);return n?n.trim():""}function u(t){var e=r.f.test(t)||r.g.test(t);return r.f.lastIndex=0,r.g.lastIndex=0,e}},400:function(t,e,n){"use strict";e.a={}},441:function(t,e,n){"use strict";var r,i=null,o=window.HTMLImports&&window.HTMLImports.whenReady||null;function u(t){requestAnimationFrame(function(){o?o(t):(i||(i=new Promise(t=>{r=t}),"complete"===document.readyState?r():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&r()})),i.then(function(){t&&t()}))})}n.d(e,"a",function(){return l});var s="__seenByShadyCSS",a="__shadyCSSCachedStyle",c=null,d=null;class l{constructor(){this.customStyles=[],this.enqueued=!1,u(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&d&&(this.enqueued=!0,u(d))}addCustomStyle(t){t[s]||(t[s]=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}getStyleForCustomStyle(t){return t[a]?t[a]:t.getStyle?t.getStyle():t}processStyles(){for(var t=this.customStyles,e=0;ec,set(t){c=t}},validateCallback:{get:()=>d,set(t){var e=!1;d||(e=!0),d=t,e&&this.enqueueDocumentValidation()}}})},451:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return d}),n.d(e,"b",function(){return l});var r=n(400),i=(n(327),"_applyShimCurrentVersion"),o="_applyShimNextVersion",u="_applyShimValidatingVersion",s=Promise.resolve();function a(t){var e=r.a[t];e&&function(t){t[i]=t[i]||0,t[u]=t[u]||0,t[o]=(t[o]||0)+1}(e)}function c(t){return t[i]===t[o]}function d(t){return!c(t)&&t[u]===t[o]}function l(t){t[u]=t[o],t._validating||(t._validating=!0,s.then(function(){t[i]=t[o],t._validating=!1}))}}}]); -//# sourceMappingURL=1.bdc2609ae7ae8d9ed7b4.js.map \ No newline at end of file diff --git a/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js.LICENSE b/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js.LICENSE deleted file mode 100644 index 5a117b4d8..000000000 --- a/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js.LICENSE +++ /dev/null @@ -1,9 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js.map b/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js.map deleted file mode 100644 index 47c90c140..000000000 --- a/packages/ui/dist/1.bdc2609ae7ae8d9ed7b4.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"1.bdc2609ae7ae8d9ed7b4.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/10.319b14679ce81ab3ad40.js b/packages/ui/dist/10.319b14679ce81ab3ad40.js deleted file mode 100644 index 461a978df..000000000 --- a/packages/ui/dist/10.319b14679ce81ab3ad40.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 10.319b14679ce81ab3ad40.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{559:function(e,t){!function(e){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var n=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(n.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var o=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||o&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||o&&"function"!=typeof window.Event){var r=window.Event;if(window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},r)for(var c in r)window.Event[c]=r[c];window.Event.prototype=r.prototype}if(!window.MouseEvent||o&&"function"!=typeof window.MouseEvent){var a=window.MouseEvent;if(window.MouseEvent=function(e,t){t=t||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),n},a)for(var c in a)window.MouseEvent[c]=a[c];window.MouseEvent.prototype=a.prototype}if(Array.from||(Array.from=function(e){return[].slice.call(e)}),!Object.assign){var i=function(e,t){for(var n,o=Object.getOwnPropertyNames(t),r=0;r\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()}(e)];if(t)for(var n=0;n"+e+"";for(E.body.innerHTML=e,y.bootstrap(E);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=E.body;if(t)for(var r=0;r"+this.innerHTML+""},set:function(e){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");E.body.innerHTML=e;for(var t=this.ownerDocument.createDocumentFragment();E.body.firstChild;)i.call(t,E.body.firstChild);l.call(this.parentNode,t,this)},configurable:!0})};M(y.prototype),T(y.prototype),y.bootstrap=function(e){for(var t,n=h(e,"template"),o=0,r=n.length;o]/g,_=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},F=function(e){return e.replace(C,_)},L=function(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&A[t.localName]?l:function(e){return e.replace(O,_)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}},P=function(e,t){"template"===e.localName&&(e=e.content);for(var n,o="",r=t?t(e):d.get.call(e),c=0,a=r.length;c\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()}(e)];if(t)for(var n=0;n"+e+"";for(E.body.innerHTML=e,y.bootstrap(E);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=E.body;if(t)for(var r=0;r"+this.innerHTML+""},set:function(e){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");E.body.innerHTML=e;for(var t=this.ownerDocument.createDocumentFragment();E.body.firstChild;)i.call(t,E.body.firstChild);l.call(this.parentNode,t,this)},configurable:!0})};M(y.prototype),T(y.prototype),y.bootstrap=function(e){for(var t,n=h(e,"template"),o=0,r=n.length;o]/g,_=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},F=function(e){return e.replace(C,_)},L=function(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&A[t.localName]?l:function(e){return e.replace(O,_)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}},P=function(e,t){"template"===e.localName&&(e=e.content);for(var n,o="",r=t?t(e):d.get.call(e),c=0,a=r.length;c

🏭','

',"
"]);return D=function(){return n},n}function M(){var n=r()(['
',"
"]);return M=function(){return n},n}function A(){var n=r()(["\n query {\n factories {\n name\n location\n }\n }\n"]);return A=function(){return n},n}var B=w()(A()),J=function(n){function t(){var n;c()(this,t),(n=l()(this,p()(t).call(this))).factories=[];try{I.watchQuery({query:B}).subscribe(function(t){var e=t.data.factories;n.factories=e})}catch(n){}return n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(M(),this.factories.map(function(n){return Object(v.b)(D(),n.name,n.name,n.location)}))}}]),t}(v.a);customElements.define("wcfactory-ui-factories",J);var N=e(497),P=e(326);e(547);function R(){var n=r()(['\n \n\n \n :host {\n --wcfactory-ui-script-font-size: 12px;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n .script {\n cursor: pointer;\n padding: calc(var(--wcfactory-ui-script-font-size) * .6);\n }\n\n .script[active="true"] {\n background: black;\n }\n \n\n ']);return rn=function(){return n},n}function on(){var n=r()(["",""]);return on=function(){return n},n}customElements.define("wcfactory-ui-script",en);var cn=function(n){function t(){return c()(this,t),l()(this,p()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"render",value:function(){var n=this;return Object(v.b)(on(),this.scripts.map(function(t){return Object(v.b)(rn(),t,n.location)}))}}],[{key:"properties",get:function(){return{scripts:{type:Array},location:{type:String}}}}]),t}(v.a);function an(){var n=r()(['\n \n
:host {\n display: flex;\n background: var(--wcfactory-ui-secondary-color);\n padding: 10px;\n min-height: 100px;\n flex-direction: column;\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer\n }\n button:hover, button:focus {\n color: white;\n }\n #header {\n display: flex;\n }\n #title {\n flex: 1 1 auto;\n }\n #middle {\n flex: 1 1 auto;\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n margin: 10px 0;\n }\n #location {\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n }
']);return fn=function(){return n},n}customElements.define("wcfactory-ui-location",ln);var pn=function(n){function t(){var n;return c()(this,t),(n=l()(this,p()(t).call(this))).element={},n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{element:{type:Object}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(fn(),this.element.name,this.element.version,this.element.scripts,this.element.location,this.element.location)}}]),t}(v.a);function dn(){var n=r()([' ']);return dn=function(){return n},n}customElements.define("wcfactory-ui-element",pn);var yn=function(n){function t(){var n;return c()(this,t),(n=l()(this,p()(t).call(this))).placeholder="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(dn(),this.placeholder)}}]),t}(v.a);function hn(){var n=r()(["\n query($name: ID!) {\n factory(name: $name) {\n name\n location\n scripts\n elements {\n id\n name\n location\n version\n scripts\n }\n }\n }\n "]);return hn=function(){return n},n}function mn(){var n=r()(['
📦 ','
']);return mn=function(){return n},n}function vn(){var n=r()(['
Name: ','
Location:

Elements: (',')Filter elements:
',"
"]);return vn=function(){return n},n}function bn(){var n=r()(["loading..."]);return bn=function(){return n},n}customElements.define("wcfactory-ui-search",yn);var gn=function(n){function t(){var n;return c()(this,t),(n=l()(this,p()(t).call(this))).factory=null,n.loading=!0,n.activeElement=null,n.elementFilter="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(t,[{key:"render",value:function(){var n=this,t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(v.b)(bn());if(this.factory){var e=new N.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(v.b)(vn(),this.factory.name,this.factory.location,this.factory.scripts,this.factory.location,this.factory.elements.length,function(t){return n.elementFilter=t.composedPath()[0].value},i.map(function(t){return Object(v.b)(mn(),t.name===n.activeElement,n._activateItemHander,n._activateItemHander,t.name,t.name===n.activeElement,t.name,t.name===n.activeElement?"1":null,t,t.name===n.activeElement?"1":null)}))}}},{key:"fetchFactory",value:function(n){var t=this;try{I.watchQuery({query:w()(hn()),variables:{name:n}}).subscribe(function(n){var e=n.data.factory;t.loading=!1,t.factory=e})}catch(n){}}},{key:"_activateItemHander",value:function(n){var t=!1;"click"===n.type?t=!0:void 0!==n.keyCode&&(13!==n.keyCode&&32!==n.keyCode||(t=!0)),t&&(this.activeElement=n.target.dataset.name,n.target.nextSibling.focus())}}]),t}(v.a);function wn(){var n=r()(["that path does not exist 😔"]);return wn=function(){return n},n}customElements.define("wcfactory-ui-factory",gn);var kn=function(n){function t(){return c()(this,t),l()(this,p()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"render",value:function(){return Object(v.b)(wn())}}]),t}(v.a);function xn(){var n=r()(["\n
\n \n
\n "]);return xn=function(){return n},n}function On(){var n=r()(["\n ","\n "]);return On=function(){return n},n}function jn(){var n=r()(["\n query {\n operations {\n pid\n location\n script\n element {\n name\n }\n }\n }\n"]);return jn=function(){return n},n}customElements.define("wcfactory-ui-404",kn);var En=w()(jn()),Sn=function(n){function t(){var n;return c()(this,t),(n=l()(this,p()(t).call(this))).client=I,n.query=En,n}return m()(t,n),u()(t,[{key:"render",value:function(){var n=this.data;this.error,this.loading;return Object(P.c)(On(),n.operations.map(function(n){return Object(P.c)(xn(),n)}))}}]),t}(P.b);function zn(){var n=r()(['

WCFactory

']);return zn=function(){return n},n}customElements.define("wcfactory-ui-active-scripts",Sn);var qn=function(n){function t(){return c()(this,t),l()(this,p()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"firstUpdated",value:function(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}},{key:"disconnectedCallback",value:function(){y()(p()(t.prototype),"disconnectedCallback",this).call(this),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}},{key:"render",value:function(){return Object(v.b)(zn())}},{key:"routerSetup",value:function(){var n=this.shadowRoot.getElementById("router-outlet");new b.a(n).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}},{key:"_openLocationHandler",value:function(n){console.log("e:",n)}}]),t}(v.a);customElements.define("wcfactory-ui",qn)}}]); \ No newline at end of file diff --git a/packages/ui/dist/11.5587b7cd7d7b4affb9c5.js b/packages/ui/dist/11.5587b7cd7d7b4affb9c5.js deleted file mode 100644 index 55d2bd3ba..000000000 --- a/packages/ui/dist/11.5587b7cd7d7b4affb9c5.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{663:function(n,w,o){"use strict";o.r(w);o(506),o(508),o(510)}}]); \ No newline at end of file diff --git a/packages/ui/dist/11.5e37700ea4cbbd21b8e9.js b/packages/ui/dist/11.5e37700ea4cbbd21b8e9.js deleted file mode 100644 index 937d13b4c..000000000 --- a/packages/ui/dist/11.5e37700ea4cbbd21b8e9.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{556:function(n,t,e){"use strict";e.r(t);var i=e(272),r=e.n(i),o=e(261),c=e.n(o),a=e(262),u=e.n(a),s=e(264),l=e.n(s),f=e(263),p=e.n(f),d=e(266),y=e.n(d),h=e(265),m=e.n(h),v=e(300),b=e(476),g=e(281),w=e.n(g),k=e(546),x=e(541),O=e(544),j=e(478),E=e(303),S=e(479),z=e(275),q=e(543),L=e(537),$=new O.a({uri:"http://localhost:4000"}),F=new S.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),C=Object(E.e)(function(n){var t=n.query,e=Object(z.getMainDefinition)(t),i=e.kind,r=e.operation;return"OperationDefinition"===i&&"subscription"===r},F,$),_=new x.a({cacheRedirects:{Query:{operations:function(n,t,e){var i=e.getCacheKey;return t.ids.map(function(n){return i({__typename:"Book",id:n})})}}}}),Q=new L.a,H=Object(q.a)({cache:_}),I=new k.a({link:E.a.from([Object(j.a)(function(n){var t=n.graphQLErrors,e=n.networkError;t&&t.map(function(n){var t=n.message,e=n.locations,i=n.path;return console.log("[GraphQL error]: Message: ".concat(t,", Location: ").concat(e,", Path: ").concat(i))}),e&&console.log("[Network error]: ".concat(e))}),Q,H,C]),cache:_,connectToDevTools:!0});e(532);function D(){var n=r()(['

🏭','

',"
"]);return D=function(){return n},n}function B(){var n=r()(['
',"
"]);return B=function(){return n},n}function M(){var n=r()(["\n query {\n factories {\n name\n location\n }\n }\n"]);return M=function(){return n},n}var R=w()(M()),A=function(n){function t(){var n;c()(this,t),(n=l()(this,p()(t).call(this))).factories=[];try{I.watchQuery({query:R}).subscribe(function(t){var e=t.data.factories;n.factories=e})}catch(n){}return n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(B(),this.factories.map(function(n){return Object(v.b)(D(),n.name,n.name,n.location)}))}}]),t}(v.a);customElements.define("wcfactory-ui-factories",A);var J=e(497),N=e(326);e(547);function P(){var n=r()(['\n \n\n \n :host {\n --wcfactory-ui-script-font-size: 12px;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n .script {\n cursor: pointer;\n padding: calc(var(--wcfactory-ui-script-font-size) * .6);\n }\n\n .script[active="true"] {\n background: black;\n }\n \n\n ']);return rn=function(){return n},n}function on(){var n=r()(["",""]);return on=function(){return n},n}customElements.define("wcfactory-ui-script",en);var cn=function(n){function t(){return c()(this,t),l()(this,p()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"render",value:function(){var n=this;return Object(v.b)(on(),this.scripts.map(function(t){return Object(v.b)(rn(),t,n.location)}))}}],[{key:"properties",get:function(){return{scripts:{type:Array},location:{type:String}}}}]),t}(v.a);function an(){var n=r()(['\n \n
:host {\n display: flex;\n background: var(--wcfactory-ui-secondary-color);\n padding: 10px;\n min-height: 100px;\n flex-direction: column;\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer\n }\n button:hover, button:focus {\n color: white;\n }\n #header {\n display: flex;\n }\n #title {\n flex: 1 1 auto;\n }\n #middle {\n flex: 1 1 auto;\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n margin: 10px 0;\n }\n #location {\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n }
']);return fn=function(){return n},n}customElements.define("wcfactory-ui-location",ln);var pn=function(n){function t(){var n;return c()(this,t),(n=l()(this,p()(t).call(this))).element={},n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{element:{type:Object}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(fn(),this.element.name,this.element.version,this.element.scripts,this.element.location,this.element.location)}}]),t}(v.a);function dn(){var n=r()([' ']);return dn=function(){return n},n}customElements.define("wcfactory-ui-element",pn);var yn=function(n){function t(){var n;return c()(this,t),(n=l()(this,p()(t).call(this))).placeholder="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(dn(),this.placeholder)}}]),t}(v.a);function hn(){var n=r()(["\n query($name: ID!) {\n factory(name: $name) {\n name\n location\n scripts\n elements {\n id\n name\n location\n version\n scripts\n }\n }\n }\n "]);return hn=function(){return n},n}function mn(){var n=r()(['
📦 ','
']);return mn=function(){return n},n}function vn(){var n=r()(['
Name: ','
Location:

Elements: (',')Filter elements:
',"
"]);return vn=function(){return n},n}function bn(){var n=r()(["loading..."]);return bn=function(){return n},n}customElements.define("wcfactory-ui-search",yn);var gn=function(n){function t(){var n;return c()(this,t),(n=l()(this,p()(t).call(this))).factory=null,n.loading=!0,n.activeElement=null,n.elementFilter="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(t,[{key:"render",value:function(){var n=this,t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(v.b)(bn());if(this.factory){var e=new J.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(v.b)(vn(),this.factory.name,this.factory.location,this.factory.scripts,this.factory.location,this.factory.elements.length,function(t){return n.elementFilter=t.composedPath()[0].value},i.map(function(t){return Object(v.b)(mn(),t.name===n.activeElement,n._activateItemHander,n._activateItemHander,t.name,t.name===n.activeElement,t.name,t.name===n.activeElement?"1":null,t,t.name===n.activeElement?"1":null)}))}}},{key:"fetchFactory",value:function(n){var t=this;try{I.watchQuery({query:w()(hn()),variables:{name:n}}).subscribe(function(n){var e=n.data.factory;t.loading=!1,t.factory=e})}catch(n){}}},{key:"_activateItemHander",value:function(n){var t=!1;"click"===n.type?t=!0:void 0!==n.keyCode&&(13!==n.keyCode&&32!==n.keyCode||(t=!0)),t&&(this.activeElement=n.target.dataset.name,n.target.nextSibling.focus())}}]),t}(v.a);function wn(){var n=r()(["that path does not exist 😔"]);return wn=function(){return n},n}customElements.define("wcfactory-ui-factory",gn);var kn=function(n){function t(){return c()(this,t),l()(this,p()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"render",value:function(){return Object(v.b)(wn())}}]),t}(v.a);function xn(){var n=r()(["\n
\n \n
\n "]);return xn=function(){return n},n}function On(){var n=r()(["\n ","\n "]);return On=function(){return n},n}function jn(){var n=r()(["\n query {\n operations {\n pid\n location\n script\n element {\n name\n }\n }\n }\n"]);return jn=function(){return n},n}customElements.define("wcfactory-ui-404",kn);var En=w()(jn()),Sn=function(n){function t(){var n;return c()(this,t),(n=l()(this,p()(t).call(this))).client=I,n.query=En,n}return m()(t,n),u()(t,[{key:"render",value:function(){var n=this.data;this.error,this.loading;return Object(N.c)(On(),n.operations.map(function(n){return Object(N.c)(xn(),n)}))}}]),t}(N.b);function zn(){var n=r()(['

WCFactory

']);return zn=function(){return n},n}customElements.define("wcfactory-ui-active-scripts",Sn);var qn=function(n){function t(){return c()(this,t),l()(this,p()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"firstUpdated",value:function(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}},{key:"disconnectedCallback",value:function(){y()(p()(t.prototype),"disconnectedCallback",this).call(this),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}},{key:"render",value:function(){return Object(v.b)(zn())}},{key:"routerSetup",value:function(){var n=this.shadowRoot.getElementById("router-outlet");new b.a(n).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}},{key:"_openLocationHandler",value:function(n){console.log("e:",n)}}]),t}(v.a);customElements.define("wcfactory-ui",qn)}}]); \ No newline at end of file diff --git a/packages/ui/dist/11.66b6b3e00a053bfc5b61.js b/packages/ui/dist/11.66b6b3e00a053bfc5b61.js deleted file mode 100644 index e606042a5..000000000 --- a/packages/ui/dist/11.66b6b3e00a053bfc5b61.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{398:function(n,t,e){"use strict";e.r(t);var r=e(273),i=e.n(r),o=e(261),a=e.n(o),c=e(262),u=e.n(c),s=e(264),l=e.n(s),f=e(263),d=e.n(f),p=e(267),h=e.n(p),y=e(265),m=e.n(y),v=e(278),b=e(351),g=e(287),k=e.n(g),w=e(383),x=e(384),O=e(386),E=e(353),S=e(280),j=e(354),C=e(269),L=e(385),I=e(380),_=new O.a({uri:"http://localhost:4000"}),q=new j.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),P=Object(S.e)(function(n){var t=n.query,e=Object(C.getMainDefinition)(t),r=e.kind,i=e.operation;return"OperationDefinition"===r&&"subscription"===i},q,_),F=new x.a,T=Object(L.a)({cache:F}),U=new w.a({link:S.a.from([Object(E.a)(function(n){var t=n.graphQLErrors,e=n.networkError;t&&t.map(function(n){var t=n.message,e=n.locations,r=n.path;return console.log("[GraphQL error]: Message: ".concat(t,", Location: ").concat(e,", Path: ").concat(r))}),e&&console.log("[Network error]: ".concat(e))}),new I.a,T,P]),cache:F,connectToDevTools:!1});e(377);function A(){var n=i()(['

🏭','

',"
"]);return A=function(){return n},n}function H(){var n=i()(['
',"
"]);return H=function(){return n},n}function R(){var n=i()(["\n query {\n factories {\n name\n location\n }\n }\n"]);return R=function(){return n},n}var $=k()(R()),B=function(n){function t(){var n;a()(this,t),(n=l()(this,d()(t).call(this))).factories=[];try{U.watchQuery({query:$}).subscribe(function(t){var e=t.data.factories;n.factories=e})}catch(n){}return n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(H(),this.factories.map(function(n){return Object(v.b)(A(),n.name,n.name,n.location)}))}}]),t}(v.a);customElements.define("wcfactory-ui-factories",B);var Q=e(372),D=e(276),N=e.n(D);function M(){var n=i()(["\n mutation($script: String!, $location: String!) {\n runScript(script: $script, location: $location)\n }\n "]);return M=function(){return n},n}function z(){var n=i()(['"]);return z=function(){return n},n}function J(){var n=i()(['🔄',""]);return J=function(){return n},n}function W(){var n=i()([''," "," ",'
']);return W=function(){return n},n}function G(){var n=i()(["\n subscription {\n operationsChildProcess\n }\n"]);return G=function(){return n},n}function K(){var n=i()(["\n subscription {\n operationsUpdate\n }\n"]);return K=function(){return n},n}function V(){var n=i()(["\n query {\n operations {\n script\n location\n }\n }\n"]);return V=function(){return n},n}var X=k()(V()),Y=k()(K()),Z=k()(G()),nn=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).scripts={},n.operations=[],n.activeScript="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{scripts:{type:Array},operations:{type:Array},location:{type:Array},activeScript:{type:String}}}}]),u()(t,[{key:"firstUpdated",value:function(){this.subscribeToOperations(),this.subscribeToOperationsChildProcess(),this.fetchOperations()}},{key:"render",value:function(){var n=this;return Object(v.b)(W(),this.activeScript,this.script,this.scripts.map(function(t){return n.operations.find(function(e){return e.script===t&&e.location===n.location})?Object(v.b)(J(),n.activeScript===t,t):Object(v.b)(z(),function(e){return n.runScript(t,n.location)},t)}))}},{key:"runScript",value:function(n,t){return new Promise(function(e,r){var i=function(){try{return e()}catch(n){return r(n)}},o=function(n){try{return i()}catch(n){return r(n)}};try{return Promise.resolve(U.mutate({mutation:k()(M()),variables:{script:n,location:t}})).then(function(n){try{return i()}catch(n){return o()}},o)}catch(n){o()}})}},{key:"fetchOperations",value:function(){var n=this;try{U.watchQuery({query:X}).subscribe(function(t){var e=t.data.operations;n.operations=e})}catch(n){}}},{key:"subscribeToOperations",value:function(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_UPDATE:"subscribed"}),U.subscribe({query:Y}).subscribe(function(n){var t=n.data.operationsUpdate,e=U.readQuery({query:X}),r=JSON.parse(t);e.operations=[].concat(N()(e.operations),[r]),U.writeQuery({query:X,data:e})})}},{key:"subscribeToOperationsChildProcess",value:function(){var n=this;window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_CHILD_PROCESS:"subscribed"}),U.subscribe({query:Z}).subscribe(function(t){var e=t.data.operationsChildProcess;n.shadowRoot.getElementById("output").innerHTML=e})}}]),t}(v.a);function tn(){var n=i()(["\n mutation($location: String!) {\n openLocation(location: $location)\n }\n "]);return tn=function(){return n},n}function en(){var n=i()(['
"]);return en=function(){return n},n}customElements.define("wcfactory-ui-scripts",nn);var rn=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).element={},n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{element:{type:Object},operations:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(en(),this.element.name,this.element.version,this.element.scripts,this.element.location,this._locationClicked,this.element.location)}},{key:"_locationClicked",value:function(n){this.openLocation(this.element.location)}},{key:"openLocation",value:function(n){U.mutate({mutation:k()(tn()),variables:{location:n}})}}]),t}(v.a);function on(){var n=i()([' ']);return on=function(){return n},n}customElements.define("wcfactory-ui-element",rn);var an=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).placeholder="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(on(),this.placeholder)}}]),t}(v.a);function cn(){var n=i()(["\n query($name: ID!) {\n factory(name: $name) {\n name\n location\n elements {\n name\n location\n version\n scripts\n }\n }\n }\n "]);return cn=function(){return n},n}function un(){var n=i()(['
📦 ','
']);return un=function(){return n},n}function sn(){var n=i()(['Name: ',"
Location: ","
Elements: (",')
Filter elements:
',"
"]);return sn=function(){return n},n}function ln(){var n=i()(["loading..."]);return ln=function(){return n},n}customElements.define("wcfactory-ui-search",an);var fn=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).factory=null,n.loading=!0,n.activeElement=null,n.elementFilter="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(t,[{key:"render",value:function(){var n=this,t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(v.b)(ln());if(this.factory){var e=new Q.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),r=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(v.b)(sn(),this.factory.name,this.factory.location,this.factory.elements.length,function(t){return n.elementFilter=t.composedPath()[0].value},r.map(function(t){return Object(v.b)(un(),t.name===n.activeElement,n._activateItemHander,n._activateItemHander,t.name,t.name===n.activeElement,t.name,t.name===n.activeElement?"1":null,t,t.name===n.activeElement?"1":null)}))}}},{key:"fetchFactory",value:function(n){var t=this;try{U.watchQuery({query:k()(cn()),variables:{name:n}}).subscribe(function(n){var e=n.data.factory;t.loading=!1,t.factory=e})}catch(n){}}},{key:"_activateItemHander",value:function(n){var t=!1;"click"===n.type?t=!0:void 0!==n.keyCode&&(13!==n.keyCode&&32!==n.keyCode||(t=!0)),t&&(this.activeElement=n.target.dataset.name,n.target.nextSibling.focus())}}]),t}(v.a);function dn(){var n=i()(["that path does not exist 😔"]);return dn=function(){return n},n}customElements.define("wcfactory-ui-factory",fn);var pn=function(n){function t(){return a()(this,t),l()(this,d()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"render",value:function(){return Object(v.b)(dn())}}]),t}(v.a);function hn(){var n=i()(['

WCFactory

']);return hn=function(){return n},n}customElements.define("wcfactory-ui-404",pn);var yn=function(n){function t(){return a()(this,t),l()(this,d()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"firstUpdated",value:function(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}},{key:"disconnectedCallback",value:function(){h()(d()(t.prototype),"disconnectedCallback",this).call(this),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}},{key:"render",value:function(){return Object(v.b)(hn())}},{key:"routerSetup",value:function(){var n=this.shadowRoot.getElementById("router-outlet");new b.a(n).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}},{key:"_openLocationHandler",value:function(n){console.log("e:",n)}}]),t}(v.a);customElements.define("wcfactory-ui",yn)}}]); \ No newline at end of file diff --git a/packages/ui/dist/11.6b30b2bc1c28b87816b1.js b/packages/ui/dist/11.6b30b2bc1c28b87816b1.js deleted file mode 100644 index 6f43ff8f3..000000000 --- a/packages/ui/dist/11.6b30b2bc1c28b87816b1.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{397:function(n,t,e){"use strict";e.r(t);var r=e(273),i=e.n(r),o=e(261),a=e.n(o),c=e(262),u=e.n(c),s=e(264),l=e.n(s),p=e(263),f=e.n(p),d=e(267),y=e.n(d),h=e(265),m=e.n(h),v=e(278),b=e(351),g=e(287),k=e.n(g),w=e(383),x=e(384),O=e(386),j=e(353),E=e(280),S=e(354),q=e(269),L=e(385),Q=e(380),C=new O.a({uri:"http://localhost:4000"}),F=new S.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),$=Object(E.e)(function(n){var t=n.query,e=Object(q.getMainDefinition)(t),r=e.kind,i=e.operation;return"OperationDefinition"===r&&"subscription"===i},F,C),_=new x.a,A=new Q.a,H=Object(L.a)({cache:_}),I=new w.a({link:E.a.from([Object(j.a)(function(n){var t=n.graphQLErrors,e=n.networkError;t&&t.map(function(n){var t=n.message,e=n.locations,r=n.path;return console.log("[GraphQL error]: Message: ".concat(t,", Location: ").concat(e,", Path: ").concat(r))}),e&&console.log("[Network error]: ".concat(e))}),A,H,$]),cache:_,connectToDevTools:!1});e(377);function z(){var n=i()(['

🏭','

',"
"]);return z=function(){return n},n}function D(){var n=i()(['
',"
"]);return D=function(){return n},n}function J(){var n=i()(["\n query {\n factories {\n name\n location\n }\n }\n"]);return J=function(){return n},n}var N=k()(J()),P=function(n){function t(){var n;a()(this,t),(n=l()(this,f()(t).call(this))).factories=[];try{I.watchQuery({query:N}).subscribe(function(t){var e=t.data.factories;n.factories=e})}catch(n){}return n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(D(),this.factories.map(function(n){return Object(v.b)(z(),n.name,n.name,n.location)}))}}]),t}(v.a);customElements.define("wcfactory-ui-factories",P);var U=e(372),M=e(276),B=e.n(M);function R(){var n=i()(["\n mutation($script: String!, $location: String!) {\n runScript(script: $script, location: $location)\n }\n "]);return R=function(){return n},n}function T(){var n=i()(['"]);return T=function(){return n},n}function G(){var n=i()(["","
"]);return G=function(){return n},n}function W(){var n=i()(['🔄','
',"
"]);return W=function(){return n},n}function K(){var n=i()([''," "," ",""]);return K=function(){return n},n}function V(){var n=i()(["\n query {\n operationsOutput {\n output\n operation {\n pid\n }\n }\n }\n"]);return V=function(){return n},n}function X(){var n=i()(["\n query {\n operations {\n script\n location\n pid\n }\n }\n"]);return X=function(){return n},n}function Y(){var n=i()(["\n subscription {\n operationsOutput\n }\n"]);return Y=function(){return n},n}function Z(){var n=i()(["\n subscription {\n operationsUpdate\n }\n"]);return Z=function(){return n},n}var nn=k()(Z()),tn=k()(Y()),en=k()(X()),rn=k()(V());I.subscribe({query:nn}).subscribe(function(n){var t=n.data.operationsUpdate,e=I.readQuery({query:en}),r=JSON.parse(t);e.operations=[].concat(B()(e.operations),[r]),I.writeQuery({query:en,data:e})}),I.subscribe({query:tn}).subscribe(function(n){var t=n.data.operationsOutput,e=I.readQuery({query:rn}),r=I.readQuery({query:en}),i=JSON.parse(t),o=r.operations.find(function(n){return n.pid===i.operation});i=Object.assign({},i,{operation:o}),e.operationsOutput=[].concat(B()(e.operationsOutput),[i]),I.writeQuery({query:rn,data:e})});var on=function(n){function t(){var n;return a()(this,t),(n=l()(this,f()(t).call(this))).scripts={},n.operations=[],n.operationsOutput=[],n.activeScript="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{scripts:{type:Array},operations:{type:Array},operationsOutput:{type:Array},location:{type:Array},activeScript:{type:String}}}}]),u()(t,[{key:"firstUpdated",value:function(){this.fetchOperations(),this.fetchOperationsOutput()}},{key:"render",value:function(){var n=this;return Object(v.b)(K(),this.activeScript,this.script,this.scripts.map(function(t){var e=n.operations.find(function(e){return e.script===t&&e.location===n.location}),r=void 0!==e?n.operationsOutput.filter(function(n){return n.operation.pid===e.pid}):[];return e?Object(v.b)(W(),n.activeScript===t,t,r.map(function(n){return Object(v.b)(G(),n.output)})):Object(v.b)(T(),function(e){return n.runScript(t,n.location)},t)}))}},{key:"runScript",value:function(n,t){return new Promise(function(e,r){var i=function(){try{return e()}catch(n){return r(n)}},o=function(n){try{return i()}catch(n){return r(n)}};try{return Promise.resolve(I.mutate({mutation:k()(R()),variables:{script:n,location:t}})).then(function(n){try{return i()}catch(n){return o()}},o)}catch(n){o()}})}},{key:"fetchOperationsOutput",value:function(){var n=this;try{I.watchQuery({query:rn}).subscribe(function(t){var e=t.data.operationsOutput;n.operationsOutput=e})}catch(n){}}},{key:"fetchOperations",value:function(){var n=this;try{I.watchQuery({query:en}).subscribe(function(t){var e=t.data.operations;n.operations=e})}catch(n){}}}]),t}(v.a);function an(){var n=i()(["\n mutation($location: String!) {\n openLocation(location: $location)\n }\n "]);return an=function(){return n},n}function cn(){var n=i()(['
"]);return cn=function(){return n},n}customElements.define("wcfactory-ui-scripts",on);var un=function(n){function t(){var n;return a()(this,t),(n=l()(this,f()(t).call(this))).element={},n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{element:{type:Object},operations:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(cn(),this.element.name,this.element.version,this.element.scripts,this.element.location,this._locationClicked,this.element.location)}},{key:"_locationClicked",value:function(n){this.openLocation(this.element.location)}},{key:"openLocation",value:function(n){I.mutate({mutation:k()(an()),variables:{location:n}})}}]),t}(v.a);function sn(){var n=i()([' ']);return sn=function(){return n},n}customElements.define("wcfactory-ui-element",un);var ln=function(n){function t(){var n;return a()(this,t),(n=l()(this,f()(t).call(this))).placeholder="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(sn(),this.placeholder)}}]),t}(v.a);function pn(){var n=i()(["\n query($name: ID!) {\n factory(name: $name) {\n name\n location\n elements {\n name\n location\n version\n scripts\n }\n }\n }\n "]);return pn=function(){return n},n}function fn(){var n=i()(['
📦 ','
']);return fn=function(){return n},n}function dn(){var n=i()(['Name: ',"
Location: ","
Elements: (",')
Filter elements:
',"
"]);return dn=function(){return n},n}function yn(){var n=i()(["loading..."]);return yn=function(){return n},n}customElements.define("wcfactory-ui-search",ln);var hn=function(n){function t(){var n;return a()(this,t),(n=l()(this,f()(t).call(this))).factory=null,n.loading=!0,n.activeElement=null,n.elementFilter="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(t,[{key:"render",value:function(){var n=this,t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(v.b)(yn());if(this.factory){var e=new U.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),r=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(v.b)(dn(),this.factory.name,this.factory.location,this.factory.elements.length,function(t){return n.elementFilter=t.composedPath()[0].value},r.map(function(t){return Object(v.b)(fn(),t.name===n.activeElement,n._activateItemHander,n._activateItemHander,t.name,t.name===n.activeElement,t.name,t.name===n.activeElement?"1":null,t,t.name===n.activeElement?"1":null)}))}}},{key:"fetchFactory",value:function(n){var t=this;try{I.watchQuery({query:k()(pn()),variables:{name:n}}).subscribe(function(n){var e=n.data.factory;t.loading=!1,t.factory=e})}catch(n){}}},{key:"_activateItemHander",value:function(n){var t=!1;"click"===n.type?t=!0:void 0!==n.keyCode&&(13!==n.keyCode&&32!==n.keyCode||(t=!0)),t&&(this.activeElement=n.target.dataset.name,n.target.nextSibling.focus())}}]),t}(v.a);function mn(){var n=i()(["that path does not exist 😔"]);return mn=function(){return n},n}customElements.define("wcfactory-ui-factory",hn);var vn=function(n){function t(){return a()(this,t),l()(this,f()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"render",value:function(){return Object(v.b)(mn())}}]),t}(v.a);function bn(){var n=i()(['

WCFactory

']);return bn=function(){return n},n}customElements.define("wcfactory-ui-404",vn);var gn=function(n){function t(){return a()(this,t),l()(this,f()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"firstUpdated",value:function(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}},{key:"disconnectedCallback",value:function(){y()(f()(t.prototype),"disconnectedCallback",this).call(this),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}},{key:"render",value:function(){return Object(v.b)(bn())}},{key:"routerSetup",value:function(){var n=this.shadowRoot.getElementById("router-outlet");new b.a(n).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}},{key:"_openLocationHandler",value:function(n){console.log("e:",n)}}]),t}(v.a);customElements.define("wcfactory-ui",gn)}}]); \ No newline at end of file diff --git a/packages/ui/dist/11.7cdca8383470b8709281.js b/packages/ui/dist/11.7cdca8383470b8709281.js deleted file mode 100644 index ea6aa5e51..000000000 --- a/packages/ui/dist/11.7cdca8383470b8709281.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{397:function(n,t,e){"use strict";e.r(t);var r=e(273),i=e.n(r),o=e(261),a=e.n(o),c=e(262),u=e.n(c),s=e(264),l=e.n(s),f=e(263),d=e.n(f),p=e(267),h=e.n(p),y=e(265),m=e.n(y),v=e(278),b=e(351),g=e(287),k=e.n(g),w=e(383),x=e(384),O=e(386),E=e(353),S=e(280),j=e(354),C=e(269),L=e(385),I=e(380),_=new O.a({uri:"http://localhost:4000"}),q=new j.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),P=new I.a,F=Object(S.e)(function(n){var t=n.query,e=Object(C.getMainDefinition)(t),r=e.kind,i=e.operation;return"OperationDefinition"===r&&"subscription"===i},q,_),T=new x.a,U=Object(L.a)({cache:T}),A=new w.a({link:S.a.from([Object(E.a)(function(n){var t=n.graphQLErrors,e=n.networkError;t&&t.map(function(n){var t=n.message,e=n.locations,r=n.path;return console.log("[GraphQL error]: Message: ".concat(t,", Location: ").concat(e,", Path: ").concat(r))}),e&&console.log("[Network error]: ".concat(e))}),U,F,P]),cache:T,connectToDevTools:!1});e(377);function H(){var n=i()(['

🏭','

',"
"]);return H=function(){return n},n}function R(){var n=i()(['
',"
"]);return R=function(){return n},n}function $(){var n=i()(["\n query {\n factories {\n name\n location\n }\n }\n"]);return $=function(){return n},n}var B=k()($()),Q=function(n){function t(){var n;a()(this,t),(n=l()(this,d()(t).call(this))).factories=[];try{A.watchQuery({query:B}).subscribe(function(t){var e=t.data.factories;n.factories=e})}catch(n){}return n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(R(),this.factories.map(function(n){return Object(v.b)(H(),n.name,n.name,n.location)}))}}]),t}(v.a);customElements.define("wcfactory-ui-factories",Q);var D=e(372),N=e(276),M=e.n(N);function z(){var n=i()(["\n mutation($script: String!, $location: String!) {\n runScript(script: $script, location: $location)\n }\n "]);return z=function(){return n},n}function J(){var n=i()(['"]);return J=function(){return n},n}function W(){var n=i()(['🔄',""]);return W=function(){return n},n}function G(){var n=i()([''," "," ",'
']);return G=function(){return n},n}function K(){var n=i()(["\n subscription {\n operationsChildProcess\n }\n"]);return K=function(){return n},n}function V(){var n=i()(["\n subscription {\n operationsUpdate\n }\n"]);return V=function(){return n},n}function X(){var n=i()(["\n query {\n operations {\n script\n location\n }\n }\n"]);return X=function(){return n},n}var Y=k()(X()),Z=k()(V()),nn=k()(K()),tn=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).scripts={},n.operations=[],n.activeScript="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{scripts:{type:Array},operations:{type:Array},location:{type:Array},activeScript:{type:String}}}}]),u()(t,[{key:"firstUpdated",value:function(){this.subscribeToOperations(),this.subscribeToOperationsChildProcess(),this.fetchOperations()}},{key:"render",value:function(){var n=this;return Object(v.b)(G(),this.activeScript,this.script,this.scripts.map(function(t){return n.operations.find(function(e){return e.script===t&&e.location===n.location})?Object(v.b)(W(),n.activeScript===t,t):Object(v.b)(J(),function(e){return n.runScript(t,n.location)},t)}))}},{key:"runScript",value:function(n,t){return new Promise(function(e,r){var i=function(){try{return e()}catch(n){return r(n)}},o=function(n){try{return i()}catch(n){return r(n)}};try{return Promise.resolve(A.mutate({mutation:k()(z()),variables:{script:n,location:t}})).then(function(n){try{return i()}catch(n){return o()}},o)}catch(n){o()}})}},{key:"fetchOperations",value:function(){var n=this;try{A.watchQuery({query:Y}).subscribe(function(t){var e=t.data.operations;n.operations=e})}catch(n){}}},{key:"subscribeToOperations",value:function(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_UPDATE:"subscribed"}),A.subscribe({query:Z}).subscribe(function(n){var t=n.data.operationsUpdate,e=A.readQuery({query:Y}),r=JSON.parse(t);e.operations=[].concat(M()(e.operations),[r]),A.writeQuery({query:Y,data:e})})}},{key:"subscribeToOperationsChildProcess",value:function(){var n=this;window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_CHILD_PROCESS:"subscribed"}),A.subscribe({query:nn}).subscribe(function(t){var e=t.data.operationsChildProcess;n.shadowRoot.getElementById("output").innerHTML=e})}}]),t}(v.a);function en(){var n=i()(["\n mutation($location: String!) {\n openLocation(location: $location)\n }\n "]);return en=function(){return n},n}function rn(){var n=i()(['
"]);return rn=function(){return n},n}customElements.define("wcfactory-ui-scripts",tn);var on=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).element={},n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{element:{type:Object},operations:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(rn(),this.element.name,this.element.version,this.element.scripts,this.element.location,this._locationClicked,this.element.location)}},{key:"_locationClicked",value:function(n){this.openLocation(this.element.location)}},{key:"openLocation",value:function(n){A.mutate({mutation:k()(en()),variables:{location:n}})}}]),t}(v.a);function an(){var n=i()([' ']);return an=function(){return n},n}customElements.define("wcfactory-ui-element",on);var cn=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).placeholder="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(an(),this.placeholder)}}]),t}(v.a);function un(){var n=i()(["\n query($name: ID!) {\n factory(name: $name) {\n name\n location\n elements {\n name\n location\n version\n scripts\n }\n }\n }\n "]);return un=function(){return n},n}function sn(){var n=i()(['
📦 ','
']);return sn=function(){return n},n}function ln(){var n=i()(['Name: ',"
Location: ","
Elements: (",')
Filter elements:
',"
"]);return ln=function(){return n},n}function fn(){var n=i()(["loading..."]);return fn=function(){return n},n}customElements.define("wcfactory-ui-search",cn);var dn=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).factory=null,n.loading=!0,n.activeElement=null,n.elementFilter="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(t,[{key:"render",value:function(){var n=this,t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(v.b)(fn());if(this.factory){var e=new D.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),r=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(v.b)(ln(),this.factory.name,this.factory.location,this.factory.elements.length,function(t){return n.elementFilter=t.composedPath()[0].value},r.map(function(t){return Object(v.b)(sn(),t.name===n.activeElement,n._activateItemHander,n._activateItemHander,t.name,t.name===n.activeElement,t.name,t.name===n.activeElement?"1":null,t,t.name===n.activeElement?"1":null)}))}}},{key:"fetchFactory",value:function(n){var t=this;try{A.watchQuery({query:k()(un()),variables:{name:n}}).subscribe(function(n){var e=n.data.factory;t.loading=!1,t.factory=e})}catch(n){}}},{key:"_activateItemHander",value:function(n){var t=!1;"click"===n.type?t=!0:void 0!==n.keyCode&&(13!==n.keyCode&&32!==n.keyCode||(t=!0)),t&&(this.activeElement=n.target.dataset.name,n.target.nextSibling.focus())}}]),t}(v.a);function pn(){var n=i()(["that path does not exist 😔"]);return pn=function(){return n},n}customElements.define("wcfactory-ui-factory",dn);var hn=function(n){function t(){return a()(this,t),l()(this,d()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"render",value:function(){return Object(v.b)(pn())}}]),t}(v.a);function yn(){var n=i()(['

WCFactory

']);return yn=function(){return n},n}customElements.define("wcfactory-ui-404",hn);var mn=function(n){function t(){return a()(this,t),l()(this,d()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"firstUpdated",value:function(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}},{key:"disconnectedCallback",value:function(){h()(d()(t.prototype),"disconnectedCallback",this).call(this),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}},{key:"render",value:function(){return Object(v.b)(yn())}},{key:"routerSetup",value:function(){var n=this.shadowRoot.getElementById("router-outlet");new b.a(n).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}},{key:"_openLocationHandler",value:function(n){console.log("e:",n)}}]),t}(v.a);customElements.define("wcfactory-ui",mn)}}]); \ No newline at end of file diff --git a/packages/ui/dist/11.93875e773a8c79f892c0.js b/packages/ui/dist/11.93875e773a8c79f892c0.js deleted file mode 100644 index 87aaa291b..000000000 --- a/packages/ui/dist/11.93875e773a8c79f892c0.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{396:function(n,t,e){"use strict";e.r(t);var r=e(271),i=e.n(r),o=e(261),a=e.n(o),c=e(262),u=e.n(c),s=e(264),l=e.n(s),f=e(263),d=e.n(f),p=e(267),h=e.n(p),y=e(265),m=e.n(y),v=e(276),b=e(350),g=e(286),k=e.n(g),w=e(381),x=e(382),O=e(385),E=e(353),S=e(277),j=e(354),C=e(272),L=e(383),I=new O.a({uri:"http://localhost:4000"}),_=new j.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),q=Object(S.e)(function(n){var t=n.query,e=Object(C.getMainDefinition)(t),r=e.kind,i=e.operation;return"OperationDefinition"===r&&"subscription"===i},_,I),P=new x.a,F=Object(L.a)({cache:P}),T=new w.a({link:S.a.from([Object(E.a)(function(n){var t=n.graphQLErrors,e=n.networkError;t&&t.map(function(n){var t=n.message,e=n.locations,r=n.path;return console.log("[GraphQL error]: Message: ".concat(t,", Location: ").concat(e,", Path: ").concat(r))}),e&&console.log("[Network error]: ".concat(e))}),F,q]),cache:P,connectToDevTools:!1});e(377);function U(){var n=i()(['

🏭','

',"
"]);return U=function(){return n},n}function A(){var n=i()(['
',"
"]);return A=function(){return n},n}function H(){var n=i()(["\n query {\n factories {\n name\n location\n }\n }\n"]);return H=function(){return n},n}var R=k()(H()),$=function(n){function t(){var n;a()(this,t),(n=l()(this,d()(t).call(this))).factories=[];try{T.watchQuery({query:R}).subscribe(function(t){var e=t.data.factories;n.factories=e})}catch(n){}return n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(A(),this.factories.map(function(n){return Object(v.b)(U(),n.name,n.name,n.location)}))}}]),t}(v.a);customElements.define("wcfactory-ui-factories",$);var B=e(372),Q=e(274),D=e.n(Q);function N(){var n=i()(["\n mutation($script: String!, $location: String!) {\n runScript(script: $script, location: $location)\n }\n "]);return N=function(){return n},n}function M(){var n=i()(['"]);return M=function(){return n},n}function z(){var n=i()(['🔄',""]);return z=function(){return n},n}function J(){var n=i()([''," "," ",'
']);return J=function(){return n},n}function W(){var n=i()(["\n subscription {\n operationsChildProcess\n }\n"]);return W=function(){return n},n}function G(){var n=i()(["\n subscription {\n operationsUpdate\n }\n"]);return G=function(){return n},n}function K(){var n=i()(["\n query {\n operations {\n script\n location\n }\n }\n"]);return K=function(){return n},n}var V=k()(K()),X=k()(G()),Y=k()(W()),Z=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).scripts={},n.operations=[],n.activeScript="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{scripts:{type:Array},operations:{type:Array},location:{type:Array},activeScript:{type:String}}}}]),u()(t,[{key:"firstUpdated",value:function(){this.subscribeToOperations(),this.subscribeToOperationsChildProcess(),this.fetchOperations()}},{key:"render",value:function(){var n=this;return Object(v.b)(J(),this.activeScript,this.script,this.scripts.map(function(t){return n.operations.find(function(e){return e.script===t&&e.location===n.location})?Object(v.b)(z(),n.activeScript===t,t):Object(v.b)(M(),function(e){return n.runScript(t,n.location)},t)}))}},{key:"runScript",value:function(n,t){return new Promise(function(e,r){var i=function(){try{return e()}catch(n){return r(n)}},o=function(n){try{return i()}catch(n){return r(n)}};try{return Promise.resolve(T.mutate({mutation:k()(N()),variables:{script:n,location:t}})).then(function(n){try{return i()}catch(n){return o()}},o)}catch(n){o()}})}},{key:"fetchOperations",value:function(){var n=this;try{T.watchQuery({query:V}).subscribe(function(t){var e=t.data.operations;n.operations=e})}catch(n){}}},{key:"subscribeToOperations",value:function(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_UPDATE:"subscribed"}),T.subscribe({query:X}).subscribe(function(n){var t=n.data.operationsUpdate,e=T.readQuery({query:V}),r=JSON.parse(t);e.operations=[].concat(D()(e.operations),[r]),T.writeQuery({query:V,data:e})})}},{key:"subscribeToOperationsChildProcess",value:function(){var n=this;window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_CHILD_PROCESS:"subscribed"}),T.subscribe({query:Y}).subscribe(function(t){var e=t.data.operationsChildProcess;n.shadowRoot.getElementById("output").innerHTML=e})}}]),t}(v.a);function nn(){var n=i()(["\n mutation($location: String!) {\n openLocation(location: $location)\n }\n "]);return nn=function(){return n},n}function tn(){var n=i()(['
"]);return tn=function(){return n},n}customElements.define("wcfactory-ui-scripts",Z);var en=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).element={},n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{element:{type:Object},operations:{type:Array}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(tn(),this.element.name,this.element.version,this.element.scripts,this.element.location,this._locationClicked,this.element.location)}},{key:"_locationClicked",value:function(n){this.openLocation(this.element.location)}},{key:"openLocation",value:function(n){T.mutate({mutation:k()(nn()),variables:{location:n}})}}]),t}(v.a);function rn(){var n=i()([' ']);return rn=function(){return n},n}customElements.define("wcfactory-ui-element",en);var on=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).placeholder="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(t,[{key:"render",value:function(){return Object(v.b)(rn(),this.placeholder)}}]),t}(v.a);function an(){var n=i()(["\n query($name: ID!) {\n factory(name: $name) {\n name\n location\n elements {\n name\n location\n version\n scripts\n }\n }\n }\n "]);return an=function(){return n},n}function cn(){var n=i()(['
📦 ','
']);return cn=function(){return n},n}function un(){var n=i()(['Name: ',"
Location: ","
Elements: (",')
Filter elements:
',"
"]);return un=function(){return n},n}function sn(){var n=i()(["loading..."]);return sn=function(){return n},n}customElements.define("wcfactory-ui-search",on);var ln=function(n){function t(){var n;return a()(this,t),(n=l()(this,d()(t).call(this))).factory=null,n.loading=!0,n.activeElement=null,n.elementFilter="",n}return m()(t,n),u()(t,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(t,[{key:"render",value:function(){var n=this,t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(v.b)(sn());if(this.factory){var e=new B.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),r=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(v.b)(un(),this.factory.name,this.factory.location,this.factory.elements.length,function(t){return n.elementFilter=t.composedPath()[0].value},r.map(function(t){return Object(v.b)(cn(),t.name===n.activeElement,n._activateItemHander,n._activateItemHander,t.name,t.name===n.activeElement,t.name,t.name===n.activeElement?"1":null,t,t.name===n.activeElement?"1":null)}))}}},{key:"fetchFactory",value:function(n){var t=this;try{T.watchQuery({query:k()(an()),variables:{name:n}}).subscribe(function(n){var e=n.data.factory;t.loading=!1,t.factory=e})}catch(n){}}},{key:"_activateItemHander",value:function(n){var t=!1;"click"===n.type?t=!0:void 0!==n.keyCode&&(13!==n.keyCode&&32!==n.keyCode||(t=!0)),t&&(this.activeElement=n.target.dataset.name,n.target.nextSibling.focus())}}]),t}(v.a);function fn(){var n=i()(["that path does not exist 😔"]);return fn=function(){return n},n}customElements.define("wcfactory-ui-factory",ln);var dn=function(n){function t(){return a()(this,t),l()(this,d()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"render",value:function(){return Object(v.b)(fn())}}]),t}(v.a);function pn(){var n=i()(['

WCFactory

']);return pn=function(){return n},n}customElements.define("wcfactory-ui-404",dn);var hn=function(n){function t(){return a()(this,t),l()(this,d()(t).apply(this,arguments))}return m()(t,n),u()(t,[{key:"firstUpdated",value:function(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}},{key:"disconnectedCallback",value:function(){h()(d()(t.prototype),"disconnectedCallback",this).call(this),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}},{key:"render",value:function(){return Object(v.b)(pn())}},{key:"routerSetup",value:function(){var n=this.shadowRoot.getElementById("router-outlet");new b.a(n).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}},{key:"_openLocationHandler",value:function(n){console.log("e:",n)}}]),t}(v.a);customElements.define("wcfactory-ui",hn)}}]); \ No newline at end of file diff --git a/packages/ui/dist/12.2d1d556930f2dfb3cad1.js b/packages/ui/dist/12.2d1d556930f2dfb3cad1.js deleted file mode 100644 index d0780cd64..000000000 --- a/packages/ui/dist/12.2d1d556930f2dfb3cad1.js +++ /dev/null @@ -1,277 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{555:function(t,e,i){"use strict";i.r(e);var r=i(299),o=i(418),a=i(279),c=i.n(a),n=i(542),s=i(540),l=i(538),p=i(420),d=i(304),u=i(421),f=i(273),h=i(539),y=i(536),m=new l.a({uri:"http://localhost:4000"}),v=new u.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),g=Object(d.e)(t=>{var e=t.query,i=Object(f.getMainDefinition)(e),r=i.kind,o=i.operation;return"OperationDefinition"===r&&"subscription"===o},v,m),b=new s.a({cacheRedirects:{Query:{operations:(t,e,i)=>{var r=i.getCacheKey;return e.ids.map(t=>r({__typename:"Book",id:t}))}}}}),w=new y.a,$=Object(h.a)({cache:b}),x=new n.a({link:d.a.from([Object(p.a)(t=>{var e=t.graphQLErrors,i=t.networkError;e&&e.map(t=>{var e=t.message,i=t.locations,r=t.path;return console.log(`[GraphQL error]: Message: ${e}, Location: ${i}, Path: ${r}`)}),i&&console.log(`[Network error]: ${i}`)}),w,$,g]),cache:b,connectToDevTools:!0}),k=(i(533),c.a` - query { - factories { - name - location - } - } -`);customElements.define("wcfactory-ui-factories",class extends r.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{x.watchQuery({query:k}).subscribe(t=>{var e=t.data.factories;this.factories=e})}catch(t){}}render(){return r.b`
${this.factories.map(t=>r.b`

🏭${t.name}

${t.location}
`)}
`}});var E=i(439),S=i.n(E),z=i(327),q=(i(545),c.a` - mutation($script: String!, $location: String!) { - runScript(script: $script, location: $location) { - id - location - script - } - } -`);customElements.define("wcfactory-ui-script-run",class extends z.a{static get properties(){return{script:{type:String},location:{type:String}}}render(){return this.client=x,this.mutation=q,this.variables={script:this.script,location:this.location},z.c` - - - - `}});var L=c.a` - mutation($script: String!, $location: String!) { - stopScript(script: $script, location: $location) - } -`;customElements.define("wcfactory-ui-script-stop",class extends z.a{static get properties(){return{script:{type:String},location:{type:String}}}render(){return this.client=x,this.mutation=L,this.variables={script:this.script,location:this.location},this.onUpdate=((t,e)=>{if(e.data.stopScript){var i=t.readQuery({query:F}),r=i.operations.filter(t=>!(t.script===this.script&&t.location===this.location));t.writeQuery({query:F,data:Object.assign({},i,{operations:r})})}}),z.c` - - - - `}});var F=c.a` - query operationsList { - operations { - id - location - script - } - } -`;customElements.define("wcfactory-ui-script",class extends z.b{static get properties(){return{script:{type:String},location:{type:String}}}constructor(){super(),this.client=x,this.query=F}render(){return this.data.operations.find(t=>t.script===this.script&&t.location===this.location)?z.c` - - `:z.c` - - `}});customElements.define("wcfactory-ui-scripts",class extends r.a{static get properties(){return{scripts:{type:Array},location:{type:String}}}render(){return r.b`${this.scripts.map(t=>r.b``)}`}});var O=c.a` - mutation($location: String!) { - openLocation(location: $location) - } -`;customElements.define("wcfactory-ui-location",class extends z.a{static get properties(){return{location:{type:String}}}render(){return this.client=x,this.mutation=O,this.variables={location:this.location},z.c` - -
- 📁 ${this.location} -
- `}});customElements.define("wcfactory-ui-element",class extends r.a{static get properties(){return{element:{type:Object}}}constructor(){super(),this.element={}}render(){return r.b`
`}});customElements.define("wcfactory-ui-search",class extends r.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return r.b` `}});customElements.define("wcfactory-ui-factory",class extends r.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return r.b`loading...`;if(this.factory){var e=new S.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return r.b`
Name: ${this.factory.name}
Location:

Elements: (${this.factory.elements.length})Filter elements:
${i.map(t=>r.b`
📦 ${t.name}
`)}
`}}fetchFactory(t){try{x.watchQuery({query:c.a` - query($name: ID!) { - factory(name: $name) { - name - location - scripts - elements { - id - name - location - version - scripts - } - } - } - `,variables:{name:t}}).subscribe(t=>{var e=t.data.factory;this.loading=!1,this.factory=e})}catch(t){}}_activateItemHander(t){var e=!1;"click"===t.type?e=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(e=!0)),e&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});customElements.define("wcfactory-ui-404",class extends r.a{render(){return r.b`that path does not exist 😔`}});var j=c.a` - query { - operations { - pid - location - script - element { - name - } - } - } -`;customElements.define("wcfactory-ui-active-scripts",class extends z.b{constructor(){super(),this.client=x,this.query=j}render(){var t=this.data;return this.error,this.loading,z.c` - ${t.operations.map(t=>z.c` -
- -
- `)} - `}});customElements.define("wcfactory-ui",class extends r.a{firstUpdated(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}render(){return r.b`

WCFactory

`}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}_openLocationHandler(t){console.log("e:",t)}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/12.90e198ef205c4ef07b66.js b/packages/ui/dist/12.90e198ef205c4ef07b66.js deleted file mode 100644 index f460f80e0..000000000 --- a/packages/ui/dist/12.90e198ef205c4ef07b66.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{651:function(n,w,o){"use strict";o.r(w);o(492),o(494),o(496)}}]); \ No newline at end of file diff --git a/packages/ui/dist/12.a2155fdb75cf5fc7f8c3.js b/packages/ui/dist/12.a2155fdb75cf5fc7f8c3.js deleted file mode 100644 index 72a6bb44c..000000000 --- a/packages/ui/dist/12.a2155fdb75cf5fc7f8c3.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{661:function(n,w,o){"use strict";o.r(w);o(505),o(507),o(509)}}]); \ No newline at end of file diff --git a/packages/ui/dist/12.a893328e3b67c4cb5e4b.js b/packages/ui/dist/12.a893328e3b67c4cb5e4b.js deleted file mode 100644 index 202b9804f..000000000 --- a/packages/ui/dist/12.a893328e3b67c4cb5e4b.js +++ /dev/null @@ -1,277 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{555:function(t,e,i){"use strict";i.r(e);var r=i(299),o=i(418),a=i(279),c=i.n(a),n=i(542),s=i(540),l=i(538),p=i(420),d=i(304),u=i(421),f=i(273),h=i(539),y=i(536),m=new l.a({uri:"http://localhost:4000"}),v=new u.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),g=Object(d.e)(t=>{var e=t.query,i=Object(f.getMainDefinition)(e),r=i.kind,o=i.operation;return"OperationDefinition"===r&&"subscription"===o},v,m),b=new s.a,w=new y.a,$=Object(h.a)({cache:b}),x=new n.a({link:d.a.from([Object(p.a)(t=>{var e=t.graphQLErrors,i=t.networkError;e&&e.map(t=>{var e=t.message,i=t.locations,r=t.path;return console.log(`[GraphQL error]: Message: ${e}, Location: ${i}, Path: ${r}`)}),i&&console.log(`[Network error]: ${i}`)}),w,$,g]),cache:b,connectToDevTools:!0}),k=(i(533),c.a` - query { - factories { - name - location - } - } -`);customElements.define("wcfactory-ui-factories",class extends r.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{x.watchQuery({query:k}).subscribe(t=>{var e=t.data.factories;this.factories=e})}catch(t){}}render(){return r.b`
${this.factories.map(t=>r.b`

🏭${t.name}

${t.location}
`)}
`}});var E=i(439),S=i.n(E),z=i(327),q=(i(545),c.a` - mutation($script: String!, $location: String!) { - runScript(script: $script, location: $location) { - location - script - id - } - } -`);customElements.define("wcfactory-ui-script-run",class extends z.a{static get properties(){return{script:{type:String},location:{type:String}}}render(){return this.client=x,this.mutation=q,this.variables={script:this.script,location:this.location},z.c` - - - - `}});var L=c.a` - mutation($script: String!, $location: String!) { - stopScript(script: $script, location: $location) - } -`;customElements.define("wcfactory-ui-script-stop",class extends z.a{static get properties(){return{script:{type:String},location:{type:String}}}render(){return this.client=x,this.mutation=L,this.variables={script:this.script,location:this.location},this.onUpdate=((t,e)=>{if(e.data.stopScript){var i=t.readQuery({query:F}),r=i.operations.filter(t=>!(t.script===this.script&&t.location===this.location));t.writeQuery({query:F,data:Object.assign({},i,{operations:r})})}}),z.c` - - - - `}});var F=c.a` - query { - operations { - location - script - id - } - } -`;customElements.define("wcfactory-ui-script",class extends z.b{static get properties(){return{script:{type:String},location:{type:String}}}constructor(){super(),this.client=x,this.query=F}render(){return this.data.operations.find(t=>t.script===this.script&&t.location===this.location)?z.c` - - `:z.c` - - `}});customElements.define("wcfactory-ui-scripts",class extends r.a{static get properties(){return{scripts:{type:Array},location:{type:String}}}render(){return r.b`${this.scripts.map(t=>r.b``)}`}});var O=c.a` - mutation($location: String!) { - openLocation(location: $location) - } -`;customElements.define("wcfactory-ui-location",class extends z.a{static get properties(){return{location:{type:String}}}render(){return this.client=x,this.mutation=O,this.variables={location:this.location},z.c` - -
- 📁 ${this.location} -
- `}});customElements.define("wcfactory-ui-element",class extends r.a{static get properties(){return{element:{type:Object}}}constructor(){super(),this.element={}}render(){return r.b`
`}});customElements.define("wcfactory-ui-search",class extends r.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return r.b` `}});customElements.define("wcfactory-ui-factory",class extends r.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return r.b`loading...`;if(this.factory){var e=new S.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return r.b`
Name: ${this.factory.name}
Location:

Elements: (${this.factory.elements.length})Filter elements:
${i.map(t=>r.b`
📦 ${t.name}
`)}
`}}fetchFactory(t){try{x.watchQuery({query:c.a` - query($name: ID!) { - factory(name: $name) { - name - location - scripts - elements { - id - name - location - version - scripts - } - } - } - `,variables:{name:t}}).subscribe(t=>{var e=t.data.factory;this.loading=!1,this.factory=e})}catch(t){}}_activateItemHander(t){var e=!1;"click"===t.type?e=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(e=!0)),e&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});customElements.define("wcfactory-ui-404",class extends r.a{render(){return r.b`that path does not exist 😔`}});var j=c.a` - query { - operations { - pid - location - script - element { - name - } - } - } -`;customElements.define("wcfactory-ui-active-scripts",class extends z.b{constructor(){super(),this.client=x,this.query=j}render(){var t=this.data;return this.error,this.loading,z.c` - ${t.operations.map(t=>z.c` -
- -
- `)} - `}});customElements.define("wcfactory-ui",class extends r.a{firstUpdated(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}render(){return r.b`

WCFactory

`}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}_openLocationHandler(t){console.log("e:",t)}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/12.b7a0481a49956d14c0c1.js b/packages/ui/dist/12.b7a0481a49956d14c0c1.js deleted file mode 100644 index 1f38f5cd1..000000000 --- a/packages/ui/dist/12.b7a0481a49956d14c0c1.js +++ /dev/null @@ -1,183 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{397:function(t,e,i){"use strict";i.r(e);var r=i(277),o=i(324),a=i(284),n=i.n(a),s=i(387),c=i(388),l=i(382),d=i(326),p=i(279),u=i(327),h=i(268),m=i(389),y=i(381),b=new l.a({uri:"http://localhost:4000"}),f=new u.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),v=Object(p.e)(t=>{var e=t.query,i=Object(h.getMainDefinition)(e),r=i.kind,o=i.operation;return"OperationDefinition"===r&&"subscription"===o},f,b),g=new c.a,w=Object(m.a)({cache:g}),x=new s.a({link:p.a.from([Object(d.a)(t=>{var e=t.graphQLErrors,i=t.networkError;e&&e.map(t=>{var e=t.message,i=t.locations,r=t.path;return console.log(`[GraphQL error]: Message: ${e}, Location: ${i}, Path: ${r}`)}),i&&console.log(`[Network error]: ${i}`)}),new y.a,w,v]),cache:g,connectToDevTools:!1}),$=(i(376),n.a` - query { - factories { - name - location - } - } -`);customElements.define("wcfactory-ui-factories",class extends r.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{x.watchQuery({query:$}).subscribe(t=>{var e=t.data.factories;this.factories=e})}catch(t){}}render(){return r.b`
${this.factories.map(t=>r.b`

🏭${t.name}

${t.location}
`)}
`}});var k=i(345),E=i.n(k),S=n.a` - query { - operations { - script - location - } - } -`,O=n.a` - subscription { - operationsUpdate - } -`,C=n.a` - subscription { - operationsChildProcess - } -`;customElements.define("wcfactory-ui-scripts",class extends r.a{static get properties(){return{scripts:{type:Array},operations:{type:Array},location:{type:Array},activeScript:{type:String}}}constructor(){super(),this.scripts={},this.operations=[],this.activeScript=""}firstUpdated(){this.subscribeToOperations(),this.subscribeToOperationsChildProcess(),this.fetchOperations()}render(){return r.b`${this.activeScript} ${this.script} ${this.scripts.map(t=>this.operations.find(e=>e.script===t&&e.location===this.location)?r.b`🔄${t}`:r.b``)}
`}runScript(t,e){return new Promise(function(i,r){var o=function(){try{return i()}catch(t){return r(t)}},a=function(t){try{return o()}catch(t){return r(t)}};try{return Promise.resolve(x.mutate({mutation:n.a` - mutation($script: String!, $location: String!) { - runScript(script: $script, location: $location) - } - `,variables:{script:t,location:e}})).then(function(t){try{return o()}catch(t){return a()}},a)}catch(t){a()}})}fetchOperations(){try{x.watchQuery({query:S}).subscribe(t=>{var e=t.data.operations;this.operations=e})}catch(t){}}subscribeToOperations(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_UPDATE:"subscribed"}),x.subscribe({query:O}).subscribe(t=>{var e=t.data.operationsUpdate,i=x.readQuery({query:S}),r=JSON.parse(e);i.operations=[...i.operations,r],x.writeQuery({query:S,data:i})})}subscribeToOperationsChildProcess(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_CHILD_PROCESS:"subscribed"}),x.subscribe({query:C}).subscribe(t=>{var e=t.data.operationsChildProcess;this.shadowRoot.getElementById("output").innerHTML=e})}});customElements.define("wcfactory-ui-element",class extends r.a{static get properties(){return{element:{type:Object},operations:{type:Array}}}constructor(){super(),this.element={}}render(){return r.b`
`}_locationClicked(t){this.openLocation(this.element.location)}openLocation(t){x.mutate({mutation:n.a` - mutation($location: String!) { - openLocation(location: $location) - } - `,variables:{location:t}})}});customElements.define("wcfactory-ui-search",class extends r.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return r.b` `}});customElements.define("wcfactory-ui-factory",class extends r.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return r.b`loading...`;if(this.factory){var e=new E.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return r.b`Name: ${this.factory.name}
Location: ${this.factory.location}
Elements: (${this.factory.elements.length})
Filter elements:
${i.map(t=>r.b`
📦 ${t.name}
`)}
`}}fetchFactory(t){try{x.watchQuery({query:n.a` - query($name: ID!) { - factory(name: $name) { - name - location - elements { - name - location - version - scripts - } - } - } - `,variables:{name:t}}).subscribe(t=>{var e=t.data.factory;this.loading=!1,this.factory=e})}catch(t){}}_activateItemHander(t){var e=!1;"click"===t.type?e=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(e=!0)),e&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});customElements.define("wcfactory-ui-404",class extends r.a{render(){return r.b`that path does not exist 😔`}});customElements.define("wcfactory-ui",class extends r.a{firstUpdated(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}render(){return r.b`

WCFactory

`}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}_openLocationHandler(t){console.log("e:",t)}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/12.db312e32c7165e08518b.js b/packages/ui/dist/12.db312e32c7165e08518b.js deleted file mode 100644 index 209fd87ff..000000000 --- a/packages/ui/dist/12.db312e32c7165e08518b.js +++ /dev/null @@ -1,196 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{398:function(t,e,i){"use strict";i.r(e);var r=i(277),o=i(324),a=i(284),n=i.n(a),c=i(387),s=i(388),l=i(382),p=i(326),u=i(279),d=i(327),h=i(268),m=i(389),y=i(381),f=new l.a({uri:"http://localhost:4000"}),b=new d.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),v=Object(u.e)(t=>{var e=t.query,i=Object(h.getMainDefinition)(e),r=i.kind,o=i.operation;return"OperationDefinition"===r&&"subscription"===o},b,f),g=new s.a,w=new y.a,x=Object(m.a)({cache:g}),$=new c.a({link:u.a.from([Object(p.a)(t=>{var e=t.graphQLErrors,i=t.networkError;e&&e.map(t=>{var e=t.message,i=t.locations,r=t.path;return console.log(`[GraphQL error]: Message: ${e}, Location: ${i}, Path: ${r}`)}),i&&console.log(`[Network error]: ${i}`)}),w,x,v]),cache:g,connectToDevTools:!1}),k=(i(376),n.a` - query { - factories { - name - location - } - } -`);customElements.define("wcfactory-ui-factories",class extends r.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{$.watchQuery({query:k}).subscribe(t=>{var e=t.data.factories;this.factories=e})}catch(t){}}render(){return r.b`
${this.factories.map(t=>r.b`

🏭${t.name}

${t.location}
`)}
`}});var O=i(345),E=i.n(O),S=n.a` - subscription { - operationsUpdate - } -`,q=n.a` - subscription { - operationsOutput - } -`,L=n.a` - query { - operations { - script - location - pid - } - } -`,Q=n.a` - query { - operationsOutput { - output - operation { - pid - } - } - } -`;$.subscribe({query:S}).subscribe(t=>{var e=t.data.operationsUpdate,i=$.readQuery({query:L}),r=JSON.parse(e);i.operations=[...i.operations,r],$.writeQuery({query:L,data:i})}),$.subscribe({query:q}).subscribe(t=>{var e=t.data.operationsOutput,i=$.readQuery({query:Q}),r=$.readQuery({query:L}),o=JSON.parse(e),a=r.operations.find(t=>t.pid===o.operation);o=Object.assign({},o,{operation:a}),i.operationsOutput=[...i.operationsOutput,o],$.writeQuery({query:Q,data:i})});customElements.define("wcfactory-ui-scripts",class extends r.a{static get properties(){return{scripts:{type:Array},operations:{type:Array},operationsOutput:{type:Array},location:{type:Array},activeScript:{type:String}}}constructor(){super(),this.scripts={},this.operations=[],this.operationsOutput=[],this.activeScript=""}firstUpdated(){this.fetchOperations(),this.fetchOperationsOutput()}render(){return r.b`${this.activeScript} ${this.script} ${this.scripts.map(t=>{var e=this.operations.find(e=>e.script===t&&e.location===this.location),i=void 0!==e?this.operationsOutput.filter(t=>t.operation.pid===e.pid):[];return e?r.b`🔄${t}
${i.map(t=>r.b`${t.output}
`)}
`:r.b``})}`}runScript(t,e){return new Promise(function(i,r){var o=function(){try{return i()}catch(t){return r(t)}},a=function(t){try{return o()}catch(t){return r(t)}};try{return Promise.resolve($.mutate({mutation:n.a` - mutation($script: String!, $location: String!) { - runScript(script: $script, location: $location) - } - `,variables:{script:t,location:e}})).then(function(t){try{return o()}catch(t){return a()}},a)}catch(t){a()}})}fetchOperationsOutput(){try{$.watchQuery({query:Q}).subscribe(t=>{var e=t.data.operationsOutput;this.operationsOutput=e})}catch(t){}}fetchOperations(){try{$.watchQuery({query:L}).subscribe(t=>{var e=t.data.operations;this.operations=e})}catch(t){}}});customElements.define("wcfactory-ui-element",class extends r.a{static get properties(){return{element:{type:Object},operations:{type:Array}}}constructor(){super(),this.element={}}render(){return r.b`
`}_locationClicked(t){this.openLocation(this.element.location)}openLocation(t){$.mutate({mutation:n.a` - mutation($location: String!) { - openLocation(location: $location) - } - `,variables:{location:t}})}});customElements.define("wcfactory-ui-search",class extends r.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return r.b` `}});customElements.define("wcfactory-ui-factory",class extends r.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return r.b`loading...`;if(this.factory){var e=new E.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return r.b`Name: ${this.factory.name}
Location: ${this.factory.location}
Elements: (${this.factory.elements.length})
Filter elements:
${i.map(t=>r.b`
📦 ${t.name}
`)}
`}}fetchFactory(t){try{$.watchQuery({query:n.a` - query($name: ID!) { - factory(name: $name) { - name - location - elements { - name - location - version - scripts - } - } - } - `,variables:{name:t}}).subscribe(t=>{var e=t.data.factory;this.loading=!1,this.factory=e})}catch(t){}}_activateItemHander(t){var e=!1;"click"===t.type?e=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(e=!0)),e&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});customElements.define("wcfactory-ui-404",class extends r.a{render(){return r.b`that path does not exist 😔`}});customElements.define("wcfactory-ui",class extends r.a{firstUpdated(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}render(){return r.b`

WCFactory

`}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}_openLocationHandler(t){console.log("e:",t)}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/12.ec1286d9057a02651734.js b/packages/ui/dist/12.ec1286d9057a02651734.js deleted file mode 100644 index 378adc687..000000000 --- a/packages/ui/dist/12.ec1286d9057a02651734.js +++ /dev/null @@ -1,183 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{398:function(t,e,i){"use strict";i.r(e);var r=i(277),o=i(324),a=i(284),n=i.n(a),s=i(387),c=i(388),l=i(382),d=i(326),p=i(279),u=i(327),h=i(268),m=i(389),y=i(381),b=new l.a({uri:"http://localhost:4000"}),f=new u.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),v=new y.a,g=Object(p.e)(t=>{var e=t.query,i=Object(h.getMainDefinition)(e),r=i.kind,o=i.operation;return"OperationDefinition"===r&&"subscription"===o},f,b),w=new c.a,x=Object(m.a)({cache:w}),$=new s.a({link:p.a.from([Object(d.a)(t=>{var e=t.graphQLErrors,i=t.networkError;e&&e.map(t=>{var e=t.message,i=t.locations,r=t.path;return console.log(`[GraphQL error]: Message: ${e}, Location: ${i}, Path: ${r}`)}),i&&console.log(`[Network error]: ${i}`)}),x,g,v]),cache:w,connectToDevTools:!1}),k=(i(376),n.a` - query { - factories { - name - location - } - } -`);customElements.define("wcfactory-ui-factories",class extends r.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{$.watchQuery({query:k}).subscribe(t=>{var e=t.data.factories;this.factories=e})}catch(t){}}render(){return r.b`
${this.factories.map(t=>r.b`

🏭${t.name}

${t.location}
`)}
`}});var E=i(345),S=i.n(E),O=n.a` - query { - operations { - script - location - } - } -`,C=n.a` - subscription { - operationsUpdate - } -`,L=n.a` - subscription { - operationsChildProcess - } -`;customElements.define("wcfactory-ui-scripts",class extends r.a{static get properties(){return{scripts:{type:Array},operations:{type:Array},location:{type:Array},activeScript:{type:String}}}constructor(){super(),this.scripts={},this.operations=[],this.activeScript=""}firstUpdated(){this.subscribeToOperations(),this.subscribeToOperationsChildProcess(),this.fetchOperations()}render(){return r.b`${this.activeScript} ${this.script} ${this.scripts.map(t=>this.operations.find(e=>e.script===t&&e.location===this.location)?r.b`🔄${t}`:r.b``)}
`}runScript(t,e){return new Promise(function(i,r){var o=function(){try{return i()}catch(t){return r(t)}},a=function(t){try{return o()}catch(t){return r(t)}};try{return Promise.resolve($.mutate({mutation:n.a` - mutation($script: String!, $location: String!) { - runScript(script: $script, location: $location) - } - `,variables:{script:t,location:e}})).then(function(t){try{return o()}catch(t){return a()}},a)}catch(t){a()}})}fetchOperations(){try{$.watchQuery({query:O}).subscribe(t=>{var e=t.data.operations;this.operations=e})}catch(t){}}subscribeToOperations(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_UPDATE:"subscribed"}),$.subscribe({query:C}).subscribe(t=>{var e=t.data.operationsUpdate,i=$.readQuery({query:O}),r=JSON.parse(e);i.operations=[...i.operations,r],$.writeQuery({query:O,data:i})})}subscribeToOperationsChildProcess(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_CHILD_PROCESS:"subscribed"}),$.subscribe({query:L}).subscribe(t=>{var e=t.data.operationsChildProcess;this.shadowRoot.getElementById("output").innerHTML=e})}});customElements.define("wcfactory-ui-element",class extends r.a{static get properties(){return{element:{type:Object},operations:{type:Array}}}constructor(){super(),this.element={}}render(){return r.b`
`}_locationClicked(t){this.openLocation(this.element.location)}openLocation(t){$.mutate({mutation:n.a` - mutation($location: String!) { - openLocation(location: $location) - } - `,variables:{location:t}})}});customElements.define("wcfactory-ui-search",class extends r.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return r.b` `}});customElements.define("wcfactory-ui-factory",class extends r.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return r.b`loading...`;if(this.factory){var e=new S.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return r.b`Name: ${this.factory.name}
Location: ${this.factory.location}
Elements: (${this.factory.elements.length})
Filter elements:
${i.map(t=>r.b`
📦 ${t.name}
`)}
`}}fetchFactory(t){try{$.watchQuery({query:n.a` - query($name: ID!) { - factory(name: $name) { - name - location - elements { - name - location - version - scripts - } - } - } - `,variables:{name:t}}).subscribe(t=>{var e=t.data.factory;this.loading=!1,this.factory=e})}catch(t){}}_activateItemHander(t){var e=!1;"click"===t.type?e=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(e=!0)),e&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});customElements.define("wcfactory-ui-404",class extends r.a{render(){return r.b`that path does not exist 😔`}});customElements.define("wcfactory-ui",class extends r.a{firstUpdated(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}render(){return r.b`

WCFactory

`}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}_openLocationHandler(t){console.log("e:",t)}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/12.f00cc8fb6467dba36e96.js b/packages/ui/dist/12.f00cc8fb6467dba36e96.js deleted file mode 100644 index c3e4a38e3..000000000 --- a/packages/ui/dist/12.f00cc8fb6467dba36e96.js +++ /dev/null @@ -1,183 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{395:function(t,e,i){"use strict";i.r(e);var r=i(275),o=i(322),a=i(284),n=i.n(a),s=i(380),c=i(384),l=i(387),d=i(325),p=i(278),u=i(326),h=i(270),m=i(386),y=new l.a({uri:"http://localhost:4000"}),b=new u.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),f=Object(p.e)(t=>{var e=t.query,i=Object(h.getMainDefinition)(e),r=i.kind,o=i.operation;return"OperationDefinition"===r&&"subscription"===o},b,y),v=new c.a,g=Object(m.a)({cache:v}),w=new s.a({link:p.a.from([Object(d.a)(t=>{var e=t.graphQLErrors,i=t.networkError;e&&e.map(t=>{var e=t.message,i=t.locations,r=t.path;return console.log(`[GraphQL error]: Message: ${e}, Location: ${i}, Path: ${r}`)}),i&&console.log(`[Network error]: ${i}`)}),g,f]),cache:v,connectToDevTools:!1}),x=(i(376),n.a` - query { - factories { - name - location - } - } -`);customElements.define("wcfactory-ui-factories",class extends r.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{w.watchQuery({query:x}).subscribe(t=>{var e=t.data.factories;this.factories=e})}catch(t){}}render(){return r.b`
${this.factories.map(t=>r.b`

🏭${t.name}

${t.location}
`)}
`}});var $=i(344),k=i.n($),E=n.a` - query { - operations { - script - location - } - } -`,S=n.a` - subscription { - operationsUpdate - } -`,O=n.a` - subscription { - operationsChildProcess - } -`;customElements.define("wcfactory-ui-scripts",class extends r.a{static get properties(){return{scripts:{type:Array},operations:{type:Array},location:{type:Array},activeScript:{type:String}}}constructor(){super(),this.scripts={},this.operations=[],this.activeScript=""}firstUpdated(){this.subscribeToOperations(),this.subscribeToOperationsChildProcess(),this.fetchOperations()}render(){return r.b`${this.activeScript} ${this.script} ${this.scripts.map(t=>this.operations.find(e=>e.script===t&&e.location===this.location)?r.b`🔄${t}`:r.b``)}
`}runScript(t,e){return new Promise(function(i,r){var o=function(){try{return i()}catch(t){return r(t)}},a=function(t){try{return o()}catch(t){return r(t)}};try{return Promise.resolve(w.mutate({mutation:n.a` - mutation($script: String!, $location: String!) { - runScript(script: $script, location: $location) - } - `,variables:{script:t,location:e}})).then(function(t){try{return o()}catch(t){return a()}},a)}catch(t){a()}})}fetchOperations(){try{w.watchQuery({query:E}).subscribe(t=>{var e=t.data.operations;this.operations=e})}catch(t){}}subscribeToOperations(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_UPDATE:"subscribed"}),w.subscribe({query:S}).subscribe(t=>{var e=t.data.operationsUpdate,i=w.readQuery({query:E}),r=JSON.parse(e);i.operations=[...i.operations,r],w.writeQuery({query:E,data:i})})}subscribeToOperationsChildProcess(){window.WCFactoryUI=Object.assign({},{SUBSCRIBE_OPERATIONS_CHILD_PROCESS:"subscribed"}),w.subscribe({query:O}).subscribe(t=>{var e=t.data.operationsChildProcess;this.shadowRoot.getElementById("output").innerHTML=e})}});customElements.define("wcfactory-ui-element",class extends r.a{static get properties(){return{element:{type:Object},operations:{type:Array}}}constructor(){super(),this.element={}}render(){return r.b`
`}_locationClicked(t){this.openLocation(this.element.location)}openLocation(t){w.mutate({mutation:n.a` - mutation($location: String!) { - openLocation(location: $location) - } - `,variables:{location:t}})}});customElements.define("wcfactory-ui-search",class extends r.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return r.b` `}});customElements.define("wcfactory-ui-factory",class extends r.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return r.b`loading...`;if(this.factory){var e=new k.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return r.b`Name: ${this.factory.name}
Location: ${this.factory.location}
Elements: (${this.factory.elements.length})
Filter elements:
${i.map(t=>r.b`
📦 ${t.name}
`)}
`}}fetchFactory(t){try{w.watchQuery({query:n.a` - query($name: ID!) { - factory(name: $name) { - name - location - elements { - name - location - version - scripts - } - } - } - `,variables:{name:t}}).subscribe(t=>{var e=t.data.factory;this.loading=!1,this.factory=e})}catch(t){}}_activateItemHander(t){var e=!1;"click"===t.type?e=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(e=!0)),e&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});customElements.define("wcfactory-ui-404",class extends r.a{render(){return r.b`that path does not exist 😔`}});customElements.define("wcfactory-ui",class extends r.a{firstUpdated(){this.addEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this)),this.routerSetup()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("wcfactory-ui-open-location",this._openLocationHandler.bind(this))}render(){return r.b`

WCFactory

`}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"(.*)",component:"wcfactory-ui-404"}])}_openLocationHandler(t){console.log("e:",t)}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/13.9980a4c65f8d475549f2.js b/packages/ui/dist/13.9980a4c65f8d475549f2.js deleted file mode 100644 index b7776515d..000000000 --- a/packages/ui/dist/13.9980a4c65f8d475549f2.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{655:function(t,n,e){"use strict";e.r(n);var i=e(269),r=e.n(i),o=e(261),a=e.n(o),c=e(262),u=e.n(c),s=e(264),l=e.n(s),p=e(263),d=e.n(p),f=e(265),y=e.n(f),v=e(285),m=e(567),h=e(283),b=e.n(h),g=e(643),w=e(642),k=e(635),x=e(589),O=e(320),j=e(573),_=e(296),E=e(644),q=e(588),S=new k.a({uri:"http://localhost:4000"}),z=new j.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),F=Object(O.d)(function(t){var n=t.query,e=Object(_.getMainDefinition)(n),i=e.kind,r=e.operation;return"OperationDefinition"===i&&"subscription"===r},z,S),C=new w.a,N=new q.a,R=Object(E.a)({cache:C}),$=new g.a({link:O.a.from([Object(x.a)(function(t){var n=t.graphQLErrors,e=t.networkError;n&&n.map(function(t){var n=t.message,e=t.locations,i=t.path;return console.log("[GraphQL error]: Message: ".concat(n,", Location: ").concat(e,", Path: ").concat(i))}),e&&console.log("[Network error]: ".concat(e))}),N,R,F]),cache:C,connectToDevTools:!0});e(632);function Q(){var t=r()(['
']);return Q=function(){return t},t}var G=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).disabled=!1,t.cta=!1,t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{disabled:{type:Boolean,reflect:!0},cta:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(Q(),this.disabled)}}]),n}(v.a);customElements.define("wcfactory-ui-button",G);e(634);function I(){var t=r()([":host {\n --wcfactory-ui-factory-state-spinner-scale: 0.5;\n display: flex;\n }\n paper-spinner {\n transform: scale(var(--wcfactory-ui-factory-state-spinner-scale));\n --paper-spinner-stroke-width: 3px;\n }"]);return I=function(){return t},t}function B(){var t=r()(["complete"]);return B=function(){return t},t}function H(){var t=r()(["",""]);return H=function(){return t},t}var L=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).output="",t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{output:{type:String}}}}]),u()(n,[{key:"render",value:function(){return this.output?Object(v.c)(H(),this.output):Object(v.c)(B())}}],[{key:"styles",get:function(){return Object(v.b)(I())}}]),n}(v.a);function U(){var t=r()(["",""]);return U=function(){return t},t}function V(){var t=r()(['']);return V=function(){return t},t}function T(){var t=r()(['

🏭','

',"
"]);return T=function(){return t},t}function D(){var t=r()(['
','
🏭 Create factory']);return D=function(){return t},t}function M(){var t=r()(["\n query {\n factories {\n ...FactoryInfo\n }\n }\n ","\n"]);return M=function(){return t},t}function J(){var t=r()(["\n fragment FactoryInfo on Factory {\n __typename\n id\n name\n location\n output\n }\n"]);return J=function(){return t},t}customElements.define("wcfactory-ui-factory-state",L);var P=b()(J()),A=b()(M(),P),W=function(t){function n(){var t;a()(this,n),(t=l()(this,d()(n).call(this))).factories=[];try{$.watchQuery({query:A}).subscribe(function(n){var e=n.data.factories;t.factories=e})}catch(t){}return t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(D(),this.factories.map(function(t){return Object(v.c)(T(),t.output?"":"/factories/".concat(t.name),t.name,t.output?Object(v.c)(V(),t.output):Object(v.c)(U(),t.location))}))}}]),n}(v.a);customElements.define("wcfactory-ui-factories",W);var Y=e(590),K=e(343),X=(e(646),e(295)),Z=e.n(X);function tt(){var t=r()(['\n \n\n \n :host {\n --wcfactory-ui-script-font-size: 12px;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n .script {\n cursor: pointer;\n padding: calc(var(--wcfactory-ui-script-font-size) * .6);\n }\n\n .script[active="true"] {\n background: black;\n }\n \n\n ']);return ft=function(){return t},t}function yt(){var t=r()(["",""]);return yt=function(){return t},t}customElements.define("wcfactory-ui-script",dt);var vt=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"render",value:function(){var t=this;return Object(v.c)(yt(),this.scripts.map(function(n){return Object(v.c)(ft(),n,t.location)}))}}],[{key:"properties",get:function(){return{scripts:{type:Array},location:{type:String}}}}]),n}(v.a);function mt(){var t=r()(['\n \n
:host {\n display: flex;\n background: var(--wcfactory-ui-secondary-color);\n padding: 10px;\n min-height: 100px;\n flex-direction: column;\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer\n }\n button:hover, button:focus {\n color: white;\n }\n #header {\n display: flex;\n align-items: center;\n }\n #header > * {\n margin: 0 .5em;\n }\n #title {\n flex: 1 1 auto;\n }\n #middle {\n flex: 1 1 auto;\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n margin: 10px 0;\n }\n #location {\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n }
']);return wt=function(){return t},t}customElements.define("wcfactory-ui-location",gt);var kt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).element={},t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{element:{type:Object}}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(wt(),this.element.name,this.element.location,this.element.version,this.element.scripts,this.element.location)}}]),n}(v.a);function xt(){var t=r()([' ']);return xt=function(){return t},t}customElements.define("wcfactory-ui-element",kt);var Ot=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).placeholder="",t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(xt(),this.placeholder)}}]),n}(v.a);function jt(){var t=r()(["\n query($name: String!) {\n factory(name: $name) {\n name\n location\n scripts\n elements {\n id\n name\n location\n version\n scripts\n }\n }\n }\n "]);return jt=function(){return t},t}function _t(){var t=r()(['
∈ ','
']);return _t=function(){return t},t}function Et(){var t=r()(['
🏭 ','

(',')
','
Create Element (coming soon)

create element by running the following command in your terminal 😄

wcf element ',"

"]);return Et=function(){return t},t}function qt(){var t=r()(["loading..."]);return qt=function(){return t},t}customElements.define("wcfactory-ui-search",Ot);var St=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).factory=null,t.loading=!0,t.activeElement=null,t.elementFilter="",t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(n,[{key:"render",value:function(){var t=this,n=this.location.params.factory;if(this.fetchFactory(n),this.loading)return Object(v.c)(qt());if(this.factory){var e=new Y.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(v.c)(Et(),this.factory.name,this.factory.location,function(n){return t.elementFilter=n.composedPath()[0].value},this.factory.elements.length,i.map(function(n){return Object(v.c)(_t(),n.name===t.activeElement,t._activateItemHander,t._activateItemHander,n.name,n.name===t.activeElement,n.name,n.name===t.activeElement?"1":null,n,n.name===t.activeElement?"1":null)}),this.factory.name,this._renderFactoryFlag(this.factory.location))}}},{key:"_renderFactoryFlag",value:function(t){return"--factory=".concat(t)}},{key:"fetchFactory",value:function(t){var n=this;try{$.watchQuery({query:b()(jt()),variables:{name:t}}).subscribe(function(t){var e=t.data.factory;n.loading=!1,n.factory=e})}catch(t){}}},{key:"_activateItemHander",value:function(t){var n=!1;"click"===t.type?n=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(n=!0)),n&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}}]),n}(v.a);function zt(){var t=r()(["that path does not exist 😔"]);return zt=function(){return t},t}customElements.define("wcfactory-ui-factory",St);var Ft=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"render",value:function(){return Object(v.c)(zt())}}]),n}(v.a);function Ct(){var t=r()(['
']);return Ct=function(){return t},t}customElements.define("wcfactory-ui-404",Ft);var Nt=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"firstUpdated",value:function(){this._outputElement=this.shadowRoot.querySelector("#output"),this.shadowRoot.addEventListener("slotchange",this._slotChangeHandler.bind(this))}},{key:"disconnectedCallback",value:function(){this.shadowRoot.removeEventListener("slotchange",this._slotChangeHandler.bind(this))}},{key:"_slotChangeHandler",value:function(){this._outputElement.scrollTop=this._outputElement.scrollHeight}},{key:"render",value:function(){return Object(v.c)(Ct())}}]),n}(v.a);function Rt(){var t=r()(["loading..."]);return Rt=function(){return t},t}function $t(){var t=r()(["
","
"]);return $t=function(){return t},t}function Qt(){var t=r()(['\n \n
\n
']);return Lt=function(){return t},t}customElements.define("wcfactory-ui-active-script",Bt);var Ut=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).active=!1,t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{active:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"render",value:function(){var t=this;return Object(v.c)(Lt(),this.active,function(){return t.active=!t.active})}}],[{key:"styles",get:function(){return Object(v.b)(Ht())}}]),n}(v.a);function Vt(){var t=r()([":host {\n display: flex;\n position: fixed;\n right: 0;\n bottom: 0;\n z-index: 100;\n }\n #tabs {\n display: flex;\n }\n #container {\n display: flex;\n }"]);return Vt=function(){return t},t}function Tt(){var t=r()(['
']);return Tt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tab",Ut);var Dt=function(t){function n(){return a()(this,n),l()(this,d()(n).call(this))}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(Tt())}}],[{key:"styles",get:function(){return Object(v.b)(Vt())}}]),n}(v.a);function Mt(){var t=r()(['\n \n '," (",")\n \n \n "]);return Mt=function(){return t},t}function Jt(){var t=r()(["\n \n \n \n ","\n \n\n "]);return Jt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tabs",Dt);var Pt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).client=$,t.query=pt,t}return y()(n,t),u()(n,[{key:"render",value:function(){var t=this.data;this.error,this.loading;return Object(K.c)(Jt(),t.operations.map(function(t){return Object(K.c)(Mt(),t.element.name,t.script,t)}))}}]),n}(K.b);customElements.define("wcfactory-ui-active-scripts",Pt);e(425),e(501);function At(){var t=r()(['
...Creating Factory
']);return At=function(){return t},t}function Wt(){var t=r()(['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""],['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""]);return Wt=function(){return t},t}var Yt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).isValid=!1,t.name="",t.humanName="",t.description="",t.orgGit="",t.orgNpm="",t.gitRepo="",t.loading=!1,t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{form:{type:Object},name:{type:String},humanName:{type:String},description:{type:String},orgGit:{type:String},orgNpm:{type:String},gitRepo:{type:String},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"updated",value:function(t){if(""!==this.name&&""!==this.humanName&&""!==this.description&&""!==this.orgGit&&""!==this.orgNpm)this._validateForm();this.gitRepo="git:github.com/".concat(this.orgGit?this.orgGit:"","/").concat(this.name?this.name:"")}},{key:"render",value:function(){var t=this;return Object(v.c)(Wt(),function(n){return t.name=n.detail.value},function(n){return t.humanName=n.detail.value},function(n){return t.description=n.detail.value},function(n){return t.orgGit=n.detail.value},function(n){return t.orgNpm=n.detail.value},this.humanName,this.gitRepo,this.orgNpm,this.orgNpm?"".concat(this.orgNpm):"",function(){return t._submit()},!this.isValid,this.loading?Object(v.c)(At()):"")}},{key:"_submit",value:function(){this._validateForm()&&this.dispatchEvent(new CustomEvent("submit",{bubbles:!0,detail:{name:this.name,humanName:this.humanName,description:this.description,orgGit:this.orgGit,orgNpm:"@".concat(this.orgNpm),gitRepo:this.gitRepo}}))}},{key:"_validateForm",value:function(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}}]),n}(v.a);function Kt(){var t=r()(['']);return Kt=function(){return t},t}function Xt(){var t=r()(["\n mutation($createFactoryInput: CreateFactoryInput!) {\n createFactory(createFactoryInput: $createFactoryInput) {\n ...FactoryInfo\n }\n }\n ","\n"]);return Xt=function(){return t},t}customElements.define("wcfactory-ui-factory-create-form",Yt);var Zt=b()(Xt(),P),tn=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"render",value:function(){return Object(v.c)(Kt(),this._submitHandler,this.loading)}},{key:"_submitHandler",value:function(t){var n=this;this.loading=!0,$.mutate({mutation:Zt,variables:{createFactoryInput:t.detail},update:function(t,e){var i=e.data.createFactory,r=(i.id,i.__typename,A),o=t.readQuery({query:r}),a=[].concat(Z()(o.factories),[i]);t.writeQuery({query:r,data:Object.assign({},o,{factories:a})}),setTimeout(function(){n.loading=!1,n.shadowRoot.querySelector("#return-home").click()},1e3)}})}}],[{key:"properties",get:function(){return{loading:{type:Boolean}}}}]),n}(v.a);customElements.define("wcfactory-ui-factory-create",tn);e(625),e(633),e(630);function nn(){var t=r()(["\n query {\n elementCreateOptions {\n libraries {\n name\n description\n }\n }\n }\n "]);return nn=function(){return t},t}function en(){var t=r()(['
...Creating Element
']);return en=function(){return t},t}function rn(){var t=r()(["",""]);return rn=function(){return t},t}function on(){var t=r()(['',""]);return on=function(){return t},t}function an(){var t=r()(['
🏭 ',' create element
','

∈ ','

Description: ',"
Element Type: ",'
Create Element
',""],['
🏭 ',' create element
','

∈ ','

Description: ',"
Element Type: ",'
Create Element
',""]);return an=function(){return t},t}var cn=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).title="",t.isValid=!1,t.loading=!1,t.form={name:""},t._getFormOptions(),t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{form:{type:Object},formOptions:{type:Object},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0},factory:{type:String}}}}]),u()(n,[{key:"updated",value:function(t){if(this.form.name&&this.form.description&&this.form.library)this._validateForm()}},{key:"render",value:function(){var t=this;return Object(v.c)(an(),this.factory,function(n){return t.form=Object.assign({},t.form,{name:n.detail.value})},function(n){return t.form=Object.assign({},t.form,{description:n.detail.value})},this.factory,this.formOptions?Object(v.c)(on(),function(n){return t.form=Object.assign({},t.form,{library:t.formOptions.libraries[n.detail.value].name})},this.formOptions.libraries.map(function(t){return Object(v.c)(rn(),t.description)})):"",this.form.name,this.form.description,this.form.library,function(){return t._submit()},!this.isValid,this.loading?Object(v.c)(en()):"")}},{key:"_submit",value:function(){this._validateForm()}},{key:"_validateForm",value:function(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}},{key:"_getFormOptions",value:function(){var t=this;$.watchQuery({query:b()(nn())}).subscribe(function(n){var e=n.data.elementCreateOptions;t.formOptions=e})}}]),n}(v.a);function un(){var t=r()(['']);return un=function(){return t},t}customElements.define("wcfactory-ui-element-create-form",cn);var sn=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"render",value:function(){return Object(v.c)(un(),this.location.params.factory)}}],[{key:"properties",get:function(){return{loading:{type:Boolean},location:{type:Object}}}}]),n}(v.a);function ln(){var t=r()(["\n subscription {\n operationsOutput\n }\n"]);return ln=function(){return t},t}customElements.define("wcfactory-ui-element-create",sn);var pn=b()(ln());function dn(){var t=r()(["\n subscription {\n factoryUpdate\n }\n"]);return dn=function(){return t},t}var fn=b()(dn());function yn(){var t=r()(['

WCFactory

']);return yn=function(){return t},t}var vn=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"firstUpdated",value:function(){this.routerSetup(),$.subscribe({query:pn}).subscribe(function(t){var n=t.data.operationsOutput,e=JSON.parse(n);try{var i=$.readQuery({query:It,variables:{pid:e.operation}}),r=Object.assign({},{operation:{pid:e.operation,__typename:"Operation"}}),o=[].concat(Z()(i.operationOutput),[Object.assign({},e,r)]);$.writeQuery({query:It,variables:{pid:e.operation},data:Object.assign({},i,{operationOutput:o})})}catch(t){$.writeQuery({query:It,variables:{pid:e.operation},data:Object.assign({},{data:{operationsOutput:[e]}})})}}),$.subscribe({query:fn}).subscribe(function(t){var n=t.data.factoryUpdate,e=JSON.parse(n);try{var i="".concat(e.__typename,":").concat(e.id),r=P;$.writeFragment({fragment:r,id:i,data:e})}catch(t){console.log(t)}})}},{key:"render",value:function(){return Object(v.c)(yn())}},{key:"routerSetup",value:function(){var t=this.shadowRoot.getElementById("router-outlet");new m.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/create",component:"wcfactory-ui-factory-create"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"/factories/:factory/create-element",component:"wcfactory-ui-element-create"},{path:"(.*)",component:"wcfactory-ui-404"}])}}]),n}(v.a);customElements.define("wcfactory-ui",vn)}}]); \ No newline at end of file diff --git a/packages/ui/dist/13.9c055f48d9fd242ebf3f.js b/packages/ui/dist/13.9c055f48d9fd242ebf3f.js deleted file mode 100644 index 33d052f99..000000000 --- a/packages/ui/dist/13.9c055f48d9fd242ebf3f.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{655:function(t,n,e){"use strict";e.r(n);var i=e(269),r=e.n(i),o=e(261),a=e.n(o),c=e(262),u=e.n(c),s=e(264),l=e.n(s),p=e(263),d=e.n(p),f=e(265),y=e.n(f),v=e(285),m=e(567),h=e(283),b=e.n(h),g=e(643),w=e(642),k=e(635),x=e(589),O=e(320),j=e(573),_=e(296),E=e(644),q=e(588),S=new k.a({uri:"http://localhost:4000"}),z=new j.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),F=Object(O.d)(function(t){var n=t.query,e=Object(_.getMainDefinition)(n),i=e.kind,r=e.operation;return"OperationDefinition"===i&&"subscription"===r},z,S),C=new w.a,N=new q.a,R=Object(E.a)({cache:C}),$=new g.a({link:O.a.from([Object(x.a)(function(t){var n=t.graphQLErrors,e=t.networkError;n&&n.map(function(t){var n=t.message,e=t.locations,i=t.path;return console.log("[GraphQL error]: Message: ".concat(n,", Location: ").concat(e,", Path: ").concat(i))}),e&&console.log("[Network error]: ".concat(e))}),N,R,F]),cache:C,connectToDevTools:!0});e(632);function Q(){var t=r()(['
']);return Q=function(){return t},t}var G=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).disabled=!1,t.cta=!1,t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{disabled:{type:Boolean,reflect:!0},cta:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(Q(),this.disabled)}}]),n}(v.a);customElements.define("wcfactory-ui-button",G);e(634);function I(){var t=r()([":host {\n --wcfactory-ui-factory-state-spinner-scale: 0.5;\n display: flex;\n }\n paper-spinner {\n transform: scale(var(--wcfactory-ui-factory-state-spinner-scale));\n --paper-spinner-stroke-width: 3px;\n }"]);return I=function(){return t},t}function B(){var t=r()(["complete"]);return B=function(){return t},t}function H(){var t=r()(["",""]);return H=function(){return t},t}var L=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).output="",t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{output:{type:String}}}}]),u()(n,[{key:"render",value:function(){return this.output?Object(v.c)(H(),this.output):Object(v.c)(B())}}],[{key:"styles",get:function(){return Object(v.b)(I())}}]),n}(v.a);function U(){var t=r()(["",""]);return U=function(){return t},t}function V(){var t=r()(['']);return V=function(){return t},t}function T(){var t=r()(['

🏭','

',"
"]);return T=function(){return t},t}function D(){var t=r()(['
','
🏭 Create factory']);return D=function(){return t},t}function M(){var t=r()(["\n query {\n factories {\n ...FactoryInfo\n }\n }\n ","\n"]);return M=function(){return t},t}function J(){var t=r()(["\n fragment FactoryInfo on Factory {\n __typename\n id\n name\n location\n output\n }\n"]);return J=function(){return t},t}customElements.define("wcfactory-ui-factory-state",L);var P=b()(J()),A=b()(M(),P),W=function(t){function n(){var t;a()(this,n),(t=l()(this,d()(n).call(this))).factories=[];try{$.watchQuery({query:A}).subscribe(function(n){var e=n.data.factories;t.factories=e})}catch(t){}return t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(D(),this.factories.map(function(t){return Object(v.c)(T(),t.output?"":"/factories/".concat(t.name),t.name,t.output?Object(v.c)(V(),t.output):Object(v.c)(U(),t.location))}))}}]),n}(v.a);customElements.define("wcfactory-ui-factories",W);var Y=e(590),K=e(343),X=(e(646),e(295)),Z=e.n(X);function tt(){var t=r()(['\n \n\n \n :host {\n --wcfactory-ui-script-font-size: 12px;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n .script {\n cursor: pointer;\n padding: calc(var(--wcfactory-ui-script-font-size) * .6);\n }\n\n .script[active="true"] {\n background: black;\n }\n \n\n ']);return ft=function(){return t},t}function yt(){var t=r()(["",""]);return yt=function(){return t},t}customElements.define("wcfactory-ui-script",dt);var vt=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"render",value:function(){var t=this;return Object(v.c)(yt(),this.scripts.map(function(n){return Object(v.c)(ft(),n,t.location)}))}}],[{key:"properties",get:function(){return{scripts:{type:Array},location:{type:String}}}}]),n}(v.a);function mt(){var t=r()(['\n \n
:host {\n display: flex;\n background: var(--wcfactory-ui-secondary-color);\n padding: 10px;\n min-height: 100px;\n flex-direction: column;\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer\n }\n button:hover, button:focus {\n color: white;\n }\n #header {\n display: flex;\n align-items: center;\n }\n #header > * {\n margin: 0 .5em;\n }\n #title {\n flex: 1 1 auto;\n }\n #middle {\n flex: 1 1 auto;\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n margin: 10px 0;\n }\n #location {\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n }
']);return wt=function(){return t},t}customElements.define("wcfactory-ui-location",gt);var kt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).element={},t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{element:{type:Object}}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(wt(),this.element.name,this.element.location,this.element.version,this.element.scripts,this.element.location)}}]),n}(v.a);function xt(){var t=r()([' ']);return xt=function(){return t},t}customElements.define("wcfactory-ui-element",kt);var Ot=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).placeholder="",t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(xt(),this.placeholder)}}]),n}(v.a);function jt(){var t=r()(["\n query($name: String!) {\n factory(name: $name) {\n name\n location\n scripts\n elements {\n id\n name\n location\n version\n scripts\n }\n }\n }\n "]);return jt=function(){return t},t}function _t(){var t=r()(['
∈ ','
']);return _t=function(){return t},t}function Et(){var t=r()(['
🏭 ','

(',')
','
Create Element (coming soon)

create element by running the following command in your terminal 😄

wcf element ',"

"]);return Et=function(){return t},t}function qt(){var t=r()(["loading..."]);return qt=function(){return t},t}customElements.define("wcfactory-ui-search",Ot);var St=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).factory=null,t.loading=!0,t.activeElement=null,t.elementFilter="",t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(n,[{key:"render",value:function(){var t=this,n=this.location.params.factory;if(this.fetchFactory(n),this.loading)return Object(v.c)(qt());if(this.factory){var e=new Y.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),i=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(v.c)(Et(),this.factory.name,this.factory.location,function(n){return t.elementFilter=n.composedPath()[0].value},this.factory.elements.length,i.map(function(n){return Object(v.c)(_t(),n.name===t.activeElement,t._activateItemHander,t._activateItemHander,n.name,n.name===t.activeElement,n.name,n.name===t.activeElement?"1":null,n,n.name===t.activeElement?"1":null)}),this.factory.name,this._renderFactoryFlag(this.factory.location))}}},{key:"_renderFactoryFlag",value:function(t){return"--factory=".concat(t)}},{key:"fetchFactory",value:function(t){var n=this;try{$.watchQuery({query:b()(jt()),variables:{name:t}}).subscribe(function(t){var e=t.data.factory;n.loading=!1,n.factory=e})}catch(t){}}},{key:"_activateItemHander",value:function(t){var n=!1;"click"===t.type?n=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(n=!0)),n&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}}]),n}(v.a);function zt(){var t=r()(["that path does not exist 😔"]);return zt=function(){return t},t}customElements.define("wcfactory-ui-factory",St);var Ft=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"render",value:function(){return Object(v.c)(zt())}}]),n}(v.a);function Ct(){var t=r()(['
']);return Ct=function(){return t},t}customElements.define("wcfactory-ui-404",Ft);var Nt=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"firstUpdated",value:function(){this._outputElement=this.shadowRoot.querySelector("#output"),this.shadowRoot.addEventListener("slotchange",this._slotChangeHandler.bind(this))}},{key:"disconnectedCallback",value:function(){this.shadowRoot.removeEventListener("slotchange",this._slotChangeHandler.bind(this))}},{key:"_slotChangeHandler",value:function(){this._outputElement.scrollTop=this._outputElement.scrollHeight}},{key:"render",value:function(){return Object(v.c)(Ct())}}]),n}(v.a);function Rt(){var t=r()(["loading..."]);return Rt=function(){return t},t}function $t(){var t=r()(["
","
"]);return $t=function(){return t},t}function Qt(){var t=r()(['\n \n
\n
']);return Lt=function(){return t},t}customElements.define("wcfactory-ui-active-script",Bt);var Ut=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).active=!1,t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{active:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"render",value:function(){var t=this;return Object(v.c)(Lt(),this.active,function(){return t.active=!t.active})}}],[{key:"styles",get:function(){return Object(v.b)(Ht())}}]),n}(v.a);function Vt(){var t=r()([":host {\n display: flex;\n position: fixed;\n right: 0;\n bottom: 0;\n z-index: 100;\n }\n #tabs {\n display: flex;\n }\n #container {\n display: flex;\n }"]);return Vt=function(){return t},t}function Tt(){var t=r()(['
']);return Tt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tab",Ut);var Dt=function(t){function n(){return a()(this,n),l()(this,d()(n).call(this))}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{}}}]),u()(n,[{key:"render",value:function(){return Object(v.c)(Tt())}}],[{key:"styles",get:function(){return Object(v.b)(Vt())}}]),n}(v.a);function Mt(){var t=r()(['\n \n '," (",")\n \n \n "]);return Mt=function(){return t},t}function Jt(){var t=r()(["\n \n \n \n ","\n \n\n "]);return Jt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tabs",Dt);var Pt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).client=$,t.query=pt,t}return y()(n,t),u()(n,[{key:"render",value:function(){var t=this.data;this.error,this.loading;return Object(K.c)(Jt(),t.operations.map(function(t){return Object(K.c)(Mt(),t.element.name,t.script,t)}))}}]),n}(K.b);customElements.define("wcfactory-ui-active-scripts",Pt);e(425),e(501);function At(){var t=r()(['
...Creating Factory
']);return At=function(){return t},t}function Wt(){var t=r()(['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""],['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""]);return Wt=function(){return t},t}var Yt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).isValid=!1,t.name="",t.humanName="",t.description="",t.orgGit="",t.orgNpm="",t.gitRepo="",t.loading=!1,t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{form:{type:Object},name:{type:String},humanName:{type:String},description:{type:String},orgGit:{type:String},orgNpm:{type:String},gitRepo:{type:String},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"updated",value:function(t){if(""!==this.name&&""!==this.humanName&&""!==this.description&&""!==this.orgGit&&""!==this.orgNpm)this._validateForm();this.gitRepo="git:github.com/".concat(this.orgGit?this.orgGit:"","/").concat(this.name?this.name:"")}},{key:"render",value:function(){var t=this;return Object(v.c)(Wt(),function(n){return t.name=n.detail.value},function(n){return t.humanName=n.detail.value},function(n){return t.description=n.detail.value},function(n){return t.orgGit=n.detail.value},function(n){return t.orgNpm=n.detail.value},this.humanName,this.gitRepo,this.orgNpm,this.orgNpm?"".concat(this.orgNpm):"",function(){return t._submit()},!this.isValid,this.loading?Object(v.c)(At()):"")}},{key:"_submit",value:function(){this._validateForm()&&this.dispatchEvent(new CustomEvent("submit",{bubbles:!0,detail:{name:this.name,humanName:this.humanName,description:this.description,orgGit:this.orgGit,orgNpm:"@".concat(this.orgNpm),gitRepo:this.gitRepo}}))}},{key:"_validateForm",value:function(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}}]),n}(v.a);function Kt(){var t=r()(['']);return Kt=function(){return t},t}function Xt(){var t=r()(["\n mutation($createFactoryInput: CreateFactoryInput!) {\n createFactory(createFactoryInput: $createFactoryInput) {\n ...FactoryInfo\n }\n }\n ","\n"]);return Xt=function(){return t},t}customElements.define("wcfactory-ui-factory-create-form",Yt);var Zt=b()(Xt(),P),tn=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"render",value:function(){return Object(v.c)(Kt(),this._submitHandler,this.loading)}},{key:"_submitHandler",value:function(t){var n=this;this.loading=!0,$.mutate({mutation:Zt,variables:{createFactoryInput:t.detail},update:function(t,e){var i=e.data.createFactory,r=(i.id,i.__typename,A),o=t.readQuery({query:r}),a=[].concat(Z()(o.factories),[i]);t.writeQuery({query:r,data:Object.assign({},o,{factories:a})}),setTimeout(function(){n.loading=!1,n.shadowRoot.querySelector("#return-home").click()},1e3)}})}}],[{key:"properties",get:function(){return{loading:{type:Boolean}}}}]),n}(v.a);customElements.define("wcfactory-ui-factory-create",tn);e(625),e(633),e(630);function nn(){var t=r()(["\n query {\n elementCreateOptions {\n libraries {\n name\n description\n }\n }\n }\n "]);return nn=function(){return t},t}function en(){var t=r()(['
...Creating Element
']);return en=function(){return t},t}function rn(){var t=r()(["",""]);return rn=function(){return t},t}function on(){var t=r()(['',""]);return on=function(){return t},t}function an(){var t=r()(['
🏭 ',' create element
','

∈ ','

Description: ',"
Element Type: ",'
Create Element
',""],['
🏭 ',' create element
','

∈ ','

Description: ',"
Element Type: ",'
Create Element
',""]);return an=function(){return t},t}var cn=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).title="",t.isValid=!1,t.loading=!1,t.form={name:""},t._getFormOptions(),t}return y()(n,t),u()(n,null,[{key:"properties",get:function(){return{form:{type:Object},formOptions:{type:Object},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0},factory:{type:String}}}}]),u()(n,[{key:"updated",value:function(t){if(this.form.name&&this.form.description&&this.form.library)this._validateForm()}},{key:"render",value:function(){var t=this;return Object(v.c)(an(),this.factory,function(n){return t.form=Object.assign({},t.form,{name:n.detail.value})},function(n){return t.form=Object.assign({},t.form,{description:n.detail.value})},this.factory,this.formOptions?Object(v.c)(on(),function(n){return t.form=Object.assign({},t.form,{library:t.formOptions.libraries[n.detail.value].name})},this.formOptions.libraries.map(function(t){return Object(v.c)(rn(),t.description)})):"",this.form.name,this.form.description,this.form.library,function(){return t._submit()},!this.isValid,this.loading?Object(v.c)(en()):"")}},{key:"_submit",value:function(){this._validateForm()}},{key:"_validateForm",value:function(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}},{key:"_getFormOptions",value:function(){var t=this;$.watchQuery({query:b()(nn())}).subscribe(function(n){var e=n.data.elementCreateOptions;t.formOptions=e})}}]),n}(v.a);function un(){var t=r()(['']);return un=function(){return t},t}customElements.define("wcfactory-ui-element-create-form",cn);var sn=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"render",value:function(){return Object(v.c)(un(),this.location.params.factory)}}],[{key:"properties",get:function(){return{loading:{type:Boolean},location:{type:Object}}}}]),n}(v.a);function ln(){var t=r()(["\n subscription {\n operationsOutput\n }\n"]);return ln=function(){return t},t}customElements.define("wcfactory-ui-element-create",sn);var pn=b()(ln());function dn(){var t=r()(["\n subscription {\n factoryUpdate\n }\n"]);return dn=function(){return t},t}var fn=b()(dn());function yn(){var t=r()(['

WCFactory

']);return yn=function(){return t},t}var vn=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return y()(n,t),u()(n,[{key:"firstUpdated",value:function(){this.routerSetup(),$.subscribe({query:pn}).subscribe(function(t){var n=t.data.operationsOutput,e=JSON.parse(n);try{var i=$.readQuery({query:It,variables:{pid:e.operation}}),r=Object.assign({},{operation:{pid:e.operation,__typename:"Operation"}}),o=[].concat(Z()(i.operationOutput),[Object.assign({},e,r)]);$.writeQuery({query:It,variables:{pid:e.operation},data:Object.assign({},i,{operationOutput:o})})}catch(t){$.writeQuery({query:It,variables:{pid:e.operation},data:Object.assign({},{data:{operationsOutput:[e]}})})}}),$.subscribe({query:fn}).subscribe(function(t){var n=t.data.factoryUpdate,e=JSON.parse(n);try{var i="".concat(e.__typename,":").concat(e.id),r=P;$.writeFragment({fragment:r,id:i,data:e})}catch(t){console.log(t)}})}},{key:"render",value:function(){return Object(v.c)(yn())}},{key:"routerSetup",value:function(){var t=this.shadowRoot.getElementById("router-outlet");new m.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/create",component:"wcfactory-ui-factory-create"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"/factories/:factory/create-element",component:"wcfactory-ui-element-create"},{path:"(.*)",component:"wcfactory-ui-404"}])}}]),n}(v.a);customElements.define("wcfactory-ui",vn)}}]); \ No newline at end of file diff --git a/packages/ui/dist/13.eaa028c38515ba4ab0e1.js b/packages/ui/dist/13.eaa028c38515ba4ab0e1.js deleted file mode 100644 index b2987370b..000000000 --- a/packages/ui/dist/13.eaa028c38515ba4ab0e1.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{664:function(t,n,e){"use strict";e.r(n);var r=e(269),i=e.n(r),o=e(261),a=e.n(o),c=e(262),u=e.n(c),s=e(264),l=e.n(s),p=e(263),d=e.n(p),f=e(265),v=e.n(f),y=e(282),m=e(581),h=e(285),b=e.n(h),g=e(647),w=e(656),k=e(649),x=e(605),O=e(318),j=e(589),E=e(296),S=e(648),_=e(604),q=new k.a({uri:"http://localhost:4000"}),F=new j.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),z=Object(O.d)(function(t){var n=t.query,e=Object(E.getMainDefinition)(n),r=e.kind,i=e.operation;return"OperationDefinition"===r&&"subscription"===i},F,q),N=new w.a,C=new _.a,R=Object(S.a)({cache:N}),$=new g.a({link:O.a.from([Object(x.a)(function(t){var n=t.graphQLErrors,e=t.networkError;n&&n.map(function(t){var n=t.message,e=t.locations,r=t.path;return console.log("[GraphQL error]: Message: ".concat(n,", Location: ").concat(e,", Path: ").concat(r))}),e&&console.log("[Network error]: ".concat(e))}),C,R,z]),cache:N,connectToDevTools:!0});e(645);function L(){var t=i()(['
']);return L=function(){return t},t}var B=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).disabled=!1,t.cta=!1,t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{disabled:{type:Boolean,reflect:!0},cta:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"render",value:function(){return Object(y.c)(L(),this.disabled)}}]),n}(y.a);customElements.define("wcfactory-ui-button",B);e(644);function Q(){var t=i()([":host {\n --wcfactory-ui-factory-state-spinner-scale: 0.5;\n display: flex;\n }\n paper-spinner {\n transform: scale(var(--wcfactory-ui-factory-state-spinner-scale));\n --paper-spinner-stroke-width: 3px;\n }"]);return Q=function(){return t},t}function D(){var t=i()(["complete"]);return D=function(){return t},t}function G(){var t=i()(["",""]);return G=function(){return t},t}var I=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).output="",t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{output:{type:String}}}}]),u()(n,[{key:"render",value:function(){return this.output?Object(y.c)(G(),this.output):Object(y.c)(D())}}],[{key:"styles",get:function(){return Object(y.b)(Q())}}]),n}(y.a);function U(){var t=i()(["",""]);return U=function(){return t},t}function H(){var t=i()(['']);return H=function(){return t},t}function P(){var t=i()(['

🏭','

',"
"]);return P=function(){return t},t}function T(){var t=i()(['
','
🏭 Create factory']);return T=function(){return t},t}function V(){var t=i()(["\n query {\n factories {\n ...FactoryInfo\n }\n }\n ","\n"]);return V=function(){return t},t}function A(){var t=i()(["\n fragment FactoryInfo on Factory {\n __typename\n id\n name\n location\n output\n }\n"]);return A=function(){return t},t}customElements.define("wcfactory-ui-factory-state",I);var M=b()(A()),J=b()(V(),M),W=function(t){function n(){var t;a()(this,n),(t=l()(this,d()(n).call(this))).factories=[];try{$.watchQuery({query:J}).subscribe(function(n){var e=n.data.factories;t.factories=e})}catch(t){}return t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{factories:{type:Array}}}}]),u()(n,[{key:"render",value:function(){return Object(y.c)(T(),this.factories.map(function(t){return Object(y.c)(P(),t.output?"":"/factories/".concat(t.name),t.name,t.output?Object(y.c)(H(),t.output):Object(y.c)(U(),t.location))}))}}]),n}(y.a);customElements.define("wcfactory-ui-factories",W);var Y=e(606),K=e(345),X=(e(654),e(291)),Z=e.n(X);function tt(){var t=i()(['\n \n\n \n :host {\n --wcfactory-ui-script-font-size: 12px;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n .script {\n cursor: pointer;\n padding: calc(var(--wcfactory-ui-script-font-size) * .6);\n }\n\n .script[active="true"] {\n background: black;\n }\n \n\n ']);return ft=function(){return t},t}function vt(){var t=i()(["",""]);return vt=function(){return t},t}customElements.define("wcfactory-ui-script",dt);var yt=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return v()(n,t),u()(n,[{key:"render",value:function(){var t=this;return Object(y.c)(vt(),this.scripts.map(function(n){return Object(y.c)(ft(),n,t.location)}))}}],[{key:"properties",get:function(){return{scripts:{type:Array},location:{type:String}}}}]),n}(y.a);function mt(){var t=i()(['\n \n
:host {\n display: flex;\n background: var(--wcfactory-ui-secondary-color);\n padding: 10px;\n min-height: 100px;\n flex-direction: column;\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer\n }\n button:hover, button:focus {\n color: white;\n }\n #header {\n display: flex;\n align-items: center;\n }\n #header > * {\n margin: 0 .5em;\n }\n #title {\n flex: 1 1 auto;\n }\n #middle {\n flex: 1 1 auto;\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n margin: 10px 0;\n }\n #location {\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n }
']);return wt=function(){return t},t}customElements.define("wcfactory-ui-location",gt);var kt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).element={},t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{element:{type:Object}}}}]),u()(n,[{key:"render",value:function(){return Object(y.c)(wt(),this.element.name,this.element.location,this.element.version,this.element.scripts,this.element.location)}}]),n}(y.a);function xt(){var t=i()([' ']);return xt=function(){return t},t}customElements.define("wcfactory-ui-element",kt);var Ot=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).placeholder="",t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{placeholder:{type:String}}}}]),u()(n,[{key:"render",value:function(){return Object(y.c)(xt(),this.placeholder)}}]),n}(y.a);function jt(){var t=i()(["\n query($name: String!) {\n factory(name: $name) {\n name\n location\n scripts\n elements {\n id\n name\n location\n version\n scripts\n }\n }\n }\n "]);return jt=function(){return t},t}function Et(){var t=i()(['
∈ ','
']);return Et=function(){return t},t}function St(){var t=i()(['
🏭 ','

(',')
','
Create Element (coming soon)

create element by running the following command in your terminal 😄

wcf element ',"

"]);return St=function(){return t},t}function _t(){var t=i()(["loading..."]);return _t=function(){return t},t}customElements.define("wcfactory-ui-search",Ot);var qt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).factory=null,t.loading=!0,t.activeElement=null,t.elementFilter="",t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}}]),u()(n,[{key:"render",value:function(){var t=this,n=this.location.params.factory;if(this.fetchFactory(n),this.loading)return Object(y.c)(_t());if(this.factory){var e=new Y.default(this.factory.elements,{keys:["name"],minMatchCharLength:2}),r=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(y.c)(St(),this.factory.name,this.factory.location,function(n){return t.elementFilter=n.composedPath()[0].value},this.factory.elements.length,r.map(function(n){return Object(y.c)(Et(),n.name===t.activeElement,t._activateItemHander,t._activateItemHander,n.name,n.name===t.activeElement,n.name,n.name===t.activeElement?"1":null,n,n.name===t.activeElement?"1":null)}),this.factory.name,this._renderFactoryFlag(this.factory.location))}}},{key:"_renderFactoryFlag",value:function(t){return"--factory=".concat(t)}},{key:"fetchFactory",value:function(t){var n=this;try{$.watchQuery({query:b()(jt()),variables:{name:t}}).subscribe(function(t){var e=t.data.factory;n.loading=!1,n.factory=e})}catch(t){}}},{key:"_activateItemHander",value:function(t){var n=!1;"click"===t.type?n=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(n=!0)),n&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}}]),n}(y.a);function Ft(){var t=i()(["that path does not exist 😔"]);return Ft=function(){return t},t}customElements.define("wcfactory-ui-factory",qt);var zt=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return v()(n,t),u()(n,[{key:"render",value:function(){return Object(y.c)(Ft())}}]),n}(y.a);function Nt(){var t=i()(['
']);return Nt=function(){return t},t}customElements.define("wcfactory-ui-404",zt);var Ct=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return v()(n,t),u()(n,[{key:"firstUpdated",value:function(){this._outputElement=this.shadowRoot.querySelector("#output"),this.shadowRoot.addEventListener("slotchange",this._slotChangeHandler.bind(this))}},{key:"disconnectedCallback",value:function(){this.shadowRoot.removeEventListener("slotchange",this._slotChangeHandler.bind(this))}},{key:"_slotChangeHandler",value:function(){this._outputElement.scrollTop=this._outputElement.scrollHeight}},{key:"render",value:function(){return Object(y.c)(Nt())}}]),n}(y.a);function Rt(){var t=i()(["loading..."]);return Rt=function(){return t},t}function $t(){var t=i()(["
","
"]);return $t=function(){return t},t}function Lt(){var t=i()(['\n \n
\n
']);return It=function(){return t},t}customElements.define("wcfactory-ui-active-script",Dt);var Ut=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).active=!1,t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{active:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"render",value:function(){var t=this;return Object(y.c)(It(),this.active,function(){return t.active=!t.active})}}],[{key:"styles",get:function(){return Object(y.b)(Gt())}}]),n}(y.a);function Ht(){var t=i()([":host {\n display: flex;\n position: fixed;\n right: 0;\n bottom: 0;\n z-index: 100;\n }\n #tabs {\n display: flex;\n }\n #container {\n display: flex;\n }"]);return Ht=function(){return t},t}function Pt(){var t=i()(['
']);return Pt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tab",Ut);var Tt=function(t){function n(){return a()(this,n),l()(this,d()(n).call(this))}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{}}}]),u()(n,[{key:"render",value:function(){return Object(y.c)(Pt())}}],[{key:"styles",get:function(){return Object(y.b)(Ht())}}]),n}(y.a);function Vt(){var t=i()(['\n \n '," (",")\n \n \n "]);return Vt=function(){return t},t}function At(){var t=i()(["\n \n \n \n ","\n \n\n "]);return At=function(){return t},t}customElements.define("wcfactory-ui-desktop-tabs",Tt);var Mt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).client=$,t.query=pt,t}return v()(n,t),u()(n,[{key:"render",value:function(){var t=this.data;this.error,this.loading;return Object(K.c)(At(),t.operations.map(function(t){return Object(K.c)(Vt(),t.element.name,t.script,t)}))}}]),n}(K.b);customElements.define("wcfactory-ui-active-scripts",Mt);e(363),e(391);function Jt(){var t=i()(['
...Creating Factory
']);return Jt=function(){return t},t}function Wt(){var t=i()(['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""],['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""]);return Wt=function(){return t},t}var Yt=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).isValid=!1,t.name="",t.humanName="",t.description="",t.orgGit="",t.orgNpm="",t.gitRepo="",t.loading=!1,t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{form:{type:Object},name:{type:String},humanName:{type:String},description:{type:String},orgGit:{type:String},orgNpm:{type:String},gitRepo:{type:String},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0}}}}]),u()(n,[{key:"updated",value:function(t){if(""!==this.name&&""!==this.humanName&&""!==this.description&&""!==this.orgGit&&""!==this.orgNpm)this._validateForm();this.gitRepo="git:github.com/".concat(this.orgGit?this.orgGit:"","/").concat(this.name?this.name:"")}},{key:"render",value:function(){var t=this;return Object(y.c)(Wt(),function(n){return t.name=n.detail.value},function(n){return t.humanName=n.detail.value},function(n){return t.description=n.detail.value},function(n){return t.orgGit=n.detail.value},function(n){return t.orgNpm=n.detail.value},this.humanName,this.gitRepo,this.orgNpm,this.orgNpm?"".concat(this.orgNpm):"",function(){return t._submit()},!this.isValid,this.loading?Object(y.c)(Jt()):"")}},{key:"_submit",value:function(){this._validateForm()&&this.dispatchEvent(new CustomEvent("submit",{bubbles:!0,detail:{name:this.name,humanName:this.humanName,description:this.description,orgGit:this.orgGit,orgNpm:"@".concat(this.orgNpm),gitRepo:this.gitRepo}}))}},{key:"_validateForm",value:function(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}}]),n}(y.a);function Kt(){var t=i()(['']);return Kt=function(){return t},t}function Xt(){var t=i()(["\n mutation($createFactoryInput: CreateFactoryInput!) {\n createFactory(createFactoryInput: $createFactoryInput) {\n ...FactoryInfo\n }\n }\n ","\n"]);return Xt=function(){return t},t}customElements.define("wcfactory-ui-factory-create-form",Yt);var Zt=b()(Xt(),M),tn=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return v()(n,t),u()(n,[{key:"render",value:function(){return Object(y.c)(Kt(),this._submitHandler,this.loading)}},{key:"_submitHandler",value:function(t){var n=this;this.loading=!0,$.mutate({mutation:Zt,variables:{createFactoryInput:t.detail},update:function(t,e){var r=e.data.createFactory,i=(r.id,r.__typename,J),o=t.readQuery({query:i}),a=[].concat(Z()(o.factories),[r]);t.writeQuery({query:i,data:Object.assign({},o,{factories:a})}),setTimeout(function(){n.loading=!1,n.shadowRoot.querySelector("#return-home").click()},1e3)}})}}],[{key:"properties",get:function(){return{loading:{type:Boolean}}}}]),n}(y.a);customElements.define("wcfactory-ui-factory-create",tn);e(433),e(437),e(439),e(435);function nn(){var t=i()(["",""]);return nn=function(){return t},t}function en(){var t=i()(['','
']);return en=function(){return t},t}var rn=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).value={},t.propertyTypes=[{value:"Boolean",description:"Boolean, true/false value"},{value:"Number",description:"Number, number like 54"},{value:"Object",description:"Object, complex item storing multiple types"},{value:"Array",description:"Array, list of types"}],t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{value:{type:Object}}}}]),u()(n,[{key:"updated",value:function(t){var n=this,e=!0,r=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){o.value.forEach(function(t){"value"===t&&n.dispatchEvent(new CustomEvent("value-changed",{detail:n.value}))})}}catch(t){r=!0,i=t}finally{try{e||null==a.return||a.return()}finally{if(r)throw i}}}},{key:"render",value:function(){var t=this;return Object(y.c)(en(),function(n){return t.value=Object.assign({},t.value,{name:n.detail.value})},function(n){return t.value=Object.assign({},t.value,{type:t.propertyTypes[n.detail.value].value})},this.propertyTypes.map(function(t){return Object(y.c)(nn(),t.description)}),function(n){return t.value=Object.assign({},t.value,{default:n.detail.value})},function(t){console.log(t)})}}]),n}(y.a);function on(){var t=i()(['']);return on=function(){return t},t}function an(){var t=i()(["",'Add property➕']);return an=function(){return t},t}customElements.define("wcfactory-ui-property-form",rn);var cn=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).value=[{name:"",type:"",default:""}],t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{value:{type:Array}}}}]),u()(n,[{key:"updated",value:function(t){var n=this,e=!0,r=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){o.value.forEach(function(t){"value"===t&&n.dispatchEvent(new CustomEvent("value-changed",{detail:n.value}))})}}catch(t){r=!0,i=t}finally{try{e||null==a.return||a.return()}finally{if(r)throw i}}}},{key:"render",value:function(){var t=this;return Object(y.c)(an(),this.value.map(function(n,e){return Object(y.c)(on(),function(n){var r=Z()(t.value);r[e]=n.detail,t.value=r})}),function(n){return t.value=[].concat(Z()(t.value),[{}])})}}]),n}(y.a);function un(){var t=i()(["\n query {\n elementCreateOptions {\n libraries {\n name\n description\n }\n }\n }\n "]);return un=function(){return t},t}function sn(){var t=i()(['
...Creating Element
']);return sn=function(){return t},t}function ln(){var t=i()(['
name: ',"
description: ","
default: ","
observe: ","
"]);return ln=function(){return t},t}function pn(){var t=i()(['
Properties: ',"
"]);return pn=function(){return t},t}function dn(){var t=i()(["",""]);return dn=function(){return t},t}function fn(){var t=i()(['',""]);return fn=function(){return t},t}function vn(){var t=i()(['
🏭 ',' create element

Name

Description

Factory

Library

','

Use Sass (optional)

Properties (optional)

∈ ','

Description: ',"
Element Type: ","
",'
Create Element
',""],['
🏭 ',' create element

Name

Description

Factory

Library

','

Use Sass (optional)

Properties (optional)

∈ ','

Description: ',"
Element Type: ","
",'
Create Element
',""]);return vn=function(){return t},t}customElements.define("wcfactory-ui-properties-form",cn);var yn=function(t){function n(){var t;return a()(this,n),(t=l()(this,d()(n).call(this))).title="",t.isValid=!1,t.loading=!1,t.form={name:""},t._getFormOptions(),t}return v()(n,t),u()(n,null,[{key:"properties",get:function(){return{form:{type:Object},formOptions:{type:Object},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0},factory:{type:String}}}}]),u()(n,[{key:"updated",value:function(t){if(this.form.name&&this.form.description&&this.form.library)this._validateForm()}},{key:"render",value:function(){var t=this;return Object(y.c)(vn(),this.factory,function(n){return t.form=Object.assign({},t.form,{name:n.detail.value})},function(n){return t.form=Object.assign({},t.form,{description:n.detail.value})},this.factory,this.formOptions?Object(y.c)(fn(),function(n){return t.form=Object.assign({},t.form,{library:t.formOptions.libraries[n.detail.value].name})},this.formOptions.libraries.map(function(t){return Object(y.c)(dn(),t.description)})):"",function(n){return t.form=Object.assign({},t.form,{useSass:n.detail.value})},function(n){t.form=Object.assign({},t.form,{propsList:n.detail})},this.form.name,this.form.description,this.form.library,this.form.propsList&&this.form.propsList.length>0?Object(y.c)(pn(),this.form.propsList.map(function(t){return t.name||t.description||t.default?Object(y.c)(ln(),t.name,t.type,t.default,t.observe?"yes":"no"):"none"})):"",function(){return t._submit()},!this.isValid,this.loading?Object(y.c)(sn()):"")}},{key:"_submit",value:function(){this._validateForm()}},{key:"_validateForm",value:function(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}},{key:"_getFormOptions",value:function(){var t=this;$.watchQuery({query:b()(un())}).subscribe(function(n){var e=n.data.elementCreateOptions;t.formOptions=e})}}]),n}(y.a);function mn(){var t=i()(['']);return mn=function(){return t},t}customElements.define("wcfactory-ui-element-create-form",yn);var hn=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return v()(n,t),u()(n,[{key:"render",value:function(){return Object(y.c)(mn(),this.location.params.factory)}}],[{key:"properties",get:function(){return{loading:{type:Boolean},location:{type:Object}}}}]),n}(y.a);function bn(){var t=i()(["\n subscription {\n operationsOutput\n }\n"]);return bn=function(){return t},t}customElements.define("wcfactory-ui-element-create",hn);var gn=b()(bn());function wn(){var t=i()(["\n subscription {\n factoryUpdate\n }\n"]);return wn=function(){return t},t}var kn=b()(wn());function xn(){var t=i()(['

WCFactory

']);return xn=function(){return t},t}var On=function(t){function n(){return a()(this,n),l()(this,d()(n).apply(this,arguments))}return v()(n,t),u()(n,[{key:"firstUpdated",value:function(){this.routerSetup(),$.subscribe({query:gn}).subscribe(function(t){var n=t.data.operationsOutput,e=JSON.parse(n);try{var r=$.readQuery({query:Qt,variables:{pid:e.operation}}),i=Object.assign({},{operation:{pid:e.operation,__typename:"Operation"}}),o=[].concat(Z()(r.operationOutput),[Object.assign({},e,i)]);$.writeQuery({query:Qt,variables:{pid:e.operation},data:Object.assign({},r,{operationOutput:o})})}catch(t){$.writeQuery({query:Qt,variables:{pid:e.operation},data:Object.assign({},{data:{operationsOutput:[e]}})})}}),$.subscribe({query:kn}).subscribe(function(t){var n=t.data.factoryUpdate,e=JSON.parse(n);try{var r="".concat(e.__typename,":").concat(e.id),i=M;$.writeFragment({fragment:i,id:r,data:e})}catch(t){console.log(t)}})}},{key:"render",value:function(){return Object(y.c)(xn())}},{key:"routerSetup",value:function(){var t=this.shadowRoot.getElementById("router-outlet");new m.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/create",component:"wcfactory-ui-factory-create"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"/factories/:factory/create-element",component:"wcfactory-ui-element-create"},{path:"(.*)",component:"wcfactory-ui-404"}])}}]),n}(y.a);customElements.define("wcfactory-ui",On)}}]); \ No newline at end of file diff --git a/packages/ui/dist/14.9ac1ac94f3f31062c197.js b/packages/ui/dist/14.9ac1ac94f3f31062c197.js deleted file mode 100644 index 70a1799b9..000000000 --- a/packages/ui/dist/14.9ac1ac94f3f31062c197.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{665:function(t,e,n){"use strict";n.r(e);var r=n(268),i=n.n(r),a=n(283),o=n(515),c=n(284),s=n.n(c),l=n(655),u=n(652),p=n(651),d=n(540),f=n(311),m=n(523),h=n(293),y=n(650),v=n(539),b=new p.a({uri:"http://localhost:4000"}),g=new m.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),w=Object(f.d)(t=>{var e=t.query,n=Object(h.getMainDefinition)(e),r=n.kind,i=n.operation;return"OperationDefinition"===r&&"subscription"===i},g,b),x=new u.a,O=new v.a,k=Object(y.a)({cache:x}),j=new l.a({link:f.a.from([Object(d.a)(t=>{var e=t.graphQLErrors,n=t.networkError;e&&e.map(t=>{var e=t.message,n=t.locations,r=t.path;return console.log("[GraphQL error]: Message: ".concat(e,", Location: ").concat(n,", Path: ").concat(r))}),n&&console.log("[Network error]: ".concat(n))}),O,k,w]),cache:x,connectToDevTools:!0});n(643);function E(){var t=i()(['
']);return E=function(){return t},t}customElements.define("wcfactory-ui-button",class extends a.a{static get properties(){return{disabled:{type:Boolean,reflect:!0},cta:{type:Boolean,reflect:!0}}}constructor(){super(),this.disabled=!1,this.cta=!1}render(){return Object(a.c)(E(),this.disabled)}});n(646);function S(){var t=i()(["complete"]);return S=function(){return t},t}function _(){var t=i()(["",""]);return _=function(){return t},t}function q(){var t=i()([":host {\n --wcfactory-ui-factory-state-spinner-scale: 0.5;\n display: flex;\n }\n paper-spinner {\n transform: scale(var(--wcfactory-ui-factory-state-spinner-scale));\n --paper-spinner-stroke-width: 3px;\n }"]);return q=function(){return t},t}function F(){var t=i()(["",""]);return F=function(){return t},t}function z(){var t=i()(['']);return z=function(){return t},t}function N(){var t=i()(['

🏭','

',"
"]);return N=function(){return t},t}function C(){var t=i()(['
','
🏭 Create factory']);return C=function(){return t},t}function R(){var t=i()(["\n query {\n factories {\n ...FactoryInfo\n }\n }\n ","\n"]);return R=function(){return t},t}function $(){var t=i()(["\n fragment FactoryInfo on Factory {\n __typename\n id\n name\n location\n output\n }\n"]);return $=function(){return t},t}customElements.define("wcfactory-ui-factory-state",class extends a.a{static get properties(){return{output:{type:String}}}constructor(){super(),this.output=""}static get styles(){return Object(a.b)(q())}render(){return this.output?Object(a.c)(_(),this.output):Object(a.c)(S())}});var L=s()($()),B=s()(R(),L);customElements.define("wcfactory-ui-factories",class extends a.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{j.watchQuery({query:B}).subscribe(t=>{var e=t.data.factories;this.factories=e})}catch(t){}}render(){return Object(a.c)(C(),this.factories.map(t=>Object(a.c)(N(),t.output?"":"/factories/".concat(t.name),t.name,t.output?Object(a.c)(z(),t.output):Object(a.c)(F(),t.location))))}});var Q=n(541),D=n.n(Q),G=n(346);n(653);function I(){var t=i()(['\n \n\n \n :host {\n --wcfactory-ui-script-font-size: 12px;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n .script {\n cursor: pointer;\n padding: calc(var(--wcfactory-ui-script-font-size) * .6);\n }\n\n .script[active="true"] {\n background: black;\n }\n \n\n ']);return Y=function(){return t},t}function K(){var t=i()(["",""]);return K=function(){return t},t}customElements.define("wcfactory-ui-script",class extends G.b{static get properties(){return{script:{type:String},location:{type:String}}}constructor(){super(),this.client=j,this.query=W}render(){return this.data.operations.find(t=>t.script===this.script&&t.location===this.location)?Object(G.c)(M(),this.script,this.location,this.script):Object(G.c)(A(),this.script,this.location)}});function X(){var t=i()(['\n \n
:host {\n display: flex;\n background: var(--wcfactory-ui-secondary-color);\n padding: 10px;\n min-height: 100px;\n flex-direction: column;\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer\n }\n button:hover, button:focus {\n color: white;\n }\n #header {\n display: flex;\n align-items: center;\n }\n #header > * {\n margin: 0 .5em;\n }\n #title {\n flex: 1 1 auto;\n }\n #middle {\n flex: 1 1 auto;\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n margin: 10px 0;\n }\n #location {\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n }
']);return et=function(){return t},t}customElements.define("wcfactory-ui-location",class extends G.a{static get properties(){return{location:{type:String}}}render(){return this.client=j,this.mutation=tt,this.variables={location:this.location},Object(G.c)(X(),this.mutate)}});function nt(){var t=i()([' ']);return nt=function(){return t},t}customElements.define("wcfactory-ui-element",class extends a.a{static get properties(){return{element:{type:Object}}}constructor(){super(),this.element={}}render(){return Object(a.c)(et(),this.element.name,this.element.location,this.element.version,this.element.scripts,this.element.location)}});function rt(){var t=i()(["\n query($name: String!) {\n factory(name: $name) {\n name\n location\n scripts\n elements {\n id\n name\n location\n version\n scripts\n }\n }\n }\n "]);return rt=function(){return t},t}function it(){var t=i()(['
∈ ','
']);return it=function(){return t},t}function at(){var t=i()(['
🏭 ','

(',')
','
Create Element (coming soon)

create element by running the following command in your terminal 😄

wcf element ',"

"]);return at=function(){return t},t}function ot(){var t=i()(["loading..."]);return ot=function(){return t},t}customElements.define("wcfactory-ui-search",class extends a.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return Object(a.c)(nt(),this.placeholder)}});function ct(){var t=i()(["that path does not exist 😔"]);return ct=function(){return t},t}customElements.define("wcfactory-ui-factory",class extends a.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(a.c)(ot());if(this.factory){var e=new D.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),n=""!==this.elementFilter?e.search(this.elementFilter):this.factory.elements;return Object(a.c)(at(),this.factory.name,this.factory.location,t=>this.elementFilter=t.composedPath()[0].value,this.factory.elements.length,n.map(t=>Object(a.c)(it(),t.name===this.activeElement,this._activateItemHander,this._activateItemHander,t.name,t.name===this.activeElement,t.name,t.name===this.activeElement?"1":null,t,t.name===this.activeElement?"1":null)),this.factory.name,this._renderFactoryFlag(this.factory.location))}}_renderFactoryFlag(t){return"--factory=".concat(t)}fetchFactory(t){try{j.watchQuery({query:s()(rt()),variables:{name:t}}).subscribe(t=>{var e=t.data.factory;this.loading=!1,this.factory=e})}catch(t){}}_activateItemHander(t){var e=!1;"click"===t.type?e=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(e=!0)),e&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});function st(){var t=i()(['
']);return st=function(){return t},t}customElements.define("wcfactory-ui-404",class extends a.a{render(){return Object(a.c)(ct())}});function lt(){var t=i()(["loading..."]);return lt=function(){return t},t}function ut(){var t=i()(["
","
"]);return ut=function(){return t},t}function pt(){var t=i()(['\n \n
\n
']);return mt=function(){return t},t}function ht(){var t=i()([':host {\n display: flex;\n width: 100vw;\n max-width: 300px;\n position: relative;\n align-items: flex-end;\n flex: 1 1 auto;\n }\n #container {\n width: 100%;\n background: var(--wcfactory-ui-secondary-color);\n }\n :host([active]) {\n max-width: 400px;\n }\n #header {\n font-size: .8em;\n padding: 1em;\n cursor: pointer;\n }\n :host([active]) #header {\n border-top: 1px solid var(--wcfactory-ui-accent-color);\n }\n #container #body {\n display: none;\n }\n #container[active="true"] #body {\n display: block;\n }\n wcfactory-ui-terminal {\n --wcfactory-ui-terminal-bg: calc(var(--wcfactory-ui-secondary-color) * 0.9);\n }']);return ht=function(){return t},t}customElements.define("wcfactory-ui-active-script",class extends G.b{static get properties(){return{script:{type:Object}}}constructor(){super(),this.script={}}firstUpdated(){this.client=j,this.query=ft,this.variables={pid:this.script.pid}}shouldUpdate(t){return!0}render(){var t=this.data,e=this.loading;return this.error,t?Object(G.c)(pt(),this.script.script,this.script.location,t.operationOutput.map(t=>Object(G.c)(ut(),t.output))):e?Object(G.c)(lt()):void 0}});function yt(){var t=i()(['
']);return yt=function(){return t},t}function vt(){var t=i()([":host {\n display: flex;\n position: fixed;\n right: 0;\n bottom: 0;\n z-index: 100;\n }\n #tabs {\n display: flex;\n }\n #container {\n display: flex;\n }"]);return vt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tab",class extends a.a{static get properties(){return{active:{type:Boolean,reflect:!0}}}constructor(){super(),this.active=!1}static get styles(){return Object(a.b)(ht())}render(){return Object(a.c)(mt(),this.active,()=>this.active=!this.active)}});function bt(){var t=i()(['\n \n '," (",")\n \n \n "]);return bt=function(){return t},t}function gt(){var t=i()(["\n \n \n \n ","\n \n\n "]);return gt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tabs",class extends a.a{static get properties(){return{}}constructor(){super()}static get styles(){return Object(a.b)(vt())}render(){return Object(a.c)(yt())}});customElements.define("wcfactory-ui-active-scripts",class extends G.b{constructor(){super(),this.client=j,this.query=W}render(){var t=this.data;return this.error,this.loading,Object(G.c)(gt(),t.operations.map(t=>Object(G.c)(bt(),t.element.name,t.script,t)))}});n(364),n(392);function wt(){var t=i()(['
...Creating Factory
']);return wt=function(){return t},t}function xt(){var t=i()(['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""],['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""]);return xt=function(){return t},t}function Ot(){var t=i()(['']);return Ot=function(){return t},t}function kt(){var t=i()(["\n mutation($createFactoryInput: CreateFactoryInput!) {\n createFactory(createFactoryInput: $createFactoryInput) {\n ...FactoryInfo\n }\n }\n ","\n"]);return kt=function(){return t},t}customElements.define("wcfactory-ui-factory-create-form",class extends a.a{static get properties(){return{form:{type:Object},name:{type:String},humanName:{type:String},description:{type:String},orgGit:{type:String},orgNpm:{type:String},gitRepo:{type:String},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0}}}constructor(){super(),this.isValid=!1,this.name="",this.humanName="",this.description="",this.orgGit="",this.orgNpm="",this.gitRepo="",this.loading=!1}updated(t){""!==this.name&&""!==this.humanName&&""!==this.description&&""!==this.orgGit&&""!==this.orgNpm&&this._validateForm(),this.gitRepo="git:github.com/".concat(this.orgGit?this.orgGit:"","/").concat(this.name?this.name:"")}render(){return Object(a.c)(xt(),t=>this.name=t.detail.value,t=>this.humanName=t.detail.value,t=>this.description=t.detail.value,t=>this.orgGit=t.detail.value,t=>this.orgNpm=t.detail.value,this.humanName,this.gitRepo,this.orgNpm,this.orgNpm?"".concat(this.orgNpm):"",()=>this._submit(),!this.isValid,this.loading?Object(a.c)(wt()):"")}_submit(){this._validateForm()&&this.dispatchEvent(new CustomEvent("submit",{bubbles:!0,detail:{name:this.name,humanName:this.humanName,description:this.description,orgGit:this.orgGit,orgNpm:"@".concat(this.orgNpm),gitRepo:this.gitRepo}}))}_validateForm(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}});var jt=s()(kt(),L);customElements.define("wcfactory-ui-factory-create",class extends a.a{static get properties(){return{loading:{type:Boolean}}}render(){return Object(a.c)(Ot(),this._submitHandler,this.loading)}_submitHandler(t){this.loading=!0,j.mutate({mutation:jt,variables:{createFactoryInput:t.detail},update:(t,e)=>{var n=e.data.createFactory,r=(n.id,n.__typename,B),i=t.readQuery({query:r}),a=[...i.factories,n];t.writeQuery({query:r,data:Object.assign({},i,{factories:a})}),setTimeout(()=>{this.loading=!1,this.shadowRoot.querySelector("#return-home").click()},1e3)}})}});n(434),n(438),n(440),n(436);function Et(){var t=i()(["",""]);return Et=function(){return t},t}function St(){var t=i()(['','
']);return St=function(){return t},t}function _t(){var t=i()(['']);return _t=function(){return t},t}function qt(){var t=i()(["",'Add property➕']);return qt=function(){return t},t}customElements.define("wcfactory-ui-property-form",class extends a.a{static get properties(){return{value:{type:Object}}}constructor(){super(),this.value={},this.propertyTypes=[{value:"Boolean",description:"Boolean, true/false value"},{value:"Number",description:"Number, number like 54"},{value:"Object",description:"Object, complex item storing multiple types"},{value:"Array",description:"Array, list of types"}]}updated(t){for(var e of t)e.forEach(t=>{"value"===t&&this.dispatchEvent(new CustomEvent("value-changed",{detail:this.value}))})}render(){return Object(a.c)(St(),t=>this.value=Object.assign({},this.value,{name:t.detail.value}),t=>this.value=Object.assign({},this.value,{type:this.propertyTypes[t.detail.value].value}),this.propertyTypes.map(t=>Object(a.c)(Et(),t.description)),t=>this.value=Object.assign({},this.value,{default:t.detail.value}),t=>{console.log(t)})}});function Ft(){var t=i()(["\n query {\n elementCreateOptions {\n libraries {\n name\n description\n }\n }\n }\n "]);return Ft=function(){return t},t}function zt(){var t=i()(['
...Creating Element
']);return zt=function(){return t},t}function Nt(){var t=i()(['
name: ',"
description: ","
default: ","
observe: ","
"]);return Nt=function(){return t},t}function Ct(){var t=i()(['
Properties: ',"
"]);return Ct=function(){return t},t}function Rt(){var t=i()(["",""]);return Rt=function(){return t},t}function $t(){var t=i()(['',""]);return $t=function(){return t},t}function Lt(){var t=i()(['
🏭 ',' create element

Name

Description

Factory

Library

','

Use Sass (optional)

Properties (optional)

∈ ','

Description: ',"
Element Type: ","
",'
Create Element
',""],['
🏭 ',' create element

Name

Description

Factory

Library

','

Use Sass (optional)

Properties (optional)

∈ ','

Description: ',"
Element Type: ","
",'
Create Element
',""]);return Lt=function(){return t},t}customElements.define("wcfactory-ui-properties-form",class extends a.a{static get properties(){return{value:{type:Array}}}constructor(){super(),this.value=[{name:"",type:"",default:""}]}updated(t){for(var e of t)e.forEach(t=>{"value"===t&&this.dispatchEvent(new CustomEvent("value-changed",{detail:this.value}))})}render(){return Object(a.c)(qt(),this.value.map((t,e)=>Object(a.c)(_t(),t=>{var n=[...this.value];n[e]=t.detail,this.value=n})),t=>this.value=[...this.value,{}])}});function Bt(){var t=i()(['']);return Bt=function(){return t},t}customElements.define("wcfactory-ui-element-create-form",class extends a.a{static get properties(){return{form:{type:Object},formOptions:{type:Object},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0},factory:{type:String}}}constructor(){super(),this.title="",this.isValid=!1,this.loading=!1,this.form={name:""},this._getFormOptions()}updated(t){this.form.name&&this.form.description&&this.form.library&&this._validateForm()}render(){return Object(a.c)(Lt(),this.factory,t=>this.form=Object.assign({},this.form,{name:t.detail.value}),t=>this.form=Object.assign({},this.form,{description:t.detail.value}),this.factory,this.formOptions?Object(a.c)($t(),t=>this.form=Object.assign({},this.form,{library:this.formOptions.libraries[t.detail.value].name}),this.formOptions.libraries.map(t=>Object(a.c)(Rt(),t.description))):"",t=>this.form=Object.assign({},this.form,{useSass:t.detail.value}),t=>{this.form=Object.assign({},this.form,{propsList:t.detail})},this.form.name,this.form.description,this.form.library,this.form.propsList&&this.form.propsList.length>0?Object(a.c)(Ct(),this.form.propsList.map(t=>t.name||t.description||t.default?Object(a.c)(Nt(),t.name,t.type,t.default,t.observe?"yes":"no"):"none")):"",()=>this._submit(),!this.isValid,this.loading?Object(a.c)(zt()):"")}_submit(){this._validateForm()}_validateForm(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}_getFormOptions(){j.watchQuery({query:s()(Ft())}).subscribe(t=>{var e=t.data.elementCreateOptions;this.formOptions=e})}});function Qt(){var t=i()(["\n subscription {\n operationsOutput\n }\n"]);return Qt=function(){return t},t}customElements.define("wcfactory-ui-element-create",class extends a.a{static get properties(){return{loading:{type:Boolean},location:{type:Object}}}render(){return Object(a.c)(Bt(),this.location.params.factory)}});var Dt=s()(Qt()),Gt=()=>{j.subscribe({query:Dt}).subscribe(t=>{var e=t.data.operationsOutput,n=JSON.parse(e);try{var r=j.readQuery({query:ft,variables:{pid:n.operation}}),i=Object.assign({},{operation:{pid:n.operation,__typename:"Operation"}}),a=[...r.operationOutput,Object.assign({},n,i)];j.writeQuery({query:ft,variables:{pid:n.operation},data:Object.assign({},r,{operationOutput:a})})}catch(t){j.writeQuery({query:ft,variables:{pid:n.operation},data:Object.assign({},{data:{operationsOutput:[n]}})})}})};function It(){var t=i()(["\n subscription {\n factoryUpdate\n }\n"]);return It=function(){return t},t}var Ut=s()(It()),Ht=()=>{j.subscribe({query:Ut}).subscribe(t=>{var e=t.data.factoryUpdate,n=JSON.parse(e);try{var r="".concat(n.__typename,":").concat(n.id),i=L;j.writeFragment({fragment:i,id:r,data:n})}catch(t){console.log(t)}})};function Pt(){var t=i()(['

WCFactory

']);return Pt=function(){return t},t}customElements.define("wcfactory-ui",class extends a.a{firstUpdated(){this.routerSetup(),Gt(),Ht()}render(){return Object(a.c)(Pt())}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/create",component:"wcfactory-ui-factory-create"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"/factories/:factory/create-element",component:"wcfactory-ui-element-create"},{path:"(.*)",component:"wcfactory-ui-404"}])}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/14.dbb9846a407a3bf61501.js b/packages/ui/dist/14.dbb9846a407a3bf61501.js deleted file mode 100644 index c80989459..000000000 --- a/packages/ui/dist/14.dbb9846a407a3bf61501.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{654:function(t,n,e){"use strict";e.r(n);var r=e(268),i=e.n(r),a=e(284),o=e(504),c=e(282),s=e.n(c),l=e(641),u=e(639),p=e(638),d=e(526),f=e(319),m=e(510),h=e(292),y=e(640),v=e(525),b=new p.a({uri:"http://localhost:4000"}),g=new m.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),w=Object(f.d)(t=>{var n=t.query,e=Object(h.getMainDefinition)(n),r=e.kind,i=e.operation;return"OperationDefinition"===r&&"subscription"===i},g,b),x=new u.a,O=new v.a,k=Object(y.a)({cache:x}),j=new l.a({link:f.a.from([Object(d.a)(t=>{var n=t.graphQLErrors,e=t.networkError;n&&n.map(t=>{var n=t.message,e=t.locations,r=t.path;return console.log("[GraphQL error]: Message: ".concat(n,", Location: ").concat(e,", Path: ").concat(r))}),e&&console.log("[Network error]: ".concat(e))}),O,k,w]),cache:x,connectToDevTools:!0});e(631);function _(){var t=i()(['
']);return _=function(){return t},t}customElements.define("wcfactory-ui-button",class extends a.a{static get properties(){return{disabled:{type:Boolean,reflect:!0},cta:{type:Boolean,reflect:!0}}}constructor(){super(),this.disabled=!1,this.cta=!1}render(){return Object(a.c)(_(),this.disabled)}});e(637);function E(){var t=i()(["complete"]);return E=function(){return t},t}function q(){var t=i()(["",""]);return q=function(){return t},t}function S(){var t=i()([":host {\n --wcfactory-ui-factory-state-spinner-scale: 0.5;\n display: flex;\n }\n paper-spinner {\n transform: scale(var(--wcfactory-ui-factory-state-spinner-scale));\n --paper-spinner-stroke-width: 3px;\n }"]);return S=function(){return t},t}function z(){var t=i()(["",""]);return z=function(){return t},t}function F(){var t=i()(['']);return F=function(){return t},t}function C(){var t=i()(['

🏭','

',"
"]);return C=function(){return t},t}function N(){var t=i()(['
','
🏭 Create factory']);return N=function(){return t},t}function R(){var t=i()(["\n query {\n factories {\n ...FactoryInfo\n }\n }\n ","\n"]);return R=function(){return t},t}function $(){var t=i()(["\n fragment FactoryInfo on Factory {\n __typename\n id\n name\n location\n output\n }\n"]);return $=function(){return t},t}customElements.define("wcfactory-ui-factory-state",class extends a.a{static get properties(){return{output:{type:String}}}constructor(){super(),this.output=""}static get styles(){return Object(a.b)(S())}render(){return this.output?Object(a.c)(q(),this.output):Object(a.c)(E())}});var Q=s()($()),G=s()(R(),Q);customElements.define("wcfactory-ui-factories",class extends a.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{j.watchQuery({query:G}).subscribe(t=>{var n=t.data.factories;this.factories=n})}catch(t){}}render(){return Object(a.c)(N(),this.factories.map(t=>Object(a.c)(C(),t.output?"":"/factories/".concat(t.name),t.name,t.output?Object(a.c)(F(),t.output):Object(a.c)(z(),t.location))))}});var I=e(527),B=e.n(I),H=e(344);e(645);function L(){var t=i()(['\n \n\n \n :host {\n --wcfactory-ui-script-font-size: 12px;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n .script {\n cursor: pointer;\n padding: calc(var(--wcfactory-ui-script-font-size) * .6);\n }\n\n .script[active="true"] {\n background: black;\n }\n \n\n ']);return Y=function(){return t},t}function K(){var t=i()(["",""]);return K=function(){return t},t}customElements.define("wcfactory-ui-script",class extends H.b{static get properties(){return{script:{type:String},location:{type:String}}}constructor(){super(),this.client=j,this.query=W}render(){return this.data.operations.find(t=>t.script===this.script&&t.location===this.location)?Object(H.c)(P(),this.script,this.location,this.script):Object(H.c)(J(),this.script,this.location)}});function X(){var t=i()(['\n \n
:host {\n display: flex;\n background: var(--wcfactory-ui-secondary-color);\n padding: 10px;\n min-height: 100px;\n flex-direction: column;\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer\n }\n button:hover, button:focus {\n color: white;\n }\n #header {\n display: flex;\n align-items: center;\n }\n #header > * {\n margin: 0 .5em;\n }\n #title {\n flex: 1 1 auto;\n }\n #middle {\n flex: 1 1 auto;\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n margin: 10px 0;\n }\n #location {\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n }
']);return nt=function(){return t},t}customElements.define("wcfactory-ui-location",class extends H.a{static get properties(){return{location:{type:String}}}render(){return this.client=j,this.mutation=tt,this.variables={location:this.location},Object(H.c)(X(),this.mutate)}});function et(){var t=i()([' ']);return et=function(){return t},t}customElements.define("wcfactory-ui-element",class extends a.a{static get properties(){return{element:{type:Object}}}constructor(){super(),this.element={}}render(){return Object(a.c)(nt(),this.element.name,this.element.location,this.element.version,this.element.scripts,this.element.location)}});function rt(){var t=i()(["\n query($name: String!) {\n factory(name: $name) {\n name\n location\n scripts\n elements {\n id\n name\n location\n version\n scripts\n }\n }\n }\n "]);return rt=function(){return t},t}function it(){var t=i()(['
∈ ','
']);return it=function(){return t},t}function at(){var t=i()(['
🏭 ','

(',')
','
Create Element (coming soon)

create element by running the following command in your terminal 😄

wcf element ',"

"]);return at=function(){return t},t}function ot(){var t=i()(["loading..."]);return ot=function(){return t},t}customElements.define("wcfactory-ui-search",class extends a.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return Object(a.c)(et(),this.placeholder)}});function ct(){var t=i()(["that path does not exist 😔"]);return ct=function(){return t},t}customElements.define("wcfactory-ui-factory",class extends a.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(a.c)(ot());if(this.factory){var n=new B.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),e=""!==this.elementFilter?n.search(this.elementFilter):this.factory.elements;return Object(a.c)(at(),this.factory.name,this.factory.location,t=>this.elementFilter=t.composedPath()[0].value,this.factory.elements.length,e.map(t=>Object(a.c)(it(),t.name===this.activeElement,this._activateItemHander,this._activateItemHander,t.name,t.name===this.activeElement,t.name,t.name===this.activeElement?"1":null,t,t.name===this.activeElement?"1":null)),this.factory.name,this._renderFactoryFlag(this.factory.location))}}_renderFactoryFlag(t){return"--factory=".concat(t)}fetchFactory(t){try{j.watchQuery({query:s()(rt()),variables:{name:t}}).subscribe(t=>{var n=t.data.factory;this.loading=!1,this.factory=n})}catch(t){}}_activateItemHander(t){var n=!1;"click"===t.type?n=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(n=!0)),n&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});function st(){var t=i()(['
']);return st=function(){return t},t}customElements.define("wcfactory-ui-404",class extends a.a{render(){return Object(a.c)(ct())}});function lt(){var t=i()(["loading..."]);return lt=function(){return t},t}function ut(){var t=i()(["
","
"]);return ut=function(){return t},t}function pt(){var t=i()(['\n \n
\n
']);return mt=function(){return t},t}function ht(){var t=i()([':host {\n display: flex;\n width: 100vw;\n max-width: 300px;\n position: relative;\n align-items: flex-end;\n flex: 1 1 auto;\n }\n #container {\n width: 100%;\n background: var(--wcfactory-ui-secondary-color);\n }\n :host([active]) {\n max-width: 400px;\n }\n #header {\n font-size: .8em;\n padding: 1em;\n cursor: pointer;\n }\n :host([active]) #header {\n border-top: 1px solid var(--wcfactory-ui-accent-color);\n }\n #container #body {\n display: none;\n }\n #container[active="true"] #body {\n display: block;\n }\n wcfactory-ui-terminal {\n --wcfactory-ui-terminal-bg: calc(var(--wcfactory-ui-secondary-color) * 0.9);\n }']);return ht=function(){return t},t}customElements.define("wcfactory-ui-active-script",class extends H.b{static get properties(){return{script:{type:Object}}}constructor(){super(),this.script={}}firstUpdated(){this.client=j,this.query=ft,this.variables={pid:this.script.pid}}shouldUpdate(t){return!0}render(){var t=this.data,n=this.loading;return this.error,t?Object(H.c)(pt(),this.script.script,this.script.location,t.operationOutput.map(t=>Object(H.c)(ut(),t.output))):n?Object(H.c)(lt()):void 0}});function yt(){var t=i()(['
']);return yt=function(){return t},t}function vt(){var t=i()([":host {\n display: flex;\n position: fixed;\n right: 0;\n bottom: 0;\n z-index: 100;\n }\n #tabs {\n display: flex;\n }\n #container {\n display: flex;\n }"]);return vt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tab",class extends a.a{static get properties(){return{active:{type:Boolean,reflect:!0}}}constructor(){super(),this.active=!1}static get styles(){return Object(a.b)(ht())}render(){return Object(a.c)(mt(),this.active,()=>this.active=!this.active)}});function bt(){var t=i()(['\n \n '," (",")\n \n \n "]);return bt=function(){return t},t}function gt(){var t=i()(["\n \n \n \n ","\n \n\n "]);return gt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tabs",class extends a.a{static get properties(){return{}}constructor(){super()}static get styles(){return Object(a.b)(vt())}render(){return Object(a.c)(yt())}});customElements.define("wcfactory-ui-active-scripts",class extends H.b{constructor(){super(),this.client=j,this.query=W}render(){var t=this.data;return this.error,this.loading,Object(H.c)(gt(),t.operations.map(t=>Object(H.c)(bt(),t.element.name,t.script,t)))}});e(424),e(500);function wt(){var t=i()(['
...Creating Factory
']);return wt=function(){return t},t}function xt(){var t=i()(['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""],['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""]);return xt=function(){return t},t}function Ot(){var t=i()(['']);return Ot=function(){return t},t}function kt(){var t=i()(["\n mutation($createFactoryInput: CreateFactoryInput!) {\n createFactory(createFactoryInput: $createFactoryInput) {\n ...FactoryInfo\n }\n }\n ","\n"]);return kt=function(){return t},t}customElements.define("wcfactory-ui-factory-create-form",class extends a.a{static get properties(){return{form:{type:Object},name:{type:String},humanName:{type:String},description:{type:String},orgGit:{type:String},orgNpm:{type:String},gitRepo:{type:String},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0}}}constructor(){super(),this.isValid=!1,this.name="",this.humanName="",this.description="",this.orgGit="",this.orgNpm="",this.gitRepo="",this.loading=!1}updated(t){""!==this.name&&""!==this.humanName&&""!==this.description&&""!==this.orgGit&&""!==this.orgNpm&&this._validateForm(),this.gitRepo="git:github.com/".concat(this.orgGit?this.orgGit:"","/").concat(this.name?this.name:"")}render(){return Object(a.c)(xt(),t=>this.name=t.detail.value,t=>this.humanName=t.detail.value,t=>this.description=t.detail.value,t=>this.orgGit=t.detail.value,t=>this.orgNpm=t.detail.value,this.humanName,this.gitRepo,this.orgNpm,this.orgNpm?"".concat(this.orgNpm):"",()=>this._submit(),!this.isValid,this.loading?Object(a.c)(wt()):"")}_submit(){this._validateForm()&&this.dispatchEvent(new CustomEvent("submit",{bubbles:!0,detail:{name:this.name,humanName:this.humanName,description:this.description,orgGit:this.orgGit,orgNpm:"@".concat(this.orgNpm),gitRepo:this.gitRepo}}))}_validateForm(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}});var jt=s()(kt(),Q);customElements.define("wcfactory-ui-factory-create",class extends a.a{static get properties(){return{loading:{type:Boolean}}}render(){return Object(a.c)(Ot(),this._submitHandler,this.loading)}_submitHandler(t){this.loading=!0,j.mutate({mutation:jt,variables:{createFactoryInput:t.detail},update:(t,n)=>{var e=n.data.createFactory,r=(e.id,e.__typename,G),i=t.readQuery({query:r}),a=[...i.factories,e];t.writeQuery({query:r,data:Object.assign({},i,{factories:a})}),setTimeout(()=>{this.loading=!1,this.shadowRoot.querySelector("#return-home").click()},1e3)}})}});e(626),e(636),e(629);function _t(){var t=i()(["\n query {\n elementCreateOptions {\n libraries {\n name\n description\n }\n }\n }\n "]);return _t=function(){return t},t}function Et(){var t=i()(['
...Creating Element
']);return Et=function(){return t},t}function qt(){var t=i()(["",""]);return qt=function(){return t},t}function St(){var t=i()(['',""]);return St=function(){return t},t}function zt(){var t=i()(['
🏭 ',' create element
','

∈ ','

Description: ',"
Element Type: ",'
Create Element
',""],['
🏭 ',' create element
','

∈ ','

Description: ',"
Element Type: ",'
Create Element
',""]);return zt=function(){return t},t}function Ft(){var t=i()(['']);return Ft=function(){return t},t}customElements.define("wcfactory-ui-element-create-form",class extends a.a{static get properties(){return{form:{type:Object},formOptions:{type:Object},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0},factory:{type:String}}}constructor(){super(),this.title="",this.isValid=!1,this.loading=!1,this.form={name:""},this._getFormOptions()}updated(t){this.form.name&&this.form.description&&this.form.library&&this._validateForm()}render(){return Object(a.c)(zt(),this.factory,t=>this.form=Object.assign({},this.form,{name:t.detail.value}),t=>this.form=Object.assign({},this.form,{description:t.detail.value}),this.factory,this.formOptions?Object(a.c)(St(),t=>this.form=Object.assign({},this.form,{library:this.formOptions.libraries[t.detail.value].name}),this.formOptions.libraries.map(t=>Object(a.c)(qt(),t.description))):"",this.form.name,this.form.description,this.form.library,()=>this._submit(),!this.isValid,this.loading?Object(a.c)(Et()):"")}_submit(){this._validateForm()}_validateForm(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}_getFormOptions(){j.watchQuery({query:s()(_t())}).subscribe(t=>{var n=t.data.elementCreateOptions;this.formOptions=n})}});function Ct(){var t=i()(["\n subscription {\n operationsOutput\n }\n"]);return Ct=function(){return t},t}customElements.define("wcfactory-ui-element-create",class extends a.a{static get properties(){return{loading:{type:Boolean},location:{type:Object}}}render(){return Object(a.c)(Ft(),this.location.params.factory)}});var Nt=s()(Ct()),Rt=()=>{j.subscribe({query:Nt}).subscribe(t=>{var n=t.data.operationsOutput,e=JSON.parse(n);try{var r=j.readQuery({query:ft,variables:{pid:e.operation}}),i=Object.assign({},{operation:{pid:e.operation,__typename:"Operation"}}),a=[...r.operationOutput,Object.assign({},e,i)];j.writeQuery({query:ft,variables:{pid:e.operation},data:Object.assign({},r,{operationOutput:a})})}catch(t){j.writeQuery({query:ft,variables:{pid:e.operation},data:Object.assign({},{data:{operationsOutput:[e]}})})}})};function $t(){var t=i()(["\n subscription {\n factoryUpdate\n }\n"]);return $t=function(){return t},t}var Qt=s()($t()),Gt=()=>{j.subscribe({query:Qt}).subscribe(t=>{var n=t.data.factoryUpdate,e=JSON.parse(n);try{var r="".concat(e.__typename,":").concat(e.id),i=Q;j.writeFragment({fragment:i,id:r,data:e})}catch(t){console.log(t)}})};function It(){var t=i()(['

WCFactory

']);return It=function(){return t},t}customElements.define("wcfactory-ui",class extends a.a{firstUpdated(){this.routerSetup(),Rt(),Gt()}render(){return Object(a.c)(It())}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/create",component:"wcfactory-ui-factory-create"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"/factories/:factory/create-element",component:"wcfactory-ui-element-create"},{path:"(.*)",component:"wcfactory-ui-404"}])}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/14.fc1d51ef6251f8097d3c.js b/packages/ui/dist/14.fc1d51ef6251f8097d3c.js deleted file mode 100644 index a3bd91066..000000000 --- a/packages/ui/dist/14.fc1d51ef6251f8097d3c.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{654:function(t,n,e){"use strict";e.r(n);var i=e(268),r=e.n(i),a=e(284),o=e(504),c=e(282),s=e.n(c),l=e(641),u=e(639),p=e(638),d=e(526),f=e(319),m=e(510),h=e(292),y=e(640),v=e(525),b=new p.a({uri:"http://localhost:4000"}),g=new m.a({uri:"ws://localhost:4000/graphql",options:{reconnect:!0}}),w=Object(f.d)(t=>{var n=t.query,e=Object(h.getMainDefinition)(n),i=e.kind,r=e.operation;return"OperationDefinition"===i&&"subscription"===r},g,b),x=new u.a,O=new v.a,k=Object(y.a)({cache:x}),j=new l.a({link:f.a.from([Object(d.a)(t=>{var n=t.graphQLErrors,e=t.networkError;n&&n.map(t=>{var n=t.message,e=t.locations,i=t.path;return console.log("[GraphQL error]: Message: ".concat(n,", Location: ").concat(e,", Path: ").concat(i))}),e&&console.log("[Network error]: ".concat(e))}),O,k,w]),cache:x,connectToDevTools:!0});e(631);function _(){var t=r()(['
']);return _=function(){return t},t}customElements.define("wcfactory-ui-button",class extends a.a{static get properties(){return{disabled:{type:Boolean,reflect:!0},cta:{type:Boolean,reflect:!0}}}constructor(){super(),this.disabled=!1,this.cta=!1}render(){return Object(a.c)(_(),this.disabled)}});e(637);function E(){var t=r()(["complete"]);return E=function(){return t},t}function q(){var t=r()(["",""]);return q=function(){return t},t}function S(){var t=r()([":host {\n --wcfactory-ui-factory-state-spinner-scale: 0.5;\n display: flex;\n }\n paper-spinner {\n transform: scale(var(--wcfactory-ui-factory-state-spinner-scale));\n --paper-spinner-stroke-width: 3px;\n }"]);return S=function(){return t},t}function z(){var t=r()(["",""]);return z=function(){return t},t}function F(){var t=r()(['']);return F=function(){return t},t}function C(){var t=r()(['

🏭','

',"
"]);return C=function(){return t},t}function N(){var t=r()(['
','
🏭 Create factory']);return N=function(){return t},t}function R(){var t=r()(["\n query {\n factories {\n ...FactoryInfo\n }\n }\n ","\n"]);return R=function(){return t},t}function $(){var t=r()(["\n fragment FactoryInfo on Factory {\n __typename\n id\n name\n location\n output\n }\n"]);return $=function(){return t},t}customElements.define("wcfactory-ui-factory-state",class extends a.a{static get properties(){return{output:{type:String}}}constructor(){super(),this.output=""}static get styles(){return Object(a.b)(S())}render(){return this.output?Object(a.c)(q(),this.output):Object(a.c)(E())}});var Q=s()($()),G=s()(R(),Q);customElements.define("wcfactory-ui-factories",class extends a.a{static get properties(){return{factories:{type:Array}}}constructor(){super(),this.factories=[];try{j.watchQuery({query:G}).subscribe(t=>{var n=t.data.factories;this.factories=n})}catch(t){}}render(){return Object(a.c)(N(),this.factories.map(t=>Object(a.c)(C(),t.output?"":"/factories/".concat(t.name),t.name,t.output?Object(a.c)(F(),t.output):Object(a.c)(z(),t.location))))}});var I=e(527),B=e.n(I),H=e(344);e(645);function L(){var t=r()(['\n \n\n \n :host {\n --wcfactory-ui-script-font-size: 12px;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n font-size: var(--wcfactory-ui-script-font-size);\n }\n .script {\n cursor: pointer;\n padding: calc(var(--wcfactory-ui-script-font-size) * .6);\n }\n\n .script[active="true"] {\n background: black;\n }\n \n\n ']);return Y=function(){return t},t}function K(){var t=r()(["",""]);return K=function(){return t},t}customElements.define("wcfactory-ui-script",class extends H.b{static get properties(){return{script:{type:String},location:{type:String}}}constructor(){super(),this.client=j,this.query=W}render(){return this.data.operations.find(t=>t.script===this.script&&t.location===this.location)?Object(H.c)(P(),this.script,this.location,this.script):Object(H.c)(J(),this.script,this.location)}});function X(){var t=r()(['\n \n
:host {\n display: flex;\n background: var(--wcfactory-ui-secondary-color);\n padding: 10px;\n min-height: 100px;\n flex-direction: column;\n }\n button {\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer\n }\n button:hover, button:focus {\n color: white;\n }\n #header {\n display: flex;\n align-items: center;\n }\n #header > * {\n margin: 0 .5em;\n }\n #title {\n flex: 1 1 auto;\n }\n #middle {\n flex: 1 1 auto;\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n margin: 10px 0;\n }\n #location {\n font-size: 14px;\n opacity: 0.7;\n font-family: inherit;\n border: none;\n margin: 0;\n padding: 0;\n background: none;\n color: inherit;\n cursor: pointer;\n }
']);return nt=function(){return t},t}customElements.define("wcfactory-ui-location",class extends H.a{static get properties(){return{location:{type:String}}}render(){return this.client=j,this.mutation=tt,this.variables={location:this.location},Object(H.c)(X(),this.mutate)}});function et(){var t=r()([' ']);return et=function(){return t},t}customElements.define("wcfactory-ui-element",class extends a.a{static get properties(){return{element:{type:Object}}}constructor(){super(),this.element={}}render(){return Object(a.c)(nt(),this.element.name,this.element.location,this.element.version,this.element.scripts,this.element.location)}});function it(){var t=r()(["\n query($name: String!) {\n factory(name: $name) {\n name\n location\n scripts\n elements {\n id\n name\n location\n version\n scripts\n }\n }\n }\n "]);return it=function(){return t},t}function rt(){var t=r()(['
∈ ','
']);return rt=function(){return t},t}function at(){var t=r()(['
🏭 ','

(',')
','
Create Element (coming soon)

create element by running the following command in your terminal 😄

wcf element ',"

"]);return at=function(){return t},t}function ot(){var t=r()(["loading..."]);return ot=function(){return t},t}customElements.define("wcfactory-ui-search",class extends a.a{static get properties(){return{placeholder:{type:String}}}constructor(){super(),this.placeholder=""}render(){return Object(a.c)(et(),this.placeholder)}});function ct(){var t=r()(["that path does not exist 😔"]);return ct=function(){return t},t}customElements.define("wcfactory-ui-factory",class extends a.a{static get properties(){return{location:{type:Object},loading:{type:Boolean},factory:{type:Object},activeElement:{type:String},elementFilter:{type:String}}}constructor(){super(),this.factory=null,this.loading=!0,this.activeElement=null,this.elementFilter=""}render(){var t=this.location.params.factory;if(this.fetchFactory(t),this.loading)return Object(a.c)(ot());if(this.factory){var n=new B.a(this.factory.elements,{keys:["name"],minMatchCharLength:2}),e=""!==this.elementFilter?n.search(this.elementFilter):this.factory.elements;return Object(a.c)(at(),this.factory.name,this.factory.location,t=>this.elementFilter=t.composedPath()[0].value,this.factory.elements.length,e.map(t=>Object(a.c)(rt(),t.name===this.activeElement,this._activateItemHander,this._activateItemHander,t.name,t.name===this.activeElement,t.name,t.name===this.activeElement?"1":null,t,t.name===this.activeElement?"1":null)),this.factory.name,this._renderFactoryFlag(this.factory.location))}}_renderFactoryFlag(t){return"--factory=".concat(t)}fetchFactory(t){try{j.watchQuery({query:s()(it()),variables:{name:t}}).subscribe(t=>{var n=t.data.factory;this.loading=!1,this.factory=n})}catch(t){}}_activateItemHander(t){var n=!1;"click"===t.type?n=!0:void 0!==t.keyCode&&(13!==t.keyCode&&32!==t.keyCode||(n=!0)),n&&(this.activeElement=t.target.dataset.name,t.target.nextSibling.focus())}});function st(){var t=r()(['
']);return st=function(){return t},t}customElements.define("wcfactory-ui-404",class extends a.a{render(){return Object(a.c)(ct())}});function lt(){var t=r()(["loading..."]);return lt=function(){return t},t}function ut(){var t=r()(["
","
"]);return ut=function(){return t},t}function pt(){var t=r()(['\n \n
\n
']);return mt=function(){return t},t}function ht(){var t=r()([':host {\n display: flex;\n width: 100vw;\n max-width: 300px;\n position: relative;\n align-items: flex-end;\n flex: 1 1 auto;\n }\n #container {\n width: 100%;\n background: var(--wcfactory-ui-secondary-color);\n }\n :host([active]) {\n max-width: 400px;\n }\n #header {\n font-size: .8em;\n padding: 1em;\n cursor: pointer;\n }\n :host([active]) #header {\n border-top: 1px solid var(--wcfactory-ui-accent-color);\n }\n #container #body {\n display: none;\n }\n #container[active="true"] #body {\n display: block;\n }\n wcfactory-ui-terminal {\n --wcfactory-ui-terminal-bg: calc(var(--wcfactory-ui-secondary-color) * 0.9);\n }']);return ht=function(){return t},t}customElements.define("wcfactory-ui-active-script",class extends H.b{static get properties(){return{script:{type:Object}}}constructor(){super(),this.script={}}firstUpdated(){this.client=j,this.query=ft,this.variables={pid:this.script.pid}}shouldUpdate(t){return!0}render(){var t=this.data,n=this.loading;return this.error,t?Object(H.c)(pt(),this.script.script,this.script.location,t.operationOutput.map(t=>Object(H.c)(ut(),t.output))):n?Object(H.c)(lt()):void 0}});function yt(){var t=r()(['
']);return yt=function(){return t},t}function vt(){var t=r()([":host {\n display: flex;\n position: fixed;\n right: 0;\n bottom: 0;\n z-index: 100;\n }\n #tabs {\n display: flex;\n }\n #container {\n display: flex;\n }"]);return vt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tab",class extends a.a{static get properties(){return{active:{type:Boolean,reflect:!0}}}constructor(){super(),this.active=!1}static get styles(){return Object(a.b)(ht())}render(){return Object(a.c)(mt(),this.active,()=>this.active=!this.active)}});function bt(){var t=r()(['\n \n '," (",")\n \n \n "]);return bt=function(){return t},t}function gt(){var t=r()(["\n \n \n \n ","\n \n\n "]);return gt=function(){return t},t}customElements.define("wcfactory-ui-desktop-tabs",class extends a.a{static get properties(){return{}}constructor(){super()}static get styles(){return Object(a.b)(vt())}render(){return Object(a.c)(yt())}});customElements.define("wcfactory-ui-active-scripts",class extends H.b{constructor(){super(),this.client=j,this.query=W}render(){var t=this.data;return this.error,this.loading,Object(H.c)(gt(),t.operations.map(t=>Object(H.c)(bt(),t.element.name,t.script,t)))}});e(424),e(500);function wt(){var t=r()(['
...Creating Factory
']);return wt=function(){return t},t}function xt(){var t=r()(['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""],['

🏭 ','

Git Repo:
','
NPM Repo:
@','
Create Factory
',""]);return xt=function(){return t},t}function Ot(){var t=r()(['']);return Ot=function(){return t},t}function kt(){var t=r()(["\n mutation($createFactoryInput: CreateFactoryInput!) {\n createFactory(createFactoryInput: $createFactoryInput) {\n ...FactoryInfo\n }\n }\n ","\n"]);return kt=function(){return t},t}customElements.define("wcfactory-ui-factory-create-form",class extends a.a{static get properties(){return{form:{type:Object},name:{type:String},humanName:{type:String},description:{type:String},orgGit:{type:String},orgNpm:{type:String},gitRepo:{type:String},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0}}}constructor(){super(),this.isValid=!1,this.name="",this.humanName="",this.description="",this.orgGit="",this.orgNpm="",this.gitRepo="",this.loading=!1}updated(t){""!==this.name&&""!==this.humanName&&""!==this.description&&""!==this.orgGit&&""!==this.orgNpm&&this._validateForm(),this.gitRepo="git:github.com/".concat(this.orgGit?this.orgGit:"","/").concat(this.name?this.name:"")}render(){return Object(a.c)(xt(),t=>this.name=t.detail.value,t=>this.humanName=t.detail.value,t=>this.description=t.detail.value,t=>this.orgGit=t.detail.value,t=>this.orgNpm=t.detail.value,this.humanName,this.gitRepo,this.orgNpm,this.orgNpm?"".concat(this.orgNpm):"",()=>this._submit(),!this.isValid,this.loading?Object(a.c)(wt()):"")}_submit(){this._validateForm()&&this.dispatchEvent(new CustomEvent("submit",{bubbles:!0,detail:{name:this.name,humanName:this.humanName,description:this.description,orgGit:this.orgGit,orgNpm:"@".concat(this.orgNpm),gitRepo:this.gitRepo}}))}_validateForm(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}});var jt=s()(kt(),Q);customElements.define("wcfactory-ui-factory-create",class extends a.a{static get properties(){return{loading:{type:Boolean}}}render(){return Object(a.c)(Ot(),this._submitHandler,this.loading)}_submitHandler(t){this.loading=!0,j.mutate({mutation:jt,variables:{createFactoryInput:t.detail},update:(t,n)=>{var e=n.data.createFactory,i=(e.id,e.__typename,G),r=t.readQuery({query:i}),a=[...r.factories,e];t.writeQuery({query:i,data:Object.assign({},r,{factories:a})}),setTimeout(()=>{this.loading=!1,this.shadowRoot.querySelector("#return-home").click()},1e3)}})}});e(626),e(636),e(629);function _t(){var t=r()(["\n query {\n elementCreateOptions {\n libraries {\n name\n description\n }\n }\n }\n "]);return _t=function(){return t},t}function Et(){var t=r()(['
...Creating Element
']);return Et=function(){return t},t}function qt(){var t=r()(["",""]);return qt=function(){return t},t}function St(){var t=r()(['',""]);return St=function(){return t},t}function zt(){var t=r()(['
🏭 ',' create element
','

∈ ','

Description: ',"
Element Type: ",'
Create Element
',""],['
🏭 ',' create element
','

∈ ','

Description: ',"
Element Type: ",'
Create Element
',""]);return zt=function(){return t},t}function Ft(){var t=r()(['']);return Ft=function(){return t},t}customElements.define("wcfactory-ui-element-create-form",class extends a.a{static get properties(){return{form:{type:Object},formOptions:{type:Object},isValid:{type:Boolean},loading:{type:Boolean,reflect:!0},factory:{type:String}}}constructor(){super(),this.title="",this.isValid=!1,this.loading=!1,this.form={name:""},this._getFormOptions()}updated(t){this.form.name&&this.form.description&&this.form.library&&this._validateForm()}render(){return Object(a.c)(zt(),this.factory,t=>this.form=Object.assign({},this.form,{name:t.detail.value}),t=>this.form=Object.assign({},this.form,{description:t.detail.value}),this.factory,this.formOptions?Object(a.c)(St(),t=>this.form=Object.assign({},this.form,{library:this.formOptions.libraries[t.detail.value].name}),this.formOptions.libraries.map(t=>Object(a.c)(qt(),t.description))):"",this.form.name,this.form.description,this.form.library,()=>this._submit(),!this.isValid,this.loading?Object(a.c)(Et()):"")}_submit(){this._validateForm()}_validateForm(){var t=this.shadowRoot.querySelector("#form").validate();return this.isValid=t,t}_getFormOptions(){j.watchQuery({query:s()(_t())}).subscribe(t=>{var n=t.data.elementCreateOptions;this.formOptions=n})}});function Ct(){var t=r()(["\n subscription {\n operationsOutput\n }\n"]);return Ct=function(){return t},t}customElements.define("wcfactory-ui-element-create",class extends a.a{static get properties(){return{loading:{type:Boolean},location:{type:Object}}}render(){return Object(a.c)(Ft(),this.location.params.factory)}});var Nt=s()(Ct()),Rt=()=>{j.subscribe({query:Nt}).subscribe(t=>{var n=t.data.operationsOutput,e=JSON.parse(n);try{var i=j.readQuery({query:ft,variables:{pid:e.operation}}),r=Object.assign({},{operation:{pid:e.operation,__typename:"Operation"}}),a=[...i.operationOutput,Object.assign({},e,r)];j.writeQuery({query:ft,variables:{pid:e.operation},data:Object.assign({},i,{operationOutput:a})})}catch(t){j.writeQuery({query:ft,variables:{pid:e.operation},data:Object.assign({},{data:{operationsOutput:[e]}})})}})};function $t(){var t=r()(["\n subscription {\n factoryUpdate\n }\n"]);return $t=function(){return t},t}var Qt=s()($t()),Gt=()=>{j.subscribe({query:Qt}).subscribe(t=>{var n=t.data.factoryUpdate,e=JSON.parse(n);try{var i="".concat(e.__typename,":").concat(e.id),r=Q;j.writeFragment({fragment:r,id:i,data:e})}catch(t){console.log(t)}})};function It(){var t=r()(['

WCFactory

']);return It=function(){return t},t}customElements.define("wcfactory-ui",class extends a.a{firstUpdated(){this.routerSetup(),Rt(),Gt()}render(){return Object(a.c)(It())}routerSetup(){var t=this.shadowRoot.getElementById("router-outlet");new o.a(t).setRoutes([{path:"/",component:"wcfactory-ui-factories"},{path:"/factories",component:"wcfactory-ui-factory"},{path:"/factories/create",component:"wcfactory-ui-factory-create"},{path:"/factories/:factory",component:"wcfactory-ui-factory"},{path:"/factories/:factory/create-element",component:"wcfactory-ui-element-create"},{path:"(.*)",component:"wcfactory-ui-404"}])}})}}]); \ No newline at end of file diff --git a/packages/ui/dist/2.04d1a94b8612306a4fba.js b/packages/ui/dist/2.04d1a94b8612306a4fba.js deleted file mode 100644 index 1f28272e8..000000000 --- a/packages/ui/dist/2.04d1a94b8612306a4fba.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.04d1a94b8612306a4fba.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{493:function(e,t,n){"use strict";var r=n(261),o=n.n(r),i=n(262),s=n.n(i),a=function(){function e(){o()(this,e),this.root=null,this.publicRoot=null,this.dirty=!1,this.observer=null,this.assignedNodes=null,this.assignedSlot=null,this._previouslyAssignedNodes=null,this._prevAssignedSlot=null,this.flattenedNodes=null,this.ownerShadyRoot=void 0,this.parentNode=void 0,this.firstChild=void 0,this.lastChild=void 0,this.previousSibling=void 0,this.nextSibling=void 0,this.childNodes=void 0,this.__outsideAccessors=!1,this.__insideAccessors=!1,this.__onCallbackListeners={}}return s()(e,[{key:"toJSON",value:function(){return{}}}]),e}();function l(e){return e.__shady||(e.__shady=new a),e.__shady}function c(e){return e&&e.__shady}var u=window.ShadyDOM||{};u.hasNativeShadowDOM=Boolean(Element.prototype.attachShadow&&Node.prototype.getRootNode);var d=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");u.hasDescriptors=Boolean(d&&d.configurable&&d.get),u.inUse=u.force||!u.hasNativeShadowDOM,u.noPatch=u.noPatch||!1,u.preferPerformance=u.preferPerformance;var h=function(e){var t=c(e);return t&&void 0!==t.firstChild},p=function(e){return Boolean("ShadyRoot"===e._localName)},f=function(e){var t=c(e),n=t&&t.root;return n&&n._hasInsertionPoint()},m=Element.prototype,v=m.matches||m.matchesSelector||m.mozMatchesSelector||m.msMatchesSelector||m.oMatchesSelector||m.webkitMatchesSelector,y=function(e,t){return v.call(e,t)},_=document.createTextNode(""),g=0,E=[];new MutationObserver(function(){for(;E.length;)try{E.shift()()}catch(e){throw _.textContent=g++,e}}).observe(_,{characterData:!0});var N,S=function(e){E.push(e),_.textContent=g++},b=Boolean(document.contains),C=function(e,t){for(;t;){if(t==e)return!0;t=t[O+"parentNode"]}return!1},w=function(e){return e.getAttribute("id")||e.getAttribute("name")},T=function(e){return"length"!==e&&isNaN(e)},k=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=w(n);r&&T(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(T(t)&&e[t])return e[t];var n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var a=i.value;if(w(a)==t)return a}}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return null},e},D="__shady_native_",O="__shady_",M=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(r&&r.indexOf(o)>=0)){i.configurable=!0;var s=n+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},A=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,function(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}),P=[];function x(e){N||(N=!0,S(L)),P.push(e)}function L(){N=!1;for(var e=Boolean(P.length);P.length;)P.shift()();return e}L.list=P;var R=function(){function e(){o()(this,e),this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}return s()(e,[{key:"schedule",value:function(){var e=this;this._scheduled||(this._scheduled=!0,S(function(){e.flush()}))}},{key:"flush",value:function(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}},{key:"takeRecords",value:function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}]),e}();var H=/[&\u00A0"]/g,I=/[&\u00A0<>]/g;function j(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function F(e){return e.replace(H,j)}function B(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&q[t.localName]?l:function(e){return e.replace(I,j)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function V(e,t){"template"===e.localName&&(e=e.content);for(var n,r="",o=t?t(e):e.childNodes,i=0,s=o.length;i1&&void 0!==arguments[1]?arguments[1]:[],n=0;n-1)return n}function Se(e){var t=function(t,n){var r=new e(t,n);return r.__composed=n&&Boolean(n.composed),r};return t.__proto__=e,t.prototype=e.prototype,t}var be={focus:!0,blur:!0};function Ce(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function we(e,t,n){var r=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n];if(r)for(var o,i=0;o=r[i];i++){if(Ce(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Te(e){var t,n,r=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=r.length-1;o>=0;o--)if(we(e,t=r[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var i=0;i-1)return}else t[me]=[];var c=function(o){var s;if(i&&this[O+"removeEventListener"](e,t,n),o.__target||Le(o),a!==this&&(s=Object.getOwnPropertyDescriptor(o,"currentTarget"),Object.defineProperty(o,"currentTarget",{get:function(){return a},configurable:!0})),o.__previousCurrentTarget=o.currentTarget,(!p(a)||-1!=o.composedPath().indexOf(a))&&(o.composed||o.composedPath().indexOf(a)>-1)){if(Ce(o)&&o.target===o.relatedTarget)return void(o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation());if(!(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a||a instanceof Window))return;var l="function"===r?t.call(a,o):t.handleEvent&&t.handleEvent(o);return a!==this&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget),l}};t[me].push({node:a,type:e,capture:o,once:i,passive:s,wrapperFn:c}),be[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(c)):this[D+"addEventListener"](e,c,n)}}}function Me(e,t,n){if(t){if(_e[e])return this[D+"removeEventListener"](e,t,n);var r,o,i;n&&"object"===fe()(n)?(r=Boolean(n.capture),o=Boolean(n.once),i=Boolean(n.passive)):(r=Boolean(n),o=!1,i=!1);var s=n&&n.__shadyTarget||this,a=void 0,l=function(e){var t=null;try{t=e[me]}catch(e){}return t}(t);if(l){var c=De(l,s,e,r,o,i);c>-1&&(a=l.splice(c,1)[0].wrapperFn,l.length||(t[me]=void 0))}if(this[D+"removeEventListener"](e,a||t,n),a&&be[e]&&this.__handlers&&this.__handlers[e]){var u=this.__handlers[e][r?"capture":"bubble"],d=u.indexOf(a);d>-1&&u.splice(d,1)}}}var Ae=A({get composed(){return void 0===this.__composed&&(ve?this.__composed="focusin"===this.type||"focusout"===this.type||ve(this):!1!==this.isTrusted&&(this.__composed=ye[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Ee(this.__target,this.composed)),this.__composedPath},get target(){return Ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Ee(this.__relatedTarget,!0)),Ne(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),Pe="__shady_patchedProto",xe="__shady_sourceProto";function Le(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,u.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,Pe)){var n=Object.create(t);n[xe]=t,M(n,Ae),t[Pe]=n}e.__proto__=t[Pe]}else M(e,Ae)}var Re=Se(Event),He=Se(CustomEvent),Ie=Se(MouseEvent);var je=Object.getOwnPropertyNames(Document.prototype).filter(function(e){return"on"===e.substring(0,2)}),Fe=n(295),Be=n.n(Fe);function Ue(e,t,n){return{index:e,removed:t,addedCount:n}}var qe=0,We=1,Ve=2,Ge=3;function ze(e,t,n,r,o,i){var s,a=0,l=0,c=Math.min(n-t,i-o);if(0==t&&0==o&&(a=function(e,t,n){for(var r=0;r0||n>0;)if(0!=t)if(0!=n){var i=e[t-1][n-1],s=e[t-1][n],a=e[t][n-1],l=void 0;(l=s0||this.nodeType===Node.ELEMENT_NODE)&&this[O+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==nt&&e.ownerDocument!==nt)return this[D+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=c(t),r=n&&n.parentNode;if(void 0!==r&&r!==this||void 0===r&&t[D+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var o,i=[],s=Pt(this),a=s?s.host.localName:et(this),u=e[O+"parentNode"];u&&(o=et(e),u[O+"removeChild"](e,Boolean(s)||!Pt(e)));var d=!0,m=!(rt&&void 0!==e.__noInsertionPoint||function e(t,n){var r=Qe();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[O+"childNodes"],s=0;o&&s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==nt)return this[D+"removeChild"](e);if(e[O+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var r=Pt(e),o=r&&r._removeContainedSlots(e),i=c(this);if(h(this)&&(!function(e,t){var n=l(e),r=l(t);e===r.firstChild&&(r.firstChild=n.nextSibling),e===r.lastChild&&(r.lastChild=n.previousSibling);var o=n.previousSibling,i=n.nextSibling;o&&(l(o).nextSibling=i),i&&(l(i).previousSibling=o),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==r.childNodes&&(r.childNodes=null)}(e,this),f(this)&&(i.root._asyncRender(),t=!0)),Qe()&&!n&&r){var s=et(e);tt(e,function(e){Ye(e,s)})}if(at(e),r){var a=this&&"slot"===this.localName;a&&(t=!0),(o||a)&&r._asyncRender()}if(!t){var u=p(this)?this.host:this;(!i.root&&"slot"!==e.localName||u===e[D+"parentNode"])&&u[D+"removeChild"](e)}return lt(this,null,e),e},replaceChild:function(e,t){return this[O+"insertBefore"](e,t),this[O+"removeChild"](t),e},cloneNode:function(e){if("template"==this.localName)return this[D+"cloneNode"](e);var t=this[D+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var n,r=this[O+"childNodes"],o=0;o0?e:void 0}}},{key:"_render",value:function(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}},{key:"_flushInitial",value:function(){!this._hasRendered&&this._renderPending&&this._render()}},{key:"_renderSelf",value:function(){var e=Tt;if(Tt=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!u.preferPerformance&&!this._hasRendered)for(var t=this.host[O+"childNodes"],n=0,r=t.length;ni.assignedNodes.length&&(i.dirty=!0)}i.dirty&&(i.dirty=!1,this._fireSlotChange(o))}}},{key:"_distributeNodeToSlot",value:function(e,t){var n=l(e),r=n._prevAssignedSlot;n._prevAssignedSlot=null;var o=t;if(!o){var i=e[O+"slot"]||"__catchall",s=this._slotMap[i];o=s&&s[0]}o?(l(o).assignedNodes.push(e),n.assignedSlot=o):n.assignedSlot=void 0;r!==n.assignedSlot&&n.assignedSlot&&(l(n.assignedSlot).dirty=!0)}},{key:"_clearSlotAssignedNodes",value:function(e){var t=c(e),n=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=n,n)for(var r=0;r=0){this._slotList.splice(a,1);var l=c(s[O+"parentNode"]);l&&l.__childSlotCount&&l.__childSlotCount--}i--,this._removeFlattenedNodes(s),t=!0}}return t}}},{key:"_updateSlotName",value:function(e){if(this._slotList){this._validateSlots();var t=e.__slotName,n=this._nameForSlot(e);if(n!==t){var r=this._slotMap[t],o=r.indexOf(e);o>=0&&r.splice(o,1);var i=this._slotMap[n]||(this._slotMap[n]=[]);i.push(e),i.length>1&&(this._slotMap[n]=this._sortSlots(i))}}}},{key:"_removeFlattenedNodes",value:function(e){var t=c(e),n=t.flattenedNodes;if(n)for(var r=0;r0||this.nodeType===Node.ELEMENT_NODE)&&this[z+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Y(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get:function(){return ee.currentNode=this,ee.firstChild()}},lastElementChild:{get:function(){return ee.currentNode=this,ee.lastChild()}},children:{get:function(){var e=[];ee.currentNode=this;for(var t=ee.firstChild();t;)e.push(t),t=ee.nextSibling();return k(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};G?(Y(Element.prototype,re),Y(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&Y(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&Y(HTMLElement.prototype,["innerHTML"])):(Q(Element.prototype,t),Q(Element.prototype,{previousElementSibling:{get:function(){return ee.currentNode=this,ee.previousSibling()}},nextElementSibling:{get:function(){return ee.currentNode=this,ee.nextSibling()}},innerHTML:{get:function(){return V(this,function(e){return e[z+"childNodes"]})},set:function(e){var t="template"===this.localName?this.content:this;ne(t);var n,r=this.localName||"div";(n=this.namespaceURI&&this.namespaceURI!==te.namespaceURI?te.createElementNS(this.namespaceURI,r):te.createElement(r)).innerHTML=e;for(var o,i="template"===this.localName?n.content:n;o=i[z+"firstChild"];)t[z+"insertBefore"](o,void 0)}}})),Y(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),Y(Element.prototype,oe),Y(HTMLElement.prototype,["focus","blur","contains"]),G&&Y(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&Y(window.HTMLTemplateElement.prototype,["innerHTML"]),G?Y(DocumentFragment.prototype,re):Q(DocumentFragment.prototype,t),Y(DocumentFragment.prototype,oe),G?(Y(Document.prototype,re),Y(Document.prototype,["activeElement"])):Q(Document.prototype,t),Y(Document.prototype,["importNode","getElementById"]),Y(Document.prototype,oe)}(),function(){Jt(O);var e=_t.activeElement;Object.defineProperty(document,"_activeElement",e),M(Window.prototype,Vt,O)}(),u.noPatch||(Jt(),function(){if(!ve&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[O+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in be)window[D+"addEventListener"](e,function(e){e.__target||(Le(e),Te(e))},!0)}(),window.Event=Re,window.CustomEvent=He,window.MouseEvent=Ie,window.ShadowRoot=Ot}},495:function(e,t,n){"use strict";var r=n(261),o=n.n(r),i=n(262),s=n.n(i),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function l(e){var t=a.has(e),n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&n}function c(e){var t=e.isConnected;if(void 0!==t)return t;for(var n=e;n&&!(n.__CE_isImportDocument||n instanceof Document);)n=n.parentNode||(window.ShadowRoot&&n instanceof ShadowRoot?n.host:void 0);return!(!n||!(n.__CE_isImportDocument||n instanceof Document))}function u(e,t){for(var n=t;n&&n!==e&&!n.nextSibling;)n=n.parentNode;return n&&n!==e?n.nextSibling:null}function d(e,t){return t.firstChild?t.firstChild:u(e,t)}function h(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var s=o.import;if(s instanceof Node&&!n.has(s)){n.add(s);for(var a=s.firstChild;a;a=a.nextSibling)h(a,t,n)}r=u(e,o);continue}if("template"===i){r=u(e,o);continue}var l=o.__CE_shadowRoot;if(l)for(var c=l.firstChild;c;c=c.nextSibling)h(c,t,n)}r=d(e,r)}}function p(e,t,n){e[t]=n}var f={custom:1,failed:2},m=function(){function e(){o()(this,e),this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}return s()(e,[{key:"setDefinition",value:function(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}},{key:"localNameToDefinition",value:function(e){return this._localNameToDefinition.get(e)}},{key:"constructorToDefinition",value:function(e){return this._constructorToDefinition.get(e)}},{key:"addPatch",value:function(e){this._hasPatches=!0,this._patches.push(e)}},{key:"patchTree",value:function(e){var t=this;this._hasPatches&&h(e,function(e){return t.patch(e)})}},{key:"patch",value:function(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},r=n.visitedImports||new Set,o=n.upgrade||function(e){return t.upgradeElement(e)},i=[];if(h(e,function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(r);i.delete(n),t.patchAndUpgradeTree(n,{visitedImports:i,upgrade:o})}})}else i.push(e)},r),this._hasPatches)for(var s=0;s-1&&i.attributeChangedCallback.call(e,t,n,r,o)}}]),e}(),v=function(){function e(t,n){o()(this,e),this._internals=t,this._document=n,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}return s()(e,[{key:"disconnect",value:function(){this._observer&&this._observer.disconnect()}},{key:"_handleMutations",value:function(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var n=0;n0;){for(var s=t.shift(),a=s.localName,l=r.get(s.localName),c=0;c0&&c(this)){r=new Array(i);for(var s=0;s0;)E.Node_removeChild.call(n,n.childNodes[0]);for(var o=t?r.content:r;o.childNodes.length>0;)E.Node_appendChild.call(n,o.childNodes[0])}})}),p(Element.prototype,"setAttribute",function(t,n){if(this.__CE_state!==f.custom)return E.Element_setAttribute.call(this,t,n);var r=E.Element_getAttribute.call(this,t);E.Element_setAttribute.call(this,t,n),n=E.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,r,n,null)}),p(Element.prototype,"setAttributeNS",function(t,n,r){if(this.__CE_state!==f.custom)return E.Element_setAttributeNS.call(this,t,n,r);var o=E.Element_getAttributeNS.call(this,t,n);E.Element_setAttributeNS.call(this,t,n,r),r=E.Element_getAttributeNS.call(this,t,n),e.attributeChangedCallback(this,n,o,r,t)}),p(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==f.custom)return E.Element_removeAttribute.call(this,t);var n=E.Element_getAttribute.call(this,t);E.Element_removeAttribute.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)}),p(Element.prototype,"removeAttributeNS",function(t,n){if(this.__CE_state!==f.custom)return E.Element_removeAttributeNS.call(this,t,n);var r=E.Element_getAttributeNS.call(this,t,n);E.Element_removeAttributeNS.call(this,t,n);var o=E.Element_getAttributeNS.call(this,t,n);r!==o&&e.attributeChangedCallback(this,n,r,o,t)}),E.HTMLElement_insertAdjacentElement?n(HTMLElement.prototype,E.HTMLElement_insertAdjacentElement):E.Element_insertAdjacentElement?n(Element.prototype,E.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),E.HTMLElement_insertAdjacentHTML?r(HTMLElement.prototype,E.HTMLElement_insertAdjacentHTML):E.Element_insertAdjacentHTML?r(Element.prototype,E.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),S(e,Element.prototype,{prepend:E.Element_prepend,append:E.Element_append}),function(e,t,n){function r(t){return function(){for(var n=[],r=[],o=arguments.length,i=new Array(o),s=0;s3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(l.d||"shady"===r)o=c.p(t,n);else{var i=c.i(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return c.p(e,function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)})}},{key:"_calcElementScope",value:function(e){return e?b+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=c.o(e.selector);if(!c.j(e))for(var i,s=0,a=o.length;s-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")})}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(k);){var r=t.index,o=c.e(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,D),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(D);return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=d.test(e);i&&(e=e.replace(d,function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")}),e=this._twiddleNthPlus(e));var s,a=k.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(g,"".concat(v," $1"))).replace(f,function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s}),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(_);e.indexOf(v)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(N,function(e,t){return" > ".concat(t)}))),{value:e=e.replace(S,function(e,t,n){return'[dir="'.concat(n,'"] ').concat(t,", ").concat(t,'[dir="').concat(n,'"]')}),combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,m=/[[.:#*]/,v=":host",y=":root",_="::slotted",g=new RegExp("^(".concat(_,")")),E=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,N=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,S=/(.*):dir\((?:(ltr|rtl))\)/,b=".",C=":",w="class",T="should_not_match",k=/:(?:matches|any|-(?:webkit|moz)-any)/,D="",O=new u,M=n(373),A=function(){function e(t,n,r,i,s,a){o()(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=i||"",this.cssBuild=a||"",this.typeExtension=s||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return s()(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),s()(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();A.prototype._getStyleRules=A.prototype._getStyleRules;var P=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},x=navigator.userAgent.match("Trident");var L=new(function(){function e(){o()(this,e)}return s()(e,[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;c.f(e,function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)},function(e){r.push(e)}),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=M.g,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(M.b,"").replace(M.g,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=M.h.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r=0)e=this.valueForProperties(e,t);else{var n=this;e=c.l(e,function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i *"===l||"html"===l,d=0===l.indexOf(":host")&&!u;if("shady"===n&&(d=!(u=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),u||d){var h=a;d&&(t.transformedSelector||(t.transformedSelector=O._transformRuleCss(t,O._transformComplexSelector,O._calcElementScope(i),a)),h=t.transformedSelector||a),r({selector:h,isHost:d,isRoot:u})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return c.f(t,function(t){r.whenHostOrRootRule(e,t,n,function(n){var s=e._element||e;P.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))})},null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=c.i(e),i=o.is,s=o.typeExtension,a=O._calcHostScope(i,s),u=e.extends?"\\"+a.slice(0,-1)+"\\]":a,d=new RegExp(M.c+u+M.d),h=A.get(e),p=h.styleRules,f=h.cssBuild,m=this._elementKeyframeTransforms(e,p,n);return O.elementStyles(e,p,function(e){r.applyProperties(e,t),l.d||c.j(e)||!e.cssText||(r.applyKeyframeTransforms(e,m),r._scopeSelector(e,d,a,n))},f)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!l.d&&r)for(var i=0,s=r[i];i-1&&(r.textContent=o),c.b(r,null,i.placeholder)):o&&(r=c.a(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=c.m(e),r=this;e.textContent=c.p(n,function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=Object(a.c)(n),e.cssText=r.valueForProperties(n,t))})}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}]),e}()),R={};function H(e){return R[e]||null}function I(e){R[e]||(R[e]=Object(c.c)(e))}var j=window.customElements;if(j&&!l.d&&!l.b){var F=j.define;j.define=function(e,t,n){I(e),F.call(j,e,t,n)}}var B=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o()(this,e),this.cache={},this.typeMax=t}return s()(e,[{key:"_validate",value:function(e,t,n){for(var r=0;rthis.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}]),e}(),U=function(){};var q=new RegExp("".concat(O.SCOPE_NAME,"\\s*([^\\s]*)"));function W(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(q);return t?t[1]:""}function V(e){var t=Object(c.q)(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?Object(c.i)(n).is:""}function G(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(O.SCOPE_NAME,")")),n=0;nt[0]?1:0}),e._entries&&(e._entries={});for(var n=0;n1?i(r[1]):"")}})}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n),function(e){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,i=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=t,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new URLSearchParams(this.search),c=!0,s=!0,h=this;["append","delete","set"].forEach(function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),c&&(s=!1,h.search=a.toString(),s=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,s&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval(function(){e.location.origin=t()},100)}}}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n);t.default={}}.call(this,n(275))}}]); \ No newline at end of file diff --git a/packages/ui/dist/2.a1d0f557010ffbfac678.js b/packages/ui/dist/2.a1d0f557010ffbfac678.js deleted file mode 100644 index 6ac724764..000000000 --- a/packages/ui/dist/2.a1d0f557010ffbfac678.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{273:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},390:function(e,t,n){"use strict";n.r(t),function(e){var n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},i=function(e){return decodeURIComponent(e).replace(/\+/g," ")};"URLSearchParams"in e&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var i=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof i){var n=this;e.forEach(function(e,t){n.append(t,e)})}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;rt[0]?1:0}),e._entries&&(e._entries={});for(var n=0;n1?i(r[1]):"")}})}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n),function(e){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,i=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=t,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new URLSearchParams(this.search),c=!0,s=!0,h=this;["append","delete","set"].forEach(function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),c&&(s=!1,h.search=a.toString(),s=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,s&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval(function(){e.location.origin=t()},100)}}}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n);t.default={}}.call(this,n(273))}}]); \ No newline at end of file diff --git a/packages/ui/dist/2.ceca25983745c3ba1b85.js b/packages/ui/dist/2.ceca25983745c3ba1b85.js deleted file mode 100644 index 24db44a7a..000000000 --- a/packages/ui/dist/2.ceca25983745c3ba1b85.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.ceca25983745c3ba1b85.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{506:function(e,t,n){"use strict";var r=n(261),o=n.n(r),i=n(262),s=n.n(i),a=function(){function e(){o()(this,e),this.root=null,this.publicRoot=null,this.dirty=!1,this.observer=null,this.assignedNodes=null,this.assignedSlot=null,this._previouslyAssignedNodes=null,this._prevAssignedSlot=null,this.flattenedNodes=null,this.ownerShadyRoot=void 0,this.parentNode=void 0,this.firstChild=void 0,this.lastChild=void 0,this.previousSibling=void 0,this.nextSibling=void 0,this.childNodes=void 0,this.__outsideAccessors=!1,this.__insideAccessors=!1,this.__onCallbackListeners={}}return s()(e,[{key:"toJSON",value:function(){return{}}}]),e}();function l(e){return e.__shady||(e.__shady=new a),e.__shady}function c(e){return e&&e.__shady}var u=window.ShadyDOM||{};u.hasNativeShadowDOM=Boolean(Element.prototype.attachShadow&&Node.prototype.getRootNode);var d=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");u.hasDescriptors=Boolean(d&&d.configurable&&d.get),u.inUse=u.force||!u.hasNativeShadowDOM,u.noPatch=u.noPatch||!1,u.preferPerformance=u.preferPerformance;var h=function(e){var t=c(e);return t&&void 0!==t.firstChild},p=function(e){return Boolean("ShadyRoot"===e._localName)},f=function(e){var t=c(e),n=t&&t.root;return n&&n._hasInsertionPoint()},m=Element.prototype,v=m.matches||m.matchesSelector||m.mozMatchesSelector||m.msMatchesSelector||m.oMatchesSelector||m.webkitMatchesSelector,y=function(e,t){return v.call(e,t)},_=document.createTextNode(""),g=0,E=[];new MutationObserver(function(){for(;E.length;)try{E.shift()()}catch(e){throw _.textContent=g++,e}}).observe(_,{characterData:!0});var N,S=function(e){E.push(e),_.textContent=g++},b=Boolean(document.contains),C=function(e,t){for(;t;){if(t==e)return!0;t=t[O+"parentNode"]}return!1},w=function(e){return e.getAttribute("id")||e.getAttribute("name")},T=function(e){return"length"!==e&&isNaN(e)},k=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=w(n);r&&T(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(T(t)&&e[t])return e[t];var n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var a=i.value;if(w(a)==t)return a}}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return null},e},D="__shady_native_",O="__shady_",M=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(r&&r.indexOf(o)>=0)){i.configurable=!0;var s=n+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},A=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,function(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}),P=[];function x(e){N||(N=!0,S(L)),P.push(e)}function L(){N=!1;for(var e=Boolean(P.length);P.length;)P.shift()();return e}L.list=P;var R=function(){function e(){o()(this,e),this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}return s()(e,[{key:"schedule",value:function(){var e=this;this._scheduled||(this._scheduled=!0,S(function(){e.flush()}))}},{key:"flush",value:function(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}},{key:"takeRecords",value:function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}]),e}();var H=/[&\u00A0"]/g,I=/[&\u00A0<>]/g;function j(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function F(e){return e.replace(H,j)}function B(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&q[t.localName]?l:function(e){return e.replace(I,j)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function V(e,t){"template"===e.localName&&(e=e.content);for(var n,r="",o=t?t(e):e.childNodes,i=0,s=o.length;i1&&void 0!==arguments[1]?arguments[1]:[],n=0;n-1)return n}function ke(e){var t=function(t,n){var r=new e(t,n);return r.__composed=n&&Boolean(n.composed),r};return t.__proto__=e,t.prototype=e.prototype,t}var De={focus:!0,blur:!0};function Oe(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function Me(e,t,n){var r=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n];if(r)for(var o,i=0;o=r[i];i++){if(Oe(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Ae(e){var t,n,r=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=r.length-1;o>=0;o--)if(Me(e,t=r[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var i=0;i-1)return}else t[_e]=[];var h=function(n){var r,o;if((i&&this[O+"removeEventListener"](e,t,l),n.__target||Fe(n),u!==this&&(r=Object.getOwnPropertyDescriptor(n,"currentTarget"),Object.defineProperty(n,"currentTarget",{get:function(){return u},configurable:!0})),n.__previousCurrentTarget=n.currentTarget,!p(o=u)&&"slot"!==o.localName||-1!=n.composedPath().indexOf(u))&&(n.composed||n.composedPath().indexOf(u)>-1)){if(Oe(n)&&n.target===n.relatedTarget)return void(n.eventPhase===Event.BUBBLING_PHASE&&n.stopImmediatePropagation());if(!(n.eventPhase===Event.CAPTURING_PHASE||n.bubbles||n.target===u||u instanceof Window))return;var s="function"===c?t.call(u,n):t.handleEvent&&t.handleEvent(n);return u!==this&&(r?(Object.defineProperty(n,"currentTarget",r),r=null):delete n.currentTarget),s}};t[_e].push({node:u,type:e,capture:o,once:i,passive:s,wrapperFn:h}),De[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(h)):this[D+"addEventListener"](e,h,l)}}}function Re(e,t,n){if(t){var r=Ne(n),o=r.capture,i=r.once,s=r.passive,a=r.shadyTarget,l=r.nativeEventOptions;if(be[e])return this[D+"removeEventListener"](e,t,l);var c=a||this,u=void 0,d=function(e){var t=null;try{t=e[_e]}catch(e){}return t}(t);if(d){var h=xe(d,c,e,o,i,s);h>-1&&(u=d.splice(h,1)[0].wrapperFn,d.length||(t[_e]=void 0))}if(this[D+"removeEventListener"](e,u||t,l),u&&De[e]&&this.__handlers&&this.__handlers[e]){var p=this.__handlers[e][o?"capture":"bubble"],f=p.indexOf(u);f>-1&&p.splice(f,1)}}}var He=A({get composed(){return void 0===this.__composed&&(ge?this.__composed="focusin"===this.type||"focusout"===this.type||ge(this):!1!==this.isTrusted&&(this.__composed=Se[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=we(this.__target,this.composed)),this.__composedPath},get target(){return Te(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=we(this.__relatedTarget,!0)),Te(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),Ie="__shady_patchedProto",je="__shady_sourceProto";function Fe(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,u.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,Ie)){var n=Object.create(t);n[je]=t,M(n,He),t[Ie]=n}e.__proto__=t[Ie]}else M(e,He)}var Be=ke(Event),Ue=ke(CustomEvent),qe=ke(MouseEvent);var We=Object.getOwnPropertyNames(Document.prototype).filter(function(e){return"on"===e.substring(0,2)}),Ve=n(291),Ge=n.n(Ve);function ze(e,t,n){return{index:e,removed:t,addedCount:n}}var Ke=0,Xe=1,Je=2,$e=3;function Qe(e,t,n,r,o,i){var s,a=0,l=0,c=Math.min(n-t,i-o);if(0==t&&0==o&&(a=function(e,t,n){for(var r=0;r0||n>0;)if(0!=t)if(0!=n){var i=e[t-1][n-1],s=e[t-1][n],a=e[t][n-1],l=void 0;(l=s0||this.nodeType===Node.ELEMENT_NODE)&&this[O+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==at&&e.ownerDocument!==at)return this[D+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=c(t),r=n&&n.parentNode;if(void 0!==r&&r!==this||void 0===r&&t[D+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var o,i=[],s=It(this),a=s?s.host.localName:it(this),u=e[O+"parentNode"];if(u){o=it(e);var d=Boolean(s)||!It(e)||lt&&void 0!==this.__noInsertionPoint;u[O+"removeChild"](e,d)}var m=!0,v=(!lt||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=nt();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[O+"childNodes"],s=0;o&&s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==at)return this[D+"removeChild"](e);if(e[O+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var r=It(e),o=r&&r._removeContainedSlots(e),i=c(this);if(h(this)&&(!function(e,t){var n=l(e),r=l(t);e===r.firstChild&&(r.firstChild=n.nextSibling),e===r.lastChild&&(r.lastChild=n.previousSibling);var o=n.previousSibling,i=n.nextSibling;o&&(l(o).nextSibling=i),i&&(l(i).previousSibling=o),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==r.childNodes&&(r.childNodes=null)}(e,this),f(this)&&(i.root._asyncRender(),t=!0)),nt()&&!n&&r){var s=it(e);st(e,function(e){rt(e,s)})}if(ht(e),r){var a=this&&"slot"===this.localName;a&&(t=!0),(o||a)&&r._asyncRender()}if(!t){var u=p(this)?this.host:this;(!i.root&&"slot"!==e.localName||u===e[D+"parentNode"])&&u[D+"removeChild"](e)}return pt(this,null,e),e},replaceChild:function(e,t){return this[O+"insertBefore"](e,t),this[O+"removeChild"](t),e},cloneNode:function(e){if("template"==this.localName)return this[D+"cloneNode"](e);var t=this[D+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var n,r=this[O+"childNodes"],o=0;o0?e:void 0}}},{key:"_render",value:function(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}},{key:"_flushInitial",value:function(){!this._hasRendered&&this._renderPending&&this._render()}},{key:"_renderSelf",value:function(){var e=At;if(At=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!u.preferPerformance&&!this._hasRendered)for(var t=this.host[O+"childNodes"],n=0,r=t.length;ni.assignedNodes.length&&(i.dirty=!0)}i.dirty&&(i.dirty=!1,this._fireSlotChange(o))}}},{key:"_distributeNodeToSlot",value:function(e,t){var n=l(e),r=n._prevAssignedSlot;n._prevAssignedSlot=null;var o=t;if(!o){var i=e[O+"slot"]||"__catchall",s=this._slotMap[i];o=s&&s[0]}o?(l(o).assignedNodes.push(e),n.assignedSlot=o):n.assignedSlot=void 0;r!==n.assignedSlot&&n.assignedSlot&&(l(n.assignedSlot).dirty=!0)}},{key:"_clearSlotAssignedNodes",value:function(e){var t=c(e),n=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=n,n)for(var r=0;r=0){this._slotList.splice(a,1);var l=c(s[O+"parentNode"]);l&&l.__childSlotCount&&l.__childSlotCount--}i--,this._removeFlattenedNodes(s),t=!0}}return t}}},{key:"_updateSlotName",value:function(e){if(this._slotList){this._validateSlots();var t=e.__slotName,n=this._nameForSlot(e);if(n!==t){var r=this._slotMap[t],o=r.indexOf(e);o>=0&&r.splice(o,1);var i=this._slotMap[n]||(this._slotMap[n]=[]);i.push(e),i.length>1&&(this._slotMap[n]=this._sortSlots(i))}}}},{key:"_removeFlattenedNodes",value:function(e){var t=c(e),n=t.flattenedNodes;if(n)for(var r=0;r0||this.nodeType===Node.ELEMENT_NODE)&&this[z+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Y(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get:function(){return ee.currentNode=this,ee.firstChild()}},lastElementChild:{get:function(){return ee.currentNode=this,ee.lastChild()}},children:{get:function(){var e=[];ee.currentNode=this;for(var t=ee.firstChild();t;)e.push(t),t=ee.nextSibling();return k(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};G?(Y(Element.prototype,re),Y(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&Y(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&Y(HTMLElement.prototype,["innerHTML"])):(Q(Element.prototype,t),Q(Element.prototype,{previousElementSibling:{get:function(){return ee.currentNode=this,ee.previousSibling()}},nextElementSibling:{get:function(){return ee.currentNode=this,ee.nextSibling()}},innerHTML:{get:function(){return V(this,function(e){return e[z+"childNodes"]})},set:function(e){var t="template"===this.localName?this.content:this;ne(t);var n,r=this.localName||"div";(n=this.namespaceURI&&this.namespaceURI!==te.namespaceURI?te.createElementNS(this.namespaceURI,r):te.createElement(r)).innerHTML=e;for(var o,i="template"===this.localName?n.content:n;o=i[z+"firstChild"];)t[z+"insertBefore"](o,void 0)}}})),Y(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),Y(Element.prototype,oe),Y(HTMLElement.prototype,["focus","blur","contains"]),G&&Y(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&Y(window.HTMLTemplateElement.prototype,["innerHTML"]),G?Y(DocumentFragment.prototype,re):Q(DocumentFragment.prototype,t),Y(DocumentFragment.prototype,oe),G?(Y(Document.prototype,re),Y(Document.prototype,["activeElement"])):Q(Document.prototype,t),Y(Document.prototype,["importNode","getElementById"]),Y(Document.prototype,oe)}(),function(){en(O);var e=bt.activeElement;Object.defineProperty(document,"_activeElement",e),M(Window.prototype,Jt,O)}(),u.noPatch||(en(),function(){if(!ge&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[O+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in De)window[D+"addEventListener"](e,function(e){e.__target||(Fe(e),Ae(e))},!0)}(),window.Event=Be,window.CustomEvent=Ue,window.MouseEvent=qe,window.ShadowRoot=Lt}},508:function(e,t,n){"use strict";var r=n(261),o=n.n(r),i=n(262),s=n.n(i),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function l(e){var t=a.has(e),n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&n}function c(e){var t=e.isConnected;if(void 0!==t)return t;for(var n=e;n&&!(n.__CE_isImportDocument||n instanceof Document);)n=n.parentNode||(window.ShadowRoot&&n instanceof ShadowRoot?n.host:void 0);return!(!n||!(n.__CE_isImportDocument||n instanceof Document))}function u(e,t){for(var n=t;n&&n!==e&&!n.nextSibling;)n=n.parentNode;return n&&n!==e?n.nextSibling:null}function d(e,t){return t.firstChild?t.firstChild:u(e,t)}function h(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var s=o.import;if(s instanceof Node&&!n.has(s)){n.add(s);for(var a=s.firstChild;a;a=a.nextSibling)h(a,t,n)}r=u(e,o);continue}if("template"===i){r=u(e,o);continue}var l=o.__CE_shadowRoot;if(l)for(var c=l.firstChild;c;c=c.nextSibling)h(c,t,n)}r=d(e,r)}}function p(e,t,n){e[t]=n}var f={custom:1,failed:2},m=function(){function e(){o()(this,e),this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}return s()(e,[{key:"setDefinition",value:function(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}},{key:"localNameToDefinition",value:function(e){return this._localNameToDefinition.get(e)}},{key:"constructorToDefinition",value:function(e){return this._constructorToDefinition.get(e)}},{key:"addPatch",value:function(e){this._hasPatches=!0,this._patches.push(e)}},{key:"patchTree",value:function(e){var t=this;this._hasPatches&&h(e,function(e){return t.patch(e)})}},{key:"patch",value:function(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},r=n.visitedImports||new Set,o=n.upgrade||function(e){return t.upgradeElement(e)},i=[];if(h(e,function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(r);i.delete(n),t.patchAndUpgradeTree(n,{visitedImports:i,upgrade:o})}})}else i.push(e)},r),this._hasPatches)for(var s=0;s-1&&i.attributeChangedCallback.call(e,t,n,r,o)}}]),e}(),v=function(){function e(t,n){o()(this,e),this._internals=t,this._document=n,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}return s()(e,[{key:"disconnect",value:function(){this._observer&&this._observer.disconnect()}},{key:"_handleMutations",value:function(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var n=0;n0;){for(var s=t.shift(),a=s.localName,l=r.get(s.localName),c=0;c0&&c(this)){r=new Array(i);for(var s=0;s0;)E.Node_removeChild.call(n,n.childNodes[0]);for(var o=t?r.content:r;o.childNodes.length>0;)E.Node_appendChild.call(n,o.childNodes[0])}})}),p(Element.prototype,"setAttribute",function(t,n){if(this.__CE_state!==f.custom)return E.Element_setAttribute.call(this,t,n);var r=E.Element_getAttribute.call(this,t);E.Element_setAttribute.call(this,t,n),n=E.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,r,n,null)}),p(Element.prototype,"setAttributeNS",function(t,n,r){if(this.__CE_state!==f.custom)return E.Element_setAttributeNS.call(this,t,n,r);var o=E.Element_getAttributeNS.call(this,t,n);E.Element_setAttributeNS.call(this,t,n,r),r=E.Element_getAttributeNS.call(this,t,n),e.attributeChangedCallback(this,n,o,r,t)}),p(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==f.custom)return E.Element_removeAttribute.call(this,t);var n=E.Element_getAttribute.call(this,t);E.Element_removeAttribute.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)}),p(Element.prototype,"removeAttributeNS",function(t,n){if(this.__CE_state!==f.custom)return E.Element_removeAttributeNS.call(this,t,n);var r=E.Element_getAttributeNS.call(this,t,n);E.Element_removeAttributeNS.call(this,t,n);var o=E.Element_getAttributeNS.call(this,t,n);r!==o&&e.attributeChangedCallback(this,n,r,o,t)}),E.HTMLElement_insertAdjacentElement?n(HTMLElement.prototype,E.HTMLElement_insertAdjacentElement):E.Element_insertAdjacentElement?n(Element.prototype,E.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),E.HTMLElement_insertAdjacentHTML?r(HTMLElement.prototype,E.HTMLElement_insertAdjacentHTML):E.Element_insertAdjacentHTML?r(Element.prototype,E.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),S(e,Element.prototype,{prepend:E.Element_prepend,append:E.Element_append}),function(e,t,n){function r(t){return function(){for(var n=[],r=[],o=arguments.length,i=new Array(o),s=0;s3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(l.d||"shady"===r)o=c.p(t,n);else{var i=c.i(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return c.p(e,function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)})}},{key:"_calcElementScope",value:function(e){return e?b+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=c.o(e.selector);if(!c.j(e))for(var i,s=0,a=o.length;s-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")})}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(k);){var r=t.index,o=c.e(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,D),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(D);return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=d.test(e);i&&(e=e.replace(d,function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")}),e=this._twiddleNthPlus(e));var s,a=k.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(g,"".concat(v," $1"))).replace(f,function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s}),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e=e.replace(S,function(e,t,n,r){return'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r)})}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(_);e.indexOf(v)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(N,function(e,t){return" > ".concat(t)}))),{value:e,combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,m=/[[.:#*]/,v=":host",y=":root",_="::slotted",g=new RegExp("^(".concat(_,")")),E=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,N=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,S=/(.*):dir\((?:(ltr|rtl))\)(.*)/,b=".",C=":",w="class",T="should_not_match",k=/:(?:matches|any|-(?:webkit|moz)-any)/,D="",O=new u,M=n(377),A=function(){function e(t,n,r,i,s,a){o()(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=i||"",this.cssBuild=a||"",this.typeExtension=s||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return s()(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),s()(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();A.prototype._getStyleRules=A.prototype._getStyleRules;var P=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},x=navigator.userAgent.match("Trident");var L=new(function(){function e(){o()(this,e)}return s()(e,[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;c.f(e,function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)},function(e){r.push(e)}),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=M.g,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(M.b,"").replace(M.g,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=M.h.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r=0)e=this.valueForProperties(e,t);else{var n=this;e=c.l(e,function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i *"===l||"html"===l,d=0===l.indexOf(":host")&&!u;if("shady"===n&&(d=!(u=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),u||d){var h=a;d&&(t.transformedSelector||(t.transformedSelector=O._transformRuleCss(t,O._transformComplexSelector,O._calcElementScope(i),a)),h=t.transformedSelector||a),r({selector:h,isHost:d,isRoot:u})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return c.f(t,function(t){r.whenHostOrRootRule(e,t,n,function(n){var s=e._element||e;P.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))})},null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=c.i(e),i=o.is,s=o.typeExtension,a=O._calcHostScope(i,s),u=e.extends?"\\"+a.slice(0,-1)+"\\]":a,d=new RegExp(M.c+u+M.d),h=A.get(e),p=h.styleRules,f=h.cssBuild,m=this._elementKeyframeTransforms(e,p,n);return O.elementStyles(e,p,function(e){r.applyProperties(e,t),l.d||c.j(e)||!e.cssText||(r.applyKeyframeTransforms(e,m),r._scopeSelector(e,d,a,n))},f)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!l.d&&r)for(var i=0,s=r[i];i-1&&(r.textContent=o),c.b(r,null,i.placeholder)):o&&(r=c.a(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=c.m(e),r=this;e.textContent=c.p(n,function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=Object(a.c)(n),e.cssText=r.valueForProperties(n,t))})}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}]),e}()),R={};function H(e){return R[e]||null}function I(e){R[e]||(R[e]=Object(c.c)(e))}var j=window.customElements;if(j&&!l.d&&!l.b){var F=j.define;j.define=function(e,t,n){I(e),F.call(j,e,t,n)}}var B=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o()(this,e),this.cache={},this.typeMax=t}return s()(e,[{key:"_validate",value:function(e,t,n){for(var r=0;rthis.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}]),e}(),U=function(){};var q=new RegExp("".concat(O.SCOPE_NAME,"\\s*([^\\s]*)"));function W(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(q);return t?t[1]:""}function V(e){var t=Object(c.q)(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?Object(c.i)(n).is:""}function G(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(O.SCOPE_NAME,")")),n=0;nt[0]?1:0}),e._entries&&(e._entries={});for(var n=0;n1?i(r[1]):"")}})}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n),function(e){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,i=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=t,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new URLSearchParams(this.search),c=!0,s=!0,h=this;["append","delete","set"].forEach(function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),c&&(s=!1,h.search=a.toString(),s=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,s&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval(function(){e.location.origin=t()},100)}}}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n);t.default={}}.call(this,n(296))}}]); \ No newline at end of file diff --git a/packages/ui/dist/3.1d59d1aab4f65c5fae79.js b/packages/ui/dist/3.1d59d1aab4f65c5fae79.js deleted file mode 100644 index 7b1c53f82..000000000 --- a/packages/ui/dist/3.1d59d1aab4f65c5fae79.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 3.1d59d1aab4f65c5fae79.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{492:function(e,t,r){"use strict";class n{constructor(){this.root=null,this.publicRoot=null,this.dirty=!1,this.observer=null,this.assignedNodes=null,this.assignedSlot=null,this._previouslyAssignedNodes=null,this._prevAssignedSlot=null,this.flattenedNodes=null,this.ownerShadyRoot=void 0,this.parentNode=void 0,this.firstChild=void 0,this.lastChild=void 0,this.previousSibling=void 0,this.nextSibling=void 0,this.childNodes=void 0,this.__outsideAccessors=!1,this.__insideAccessors=!1,this.__onCallbackListeners={}}toJSON(){return{}}}function o(e){return e.__shady||(e.__shady=new n),e.__shady}function i(e){return e&&e.__shady}var s=window.ShadyDOM||{};s.hasNativeShadowDOM=Boolean(Element.prototype.attachShadow&&Node.prototype.getRootNode);var a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");s.hasDescriptors=Boolean(a&&a.configurable&&a.get),s.inUse=s.force||!s.hasNativeShadowDOM,s.noPatch=s.noPatch||!1,s.preferPerformance=s.preferPerformance;var l=e=>{var t=i(e);return t&&void 0!==t.firstChild},d=e=>Boolean("ShadyRoot"===e._localName),c=e=>{var t=i(e),r=t&&t.root;return r&&r._hasInsertionPoint()},h=Element.prototype,u=h.matches||h.matchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector||h.webkitMatchesSelector,p=(e,t)=>u.call(e,t),m=document.createTextNode(""),f=0,v=[];new MutationObserver(()=>{for(;v.length;)try{v.shift()()}catch(e){throw m.textContent=f++,e}}).observe(m,{characterData:!0});var _,g=e=>{v.push(e),m.textContent=f++},y=Boolean(document.contains),E=(e,t)=>{for(;t;){if(t==e)return!0;t=t[w+"parentNode"]}return!1},N=e=>e.getAttribute("id")||e.getAttribute("name"),S=e=>"length"!==e&&isNaN(e),b=e=>{for(var t=e.length-1;t>=0;t--){var r=e[t],n=N(r);n&&S(n)&&(e[n]=r)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(S(t)&&e[t])return e[t];for(var r of e){if(N(r)==t)return r}return null},e},C="__shady_native_",w="__shady_",T=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(n&&n.indexOf(o)>=0)){i.configurable=!0;var s=r+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},D=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,e=>{var t={};return Object.getOwnPropertyNames(e).forEach(r=>{t[r]=Object.getOwnPropertyDescriptor(e,r)}),t}),O=[];function M(e){_||(_=!0,g(A)),O.push(e)}function A(){_=!1;for(var e=Boolean(O.length);O.length;)O.shift()();return e}A.list=O;class P{constructor(){this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}schedule(){this._scheduled||(this._scheduled=!0,g(()=>{this.flush()}))}flush(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}takeRecords(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}var x=/[&\u00A0"]/g,L=/[&\u00A0<>]/g;function R(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function k(e){return e.replace(x,R)}function H(e){for(var t={},r=0;r";case Node.TEXT_NODE:var l=e.data;return t&&I[t.localName]?l:function(e){return e.replace(L,R)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function B(e,t){"template"===e.localName&&(e=e.content);for(var r,n="",o=t?t(e):e.childNodes,i=0,s=o.length;i{V[e]=(t=>t[q+e])},z=(e,t)=>{W[e]||(W[e]=t)},K=(e,t)=>{for(var r in T(e,t,q),t)G(r)},X=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0;r{for(var t;t=e[q+"firstChild"];)e[q+"removeChild"](t)},Z=["firstElementChild","lastElementChild","children","childElementCount"],ee=["querySelector","querySelectorAll"],te=D({get childNodes(){return this[w+"childNodes"]},get firstChild(){return this[w+"firstChild"]},get lastChild(){return this[w+"lastChild"]},get textContent(){return this[w+"textContent"]},set textContent(e){this[w+"textContent"]=e},get childElementCount(){return this[w+"childElementCount"]},get children(){return this[w+"children"]},get firstElementChild(){return this[w+"firstElementChild"]},get lastElementChild(){return this[w+"lastElementChild"]},get innerHTML(){return this[w+"innerHTML"]},set innerHTML(e){return this[w+"innerHTML"]=e},get shadowRoot(){return this[w+"shadowRoot"]}}),re=D({get parentElement(){return this[w+"parentElement"]},get parentNode(){return this[w+"parentNode"]},get nextSibling(){return this[w+"nextSibling"]},get previousSibling(){return this[w+"previousSibling"]},get nextElementSibling(){return this[w+"nextElementSibling"]},get previousElementSibling(){return this[w+"previousElementSibling"]},get className(){return this[w+"className"]},set className(e){return this[w+"className"]=e}});for(var ne in te)te[ne].enumerable=!1;for(var oe in re)re[oe].enumerable=!1;var ie,se=s.hasDescriptors||s.noPatch,ae=se?function(){}:function(e){var t=o(e);t.__outsideAccessors||(t.__outsideAccessors=!0,T(e,re))},le=se?function(){}:function(e){var t=o(e);t.__insideAccessors||(t.__insideAccessors=!0,T(e,te))},de="__eventWrappers".concat(Date.now()),ce=(ie=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?e=>ie.get.call(e):null,he={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},ue={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function pe(e){return e instanceof Node?e[w+"getRootNode"]():e}function me(e,t){for(var r=[],n=e,o=pe(e);n;)r.push(n),n=n[w+"assignedSlot"]?n[w+"assignedSlot"]:n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host&&(t||n!==o)?n.host:n[w+"parentNode"];return r[r.length-1]===document&&r.push(window),r}function fe(e,t){if(!d)return e;for(var r,n,o,i,s=me(e,!0),a=t,l=0;l-1)return r}function ve(e){var t=function(t,r){var n=new e(t,r);return n.__composed=r&&Boolean(r.composed),n};return t.__proto__=e,t.prototype=e.prototype,t}var _e={focus:!0,blur:!0};function ge(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function ye(e,t,r){var n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][r];if(n)for(var o,i=0;o=n[i];i++){if(ge(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function Ee(e){var t,r,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=n.length-1;o>=0;o--)if(ye(e,t=n[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:()=>Event.AT_TARGET});for(var s=0;s-1)return}else t[de]=[];var c=function(o){var s;if(i&&this[w+"removeEventListener"](e,t,r),o.__target||Oe(o),a!==this&&(s=Object.getOwnPropertyDescriptor(o,"currentTarget"),Object.defineProperty(o,"currentTarget",{get:()=>a,configurable:!0})),o.__previousCurrentTarget=o.currentTarget,(!d(a)||-1!=o.composedPath().indexOf(a))&&(o.composed||o.composedPath().indexOf(a)>-1)){if(ge(o)&&o.target===o.relatedTarget)return void(o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation());if(!(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a||a instanceof Window))return;var l="function"===n?t.call(a,o):t.handleEvent&&t.handleEvent(o);return a!==this&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget),l}};t[de].push({node:a,type:e,capture:o,once:i,passive:s,wrapperFn:c}),_e[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(c)):this[C+"addEventListener"](e,c,r)}}}function Ce(e,t,r){if(t){if(ue[e])return this[C+"removeEventListener"](e,t,r);var n,o,i;r&&"object"==typeof r?(n=Boolean(r.capture),o=Boolean(r.once),i=Boolean(r.passive)):(n=Boolean(r),o=!1,i=!1);var s=r&&r.__shadyTarget||this,a=void 0,l=function(e){var t=null;try{t=e[de]}catch(e){}return t}(t);if(l){var d=Se(l,s,e,n,o,i);d>-1&&(a=l.splice(d,1)[0].wrapperFn,l.length||(t[de]=void 0))}if(this[C+"removeEventListener"](e,a||t,r),a&&_e[e]&&this.__handlers&&this.__handlers[e]){var c=this.__handlers[e][n?"capture":"bubble"],h=c.indexOf(a);h>-1&&c.splice(h,1)}}}var we=D({get composed(){return void 0===this.__composed&&(ce?this.__composed="focusin"===this.type||"focusout"===this.type||ce(this):!1!==this.isTrusted&&(this.__composed=he[this.type])),this.__composed||!1},composedPath(){return this.__composedPath||(this.__composedPath=me(this.__target,this.composed)),this.__composedPath},get target(){return fe(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=me(this.__relatedTarget,!0)),fe(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),Te="__shady_patchedProto",De="__shady_sourceProto";function Oe(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,s.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,Te)){var r=Object.create(t);r[De]=t,T(r,we),t[Te]=r}e.__proto__=t[Te]}else T(e,we)}var Me=ve(Event),Ae=ve(CustomEvent),Pe=ve(MouseEvent);var xe=Object.getOwnPropertyNames(Document.prototype).filter(e=>"on"===e.substring(0,2));function Le(e,t,r){return{index:e,removed:t,addedCount:r}}var Re=0,ke=1,He=2,je=3;function Ie(e,t,r,n,o,i){var s,a=0,l=0,d=Math.min(r-t,i-o);if(0==t&&0==o&&(a=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var i=e[t-1][r-1],s=e[t-1][r],a=e[t][r-1],l=void 0;(l=s{var t=o(e);if(void 0===t.firstChild){t.childNodes=null;var r=t.firstChild=e[C+"firstChild"]||null;t.lastChild=e[C+"lastChild"]||null,le(e);for(var n,i=r;i;i=i[C+"nextSibling"]){var s=o(i);s.parentNode=e,s.nextSibling=i[C+"nextSibling"]||null,s.previousSibling=n||null,n=i,ae(i)}}},qe=null;function We(){return qe||(qe=window.ShadyCSS&&window.ShadyCSS.ScopingShim),qe||null}function Ve(e,t){var r=We();r&&r.unscopeNode(e,t)}function Ge(e,t,r){We()&&(r&&Ve(e,r),function(e,t){var r=We();r&&r.scopeNode(e,t)}(e,t))}function ze(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=We();return t?t.currentScopeForNode(e):""}function Ke(e,t){if(e){e.nodeType===Node.ELEMENT_NODE&&t(e);for(var r,n=e[w+"childNodes"],o=0;o0||this.nodeType===Node.ELEMENT_NODE)&&this[w+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore(e,t){if(this.ownerDocument!==Xe&&e.ownerDocument!==Xe)return this[C+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var r=i(t),n=r&&r.parentNode;if(void 0!==n&&n!==this||void 0===n&&t[C+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var s,a=[],h=Tt(this),u=h?h.host.localName:ze(this),p=e[w+"parentNode"];p&&(s=ze(e),p[w+"removeChild"](e,Boolean(h)||!Tt(e)));var m=!0,f=!(Je&&void 0!==e.__noInsertionPoint||function e(t,r){var n=We();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[w+"childNodes"],s=0;o&&s{v&&"slot"===e.localName&&a.push(e),f&&Ge(e,u,s)})),("slot"===this.localName||a.length)&&(a.length&&h._addSlots(a),h&&h._asyncRender()),l(this)){((e,t,r)=>{le(t);var n=o(t);if(void 0!==n.firstChild&&(n.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var i=e[w+"childNodes"],s=0;s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==Xe)return this[C+"removeChild"](e);if(e[w+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var n=Tt(e),s=n&&n._removeContainedSlots(e),a=i(this);if(l(this)&&(((e,t)=>{var r=o(e),n=o(t);e===n.firstChild&&(n.firstChild=r.nextSibling),e===n.lastChild&&(n.lastChild=r.previousSibling);var i=r.previousSibling,s=r.nextSibling;i&&(o(i).nextSibling=s),s&&(o(s).previousSibling=i),r.parentNode=r.previousSibling=r.nextSibling=void 0,void 0!==n.childNodes&&(n.childNodes=null)})(e,this),c(this)&&(a.root._asyncRender(),t=!0)),We()&&!r&&n){var h=ze(e);Ke(e,e=>{Ve(e,h)})}if(Ze(e),n){var u=this&&"slot"===this.localName;u&&(t=!0),(s||u)&&n._asyncRender()}if(!t){var p=d(this)?this.host:this;(!a.root&&"slot"!==e.localName||p===e[C+"parentNode"])&&p[C+"removeChild"](e)}return et(this,null,e),e},replaceChild(e,t){return this[w+"insertBefore"](e,t),this[w+"removeChild"](t),e},cloneNode(e){if("template"==this.localName)return this[C+"cloneNode"](e);var t=this[C+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var r,n=this[w+"childNodes"],o=0;oe[w+"getRootNode"]()==n)}return rt(this,function(t){return p(t,e)})}}),at=s.preferPerformance?Object.assign({},it):it;Object.assign(it,st);var lt=D({getElementById(e){return""===e?null:rt(this,function(t){return t.id==e},function(e){return Boolean(e)})[0]||null}});var dt,ct,ht=D({get activeElement(){var e=s.hasDescriptors?document[C+"activeElement"]:document.activeElement;if(!e||!e.nodeType)return null;var t=!!d(this);if(this!==document){if(!t)return null;if(this.host===e||!this.host[C+"contains"](e))return null}for(var r=Tt(e);r&&r!==this;)e=r.host,r=Tt(e);return this===document?r?null:e:r===this?e:null}}),ut=document.implementation.createHTMLDocument("inert"),pt=D({get innerHTML(){return l(this)?B("template"===this.localName?this.content:this,e=>e[w+"childNodes"]):this[C+"innerHTML"]},set innerHTML(e){if("template"===this.localName)this[C+"innerHTML"]=e;else{Ye(this);var t,r,n=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==ut.namespaceURI?ut.createElementNS(this.namespaceURI,n):ut.createElement(n),s.hasDescriptors?t[C+"innerHTML"]=e:t.innerHTML=e;r=t[w+"firstChild"];)this[w+"insertBefore"](r)}}}),mt=D({addEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=this,this.host[w+"addEventListener"](e,t,r)},removeEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=this,this.host[w+"removeEventListener"](e,t,r)}}),ft=(e,t)=>{T(e,mt,t),T(e,ht,t),T(e,pt,t),T(e,it,t),s.noPatch&&!t?(T(e,tt,t),T(e,lt,t)):s.hasDescriptors||(T(e,re),T(e,te))},vt={},_t="__catchall",gt="ShadyRoot",yt="closed",Et=s.deferConnectionCallbacks&&"loading"===document.readyState;function Nt(e){var t=[];do{t.unshift(e)}while(e=e[w+"parentNode"]);return t}class St{constructor(e,t,r){if(e!==vt)throw new TypeError("Illegal constructor");this._localName=gt,this.host=t,this.mode=r&&r.mode,Ue(t);var n=o(t);n.root=this,n.publicRoot=this.mode!==yt?this:null;var i=o(this);if(i.firstChild=i.lastChild=i.parentNode=i.nextSibling=i.previousSibling=null,i.childNodes=[],this._renderPending=!1,this._hasRendered=!1,this._slotList=null,this._slotMap=null,this._pendingSlots=null,s.preferPerformance)for(var a;a=t[C+"firstChild"];)t[C+"removeChild"](a);else this._asyncRender()}_asyncRender(){this._renderPending||(this._renderPending=!0,M(()=>this._render()))}_getPendingDistributionRoot(){for(var e,t=this;t;)t._renderPending&&(e=t),t=t._getDistributionParent();return e}_getDistributionParent(){var e=this.host[w+"getRootNode"]();if(d(e)){var t=i(this.host);return t&&t.__childSlotCount>0?e:void 0}}_render(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}_flushInitial(){!this._hasRendered&&this._renderPending&&this._render()}_renderSelf(){var e=Et;if(Et=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!s.preferPerformance&&!this._hasRendered)for(var t=this.host[w+"childNodes"],r=0,n=t.length;rs.assignedNodes.length&&(s.dirty=!0)}s.dirty&&(s.dirty=!1,this._fireSlotChange(o))}}_distributeNodeToSlot(e,t){var r=o(e),n=r._prevAssignedSlot;r._prevAssignedSlot=null;var i=t;if(!i){var s=e[w+"slot"]||_t,a=this._slotMap[s];i=a&&a[0]}i?(o(i).assignedNodes.push(e),r.assignedSlot=i):r.assignedSlot=void 0;n!==r.assignedSlot&&r.assignedSlot&&(o(r.assignedSlot).dirty=!0)}_clearSlotAssignedNodes(e){var t=i(e),r=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=r,r)for(var n=0;n{for(var r=Nt(e),n=Nt(t),o=0;o=0){this._slotList.splice(l,1);var d=i(a[w+"parentNode"]);d&&d.__childSlotCount&&d.__childSlotCount--}s--,this._removeFlattenedNodes(a),t=!0}}return t}}_updateSlotName(e){if(this._slotList){this._validateSlots();var t=e.__slotName,r=this._nameForSlot(e);if(r!==t){var n=this._slotMap[t],o=n.indexOf(e);o>=0&&n.splice(o,1);var i=this._slotMap[r]||(this._slotMap[r]=[]);i.push(e),i.length>1&&(this._slotMap[r]=this._sortSlots(i))}}}_removeFlattenedNodes(e){var t=i(e),r=t.flattenedNodes;if(r)for(var n=0;n{Object.defineProperty(ct,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(e=>{Object.defineProperty(ct,e,{get(){return this.host[e]},configurable:!0})});if(window.customElements&&s.inUse&&!s.preferPerformance){var bt=new Map;dt=function(){var e=[];bt.forEach((t,r)=>{e.push([r,t])}),bt.clear();for(var t=0;t{Et=!1,dt()},{once:!0});var Ct=(e,t,r)=>{var n=0,o="__isConnected".concat(n++);return(t||r)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){Et?bt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){Et?this.isConnected||bt.set(this,!1):this[o]&&(this[o]=!1,r&&r.call(this))}),e},wt=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(e,t){var r=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;wt.call(window.customElements,e,Ct(t,r,n)),t.prototype.connectedCallback=r,t.prototype.disconnectedCallback=n}})}var Tt=e=>{var t=e[w+"getRootNode"]();if(d(t))return t};class Dt{constructor(e){this.node=e}addEventListener(e,t,r){return this.node[w+"addEventListener"](e,t,r)}removeEventListener(e,t,r){return this.node[w+"removeEventListener"](e,t,r)}appendChild(e){return this.node[w+"appendChild"](e)}insertBefore(e,t){return this.node[w+"insertBefore"](e,t)}removeChild(e){return this.node[w+"removeChild"](e)}replaceChild(e,t){return this.node[w+"replaceChild"](e,t)}cloneNode(e){return this.node[w+"cloneNode"](e)}getRootNode(e){return this.node[w+"getRootNode"](e)}contains(e){return this.node[w+"contains"](e)}dispatchEvent(e){return this.node[w+"dispatchEvent"](e)}setAttribute(e,t){this.node[w+"setAttribute"](e,t)}getAttribute(e){return this.node[C+"getAttribute"](e)}hasAttribute(e){return this.node[C+"hasAttribute"](e)}removeAttribute(e){this.node[w+"removeAttribute"](e)}attachShadow(e){return this.node[w+"attachShadow"](e)}get activeElement(){if(d(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"activeElement"]}get _activeElement(){return this.activeElement}focus(){this.node[C+"focus"]()}blur(){this.node[w+"blur"]()}importNode(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"importNode"](e,t)}getElementById(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"getElementById"](e)}querySelector(e){return this.node[w+"querySelector"](e)}querySelectorAll(e,t){return this.node[w+"querySelectorAll"](e,t)}assignedNodes(e){if("slot"===this.node.localName)return this.node[w+"assignedNodes"](e)}get host(){if(d(this.node))return this.node.host}get parentNode(){return this.node[w+"parentNode"]}get firstChild(){return this.node[w+"firstChild"]}get lastChild(){return this.node[w+"lastChild"]}get nextSibling(){return this.node[w+"nextSibling"]}get previousSibling(){return this.node[w+"previousSibling"]}get childNodes(){return this.node[w+"childNodes"]}get parentElement(){return this.node[w+"parentElement"]}get firstElementChild(){return this.node[w+"firstElementChild"]}get lastElementChild(){return this.node[w+"lastElementChild"]}get nextElementSibling(){return this.node[w+"nextElementSibling"]}get previousElementSibling(){return this.node[w+"previousElementSibling"]}get children(){return this.node[w+"children"]}get childElementCount(){return this.node[w+"childElementCount"]}get shadowRoot(){return this.node[w+"shadowRoot"]}get assignedSlot(){return this.node[w+"assignedSlot"]}get isConnected(){return this.node[w+"isConnected"]}get innerHTML(){return this.node[w+"innerHTML"]}set innerHTML(e){this.node[w+"innerHTML"]=e}get textContent(){return this.node[w+"textContent"]}set textContent(e){this.node[w+"textContent"]=e}get slot(){return this.node[w+"slot"]}set slot(e){this.node[w+"slot"]=e}}xe.forEach(e=>{Object.defineProperty(Dt.prototype,e,{get(){return this.node[w+e]},set(t){this.node[w+e]=t},configurable:!0})});var Ot=new WeakMap;var Mt=D({dispatchEvent(e){return A(),this[C+"dispatchEvent"](e)},addEventListener:be,removeEventListener:Ce}),At=D({get assignedSlot(){var e=this[w+"parentNode"],t=e&&e[w+"shadowRoot"];t&&t._render();var r=i(this);return r&&r.assignedSlot||null}}),Pt=window.document;function xt(e,t){if("slot"===t){var r=e[w+"parentNode"];c(r)&&i(r).root._asyncRender()}else if("slot"===e.localName&&"name"===t){var n=Tt(e);n&&(n._updateSlotName(e),n._asyncRender())}}var Lt=D({get previousElementSibling(){var e=i(this);if(e&&void 0!==e.previousSibling){for(var t=this[w+"previousSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"previousSibling"];return t}return this[C+"previousElementSibling"]},get nextElementSibling(){var e=i(this);if(e&&void 0!==e.nextSibling){for(var t=this[w+"nextSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"nextSibling"];return t}return this[C+"nextElementSibling"]},get slot(){return this.getAttribute("slot")},set slot(e){this[w+"setAttribute"]("slot",e)},get shadowRoot(){var e=i(this);return e&&e.publicRoot||null},get className(){return this.getAttribute("class")||""},set className(e){this[w+"setAttribute"]("class",e)},setAttribute(e,t){this.ownerDocument!==Pt?this[C+"setAttribute"](e,t):function(e,t,r){var n=We();return!(!n||"class"!==t||(n.setElementClass(e,r),0))}(this,e,t)||(this[C+"setAttribute"](e,t),xt(this,e))},removeAttribute(e){this[C+"removeAttribute"](e),xt(this,e)},attachShadow(e){return((e,t)=>{if(!e)throw new Error("Must provide a host.");if(!t)throw new Error("Not enough arguments.");return new St(vt,e,t)})(this,e)}}),Rt=D({blur(){var e=i(this),t=e&&e.root,r=t&&t.activeElement;r?r[w+"blur"]():this[C+"blur"]()}});xe.forEach(e=>{Rt[e]={set:function(t){var r=o(this),n=e.substring(2);r.__onCallbackListeners[e]&&this.removeEventListener(n,r.__onCallbackListeners[e]),this[w+"addEventListener"](n,t),r.__onCallbackListeners[e]=t},get(){var t=i(this);return t&&t.__onCallbackListeners[e]},configurable:!0}});var kt=D({assignedNodes(e){if("slot"===this.localName){var t=this[w+"getRootNode"]();t&&d(t)&&t._render();var r=i(this);return r&&(e&&e.flatten?r.flattenedNodes:r.assignedNodes)||[]}}}),Ht=window.document,jt=D({importNode(e,t){if(e.ownerDocument!==Ht||"template"===e.localName)return this[C+"importNode"](e,t);var r=this[C+"importNode"](e,!1);if(t)for(var n,o=e[w+"childNodes"],i=0;i{var t=e?null:qt,r=function(r){var n=(e=>window[e]&&window[e].prototype)(r);Ut[r].forEach(r=>n&&r&&T(n,r,e,t))};for(var n in Ut)r(n)};if(s.inUse){var Vt={inUse:s.inUse,patch:e=>(le(e),ae(e),e),isShadyRoot:d,enqueue:M,flush:A,flushInitial:e=>{e._flushInitial()},settings:s,filterMutations:function(e,t){var r=t.getRootNode();return e.map(function(e){var t=r===e.target.getRootNode();if(t&&e.addedNodes){var n=Array.from(e.addedNodes).filter(function(e){return r===e.getRootNode()});if(n.length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:n,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){var r=o(e);r.observer||(r.observer=new P),r.observer.callbacks.add(t);var n=r.observer;return{_callback:t,_observer:n,_node:e,takeRecords:()=>n.takeRecords()}},unobserveChildren:function(e){var t=e&&e._observer;t&&(t.callbacks.delete(e._callback),t.callbacks.size||(o(e._node).observer=null))},deferConnectionCallbacks:s.deferConnectionCallbacks,preferPerformance:s.preferPerformance,handlesDynamicScoping:!0,wrap:s.noPatch?function(e){if(d(e)||e instanceof Dt)return e;var t=Ot.get(e);return t||(t=new Dt(e),Ot.set(e,t)),t}:e=>e,Wrapper:Dt,composedPath:e=>(e.__composedPath||(e.__composedPath=me(e.target,!0)),e.__composedPath),noPatch:s.noPatch,nativeMethods:W,nativeTree:V};window.ShadyDOM=Vt,(()=>{var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?X(window.EventTarget.prototype,e):(X(Node.prototype,e),X(Window.prototype,e)),U?X(Node.prototype,["parentNode","firstChild","lastChild","previousSibling","nextSibling","childNodes","parentElement","textContent"]):K(Node.prototype,{parentNode:{get(){return J.currentNode=this,J.parentNode()}},firstChild:{get(){return J.currentNode=this,J.firstChild()}},lastChild:{get(){return J.currentNode=this,J.lastChild()}},previousSibling:{get(){return J.currentNode=this,J.previousSibling()}},nextSibling:{get(){return J.currentNode=this,J.nextSibling()}},childNodes:{get(){var e=[];J.currentNode=this;for(var t=J.firstChild();t;)e.push(t),t=J.nextSibling();return e}},parentElement:{get(){return $.currentNode=this,$.parentNode()}},textContent:{get(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),r="";e=t.nextNode();)r+=e.nodeValue;return r;default:return this.nodeValue}},set(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Y(this),(e.length>0||this.nodeType===Node.ELEMENT_NODE)&&this[q+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),X(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get(){return $.currentNode=this,$.firstChild()}},lastElementChild:{get(){return $.currentNode=this,$.lastChild()}},children:{get(){var e=[];$.currentNode=this;for(var t=$.firstChild();t;)e.push(t),t=$.nextSibling();return b(e)}},childElementCount:{get(){return this.children?this.children.length:0}}};U?(X(Element.prototype,Z),X(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&X(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&X(HTMLElement.prototype,["innerHTML"])):(K(Element.prototype,t),K(Element.prototype,{previousElementSibling:{get(){return $.currentNode=this,$.previousSibling()}},nextElementSibling:{get(){return $.currentNode=this,$.nextSibling()}},innerHTML:{get(){return B(this,e=>e[q+"childNodes"])},set(e){var t="template"===this.localName?this.content:this;Y(t);var r,n=this.localName||"div";(r=this.namespaceURI&&this.namespaceURI!==Q.namespaceURI?Q.createElementNS(this.namespaceURI,n):Q.createElement(n)).innerHTML=e;for(var o,i="template"===this.localName?r.content:r;o=i[q+"firstChild"];)t[q+"insertBefore"](o,void 0)}}})),X(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),X(Element.prototype,ee),X(HTMLElement.prototype,["focus","blur","contains"]),U&&X(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&X(window.HTMLTemplateElement.prototype,["innerHTML"]),U?X(DocumentFragment.prototype,Z):K(DocumentFragment.prototype,t),X(DocumentFragment.prototype,ee),U?(X(Document.prototype,Z),X(Document.prototype,["activeElement"])):K(Document.prototype,t),X(Document.prototype,["importNode","getElementById"]),X(Document.prototype,ee)})(),(()=>{Wt(w);var e=ht.activeElement;Object.defineProperty(document,"_activeElement",e),T(Window.prototype,It,w)})(),s.noPatch||(Wt(),function(){if(!ce&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[w+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in _e)window[C+"addEventListener"](e,function(e){e.__target||(Oe(e),Ee(e))},!0)}(),window.Event=Me,window.CustomEvent=Ae,window.MouseEvent=Pe,window.ShadowRoot=St}},494:function(e,t,r){"use strict";var n=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function o(e){var t=n.has(e),r=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&r}function i(e){var t=e.isConnected;if(void 0!==t)return t;for(var r=e;r&&!(r.__CE_isImportDocument||r instanceof Document);)r=r.parentNode||(window.ShadowRoot&&r instanceof ShadowRoot?r.host:void 0);return!(!r||!(r.__CE_isImportDocument||r instanceof Document))}function s(e,t){for(var r=t;r&&r!==e&&!r.nextSibling;)r=r.parentNode;return r&&r!==e?r.nextSibling:null}function a(e,t){return t.firstChild?t.firstChild:s(e,t)}function l(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,n=e;n;){if(n.nodeType===Node.ELEMENT_NODE){var o=n;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var d=o.import;if(d instanceof Node&&!r.has(d)){r.add(d);for(var c=d.firstChild;c;c=c.nextSibling)l(c,t,r)}n=s(e,o);continue}if("template"===i){n=s(e,o);continue}var h=o.__CE_shadowRoot;if(h)for(var u=h.firstChild;u;u=u.nextSibling)l(u,t,r)}n=a(e,n)}}function d(e,t,r){e[t]=r}var c={custom:1,failed:2};class h{constructor(){this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}setDefinition(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}localNameToDefinition(e){return this._localNameToDefinition.get(e)}constructorToDefinition(e){return this._constructorToDefinition.get(e)}addPatch(e){this._hasPatches=!0,this._patches.push(e)}patchTree(e){this._hasPatches&&l(e,e=>this.patch(e))}patch(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;tt.push(e));for(var r=0;rt.push(e));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.visitedImports||new Set,n=t.upgrade||(e=>this.upgradeElement(e)),o=[];if(l(e,e=>{if("link"===e.localName&&"import"===e.getAttribute("rel")){var t=e.import;t instanceof Node&&(t.__CE_isImportDocument=!0,t.__CE_hasRegistry=!0),t&&"complete"===t.readyState?t.__CE_documentLoadHandled=!0:e.addEventListener("load",()=>{var t=e.import;if(!t.__CE_documentLoadHandled){t.__CE_documentLoadHandled=!0;var o=new Set(r);o.delete(t),this.patchAndUpgradeTree(t,{visitedImports:o,upgrade:n})}})}else o.push(e)},r),this._hasPatches)for(var i=0;i-1&&i.attributeChangedCallback.call(e,t,r,n,o)}}class u{constructor(e,t){this._internals=e,this._document=t,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}disconnect(){this._observer&&this._observer.disconnect()}_handleMutations(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var r=0;r{this._resolve=e,this._value&&e(this._value)})}resolve(e){if(this._value)throw new Error("Already resolved.");this._value=e,this._resolve&&this._resolve(e)}toPromise(){return this._promise}}class m{constructor(e){this._elementDefinitionIsRunning=!1,this._internals=e,this._whenDefinedDeferred=new Map,this._flushCallback=(e=>e()),this._flushPending=!1,this._pendingDefinitions=[],this._documentConstructionObserver=new u(e,document)}define(e,t){if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!o(e))throw new SyntaxError("The element name '".concat(e,"' is not valid."));if(this._internals.localNameToDefinition(e))throw new Error("A custom element with name '".concat(e,"' has already been defined."));if(this._elementDefinitionIsRunning)throw new Error("A custom element is already being defined.");var r,n,i,s,a;this._elementDefinitionIsRunning=!0;try{var l=t.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");function d(e){var t=l[e];if(void 0!==t&&!(t instanceof Function))throw new Error("The '".concat(e,"' callback must be a function."));return t}r=d("connectedCallback"),n=d("disconnectedCallback"),i=d("adoptedCallback"),s=d("attributeChangedCallback"),a=t.observedAttributes||[]}catch(e){return}finally{this._elementDefinitionIsRunning=!1}var c={localName:e,constructorFunction:t,connectedCallback:r,disconnectedCallback:n,adoptedCallback:i,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]};this._internals.setDefinition(e,c),this._pendingDefinitions.push(c),this._flushPending||(this._flushPending=!0,this._flushCallback(()=>this._flush()))}upgrade(e){this._internals.patchAndUpgradeTree(e)}_flush(){if(!1!==this._flushPending){this._flushPending=!1;for(var e=this._pendingDefinitions,t=[],r=new Map,n=0;n{if(void 0===e.__CE_state){var n=e.localName,o=r.get(n);o?o.push(e):this._internals.localNameToDefinition(n)&&t.push(e)}}});for(var o=0;o0;){for(var i=e.shift(),s=i.localName,a=r.get(i.localName),l=0;lt.localName===e)&&r.resolve(void 0),r.toPromise()}polyfillWrapFlushCallback(e){this._documentConstructionObserver.disconnect();var t=this._flushCallback;this._flushCallback=(r=>e(()=>t(r)))}}window.CustomElementRegistry=m,m.prototype.define=m.prototype.define,m.prototype.upgrade=m.prototype.upgrade,m.prototype.get=m.prototype.get,m.prototype.whenDefined=m.prototype.whenDefined,m.prototype.polyfillWrapFlushCallback=m.prototype.polyfillWrapFlushCallback;var f={Document_createElement:window.Document.prototype.createElement,Document_createElementNS:window.Document.prototype.createElementNS,Document_importNode:window.Document.prototype.importNode,Document_prepend:window.Document.prototype.prepend,Document_append:window.Document.prototype.append,DocumentFragment_prepend:window.DocumentFragment.prototype.prepend,DocumentFragment_append:window.DocumentFragment.prototype.append,Node_cloneNode:window.Node.prototype.cloneNode,Node_appendChild:window.Node.prototype.appendChild,Node_insertBefore:window.Node.prototype.insertBefore,Node_removeChild:window.Node.prototype.removeChild,Node_replaceChild:window.Node.prototype.replaceChild,Node_textContent:Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Element_attachShadow:window.Element.prototype.attachShadow,Element_innerHTML:Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Element_getAttribute:window.Element.prototype.getAttribute,Element_setAttribute:window.Element.prototype.setAttribute,Element_removeAttribute:window.Element.prototype.removeAttribute,Element_getAttributeNS:window.Element.prototype.getAttributeNS,Element_setAttributeNS:window.Element.prototype.setAttributeNS,Element_removeAttributeNS:window.Element.prototype.removeAttributeNS,Element_insertAdjacentElement:window.Element.prototype.insertAdjacentElement,Element_insertAdjacentHTML:window.Element.prototype.insertAdjacentHTML,Element_prepend:window.Element.prototype.prepend,Element_append:window.Element.prototype.append,Element_before:window.Element.prototype.before,Element_after:window.Element.prototype.after,Element_replaceWith:window.Element.prototype.replaceWith,Element_remove:window.Element.prototype.remove,HTMLElement:window.HTMLElement,HTMLElement_innerHTML:Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),HTMLElement_insertAdjacentElement:window.HTMLElement.prototype.insertAdjacentElement,HTMLElement_insertAdjacentHTML:window.HTMLElement.prototype.insertAdjacentHTML};var v,_=new class{},g=function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a0&&i(this)){n=new Array(s);for(var a=0;a{e!==this&&o.push(e)})),r.set.call(this,t),o)for(var s=0;s0;)f.Node_removeChild.call(r,r.childNodes[0]);for(var o=t?n.content:n;o.childNodes.length>0;)f.Node_appendChild.call(r,o.childNodes[0])}})}),d(Element.prototype,"setAttribute",function(t,r){if(this.__CE_state!==c.custom)return f.Element_setAttribute.call(this,t,r);var n=f.Element_getAttribute.call(this,t);f.Element_setAttribute.call(this,t,r),r=f.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,n,r,null)}),d(Element.prototype,"setAttributeNS",function(t,r,n){if(this.__CE_state!==c.custom)return f.Element_setAttributeNS.call(this,t,r,n);var o=f.Element_getAttributeNS.call(this,t,r);f.Element_setAttributeNS.call(this,t,r,n),n=f.Element_getAttributeNS.call(this,t,r),e.attributeChangedCallback(this,r,o,n,t)}),d(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==c.custom)return f.Element_removeAttribute.call(this,t);var r=f.Element_getAttribute.call(this,t);f.Element_removeAttribute.call(this,t),null!==r&&e.attributeChangedCallback(this,t,r,null,null)}),d(Element.prototype,"removeAttributeNS",function(t,r){if(this.__CE_state!==c.custom)return f.Element_removeAttributeNS.call(this,t,r);var n=f.Element_getAttributeNS.call(this,t,r);f.Element_removeAttributeNS.call(this,t,r);var o=f.Element_getAttributeNS.call(this,t,r);n!==o&&e.attributeChangedCallback(this,r,n,o,t)}),f.HTMLElement_insertAdjacentElement?r(HTMLElement.prototype,f.HTMLElement_insertAdjacentElement):f.Element_insertAdjacentElement?r(Element.prototype,f.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),f.HTMLElement_insertAdjacentHTML?n(HTMLElement.prototype,f.HTMLElement_insertAdjacentHTML):f.Element_insertAdjacentHTML?n(Element.prototype,f.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),g(e,Element.prototype,{prepend:f.Element_prepend,append:f.Element_append}),function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,h=/[[.:#*]/,u=":host",p=":root",m="::slotted",f=new RegExp("^(".concat(m,")")),v=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,_=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,g=/(.*):dir\((?:(ltr|rtl))\)/,y=".",E=":",N="class",S="should_not_match",b=/:(?:matches|any|-(?:webkit|moz)-any)/,C="",w=new class{get SCOPE_NAME(){return s}dom(e,t,r){this._transformDom(e,e=>{this.element(e,t||"",r)})}domAddScope(e,t){this._transformDom(e,e=>{this.element(e,t||"")})}_transformDom(e,t){var r;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var n=e;r=(n.content||n._content||n).childNodes}else r=e.children||e.childNodes;if(r)for(var o=0;o{this.element(e,t,!0),this.element(e,r)})}domRemoveScope(e,t){this._transformDom(e,e=>{this.element(e,t||"",!0)})}elementStyles(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===s)if(o.d||"shady"===n)s=i.p(t,r);else{var a=i.i(e),l=a.is,d=a.typeExtension;s=this.css(t,l,d,r)+"\n\n"}return s.trim()}css(e,t,r,n){var o=this._calcHostScope(t,r);t=this._calcElementScope(t);var s=this;return i.p(e,function(e){e.isScoped||(s.rule(e,t,o),e.isScoped=!0),n&&n(e,t,o)})}_calcElementScope(e){return e?y+e:""}_calcHostScope(e,t){return t?"[is=".concat(e,"]"):e}rule(e,t,r){this._transformRule(e,this._transformComplexSelector,t,r)}_transformRule(e,t,r,n){e.selector=e.transformedSelector=this._transformRuleCss(e,t,r,n)}_transformRuleCss(e,t,r,n){var o=i.o(e.selector);if(!i.j(e))for(var s,a=0,l=o.length;aBoolean(e)).join(d)}_twiddleNthPlus(e){return e.replace(a,(e,t,r)=>(r.indexOf("+")>-1?r=r.replace(/\+/g,"___"):r.indexOf("___")>-1&&(r=r.replace(/___/g,"+")),":".concat(t,"(").concat(r,")")))}_preserveMatchesPseudo(e){for(var t,r=[];t=e.match(b);){var n=t.index,o=i.e(e,n);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var s=e.slice(n,o+1);e=e.replace(s,C),r.push(s)}return{selector:e,matches:r}}_replaceMatchesPseudo(e,t){var r=e.split(C);return t.reduce((e,t,n)=>e+t+r[n+1],r[0])}_transformComplexSelector(e,t,r){var n=!1;e=e.trim();var o=a.test(e);o&&(e=e.replace(a,(e,t,r)=>":".concat(t,"(").concat(r.replace(/\s/g,""),")")),e=this._twiddleNthPlus(e));var i,s=b.test(e);if(s){var l=this._preserveMatchesPseudo(e);e=l.selector,i=l.matches}return e=(e=e.replace(f,"".concat(u," $1"))).replace(c,(e,o,i)=>{if(!n){var s=this._transformCompoundSelector(i,o,t,r);n=n||s.stop,o=s.combinator,i=s.value}return o+i}),s&&(e=this._replaceMatchesPseudo(e,i)),o&&(e=this._twiddleNthPlus(e)),e}_transformCompoundSelector(e,t,r,n){var o=e.indexOf(m);e.indexOf(u)>=0?e=this._transformHostSelector(e,n):0!==o&&(e=r?this._transformSimpleSelector(e,r):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(_,(e,t)=>" > ".concat(t)))),{value:e=e.replace(g,(e,t,r)=>'[dir="'.concat(r,'"] ').concat(t,", ").concat(t,'[dir="').concat(r,'"]')),combinator:t,stop:i}}_transformSimpleSelector(e,t){for(var r=e.split(/(\[.+?\])/),n=[],o=0;o=0)e=this.valueForProperties(e,t);else{var r=this;e=i.l(e,function(e,n,o,i){if(!n)return e+i;var s=r.valueForProperty(t[n],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=r.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}valueForProperties(e,t){for(var r,n,o=e.split(";"),i=0;i{e.propertyInfo||this.decorateRule(e);var o=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&o&&M.call(t,o)&&(this.collectProperties(e,r),function(e,t){var r=parseInt(e/32,10),n=1< *"===d||"html"===d,h=0===d.indexOf(":host")&&!c;if("shady"===r&&(h=!(c=d===l+" > *."+l||-1!==d.indexOf("html"))&&0===d.indexOf(l)),c||h){var u=l;h&&(t.transformedSelector||(t.transformedSelector=w._transformRuleCss(t,w._transformComplexSelector,w._calcElementScope(s),l)),u=t.transformedSelector||l),n({selector:u,isHost:h,isRoot:c})}}}hostAndRootPropertiesForScope(e,t,r){var n={},o={};return i.f(t,t=>{this.whenHostOrRootRule(e,t,r,r=>{var i=e._element||e;M.call(i,r.selector)&&(r.isHost?this.collectProperties(t,n):this.collectProperties(t,o))})},null,!0),{rootProps:o,hostProps:n}}transformStyles(e,t,r){var n=this,s=i.i(e),a=s.is,l=s.typeExtension,d=w._calcHostScope(a,l),c=e.extends?"\\"+d.slice(0,-1)+"\\]":d,h=new RegExp(T.c+c+T.d),u=O.get(e),p=u.styleRules,m=u.cssBuild,f=this._elementKeyframeTransforms(e,p,r);return w.elementStyles(e,p,function(e){n.applyProperties(e,t),o.d||i.j(e)||!e.cssText||(n.applyKeyframeTransforms(e,f),n._scopeSelector(e,h,d,r))},m)}_elementKeyframeTransforms(e,t,r){var n=t._keyframes,i={};if(!o.d&&n)for(var s=0,a=n[s];s-1&&(n.textContent=s),i.b(n,null,a.placeholder)):s&&(n=i.a(s,r,null,a.placeholder)),n&&(n._useCount=n._useCount||0,a.customStyle!=n&&n._useCount++,a.customStyle=n),n}applyCustomStyle(e,t){var r=i.m(e),o=this;e.textContent=i.p(r,function(e){var r=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(r=Object(n.c)(r),e.cssText=o.valueForProperties(r,t))})}},L={};function R(e){return L[e]||null}function k(e){L[e]||(L[e]=Object(i.c)(e))}var H=window.customElements;if(H&&!o.d&&!o.b){var j=H.define;H.define=((e,t,r)=>{k(e),j.call(H,e,t,r)})}var I=function(){};var F=new RegExp("".concat(w.SCOPE_NAME,"\\s*([^\\s]*)"));function B(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(F);return t?t[1]:""}function U(e){var t=Object(i.q)(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var r=t.host;return r?Object(i.i)(r).is:""}function q(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(w.SCOPE_NAME,")")),r=0;r{V.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)G(document);else{var z=()=>{G(document.body)};window.HTMLImports?window.HTMLImports.whenReady(z):requestAnimationFrame(function(){if("loading"===document.readyState){document.addEventListener("readystatechange",function e(){z(),document.removeEventListener("readystatechange",e)})}else z()})}I=function(){W(V.takeRecords())}}var K=r(397),X=r(436),J=r(361),$=(r(426),{}),Q=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.cache={},this.typeMax=e}_validate(e,t,r){for(var n=0;nthis.typeMax&&o.shift(),this.cache[e]=o}fetch(e,t,r){var n=this.cache[e];if(n)for(var o=n.length-1;o>=0;o--){var i=n[o];if(this._validate(i,t,r))return i}}};class Y{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;var e=new n.a;e.rules=[],this._documentOwnerStyleInfo=O.set(this._documentOwner,new O(e)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}flush(){I()}_generateScopeSelector(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}getStyleAst(e){return i.m(e)}styleAstToString(e){return i.p(e)}_gatherStyles(e){return i.g(e.content)}prepareTemplate(e,t,r){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,r)}prepareTemplateStyles(e,t,r){if(!e._prepared&&!o.b){o.d||k(t),e._prepared=!0,e.name=t,e.extends=r,K.a[t]=e;var s=i.h(e),a=i.k(s),l={is:t,extends:r},d=this._gatherStyles(e)+($[t]||"");if(this._ensure(),!a){var c=!s&&Object(J.a)(d),h=Object(n.b)(d);c&&o.c&&this._applyShim&&this._applyShim.transformRules(h,t),e._styleAst=h}var u=[];if(o.c||(u=x.decorateStyles(e._styleAst)),!u.length||o.c){var p=o.d?e.content:null,m=R(t),f=this._generateStaticStyle(l,e._styleAst,p,m,s,a?d:"");e._style=f}e._ownPropertyNames=u}}prepareAdoptedCssText(e,t){$[t]=e.join(" ")}prepareTemplateDom(e,t){if(!o.b){var r=i.h(e);o.d||"shady"===r||e._domPrepared||(e._domPrepared=!0,w.domAddScope(e.content,t))}}_generateStaticStyle(e,t,r,n,o,s){return(s=w.elementStyles(e,t,null,o,s)).length?i.a(s,e.is,r,n):null}_prepareHost(e){var t=i.i(e),r=t.is,n=t.typeExtension,o=R(r),s=K.a[r];if(s){var a=s._styleAst,l=s._ownPropertyNames,d=i.h(s),c=new O(a,o,l,r,n,d);return O.set(e,c),c}}_ensureApplyShim(){this._applyShim||window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=X.a)}_ensureCustomStyleInterface(){this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=(e=>{this.transformCustomStyleForDocument(e)}),this._customStyleInterface.validateCallback=(()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})}))}_ensure(){this._ensureApplyShim(),this._ensureCustomStyleInterface()}flushCustomStyles(){if(!o.b&&(this._ensure(),this._customStyleInterface)){var e=this._customStyleInterface.processStyles();this._customStyleInterface.enqueued&&(i.k(this._documentOwnerStyleInfo.cssBuild)||(o.c?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(e):(this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(e),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}styleElement(e,t){if(o.b){if(t){O.get(e)||O.set(e,new O(null));var r=O.get(e);this._mixOverrideStyleProps(r,t),this.styleElementNativeVariables(e,r)}}else{var n=O.get(e)||this._prepareHost(e);n&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(n,t),o.c?this.styleElementNativeVariables(e,n):this.styleElementShimVariables(e,n))}}_mixOverrideStyleProps(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}styleElementShimVariables(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}styleElementNativeVariables(e,t){var r=i.i(e).is;t.overrideStyleProperties&&Object(J.c)(e,t.overrideStyleProperties);var n=K.a[r];if((n||this._isRootOwner(e))&&(!n||!i.d(n))&&n&&n._style&&!X.c(n)){if(X.d(n)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(n._styleAst,r),n._style.textContent=w.elementStyles(e,t.styleRules),X.b(n)),o.d){var s=e.shadowRoot;if(s){var a=s.querySelector("style");a&&(a.textContent=w.elementStyles(e,t.styleRules))}}t.styleRules=n._styleAst}}_styleOwnerForNode(e){var t=i.q(e).getRootNode().host;return t?O.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}_isRootOwner(e){return e===this._documentOwner}_applyStyleProperties(e,t){var r=i.i(e).is,n=Q.fetch(r,t.styleProperties,t.ownStylePropertyNames),s=n&&n.scopeSelector,a=n?n.styleElement:null,l=t.scopeSelector;t.scopeSelector=s||this._generateScopeSelector(r);var d=x.applyElementStyle(e,t.styleProperties,t.scopeSelector,a);return o.d||x.applyElementScopeSelector(e,t.scopeSelector,l),n||Q.store(r,t.styleProperties,d,t.scopeSelector),d}_updateProperties(e,t){var r=this._styleOwnerForNode(e),n=O.get(r),o=n.styleProperties;r===this._documentOwner||o||(this._updateProperties(r,n),o=n.styleProperties);var i=Object.create(o||null),s=x.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=x.propertyDataFromStyles(n.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),x.reify(i),t.styleProperties=i}_mixinOverrideStyles(e,t){for(var r in t){var n=t[r];(n||0===n)&&(e[r]=n)}}styleDocument(e){this.styleSubtree(this._documentOwner,e)}styleSubtree(e,t){var r=i.q(e),n=r.shadowRoot;(n||this._isRootOwner(e))&&this.styleElement(e,t);var o=n&&(n.children||n.childNodes);if(o)for(var s=0;s{o.d?w.normalizeRootSelector(e):w.documentRule(e),o.c&&""===t&&(this._ensure(),this._applyShim&&this._applyShim.transformRule(e))}),o.c?e.textContent=i.p(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}_revalidateApplyShim(e){if(o.c&&this._applyShim){var t=i.m(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=i.p(t)}}getComputedStyleValue(e,t){var r;o.c||(r=(O.get(e)||O.get(this._styleOwnerForNode(e))).styleProperties[t]);return(r=r||window.getComputedStyle(e).getPropertyValue(t))?r.trim():""}setElementClass(e,t){var r=i.q(e).getRootNode(),n=t?t.split(/\s/):[],s=r.host&&r.host.localName;if(!s){var a=e.getAttribute("class");if(a)for(var l=a.split(/\s/),d=0;do.d},nativeCss:{get:()=>o.c}});var Z,ee,te=new Y;window.ShadyCSS&&(Z=window.ShadyCSS.ApplyShim,ee=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:te,prepareTemplate(e,t,r){te.flushCustomStyles(),te.prepareTemplate(e,t,r)},prepareTemplateDom(e,t){te.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,r){te.flushCustomStyles(),te.prepareTemplateStyles(e,t,r)},styleSubtree(e,t){te.flushCustomStyles(),te.styleSubtree(e,t)},styleElement(e){te.flushCustomStyles(),te.styleElement(e)},styleDocument(e){te.flushCustomStyles(),te.styleDocument(e)},flushCustomStyles(){te.flushCustomStyles()},getComputedStyleValue:(e,t)=>te.getComputedStyleValue(e,t),nativeCss:o.c,nativeShadow:o.d,cssBuild:o.a,disableRuntime:o.b},Z&&(window.ShadyCSS.ApplyShim=Z),ee&&(window.ShadyCSS.CustomStyleInterface=ee)}}]); -//# sourceMappingURL=3.1d59d1aab4f65c5fae79.js.map \ No newline at end of file diff --git a/packages/ui/dist/3.1d59d1aab4f65c5fae79.js.LICENSE b/packages/ui/dist/3.1d59d1aab4f65c5fae79.js.LICENSE deleted file mode 100644 index 3be09be03..000000000 --- a/packages/ui/dist/3.1d59d1aab4f65c5fae79.js.LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** - * @license - * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt - */ - -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/3.1d59d1aab4f65c5fae79.js.map b/packages/ui/dist/3.1d59d1aab4f65c5fae79.js.map deleted file mode 100644 index 58f8fc04b..000000000 --- a/packages/ui/dist/3.1d59d1aab4f65c5fae79.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"3.1d59d1aab4f65c5fae79.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/3.35cde7a725bdcd586a2b.js b/packages/ui/dist/3.35cde7a725bdcd586a2b.js deleted file mode 100644 index ada70074c..000000000 --- a/packages/ui/dist/3.35cde7a725bdcd586a2b.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 3.35cde7a725bdcd586a2b.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{505:function(e,t,r){"use strict";class n{constructor(){this.root=null,this.publicRoot=null,this.dirty=!1,this.observer=null,this.assignedNodes=null,this.assignedSlot=null,this._previouslyAssignedNodes=null,this._prevAssignedSlot=null,this.flattenedNodes=null,this.ownerShadyRoot=void 0,this.parentNode=void 0,this.firstChild=void 0,this.lastChild=void 0,this.previousSibling=void 0,this.nextSibling=void 0,this.childNodes=void 0,this.__outsideAccessors=!1,this.__insideAccessors=!1,this.__onCallbackListeners={}}toJSON(){return{}}}function o(e){return e.__shady||(e.__shady=new n),e.__shady}function i(e){return e&&e.__shady}var s=window.ShadyDOM||{};s.hasNativeShadowDOM=Boolean(Element.prototype.attachShadow&&Node.prototype.getRootNode);var a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");s.hasDescriptors=Boolean(a&&a.configurable&&a.get),s.inUse=s.force||!s.hasNativeShadowDOM,s.noPatch=s.noPatch||!1,s.preferPerformance=s.preferPerformance;var l=e=>{var t=i(e);return t&&void 0!==t.firstChild},d=e=>Boolean("ShadyRoot"===e._localName),c=e=>{var t=i(e),r=t&&t.root;return r&&r._hasInsertionPoint()},h=Element.prototype,u=h.matches||h.matchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector||h.webkitMatchesSelector,p=(e,t)=>u.call(e,t),m=document.createTextNode(""),f=0,v=[];new MutationObserver(()=>{for(;v.length;)try{v.shift()()}catch(e){throw m.textContent=f++,e}}).observe(m,{characterData:!0});var _,g=e=>{v.push(e),m.textContent=f++},y=Boolean(document.contains),E=(e,t)=>{for(;t;){if(t==e)return!0;t=t[w+"parentNode"]}return!1},N=e=>e.getAttribute("id")||e.getAttribute("name"),S=e=>"length"!==e&&isNaN(e),b=e=>{for(var t=e.length-1;t>=0;t--){var r=e[t],n=N(r);n&&S(n)&&(e[n]=r)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(S(t)&&e[t])return e[t];for(var r of e){if(N(r)==t)return r}return null},e},C="__shady_native_",w="__shady_",T=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3?arguments[3]:void 0;for(var o in t){var i=t[o];if(!(n&&n.indexOf(o)>=0)){i.configurable=!0;var s=r+o;if(i.value)e[s]=i.value;else try{Object.defineProperty(e,s,i)}catch(e){}}}},D=(window.customElements&&window.customElements.nativeHTMLElement||HTMLElement,e=>{var t={};return Object.getOwnPropertyNames(e).forEach(r=>{t[r]=Object.getOwnPropertyDescriptor(e,r)}),t}),O=[];function M(e){_||(_=!0,g(A)),O.push(e)}function A(){_=!1;for(var e=Boolean(O.length);O.length;)O.shift()();return e}A.list=O;class P{constructor(){this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}schedule(){this._scheduled||(this._scheduled=!0,g(()=>{this.flush()}))}flush(){if(this._scheduled){this._scheduled=!1;var e=this.takeRecords();e.length&&this.callbacks.forEach(function(t){t(e)})}}takeRecords(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]}}var x=/[&\u00A0"]/g,L=/[&\u00A0<>]/g;function R(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function k(e){return e.replace(x,R)}function H(e){for(var t={},r=0;r";case Node.TEXT_NODE:var l=e.data;return t&&j[t.localName]?l:function(e){return e.replace(L,R)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}}function B(e,t){"template"===e.localName&&(e=e.content);for(var r,n="",o=t?t(e):e.childNodes,i=0,s=o.length;i{V[e]=(t=>t[q+e])},z=(e,t)=>{W[e]||(W[e]=t)},K=(e,t)=>{for(var r in T(e,t,q),t)G(r)},X=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0;r{for(var t;t=e[q+"firstChild"];)e[q+"removeChild"](t)},Z=["firstElementChild","lastElementChild","children","childElementCount"],ee=["querySelector","querySelectorAll"],te=D({get childNodes(){return this[w+"childNodes"]},get firstChild(){return this[w+"firstChild"]},get lastChild(){return this[w+"lastChild"]},get textContent(){return this[w+"textContent"]},set textContent(e){this[w+"textContent"]=e},get childElementCount(){return this[w+"childElementCount"]},get children(){return this[w+"children"]},get firstElementChild(){return this[w+"firstElementChild"]},get lastElementChild(){return this[w+"lastElementChild"]},get innerHTML(){return this[w+"innerHTML"]},set innerHTML(e){return this[w+"innerHTML"]=e},get shadowRoot(){return this[w+"shadowRoot"]}}),re=D({get parentElement(){return this[w+"parentElement"]},get parentNode(){return this[w+"parentNode"]},get nextSibling(){return this[w+"nextSibling"]},get previousSibling(){return this[w+"previousSibling"]},get nextElementSibling(){return this[w+"nextElementSibling"]},get previousElementSibling(){return this[w+"previousElementSibling"]},get className(){return this[w+"className"]},set className(e){return this[w+"className"]=e}});for(var ne in te)te[ne].enumerable=!1;for(var oe in re)re[oe].enumerable=!1;var ie,se,ae,le,de=s.hasDescriptors||s.noPatch,ce=de?function(){}:function(e){var t=o(e);t.__outsideAccessors||(t.__outsideAccessors=!0,T(e,re))},he=de?function(){}:function(e){var t=o(e);t.__insideAccessors||(t.__insideAccessors=!0,T(e,te))},ue="__eventWrappers".concat(Date.now()),pe=(ie=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?e=>ie.get.call(e):null,me=(se=!1,ae={get capture(){se=!0}},le=(()=>{}),window.addEventListener("test",le,ae),window.removeEventListener("test",le,ae),se),fe=e=>{var t,r,n,o;return e&&"object"==typeof e?(t=Boolean(e.capture),r=Boolean(e.once),n=Boolean(e.passive),o=e.__shadyTarget):(t=Boolean(e),r=!1,n=!1),{shadyTarget:o,capture:t,once:r,passive:n,nativeEventOptions:me?e:t}},ve={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},_e={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ge(e){return e instanceof Node?e[w+"getRootNode"]():e}function ye(e,t){for(var r=[],n=e,o=ge(e);n;)r.push(n),n=n[w+"assignedSlot"]?n[w+"assignedSlot"]:n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host&&(t||n!==o)?n.host:n[w+"parentNode"];return r[r.length-1]===document&&r.push(window),r}function Ee(e,t){if(!d)return e;for(var r,n,o,i,s=ye(e,!0),a=t,l=0;l-1)return r}function Ne(e){var t=function(t,r){var n=new e(t,r);return n.__composed=r&&Boolean(r.composed),n};return t.__proto__=e,t.prototype=e.prototype,t}var Se={focus:!0,blur:!0};function be(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function Ce(e,t,r){var n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][r];if(n)for(var o,i=0;o=n[i];i++){if(be(e)&&e.target===e.relatedTarget)return;if(o.call(t,e),e.__immediatePropagationStopped)return}}function we(e){var t,r,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return t},configurable:!0});for(var o=n.length-1;o>=0;o--)if(Ce(e,t=n[o],"capture"),e.__propagationStopped)return;Object.defineProperty(e,"eventPhase",{get:()=>Event.AT_TARGET});for(var s=0;s-1)return}else t[ue]=[];var p=function(r){var n,o;if((i&&this[w+"removeEventListener"](e,t,l),r.__target||Le(r),h!==this&&(n=Object.getOwnPropertyDescriptor(r,"currentTarget"),Object.defineProperty(r,"currentTarget",{get:()=>h,configurable:!0})),r.__previousCurrentTarget=r.currentTarget,!d(o=h)&&"slot"!==o.localName||-1!=r.composedPath().indexOf(h))&&(r.composed||r.composedPath().indexOf(h)>-1)){if(be(r)&&r.target===r.relatedTarget)return void(r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation());if(!(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===h||h instanceof Window))return;var s="function"===c?t.call(h,r):t.handleEvent&&t.handleEvent(r);return h!==this&&(n?(Object.defineProperty(r,"currentTarget",n),n=null):delete r.currentTarget),s}};t[ue].push({node:h,type:e,capture:o,once:i,passive:s,wrapperFn:p}),Se[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(p)):this[C+"addEventListener"](e,p,l)}}}function Me(e,t,r){if(t){var n=fe(r),o=n.capture,i=n.once,s=n.passive,a=n.shadyTarget,l=n.nativeEventOptions;if(_e[e])return this[C+"removeEventListener"](e,t,l);var d=a||this,c=void 0,h=function(e){var t=null;try{t=e[ue]}catch(e){}return t}(t);if(h){var u=De(h,d,e,o,i,s);u>-1&&(c=h.splice(u,1)[0].wrapperFn,h.length||(t[ue]=void 0))}if(this[C+"removeEventListener"](e,c||t,l),c&&Se[e]&&this.__handlers&&this.__handlers[e]){var p=this.__handlers[e][o?"capture":"bubble"],m=p.indexOf(c);m>-1&&p.splice(m,1)}}}var Ae=D({get composed(){return void 0===this.__composed&&(pe?this.__composed="focusin"===this.type||"focusout"===this.type||pe(this):!1!==this.isTrusted&&(this.__composed=ve[this.type])),this.__composed||!1},composedPath(){return this.__composedPath||(this.__composedPath=ye(this.__target,this.composed)),this.__composedPath},get target(){return Ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=ye(this.__relatedTarget,!0)),Ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation(){Event.prototype.stopImmediatePropagation.call(this),this.__immediatePropagationStopped=!0,this.__propagationStopped=!0}}),Pe="__shady_patchedProto",xe="__shady_sourceProto";function Le(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,s.hasDescriptors){var t=Object.getPrototypeOf(e);if(!Object.hasOwnProperty(t,Pe)){var r=Object.create(t);r[xe]=t,T(r,Ae),t[Pe]=r}e.__proto__=t[Pe]}else T(e,Ae)}var Re=Ne(Event),ke=Ne(CustomEvent),He=Ne(MouseEvent);var Ie=Object.getOwnPropertyNames(Document.prototype).filter(e=>"on"===e.substring(0,2));function je(e,t,r){return{index:e,removed:t,addedCount:r}}var Fe=0,Be=1,Ue=2,qe=3;function We(e,t,r,n,o,i){var s,a=0,l=0,d=Math.min(r-t,i-o);if(0==t&&0==o&&(a=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var i=e[t-1][r-1],s=e[t-1][r],a=e[t][r-1],l=void 0;(l=s{var t=o(e);if(void 0===t.firstChild){t.childNodes=null;var r=t.firstChild=e[C+"firstChild"]||null;t.lastChild=e[C+"lastChild"]||null,he(e);for(var n,i=r;i;i=i[C+"nextSibling"]){var s=o(i);s.parentNode=e,s.nextSibling=i[C+"nextSibling"]||null,s.previousSibling=n||null,n=i,ce(i)}}},Ke=null;function Xe(){return Ke||(Ke=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Ke||null}function Je(e,t){var r=Xe();r&&r.unscopeNode(e,t)}function $e(e,t,r){Xe()&&(r&&Je(e,r),function(e,t){var r=Xe();r&&r.scopeNode(e,t)}(e,t))}function Qe(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Xe();return t?t.currentScopeForNode(e):""}function Ye(e,t){if(e){e.nodeType===Node.ELEMENT_NODE&&t(e);for(var r,n=e[w+"childNodes"],o=0;o0||this.nodeType===Node.ELEMENT_NODE)&&this[w+"insertBefore"](document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore(e,t){if(this.ownerDocument!==Ze&&e.ownerDocument!==Ze)return this[C+"insertBefore"](e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var r=i(t),n=r&&r.parentNode;if(void 0!==n&&n!==this||void 0===n&&t[C+"parentNode"]!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;var s,a=[],h=Pt(this),u=h?h.host.localName:Qe(this),p=e[w+"parentNode"];if(p){s=Qe(e);var m=Boolean(h)||!Pt(e)||et&&void 0!==this.__noInsertionPoint;p[w+"removeChild"](e,m)}var f=!0,v=(!et||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,r){var n=Xe();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var o=!0,i=t[w+"childNodes"],s=0;o&&s{_&&"slot"===e.localName&&a.push(e),v&&$e(e,u,s)})),("slot"===this.localName||a.length)&&(a.length&&h._addSlots(a),h&&h._asyncRender()),l(this)){((e,t,r)=>{he(t);var n=o(t);if(void 0!==n.firstChild&&(n.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var i=e[w+"childNodes"],s=0;s1&&void 0!==arguments[1]&&arguments[1];if(this.ownerDocument!==Ze)return this[C+"removeChild"](e);if(e[w+"parentNode"]!==this)throw Error("The node to be removed is not a child of this node: "+e);var n=Pt(e),s=n&&n._removeContainedSlots(e),a=i(this);if(l(this)&&(((e,t)=>{var r=o(e),n=o(t);e===n.firstChild&&(n.firstChild=r.nextSibling),e===n.lastChild&&(n.lastChild=r.previousSibling);var i=r.previousSibling,s=r.nextSibling;i&&(o(i).nextSibling=s),s&&(o(s).previousSibling=i),r.parentNode=r.previousSibling=r.nextSibling=void 0,void 0!==n.childNodes&&(n.childNodes=null)})(e,this),c(this)&&(a.root._asyncRender(),t=!0)),Xe()&&!r&&n){var h=Qe(e);Ye(e,e=>{Je(e,h)})}if(ot(e),n){var u=this&&"slot"===this.localName;u&&(t=!0),(s||u)&&n._asyncRender()}if(!t){var p=d(this)?this.host:this;(!a.root&&"slot"!==e.localName||p===e[C+"parentNode"])&&p[C+"removeChild"](e)}return it(this,null,e),e},replaceChild(e,t){return this[w+"insertBefore"](e,t),this[w+"removeChild"](t),e},cloneNode(e){if("template"==this.localName)return this[C+"cloneNode"](e);var t=this[C+"cloneNode"](!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE)for(var r,n=this[w+"childNodes"],o=0;oe[w+"getRootNode"]()==n)}return at(this,function(t){return p(t,e)})}}),ut=s.preferPerformance&&!s.noPatch?Object.assign({},ct):ct;Object.assign(ct,ht);var pt=D({getElementById(e){return""===e?null:at(this,function(t){return t.id==e},function(e){return Boolean(e)})[0]||null}});var mt,ft,vt=D({get activeElement(){var e=s.hasDescriptors?document[C+"activeElement"]:document.activeElement;if(!e||!e.nodeType)return null;var t=!!d(this);if(this!==document){if(!t)return null;if(this.host===e||!this.host[C+"contains"](e))return null}for(var r=Pt(e);r&&r!==this;)e=r.host,r=Pt(e);return this===document?r?null:e:r===this?e:null}}),_t=document.implementation.createHTMLDocument("inert"),gt=D({get innerHTML(){return l(this)?B("template"===this.localName?this.content:this,e=>e[w+"childNodes"]):this[C+"innerHTML"]},set innerHTML(e){if("template"===this.localName)this[C+"innerHTML"]=e;else{nt(this);var t,r,n=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==_t.namespaceURI?_t.createElementNS(this.namespaceURI,n):_t.createElement(n),s.hasDescriptors?t[C+"innerHTML"]=e:t.innerHTML=e;r=t[w+"firstChild"];)this[w+"insertBefore"](r)}}}),yt=D({addEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=r.__shadyTarget||this,this.host[w+"addEventListener"](e,t,r)},removeEventListener(e,t,r){"object"!=typeof r&&(r={capture:Boolean(r)}),r.__shadyTarget=r.__shadyTarget||this,this.host[w+"removeEventListener"](e,t,r)}}),Et=(e,t)=>{T(e,yt,t),T(e,vt,t),T(e,gt,t),T(e,ct,t),s.noPatch&&!t?(T(e,st,t),T(e,pt,t)):s.hasDescriptors||(T(e,re),T(e,te))},Nt={},St="__catchall",bt="ShadyRoot",Ct="closed",wt=s.deferConnectionCallbacks&&"loading"===document.readyState;function Tt(e){var t=[];do{t.unshift(e)}while(e=e[w+"parentNode"]);return t}class Dt{constructor(e,t,r){if(e!==Nt)throw new TypeError("Illegal constructor");this._localName=bt,this.host=t,this.mode=r&&r.mode,ze(t);var n=o(t);n.root=this,n.publicRoot=this.mode!==Ct?this:null;var i=o(this);if(i.firstChild=i.lastChild=i.parentNode=i.nextSibling=i.previousSibling=null,i.childNodes=[],this._renderPending=!1,this._hasRendered=!1,this._slotList=null,this._slotMap=null,this._pendingSlots=null,s.preferPerformance)for(var a;a=t[C+"firstChild"];)t[C+"removeChild"](a);else this._asyncRender()}_asyncRender(){this._renderPending||(this._renderPending=!0,M(()=>this._render()))}_getPendingDistributionRoot(){for(var e,t=this;t;)t._renderPending&&(e=t),t=t._getDistributionParent();return e}_getDistributionParent(){var e=this.host[w+"getRootNode"]();if(d(e)){var t=i(this.host);return t&&t.__childSlotCount>0?e:void 0}}_render(){var e=this._renderPending&&this._getPendingDistributionRoot();e&&e._renderSelf()}_flushInitial(){!this._hasRendered&&this._renderPending&&this._render()}_renderSelf(){var e=wt;if(wt=!0,this._renderPending=!1,this._slotList&&(this._distribute(),this._compose()),!s.preferPerformance&&!this._hasRendered)for(var t=this.host[w+"childNodes"],r=0,n=t.length;rs.assignedNodes.length&&(s.dirty=!0)}s.dirty&&(s.dirty=!1,this._fireSlotChange(o))}}_distributeNodeToSlot(e,t){var r=o(e),n=r._prevAssignedSlot;r._prevAssignedSlot=null;var i=t;if(!i){var s=e[w+"slot"]||St,a=this._slotMap[s];i=a&&a[0]}i?(o(i).assignedNodes.push(e),r.assignedSlot=i):r.assignedSlot=void 0;n!==r.assignedSlot&&r.assignedSlot&&(o(r.assignedSlot).dirty=!0)}_clearSlotAssignedNodes(e){var t=i(e),r=t.assignedNodes;if(t.assignedNodes=[],t.flattenedNodes=[],t._previouslyAssignedNodes=r,r)for(var n=0;n{for(var r=Tt(e),n=Tt(t),o=0;o=0){this._slotList.splice(l,1);var d=i(a[w+"parentNode"]);d&&d.__childSlotCount&&d.__childSlotCount--}s--,this._removeFlattenedNodes(a),t=!0}}return t}}_updateSlotName(e){if(this._slotList){this._validateSlots();var t=e.__slotName,r=this._nameForSlot(e);if(r!==t){var n=this._slotMap[t],o=n.indexOf(e);o>=0&&n.splice(o,1);var i=this._slotMap[r]||(this._slotMap[r]=[]);i.push(e),i.length>1&&(this._slotMap[r]=this._sortSlots(i))}}}_removeFlattenedNodes(e){var t=i(e),r=t.flattenedNodes;if(r)for(var n=0;n{Object.defineProperty(ft,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(e=>{Object.defineProperty(ft,e,{get(){return this.host[e]},configurable:!0})});if(window.customElements&&s.inUse&&!s.preferPerformance){var Ot=new Map;mt=function(){var e=[];Ot.forEach((t,r)=>{e.push([r,t])}),Ot.clear();for(var t=0;t{wt=!1,mt()},{once:!0});var Mt=(e,t,r)=>{var n=0,o="__isConnected".concat(n++);return(t||r)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){wt?Ot.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){wt?this.isConnected||Ot.set(this,!1):this[o]&&(this[o]=!1,r&&r.call(this))}),e},At=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(e,t){var r=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;At.call(window.customElements,e,Mt(t,r,n)),t.prototype.connectedCallback=r,t.prototype.disconnectedCallback=n}})}var Pt=e=>{var t=e[w+"getRootNode"]();if(d(t))return t};class xt{constructor(e){this.node=e}addEventListener(e,t,r){return this.node[w+"addEventListener"](e,t,r)}removeEventListener(e,t,r){return this.node[w+"removeEventListener"](e,t,r)}appendChild(e){return this.node[w+"appendChild"](e)}insertBefore(e,t){return this.node[w+"insertBefore"](e,t)}removeChild(e){return this.node[w+"removeChild"](e)}replaceChild(e,t){return this.node[w+"replaceChild"](e,t)}cloneNode(e){return this.node[w+"cloneNode"](e)}getRootNode(e){return this.node[w+"getRootNode"](e)}contains(e){return this.node[w+"contains"](e)}dispatchEvent(e){return this.node[w+"dispatchEvent"](e)}setAttribute(e,t){this.node[w+"setAttribute"](e,t)}getAttribute(e){return this.node[C+"getAttribute"](e)}hasAttribute(e){return this.node[C+"hasAttribute"](e)}removeAttribute(e){this.node[w+"removeAttribute"](e)}attachShadow(e){return this.node[w+"attachShadow"](e)}get activeElement(){if(d(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"activeElement"]}get _activeElement(){return this.activeElement}focus(){this.node[C+"focus"]()}blur(){this.node[w+"blur"]()}importNode(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"importNode"](e,t)}getElementById(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node[w+"getElementById"](e)}querySelector(e){return this.node[w+"querySelector"](e)}querySelectorAll(e,t){return this.node[w+"querySelectorAll"](e,t)}assignedNodes(e){if("slot"===this.node.localName)return this.node[w+"assignedNodes"](e)}get host(){if(d(this.node))return this.node.host}get parentNode(){return this.node[w+"parentNode"]}get firstChild(){return this.node[w+"firstChild"]}get lastChild(){return this.node[w+"lastChild"]}get nextSibling(){return this.node[w+"nextSibling"]}get previousSibling(){return this.node[w+"previousSibling"]}get childNodes(){return this.node[w+"childNodes"]}get parentElement(){return this.node[w+"parentElement"]}get firstElementChild(){return this.node[w+"firstElementChild"]}get lastElementChild(){return this.node[w+"lastElementChild"]}get nextElementSibling(){return this.node[w+"nextElementSibling"]}get previousElementSibling(){return this.node[w+"previousElementSibling"]}get children(){return this.node[w+"children"]}get childElementCount(){return this.node[w+"childElementCount"]}get shadowRoot(){return this.node[w+"shadowRoot"]}get assignedSlot(){return this.node[w+"assignedSlot"]}get isConnected(){return this.node[w+"isConnected"]}get innerHTML(){return this.node[w+"innerHTML"]}set innerHTML(e){this.node[w+"innerHTML"]=e}get textContent(){return this.node[w+"textContent"]}set textContent(e){this.node[w+"textContent"]=e}get slot(){return this.node[w+"slot"]}set slot(e){this.node[w+"slot"]=e}get className(){return this.node[w+"className"]}set className(e){return this.node[w+"className"]=e}}Ie.forEach(e=>{Object.defineProperty(xt.prototype,e,{get(){return this.node[w+e]},set(t){this.node[w+e]=t},configurable:!0})});var Lt=new WeakMap;var Rt=D({dispatchEvent(e){return A(),this[C+"dispatchEvent"](e)},addEventListener:Oe,removeEventListener:Me}),kt=D({get assignedSlot(){var e=this[w+"parentNode"],t=e&&e[w+"shadowRoot"];t&&t._render();var r=i(this);return r&&r.assignedSlot||null}}),Ht=window.document;function It(e,t){if("slot"===t){var r=e[w+"parentNode"];c(r)&&i(r).root._asyncRender()}else if("slot"===e.localName&&"name"===t){var n=Pt(e);n&&(n._updateSlotName(e),n._asyncRender())}}var jt=D({get previousElementSibling(){var e=i(this);if(e&&void 0!==e.previousSibling){for(var t=this[w+"previousSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"previousSibling"];return t}return this[C+"previousElementSibling"]},get nextElementSibling(){var e=i(this);if(e&&void 0!==e.nextSibling){for(var t=this[w+"nextSibling"];t&&t.nodeType!==Node.ELEMENT_NODE;)t=t[w+"nextSibling"];return t}return this[C+"nextElementSibling"]},get slot(){return this.getAttribute("slot")},set slot(e){this[w+"setAttribute"]("slot",e)},get shadowRoot(){var e=i(this);return e&&e.publicRoot||null},get className(){return this.getAttribute("class")||""},set className(e){this[w+"setAttribute"]("class",e)},setAttribute(e,t){this.ownerDocument!==Ht?this[C+"setAttribute"](e,t):function(e,t,r){var n=Xe();return!(!n||"class"!==t||(n.setElementClass(e,r),0))}(this,e,t)||(this[C+"setAttribute"](e,t),It(this,e))},removeAttribute(e){this[C+"removeAttribute"](e),It(this,e)},attachShadow(e){return((e,t)=>{if(!e)throw new Error("Must provide a host.");if(!t)throw new Error("Not enough arguments.");return new Dt(Nt,e,t)})(this,e)}}),Ft=D({blur(){var e=i(this),t=e&&e.root,r=t&&t.activeElement;r?r[w+"blur"]():this[C+"blur"]()}});Ie.forEach(e=>{Ft[e]={set:function(t){var r=o(this),n=e.substring(2);r.__onCallbackListeners[e]&&this.removeEventListener(n,r.__onCallbackListeners[e]),this[w+"addEventListener"](n,t),r.__onCallbackListeners[e]=t},get(){var t=i(this);return t&&t.__onCallbackListeners[e]},configurable:!0}});var Bt=D({assignedNodes(e){if("slot"===this.localName){var t=this[w+"getRootNode"]();t&&d(t)&&t._render();var r=i(this);return r&&(e&&e.flatten?r.flattenedNodes:r.assignedNodes)||[]}},addEventListener(e,t,r){if("slot"!==this.localName||"slotchange"===e)Oe.call(this,e,t,r);else{"object"!=typeof r&&(r={capture:Boolean(r)});var n=this[w+"parentNode"];if(!n)throw new Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.__shadyTarget=this,n[w+"addEventListener"](e,t,r)}},removeEventListener(e,t,r){if("slot"!==this.localName||"slotchange"===e)Me.call(this,e,t,r);else{"object"!=typeof r&&(r={capture:Boolean(r)});var n=this[w+"parentNode"];if(!n)throw new Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.__shadyTarget=this,n[w+"removeEventListener"](e,t,r)}}}),Ut=window.document,qt=D({importNode(e,t){if(e.ownerDocument!==Ut||"template"===e.localName)return this[C+"importNode"](e,t);var r=this[C+"importNode"](e,!1);if(t)for(var n,o=e[w+"childNodes"],i=0;i{var t=e?null:Kt,r=function(r){var n=(e=>window[e]&&window[e].prototype)(r);zt[r].forEach(r=>n&&r&&T(n,r,e,t))};for(var n in zt)r(n)};if(s.inUse){var Jt={inUse:s.inUse,patch:e=>(he(e),ce(e),e),isShadyRoot:d,enqueue:M,flush:A,flushInitial:e=>{e._flushInitial()},settings:s,filterMutations:function(e,t){var r=t.getRootNode();return e.map(function(e){var t=r===e.target.getRootNode();if(t&&e.addedNodes){var n=Array.from(e.addedNodes).filter(function(e){return r===e.getRootNode()});if(n.length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:n,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){var r=o(e);r.observer||(r.observer=new P),r.observer.callbacks.add(t);var n=r.observer;return{_callback:t,_observer:n,_node:e,takeRecords:()=>n.takeRecords()}},unobserveChildren:function(e){var t=e&&e._observer;t&&(t.callbacks.delete(e._callback),t.callbacks.size||(o(e._node).observer=null))},deferConnectionCallbacks:s.deferConnectionCallbacks,preferPerformance:s.preferPerformance,handlesDynamicScoping:!0,wrap:s.noPatch?function(e){if(d(e)||e instanceof xt)return e;var t=Lt.get(e);return t||(t=new xt(e),Lt.set(e,t)),t}:e=>e,Wrapper:xt,composedPath:e=>(e.__composedPath||(e.__composedPath=ye(e.target,!0)),e.__composedPath),noPatch:s.noPatch,nativeMethods:W,nativeTree:V};window.ShadyDOM=Jt,(()=>{var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?X(window.EventTarget.prototype,e):(X(Node.prototype,e),X(Window.prototype,e)),U?X(Node.prototype,["parentNode","firstChild","lastChild","previousSibling","nextSibling","childNodes","parentElement","textContent"]):K(Node.prototype,{parentNode:{get(){return J.currentNode=this,J.parentNode()}},firstChild:{get(){return J.currentNode=this,J.firstChild()}},lastChild:{get(){return J.currentNode=this,J.lastChild()}},previousSibling:{get(){return J.currentNode=this,J.previousSibling()}},nextSibling:{get(){return J.currentNode=this,J.nextSibling()}},childNodes:{get(){var e=[];J.currentNode=this;for(var t=J.firstChild();t;)e.push(t),t=J.nextSibling();return e}},parentElement:{get(){return $.currentNode=this,$.parentNode()}},textContent:{get(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),r="";e=t.nextNode();)r+=e.nodeValue;return r;default:return this.nodeValue}},set(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Y(this),(e.length>0||this.nodeType===Node.ELEMENT_NODE)&&this[q+"insertBefore"](document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),X(Node.prototype,["appendChild","insertBefore","removeChild","replaceChild","cloneNode","contains"]);var t={firstElementChild:{get(){return $.currentNode=this,$.firstChild()}},lastElementChild:{get(){return $.currentNode=this,$.lastChild()}},children:{get(){var e=[];$.currentNode=this;for(var t=$.firstChild();t;)e.push(t),t=$.nextSibling();return b(e)}},childElementCount:{get(){return this.children?this.children.length:0}}};U?(X(Element.prototype,Z),X(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&X(HTMLElement.prototype,["children"]),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&X(HTMLElement.prototype,["innerHTML"])):(K(Element.prototype,t),K(Element.prototype,{previousElementSibling:{get(){return $.currentNode=this,$.previousSibling()}},nextElementSibling:{get(){return $.currentNode=this,$.nextSibling()}},innerHTML:{get(){return B(this,e=>e[q+"childNodes"])},set(e){var t="template"===this.localName?this.content:this;Y(t);var r,n=this.localName||"div";(r=this.namespaceURI&&this.namespaceURI!==Q.namespaceURI?Q.createElementNS(this.namespaceURI,n):Q.createElement(n)).innerHTML=e;for(var o,i="template"===this.localName?r.content:r;o=i[q+"firstChild"];)t[q+"insertBefore"](o,void 0)}}})),X(Element.prototype,["setAttribute","getAttribute","hasAttribute","removeAttribute","focus","blur"]),X(Element.prototype,ee),X(HTMLElement.prototype,["focus","blur","contains"]),U&&X(HTMLElement.prototype,["parentElement","children","innerHTML"]),window.HTMLTemplateElement&&X(window.HTMLTemplateElement.prototype,["innerHTML"]),U?X(DocumentFragment.prototype,Z):K(DocumentFragment.prototype,t),X(DocumentFragment.prototype,ee),U?(X(Document.prototype,Z),X(Document.prototype,["activeElement"])):K(Document.prototype,t),X(Document.prototype,["importNode","getElementById"]),X(Document.prototype,ee)})(),(()=>{Xt(w);var e=vt.activeElement;Object.defineProperty(document,"_activeElement",e),T(Window.prototype,Wt,w)})(),s.noPatch||(Xt(),function(){if(!pe&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this[w+"dispatchEvent"](e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),!function(){for(var e in Se)window[C+"addEventListener"](e,function(e){e.__target||(Le(e),we(e))},!0)}(),window.Event=Re,window.CustomEvent=ke,window.MouseEvent=He,window.ShadowRoot=Dt}},507:function(e,t,r){"use strict";var n=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function o(e){var t=n.has(e),r=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!t&&r}function i(e){var t=e.isConnected;if(void 0!==t)return t;for(var r=e;r&&!(r.__CE_isImportDocument||r instanceof Document);)r=r.parentNode||(window.ShadowRoot&&r instanceof ShadowRoot?r.host:void 0);return!(!r||!(r.__CE_isImportDocument||r instanceof Document))}function s(e,t){for(var r=t;r&&r!==e&&!r.nextSibling;)r=r.parentNode;return r&&r!==e?r.nextSibling:null}function a(e,t){return t.firstChild?t.firstChild:s(e,t)}function l(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,n=e;n;){if(n.nodeType===Node.ELEMENT_NODE){var o=n;t(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){var d=o.import;if(d instanceof Node&&!r.has(d)){r.add(d);for(var c=d.firstChild;c;c=c.nextSibling)l(c,t,r)}n=s(e,o);continue}if("template"===i){n=s(e,o);continue}var h=o.__CE_shadowRoot;if(h)for(var u=h.firstChild;u;u=u.nextSibling)l(u,t,r)}n=a(e,n)}}function d(e,t,r){e[t]=r}var c={custom:1,failed:2};class h{constructor(){this._localNameToDefinition=new Map,this._constructorToDefinition=new Map,this._patches=[],this._hasPatches=!1}setDefinition(e,t){this._localNameToDefinition.set(e,t),this._constructorToDefinition.set(t.constructorFunction,t)}localNameToDefinition(e){return this._localNameToDefinition.get(e)}constructorToDefinition(e){return this._constructorToDefinition.get(e)}addPatch(e){this._hasPatches=!0,this._patches.push(e)}patchTree(e){this._hasPatches&&l(e,e=>this.patch(e))}patch(e){if(this._hasPatches&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;tt.push(e));for(var r=0;rt.push(e));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.visitedImports||new Set,n=t.upgrade||(e=>this.upgradeElement(e)),o=[];if(l(e,e=>{if("link"===e.localName&&"import"===e.getAttribute("rel")){var t=e.import;t instanceof Node&&(t.__CE_isImportDocument=!0,t.__CE_hasRegistry=!0),t&&"complete"===t.readyState?t.__CE_documentLoadHandled=!0:e.addEventListener("load",()=>{var t=e.import;if(!t.__CE_documentLoadHandled){t.__CE_documentLoadHandled=!0;var o=new Set(r);o.delete(t),this.patchAndUpgradeTree(t,{visitedImports:o,upgrade:n})}})}else o.push(e)},r),this._hasPatches)for(var i=0;i-1&&i.attributeChangedCallback.call(e,t,r,n,o)}}class u{constructor(e,t){this._internals=e,this._document=t,this._observer=void 0,this._internals.patchAndUpgradeTree(this._document),"loading"===this._document.readyState&&(this._observer=new MutationObserver(this._handleMutations.bind(this)),this._observer.observe(this._document,{childList:!0,subtree:!0}))}disconnect(){this._observer&&this._observer.disconnect()}_handleMutations(e){var t=this._document.readyState;"interactive"!==t&&"complete"!==t||this.disconnect();for(var r=0;r{this._resolve=e,this._value&&e(this._value)})}resolve(e){if(this._value)throw new Error("Already resolved.");this._value=e,this._resolve&&this._resolve(e)}toPromise(){return this._promise}}class m{constructor(e){this._elementDefinitionIsRunning=!1,this._internals=e,this._whenDefinedDeferred=new Map,this._flushCallback=(e=>e()),this._flushPending=!1,this._pendingDefinitions=[],this._documentConstructionObserver=new u(e,document)}define(e,t){if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!o(e))throw new SyntaxError("The element name '".concat(e,"' is not valid."));if(this._internals.localNameToDefinition(e))throw new Error("A custom element with name '".concat(e,"' has already been defined."));if(this._elementDefinitionIsRunning)throw new Error("A custom element is already being defined.");var r,n,i,s,a;this._elementDefinitionIsRunning=!0;try{var l=t.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");function d(e){var t=l[e];if(void 0!==t&&!(t instanceof Function))throw new Error("The '".concat(e,"' callback must be a function."));return t}r=d("connectedCallback"),n=d("disconnectedCallback"),i=d("adoptedCallback"),s=d("attributeChangedCallback"),a=t.observedAttributes||[]}catch(e){return}finally{this._elementDefinitionIsRunning=!1}var c={localName:e,constructorFunction:t,connectedCallback:r,disconnectedCallback:n,adoptedCallback:i,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]};this._internals.setDefinition(e,c),this._pendingDefinitions.push(c),this._flushPending||(this._flushPending=!0,this._flushCallback(()=>this._flush()))}upgrade(e){this._internals.patchAndUpgradeTree(e)}_flush(){if(!1!==this._flushPending){this._flushPending=!1;for(var e=this._pendingDefinitions,t=[],r=new Map,n=0;n{if(void 0===e.__CE_state){var n=e.localName,o=r.get(n);o?o.push(e):this._internals.localNameToDefinition(n)&&t.push(e)}}});for(var o=0;o0;){for(var i=e.shift(),s=i.localName,a=r.get(i.localName),l=0;lt.localName===e)&&r.resolve(void 0),r.toPromise()}polyfillWrapFlushCallback(e){this._documentConstructionObserver.disconnect();var t=this._flushCallback;this._flushCallback=(r=>e(()=>t(r)))}}window.CustomElementRegistry=m,m.prototype.define=m.prototype.define,m.prototype.upgrade=m.prototype.upgrade,m.prototype.get=m.prototype.get,m.prototype.whenDefined=m.prototype.whenDefined,m.prototype.polyfillWrapFlushCallback=m.prototype.polyfillWrapFlushCallback;var f={Document_createElement:window.Document.prototype.createElement,Document_createElementNS:window.Document.prototype.createElementNS,Document_importNode:window.Document.prototype.importNode,Document_prepend:window.Document.prototype.prepend,Document_append:window.Document.prototype.append,DocumentFragment_prepend:window.DocumentFragment.prototype.prepend,DocumentFragment_append:window.DocumentFragment.prototype.append,Node_cloneNode:window.Node.prototype.cloneNode,Node_appendChild:window.Node.prototype.appendChild,Node_insertBefore:window.Node.prototype.insertBefore,Node_removeChild:window.Node.prototype.removeChild,Node_replaceChild:window.Node.prototype.replaceChild,Node_textContent:Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Element_attachShadow:window.Element.prototype.attachShadow,Element_innerHTML:Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Element_getAttribute:window.Element.prototype.getAttribute,Element_setAttribute:window.Element.prototype.setAttribute,Element_removeAttribute:window.Element.prototype.removeAttribute,Element_getAttributeNS:window.Element.prototype.getAttributeNS,Element_setAttributeNS:window.Element.prototype.setAttributeNS,Element_removeAttributeNS:window.Element.prototype.removeAttributeNS,Element_insertAdjacentElement:window.Element.prototype.insertAdjacentElement,Element_insertAdjacentHTML:window.Element.prototype.insertAdjacentHTML,Element_prepend:window.Element.prototype.prepend,Element_append:window.Element.prototype.append,Element_before:window.Element.prototype.before,Element_after:window.Element.prototype.after,Element_replaceWith:window.Element.prototype.replaceWith,Element_remove:window.Element.prototype.remove,HTMLElement:window.HTMLElement,HTMLElement_innerHTML:Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),HTMLElement_insertAdjacentElement:window.HTMLElement.prototype.insertAdjacentElement,HTMLElement_insertAdjacentHTML:window.HTMLElement.prototype.insertAdjacentHTML};var v,_=new class{},g=function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a0&&i(this)){n=new Array(s);for(var a=0;a{e!==this&&o.push(e)})),r.set.call(this,t),o)for(var s=0;s0;)f.Node_removeChild.call(r,r.childNodes[0]);for(var o=t?n.content:n;o.childNodes.length>0;)f.Node_appendChild.call(r,o.childNodes[0])}})}),d(Element.prototype,"setAttribute",function(t,r){if(this.__CE_state!==c.custom)return f.Element_setAttribute.call(this,t,r);var n=f.Element_getAttribute.call(this,t);f.Element_setAttribute.call(this,t,r),r=f.Element_getAttribute.call(this,t),e.attributeChangedCallback(this,t,n,r,null)}),d(Element.prototype,"setAttributeNS",function(t,r,n){if(this.__CE_state!==c.custom)return f.Element_setAttributeNS.call(this,t,r,n);var o=f.Element_getAttributeNS.call(this,t,r);f.Element_setAttributeNS.call(this,t,r,n),n=f.Element_getAttributeNS.call(this,t,r),e.attributeChangedCallback(this,r,o,n,t)}),d(Element.prototype,"removeAttribute",function(t){if(this.__CE_state!==c.custom)return f.Element_removeAttribute.call(this,t);var r=f.Element_getAttribute.call(this,t);f.Element_removeAttribute.call(this,t),null!==r&&e.attributeChangedCallback(this,t,r,null,null)}),d(Element.prototype,"removeAttributeNS",function(t,r){if(this.__CE_state!==c.custom)return f.Element_removeAttributeNS.call(this,t,r);var n=f.Element_getAttributeNS.call(this,t,r);f.Element_removeAttributeNS.call(this,t,r);var o=f.Element_getAttributeNS.call(this,t,r);n!==o&&e.attributeChangedCallback(this,r,n,o,t)}),f.HTMLElement_insertAdjacentElement?r(HTMLElement.prototype,f.HTMLElement_insertAdjacentElement):f.Element_insertAdjacentElement?r(Element.prototype,f.Element_insertAdjacentElement):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),f.HTMLElement_insertAdjacentHTML?n(HTMLElement.prototype,f.HTMLElement_insertAdjacentHTML):f.Element_insertAdjacentHTML?n(Element.prototype,f.Element_insertAdjacentHTML):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),g(e,Element.prototype,{prepend:f.Element_prepend,append:f.Element_append}),function(e,t,r){function n(t){return function(){for(var r=[],n=[],o=arguments.length,s=new Array(o),a=0;a+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,h=/[[.:#*]/,u=":host",p=":root",m="::slotted",f=new RegExp("^(".concat(m,")")),v=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,_=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,g=/(.*):dir\((?:(ltr|rtl))\)(.*)/,y=".",E=":",N="class",S="should_not_match",b=/:(?:matches|any|-(?:webkit|moz)-any)/,C="",w=new class{get SCOPE_NAME(){return s}dom(e,t,r){this._transformDom(e,e=>{this.element(e,t||"",r)})}domAddScope(e,t){this._transformDom(e,e=>{this.element(e,t||"")})}_transformDom(e,t){var r;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var n=e;r=(n.content||n._content||n).childNodes}else r=e.children||e.childNodes;if(r)for(var o=0;o{this.element(e,t,!0),this.element(e,r)})}domRemoveScope(e,t){this._transformDom(e,e=>{this.element(e,t||"",!0)})}elementStyles(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===s)if(o.d||"shady"===n)s=i.p(t,r);else{var a=i.i(e),l=a.is,d=a.typeExtension;s=this.css(t,l,d,r)+"\n\n"}return s.trim()}css(e,t,r,n){var o=this._calcHostScope(t,r);t=this._calcElementScope(t);var s=this;return i.p(e,function(e){e.isScoped||(s.rule(e,t,o),e.isScoped=!0),n&&n(e,t,o)})}_calcElementScope(e){return e?y+e:""}_calcHostScope(e,t){return t?"[is=".concat(e,"]"):e}rule(e,t,r){this._transformRule(e,this._transformComplexSelector,t,r)}_transformRule(e,t,r,n){e.selector=e.transformedSelector=this._transformRuleCss(e,t,r,n)}_transformRuleCss(e,t,r,n){var o=i.o(e.selector);if(!i.j(e))for(var s,a=0,l=o.length;aBoolean(e)).join(d)}_twiddleNthPlus(e){return e.replace(a,(e,t,r)=>(r.indexOf("+")>-1?r=r.replace(/\+/g,"___"):r.indexOf("___")>-1&&(r=r.replace(/___/g,"+")),":".concat(t,"(").concat(r,")")))}_preserveMatchesPseudo(e){for(var t,r=[];t=e.match(b);){var n=t.index,o=i.e(e,n);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var s=e.slice(n,o+1);e=e.replace(s,C),r.push(s)}return{selector:e,matches:r}}_replaceMatchesPseudo(e,t){var r=e.split(C);return t.reduce((e,t,n)=>e+t+r[n+1],r[0])}_transformComplexSelector(e,t,r){var n=!1;e=e.trim();var o=a.test(e);o&&(e=e.replace(a,(e,t,r)=>":".concat(t,"(").concat(r.replace(/\s/g,""),")")),e=this._twiddleNthPlus(e));var i,s=b.test(e);if(s){var l=this._preserveMatchesPseudo(e);e=l.selector,i=l.matches}return e=(e=e.replace(f,"".concat(u," $1"))).replace(c,(e,o,i)=>{if(!n){var s=this._transformCompoundSelector(i,o,t,r);n=n||s.stop,o=s.combinator,i=s.value}return o+i}),s&&(e=this._replaceMatchesPseudo(e,i)),o&&(e=this._twiddleNthPlus(e)),e=e.replace(g,(e,t,r,n)=>'[dir="'.concat(r,'"] ').concat(t).concat(n,", ").concat(t,'[dir="').concat(r,'"]').concat(n))}_transformCompoundSelector(e,t,r,n){var o=e.indexOf(m);e.indexOf(u)>=0?e=this._transformHostSelector(e,n):0!==o&&(e=r?this._transformSimpleSelector(e,r):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(_,(e,t)=>" > ".concat(t)))),{value:e,combinator:t,stop:i}}_transformSimpleSelector(e,t){for(var r=e.split(/(\[.+?\])/),n=[],o=0;o=0)e=this.valueForProperties(e,t);else{var r=this;e=i.l(e,function(e,n,o,i){if(!n)return e+i;var s=r.valueForProperty(t[n],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=r.valueForProperty(t[o]||o,t)||o,e+(s||"")+i})}return e&&e.trim()||""}valueForProperties(e,t){for(var r,n,o=e.split(";"),i=0;i{e.propertyInfo||this.decorateRule(e);var o=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&o&&M.call(t,o)&&(this.collectProperties(e,r),function(e,t){var r=parseInt(e/32,10),n=1< *"===d||"html"===d,h=0===d.indexOf(":host")&&!c;if("shady"===r&&(h=!(c=d===l+" > *."+l||-1!==d.indexOf("html"))&&0===d.indexOf(l)),c||h){var u=l;h&&(t.transformedSelector||(t.transformedSelector=w._transformRuleCss(t,w._transformComplexSelector,w._calcElementScope(s),l)),u=t.transformedSelector||l),n({selector:u,isHost:h,isRoot:c})}}}hostAndRootPropertiesForScope(e,t,r){var n={},o={};return i.f(t,t=>{this.whenHostOrRootRule(e,t,r,r=>{var i=e._element||e;M.call(i,r.selector)&&(r.isHost?this.collectProperties(t,n):this.collectProperties(t,o))})},null,!0),{rootProps:o,hostProps:n}}transformStyles(e,t,r){var n=this,s=i.i(e),a=s.is,l=s.typeExtension,d=w._calcHostScope(a,l),c=e.extends?"\\"+d.slice(0,-1)+"\\]":d,h=new RegExp(T.c+c+T.d),u=O.get(e),p=u.styleRules,m=u.cssBuild,f=this._elementKeyframeTransforms(e,p,r);return w.elementStyles(e,p,function(e){n.applyProperties(e,t),o.d||i.j(e)||!e.cssText||(n.applyKeyframeTransforms(e,f),n._scopeSelector(e,h,d,r))},m)}_elementKeyframeTransforms(e,t,r){var n=t._keyframes,i={};if(!o.d&&n)for(var s=0,a=n[s];s-1&&(n.textContent=s),i.b(n,null,a.placeholder)):s&&(n=i.a(s,r,null,a.placeholder)),n&&(n._useCount=n._useCount||0,a.customStyle!=n&&n._useCount++,a.customStyle=n),n}applyCustomStyle(e,t){var r=i.m(e),o=this;e.textContent=i.p(r,function(e){var r=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(r=Object(n.c)(r),e.cssText=o.valueForProperties(r,t))})}},L={};function R(e){return L[e]||null}function k(e){L[e]||(L[e]=Object(i.c)(e))}var H=window.customElements;if(H&&!o.d&&!o.b){var I=H.define;H.define=((e,t,r)=>{k(e),I.call(H,e,t,r)})}var j=function(){};var F=new RegExp("".concat(w.SCOPE_NAME,"\\s*([^\\s]*)"));function B(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(F);return t?t[1]:""}function U(e){var t=Object(i.q)(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var r=t.host;return r?Object(i.i)(r).is:""}function q(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(w.SCOPE_NAME,")")),r=0;r{V.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)G(document);else{var z=()=>{G(document.body)};window.HTMLImports?window.HTMLImports.whenReady(z):requestAnimationFrame(function(){if("loading"===document.readyState){document.addEventListener("readystatechange",function e(){z(),document.removeEventListener("readystatechange",e)})}else z()})}j=function(){W(V.takeRecords())}}var K=r(400),X=r(451),J=r(366),$=(r(441),{}),Q=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.cache={},this.typeMax=e}_validate(e,t,r){for(var n=0;nthis.typeMax&&o.shift(),this.cache[e]=o}fetch(e,t,r){var n=this.cache[e];if(n)for(var o=n.length-1;o>=0;o--){var i=n[o];if(this._validate(i,t,r))return i}}};class Y{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;var e=new n.a;e.rules=[],this._documentOwnerStyleInfo=O.set(this._documentOwner,new O(e)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}flush(){j()}_generateScopeSelector(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}getStyleAst(e){return i.m(e)}styleAstToString(e){return i.p(e)}_gatherStyles(e){return i.g(e.content)}prepareTemplate(e,t,r){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,r)}prepareTemplateStyles(e,t,r){if(!e._prepared&&!o.b){o.d||k(t),e._prepared=!0,e.name=t,e.extends=r,K.a[t]=e;var s=i.h(e),a=i.k(s),l={is:t,extends:r},d=this._gatherStyles(e)+($[t]||"");if(this._ensure(),!a){var c=!s&&Object(J.a)(d),h=Object(n.b)(d);c&&o.c&&this._applyShim&&this._applyShim.transformRules(h,t),e._styleAst=h}var u=[];if(o.c||(u=x.decorateStyles(e._styleAst)),!u.length||o.c){var p=o.d?e.content:null,m=R(t),f=this._generateStaticStyle(l,e._styleAst,p,m,s,a?d:"");e._style=f}e._ownPropertyNames=u}}prepareAdoptedCssText(e,t){$[t]=e.join(" ")}prepareTemplateDom(e,t){if(!o.b){var r=i.h(e);o.d||"shady"===r||e._domPrepared||(e._domPrepared=!0,w.domAddScope(e.content,t))}}_generateStaticStyle(e,t,r,n,o,s){return(s=w.elementStyles(e,t,null,o,s)).length?i.a(s,e.is,r,n):null}_prepareHost(e){var t=i.i(e),r=t.is,n=t.typeExtension,o=R(r),s=K.a[r];if(s){var a=s._styleAst,l=s._ownPropertyNames,d=i.h(s),c=new O(a,o,l,r,n,d);return O.set(e,c),c}}_ensureApplyShim(){this._applyShim||window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=X.a)}_ensureCustomStyleInterface(){this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=(e=>{this.transformCustomStyleForDocument(e)}),this._customStyleInterface.validateCallback=(()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})}))}_ensure(){this._ensureApplyShim(),this._ensureCustomStyleInterface()}flushCustomStyles(){if(!o.b&&(this._ensure(),this._customStyleInterface)){var e=this._customStyleInterface.processStyles();this._customStyleInterface.enqueued&&(i.k(this._documentOwnerStyleInfo.cssBuild)||(o.c?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(e):(this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(e),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}styleElement(e,t){if(o.b){if(t){O.get(e)||O.set(e,new O(null));var r=O.get(e);this._mixOverrideStyleProps(r,t),this.styleElementNativeVariables(e,r)}}else{var n=O.get(e)||this._prepareHost(e);n&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(n,t),o.c?this.styleElementNativeVariables(e,n):this.styleElementShimVariables(e,n))}}_mixOverrideStyleProps(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}styleElementShimVariables(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}styleElementNativeVariables(e,t){var r=i.i(e).is;t.overrideStyleProperties&&Object(J.c)(e,t.overrideStyleProperties);var n=K.a[r];if((n||this._isRootOwner(e))&&(!n||!i.d(n))&&n&&n._style&&!X.c(n)){if(X.d(n)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(n._styleAst,r),n._style.textContent=w.elementStyles(e,t.styleRules),X.b(n)),o.d){var s=e.shadowRoot;if(s){var a=s.querySelector("style");a&&(a.textContent=w.elementStyles(e,t.styleRules))}}t.styleRules=n._styleAst}}_styleOwnerForNode(e){var t=i.q(e).getRootNode().host;return t?O.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}_isRootOwner(e){return e===this._documentOwner}_applyStyleProperties(e,t){var r=i.i(e).is,n=Q.fetch(r,t.styleProperties,t.ownStylePropertyNames),s=n&&n.scopeSelector,a=n?n.styleElement:null,l=t.scopeSelector;t.scopeSelector=s||this._generateScopeSelector(r);var d=x.applyElementStyle(e,t.styleProperties,t.scopeSelector,a);return o.d||x.applyElementScopeSelector(e,t.scopeSelector,l),n||Q.store(r,t.styleProperties,d,t.scopeSelector),d}_updateProperties(e,t){var r=this._styleOwnerForNode(e),n=O.get(r),o=n.styleProperties;r===this._documentOwner||o||(this._updateProperties(r,n),o=n.styleProperties);var i=Object.create(o||null),s=x.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=x.propertyDataFromStyles(n.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),x.reify(i),t.styleProperties=i}_mixinOverrideStyles(e,t){for(var r in t){var n=t[r];(n||0===n)&&(e[r]=n)}}styleDocument(e){this.styleSubtree(this._documentOwner,e)}styleSubtree(e,t){var r=i.q(e),n=r.shadowRoot;(n||this._isRootOwner(e))&&this.styleElement(e,t);var o=n&&(n.children||n.childNodes);if(o)for(var s=0;s{o.d?w.normalizeRootSelector(e):w.documentRule(e),o.c&&""===t&&(this._ensure(),this._applyShim&&this._applyShim.transformRule(e))}),o.c?e.textContent=i.p(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}_revalidateApplyShim(e){if(o.c&&this._applyShim){var t=i.m(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=i.p(t)}}getComputedStyleValue(e,t){var r;o.c||(r=(O.get(e)||O.get(this._styleOwnerForNode(e))).styleProperties[t]);return(r=r||window.getComputedStyle(e).getPropertyValue(t))?r.trim():""}setElementClass(e,t){var r=i.q(e).getRootNode(),n=t?t.split(/\s/):[],s=r.host&&r.host.localName;if(!s){var a=e.getAttribute("class");if(a)for(var l=a.split(/\s/),d=0;do.d},nativeCss:{get:()=>o.c}});var Z,ee,te=new Y;window.ShadyCSS&&(Z=window.ShadyCSS.ApplyShim,ee=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:te,prepareTemplate(e,t,r){te.flushCustomStyles(),te.prepareTemplate(e,t,r)},prepareTemplateDom(e,t){te.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,r){te.flushCustomStyles(),te.prepareTemplateStyles(e,t,r)},styleSubtree(e,t){te.flushCustomStyles(),te.styleSubtree(e,t)},styleElement(e){te.flushCustomStyles(),te.styleElement(e)},styleDocument(e){te.flushCustomStyles(),te.styleDocument(e)},flushCustomStyles(){te.flushCustomStyles()},getComputedStyleValue:(e,t)=>te.getComputedStyleValue(e,t),nativeCss:o.c,nativeShadow:o.d,cssBuild:o.a,disableRuntime:o.b},Z&&(window.ShadyCSS.ApplyShim=Z),ee&&(window.ShadyCSS.CustomStyleInterface=ee)}}]); -//# sourceMappingURL=3.35cde7a725bdcd586a2b.js.map \ No newline at end of file diff --git a/packages/ui/dist/3.35cde7a725bdcd586a2b.js.LICENSE b/packages/ui/dist/3.35cde7a725bdcd586a2b.js.LICENSE deleted file mode 100644 index 3be09be03..000000000 --- a/packages/ui/dist/3.35cde7a725bdcd586a2b.js.LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** - * @license - * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt - */ - -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/3.35cde7a725bdcd586a2b.js.map b/packages/ui/dist/3.35cde7a725bdcd586a2b.js.map deleted file mode 100644 index b38e2cd85..000000000 --- a/packages/ui/dist/3.35cde7a725bdcd586a2b.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"3.35cde7a725bdcd586a2b.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/4.03c81b7d21f7913e6a02.js b/packages/ui/dist/4.03c81b7d21f7913e6a02.js deleted file mode 100644 index 6f89f51a8..000000000 --- a/packages/ui/dist/4.03c81b7d21f7913e6a02.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{321:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},649:function(e,t,n){"use strict";n.r(t),function(e){var n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},i=function(e){return decodeURIComponent(e).replace(/\+/g," ")};"URLSearchParams"in e&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var i=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof i){var n=this;e.forEach(function(e,t){n.append(t,e)})}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;rt[0]?1:0}),e._entries&&(e._entries={});for(var n=0;n1?i(r[1]):"")}})}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n),function(e){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,i=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=t,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new URLSearchParams(this.search),c=!0,s=!0,h=this;["append","delete","set"].forEach(function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),c&&(s=!1,h.search=a.toString(),s=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,s&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval(function(){e.location.origin=t()},100)}}}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n);t.default={}}.call(this,n(321))}}]); \ No newline at end of file diff --git a/packages/ui/dist/4.2f17dfcfed5d6e8c29fa.js b/packages/ui/dist/4.2f17dfcfed5d6e8c29fa.js deleted file mode 100644 index 521d5ce15..000000000 --- a/packages/ui/dist/4.2f17dfcfed5d6e8c29fa.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{326:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},659:function(e,t,n){"use strict";n.r(t),function(e){var n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},i=function(e){return decodeURIComponent(e).replace(/\+/g," ")};"URLSearchParams"in e&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var i=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof i){var n=this;e.forEach(function(e,t){n.append(t,e)})}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;rt[0]?1:0}),e._entries&&(e._entries={});for(var n=0;n1?i(r[1]):"")}})}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n),function(e){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,i=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=t,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new URLSearchParams(this.search),c=!0,s=!0,h=this;["append","delete","set"].forEach(function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),c&&(s=!1,h.search=a.toString(),s=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,s&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval(function(){e.location.origin=t()},100)}}}(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:n);t.default={}}.call(this,n(326))}}]); \ No newline at end of file diff --git a/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js b/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js deleted file mode 100644 index 7a3db46be..000000000 --- a/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 5.0b28d43ca70c9ea5df6b.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{261:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},262:function(e,t){function n(e,t){for(var n=0;n-1}function l(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function f(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map(function(e){return f(i,e.name,e.value,r)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return f(n,t,e,r),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new a.a;e[t.value]=null}}function h(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return f(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return f(r,n,i,t)})),p(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export"];function p(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,o={};return r.forEach(function(e){o[e]=i[e]}),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var s=Object(u.default)(t);a+="("+s+")"}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)}),a}function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,i=e.value;return f(n,r,i,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function g(e,t){return void 0===t&&(t=!1),Object(s.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function w(e){return null!=e&&"object"===i()(e)&&"json"===e.type}function O(e){throw new a.a}function S(e,t){switch(void 0===t&&(t=O),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return S(e,t)});case"ObjectValue":for(var n={},r=0,i=e.fields;r-1})}function C(e){return e&&P(["client"],e)&&P(["export"],e)}function T(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new a.a;"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&(Object(a.b)(1===r.length),n=r[0].name.value),Object(s.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}].concat(e.definitions)})}function I(e){for(var t=[],n=1;n1){var r=[];t=ge(t,r);for(var i=1;i=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function f(e,t){if("object"===("undefined"==typeof Reflect?"undefined":i()(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function g(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}},275:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},276:function(e,t,n){var r=n(296),i=n(297),o=n(298);e.exports=function(e){return r(e)||i(e)||o()}},278:function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),f=n(267),h=n.n(f),d=n(265),p=n.n(d),v=n(266),y=n.n(v),m=new WeakMap,b=function(e){return"function"==typeof e&&m.has(e)},_=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,g=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}},w={},O={},S=n(276),k=n.n(S),E="{{lit-".concat(String(Math.random()).slice(2),"}}"),x="\x3c!--".concat(E,"--\x3e"),P=new RegExp("".concat(E,"|").concat(x)),C=function e(t,n){var r=this;i()(this,e),this.parts=[],this.element=n;var o=-1,a=0,s=[];!function e(n){for(var i=n.content,u=document.createTreeWalker(i,133,null,!1),c=0;u.nextNode();){o++;var l=u.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var f=l.attributes,h=0,d=0;d=0&&h++;for(;h-- >0;){var p=t.strings[a],v=N.exec(p)[2],y=v.toLowerCase()+"$lit$",m=l.getAttribute(y).split(P);r.parts.push({type:"attribute",index:o,name:v,strings:m}),l.removeAttribute(y),a+=m.length-1}}"TEMPLATE"===l.tagName&&e(l)}else if(3===l.nodeType){var b=l.data;if(b.indexOf(E)>=0){for(var _=l.parentNode,g=b.split(P),w=g.length-1,O=0;O=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,j=function(){function e(t,n,r){i()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return a()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var f,h=this._parts[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var d=f.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=_?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,i=0;return function t(o){for(var a=document.createTreeWalker(o,133,null,!1),s=a.nextNode();r0&&void 0!==arguments[0]?arguments[0]:this.startNode;g(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),L=function(){function e(t,n,r){if(i()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=w}}}]),e}(),q=function(e){function t(e,n,r){var o;return i()(this,t),(o=u()(this,l()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return p()(t,e),a()(t,[{key:"_createPart",value:function(){return new Q(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:h()(l()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(M),Q=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return p()(t,e),t}(F),V=!1;try{var B={get capture(){return V=!0,!1}};window.addEventListener("test",B,B),window.removeEventListener("test",B,B)}catch(e){}var U=function(){function e(t,n,r){var o=this;i()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return o.handleEvent(e)}}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=H(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=w}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),H=function(e){return e&&(V?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},z=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new q(e,t.slice(1),n).parts:"@"===i?[new U(e,t.slice(1),r.eventContext)]:"?"===i?[new L(e,t.slice(1),n)]:new M(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new D(e)}}]),e}());function G(e){var t=K.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},K.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(E);return void 0===(n=t.keyString.get(r))&&(n=new C(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var K=new Map,J=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var Y=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,W,null,!1),a=Z(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=X(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=Z(i,a);return}a=Z(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),$(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},ae=n(286),se=n.n(ae);window.JSCompiler_renameProperty=function(e,t){return e};var ue={toAttribute:function(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},ce=function(e,t){return t!==e&&(t==t||e==e)},le={attribute:!0,type:String,converter:ue,reflect:!1,hasChanged:ce},fe=Promise.resolve(!0),he=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=fe,e._hasConnectedResolver=void 0,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return p()(t,e),a()(t,[{key:"initialize",value:function(){this._saveInstanceProperties()}},{key:"_saveInstanceProperties",value:function(){var e=this;this.constructor._classProperties.forEach(function(t,n){if(e.hasOwnProperty(n)){var r=e[n];delete e[n],e._instanceProperties||(e._instanceProperties=new Map),e._instanceProperties.set(n,r)}})}},{key:"_applyInstanceProperties",value:function(){var e=this;this._instanceProperties.forEach(function(t,n){return e[n]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r)||le;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}},{key:"requestUpdate",value:function(e,t){var n=!0;if(void 0!==e&&!this._changedProperties.has(e)){var r=this.constructor,i=r._classProperties.get(e)||le;r._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):n=!1}return!this._hasRequestedUpdate&&n&&this._enqueueUpdate(),this.updateComplete}},{key:"_enqueueUpdate",value:function(){return new Promise(function(e,t){var n,r,i,o;return n=this,this._updateState=4|this._updateState,i=this._updatePromise,this._updatePromise=new Promise(function(e){return r=e}),Promise.resolve(i).then(function(i){try{if(!this._hasConnected)return Promise.resolve(new Promise(function(e){return n._hasConnectedResolver=e})).then(function(e){try{return a.call(this)}catch(e){return t(e)}}.bind(this),t);function a(){if(null!=(o=this.performUpdate())&&"function"==typeof o.then)return Promise.resolve(o).then(function(e){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return r(!this._hasRequestedUpdate),e()}return n.call(this)}return a.call(this)}catch(e){return t(e)}}.bind(this),t)}.bind(this))}},{key:"performUpdate",value:function(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(function(e,n){return t._propertyToAttribute(n,t[n],e)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,n){return e._classProperties.set(n,t)})}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===y()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[n]},set:function(t){var r=this[e];this[n]=t,this.requestUpdate(e,r)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[].concat(k()(Object.getOwnPropertyNames(t)),k()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||ue,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ue.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach(function(n,r){var i=e._attributeNameForProperty(r,n);void 0!==i&&(e._attributeToPropertyMap.set(i,r),t.push(i))}),t}}]),t}(se()(HTMLElement));he.finalized=!0;ve(function(e,t){return e.querySelector(t)}),ve(function(e,t){return e.querySelectorAll(t)});var de=function(e,t,n){Object.defineProperty(t,n,e)},pe=function(e,t){return{kind:"method",placement:"prototype",key:t.key,descriptor:e}};function ve(e){return function(t){return function(n,r){var i={get:function(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0};return void 0!==r?de(i,n,r):pe(i,n)}}}var ye="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol();n.d(t,"a",function(){return be}),n.d(t,"b",function(){return Y}),(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var me=function(e){return e.flat?e.flat(1/0):function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0,i=t.length;r+~])"},286:function(e,t,n){var r=n(263),i=n(295),o=n(349),a=n(350);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},287:function(e,t,n){var r=n(379).parse;function i(e){return e.replace(/[\s,]+/g," ").trim()}var o={},a={};var s=!0;var u=!1;function c(e){var t=i(e);if(o[t])return o[t];var n=r(e,{experimentalFragmentVariables:u});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");return n=function e(t,n){var r=Object.prototype.toString.call(t);if("[object Array]"===r)return t.map(function(t){return e(t,n)});if("[object Object]"!==r)throw new Error("Unexpected input.");n&&t.loc&&delete t.loc,t.loc&&(delete t.loc.startToken,delete t.loc.endToken);var i,o,a,s=Object.keys(t);for(i in s)s.hasOwnProperty(i)&&(o=t[s[i]],"[object Object]"!==(a=Object.prototype.toString.call(o))&&"[object Array]"!==a||(t[s[i]]=e(o,!0)));return t}(n=function(e){for(var t,n={},r=[],o=0;o1)for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],f=-1,h=[],d=void 0,p=void 0,v=void 0,y=[],m=[],b=e;do{var _=++f===l.length,g=_&&0!==h.length;if(_){if(p=0===m.length?void 0:y[y.length-1],d=v,v=m.pop(),g){if(c)d=d.slice();else{for(var w={},O=Object.keys(d),S=0;S-1&&(d=a[_],a=a.slice(0,_))}a&&(r.push(a),a="",c=!1);var g=""!==d&&void 0!==p&&p!==d,w="+"===b||"*"===b,O="?"===b||"*"===b,S=d||s,k=y||m;r.push({name:v||i++,prefix:d,delimiter:S,optional:O,repeat:w,partial:g,pattern:k?$(k):"[^"+W(S)+"]+?"})}}return(a||o-1;else{var h=W(f.prefix),d=f.repeat?"(?:"+f.pattern+")(?:"+h+"(?:"+f.pattern+"))*":f.pattern;t&&t.push(f),f.optional?f.partial?u+=h+"("+d+")?":u+="(?:"+h+"("+d+"))?":u+=h+"("+d+")"}}return i?(r||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(r||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,X(n))}function ee(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&"/"===t.charAt(h)&&(h+=1),a=ie(f,t.substr(h),n,o.keys,o.params)}var d=a.next(c);if(!d.done)return{done:!1,value:d.value};a=null,s++}return{done:!0}}}}function oe(e){if(j(e.route.action))return e.route.action(e)}ne.set("|false",{keys:[],pattern:/(?:)/});var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b()(this,e),Object(t)!==t)throw new TypeError("Invalid routes");this.baseUrl=n.baseUrl||"",this.errorHandler=n.errorHandler,this.resolveRoute=n.resolveRoute||oe,this.context=Object.assign({resolver:this},n.context),this.root=Array.isArray(t)?{path:"",__children:t,parent:null,__synthetic:!0}:t,this.root.parent=null}return y()(e,[{key:"getRoutes",value:function(){return p()(this.root.__children)}},{key:"setRoutes",value:function(e){C(e);var t=p()(w(e));this.root.__children=t}},{key:"addRoutes",value:function(e){var t;return C(e),(t=this.root.__children).push.apply(t,p()(w(e))),this.getRoutes()}},{key:"removeRoutes",value:function(){this.setRoutes([])}},{key:"resolve",value:function(e){var t=this,n=Object.assign({},this.context,A(e)?{pathname:e}:e),r=ie(this.root,this.__normalizePathname(n.pathname),this.baseUrl),i=this.resolveRoute,o=null,a=null,s=n;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&o.value.route;return o=a||r.next(c),a=null,e||!o.done&&function(e,t){for(var n=t;n;)if((n=n.parent)===e)return!0;return!1}(t,o.value.route)?o.done?Promise.reject(R(n)):(function(e,t){var n=t.route,r=t.path;if(n&&!n.__synthetic){var i={path:r,route:n};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,n)?e.chain.push(i):e.chain=[i]}}(n,o.value),s=Object.assign({},n,o.value),Promise.resolve(i(s)).then(function(n){return null!=n&&n!==M?(s.result=n.result||n,s):u(e,t,n)})):(a=o,Promise.resolve(M))}return n.next=u,Promise.resolve().then(function(){return u(!0,t.root)}).catch(function(e){var n=function(e){var t="Path '".concat(e.pathname,"' is not properly resolved due to an error."),n=(e.route||{}).path;return n&&(t+=" Resolution had failed on route: '".concat(n,"'")),t}(s);if(e?console.warn(n):e=new Error(n),e.context=e.context||s,e instanceof DOMException||(e.code=e.code||500),t.errorHandler)return s.result=t.errorHandler(e),s;throw e})}},{key:"__normalizePathname",value:function(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,n=this.constructor.__createUrl(e,t).href;return n.slice(0,t.length)===t?n.slice(t.length):void 0}},{key:"__effectiveBaseUrl",get:function(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}}],[{key:"__createUrl",value:function(e,t){return new URL(e,t)}}]),e}();ae.pathToRegexp=Q;var se=ae.pathToRegexp,ue=new Map;function ce(e,t){var n=e.get(t);if(n&&n.length>1)throw new Error('Duplicate route with name "'.concat(t,'".')+" Try seting unique 'name' route properties.");return n&&n[0]}function le(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof ae))throw new TypeError("An instance of Resolver is expected");var n=new Map;return function(r,i){var o=ce(n,r);if(!(o||(n.clear(),function e(t,n,r){var i=n.name||n.component;if(i&&(t.has(i)?t.get(i).push(n):t.set(i,[n])),Array.isArray(r))for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return Se(Ee.pathToRegexp.compile(ke(l))(Object.assign({},s,e)),c)}}}function _e(e,t){var n=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:n}}}function ge(e,t,n){if(j(e))return e.apply(n,t)}function we(e,t,n){return function(r){return r&&(r.cancel||r.redirect)?r:n?ge(n[e],t,n):void 0}}function Oe(e){if(e&&e.length)for(var t=e[0].parentNode,n=0;n1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(n).then(function(r){var i=r!==n?r:e;return r.next().then(function(e){if((null===e||e===M)&&Se(ke(r.chain),r.resolver)!==r.pathname)throw R(i);return e&&e!==M?t.__fullyResolveChain(i,e):t.__amendWithOnBeforeCallbacks(i)})})}},{key:"__amendWithResolutionResult",value:function(e){var t=this,n=e.result;return n instanceof HTMLElement?Promise.resolve(e):n.redirect?this.__redirect(n.redirect,e.__redirectCount).then(function(e){return t.__amendWithResolutionResult(e)}):n instanceof Error?Promise.reject(n):Promise.reject(new Error(O('Invalid route resolution result for path "'.concat(e.pathname,'". ')+'Expected redirect object or HTML element, but got: "'.concat(function(e){if("object"!==g()(e))return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?"".concat(t," ").concat(JSON.stringify(e)):t}(n),'". ')+"Double check the action return value for the route.")))}},{key:"__amendWithOnBeforeCallbacks",value:function(e){var t=this;return this.__runOnBeforeCallbacks(e).then(function(n){return n===t.__previousContext||n===e?n:t.__fullyResolveChain(n)})}},{key:"__runOnBeforeCallbacks",value:function(e){var t=this,n=(this.__previousContext||{}).chain||[],r=e.chain,i=Promise.resolve(),o=function(){return{cancel:!0}},a=function(t){return _e(e,t)};if(e.__divergedChainIndex=0,n.length){for(var s=0;s=e.__divergedChainIndex;u--){var c=be(e);i=i.then(we("onBeforeLeave",[c,{prevent:o},this],n[u].element)).then(function(e){if(!(e||{}).redirect)return e})}}for(var l=e.__divergedChainIndex;l256)throw new Error(O("Too many redirects when rendering ".concat(e.from)));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}},{key:"__ensureOutlet",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(O("Expected router outlet to be a valid DOM Node (but got ".concat(e,")")))}},{key:"__updateBrowserHistory",value:function(e,t){if(window.location.pathname!==e){var n=t?"replaceState":"pushState";window.history[n](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}},{key:"__addAppearingContent",value:function(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var n=this.__outlet,r=0;r=e.__divergedChainIndex;n--){var r=t.chain[n].element;if(r)try{var i=be(e);ge(r.onAfterLeave,[i,{},t.resolver],r)}finally{Oe(r.children)}}}},{key:"__runOnAfterEnterCallbacks",value:function(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(n&&r&&t){var s=N(t)&&t.leave||"leaving",u=N(t)&&t.enter||"entering";i.push(ye(n,s)),i.push(ye(r,u))}return Promise.all(i).then(function(){return e})}},{key:"subscribe",value:function(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"unsubscribe",value:function(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"__onNavigationEvent",value:function(e){var t=e?e.detail.pathname:window.location.pathname;A(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}},{key:"urlForName",value:function(e,t){return this.__urlForName||(this.__urlForName=fe(this)),Se(this.__urlForName(e,t),this)}},{key:"urlForPath",value:function(e,n){return Se(t.pathToRegexp.compile(e)(n),this)}}],[{key:"setTriggers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&!Pe(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),Ce(Te),Ee.NavigationTrigger={POPSTATE:q,CLICK:D}},352:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n1,i=!1,o=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=f(t,c);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return d(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(a("iterator")&&(r=f(t,u)))return new n(function(e){v(function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,m.default.GQL_START,e))}).catch(function(e){n.unsubscribe(r),t(n.formatErrors(e))}),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,i)||i&&!l.default(i)||r&&!f.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r({},n,{query:"string"==typeof n.query?n.query:h.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,v.GRAPHQL_WS),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var n=t.data;e.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var i=t.payload.errors?r({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,i);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(275))},356:function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},357:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);rthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},370:function(e,t,n){"use strict";n.r(t),n.d(t,"tuple",function(){return d}),n.d(t,"lookup",function(){return f}),n.d(t,"lookupArray",function(){return h});var r="function"==typeof Symbol&&"function"==typeof Symbol.for,i=r?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=r?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!1,configurable:!1}),n}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function f(){return h(arguments)}function h(e){for(var t=l,n=e.length,r=0;r0&&(t=[],e.childValues.forEach(function(n,r){w(e,r),t.push(r)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),m(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},372:function(e,t,n){"use strict";(function(e){var t,r,i=n(266),o=n.n(i);t=void 0,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===o()(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(n,"\\$&").replace(r,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=j;M-=1){var F=M-1,D=n[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==T&&(R[M]|=(E[M+1]|E[M])<<1|1|E[M+1]),R[M]&C&&(x=r(t,{errors:T,currentLocation:F,expectedLocation:y,distance:c}))<=b){if(b=x,(_=F)<=y)break;j=Math.max(1,2*y-_)}}if(r(t,{errors:T+1,currentLocation:y,expectedLocation:y,distance:c})>b)break;E=R}return{isMatch:_>=0,score:0===x?.001:x,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,n){function r(e,t){for(var n=0;nn)return i(e,this.pattern,r);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,f=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:f})}}])&&r(t.prototype,n),s&&r(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,n){var r=n("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,n,i){if(n){var o=n.indexOf("."),a=n,s=null;-1!==o&&(a=n.slice(0,o),s=n.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(r(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,i=n.fullSearcher,o=this._search(r,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,i=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,r={},i=[];if("string"==typeof n[0]){for(var o=0,a=n.length;o1)throw new Error("Key weight has to be > 0 and <= 1");d=d.name}else s[d]={weight:1};this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:u},{resultMap:r,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,i=void 0===r?-1:r,o=e.value,a=e.record,s=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,f=t.fullSearcher,h=void 0===f?[]:f,d=t.resultMap,p=void 0===d?{}:d,v=t.results,y=void 0===v?[]:v;if(null!=o){var m=!1,b=-1,_=0;if("string"==typeof o){this._log("\nKey: ".concat(""===n?"-":n));var g=h.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],S=0;S-1&&(j=(j+b)/2),this._log("Score average:",j);var A=!this.options.tokenize||!this.options.matchAllTokens||_>=l.length;if(this._log("\nCheck Matches: ".concat(A)),(m||g.isMatch)&&A){var R=p[s];R?R.output.push({key:n,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}):(p[s]={item:a,output:[{key:n,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}]},y.push(p[s]))}}else if(u(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;o\n \n\n \n\n \n',document.head.appendChild(Z.content);var ee=document.createElement("template");ee.innerHTML="\n \n",document.head.appendChild(ee.content);var te=document.createElement("template");te.innerHTML="\n \n",document.head.appendChild(te.content);var ne=document.createElement("template");ne.innerHTML='\n \n',document.head.appendChild(ne.content);var re=n(273),ie=n.n(re),oe=n(267),ae=n.n(oe),se=0;function ue(){}ue.prototype.__mixinApplications,ue.prototype.__mixinSet;var ce=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var n=se++;function r(r){var i=r.__mixinSet;if(i&&i[n])return r;var o=t,a=o.get(r);a||(a=e(r),o.set(r,a));var s=Object.create(a.__mixinSet||i||null);return s[n]=!0,a.__mixinSet=s,a}return r},le=n(266),fe=n.n(le);function he(e){return e.indexOf(".")>=0}function de(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function pe(e,t){return 0===e.indexOf(t+".")}function ve(e,t){return 0===t.indexOf(e+".")}function ye(e,t,n){return t+n.slice(e.length)}function me(e){if(Array.isArray(e)){for(var t=[],n=0;n1){for(var a=0;a=0){if(!Ce[t])throw new Error("invalid async handle: "+e);Ce[t]=null}}},Ae=je,Re=ce(function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__dataEnabled=!1,e.__dataReady=!1,e.__dataInvalid=!1,e.__data={},e.__dataPending=null,e.__dataOld=null,e.__dataInstanceProps=null,e.__serializing=!1,e._initializeProperties(),e}return h()(t,e),a()(t,[{key:"_createPropertyAccessor",value:function(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}},{key:"_addPropertyToAttributeMap",value:function(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){var t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}},{key:"_definePropertyAccessor",value:function(e,t){Object.defineProperty(this,e,{get:function(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}}],[{key:"createProperties",value:function(e){var t=this.prototype;for(var n in e)n in t||t._createPropertyAccessor(n)}},{key:"attributeNameForProperty",value:function(e){return e.toLowerCase()}},{key:"typeForProperty",value:function(e){}}]),a()(t,[{key:"ready",value:function(){this.__dataReady=!0,this._flushProperties()}},{key:"_initializeProperties",value:function(){for(var e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}},{key:"_initializeInstanceProperties",value:function(e){Object.assign(this,e)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}},{key:"_getProperty",value:function(e){return this.__data[e]}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__data[e],i=this._shouldPropertyChange(e,t,r);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||e in this.__dataOld||(this.__dataOld[e]=r),this.__data[e]=t,this.__dataPending[e]=t),i}},{key:"_invalidateProperties",value:function(){var e=this;!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Ae.run(function(){e.__dataInvalid&&(e.__dataInvalid=!1,e._flushProperties())}))}},{key:"_enableProperties",value:function(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}},{key:"_flushProperties",value:function(){var e=this.__data,t=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(e,t,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,n))}},{key:"_shouldPropertiesChange",value:function(e,t,n){return Boolean(t)}},{key:"_propertiesChanged",value:function(e,t,n){}},{key:"_shouldPropertyChange",value:function(e,t,n){return n!==t&&(n==n||t==t)}},{key:"attributeChangedCallback",value:function(e,n,r,i){n!==r&&this._attributeToProperty(e,r),ae()(l()(t.prototype),"attributeChangedCallback",this)&&ae()(l()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r,i)}},{key:"_attributeToProperty",value:function(e,t,n){if(!this.__serializing){var r=this.__dataAttributes,i=r&&r[e]||e;this[i]=this._deserializeValue(t,n||this.constructor.typeForProperty(i))}}},{key:"_propertyToAttribute",value:function(e,t,n){this.__serializing=!0,n=arguments.length<3?this[e]:n,this._valueToNodeAttribute(this,n,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}},{key:"_valueToNodeAttribute",value:function(e,t,n){var r=this._serializeValue(t);void 0===r?e.removeAttribute(n):e.setAttribute(n,r)}},{key:"_serializeValue",value:function(e){switch(fe()(e)){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}},{key:"_deserializeValue",value:function(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}]),t}(e)}),Me={},Fe=HTMLElement.prototype;Fe;){for(var De=Object.getOwnPropertyNames(Fe),Le=0;Lec.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=n[t];t=ye(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}return"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,n,r),j&&(i=j(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[Je.READ_ONLY]&&t[Je.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,n,r,o))}}function ct(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;o="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=de(t),n.structured=he(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function bt(e,t,n,r){var i=n+".splices";e.notifyPath(i,{indexSplices:r}),e.notifyPath(n+".length",t.length),e.__data[i]={indexSplices:null}}function _t(e,t,n,r,i,o){bt(e,t,n,[{index:r,addedCount:i,removed:o,object:t,type:"splice"}])}var gt=ce(function(e){var t=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__isPropertyEffectsClient=!0,e.__dataCounter=0,e.__dataClientsReady,e.__dataPendingClients,e.__dataToNotify,e.__dataLinkedPaths,e.__dataHasPaths,e.__dataCompoundStorage,e.__dataHost,e.__dataTemp,e.__dataClientsInitialized,e.__data,e.__dataPending,e.__dataOld,e.__computeEffects,e.__reflectEffects,e.__notifyEffects,e.__propagateEffects,e.__observeEffects,e.__readOnly,e.__templateInfo,e}return h()(t,e),a()(t,[{key:"_initializeProperties",value:function(){ae()(l()(t.prototype),"_initializeProperties",this).call(this),wt.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}},{key:"_initializeProtoProperties",value:function(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}},{key:"_initializeInstanceProperties",value:function(e){var t=this[Je.READ_ONLY];for(var n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}},{key:"_addPropertyEffect",value:function(e,t,n){this._createPropertyAccessor(e,t==Je.READ_ONLY);var r=We(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}},{key:"_removePropertyEffect",value:function(e,t,n){var r=We(this,t)[e],i=r.indexOf(n);i>=0&&r.splice(i,1)}},{key:"_hasPropertyEffect",value:function(e,t){var n=this[t];return Boolean(n&&n[e])}},{key:"_hasReadOnlyEffect",value:function(e){return this._hasPropertyEffect(e,Je.READ_ONLY)}},{key:"_hasNotifyEffect",value:function(e){return this._hasPropertyEffect(e,Je.NOTIFY)}},{key:"_hasReflectEffect",value:function(e){return this._hasPropertyEffect(e,Je.REFLECT)}},{key:"_hasComputedEffect",value:function(e){return this._hasPropertyEffect(e,Je.COMPUTE)}},{key:"_setPendingPropertyOrPath",value:function(e,n,r,i){if(i||de(Array.isArray(e)?e[0]:e)!==e){if(!i){var o=_e(this,e);if(!(e=ge(this,e,n))||!ae()(l()(t.prototype),"_shouldPropertyChange",this).call(this,e,n,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,n,r))return function(e,t,n){var r,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];ve(o,t)?(r=ye(o,a,t),e._setPendingPropertyOrPath(r,n,!0,!0)):ve(a,t)&&(r=ye(a,o,t),e._setPendingPropertyOrPath(r,n,!0,!0))}}(this,e,n),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,n,r);this[e]=n}return!1}},{key:"_setUnmanagedPropertyToNode",value:function(e,t,n){n===e[t]&&"object"!=fe()(n)||(e[t]=n)}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__dataHasPaths&&he(e),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[Je.NOTIFY]&&this[Je.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}},{key:"_invalidateProperties",value:function(){this.__dataReady&&this._flushProperties()}},{key:"_enqueueClient",value:function(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}},{key:"_flushProperties",value:function(){this.__dataCounter++,ae()(l()(t.prototype),"_flushProperties",this).call(this),this.__dataCounter--}},{key:"_flushClients",value:function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}},{key:"__enableOrFlushClients",value:function(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?r-3:0),o=3;o1?r-1:0),o=1;oi&&r.push({literal:e.slice(i,n.index)});var o=n[1][0],a=Boolean(n[2]),s=n[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var f=yt(s),h=[];if(f){for(var d=f.args,p=f.methodName,v=0;v1?n-1:0),i=1;i0||n>0;)if(0!=t)if(0!=n){var o=e[t-1][n-1],a=e[t-1][n],s=e[t][n-1],u=void 0;(u=a=0&&!Vt(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());var Ht,zt=function(){return Bt(Ut)};window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){zt&&zt()};function Gt(){var e=ie()(['\n \n
\n \n
\n']);return Gt=function(){return e},e}var Kt=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){ae()(l()(t.prototype),"ready",this).call(this),this.setAttribute("role","list")}},{key:"_scrollerElement",get:function(){return this.shadowRoot.querySelector('[part="items"]')}}],[{key:"template",get:function(){return Pt(Gt())}},{key:"is",get:function(){return"vaadin-list-box"}},{key:"version",get:function(){return"1.1.0"}},{key:"properties",get:function(){return{orientation:{readOnly:!0}}}}]),t}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){ae()(l()(t.prototype),"ready",this).call(this),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add to the HTML document.')}}],[{key:"_finalizeClass",value:function(){var e;ae()(l()(t),"_finalizeClass",this).call(this),this.is&&(window.Vaadin.registrations.push(this),window.Vaadin.developmentModeCallback&&(Ht=Lt.debounce(Ht,Ne,function(){window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),e=Ht,qt.push(e)))}}]),t}(e)}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){var e=this;ae()(l()(t.prototype),"ready",this).call(this),this.addEventListener("keydown",function(t){return e._onKeydown(t)}),this.addEventListener("click",function(t){return e._onClick(t)}),this._observer=new Dt(this,function(t){e._setItems(e._filterItems(Array.from(e.children)))})}},{key:"_enhanceItems",value:function(e,t,n){if(e){this.setAttribute("aria-orientation",t||"vertical"),this.items.forEach(function(e){t?e.setAttribute("orientation",t):e.removeAttribute("orientation"),e.updateStyles()}),this._setFocusable(n);var r=e[n];e.forEach(function(e){return e.selected=e===r}),r&&!r.disabled&&this._scrollToItem(n)}}},{key:"_filterItems",value:function(e){return e.filter(function(e){return e._hasVaadinItemMixin})}},{key:"_onClick",value:function(e){if(!(e.metaKey||e.shiftKey||e.ctrlKey)){var t,n=this._filterItems(e.composedPath())[0];n&&!n.disabled&&(t=this.items.indexOf(n))>=0&&(this.selected=t)}}},{key:"_onKeydown",value:function(e){if(!e.metaKey&&!e.ctrlKey){var t,n,r=e.key.replace(/^Arrow/,""),i=this.items.indexOf(this.focused),o=function(e){return!e.disabled};this._vertical&&"Up"===r||!this._vertical&&"Left"===r?(n=-1,t=i-1):this._vertical&&"Down"===r||!this._vertical&&"Right"===r?(n=1,t=i+1):"Home"===r?(n=1,t=0):"End"===r?(n=-1,t=this.items.length-1):1==r.length&&(n=1,t=i+1,o=function(e){return!e.disabled&&0===e.textContent.trim().toLowerCase().indexOf(r.toLowerCase())}),(t=this._getAvailableIndex(t,n,o))>=0&&(this._focus(t),e.preventDefault())}}},{key:"_getAvailableIndex",value:function(e,t,n){for(var r=this.items.length,i=0;"number"==typeof e&&i=r&&(e=0),n(this.items[e]))return e;return-1}},{key:"_setFocusable",value:function(e){e=this._getAvailableIndex(e,1,function(e){return!e.disabled});var t=this.items[e]||this.items[0];this.items.forEach(function(e){return e.tabIndex=e===t?0:-1})}},{key:"_focus",value:function(e){var t=this.items[e];this.items.forEach(function(e){return e.focused=e===t}),this._setFocusable(e),this._scrollToItem(e),t.focus()}},{key:"focus",value:function(){this._observer.flush();var e=this.querySelector('[tabindex="0"]')||this.items[0];e&&e.focus()}},{key:"_scrollToItem",value:function(e){var t=this.items[e];if(t){var n=this._vertical?["top","bottom"]:["left","right"],r=this._scrollerElement.getBoundingClientRect(),i=(this.items[e+1]||t).getBoundingClientRect(),o=(this.items[e-1]||t).getBoundingClientRect(),a=0;i[n[1]]>=r[n[1]]?a=i[n[1]]-r[n[1]]:o[n[0]]<=r[n[0]]&&(a=o[n[0]]-r[n[0]]),this._scroll(a)}}},{key:"_scroll",value:function(e){this._scrollerElement["scroll"+(this._vertical?"Top":"Left")]+=e}},{key:"focused",get:function(){return this.getRootNode().activeElement}},{key:"_scrollerElement",get:function(){}},{key:"_vertical",get:function(){return"horizontal"!==this.orientation}}],[{key:"properties",get:function(){return{_hasVaadinListMixin:{value:!0},selected:{type:Number,reflectToAttribute:!0,notify:!0},orientation:{type:String,reflectToAttribute:!0,value:""},items:{type:Array,readOnly:!0,notify:!0}}}},{key:"observers",get:function(){return["_enhanceItems(items, orientation, selected)"]}}]),t}(e)}(function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"finalize",value:function(){var e=this;ae()(l()(t),"finalize",this).call(this);var n=this.prototype._template,r=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,i=Object.getPrototypeOf(this.prototype)._template;i&&!r&&Array.from(i.content.querySelectorAll("style[include]")).forEach(function(t){e._includeStyle(t.getAttribute("include"),n)}),this._includeMatchingThemes(n)}},{key:"_includeMatchingThemes",value:function(e){var t=this,n=q.prototype.modules,r=!1,i=this.is+"-default-theme";Object.keys(n).sort(function(e,t){var n=0===e.indexOf("vaadin-"),r=0===t.indexOf("vaadin-"),i=["lumo-","material-"],o=i.filter(function(t){return 0===e.indexOf(t)}).length>0,a=i.filter(function(e){return 0===t.indexOf(e)}).length>0;return n!==r?n?-1:1:o!==a?o?-1:1:0}).forEach(function(o){if(o!==i){var a=n[o].getAttribute("theme-for");a&&a.split(" ").forEach(function(n){new RegExp("^"+n.split("*").join(".*")+"$").test(t.is)&&(r=!0,t._includeStyle(o,e))})}}),!r&&n[i]&&this._includeStyle(i,e)}},{key:"_includeStyle",value:function(e,t){if(t&&!t.content.querySelector('style[include="'.concat(e,'"]'))){var n=document.createElement("style");n.setAttribute("include",e),t.content.appendChild(n)}}}]),t}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"attributeChangedCallback",value:function(e,n,r){ae()(l()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r),"theme"===e&&this._setTheme(r)}}],[{key:"properties",get:function(){return{theme:{type:String,readOnly:!0}}}}]),t}(e)}(Ct)))));customElements.define(Kt.is,Kt)},379:function(e,t,n){"use strict";n.r(t);var r=n(310),i=n(311);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index0&&y(t[0]);)t.shift();for(;t.length>0&&y(t[t.length-1]);)t.pop();return t.join("\n")}function v(e){for(var t=0;t",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function w(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}var O=String.prototype.charCodeAt,S=String.prototype.slice;function k(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function E(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function x(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i=i)return new k(g.EOF,i,i,a,s,t);var u=O.call(r,o);switch(u){case 33:return new k(g.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=O.call(a,++s)}while(null!==o&&(o>31||9===o));return new k(g.COMMENT,t,s,n,r,i,S.call(a,t+1,s))}(n,o,a,s,t);case 36:return new k(g.DOLLAR,o,o+1,a,s,t);case 38:return new k(g.AMP,o,o+1,a,s,t);case 40:return new k(g.PAREN_L,o,o+1,a,s,t);case 41:return new k(g.PAREN_R,o,o+1,a,s,t);case 46:if(46===O.call(r,o+1)&&46===O.call(r,o+2))return new k(g.SPREAD,o,o+3,a,s,t);break;case 58:return new k(g.COLON,o,o+1,a,s,t);case 61:return new k(g.EQUALS,o,o+1,a,s,t);case 64:return new k(g.AT,o,o+1,a,s,t);case 91:return new k(g.BRACKET_L,o,o+1,a,s,t);case 93:return new k(g.BRACKET_R,o,o+1,a,s,t);case 123:return new k(g.BRACE_L,o,o+1,a,s,t);case 124:return new k(g.PIPE,o,o+1,a,s,t);case 125:return new k(g.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&null!==(u=O.call(o,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new k(g.NAME,t,s,n,r,i,S.call(o,t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,u=t,c=!1;45===s&&(s=O.call(a,++u));if(48===s){if((s=O.call(a,++u))>=48&&s<=57)throw d(e,u,"Invalid number, unexpected digit after 0: ".concat(E(s),"."))}else u=P(e,u,s),s=O.call(a,u);46===s&&(c=!0,s=O.call(a,++u),u=P(e,u,s),s=O.call(a,u));69!==s&&101!==s||(c=!0,43!==(s=O.call(a,++u))&&45!==s||(s=O.call(a,++u)),u=P(e,u,s));return new k(c?g.FLOAT:g.INT,t,u,r,i,o,S.call(a,t,u))}(n,o,u,a,s,t);case 34:return 34===O.call(r,o+1)&&34===O.call(r,o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=O.call(r,++i)}while(o>=48&&o<=57);return i}throw d(e,i,"Invalid number, expected digit but got: ".concat(E(o),"."))}function C(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(k,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var T=n(312),I=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function N(e,t){var n="string"==typeof e?new u(e):e;if(!(n instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(r.a)(n)));return function(e){var t=e.token;return{kind:T.a.DOCUMENT,definitions:xe(e,g.SOF,M,g.EOF),loc:me(e,t)}}(m(n,t||{}))}function j(e,t){var n=m("string"==typeof e?new u(e):e,t||{});we(n,g.SOF);var r=J(n,!1);return we(n,g.EOF),r}function A(e,t){var n=m("string"==typeof e?new u(e):e,t||{});we(n,g.SOF);var r=te(n);return we(n,g.EOF),r}function R(e){var t=we(e,g.NAME);return{kind:T.a.NAME,value:t.value,loc:me(e,t)}}function M(e){if(_e(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return F(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return re(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Se(e,"extend"),Se(e,"schema");var n=Z(e,!0),r=_e(e,g.BRACE_L)?xe(e,g.BRACE_L,ae,g.BRACE_R):[];if(0===n.length&&0===r.length)throw ke(e);return{kind:T.a.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:me(e,t)}}(e);case"scalar":return function(e){var t=e.token;Se(e,"extend"),Se(e,"scalar");var n=R(e),r=Z(e,!0);if(0===r.length)throw ke(e);return{kind:T.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:me(e,t)}}(e);case"type":return function(e){var t=e.token;Se(e,"extend"),Se(e,"type");var n=R(e),r=se(e),i=Z(e,!0),o=ue(e);if(0===r.length&&0===i.length&&0===o.length)throw ke(e);return{kind:T.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:me(e,t)}}(e);case"interface":return function(e){var t=e.token;Se(e,"extend"),Se(e,"interface");var n=R(e),r=Z(e,!0),i=ue(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:T.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:me(e,t)}}(e);case"union":return function(e){var t=e.token;Se(e,"extend"),Se(e,"union");var n=R(e),r=Z(e,!0),i=he(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:T.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:me(e,t)}}(e);case"enum":return function(e){var t=e.token;Se(e,"extend"),Se(e,"enum");var n=R(e),r=Z(e,!0),i=de(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:T.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:me(e,t)}}(e);case"input":return function(e){var t=e.token;Se(e,"extend"),Se(e,"input");var n=R(e),r=Z(e,!0),i=ve(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:T.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:me(e,t)}}(e)}throw ke(e,t)}(e)}else{if(_e(e,g.BRACE_L))return F(e);if(ie(e))return re(e)}throw ke(e)}function F(e){if(_e(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return D(e);case"fragment":return function(e){var t=e.token;if(Se(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:T.a.FRAGMENT_DEFINITION,name:K(e),variableDefinitions:q(e),typeCondition:(Se(e,"on"),ne(e)),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)};return{kind:T.a.FRAGMENT_DEFINITION,name:K(e),typeCondition:(Se(e,"on"),ne(e)),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}(e)}else if(_e(e,g.BRACE_L))return D(e);throw ke(e)}function D(e){var t=e.token;if(_e(e,g.BRACE_L))return{kind:T.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:B(e),loc:me(e,t)};var n,r=L(e);return _e(e,g.NAME)&&(n=R(e)),{kind:T.a.OPERATION_DEFINITION,operation:r,name:n,variableDefinitions:q(e),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}function L(e){var t=we(e,g.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw ke(e,t)}function q(e){return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,Q,g.PAREN_R):[]}function Q(e){var t=e.token;return{kind:T.a.VARIABLE_DEFINITION,variable:V(e),type:(we(e,g.COLON),te(e)),defaultValue:ge(e,g.EQUALS)?J(e,!0):void 0,directives:Z(e,!0),loc:me(e,t)}}function V(e){var t=e.token;return we(e,g.DOLLAR),{kind:T.a.VARIABLE,name:R(e),loc:me(e,t)}}function B(e){var t=e.token;return{kind:T.a.SELECTION_SET,selections:xe(e,g.BRACE_L,U,g.BRACE_R),loc:me(e,t)}}function U(e){return _e(e,g.SPREAD)?function(e){var t=e.token;we(e,g.SPREAD);var n=Oe(e,"on");if(!n&&_e(e,g.NAME))return{kind:T.a.FRAGMENT_SPREAD,name:K(e),directives:Z(e,!1),loc:me(e,t)};return{kind:T.a.INLINE_FRAGMENT,typeCondition:n?ne(e):void 0,directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}(e):function(e){var t,n,r=e.token,i=R(e);ge(e,g.COLON)?(t=i,n=R(e)):n=i;return{kind:T.a.FIELD,alias:t,name:n,arguments:H(e,!1),directives:Z(e,!1),selectionSet:_e(e,g.BRACE_L)?B(e):void 0,loc:me(e,r)}}(e)}function H(e,t){var n=t?G:z;return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,n,g.PAREN_R):[]}function z(e){var t=e.token;return{kind:T.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),J(e,!1)),loc:me(e,t)}}function G(e){var t=e.token;return{kind:T.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),W(e)),loc:me(e,t)}}function K(e){if("on"===e.token.value)throw ke(e);return R(e)}function J(e,t){var n=e.token;switch(n.kind){case g.BRACKET_L:return function(e,t){var n=e.token,r=t?W:$;return{kind:T.a.LIST,values:Ee(e,g.BRACKET_L,r,g.BRACKET_R),loc:me(e,n)}}(e,t);case g.BRACE_L:return function(e,t){var n=e.token;we(e,g.BRACE_L);var r=[];for(;!ge(e,g.BRACE_R);)r.push(X(e,t));return{kind:T.a.OBJECT,fields:r,loc:me(e,n)}}(e,t);case g.INT:return e.advance(),{kind:T.a.INT,value:n.value,loc:me(e,n)};case g.FLOAT:return e.advance(),{kind:T.a.FLOAT,value:n.value,loc:me(e,n)};case g.STRING:case g.BLOCK_STRING:return Y(e);case g.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:T.a.BOOLEAN,value:"true"===n.value,loc:me(e,n)}):"null"===n.value?(e.advance(),{kind:T.a.NULL,loc:me(e,n)}):(e.advance(),{kind:T.a.ENUM,value:n.value,loc:me(e,n)});case g.DOLLAR:if(!t)return V(e)}throw ke(e)}function Y(e){var t=e.token;return e.advance(),{kind:T.a.STRING,value:t.value,block:t.kind===g.BLOCK_STRING,loc:me(e,t)}}function W(e){return J(e,!0)}function $(e){return J(e,!1)}function X(e,t){var n=e.token;return{kind:T.a.OBJECT_FIELD,name:R(e),value:(we(e,g.COLON),J(e,t)),loc:me(e,n)}}function Z(e,t){for(var n=[];_e(e,g.AT);)n.push(ee(e,t));return n}function ee(e,t){var n=e.token;return we(e,g.AT),{kind:T.a.DIRECTIVE,name:R(e),arguments:H(e,t),loc:me(e,n)}}function te(e){var t,n=e.token;return ge(e,g.BRACKET_L)?(t=te(e),we(e,g.BRACKET_R),t={kind:T.a.LIST_TYPE,type:t,loc:me(e,n)}):t=ne(e),ge(e,g.BANG)?{kind:T.a.NON_NULL_TYPE,type:t,loc:me(e,n)}:t}function ne(e){var t=e.token;return{kind:T.a.NAMED_TYPE,name:R(e),loc:me(e,t)}}function re(e){var t=ie(e)?e.lookahead():e.token;if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Se(e,"schema");var n=Z(e,!0),r=xe(e,g.BRACE_L,ae,g.BRACE_R);return{kind:T.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:me(e,t)}}(e);case"scalar":return function(e){var t=e.token,n=oe(e);Se(e,"scalar");var r=R(e),i=Z(e,!0);return{kind:T.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:me(e,t)}}(e);case"type":return function(e){var t=e.token,n=oe(e);Se(e,"type");var r=R(e),i=se(e),o=Z(e,!0),a=ue(e);return{kind:T.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a,loc:me(e,t)}}(e);case"interface":return function(e){var t=e.token,n=oe(e);Se(e,"interface");var r=R(e),i=Z(e,!0),o=ue(e);return{kind:T.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:me(e,t)}}(e);case"union":return function(e){var t=e.token,n=oe(e);Se(e,"union");var r=R(e),i=Z(e,!0),o=he(e);return{kind:T.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:me(e,t)}}(e);case"enum":return function(e){var t=e.token,n=oe(e);Se(e,"enum");var r=R(e),i=Z(e,!0),o=de(e);return{kind:T.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:me(e,t)}}(e);case"input":return function(e){var t=e.token,n=oe(e);Se(e,"input");var r=R(e),i=Z(e,!0),o=ve(e);return{kind:T.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:me(e,t)}}(e);case"directive":return function(e){var t=e.token,n=oe(e);Se(e,"directive"),we(e,g.AT);var r=R(e),i=le(e);Se(e,"on");var o=function(e){ge(e,g.PIPE);var t=[];do{t.push(ye(e))}while(ge(e,g.PIPE));return t}(e);return{kind:T.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:me(e,t)}}(e)}throw ke(e,t)}function ie(e){return _e(e,g.STRING)||_e(e,g.BLOCK_STRING)}function oe(e){if(ie(e))return Y(e)}function ae(e){var t=e.token,n=L(e);we(e,g.COLON);var r=ne(e);return{kind:T.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:me(e,t)}}function se(e){var t=[];if(Oe(e,"implements")){ge(e,g.AMP);do{t.push(ne(e))}while(ge(e,g.AMP)||e.options.allowLegacySDLImplementsInterfaces&&_e(e,g.NAME))}return t}function ue(e){return e.options.allowLegacySDLEmptyFields&&_e(e,g.BRACE_L)&&e.lookahead().kind===g.BRACE_R?(e.advance(),e.advance(),[]):_e(e,g.BRACE_L)?xe(e,g.BRACE_L,ce,g.BRACE_R):[]}function ce(e){var t=e.token,n=oe(e),r=R(e),i=le(e);we(e,g.COLON);var o=te(e),a=Z(e,!0);return{kind:T.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a,loc:me(e,t)}}function le(e){return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,fe,g.PAREN_R):[]}function fe(e){var t=e.token,n=oe(e),r=R(e);we(e,g.COLON);var i,o=te(e);ge(e,g.EQUALS)&&(i=W(e));var a=Z(e,!0);return{kind:T.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:i,directives:a,loc:me(e,t)}}function he(e){var t=[];if(ge(e,g.EQUALS)){ge(e,g.PIPE);do{t.push(ne(e))}while(ge(e,g.PIPE))}return t}function de(e){return _e(e,g.BRACE_L)?xe(e,g.BRACE_L,pe,g.BRACE_R):[]}function pe(e){var t=e.token,n=oe(e),r=R(e),i=Z(e,!0);return{kind:T.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:me(e,t)}}function ve(e){return _e(e,g.BRACE_L)?xe(e,g.BRACE_L,fe,g.BRACE_R):[]}function ye(e){var t=e.token,n=R(e);if(I.hasOwnProperty(n.value))return n;throw ke(e,t)}function me(e,t){if(!e.options.noLocation)return new be(t,e.lastToken,e.source)}function be(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function _e(e,t){return e.token.kind===t}function ge(e,t){return e.token.kind===t&&(e.advance(),!0)}function we(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw d(e.source,n.start,"Expected ".concat(t,", found ").concat(w(n)))}function Oe(e,t){var n=e.token;return n.kind===g.NAME&&n.value===t&&(e.advance(),!0)}function Se(e,t){if(!Oe(e,t))throw d(e.source,e.token.start,'Expected "'.concat(t,'", found ').concat(w(e.token)))}function ke(e,t){var n=t||e.token;return d(e.source,n.start,"Unexpected ".concat(w(n)))}function Ee(e,t,n,r){we(e,t);for(var i=[];!ge(e,r);)i.push(n(e));return i}function xe(e,t,n,r){we(e,t);for(var i=[n(e)];!ge(e,r);)i.push(n(e));return i}n.d(t,"parse",function(){return N}),n.d(t,"parseValue",function(){return j}),n.d(t,"parseType",function(){return A}),n.d(t,"parseConstValue",function(){return W}),n.d(t,"parseTypeReference",function(){return te}),n.d(t,"parseNamedType",function(){return ne}),o(be,function(){return{start:this.start,end:this.end}})},380:function(e,t,n){"use strict";var r=n(274),i=n(313),o=n.n(i).a,a="Invariant Violation",s=Object.setPrototypeOf,u=void 0===s?function(e,t){return e.__proto__=t,e}:s,c=function(e){function t(n){void 0===n&&(n=a);var r=e.call(this,"number"==typeof n?a+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=a,u(r,t.prototype),r}return Object(r.__extends)(t,e),t}(Error);function l(e,t){if(!e)throw new c(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=r)&&(i?i(n,t):!!n)}}(i),o}return Object(r.__extends)(t,e),t.prototype.request=function(e,t){var n=new O(e,t,this.delayFor,this.retryIf);return n.start(),new o(function(e){return n.subscribe(e),function(){n.unsubscribe(e)}})},t}(g)},383:function(e,t,n){"use strict";var r=n(274),i=n(269),o=n(280),a=n(314),s=n(300),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var c,l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey(),i=function(e){return n.inFlightRequestObservables.delete(e),n.subscribers.get(e)};if(!this.inFlightRequestObservables.get(r)){var a,s=t(e),u=new o.b(function(e){var t=n.subscribers.get(r);return t||(t={next:[],error:[],complete:[]}),n.subscribers.set(r,{next:t.next.concat([e.next.bind(e)]),error:t.error.concat([e.error.bind(e)]),complete:t.complete.concat([e.complete.bind(e)])}),a||(a=s.subscribe({next:function(e){var t=i(r);n.subscribers.delete(r),t&&(t.next.forEach(function(t){return t(e)}),t.complete.forEach(function(e){return e()}))},error:function(e){var t=i(r);n.subscribers.delete(r),t&&t.error.forEach(function(t){return t(e)})}})),function(){a&&a.unsubscribe(),n.inFlightRequestObservables.delete(r)}});this.inFlightRequestObservables.set(r,u)}return this.inFlightRequestObservables.get(r)},t}(o.a),f=n(299);function h(e){return e<7}n.d(t,"a",function(){return E}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(c||(c={}));var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype[a.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.b);var p,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var n=e?e.message:"Error message not found.";t+="GraphQL error: "+n+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},y=function(e){function t(n){var r=n.graphQLErrors,i=n.networkError,o=n.errorMessage,a=n.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=r||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(r.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(p||(p={}));var m=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=o,a.queryManager=n,a.observers=[],a.subscriptionHandles=[],a}return Object(r.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r,i={next:function(n){t(n),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:function(e){n(e)}};r=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:c.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new y({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var o,a=this.queryManager.getCurrentQueryResult(this),s=a.data,u=a.partial,l=!n||n.networkStatus===c.loading,f="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,d={data:s,loading:h(o=n?n.networkStatus:f?c.loading:c.ready),networkStatus:o};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(d.errors=n.graphQLErrors),u||(this.lastResult=Object(r.__assign)({},d,{stale:!1}),this.lastResultSnapshot=Object(i.cloneDeep)(this.lastResult)),Object(r.__assign)({},d,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(i.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(i.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(i.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,o=Object(r.__assign)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,o,p.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,n=this;return Object(s.b)(e.updateQuery),Promise.resolve().then(function(){var i=n.queryManager.generateQueryId();return(t=e.query?e:Object(r.__assign)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(i,t,p.normal,n.queryId)}).then(function(r){return n.updateQuery(function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})}),r})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery(function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var o=e||this.variables;return Object(i.isEqual)(o,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(r.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,o=t.document,a=Object(i.tryFunctionOrLogError)(function(){return e(n,{variables:r})});a&&(this.queryManager.dataStore.markUpdateQueryResult(o,r,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){b(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(b(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(i.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(d);function b(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var _=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(i.isEqual)(t.document,e.document))throw new s.a;var n,r=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==c.loading&&(Object(i.isEqual)(t.variables,e.variables)||(r=!0,o=t.variables)),n=r?c.setVariables:e.isPoll?c.poll:e.isRefetch?c.refetch:c.loading;var a=[];t&&t.graphQLErrors&&(a=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:a,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=c.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=c.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=c.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=c.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?c.ready:c.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,n){return e[n]=Object(r.__assign)({},t.store[n],{networkStatus:c.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(i.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(i.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(r.__awaiter)(this,void 0,void 0,function(){return Object(r.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then(function(e){return Object(r.__assign)({},n,{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(i.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(i.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(r.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(r.__awaiter)(this,void 0,void 0,function(){return Object(r.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return Object(r.__assign)({},t,e.exportedVariables)})]:[2,Object(r.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(f.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return f.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(i.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,o,a,s){return void 0===n&&(n={}),void 0===o&&(o={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(r.__awaiter)(this,void 0,void 0,function(){var u,c,l,f,h,d,p,v,y;return Object(r.__generator)(this,function(m){var b;return u=Object(i.getMainDefinition)(e),c=Object(i.getFragmentDefinitions)(e),l=Object(i.createFragmentMap)(c),f=u.operation,h=f?(b=f).charAt(0).toUpperCase()+b.slice(1):"Query",p=(d=this).cache,v=d.client,y={fragmentMap:l,context:Object(r.__assign)({},n,{cache:p,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:h,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n){return Object(r.__awaiter)(this,void 0,void 0,function(){var o,a,u,c,l,f=this;return Object(r.__generator)(this,function(h){return o=n.fragmentMap,a=n.context,u=n.variables,c=[t],l=function(e){return Object(r.__awaiter)(f,void 0,void 0,function(){var l,f;return Object(r.__generator)(this,function(r){return Object(i.shouldInclude)(e,u)?Object(i.isField)(e)?[2,this.resolveField(e,t,n).then(function(t){var n;void 0!==t&&c.push(((n={})[Object(i.resultKeyNameFromField)(e)]=t,n))})]:(Object(i.isInlineFragment)(e)?l=e:(l=o[e.name.value],Object(s.b)(l)),l&&l.typeCondition&&(f=l.typeCondition.name.value,n.fragmentMatcher(t,f,a))?[2,this.resolveSelectionSet(l.selectionSet,t,n).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(i.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,n){return Object(r.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,h,d,p=this;return Object(r.__generator)(this,function(r){return o=n.variables,a=e.name.value,s=Object(i.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(f=t.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[u?a:s])&&(l=Promise.resolve(d(t,Object(i.argumentsObjectFromField)(e,o),n.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,n):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0}))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,a=e.onBroadcast,s=void 0===a?function(){}:a,u=e.ssrMode,c=void 0!==u&&u,f=e.clientAwareness,h=void 0===f?{}:f,d=e.localState;this.mutationStore=new _,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=o.a.from([new l,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=s,this.clientAwareness=h,this.localState=d||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,a=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,v=e.errorPolicy,m=void 0===v?"none":v,b=e.fetchPolicy,_=e.context,g=void 0===_?{}:_;return Object(r.__awaiter)(this,void 0,void 0,function(){var e,c,f,v,_,w=this;return Object(r.__generator)(this,function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!b||"no-cache"===b),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),n=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getMutationDefinition)(t)),n),this.setQuery(e,function(){return{document:t}}),f=function(){var e={};return u&&Object.keys(u).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(n){e[n]={updater:u[t],query:w.queryStore.get(n)}})}),e},Object(i.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,n,g)]:[3,2];case 1:return _=O.sent(),[3,3];case 2:_=n,O.label=3;case 3:return v=_,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:f(),update:p,optimisticResponse:a}),this.broadcastQueries(),[2,new Promise(function(n,s){var u,c,_=w.buildOperationForLink(t,v,Object(r.__assign)({},g,{optimisticResponse:a})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:a}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],n=0,r=l;n=(n||1)&&(I.queryStore.markQueryError(e,t,o),I.invalidate(!0,e,o),I.broadcastQueries()),new y({networkError:t})}),"cache-and-network"!==f)return[2,T];T.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,n){var i=this,o=!1;return function(a,s,u){return Object(r.__awaiter)(i,void 0,void 0,function(){var i,c,l,f,d,p,v,m,b,_,g,w,O,S,k,E,x,P,C,T;return Object(r.__generator)(this,function(I){switch(I.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(i=this.getQuery(e).observableQuery,"standby"===(c=i?i.options.fetchPolicy:t.fetchPolicy))return[2];if(l=i?i.options.errorPolicy:t.errorPolicy,f=i?i.getLastResult():null,d=i?i.getLastError():null,p=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(f&&a.networkStatus!==f.networkStatus),m=l&&(d&&d.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!h(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(b=new y({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,n.error)try{n.error(b)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw b},0);return[2]}I.label=1;case 1:if(I.trys.push([1,7,,8]),_=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),_=s.result,g=!s.complete||!1):f&&f.data&&!m?(_=f.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),_=O.result,g=!O.complete),S=void 0,S=g&&"cache-only"!==c?{data:f&&f.data,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:_,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(S.errors=a.graphQLErrors),!n.next)return[3,6];if(!o&&i&&!i.isDifferentFromLastResult(S))return[3,6];I.label=2;case 2:return I.trys.push([2,5,,6]),u?(k=t.query,E=t.variables,x=t.context,[4,this.localState.runResolvers({document:k,remoteResult:S,context:x,variables:E,onlyRunForcedResolvers:u})]):[3,4];case 3:P=I.sent(),S=Object(r.__assign)({},S,P),I.label=4;case 4:return n.next(S),[3,6];case 5:return C=I.sent(),setTimeout(function(){throw C},0),[3,6];case 6:return o=!1,[3,8];case 7:return T=I.sent(),o=!0,n.error&&n.error(new y({networkError:T})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var n=Object(i.getQueryDefinition)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var o=Object(i.getDefaultValues)(n);e.variables=Object(i.assign)({},o,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(r.__assign)({},e);return new m({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise(function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var n=Object(i.getQueryDefinition)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var o=Object(i.getQueryDefinition)(n.options.query),a=o.name?o.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(n.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,n){t.observableQuery&&e.push(n)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,a=e.query,s=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(a),c=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getOperationDefinition)(a)),e.variables),l=c,f=[],h=this.localState.clientQuery(u);return new d(function(e){if(f.push(e),1===f.length){var a=0,p=!1,v={next:function(e){return Object(r.__awaiter)(n,void 0,void 0,function(){var t;return Object(r.__generator)(this,function(n){switch(n.label){case 0:return a+=1,t=e,h&&Object(i.hasDirectives)(["client"],h)?[4,this.localState.runResolvers({document:h,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return s&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),f.forEach(function(e){Object(i.graphQLResultHasError)(t)&&e.error?e.error(new y({graphQLErrors:t.errors})):e.next&&e.next(t),a-=1}),0===a&&p&&v.complete(),[2]}})})},error:function(e){f.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===a&&f.forEach(function(e){e.complete&&e.complete()}),p=!0}};Object(r.__awaiter)(n,void 0,void 0,function(){var e,n,a,s;return Object(r.__generator)(this,function(r){switch(r.label){case 0:return Object(i.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return n=r.sent(),[3,3];case 2:n=c,r.label=3;case 3:return e=n,(a=this.localState.serverQuery(u))?(s=this.buildOperationForLink(a,e),t=Object(o.c)(this.link,s).subscribe(v)):t=d.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(f=f.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(s.b)(n),t=n}else t=e;var r=t.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(n,r){n.invalidated&&n.listeners&&n.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(r),n.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach(function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),n},e.prototype.fetchRequest=function(e){var t,n,a=this,s=e.requestId,u=e.queryId,l=e.document,f=e.options,h=e.fetchMoreForQueryId,p=f.variables,v=f.context,m=f.errorPolicy,b=void 0===m?"none":m,_=f.fetchPolicy;return new Promise(function(e,f){var m,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var S=a.buildOperationForLink(O,p,Object(r.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=S.context,m=Object(o.c)(a.deduplicator,S)}else g=a.prepareContext(v),m=d.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,f);var k=!1,E=!0,x={next:function(e){return Object(r.__awaiter)(a,void 0,void 0,function(){var o,a;return Object(r.__generator)(this,function(r){switch(r.label){case 0:return E=!0,o=e,a=this.getQuery(u).lastRequestId,s>=(a||1)?w&&Object(i.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:p}).catch(function(t){return E=!1,f(t),e})]:[3,2]:[3,3];case 1:o=r.sent(),r.label=2;case 2:if("no-cache"!==_)try{this.dataStore.markQueryResult(o,l,p,h,"ignore"===b||"all"===b)}catch(e){return E=!1,f(e),[2]}else this.setQuery(u,function(){return{newData:{result:o.data,complete:!0}}});this.queryStore.markQueryResult(u,o,h),this.invalidate(!0,u,h),this.broadcastQueries(),r.label=3;case 3:if(o.errors&&"none"===b)return E=!1,f(new y({graphQLErrors:o.errors})),[2];if("all"===b&&(n=o.errors),h||"no-cache"===_)t=o.data;else try{t=this.dataStore.getCache().read({variables:p,query:l,optimistic:!1})}catch(e){}return E=!1,k&&x.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==P})}}),f(e)},complete:function(){E||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==P})}}),e({data:t,errors:n,loading:!1,networkStatus:c.ready,stale:!1})),k=!0}},P=m.subscribe(x);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([P])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),i=Object(r.__assign)({},n,t(n));this.queries.set(e,i)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,function(){return{invalidated:e}}),n&&this.setQuery(n,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(i.getOperationName)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(r.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==c.ready&&t.networkStatus!==c.error},e.prototype.startPollingQuery=function(e,t,n){var i=e.pollInterval;return Object(s.b)(i),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:i,lastPollTimeMs:Date.now()-10,options:Object(r.__assign)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(i)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,p.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),S=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,o){void 0===o&&(o=!1);var a=!Object(i.graphQLResultHasError)(e);o&&Object(i.graphQLResultHasError)(e)&&e.data&&(a=!0),!r&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(i.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(i.graphQLResultHasError)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(r){var o=e.updateQueries[r],a=o.query,s=o.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(i.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(i.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&n.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){n.forEach(function(t){return e.write(t)})});var r=e.update;r&&this.cache.performTransaction(function(t){Object(i.tryFunctionOrLogError)(function(){return r(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),k="2.5.1",E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,a=void 0!==r&&r,u=e.ssrForceFetchDelay,c=void 0===u?0:u,l=e.connectToDevTools,f=e.queryDeduplication,h=void 0===f||f,d=e.defaultOptions,p=e.resolvers,v=e.typeDefs,y=e.fragmentMatcher,m=e.name,b=e.version,_=e.link;if(!_&&p&&(_=o.a.empty()),!_||!n)throw new s.a;var g=new Map,O=new o.a(function(e,t){var n=g.get(e.query);return n||(n=Object(i.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,n),g.set(n,n)),e.query=n,t(e)});this.link=O.concat(_),this.cache=n,this.store=new S(n),this.disableNetworkFetches=a||c>0,this.queryDeduplication=h,this.ssrMode=a,this.defaultOptions=d||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=k,m&&(this.clientAwareness.name=m),b&&(this.clientAwareness.version=b),this.localState=new w({cache:n,client:this,resolvers:p,fragmentMatcher:y})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(r.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(r.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(r.__assign)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(r.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(r.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.c)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},384:function(e,t,n){"use strict";var r=n(266),i=n.n(r),o=n(274),a=n(269);function s(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(e)}]}}function u(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return u(e[0]);var t=[];return Object.keys(e).forEach(function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:u(e[n])||void 0};t.push(r)}),{kind:"SelectionSet",selections:t}}var c,l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},f=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:l})}catch(e){}var a=o&&o.__typename||"__ClientData",c=Object.assign({__typename:a},i);this.writeFragment({id:r,fragment:(t=c,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(t)}]}),data:c})}else this.writeQuery({query:s(i),data:i})},e}();c||(c={});var h=n(368),d=n(300);n.d(t,"a",function(){return L});var p=new Map;if(p.set(1,2)!==p){var v=p.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return y&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new d.a}),i&&Object(a.isEqual)(i,v.result)&&(v.result=i),{result:v.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,s=void 0===o?T:o,u=Object(a.getMainDefinition)(t),c=Object(a.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(a.createFragmentMap)(c),contextValue:r,variableValues:i,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:n,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,i=e.execContext,s=i.fragmentMap,u=i.contextValue,c=i.variableValues,l={result:null},f=[],h=u.store.get(r.id),p=h&&h.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach(function(e){var n;if(Object(a.shouldInclude)(e,c))if(Object(a.isField)(e)){var l=v(t.executeField(h,p,e,i));void 0!==l&&f.push(((n={})[Object(a.resultKeyNameFromField)(e)]=l,n))}else{var y=void 0;if(Object(a.isInlineFragment)(e))y=e;else if(!(y=s[e.name.value]))throw new d.a;var m=y.typeCondition.name.value,b=i.fragmentMatcher(r,m,u);if(b){var _=t.executeSelectionSet({selectionSet:y.selectionSet,rootValue:r,execContext:i});"heuristic"===b&&_.missing&&(_=Object(o.__assign)({},_,{missing:_.missing.map(function(e){return Object(o.__assign)({},e,{tolerable:!0})})})),f.push(v(_))}}}),l.result=Object(a.mergeDeepArray)(f),l},e.prototype.executeField=function(e,t,n,r){var i=r.variableValues,o=r.contextValue,s=function(e,t,n,r,i,o){o.resultKey;var s=o.directives,u=n;(r||s)&&(u=Object(a.getStoreKeyName)(u,r,s));var c=void 0;if(e&&void 0===(c=e[u])&&i.cacheRedirects&&"string"==typeof t){var l=i.cacheRedirects[t];if(l){var f=l[n];f&&(c=f(e,r,{getCacheKey:function(e){return Object(a.toIdValue)({id:i.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(a.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,n.name.value,Object(a.argumentsObjectFromField)(n,i),o,{resultKey:Object(a.resultKeyNameFromField)(n),directives:Object(a.getDirectiveInfoFromField)(n,i)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(n,s.result,r)):n.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:s.result,execContext:r})):(C(n,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var M={fragmentMatcher:new O,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var F=Object.prototype.hasOwnProperty,D=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(o.__extends)(t,e),t.prototype.toObject=function(){return Object(o.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return F.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(I),L=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new S,n.silenceBroadcast=!1,n.config=Object(o.__assign)({},M,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new E:new I,n.optimisticData=n.data,n.storeReader=new P(n.cacheKeyRoot),n.storeWriter=new j;var r=n,i=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(h.wrap)(function(e){return i.call(n,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof E?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(o.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new d.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof D;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new D(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(a.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(f)},385:function(e,t,n){"use strict";var r=n(280),i=n(269),o=n(365),a=n(288),s={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;n.d(t,"a",function(){return h});var c,l=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=o.graphql,h=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,n=e.cache,o=e.typeDefs,c=e.fragmentMatcher;return n&&t&&n.writeData({data:t}),new(function(h){function d(){return null!==h&&h.apply(this,arguments)||this}return l(d,h),d.prototype.writeDefaults=function(){n&&t&&n.writeData({data:t})},d.prototype.request=function(n,l){if(void 0===l&&(l=function(){return r.b.of({data:{}})}),o){var h=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(a.print)(e)}).map(function(e){return e.trim()}).join("\n")}(o);n.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:h,directives:"directive @client on FIELD"}])}})}if(!Object(i.hasDirectives)(["client"],n.query))return l(n);var d,p="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(i.checkDocument)(e);var n=Object(i.removeDirectivesFromDocument)([s],e);return u.set(e,n),n}(n.query),y=n.query,m=(d=(Object(i.getMainDefinition)(y)||{}).operation).charAt(0).toUpperCase()+d.slice(1)||"Query",b=function(e,n,r,i,o){void 0===n&&(n={});var a=o.resultKey,s=n[a],u=n[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=p[n.__typename||m];if(l){var f=l[e];if(f)return f(n,r,i,o)}return(c?s:u)||(t||{})[e]};v&&(n.query=v);var _=v&&l?l(n):r.b.of({data:{}});return new r.b(function(e){var t=!1,r=!1;_.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=n.getContext();r=!0,f(b,y,o,u,n.variables,{fragmentMatcher:c}).then(function(n){e.next({data:n,errors:a}),t&&e.complete(),r=!1}).catch(s)},error:e.error.bind(e),complete:function(){r||e.complete(),t=!0}})})},d}(r.a))}},386:function(e,t,n){"use strict";var r=n(280),i=n(288),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=300&&s(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||s(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName)+"'."),t})})).then(function(e){return n.next(e),n.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))}),function(){b&&b.abort()}})})};var h=function(e){function t(t){return e.call(this,f(t).request)||this}return function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(r.a)}}]); -//# sourceMappingURL=5.0b28d43ca70c9ea5df6b.js.map \ No newline at end of file diff --git a/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js.LICENSE b/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js.LICENSE deleted file mode 100644 index 585477498..000000000 --- a/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js.LICENSE +++ /dev/null @@ -1,109 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 Vaadin Ltd. -This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ -*/ diff --git a/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js.map b/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js.map deleted file mode 100644 index 9f5722242..000000000 --- a/packages/ui/dist/5.0b28d43ca70c9ea5df6b.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"5.0b28d43ca70c9ea5df6b.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/5.7fe1c30c8a9ac377002f.js b/packages/ui/dist/5.7fe1c30c8a9ac377002f.js deleted file mode 100644 index 232fa8939..000000000 --- a/packages/ui/dist/5.7fe1c30c8a9ac377002f.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 5.7fe1c30c8a9ac377002f.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{261:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},262:function(e,t){function n(e,t){for(var n=0;n-1}function l(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function f(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map(function(e){return f(i,e.name,e.value,r)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return f(n,t,e,r),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new a.a;e[t.value]=null}}function h(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return f(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return f(r,n,i,t)})),p(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export"];function p(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,o={};return r.forEach(function(e){o[e]=i[e]}),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var s=Object(u.default)(t);a+="("+s+")"}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)}),a}function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,i=e.value;return f(n,r,i,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function g(e,t){return void 0===t&&(t=!1),Object(s.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function w(e){return null!=e&&"object"===i()(e)&&"json"===e.type}function O(e){throw new a.a}function S(e,t){switch(void 0===t&&(t=O),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return S(e,t)});case"ObjectValue":for(var n={},r=0,i=e.fields;r-1})}function C(e){return e&&P(["client"],e)&&P(["export"],e)}function T(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new a.a;"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&(Object(a.b)(1===r.length),n=r[0].name.value),Object(s.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}].concat(e.definitions)})}function I(e){for(var t=[],n=1;n1){var r=[];t=ge(t,r);for(var i=1;i=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function f(e,t){if("object"===("undefined"==typeof Reflect?"undefined":i()(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function g(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}},275:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},276:function(e,t,n){var r=n(296),i=n(297),o=n(298);e.exports=function(e){return r(e)||i(e)||o()}},278:function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),f=n(267),h=n.n(f),d=n(265),p=n.n(d),v=n(266),y=n.n(v),m=new WeakMap,b=function(e){return"function"==typeof e&&m.has(e)},_=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,g=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}},w={},O={},S=n(276),k=n.n(S),E="{{lit-".concat(String(Math.random()).slice(2),"}}"),x="\x3c!--".concat(E,"--\x3e"),P=new RegExp("".concat(E,"|").concat(x)),C=function e(t,n){var r=this;i()(this,e),this.parts=[],this.element=n;var o=-1,a=0,s=[];!function e(n){for(var i=n.content,u=document.createTreeWalker(i,133,null,!1),c=0;u.nextNode();){o++;var l=u.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var f=l.attributes,h=0,d=0;d=0&&h++;for(;h-- >0;){var p=t.strings[a],v=N.exec(p)[2],y=v.toLowerCase()+"$lit$",m=l.getAttribute(y).split(P);r.parts.push({type:"attribute",index:o,name:v,strings:m}),l.removeAttribute(y),a+=m.length-1}}"TEMPLATE"===l.tagName&&e(l)}else if(3===l.nodeType){var b=l.data;if(b.indexOf(E)>=0){for(var _=l.parentNode,g=b.split(P),w=g.length-1,O=0;O=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,j=function(){function e(t,n,r){i()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return a()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var f,h=this._parts[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var d=f.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=_?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,i=0;return function t(o){for(var a=document.createTreeWalker(o,133,null,!1),s=a.nextNode();r0&&void 0!==arguments[0]?arguments[0]:this.startNode;g(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),L=function(){function e(t,n,r){if(i()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=w}}}]),e}(),q=function(e){function t(e,n,r){var o;return i()(this,t),(o=u()(this,l()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return p()(t,e),a()(t,[{key:"_createPart",value:function(){return new Q(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:h()(l()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(M),Q=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return p()(t,e),t}(F),V=!1;try{var B={get capture(){return V=!0,!1}};window.addEventListener("test",B,B),window.removeEventListener("test",B,B)}catch(e){}var U=function(){function e(t,n,r){var o=this;i()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return o.handleEvent(e)}}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=H(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=w}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),H=function(e){return e&&(V?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},z=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new q(e,t.slice(1),n).parts:"@"===i?[new U(e,t.slice(1),r.eventContext)]:"?"===i?[new L(e,t.slice(1),n)]:new M(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new D(e)}}]),e}());function G(e){var t=K.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},K.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(E);return void 0===(n=t.keyString.get(r))&&(n=new C(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var K=new Map,J=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var Y=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,W,null,!1),a=Z(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=X(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=Z(i,a);return}a=Z(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),$(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},ae=n(286),se=n.n(ae);window.JSCompiler_renameProperty=function(e,t){return e};var ue={toAttribute:function(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},ce=function(e,t){return t!==e&&(t==t||e==e)},le={attribute:!0,type:String,converter:ue,reflect:!1,hasChanged:ce},fe=Promise.resolve(!0),he=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=fe,e._hasConnectedResolver=void 0,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return p()(t,e),a()(t,[{key:"initialize",value:function(){this._saveInstanceProperties()}},{key:"_saveInstanceProperties",value:function(){var e=this;this.constructor._classProperties.forEach(function(t,n){if(e.hasOwnProperty(n)){var r=e[n];delete e[n],e._instanceProperties||(e._instanceProperties=new Map),e._instanceProperties.set(n,r)}})}},{key:"_applyInstanceProperties",value:function(){var e=this;this._instanceProperties.forEach(function(t,n){return e[n]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r)||le;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}},{key:"requestUpdate",value:function(e,t){var n=!0;if(void 0!==e&&!this._changedProperties.has(e)){var r=this.constructor,i=r._classProperties.get(e)||le;r._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):n=!1}return!this._hasRequestedUpdate&&n&&this._enqueueUpdate(),this.updateComplete}},{key:"_enqueueUpdate",value:function(){return new Promise(function(e,t){var n,r,i,o;return n=this,this._updateState=4|this._updateState,i=this._updatePromise,this._updatePromise=new Promise(function(e){return r=e}),Promise.resolve(i).then(function(i){try{if(!this._hasConnected)return Promise.resolve(new Promise(function(e){return n._hasConnectedResolver=e})).then(function(e){try{return a.call(this)}catch(e){return t(e)}}.bind(this),t);function a(){if(null!=(o=this.performUpdate())&&"function"==typeof o.then)return Promise.resolve(o).then(function(e){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return r(!this._hasRequestedUpdate),e()}return n.call(this)}return a.call(this)}catch(e){return t(e)}}.bind(this),t)}.bind(this))}},{key:"performUpdate",value:function(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(function(e,n){return t._propertyToAttribute(n,t[n],e)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,n){return e._classProperties.set(n,t)})}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===y()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[n]},set:function(t){var r=this[e];this[n]=t,this.requestUpdate(e,r)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[].concat(k()(Object.getOwnPropertyNames(t)),k()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||ue,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ue.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach(function(n,r){var i=e._attributeNameForProperty(r,n);void 0!==i&&(e._attributeToPropertyMap.set(i,r),t.push(i))}),t}}]),t}(se()(HTMLElement));he.finalized=!0;ve(function(e,t){return e.querySelector(t)}),ve(function(e,t){return e.querySelectorAll(t)});var de=function(e,t,n){Object.defineProperty(t,n,e)},pe=function(e,t){return{kind:"method",placement:"prototype",key:t.key,descriptor:e}};function ve(e){return function(t){return function(n,r){var i={get:function(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0};return void 0!==r?de(i,n,r):pe(i,n)}}}var ye="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol();n.d(t,"a",function(){return be}),n.d(t,"b",function(){return Y}),(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var me=function(e){return e.flat?e.flat(1/0):function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0,i=t.length;r+~])"},286:function(e,t,n){var r=n(263),i=n(295),o=n(349),a=n(350);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},287:function(e,t,n){var r=n(378).parse;function i(e){return e.replace(/[\s,]+/g," ").trim()}var o={},a={};var s=!0;var u=!1;function c(e){var t=i(e);if(o[t])return o[t];var n=r(e,{experimentalFragmentVariables:u});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");return n=function e(t,n){var r=Object.prototype.toString.call(t);if("[object Array]"===r)return t.map(function(t){return e(t,n)});if("[object Object]"!==r)throw new Error("Unexpected input.");n&&t.loc&&delete t.loc,t.loc&&(delete t.loc.startToken,delete t.loc.endToken);var i,o,a,s=Object.keys(t);for(i in s)s.hasOwnProperty(i)&&(o=t[s[i]],"[object Object]"!==(a=Object.prototype.toString.call(o))&&"[object Array]"!==a||(t[s[i]]=e(o,!0)));return t}(n=function(e){for(var t,n={},r=[],o=0;o1)for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],f=-1,h=[],d=void 0,p=void 0,v=void 0,y=[],m=[],b=e;do{var _=++f===l.length,g=_&&0!==h.length;if(_){if(p=0===m.length?void 0:y[y.length-1],d=v,v=m.pop(),g){if(c)d=d.slice();else{for(var w={},O=Object.keys(d),S=0;S-1&&(d=a[_],a=a.slice(0,_))}a&&(r.push(a),a="",c=!1);var g=""!==d&&void 0!==p&&p!==d,w="+"===b||"*"===b,O="?"===b||"*"===b,S=d||s,k=y||m;r.push({name:v||i++,prefix:d,delimiter:S,optional:O,repeat:w,partial:g,pattern:k?$(k):"[^"+W(S)+"]+?"})}}return(a||o-1;else{var h=W(f.prefix),d=f.repeat?"(?:"+f.pattern+")(?:"+h+"(?:"+f.pattern+"))*":f.pattern;t&&t.push(f),f.optional?f.partial?u+=h+"("+d+")?":u+="(?:"+h+"("+d+"))?":u+=h+"("+d+")"}}return i?(r||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(r||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,X(n))}function ee(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&"/"===t.charAt(h)&&(h+=1),a=ie(f,t.substr(h),n,o.keys,o.params)}var d=a.next(c);if(!d.done)return{done:!1,value:d.value};a=null,s++}return{done:!0}}}}function oe(e){if(j(e.route.action))return e.route.action(e)}ne.set("|false",{keys:[],pattern:/(?:)/});var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b()(this,e),Object(t)!==t)throw new TypeError("Invalid routes");this.baseUrl=n.baseUrl||"",this.errorHandler=n.errorHandler,this.resolveRoute=n.resolveRoute||oe,this.context=Object.assign({resolver:this},n.context),this.root=Array.isArray(t)?{path:"",__children:t,parent:null,__synthetic:!0}:t,this.root.parent=null}return y()(e,[{key:"getRoutes",value:function(){return p()(this.root.__children)}},{key:"setRoutes",value:function(e){C(e);var t=p()(w(e));this.root.__children=t}},{key:"addRoutes",value:function(e){var t;return C(e),(t=this.root.__children).push.apply(t,p()(w(e))),this.getRoutes()}},{key:"removeRoutes",value:function(){this.setRoutes([])}},{key:"resolve",value:function(e){var t=this,n=Object.assign({},this.context,A(e)?{pathname:e}:e),r=ie(this.root,this.__normalizePathname(n.pathname),this.baseUrl),i=this.resolveRoute,o=null,a=null,s=n;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&o.value.route;return o=a||r.next(c),a=null,e||!o.done&&function(e,t){for(var n=t;n;)if((n=n.parent)===e)return!0;return!1}(t,o.value.route)?o.done?Promise.reject(R(n)):(function(e,t){var n=t.route,r=t.path;if(n&&!n.__synthetic){var i={path:r,route:n};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,n)?e.chain.push(i):e.chain=[i]}}(n,o.value),s=Object.assign({},n,o.value),Promise.resolve(i(s)).then(function(n){return null!=n&&n!==M?(s.result=n.result||n,s):u(e,t,n)})):(a=o,Promise.resolve(M))}return n.next=u,Promise.resolve().then(function(){return u(!0,t.root)}).catch(function(e){var n=function(e){var t="Path '".concat(e.pathname,"' is not properly resolved due to an error."),n=(e.route||{}).path;return n&&(t+=" Resolution had failed on route: '".concat(n,"'")),t}(s);if(e?console.warn(n):e=new Error(n),e.context=e.context||s,e instanceof DOMException||(e.code=e.code||500),t.errorHandler)return s.result=t.errorHandler(e),s;throw e})}},{key:"__normalizePathname",value:function(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,n=this.constructor.__createUrl(e,t).href;return n.slice(0,t.length)===t?n.slice(t.length):void 0}},{key:"__effectiveBaseUrl",get:function(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}}],[{key:"__createUrl",value:function(e,t){return new URL(e,t)}}]),e}();ae.pathToRegexp=Q;var se=ae.pathToRegexp,ue=new Map;function ce(e,t){var n=e.get(t);if(n&&n.length>1)throw new Error('Duplicate route with name "'.concat(t,'".')+" Try seting unique 'name' route properties.");return n&&n[0]}function le(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof ae))throw new TypeError("An instance of Resolver is expected");var n=new Map;return function(r,i){var o=ce(n,r);if(!(o||(n.clear(),function e(t,n,r){var i=n.name||n.component;if(i&&(t.has(i)?t.get(i).push(n):t.set(i,[n])),Array.isArray(r))for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return Se(Ee.pathToRegexp.compile(ke(l))(Object.assign({},s,e)),c)}}}function _e(e,t){var n=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:n}}}function ge(e,t,n){if(j(e))return e.apply(n,t)}function we(e,t,n){return function(r){return r&&(r.cancel||r.redirect)?r:n?ge(n[e],t,n):void 0}}function Oe(e){if(e&&e.length)for(var t=e[0].parentNode,n=0;n1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(n).then(function(r){var i=r!==n?r:e;return r.next().then(function(e){if((null===e||e===M)&&Se(ke(r.chain),r.resolver)!==r.pathname)throw R(i);return e&&e!==M?t.__fullyResolveChain(i,e):t.__amendWithOnBeforeCallbacks(i)})})}},{key:"__amendWithResolutionResult",value:function(e){var t=this,n=e.result;return n instanceof HTMLElement?Promise.resolve(e):n.redirect?this.__redirect(n.redirect,e.__redirectCount).then(function(e){return t.__amendWithResolutionResult(e)}):n instanceof Error?Promise.reject(n):Promise.reject(new Error(O('Invalid route resolution result for path "'.concat(e.pathname,'". ')+'Expected redirect object or HTML element, but got: "'.concat(function(e){if("object"!==g()(e))return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?"".concat(t," ").concat(JSON.stringify(e)):t}(n),'". ')+"Double check the action return value for the route.")))}},{key:"__amendWithOnBeforeCallbacks",value:function(e){var t=this;return this.__runOnBeforeCallbacks(e).then(function(n){return n===t.__previousContext||n===e?n:t.__fullyResolveChain(n)})}},{key:"__runOnBeforeCallbacks",value:function(e){var t=this,n=(this.__previousContext||{}).chain||[],r=e.chain,i=Promise.resolve(),o=function(){return{cancel:!0}},a=function(t){return _e(e,t)};if(e.__divergedChainIndex=0,n.length){for(var s=0;s=e.__divergedChainIndex;u--){var c=be(e);i=i.then(we("onBeforeLeave",[c,{prevent:o},this],n[u].element)).then(function(e){if(!(e||{}).redirect)return e})}}for(var l=e.__divergedChainIndex;l256)throw new Error(O("Too many redirects when rendering ".concat(e.from)));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}},{key:"__ensureOutlet",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(O("Expected router outlet to be a valid DOM Node (but got ".concat(e,")")))}},{key:"__updateBrowserHistory",value:function(e,t){if(window.location.pathname!==e){var n=t?"replaceState":"pushState";window.history[n](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}},{key:"__addAppearingContent",value:function(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var n=this.__outlet,r=0;r=e.__divergedChainIndex;n--){var r=t.chain[n].element;if(r)try{var i=be(e);ge(r.onAfterLeave,[i,{},t.resolver],r)}finally{Oe(r.children)}}}},{key:"__runOnAfterEnterCallbacks",value:function(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(n&&r&&t){var s=N(t)&&t.leave||"leaving",u=N(t)&&t.enter||"entering";i.push(ye(n,s)),i.push(ye(r,u))}return Promise.all(i).then(function(){return e})}},{key:"subscribe",value:function(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"unsubscribe",value:function(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"__onNavigationEvent",value:function(e){var t=e?e.detail.pathname:window.location.pathname;A(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}},{key:"urlForName",value:function(e,t){return this.__urlForName||(this.__urlForName=fe(this)),Se(this.__urlForName(e,t),this)}},{key:"urlForPath",value:function(e,n){return Se(t.pathToRegexp.compile(e)(n),this)}}],[{key:"setTriggers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&!Pe(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),Ce(Te),Ee.NavigationTrigger={POPSTATE:q,CLICK:D}},352:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n1,i=!1,o=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=f(t,c);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return d(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(a("iterator")&&(r=f(t,u)))return new n(function(e){v(function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,m.default.GQL_START,e))}).catch(function(e){n.unsubscribe(r),t(n.formatErrors(e))}),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,i)||i&&!l.default(i)||r&&!f.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r({},n,{query:"string"==typeof n.query?n.query:h.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,v.GRAPHQL_WS),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var n=t.data;e.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var i=t.payload.errors?r({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,i);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(275))},356:function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},357:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);rthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},370:function(e,t,n){"use strict";n.r(t),n.d(t,"tuple",function(){return d}),n.d(t,"lookup",function(){return f}),n.d(t,"lookupArray",function(){return h});var r="function"==typeof Symbol&&"function"==typeof Symbol.for,i=r?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=r?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!1,configurable:!1}),n}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function f(){return h(arguments)}function h(e){for(var t=l,n=e.length,r=0;r0&&(t=[],e.childValues.forEach(function(n,r){w(e,r),t.push(r)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),m(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},372:function(e,t,n){"use strict";(function(e){var t,r,i=n(266),o=n.n(i);t=void 0,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===o()(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(n,"\\$&").replace(r,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=j;M-=1){var F=M-1,D=n[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==T&&(R[M]|=(E[M+1]|E[M])<<1|1|E[M+1]),R[M]&C&&(x=r(t,{errors:T,currentLocation:F,expectedLocation:y,distance:c}))<=b){if(b=x,(_=F)<=y)break;j=Math.max(1,2*y-_)}}if(r(t,{errors:T+1,currentLocation:y,expectedLocation:y,distance:c})>b)break;E=R}return{isMatch:_>=0,score:0===x?.001:x,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,n){function r(e,t){for(var n=0;nn)return i(e,this.pattern,r);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,f=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:f})}}])&&r(t.prototype,n),s&&r(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,n){var r=n("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,n,i){if(n){var o=n.indexOf("."),a=n,s=null;-1!==o&&(a=n.slice(0,o),s=n.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(r(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,i=n.fullSearcher,o=this._search(r,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,i=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,r={},i=[];if("string"==typeof n[0]){for(var o=0,a=n.length;o1)throw new Error("Key weight has to be > 0 and <= 1");d=d.name}else s[d]={weight:1};this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:u},{resultMap:r,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,i=void 0===r?-1:r,o=e.value,a=e.record,s=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,f=t.fullSearcher,h=void 0===f?[]:f,d=t.resultMap,p=void 0===d?{}:d,v=t.results,y=void 0===v?[]:v;if(null!=o){var m=!1,b=-1,_=0;if("string"==typeof o){this._log("\nKey: ".concat(""===n?"-":n));var g=h.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],S=0;S-1&&(j=(j+b)/2),this._log("Score average:",j);var A=!this.options.tokenize||!this.options.matchAllTokens||_>=l.length;if(this._log("\nCheck Matches: ".concat(A)),(m||g.isMatch)&&A){var R=p[s];R?R.output.push({key:n,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}):(p[s]={item:a,output:[{key:n,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}]},y.push(p[s]))}}else if(u(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;o\n \n\n \n\n \n',document.head.appendChild(Z.content);var ee=document.createElement("template");ee.innerHTML="\n \n",document.head.appendChild(ee.content);var te=document.createElement("template");te.innerHTML="\n \n",document.head.appendChild(te.content);var ne=document.createElement("template");ne.innerHTML='\n \n',document.head.appendChild(ne.content);var re=n(273),ie=n.n(re),oe=n(267),ae=n.n(oe),se=0;function ue(){}ue.prototype.__mixinApplications,ue.prototype.__mixinSet;var ce=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var n=se++;function r(r){var i=r.__mixinSet;if(i&&i[n])return r;var o=t,a=o.get(r);a||(a=e(r),o.set(r,a));var s=Object.create(a.__mixinSet||i||null);return s[n]=!0,a.__mixinSet=s,a}return r},le=n(266),fe=n.n(le);function he(e){return e.indexOf(".")>=0}function de(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function pe(e,t){return 0===e.indexOf(t+".")}function ve(e,t){return 0===t.indexOf(e+".")}function ye(e,t,n){return t+n.slice(e.length)}function me(e){if(Array.isArray(e)){for(var t=[],n=0;n1){for(var a=0;a=0){if(!Ce[t])throw new Error("invalid async handle: "+e);Ce[t]=null}}},Ae=je,Re=ce(function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__dataEnabled=!1,e.__dataReady=!1,e.__dataInvalid=!1,e.__data={},e.__dataPending=null,e.__dataOld=null,e.__dataInstanceProps=null,e.__serializing=!1,e._initializeProperties(),e}return h()(t,e),a()(t,[{key:"_createPropertyAccessor",value:function(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}},{key:"_addPropertyToAttributeMap",value:function(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){var t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}},{key:"_definePropertyAccessor",value:function(e,t){Object.defineProperty(this,e,{get:function(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}}],[{key:"createProperties",value:function(e){var t=this.prototype;for(var n in e)n in t||t._createPropertyAccessor(n)}},{key:"attributeNameForProperty",value:function(e){return e.toLowerCase()}},{key:"typeForProperty",value:function(e){}}]),a()(t,[{key:"ready",value:function(){this.__dataReady=!0,this._flushProperties()}},{key:"_initializeProperties",value:function(){for(var e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}},{key:"_initializeInstanceProperties",value:function(e){Object.assign(this,e)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}},{key:"_getProperty",value:function(e){return this.__data[e]}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__data[e],i=this._shouldPropertyChange(e,t,r);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||e in this.__dataOld||(this.__dataOld[e]=r),this.__data[e]=t,this.__dataPending[e]=t),i}},{key:"_invalidateProperties",value:function(){var e=this;!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Ae.run(function(){e.__dataInvalid&&(e.__dataInvalid=!1,e._flushProperties())}))}},{key:"_enableProperties",value:function(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}},{key:"_flushProperties",value:function(){var e=this.__data,t=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(e,t,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,n))}},{key:"_shouldPropertiesChange",value:function(e,t,n){return Boolean(t)}},{key:"_propertiesChanged",value:function(e,t,n){}},{key:"_shouldPropertyChange",value:function(e,t,n){return n!==t&&(n==n||t==t)}},{key:"attributeChangedCallback",value:function(e,n,r,i){n!==r&&this._attributeToProperty(e,r),ae()(l()(t.prototype),"attributeChangedCallback",this)&&ae()(l()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r,i)}},{key:"_attributeToProperty",value:function(e,t,n){if(!this.__serializing){var r=this.__dataAttributes,i=r&&r[e]||e;this[i]=this._deserializeValue(t,n||this.constructor.typeForProperty(i))}}},{key:"_propertyToAttribute",value:function(e,t,n){this.__serializing=!0,n=arguments.length<3?this[e]:n,this._valueToNodeAttribute(this,n,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}},{key:"_valueToNodeAttribute",value:function(e,t,n){var r=this._serializeValue(t);void 0===r?e.removeAttribute(n):e.setAttribute(n,r)}},{key:"_serializeValue",value:function(e){switch(fe()(e)){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}},{key:"_deserializeValue",value:function(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}]),t}(e)}),Me={},Fe=HTMLElement.prototype;Fe;){for(var De=Object.getOwnPropertyNames(Fe),Le=0;Lec.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=n[t];t=ye(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}return"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,n,r),j&&(i=j(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[Je.READ_ONLY]&&t[Je.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,n,r,o))}}function ct(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;o="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=de(t),n.structured=he(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function bt(e,t,n,r){var i=n+".splices";e.notifyPath(i,{indexSplices:r}),e.notifyPath(n+".length",t.length),e.__data[i]={indexSplices:null}}function _t(e,t,n,r,i,o){bt(e,t,n,[{index:r,addedCount:i,removed:o,object:t,type:"splice"}])}var gt=ce(function(e){var t=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__isPropertyEffectsClient=!0,e.__dataCounter=0,e.__dataClientsReady,e.__dataPendingClients,e.__dataToNotify,e.__dataLinkedPaths,e.__dataHasPaths,e.__dataCompoundStorage,e.__dataHost,e.__dataTemp,e.__dataClientsInitialized,e.__data,e.__dataPending,e.__dataOld,e.__computeEffects,e.__reflectEffects,e.__notifyEffects,e.__propagateEffects,e.__observeEffects,e.__readOnly,e.__templateInfo,e}return h()(t,e),a()(t,[{key:"_initializeProperties",value:function(){ae()(l()(t.prototype),"_initializeProperties",this).call(this),wt.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}},{key:"_initializeProtoProperties",value:function(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}},{key:"_initializeInstanceProperties",value:function(e){var t=this[Je.READ_ONLY];for(var n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}},{key:"_addPropertyEffect",value:function(e,t,n){this._createPropertyAccessor(e,t==Je.READ_ONLY);var r=We(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}},{key:"_removePropertyEffect",value:function(e,t,n){var r=We(this,t)[e],i=r.indexOf(n);i>=0&&r.splice(i,1)}},{key:"_hasPropertyEffect",value:function(e,t){var n=this[t];return Boolean(n&&n[e])}},{key:"_hasReadOnlyEffect",value:function(e){return this._hasPropertyEffect(e,Je.READ_ONLY)}},{key:"_hasNotifyEffect",value:function(e){return this._hasPropertyEffect(e,Je.NOTIFY)}},{key:"_hasReflectEffect",value:function(e){return this._hasPropertyEffect(e,Je.REFLECT)}},{key:"_hasComputedEffect",value:function(e){return this._hasPropertyEffect(e,Je.COMPUTE)}},{key:"_setPendingPropertyOrPath",value:function(e,n,r,i){if(i||de(Array.isArray(e)?e[0]:e)!==e){if(!i){var o=_e(this,e);if(!(e=ge(this,e,n))||!ae()(l()(t.prototype),"_shouldPropertyChange",this).call(this,e,n,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,n,r))return function(e,t,n){var r,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];ve(o,t)?(r=ye(o,a,t),e._setPendingPropertyOrPath(r,n,!0,!0)):ve(a,t)&&(r=ye(a,o,t),e._setPendingPropertyOrPath(r,n,!0,!0))}}(this,e,n),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,n,r);this[e]=n}return!1}},{key:"_setUnmanagedPropertyToNode",value:function(e,t,n){n===e[t]&&"object"!=fe()(n)||(e[t]=n)}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__dataHasPaths&&he(e),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[Je.NOTIFY]&&this[Je.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}},{key:"_invalidateProperties",value:function(){this.__dataReady&&this._flushProperties()}},{key:"_enqueueClient",value:function(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}},{key:"_flushProperties",value:function(){this.__dataCounter++,ae()(l()(t.prototype),"_flushProperties",this).call(this),this.__dataCounter--}},{key:"_flushClients",value:function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}},{key:"__enableOrFlushClients",value:function(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?r-3:0),o=3;o1?r-1:0),o=1;oi&&r.push({literal:e.slice(i,n.index)});var o=n[1][0],a=Boolean(n[2]),s=n[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var f=yt(s),h=[];if(f){for(var d=f.args,p=f.methodName,v=0;v1?n-1:0),i=1;i0||n>0;)if(0!=t)if(0!=n){var o=e[t-1][n-1],a=e[t-1][n],s=e[t][n-1],u=void 0;(u=a=0&&!Vt(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());var Ht,zt=function(){return Bt(Ut)};window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){zt&&zt()};function Gt(){var e=ie()(['\n \n
\n \n
\n']);return Gt=function(){return e},e}var Kt=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){ae()(l()(t.prototype),"ready",this).call(this),this.setAttribute("role","list")}},{key:"_scrollerElement",get:function(){return this.shadowRoot.querySelector('[part="items"]')}}],[{key:"template",get:function(){return Pt(Gt())}},{key:"is",get:function(){return"vaadin-list-box"}},{key:"version",get:function(){return"1.1.0"}},{key:"properties",get:function(){return{orientation:{readOnly:!0}}}}]),t}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){ae()(l()(t.prototype),"ready",this).call(this),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add to the HTML document.')}}],[{key:"_finalizeClass",value:function(){var e;ae()(l()(t),"_finalizeClass",this).call(this),this.is&&(window.Vaadin.registrations.push(this),window.Vaadin.developmentModeCallback&&(Ht=Lt.debounce(Ht,Ne,function(){window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),e=Ht,qt.push(e)))}}]),t}(e)}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){var e=this;ae()(l()(t.prototype),"ready",this).call(this),this.addEventListener("keydown",function(t){return e._onKeydown(t)}),this.addEventListener("click",function(t){return e._onClick(t)}),this._observer=new Dt(this,function(t){e._setItems(e._filterItems(Array.from(e.children)))})}},{key:"_enhanceItems",value:function(e,t,n){if(e){this.setAttribute("aria-orientation",t||"vertical"),this.items.forEach(function(e){t?e.setAttribute("orientation",t):e.removeAttribute("orientation"),e.updateStyles()}),this._setFocusable(n);var r=e[n];e.forEach(function(e){return e.selected=e===r}),r&&!r.disabled&&this._scrollToItem(n)}}},{key:"_filterItems",value:function(e){return e.filter(function(e){return e._hasVaadinItemMixin})}},{key:"_onClick",value:function(e){if(!(e.metaKey||e.shiftKey||e.ctrlKey)){var t,n=this._filterItems(e.composedPath())[0];n&&!n.disabled&&(t=this.items.indexOf(n))>=0&&(this.selected=t)}}},{key:"_onKeydown",value:function(e){if(!e.metaKey&&!e.ctrlKey){var t,n,r=e.key.replace(/^Arrow/,""),i=this.items.indexOf(this.focused),o=function(e){return!e.disabled};this._vertical&&"Up"===r||!this._vertical&&"Left"===r?(n=-1,t=i-1):this._vertical&&"Down"===r||!this._vertical&&"Right"===r?(n=1,t=i+1):"Home"===r?(n=1,t=0):"End"===r?(n=-1,t=this.items.length-1):1==r.length&&(n=1,t=i+1,o=function(e){return!e.disabled&&0===e.textContent.trim().toLowerCase().indexOf(r.toLowerCase())}),(t=this._getAvailableIndex(t,n,o))>=0&&(this._focus(t),e.preventDefault())}}},{key:"_getAvailableIndex",value:function(e,t,n){for(var r=this.items.length,i=0;"number"==typeof e&&i=r&&(e=0),n(this.items[e]))return e;return-1}},{key:"_setFocusable",value:function(e){e=this._getAvailableIndex(e,1,function(e){return!e.disabled});var t=this.items[e]||this.items[0];this.items.forEach(function(e){return e.tabIndex=e===t?0:-1})}},{key:"_focus",value:function(e){var t=this.items[e];this.items.forEach(function(e){return e.focused=e===t}),this._setFocusable(e),this._scrollToItem(e),t.focus()}},{key:"focus",value:function(){this._observer.flush();var e=this.querySelector('[tabindex="0"]')||this.items[0];e&&e.focus()}},{key:"_scrollToItem",value:function(e){var t=this.items[e];if(t){var n=this._vertical?["top","bottom"]:["left","right"],r=this._scrollerElement.getBoundingClientRect(),i=(this.items[e+1]||t).getBoundingClientRect(),o=(this.items[e-1]||t).getBoundingClientRect(),a=0;i[n[1]]>=r[n[1]]?a=i[n[1]]-r[n[1]]:o[n[0]]<=r[n[0]]&&(a=o[n[0]]-r[n[0]]),this._scroll(a)}}},{key:"_scroll",value:function(e){this._scrollerElement["scroll"+(this._vertical?"Top":"Left")]+=e}},{key:"focused",get:function(){return this.getRootNode().activeElement}},{key:"_scrollerElement",get:function(){}},{key:"_vertical",get:function(){return"horizontal"!==this.orientation}}],[{key:"properties",get:function(){return{_hasVaadinListMixin:{value:!0},selected:{type:Number,reflectToAttribute:!0,notify:!0},orientation:{type:String,reflectToAttribute:!0,value:""},items:{type:Array,readOnly:!0,notify:!0}}}},{key:"observers",get:function(){return["_enhanceItems(items, orientation, selected)"]}}]),t}(e)}(function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"finalize",value:function(){var e=this;ae()(l()(t),"finalize",this).call(this);var n=this.prototype._template,r=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,i=Object.getPrototypeOf(this.prototype)._template;i&&!r&&Array.from(i.content.querySelectorAll("style[include]")).forEach(function(t){e._includeStyle(t.getAttribute("include"),n)}),this._includeMatchingThemes(n)}},{key:"_includeMatchingThemes",value:function(e){var t=this,n=q.prototype.modules,r=!1,i=this.is+"-default-theme";Object.keys(n).sort(function(e,t){var n=0===e.indexOf("vaadin-"),r=0===t.indexOf("vaadin-"),i=["lumo-","material-"],o=i.filter(function(t){return 0===e.indexOf(t)}).length>0,a=i.filter(function(e){return 0===t.indexOf(e)}).length>0;return n!==r?n?-1:1:o!==a?o?-1:1:0}).forEach(function(o){if(o!==i){var a=n[o].getAttribute("theme-for");a&&a.split(" ").forEach(function(n){new RegExp("^"+n.split("*").join(".*")+"$").test(t.is)&&(r=!0,t._includeStyle(o,e))})}}),!r&&n[i]&&this._includeStyle(i,e)}},{key:"_includeStyle",value:function(e,t){if(t&&!t.content.querySelector('style[include="'.concat(e,'"]'))){var n=document.createElement("style");n.setAttribute("include",e),t.content.appendChild(n)}}}]),t}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"attributeChangedCallback",value:function(e,n,r){ae()(l()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r),"theme"===e&&this._setTheme(r)}}],[{key:"properties",get:function(){return{theme:{type:String,readOnly:!0}}}}]),t}(e)}(Ct)))));customElements.define(Kt.is,Kt)},378:function(e,t,n){"use strict";n.r(t);var r=n(310),i=n(311);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index0&&y(t[0]);)t.shift();for(;t.length>0&&y(t[t.length-1]);)t.pop();return t.join("\n")}function v(e){for(var t=0;t",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function w(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}var O=String.prototype.charCodeAt,S=String.prototype.slice;function k(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function E(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function x(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i=i)return new k(g.EOF,i,i,a,s,t);var u=O.call(r,o);switch(u){case 33:return new k(g.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=O.call(a,++s)}while(null!==o&&(o>31||9===o));return new k(g.COMMENT,t,s,n,r,i,S.call(a,t+1,s))}(n,o,a,s,t);case 36:return new k(g.DOLLAR,o,o+1,a,s,t);case 38:return new k(g.AMP,o,o+1,a,s,t);case 40:return new k(g.PAREN_L,o,o+1,a,s,t);case 41:return new k(g.PAREN_R,o,o+1,a,s,t);case 46:if(46===O.call(r,o+1)&&46===O.call(r,o+2))return new k(g.SPREAD,o,o+3,a,s,t);break;case 58:return new k(g.COLON,o,o+1,a,s,t);case 61:return new k(g.EQUALS,o,o+1,a,s,t);case 64:return new k(g.AT,o,o+1,a,s,t);case 91:return new k(g.BRACKET_L,o,o+1,a,s,t);case 93:return new k(g.BRACKET_R,o,o+1,a,s,t);case 123:return new k(g.BRACE_L,o,o+1,a,s,t);case 124:return new k(g.PIPE,o,o+1,a,s,t);case 125:return new k(g.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&null!==(u=O.call(o,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new k(g.NAME,t,s,n,r,i,S.call(o,t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,u=t,c=!1;45===s&&(s=O.call(a,++u));if(48===s){if((s=O.call(a,++u))>=48&&s<=57)throw d(e,u,"Invalid number, unexpected digit after 0: ".concat(E(s),"."))}else u=P(e,u,s),s=O.call(a,u);46===s&&(c=!0,s=O.call(a,++u),u=P(e,u,s),s=O.call(a,u));69!==s&&101!==s||(c=!0,43!==(s=O.call(a,++u))&&45!==s||(s=O.call(a,++u)),u=P(e,u,s));return new k(c?g.FLOAT:g.INT,t,u,r,i,o,S.call(a,t,u))}(n,o,u,a,s,t);case 34:return 34===O.call(r,o+1)&&34===O.call(r,o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=O.call(r,++i)}while(o>=48&&o<=57);return i}throw d(e,i,"Invalid number, expected digit but got: ".concat(E(o),"."))}function C(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(k,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var T=n(312),I=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function N(e,t){var n="string"==typeof e?new u(e):e;if(!(n instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(r.a)(n)));return function(e){var t=e.token;return{kind:T.a.DOCUMENT,definitions:xe(e,g.SOF,M,g.EOF),loc:me(e,t)}}(m(n,t||{}))}function j(e,t){var n=m("string"==typeof e?new u(e):e,t||{});we(n,g.SOF);var r=J(n,!1);return we(n,g.EOF),r}function A(e,t){var n=m("string"==typeof e?new u(e):e,t||{});we(n,g.SOF);var r=te(n);return we(n,g.EOF),r}function R(e){var t=we(e,g.NAME);return{kind:T.a.NAME,value:t.value,loc:me(e,t)}}function M(e){if(_e(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return F(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return re(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Se(e,"extend"),Se(e,"schema");var n=Z(e,!0),r=_e(e,g.BRACE_L)?xe(e,g.BRACE_L,ae,g.BRACE_R):[];if(0===n.length&&0===r.length)throw ke(e);return{kind:T.a.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:me(e,t)}}(e);case"scalar":return function(e){var t=e.token;Se(e,"extend"),Se(e,"scalar");var n=R(e),r=Z(e,!0);if(0===r.length)throw ke(e);return{kind:T.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:me(e,t)}}(e);case"type":return function(e){var t=e.token;Se(e,"extend"),Se(e,"type");var n=R(e),r=se(e),i=Z(e,!0),o=ue(e);if(0===r.length&&0===i.length&&0===o.length)throw ke(e);return{kind:T.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:me(e,t)}}(e);case"interface":return function(e){var t=e.token;Se(e,"extend"),Se(e,"interface");var n=R(e),r=Z(e,!0),i=ue(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:T.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:me(e,t)}}(e);case"union":return function(e){var t=e.token;Se(e,"extend"),Se(e,"union");var n=R(e),r=Z(e,!0),i=he(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:T.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:me(e,t)}}(e);case"enum":return function(e){var t=e.token;Se(e,"extend"),Se(e,"enum");var n=R(e),r=Z(e,!0),i=de(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:T.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:me(e,t)}}(e);case"input":return function(e){var t=e.token;Se(e,"extend"),Se(e,"input");var n=R(e),r=Z(e,!0),i=ve(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:T.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:me(e,t)}}(e)}throw ke(e,t)}(e)}else{if(_e(e,g.BRACE_L))return F(e);if(ie(e))return re(e)}throw ke(e)}function F(e){if(_e(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return D(e);case"fragment":return function(e){var t=e.token;if(Se(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:T.a.FRAGMENT_DEFINITION,name:K(e),variableDefinitions:q(e),typeCondition:(Se(e,"on"),ne(e)),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)};return{kind:T.a.FRAGMENT_DEFINITION,name:K(e),typeCondition:(Se(e,"on"),ne(e)),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}(e)}else if(_e(e,g.BRACE_L))return D(e);throw ke(e)}function D(e){var t=e.token;if(_e(e,g.BRACE_L))return{kind:T.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:B(e),loc:me(e,t)};var n,r=L(e);return _e(e,g.NAME)&&(n=R(e)),{kind:T.a.OPERATION_DEFINITION,operation:r,name:n,variableDefinitions:q(e),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}function L(e){var t=we(e,g.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw ke(e,t)}function q(e){return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,Q,g.PAREN_R):[]}function Q(e){var t=e.token;return{kind:T.a.VARIABLE_DEFINITION,variable:V(e),type:(we(e,g.COLON),te(e)),defaultValue:ge(e,g.EQUALS)?J(e,!0):void 0,directives:Z(e,!0),loc:me(e,t)}}function V(e){var t=e.token;return we(e,g.DOLLAR),{kind:T.a.VARIABLE,name:R(e),loc:me(e,t)}}function B(e){var t=e.token;return{kind:T.a.SELECTION_SET,selections:xe(e,g.BRACE_L,U,g.BRACE_R),loc:me(e,t)}}function U(e){return _e(e,g.SPREAD)?function(e){var t=e.token;we(e,g.SPREAD);var n=Oe(e,"on");if(!n&&_e(e,g.NAME))return{kind:T.a.FRAGMENT_SPREAD,name:K(e),directives:Z(e,!1),loc:me(e,t)};return{kind:T.a.INLINE_FRAGMENT,typeCondition:n?ne(e):void 0,directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}(e):function(e){var t,n,r=e.token,i=R(e);ge(e,g.COLON)?(t=i,n=R(e)):n=i;return{kind:T.a.FIELD,alias:t,name:n,arguments:H(e,!1),directives:Z(e,!1),selectionSet:_e(e,g.BRACE_L)?B(e):void 0,loc:me(e,r)}}(e)}function H(e,t){var n=t?G:z;return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,n,g.PAREN_R):[]}function z(e){var t=e.token;return{kind:T.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),J(e,!1)),loc:me(e,t)}}function G(e){var t=e.token;return{kind:T.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),W(e)),loc:me(e,t)}}function K(e){if("on"===e.token.value)throw ke(e);return R(e)}function J(e,t){var n=e.token;switch(n.kind){case g.BRACKET_L:return function(e,t){var n=e.token,r=t?W:$;return{kind:T.a.LIST,values:Ee(e,g.BRACKET_L,r,g.BRACKET_R),loc:me(e,n)}}(e,t);case g.BRACE_L:return function(e,t){var n=e.token;we(e,g.BRACE_L);var r=[];for(;!ge(e,g.BRACE_R);)r.push(X(e,t));return{kind:T.a.OBJECT,fields:r,loc:me(e,n)}}(e,t);case g.INT:return e.advance(),{kind:T.a.INT,value:n.value,loc:me(e,n)};case g.FLOAT:return e.advance(),{kind:T.a.FLOAT,value:n.value,loc:me(e,n)};case g.STRING:case g.BLOCK_STRING:return Y(e);case g.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:T.a.BOOLEAN,value:"true"===n.value,loc:me(e,n)}):"null"===n.value?(e.advance(),{kind:T.a.NULL,loc:me(e,n)}):(e.advance(),{kind:T.a.ENUM,value:n.value,loc:me(e,n)});case g.DOLLAR:if(!t)return V(e)}throw ke(e)}function Y(e){var t=e.token;return e.advance(),{kind:T.a.STRING,value:t.value,block:t.kind===g.BLOCK_STRING,loc:me(e,t)}}function W(e){return J(e,!0)}function $(e){return J(e,!1)}function X(e,t){var n=e.token;return{kind:T.a.OBJECT_FIELD,name:R(e),value:(we(e,g.COLON),J(e,t)),loc:me(e,n)}}function Z(e,t){for(var n=[];_e(e,g.AT);)n.push(ee(e,t));return n}function ee(e,t){var n=e.token;return we(e,g.AT),{kind:T.a.DIRECTIVE,name:R(e),arguments:H(e,t),loc:me(e,n)}}function te(e){var t,n=e.token;return ge(e,g.BRACKET_L)?(t=te(e),we(e,g.BRACKET_R),t={kind:T.a.LIST_TYPE,type:t,loc:me(e,n)}):t=ne(e),ge(e,g.BANG)?{kind:T.a.NON_NULL_TYPE,type:t,loc:me(e,n)}:t}function ne(e){var t=e.token;return{kind:T.a.NAMED_TYPE,name:R(e),loc:me(e,t)}}function re(e){var t=ie(e)?e.lookahead():e.token;if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Se(e,"schema");var n=Z(e,!0),r=xe(e,g.BRACE_L,ae,g.BRACE_R);return{kind:T.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:me(e,t)}}(e);case"scalar":return function(e){var t=e.token,n=oe(e);Se(e,"scalar");var r=R(e),i=Z(e,!0);return{kind:T.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:me(e,t)}}(e);case"type":return function(e){var t=e.token,n=oe(e);Se(e,"type");var r=R(e),i=se(e),o=Z(e,!0),a=ue(e);return{kind:T.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a,loc:me(e,t)}}(e);case"interface":return function(e){var t=e.token,n=oe(e);Se(e,"interface");var r=R(e),i=Z(e,!0),o=ue(e);return{kind:T.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:me(e,t)}}(e);case"union":return function(e){var t=e.token,n=oe(e);Se(e,"union");var r=R(e),i=Z(e,!0),o=he(e);return{kind:T.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:me(e,t)}}(e);case"enum":return function(e){var t=e.token,n=oe(e);Se(e,"enum");var r=R(e),i=Z(e,!0),o=de(e);return{kind:T.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:me(e,t)}}(e);case"input":return function(e){var t=e.token,n=oe(e);Se(e,"input");var r=R(e),i=Z(e,!0),o=ve(e);return{kind:T.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:me(e,t)}}(e);case"directive":return function(e){var t=e.token,n=oe(e);Se(e,"directive"),we(e,g.AT);var r=R(e),i=le(e);Se(e,"on");var o=function(e){ge(e,g.PIPE);var t=[];do{t.push(ye(e))}while(ge(e,g.PIPE));return t}(e);return{kind:T.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:me(e,t)}}(e)}throw ke(e,t)}function ie(e){return _e(e,g.STRING)||_e(e,g.BLOCK_STRING)}function oe(e){if(ie(e))return Y(e)}function ae(e){var t=e.token,n=L(e);we(e,g.COLON);var r=ne(e);return{kind:T.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:me(e,t)}}function se(e){var t=[];if(Oe(e,"implements")){ge(e,g.AMP);do{t.push(ne(e))}while(ge(e,g.AMP)||e.options.allowLegacySDLImplementsInterfaces&&_e(e,g.NAME))}return t}function ue(e){return e.options.allowLegacySDLEmptyFields&&_e(e,g.BRACE_L)&&e.lookahead().kind===g.BRACE_R?(e.advance(),e.advance(),[]):_e(e,g.BRACE_L)?xe(e,g.BRACE_L,ce,g.BRACE_R):[]}function ce(e){var t=e.token,n=oe(e),r=R(e),i=le(e);we(e,g.COLON);var o=te(e),a=Z(e,!0);return{kind:T.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a,loc:me(e,t)}}function le(e){return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,fe,g.PAREN_R):[]}function fe(e){var t=e.token,n=oe(e),r=R(e);we(e,g.COLON);var i,o=te(e);ge(e,g.EQUALS)&&(i=W(e));var a=Z(e,!0);return{kind:T.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:i,directives:a,loc:me(e,t)}}function he(e){var t=[];if(ge(e,g.EQUALS)){ge(e,g.PIPE);do{t.push(ne(e))}while(ge(e,g.PIPE))}return t}function de(e){return _e(e,g.BRACE_L)?xe(e,g.BRACE_L,pe,g.BRACE_R):[]}function pe(e){var t=e.token,n=oe(e),r=R(e),i=Z(e,!0);return{kind:T.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:me(e,t)}}function ve(e){return _e(e,g.BRACE_L)?xe(e,g.BRACE_L,fe,g.BRACE_R):[]}function ye(e){var t=e.token,n=R(e);if(I.hasOwnProperty(n.value))return n;throw ke(e,t)}function me(e,t){if(!e.options.noLocation)return new be(t,e.lastToken,e.source)}function be(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function _e(e,t){return e.token.kind===t}function ge(e,t){return e.token.kind===t&&(e.advance(),!0)}function we(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw d(e.source,n.start,"Expected ".concat(t,", found ").concat(w(n)))}function Oe(e,t){var n=e.token;return n.kind===g.NAME&&n.value===t&&(e.advance(),!0)}function Se(e,t){if(!Oe(e,t))throw d(e.source,e.token.start,'Expected "'.concat(t,'", found ').concat(w(e.token)))}function ke(e,t){var n=t||e.token;return d(e.source,n.start,"Unexpected ".concat(w(n)))}function Ee(e,t,n,r){we(e,t);for(var i=[];!ge(e,r);)i.push(n(e));return i}function xe(e,t,n,r){we(e,t);for(var i=[n(e)];!ge(e,r);)i.push(n(e));return i}n.d(t,"parse",function(){return N}),n.d(t,"parseValue",function(){return j}),n.d(t,"parseType",function(){return A}),n.d(t,"parseConstValue",function(){return W}),n.d(t,"parseTypeReference",function(){return te}),n.d(t,"parseNamedType",function(){return ne}),o(be,function(){return{start:this.start,end:this.end}})},380:function(e,t,n){"use strict";var r=n(274),i=n(313),o=n.n(i).a,a="Invariant Violation",s=Object.setPrototypeOf,u=void 0===s?function(e,t){return e.__proto__=t,e}:s,c=function(e){function t(n){void 0===n&&(n=a);var r=e.call(this,"number"==typeof n?a+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=a,u(r,t.prototype),r}return Object(r.__extends)(t,e),t}(Error);function l(e,t){if(!e)throw new c(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=r)&&(i?i(n,t):!!n)}}(i),o}return Object(r.__extends)(t,e),t.prototype.request=function(e,t){var n=new O(e,t,this.delayFor,this.retryIf);return n.start(),new o(function(e){return n.subscribe(e),function(){n.unsubscribe(e)}})},t}(g)},383:function(e,t,n){"use strict";var r=n(274),i=n(269),o=n(280),a=n(314),s=n(300),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var c,l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey(),i=function(e){return n.inFlightRequestObservables.delete(e),n.subscribers.get(e)};if(!this.inFlightRequestObservables.get(r)){var a,s=t(e),u=new o.b(function(e){var t=n.subscribers.get(r);return t||(t={next:[],error:[],complete:[]}),n.subscribers.set(r,{next:t.next.concat([e.next.bind(e)]),error:t.error.concat([e.error.bind(e)]),complete:t.complete.concat([e.complete.bind(e)])}),a||(a=s.subscribe({next:function(e){var t=i(r);n.subscribers.delete(r),t&&(t.next.forEach(function(t){return t(e)}),t.complete.forEach(function(e){return e()}))},error:function(e){var t=i(r);n.subscribers.delete(r),t&&t.error.forEach(function(t){return t(e)})}})),function(){a&&a.unsubscribe(),n.inFlightRequestObservables.delete(r)}});this.inFlightRequestObservables.set(r,u)}return this.inFlightRequestObservables.get(r)},t}(o.a),f=n(299);function h(e){return e<7}n.d(t,"a",function(){return E}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(c||(c={}));var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype[a.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.b);var p,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var n=e?e.message:"Error message not found.";t+="GraphQL error: "+n+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},y=function(e){function t(n){var r=n.graphQLErrors,i=n.networkError,o=n.errorMessage,a=n.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=r||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(r.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(p||(p={}));var m=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=o,a.queryManager=n,a.observers=[],a.subscriptionHandles=[],a}return Object(r.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r,i={next:function(n){t(n),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:function(e){n(e)}};r=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:c.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new y({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var o,a=this.queryManager.getCurrentQueryResult(this),s=a.data,u=a.partial,l=!n||n.networkStatus===c.loading,f="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,d={data:s,loading:h(o=n?n.networkStatus:f?c.loading:c.ready),networkStatus:o};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(d.errors=n.graphQLErrors),u||(this.lastResult=Object(r.__assign)({},d,{stale:!1}),this.lastResultSnapshot=Object(i.cloneDeep)(this.lastResult)),Object(r.__assign)({},d,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(i.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(i.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(i.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,o=Object(r.__assign)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,o,p.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,n=this;return Object(s.b)(e.updateQuery),Promise.resolve().then(function(){var i=n.queryManager.generateQueryId();return(t=e.query?e:Object(r.__assign)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(i,t,p.normal,n.queryId)}).then(function(r){return n.updateQuery(function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})}),r})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery(function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var o=e||this.variables;return Object(i.isEqual)(o,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(r.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,o=t.document,a=Object(i.tryFunctionOrLogError)(function(){return e(n,{variables:r})});a&&(this.queryManager.dataStore.markUpdateQueryResult(o,r,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){b(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(b(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(i.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(d);function b(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var _=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(i.isEqual)(t.document,e.document))throw new s.a;var n,r=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==c.loading&&(Object(i.isEqual)(t.variables,e.variables)||(r=!0,o=t.variables)),n=r?c.setVariables:e.isPoll?c.poll:e.isRefetch?c.refetch:c.loading;var a=[];t&&t.graphQLErrors&&(a=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:a,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=c.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=c.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=c.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=c.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?c.ready:c.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,n){return e[n]=Object(r.__assign)({},t.store[n],{networkStatus:c.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(i.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(i.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(r.__awaiter)(this,void 0,void 0,function(){return Object(r.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then(function(e){return Object(r.__assign)({},n,{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(i.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(i.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(r.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(r.__awaiter)(this,void 0,void 0,function(){return Object(r.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return Object(r.__assign)({},t,e.exportedVariables)})]:[2,Object(r.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(f.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return f.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(i.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,o,a,s){return void 0===n&&(n={}),void 0===o&&(o={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(r.__awaiter)(this,void 0,void 0,function(){var u,c,l,f,h,d,p,v,y;return Object(r.__generator)(this,function(m){var b;return u=Object(i.getMainDefinition)(e),c=Object(i.getFragmentDefinitions)(e),l=Object(i.createFragmentMap)(c),f=u.operation,h=f?(b=f).charAt(0).toUpperCase()+b.slice(1):"Query",p=(d=this).cache,v=d.client,y={fragmentMap:l,context:Object(r.__assign)({},n,{cache:p,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:h,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n){return Object(r.__awaiter)(this,void 0,void 0,function(){var o,a,u,c,l,f=this;return Object(r.__generator)(this,function(h){return o=n.fragmentMap,a=n.context,u=n.variables,c=[t],l=function(e){return Object(r.__awaiter)(f,void 0,void 0,function(){var l,f;return Object(r.__generator)(this,function(r){return Object(i.shouldInclude)(e,u)?Object(i.isField)(e)?[2,this.resolveField(e,t,n).then(function(t){var n;void 0!==t&&c.push(((n={})[Object(i.resultKeyNameFromField)(e)]=t,n))})]:(Object(i.isInlineFragment)(e)?l=e:(l=o[e.name.value],Object(s.b)(l)),l&&l.typeCondition&&(f=l.typeCondition.name.value,n.fragmentMatcher(t,f,a))?[2,this.resolveSelectionSet(l.selectionSet,t,n).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(i.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,n){return Object(r.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,h,d,p=this;return Object(r.__generator)(this,function(r){return o=n.variables,a=e.name.value,s=Object(i.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(f=t.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[u?a:s])&&(l=Promise.resolve(d(t,Object(i.argumentsObjectFromField)(e,o),n.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,n):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0}))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,a=e.onBroadcast,s=void 0===a?function(){}:a,u=e.ssrMode,c=void 0!==u&&u,f=e.clientAwareness,h=void 0===f?{}:f,d=e.localState;this.mutationStore=new _,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=o.a.from([new l,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=s,this.clientAwareness=h,this.localState=d||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,a=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,v=e.errorPolicy,m=void 0===v?"none":v,b=e.fetchPolicy,_=e.context,g=void 0===_?{}:_;return Object(r.__awaiter)(this,void 0,void 0,function(){var e,c,f,v,_,w=this;return Object(r.__generator)(this,function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!b||"no-cache"===b),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),n=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getMutationDefinition)(t)),n),this.setQuery(e,function(){return{document:t}}),f=function(){var e={};return u&&Object.keys(u).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(n){e[n]={updater:u[t],query:w.queryStore.get(n)}})}),e},Object(i.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,n,g)]:[3,2];case 1:return _=O.sent(),[3,3];case 2:_=n,O.label=3;case 3:return v=_,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:f(),update:p,optimisticResponse:a}),this.broadcastQueries(),[2,new Promise(function(n,s){var u,c,_=w.buildOperationForLink(t,v,Object(r.__assign)({},g,{optimisticResponse:a})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:a}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],n=0,r=l;n=(n||1)&&(I.queryStore.markQueryError(e,t,o),I.invalidate(!0,e,o),I.broadcastQueries()),new y({networkError:t})}),"cache-and-network"!==f)return[2,T];T.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,n){var i=this,o=!1;return function(a,s,u){return Object(r.__awaiter)(i,void 0,void 0,function(){var i,c,l,f,d,p,v,m,b,_,g,w,O,S,k,E,x,P,C,T;return Object(r.__generator)(this,function(I){switch(I.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(i=this.getQuery(e).observableQuery,"standby"===(c=i?i.options.fetchPolicy:t.fetchPolicy))return[2];if(l=i?i.options.errorPolicy:t.errorPolicy,f=i?i.getLastResult():null,d=i?i.getLastError():null,p=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(f&&a.networkStatus!==f.networkStatus),m=l&&(d&&d.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!h(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(b=new y({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,n.error)try{n.error(b)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw b},0);return[2]}I.label=1;case 1:if(I.trys.push([1,7,,8]),_=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),_=s.result,g=!s.complete||!1):f&&f.data&&!m?(_=f.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),_=O.result,g=!O.complete),S=void 0,S=g&&"cache-only"!==c?{data:f&&f.data,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:_,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(S.errors=a.graphQLErrors),!n.next)return[3,6];if(!o&&i&&!i.isDifferentFromLastResult(S))return[3,6];I.label=2;case 2:return I.trys.push([2,5,,6]),u?(k=t.query,E=t.variables,x=t.context,[4,this.localState.runResolvers({document:k,remoteResult:S,context:x,variables:E,onlyRunForcedResolvers:u})]):[3,4];case 3:P=I.sent(),S=Object(r.__assign)({},S,P),I.label=4;case 4:return n.next(S),[3,6];case 5:return C=I.sent(),setTimeout(function(){throw C},0),[3,6];case 6:return o=!1,[3,8];case 7:return T=I.sent(),o=!0,n.error&&n.error(new y({networkError:T})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var n=Object(i.getQueryDefinition)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var o=Object(i.getDefaultValues)(n);e.variables=Object(i.assign)({},o,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(r.__assign)({},e);return new m({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise(function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var n=Object(i.getQueryDefinition)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var o=Object(i.getQueryDefinition)(n.options.query),a=o.name?o.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(n.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,n){t.observableQuery&&e.push(n)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,a=e.query,s=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(a),c=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getOperationDefinition)(a)),e.variables),l=c,f=[],h=this.localState.clientQuery(u);return new d(function(e){if(f.push(e),1===f.length){var a=0,p=!1,v={next:function(e){return Object(r.__awaiter)(n,void 0,void 0,function(){var t;return Object(r.__generator)(this,function(n){switch(n.label){case 0:return a+=1,t=e,h&&Object(i.hasDirectives)(["client"],h)?[4,this.localState.runResolvers({document:h,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return s&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),f.forEach(function(e){Object(i.graphQLResultHasError)(t)&&e.error?e.error(new y({graphQLErrors:t.errors})):e.next&&e.next(t),a-=1}),0===a&&p&&v.complete(),[2]}})})},error:function(e){f.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===a&&f.forEach(function(e){e.complete&&e.complete()}),p=!0}};Object(r.__awaiter)(n,void 0,void 0,function(){var e,n,a,s;return Object(r.__generator)(this,function(r){switch(r.label){case 0:return Object(i.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return n=r.sent(),[3,3];case 2:n=c,r.label=3;case 3:return e=n,(a=this.localState.serverQuery(u))?(s=this.buildOperationForLink(a,e),t=Object(o.c)(this.link,s).subscribe(v)):t=d.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(f=f.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(s.b)(n),t=n}else t=e;var r=t.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(n,r){n.invalidated&&n.listeners&&n.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(r),n.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach(function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),n},e.prototype.fetchRequest=function(e){var t,n,a=this,s=e.requestId,u=e.queryId,l=e.document,f=e.options,h=e.fetchMoreForQueryId,p=f.variables,v=f.context,m=f.errorPolicy,b=void 0===m?"none":m,_=f.fetchPolicy;return new Promise(function(e,f){var m,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var S=a.buildOperationForLink(O,p,Object(r.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=S.context,m=Object(o.c)(a.deduplicator,S)}else g=a.prepareContext(v),m=d.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,f);var k=!1,E=!0,x={next:function(e){return Object(r.__awaiter)(a,void 0,void 0,function(){var o,a;return Object(r.__generator)(this,function(r){switch(r.label){case 0:return E=!0,o=e,a=this.getQuery(u).lastRequestId,s>=(a||1)?w&&Object(i.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:p}).catch(function(t){return E=!1,f(t),e})]:[3,2]:[3,3];case 1:o=r.sent(),r.label=2;case 2:if("no-cache"!==_)try{this.dataStore.markQueryResult(o,l,p,h,"ignore"===b||"all"===b)}catch(e){return E=!1,f(e),[2]}else this.setQuery(u,function(){return{newData:{result:o.data,complete:!0}}});this.queryStore.markQueryResult(u,o,h),this.invalidate(!0,u,h),this.broadcastQueries(),r.label=3;case 3:if(o.errors&&"none"===b)return E=!1,f(new y({graphQLErrors:o.errors})),[2];if("all"===b&&(n=o.errors),h||"no-cache"===_)t=o.data;else try{t=this.dataStore.getCache().read({variables:p,query:l,optimistic:!1})}catch(e){}return E=!1,k&&x.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==P})}}),f(e)},complete:function(){E||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==P})}}),e({data:t,errors:n,loading:!1,networkStatus:c.ready,stale:!1})),k=!0}},P=m.subscribe(x);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([P])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),i=Object(r.__assign)({},n,t(n));this.queries.set(e,i)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,function(){return{invalidated:e}}),n&&this.setQuery(n,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(i.getOperationName)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(r.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==c.ready&&t.networkStatus!==c.error},e.prototype.startPollingQuery=function(e,t,n){var i=e.pollInterval;return Object(s.b)(i),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:i,lastPollTimeMs:Date.now()-10,options:Object(r.__assign)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(i)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,p.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),S=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,o){void 0===o&&(o=!1);var a=!Object(i.graphQLResultHasError)(e);o&&Object(i.graphQLResultHasError)(e)&&e.data&&(a=!0),!r&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(i.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(i.graphQLResultHasError)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(r){var o=e.updateQueries[r],a=o.query,s=o.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(i.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(i.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&n.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){n.forEach(function(t){return e.write(t)})});var r=e.update;r&&this.cache.performTransaction(function(t){Object(i.tryFunctionOrLogError)(function(){return r(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),k="2.5.1",E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,a=void 0!==r&&r,u=e.ssrForceFetchDelay,c=void 0===u?0:u,l=e.connectToDevTools,f=e.queryDeduplication,h=void 0===f||f,d=e.defaultOptions,p=e.resolvers,v=e.typeDefs,y=e.fragmentMatcher,m=e.name,b=e.version,_=e.link;if(!_&&p&&(_=o.a.empty()),!_||!n)throw new s.a;var g=new Map,O=new o.a(function(e,t){var n=g.get(e.query);return n||(n=Object(i.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,n),g.set(n,n)),e.query=n,t(e)});this.link=O.concat(_),this.cache=n,this.store=new S(n),this.disableNetworkFetches=a||c>0,this.queryDeduplication=h,this.ssrMode=a,this.defaultOptions=d||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=k,m&&(this.clientAwareness.name=m),b&&(this.clientAwareness.version=b),this.localState=new w({cache:n,client:this,resolvers:p,fragmentMatcher:y})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(r.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(r.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(r.__assign)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(r.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(r.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.c)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},384:function(e,t,n){"use strict";var r=n(266),i=n.n(r),o=n(274),a=n(269);function s(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(e)}]}}function u(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return u(e[0]);var t=[];return Object.keys(e).forEach(function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:u(e[n])||void 0};t.push(r)}),{kind:"SelectionSet",selections:t}}var c,l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},f=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:l})}catch(e){}var a=o&&o.__typename||"__ClientData",c=Object.assign({__typename:a},i);this.writeFragment({id:r,fragment:(t=c,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(t)}]}),data:c})}else this.writeQuery({query:s(i),data:i})},e}();c||(c={});var h=n(368),d=n(300);n.d(t,"a",function(){return L});var p=new Map;if(p.set(1,2)!==p){var v=p.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return y&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new d.a}),i&&Object(a.isEqual)(i,v.result)&&(v.result=i),{result:v.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,s=void 0===o?T:o,u=Object(a.getMainDefinition)(t),c=Object(a.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(a.createFragmentMap)(c),contextValue:r,variableValues:i,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:n,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,i=e.execContext,s=i.fragmentMap,u=i.contextValue,c=i.variableValues,l={result:null},f=[],h=u.store.get(r.id),p=h&&h.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach(function(e){var n;if(Object(a.shouldInclude)(e,c))if(Object(a.isField)(e)){var l=v(t.executeField(h,p,e,i));void 0!==l&&f.push(((n={})[Object(a.resultKeyNameFromField)(e)]=l,n))}else{var y=void 0;if(Object(a.isInlineFragment)(e))y=e;else if(!(y=s[e.name.value]))throw new d.a;var m=y.typeCondition.name.value,b=i.fragmentMatcher(r,m,u);if(b){var _=t.executeSelectionSet({selectionSet:y.selectionSet,rootValue:r,execContext:i});"heuristic"===b&&_.missing&&(_=Object(o.__assign)({},_,{missing:_.missing.map(function(e){return Object(o.__assign)({},e,{tolerable:!0})})})),f.push(v(_))}}}),l.result=Object(a.mergeDeepArray)(f),l},e.prototype.executeField=function(e,t,n,r){var i=r.variableValues,o=r.contextValue,s=function(e,t,n,r,i,o){o.resultKey;var s=o.directives,u=n;(r||s)&&(u=Object(a.getStoreKeyName)(u,r,s));var c=void 0;if(e&&void 0===(c=e[u])&&i.cacheRedirects&&"string"==typeof t){var l=i.cacheRedirects[t];if(l){var f=l[n];f&&(c=f(e,r,{getCacheKey:function(e){return Object(a.toIdValue)({id:i.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(a.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,n.name.value,Object(a.argumentsObjectFromField)(n,i),o,{resultKey:Object(a.resultKeyNameFromField)(n),directives:Object(a.getDirectiveInfoFromField)(n,i)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(n,s.result,r)):n.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:s.result,execContext:r})):(C(n,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var M={fragmentMatcher:new O,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var F=Object.prototype.hasOwnProperty,D=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(o.__extends)(t,e),t.prototype.toObject=function(){return Object(o.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return F.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(I),L=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new S,n.silenceBroadcast=!1,n.config=Object(o.__assign)({},M,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new E:new I,n.optimisticData=n.data,n.storeReader=new P(n.cacheKeyRoot),n.storeWriter=new j;var r=n,i=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(h.wrap)(function(e){return i.call(n,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof E?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(o.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new d.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof D;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new D(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(a.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(f)},385:function(e,t,n){"use strict";var r=n(280),i=n(269),o=n(365),a=n(288),s={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;n.d(t,"a",function(){return h});var c,l=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=o.graphql,h=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,n=e.cache,o=e.typeDefs,c=e.fragmentMatcher;return n&&t&&n.writeData({data:t}),new(function(h){function d(){return null!==h&&h.apply(this,arguments)||this}return l(d,h),d.prototype.writeDefaults=function(){n&&t&&n.writeData({data:t})},d.prototype.request=function(n,l){if(void 0===l&&(l=function(){return r.b.of({data:{}})}),o){var h=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(a.print)(e)}).map(function(e){return e.trim()}).join("\n")}(o);n.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:h,directives:"directive @client on FIELD"}])}})}if(!Object(i.hasDirectives)(["client"],n.query))return l(n);var d,p="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(i.checkDocument)(e);var n=Object(i.removeDirectivesFromDocument)([s],e);return u.set(e,n),n}(n.query),y=n.query,m=(d=(Object(i.getMainDefinition)(y)||{}).operation).charAt(0).toUpperCase()+d.slice(1)||"Query",b=function(e,n,r,i,o){void 0===n&&(n={});var a=o.resultKey,s=n[a],u=n[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=p[n.__typename||m];if(l){var f=l[e];if(f)return f(n,r,i,o)}return(c?s:u)||(t||{})[e]};v&&(n.query=v);var _=v&&l?l(n):r.b.of({data:{}});return new r.b(function(e){var t=!1,r=!1;_.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=n.getContext();r=!0,f(b,y,o,u,n.variables,{fragmentMatcher:c}).then(function(n){e.next({data:n,errors:a}),t&&e.complete(),r=!1}).catch(s)},error:e.error.bind(e),complete:function(){r||e.complete(),t=!0}})})},d}(r.a))}},386:function(e,t,n){"use strict";var r=n(280),i=n(288),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=300&&s(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||s(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName)+"'."),t})})).then(function(e){return n.next(e),n.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))}),function(){b&&b.abort()}})})};var h=function(e){function t(t){return e.call(this,f(t).request)||this}return function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(r.a)}}]); -//# sourceMappingURL=5.7fe1c30c8a9ac377002f.js.map \ No newline at end of file diff --git a/packages/ui/dist/5.7fe1c30c8a9ac377002f.js.LICENSE b/packages/ui/dist/5.7fe1c30c8a9ac377002f.js.LICENSE deleted file mode 100644 index 585477498..000000000 --- a/packages/ui/dist/5.7fe1c30c8a9ac377002f.js.LICENSE +++ /dev/null @@ -1,109 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 Vaadin Ltd. -This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ -*/ diff --git a/packages/ui/dist/5.7fe1c30c8a9ac377002f.js.map b/packages/ui/dist/5.7fe1c30c8a9ac377002f.js.map deleted file mode 100644 index ca33d31e8..000000000 --- a/packages/ui/dist/5.7fe1c30c8a9ac377002f.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"5.7fe1c30c8a9ac377002f.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/5.d9b9776a851009cacb9f.js b/packages/ui/dist/5.d9b9776a851009cacb9f.js deleted file mode 100644 index 266c97db3..000000000 --- a/packages/ui/dist/5.d9b9776a851009cacb9f.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 5.d9b9776a851009cacb9f.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{261:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},262:function(e,t){function n(e,t){for(var n=0;n-1}function l(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function f(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map(function(e){return f(i,e.name,e.value,r)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return f(n,t,e,r),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new a.a;e[t.value]=null}}function h(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return f(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return f(r,n,i,t)})),p(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export"];function p(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,o={};return r.forEach(function(e){o[e]=i[e]}),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var s=Object(u.default)(t);a+="("+s+")"}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)}),a}function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,i=e.value;return f(n,r,i,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function _(e){return"InlineFragment"===e.kind}function b(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function g(e,t){return void 0===t&&(t=!1),Object(s.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function w(e){return null!=e&&"object"===i()(e)&&"json"===e.type}function O(e){throw new a.a}function S(e,t){switch(void 0===t&&(t=O),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return S(e,t)});case"ObjectValue":for(var n={},r=0,i=e.fields;r-1})}function T(e){return e&&x(["client"],e)&&x(["export"],e)}function C(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new a.a;"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&(Object(a.b)(1===r.length),n=r[0].name.value),Object(s.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}].concat(e.definitions)})}function I(e){for(var t=[],n=1;n1){var r=[];t=ge(t,r);for(var i=1;i2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}},w={},O={},S=n(274),k=n.n(S),E="{{lit-".concat(String(Math.random()).slice(2),"}}"),P="\x3c!--".concat(E,"--\x3e"),x=new RegExp("".concat(E,"|").concat(P)),T=function e(t,n){var r=this;i()(this,e),this.parts=[],this.element=n;var o=-1,a=0,s=[];!function e(n){for(var i=n.content,u=document.createTreeWalker(i,133,null,!1),c=0;u.nextNode();){o++;var l=u.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var f=l.attributes,h=0,d=0;d=0&&h++;for(;h-- >0;){var p=t.strings[a],v=N.exec(p)[2],y=v.toLowerCase()+"$lit$",m=l.getAttribute(y).split(x);r.parts.push({type:"attribute",index:o,name:v,strings:m}),l.removeAttribute(y),a+=m.length-1}}"TEMPLATE"===l.tagName&&e(l)}else if(3===l.nodeType){var _=l.data;if(_.indexOf(E)>=0){for(var b=l.parentNode,g=_.split(x),w=g.length-1,O=0;O=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,j=function(){function e(t,n,r){i()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return a()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var f,h=this._parts[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var d=f.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=b?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,i=0;return function t(o){for(var a=document.createTreeWalker(o,133,null,!1),s=a.nextNode();r0&&void 0!==arguments[0]?arguments[0]:this.startNode;g(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),L=function(){function e(t,n,r){if(i()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;_(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=w}}}]),e}(),q=function(e){function t(e,n,r){var o;return i()(this,t),(o=u()(this,l()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return p()(t,e),a()(t,[{key:"_createPart",value:function(){return new Q(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:h()(l()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(M),Q=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return p()(t,e),t}(F),V=!1;try{var B={get capture(){return V=!0,!1}};window.addEventListener("test",B,B),window.removeEventListener("test",B,B)}catch(e){}var U=function(){function e(t,n,r){var o=this;i()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return o.handleEvent(e)}}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;_(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=H(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=w}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),H=function(e){return e&&(V?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},z=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new q(e,t.slice(1),n).parts:"@"===i?[new U(e,t.slice(1),r.eventContext)]:"?"===i?[new L(e,t.slice(1),n)]:new M(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new D(e)}}]),e}());function G(e){var t=K.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},K.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(E);return void 0===(n=t.keyString.get(r))&&(n=new T(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var K=new Map,J=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var Y=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,W,null,!1),a=Z(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=X(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=Z(i,a);return}a=Z(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),$(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},ae=n(285),se=n.n(ae);window.JSCompiler_renameProperty=function(e,t){return e};var ue={toAttribute:function(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},ce=function(e,t){return t!==e&&(t==t||e==e)},le={attribute:!0,type:String,converter:ue,reflect:!1,hasChanged:ce},fe=Promise.resolve(!0),he=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=fe,e._hasConnectedResolver=void 0,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return p()(t,e),a()(t,[{key:"initialize",value:function(){this._saveInstanceProperties()}},{key:"_saveInstanceProperties",value:function(){var e=this;this.constructor._classProperties.forEach(function(t,n){if(e.hasOwnProperty(n)){var r=e[n];delete e[n],e._instanceProperties||(e._instanceProperties=new Map),e._instanceProperties.set(n,r)}})}},{key:"_applyInstanceProperties",value:function(){var e=this;this._instanceProperties.forEach(function(t,n){return e[n]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r)||le;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}},{key:"requestUpdate",value:function(e,t){var n=!0;if(void 0!==e&&!this._changedProperties.has(e)){var r=this.constructor,i=r._classProperties.get(e)||le;r._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):n=!1}return!this._hasRequestedUpdate&&n&&this._enqueueUpdate(),this.updateComplete}},{key:"_enqueueUpdate",value:function(){return new Promise(function(e,t){var n,r,i,o;return n=this,this._updateState=4|this._updateState,i=this._updatePromise,this._updatePromise=new Promise(function(e){return r=e}),Promise.resolve(i).then(function(i){try{if(!this._hasConnected)return Promise.resolve(new Promise(function(e){return n._hasConnectedResolver=e})).then(function(e){try{return a.call(this)}catch(e){return t(e)}}.bind(this),t);function a(){if(null!=(o=this.performUpdate())&&"function"==typeof o.then)return Promise.resolve(o).then(function(e){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return r(!this._hasRequestedUpdate),e()}return n.call(this)}return a.call(this)}catch(e){return t(e)}}.bind(this),t)}.bind(this))}},{key:"performUpdate",value:function(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(function(e,n){return t._propertyToAttribute(n,t[n],e)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,n){return e._classProperties.set(n,t)})}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===y()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[n]},set:function(t){var r=this[e];this[n]=t,this.requestUpdate(e,r)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[].concat(k()(Object.getOwnPropertyNames(t)),k()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||ue,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ue.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach(function(n,r){var i=e._attributeNameForProperty(r,n);void 0!==i&&(e._attributeToPropertyMap.set(i,r),t.push(i))}),t}}]),t}(se()(HTMLElement));he.finalized=!0;ve(function(e,t){return e.querySelector(t)}),ve(function(e,t){return e.querySelectorAll(t)});var de=function(e,t,n){Object.defineProperty(t,n,e)},pe=function(e,t){return{kind:"method",placement:"prototype",key:t.key,descriptor:e}};function ve(e){return function(t){return function(n,r){var i={get:function(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0};return void 0!==r?de(i,n,r):pe(i,n)}}}var ye="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol();n.d(t,"a",function(){return _e}),n.d(t,"b",function(){return Y}),(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var me=function(e){return e.flat?e.flat(1/0):function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0,i=t.length;r=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function f(e,t){if("object"===("undefined"==typeof Reflect?"undefined":i()(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof _?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function g(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}},283:function(e,t,n){"use strict";n.d(t,"g",function(){return r}),n.d(t,"f",function(){return i}),n.d(t,"h",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"e",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return l});var r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,o=/(--[\w-]+)\s*([:,;)]|$)/gi,a=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,u=/\{[^}]*\}/g,c="(?:^|[^.#[:])",l="($|[.:[\\s>+~])"},285:function(e,t,n){var r=n(263),i=n(294),o=n(348),a=n(349);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},286:function(e,t,n){var r=n(379).parse;function i(e){return e.replace(/[\s,]+/g," ").trim()}var o={},a={};var s=!0;var u=!1;function c(e){var t=i(e);if(o[t])return o[t];var n=r(e,{experimentalFragmentVariables:u});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");return n=function e(t,n){var r=Object.prototype.toString.call(t);if("[object Array]"===r)return t.map(function(t){return e(t,n)});if("[object Object]"!==r)throw new Error("Unexpected input.");n&&t.loc&&delete t.loc,t.loc&&(delete t.loc.startToken,delete t.loc.endToken);var i,o,a,s=Object.keys(t);for(i in s)s.hasOwnProperty(i)&&(o=t[s[i]],"[object Object]"!==(a=Object.prototype.toString.call(o))&&"[object Array]"!==a||(t[s[i]]=e(o,!0)));return t}(n=function(e){for(var t,n={},r=[],o=0;o1)for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],f=-1,h=[],d=void 0,p=void 0,v=void 0,y=[],m=[],_=e;do{var b=++f===l.length,g=b&&0!==h.length;if(b){if(p=0===m.length?void 0:y[y.length-1],d=v,v=m.pop(),g){if(c)d=d.slice();else{for(var w={},O=Object.keys(d),S=0;S-1&&(d=a[b],a=a.slice(0,b))}a&&(r.push(a),a="",c=!1);var g=""!==d&&void 0!==p&&p!==d,w="+"===_||"*"===_,O="?"===_||"*"===_,S=d||s,k=y||m;r.push({name:v||i++,prefix:d,delimiter:S,optional:O,repeat:w,partial:g,pattern:k?$(k):"[^"+W(S)+"]+?"})}}return(a||o-1;else{var h=W(f.prefix),d=f.repeat?"(?:"+f.pattern+")(?:"+h+"(?:"+f.pattern+"))*":f.pattern;t&&t.push(f),f.optional?f.partial?u+=h+"("+d+")?":u+="(?:"+h+"("+d+"))?":u+=h+"("+d+")"}}return i?(r||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(r||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,X(n))}function ee(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&"/"===t.charAt(h)&&(h+=1),a=ie(f,t.substr(h),n,o.keys,o.params)}var d=a.next(c);if(!d.done)return{done:!1,value:d.value};a=null,s++}return{done:!0}}}}function oe(e){if(j(e.route.action))return e.route.action(e)}ne.set("|false",{keys:[],pattern:/(?:)/});var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(_()(this,e),Object(t)!==t)throw new TypeError("Invalid routes");this.baseUrl=n.baseUrl||"",this.errorHandler=n.errorHandler,this.resolveRoute=n.resolveRoute||oe,this.context=Object.assign({resolver:this},n.context),this.root=Array.isArray(t)?{path:"",__children:t,parent:null,__synthetic:!0}:t,this.root.parent=null}return y()(e,[{key:"getRoutes",value:function(){return p()(this.root.__children)}},{key:"setRoutes",value:function(e){T(e);var t=p()(w(e));this.root.__children=t}},{key:"addRoutes",value:function(e){var t;return T(e),(t=this.root.__children).push.apply(t,p()(w(e))),this.getRoutes()}},{key:"removeRoutes",value:function(){this.setRoutes([])}},{key:"resolve",value:function(e){var t=this,n=Object.assign({},this.context,A(e)?{pathname:e}:e),r=ie(this.root,this.__normalizePathname(n.pathname),this.baseUrl),i=this.resolveRoute,o=null,a=null,s=n;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&o.value.route;return o=a||r.next(c),a=null,e||!o.done&&function(e,t){for(var n=t;n;)if((n=n.parent)===e)return!0;return!1}(t,o.value.route)?o.done?Promise.reject(R(n)):(function(e,t){var n=t.route,r=t.path;if(n&&!n.__synthetic){var i={path:r,route:n};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,n)?e.chain.push(i):e.chain=[i]}}(n,o.value),s=Object.assign({},n,o.value),Promise.resolve(i(s)).then(function(n){return null!=n&&n!==M?(s.result=n.result||n,s):u(e,t,n)})):(a=o,Promise.resolve(M))}return n.next=u,Promise.resolve().then(function(){return u(!0,t.root)}).catch(function(e){var n=function(e){var t="Path '".concat(e.pathname,"' is not properly resolved due to an error."),n=(e.route||{}).path;return n&&(t+=" Resolution had failed on route: '".concat(n,"'")),t}(s);if(e?console.warn(n):e=new Error(n),e.context=e.context||s,e instanceof DOMException||(e.code=e.code||500),t.errorHandler)return s.result=t.errorHandler(e),s;throw e})}},{key:"__normalizePathname",value:function(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,n=this.constructor.__createUrl(e,t).href;return n.slice(0,t.length)===t?n.slice(t.length):void 0}},{key:"__effectiveBaseUrl",get:function(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}}],[{key:"__createUrl",value:function(e,t){return new URL(e,t)}}]),e}();ae.pathToRegexp=Q;var se=ae.pathToRegexp,ue=new Map;function ce(e,t){var n=e.get(t);if(n&&n.length>1)throw new Error('Duplicate route with name "'.concat(t,'".')+" Try seting unique 'name' route properties.");return n&&n[0]}function le(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof ae))throw new TypeError("An instance of Resolver is expected");var n=new Map;return function(r,i){var o=ce(n,r);if(!(o||(n.clear(),function e(t,n,r){var i=n.name||n.component;if(i&&(t.has(i)?t.get(i).push(n):t.set(i,[n])),Array.isArray(r))for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return Se(Ee.pathToRegexp.compile(ke(l))(Object.assign({},s,e)),c)}}}function be(e,t){var n=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:n}}}function ge(e,t,n){if(j(e))return e.apply(n,t)}function we(e,t,n){return function(r){return r&&(r.cancel||r.redirect)?r:n?ge(n[e],t,n):void 0}}function Oe(e){if(e&&e.length)for(var t=e[0].parentNode,n=0;n1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(n).then(function(r){var i=r!==n?r:e;return r.next().then(function(e){if((null===e||e===M)&&Se(ke(r.chain),r.resolver)!==r.pathname)throw R(i);return e&&e!==M?t.__fullyResolveChain(i,e):t.__amendWithOnBeforeCallbacks(i)})})}},{key:"__amendWithResolutionResult",value:function(e){var t=this,n=e.result;return n instanceof HTMLElement?Promise.resolve(e):n.redirect?this.__redirect(n.redirect,e.__redirectCount).then(function(e){return t.__amendWithResolutionResult(e)}):n instanceof Error?Promise.reject(n):Promise.reject(new Error(O('Invalid route resolution result for path "'.concat(e.pathname,'". ')+'Expected redirect object or HTML element, but got: "'.concat(function(e){if("object"!==g()(e))return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?"".concat(t," ").concat(JSON.stringify(e)):t}(n),'". ')+"Double check the action return value for the route.")))}},{key:"__amendWithOnBeforeCallbacks",value:function(e){var t=this;return this.__runOnBeforeCallbacks(e).then(function(n){return n===t.__previousContext||n===e?n:t.__fullyResolveChain(n)})}},{key:"__runOnBeforeCallbacks",value:function(e){var t=this,n=(this.__previousContext||{}).chain||[],r=e.chain,i=Promise.resolve(),o=function(){return{cancel:!0}},a=function(t){return be(e,t)};if(e.__divergedChainIndex=0,n.length){for(var s=0;s=e.__divergedChainIndex;u--){var c=_e(e);i=i.then(we("onBeforeLeave",[c,{prevent:o},this],n[u].element)).then(function(e){if(!(e||{}).redirect)return e})}}for(var l=e.__divergedChainIndex;l256)throw new Error(O("Too many redirects when rendering ".concat(e.from)));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}},{key:"__ensureOutlet",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(O("Expected router outlet to be a valid DOM Node (but got ".concat(e,")")))}},{key:"__updateBrowserHistory",value:function(e,t){if(window.location.pathname!==e){var n=t?"replaceState":"pushState";window.history[n](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}},{key:"__addAppearingContent",value:function(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var n=this.__outlet,r=0;r=e.__divergedChainIndex;n--){var r=t.chain[n].element;if(r)try{var i=_e(e);ge(r.onAfterLeave,[i,{},t.resolver],r)}finally{Oe(r.children)}}}},{key:"__runOnAfterEnterCallbacks",value:function(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(n&&r&&t){var s=N(t)&&t.leave||"leaving",u=N(t)&&t.enter||"entering";i.push(ye(n,s)),i.push(ye(r,u))}return Promise.all(i).then(function(){return e})}},{key:"subscribe",value:function(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"unsubscribe",value:function(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"__onNavigationEvent",value:function(e){var t=e?e.detail.pathname:window.location.pathname;A(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}},{key:"urlForName",value:function(e,t){return this.__urlForName||(this.__urlForName=fe(this)),Se(this.__urlForName(e,t),this)}},{key:"urlForPath",value:function(e,n){return Se(t.pathToRegexp.compile(e)(n),this)}}],[{key:"setTriggers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&!xe(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),Te(Ce),Ee.NavigationTrigger={POPSTATE:q,CLICK:D}},351:function(e,t,n){e.exports=n(352).Observable},352:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n1,i=!1,o=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=f(t,c);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return d(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(a("iterator")&&(r=f(t,u)))return new n(function(e){v(function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,m.default.GQL_START,e))}).catch(function(e){n.unsubscribe(r),t(n.formatErrors(e))}),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,i)||i&&!l.default(i)||r&&!f.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r({},n,{query:"string"==typeof n.query?n.query:h.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,v.GRAPHQL_WS),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var n=t.data;e.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var i=t.payload.errors?r({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,i);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=_}).call(this,n(273))},356:function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},357:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);rthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},370:function(e,t,n){"use strict";n.r(t),n.d(t,"tuple",function(){return d}),n.d(t,"lookup",function(){return f}),n.d(t,"lookupArray",function(){return h});var r="function"==typeof Symbol&&"function"==typeof Symbol.for,i=r?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=r?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!1,configurable:!1}),n}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function f(){return h(arguments)}function h(e){for(var t=l,n=e.length,r=0;r0&&(t=[],e.childValues.forEach(function(n,r){w(e,r),t.push(r)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),m(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},372:function(e,t,n){"use strict";(function(e){var t,r,i=n(266),o=n.n(i);t=void 0,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===o()(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(n,"\\$&").replace(r,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=j;M-=1){var F=M-1,D=n[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==C&&(R[M]|=(E[M+1]|E[M])<<1|1|E[M+1]),R[M]&T&&(P=r(t,{errors:C,currentLocation:F,expectedLocation:y,distance:c}))<=_){if(_=P,(b=F)<=y)break;j=Math.max(1,2*y-b)}}if(r(t,{errors:C+1,currentLocation:y,expectedLocation:y,distance:c})>_)break;E=R}return{isMatch:b>=0,score:0===P?.001:P,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,n){function r(e,t){for(var n=0;nn)return i(e,this.pattern,r);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,f=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:f})}}])&&r(t.prototype,n),s&&r(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,n){var r=n("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,n,i){if(n){var o=n.indexOf("."),a=n,s=null;-1!==o&&(a=n.slice(0,o),s=n.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(r(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,i=n.fullSearcher,o=this._search(r,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,i=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,r={},i=[];if("string"==typeof n[0]){for(var o=0,a=n.length;o1)throw new Error("Key weight has to be > 0 and <= 1");d=d.name}else s[d]={weight:1};this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:u},{resultMap:r,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,i=void 0===r?-1:r,o=e.value,a=e.record,s=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,f=t.fullSearcher,h=void 0===f?[]:f,d=t.resultMap,p=void 0===d?{}:d,v=t.results,y=void 0===v?[]:v;if(null!=o){var m=!1,_=-1,b=0;if("string"==typeof o){this._log("\nKey: ".concat(""===n?"-":n));var g=h.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],S=0;S-1&&(j=(j+_)/2),this._log("Score average:",j);var A=!this.options.tokenize||!this.options.matchAllTokens||b>=l.length;if(this._log("\nCheck Matches: ".concat(A)),(m||g.isMatch)&&A){var R=p[s];R?R.output.push({key:n,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}):(p[s]={item:a,output:[{key:n,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}]},y.push(p[s]))}}else if(u(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;o\n \n\n \n\n \n',document.head.appendChild(Z.content);var ee=document.createElement("template");ee.innerHTML="\n \n",document.head.appendChild(ee.content);var te=document.createElement("template");te.innerHTML="\n \n",document.head.appendChild(te.content);var ne=document.createElement("template");ne.innerHTML='\n \n',document.head.appendChild(ne.content);var re=n(271),ie=n.n(re),oe=n(267),ae=n.n(oe),se=0;function ue(){}ue.prototype.__mixinApplications,ue.prototype.__mixinSet;var ce=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var n=se++;function r(r){var i=r.__mixinSet;if(i&&i[n])return r;var o=t,a=o.get(r);a||(a=e(r),o.set(r,a));var s=Object.create(a.__mixinSet||i||null);return s[n]=!0,a.__mixinSet=s,a}return r},le=n(266),fe=n.n(le);function he(e){return e.indexOf(".")>=0}function de(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function pe(e,t){return 0===e.indexOf(t+".")}function ve(e,t){return 0===t.indexOf(e+".")}function ye(e,t,n){return t+n.slice(e.length)}function me(e){if(Array.isArray(e)){for(var t=[],n=0;n1){for(var a=0;a=0){if(!Te[t])throw new Error("invalid async handle: "+e);Te[t]=null}}},Ae=je,Re=ce(function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__dataEnabled=!1,e.__dataReady=!1,e.__dataInvalid=!1,e.__data={},e.__dataPending=null,e.__dataOld=null,e.__dataInstanceProps=null,e.__serializing=!1,e._initializeProperties(),e}return h()(t,e),a()(t,[{key:"_createPropertyAccessor",value:function(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}},{key:"_addPropertyToAttributeMap",value:function(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){var t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}},{key:"_definePropertyAccessor",value:function(e,t){Object.defineProperty(this,e,{get:function(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}}],[{key:"createProperties",value:function(e){var t=this.prototype;for(var n in e)n in t||t._createPropertyAccessor(n)}},{key:"attributeNameForProperty",value:function(e){return e.toLowerCase()}},{key:"typeForProperty",value:function(e){}}]),a()(t,[{key:"ready",value:function(){this.__dataReady=!0,this._flushProperties()}},{key:"_initializeProperties",value:function(){for(var e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}},{key:"_initializeInstanceProperties",value:function(e){Object.assign(this,e)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}},{key:"_getProperty",value:function(e){return this.__data[e]}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__data[e],i=this._shouldPropertyChange(e,t,r);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||e in this.__dataOld||(this.__dataOld[e]=r),this.__data[e]=t,this.__dataPending[e]=t),i}},{key:"_invalidateProperties",value:function(){var e=this;!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Ae.run(function(){e.__dataInvalid&&(e.__dataInvalid=!1,e._flushProperties())}))}},{key:"_enableProperties",value:function(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}},{key:"_flushProperties",value:function(){var e=this.__data,t=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(e,t,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,n))}},{key:"_shouldPropertiesChange",value:function(e,t,n){return Boolean(t)}},{key:"_propertiesChanged",value:function(e,t,n){}},{key:"_shouldPropertyChange",value:function(e,t,n){return n!==t&&(n==n||t==t)}},{key:"attributeChangedCallback",value:function(e,n,r,i){n!==r&&this._attributeToProperty(e,r),ae()(l()(t.prototype),"attributeChangedCallback",this)&&ae()(l()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r,i)}},{key:"_attributeToProperty",value:function(e,t,n){if(!this.__serializing){var r=this.__dataAttributes,i=r&&r[e]||e;this[i]=this._deserializeValue(t,n||this.constructor.typeForProperty(i))}}},{key:"_propertyToAttribute",value:function(e,t,n){this.__serializing=!0,n=arguments.length<3?this[e]:n,this._valueToNodeAttribute(this,n,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}},{key:"_valueToNodeAttribute",value:function(e,t,n){var r=this._serializeValue(t);void 0===r?e.removeAttribute(n):e.setAttribute(n,r)}},{key:"_serializeValue",value:function(e){switch(fe()(e)){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}},{key:"_deserializeValue",value:function(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}]),t}(e)}),Me={},Fe=HTMLElement.prototype;Fe;){for(var De=Object.getOwnPropertyNames(Fe),Le=0;Lec.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=n[t];t=ye(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}return"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,n,r),j&&(i=j(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[Je.READ_ONLY]&&t[Je.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,n,r,o))}}function ct(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;o="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=de(t),n.structured=he(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function _t(e,t,n,r){var i=n+".splices";e.notifyPath(i,{indexSplices:r}),e.notifyPath(n+".length",t.length),e.__data[i]={indexSplices:null}}function bt(e,t,n,r,i,o){_t(e,t,n,[{index:r,addedCount:i,removed:o,object:t,type:"splice"}])}var gt=ce(function(e){var t=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__isPropertyEffectsClient=!0,e.__dataCounter=0,e.__dataClientsReady,e.__dataPendingClients,e.__dataToNotify,e.__dataLinkedPaths,e.__dataHasPaths,e.__dataCompoundStorage,e.__dataHost,e.__dataTemp,e.__dataClientsInitialized,e.__data,e.__dataPending,e.__dataOld,e.__computeEffects,e.__reflectEffects,e.__notifyEffects,e.__propagateEffects,e.__observeEffects,e.__readOnly,e.__templateInfo,e}return h()(t,e),a()(t,[{key:"_initializeProperties",value:function(){ae()(l()(t.prototype),"_initializeProperties",this).call(this),wt.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}},{key:"_initializeProtoProperties",value:function(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}},{key:"_initializeInstanceProperties",value:function(e){var t=this[Je.READ_ONLY];for(var n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}},{key:"_addPropertyEffect",value:function(e,t,n){this._createPropertyAccessor(e,t==Je.READ_ONLY);var r=We(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}},{key:"_removePropertyEffect",value:function(e,t,n){var r=We(this,t)[e],i=r.indexOf(n);i>=0&&r.splice(i,1)}},{key:"_hasPropertyEffect",value:function(e,t){var n=this[t];return Boolean(n&&n[e])}},{key:"_hasReadOnlyEffect",value:function(e){return this._hasPropertyEffect(e,Je.READ_ONLY)}},{key:"_hasNotifyEffect",value:function(e){return this._hasPropertyEffect(e,Je.NOTIFY)}},{key:"_hasReflectEffect",value:function(e){return this._hasPropertyEffect(e,Je.REFLECT)}},{key:"_hasComputedEffect",value:function(e){return this._hasPropertyEffect(e,Je.COMPUTE)}},{key:"_setPendingPropertyOrPath",value:function(e,n,r,i){if(i||de(Array.isArray(e)?e[0]:e)!==e){if(!i){var o=be(this,e);if(!(e=ge(this,e,n))||!ae()(l()(t.prototype),"_shouldPropertyChange",this).call(this,e,n,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,n,r))return function(e,t,n){var r,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];ve(o,t)?(r=ye(o,a,t),e._setPendingPropertyOrPath(r,n,!0,!0)):ve(a,t)&&(r=ye(a,o,t),e._setPendingPropertyOrPath(r,n,!0,!0))}}(this,e,n),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,n,r);this[e]=n}return!1}},{key:"_setUnmanagedPropertyToNode",value:function(e,t,n){n===e[t]&&"object"!=fe()(n)||(e[t]=n)}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__dataHasPaths&&he(e),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[Je.NOTIFY]&&this[Je.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}},{key:"_invalidateProperties",value:function(){this.__dataReady&&this._flushProperties()}},{key:"_enqueueClient",value:function(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}},{key:"_flushProperties",value:function(){this.__dataCounter++,ae()(l()(t.prototype),"_flushProperties",this).call(this),this.__dataCounter--}},{key:"_flushClients",value:function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}},{key:"__enableOrFlushClients",value:function(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?r-3:0),o=3;o1?r-1:0),o=1;oi&&r.push({literal:e.slice(i,n.index)});var o=n[1][0],a=Boolean(n[2]),s=n[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var f=yt(s),h=[];if(f){for(var d=f.args,p=f.methodName,v=0;v1?n-1:0),i=1;i0||n>0;)if(0!=t)if(0!=n){var o=e[t-1][n-1],a=e[t-1][n],s=e[t][n-1],u=void 0;(u=a=0&&!Vt(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());var Ht,zt=function(){return Bt(Ut)};window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){zt&&zt()};function Gt(){var e=ie()(['\n \n
\n \n
\n']);return Gt=function(){return e},e}var Kt=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){ae()(l()(t.prototype),"ready",this).call(this),this.setAttribute("role","list")}},{key:"_scrollerElement",get:function(){return this.shadowRoot.querySelector('[part="items"]')}}],[{key:"template",get:function(){return xt(Gt())}},{key:"is",get:function(){return"vaadin-list-box"}},{key:"version",get:function(){return"1.1.0"}},{key:"properties",get:function(){return{orientation:{readOnly:!0}}}}]),t}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){ae()(l()(t.prototype),"ready",this).call(this),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add to the HTML document.')}}],[{key:"_finalizeClass",value:function(){var e;ae()(l()(t),"_finalizeClass",this).call(this),this.is&&(window.Vaadin.registrations.push(this),window.Vaadin.developmentModeCallback&&(Ht=Lt.debounce(Ht,Ne,function(){window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),e=Ht,qt.push(e)))}}]),t}(e)}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){var e=this;ae()(l()(t.prototype),"ready",this).call(this),this.addEventListener("keydown",function(t){return e._onKeydown(t)}),this.addEventListener("click",function(t){return e._onClick(t)}),this._observer=new Dt(this,function(t){e._setItems(e._filterItems(Array.from(e.children)))})}},{key:"_enhanceItems",value:function(e,t,n){if(e){this.setAttribute("aria-orientation",t||"vertical"),this.items.forEach(function(e){t?e.setAttribute("orientation",t):e.removeAttribute("orientation"),e.updateStyles()}),this._setFocusable(n);var r=e[n];e.forEach(function(e){return e.selected=e===r}),r&&!r.disabled&&this._scrollToItem(n)}}},{key:"_filterItems",value:function(e){return e.filter(function(e){return e._hasVaadinItemMixin})}},{key:"_onClick",value:function(e){if(!(e.metaKey||e.shiftKey||e.ctrlKey)){var t,n=this._filterItems(e.composedPath())[0];n&&!n.disabled&&(t=this.items.indexOf(n))>=0&&(this.selected=t)}}},{key:"_onKeydown",value:function(e){if(!e.metaKey&&!e.ctrlKey){var t,n,r=e.key.replace(/^Arrow/,""),i=this.items.indexOf(this.focused),o=function(e){return!e.disabled};this._vertical&&"Up"===r||!this._vertical&&"Left"===r?(n=-1,t=i-1):this._vertical&&"Down"===r||!this._vertical&&"Right"===r?(n=1,t=i+1):"Home"===r?(n=1,t=0):"End"===r?(n=-1,t=this.items.length-1):1==r.length&&(n=1,t=i+1,o=function(e){return!e.disabled&&0===e.textContent.trim().toLowerCase().indexOf(r.toLowerCase())}),(t=this._getAvailableIndex(t,n,o))>=0&&(this._focus(t),e.preventDefault())}}},{key:"_getAvailableIndex",value:function(e,t,n){for(var r=this.items.length,i=0;"number"==typeof e&&i=r&&(e=0),n(this.items[e]))return e;return-1}},{key:"_setFocusable",value:function(e){e=this._getAvailableIndex(e,1,function(e){return!e.disabled});var t=this.items[e]||this.items[0];this.items.forEach(function(e){return e.tabIndex=e===t?0:-1})}},{key:"_focus",value:function(e){var t=this.items[e];this.items.forEach(function(e){return e.focused=e===t}),this._setFocusable(e),this._scrollToItem(e),t.focus()}},{key:"focus",value:function(){this._observer.flush();var e=this.querySelector('[tabindex="0"]')||this.items[0];e&&e.focus()}},{key:"_scrollToItem",value:function(e){var t=this.items[e];if(t){var n=this._vertical?["top","bottom"]:["left","right"],r=this._scrollerElement.getBoundingClientRect(),i=(this.items[e+1]||t).getBoundingClientRect(),o=(this.items[e-1]||t).getBoundingClientRect(),a=0;i[n[1]]>=r[n[1]]?a=i[n[1]]-r[n[1]]:o[n[0]]<=r[n[0]]&&(a=o[n[0]]-r[n[0]]),this._scroll(a)}}},{key:"_scroll",value:function(e){this._scrollerElement["scroll"+(this._vertical?"Top":"Left")]+=e}},{key:"focused",get:function(){return this.getRootNode().activeElement}},{key:"_scrollerElement",get:function(){}},{key:"_vertical",get:function(){return"horizontal"!==this.orientation}}],[{key:"properties",get:function(){return{_hasVaadinListMixin:{value:!0},selected:{type:Number,reflectToAttribute:!0,notify:!0},orientation:{type:String,reflectToAttribute:!0,value:""},items:{type:Array,readOnly:!0,notify:!0}}}},{key:"observers",get:function(){return["_enhanceItems(items, orientation, selected)"]}}]),t}(e)}(function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"finalize",value:function(){var e=this;ae()(l()(t),"finalize",this).call(this);var n=this.prototype._template,r=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,i=Object.getPrototypeOf(this.prototype)._template;i&&!r&&Array.from(i.content.querySelectorAll("style[include]")).forEach(function(t){e._includeStyle(t.getAttribute("include"),n)}),this._includeMatchingThemes(n)}},{key:"_includeMatchingThemes",value:function(e){var t=this,n=q.prototype.modules,r=!1,i=this.is+"-default-theme";Object.keys(n).sort(function(e,t){var n=0===e.indexOf("vaadin-"),r=0===t.indexOf("vaadin-"),i=["lumo-","material-"],o=i.filter(function(t){return 0===e.indexOf(t)}).length>0,a=i.filter(function(e){return 0===t.indexOf(e)}).length>0;return n!==r?n?-1:1:o!==a?o?-1:1:0}).forEach(function(o){if(o!==i){var a=n[o].getAttribute("theme-for");a&&a.split(" ").forEach(function(n){new RegExp("^"+n.split("*").join(".*")+"$").test(t.is)&&(r=!0,t._includeStyle(o,e))})}}),!r&&n[i]&&this._includeStyle(i,e)}},{key:"_includeStyle",value:function(e,t){if(t&&!t.content.querySelector('style[include="'.concat(e,'"]'))){var n=document.createElement("style");n.setAttribute("include",e),t.content.appendChild(n)}}}]),t}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"attributeChangedCallback",value:function(e,n,r){ae()(l()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r),"theme"===e&&this._setTheme(r)}}],[{key:"properties",get:function(){return{theme:{type:String,readOnly:!0}}}}]),t}(e)}(Tt)))));customElements.define(Kt.is,Kt)},379:function(e,t,n){"use strict";n.r(t);var r=n(309),i=n(310);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index0&&y(t[0]);)t.shift();for(;t.length>0&&y(t[t.length-1]);)t.pop();return t.join("\n")}function v(e){for(var t=0;t",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function w(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}var O=String.prototype.charCodeAt,S=String.prototype.slice;function k(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function E(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function P(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i=i)return new k(g.EOF,i,i,a,s,t);var u=O.call(r,o);switch(u){case 33:return new k(g.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=O.call(a,++s)}while(null!==o&&(o>31||9===o));return new k(g.COMMENT,t,s,n,r,i,S.call(a,t+1,s))}(n,o,a,s,t);case 36:return new k(g.DOLLAR,o,o+1,a,s,t);case 38:return new k(g.AMP,o,o+1,a,s,t);case 40:return new k(g.PAREN_L,o,o+1,a,s,t);case 41:return new k(g.PAREN_R,o,o+1,a,s,t);case 46:if(46===O.call(r,o+1)&&46===O.call(r,o+2))return new k(g.SPREAD,o,o+3,a,s,t);break;case 58:return new k(g.COLON,o,o+1,a,s,t);case 61:return new k(g.EQUALS,o,o+1,a,s,t);case 64:return new k(g.AT,o,o+1,a,s,t);case 91:return new k(g.BRACKET_L,o,o+1,a,s,t);case 93:return new k(g.BRACKET_R,o,o+1,a,s,t);case 123:return new k(g.BRACE_L,o,o+1,a,s,t);case 124:return new k(g.PIPE,o,o+1,a,s,t);case 125:return new k(g.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&null!==(u=O.call(o,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new k(g.NAME,t,s,n,r,i,S.call(o,t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,u=t,c=!1;45===s&&(s=O.call(a,++u));if(48===s){if((s=O.call(a,++u))>=48&&s<=57)throw d(e,u,"Invalid number, unexpected digit after 0: ".concat(E(s),"."))}else u=x(e,u,s),s=O.call(a,u);46===s&&(c=!0,s=O.call(a,++u),u=x(e,u,s),s=O.call(a,u));69!==s&&101!==s||(c=!0,43!==(s=O.call(a,++u))&&45!==s||(s=O.call(a,++u)),u=x(e,u,s));return new k(c?g.FLOAT:g.INT,t,u,r,i,o,S.call(a,t,u))}(n,o,u,a,s,t);case 34:return 34===O.call(r,o+1)&&34===O.call(r,o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=O.call(r,++i)}while(o>=48&&o<=57);return i}throw d(e,i,"Invalid number, expected digit but got: ".concat(E(o),"."))}function T(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(k,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var C=n(311),I=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function N(e,t){var n="string"==typeof e?new u(e):e;if(!(n instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(r.a)(n)));return function(e){var t=e.token;return{kind:C.a.DOCUMENT,definitions:Pe(e,g.SOF,M,g.EOF),loc:me(e,t)}}(m(n,t||{}))}function j(e,t){var n=m("string"==typeof e?new u(e):e,t||{});we(n,g.SOF);var r=J(n,!1);return we(n,g.EOF),r}function A(e,t){var n=m("string"==typeof e?new u(e):e,t||{});we(n,g.SOF);var r=te(n);return we(n,g.EOF),r}function R(e){var t=we(e,g.NAME);return{kind:C.a.NAME,value:t.value,loc:me(e,t)}}function M(e){if(be(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return F(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return re(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Se(e,"extend"),Se(e,"schema");var n=Z(e,!0),r=be(e,g.BRACE_L)?Pe(e,g.BRACE_L,ae,g.BRACE_R):[];if(0===n.length&&0===r.length)throw ke(e);return{kind:C.a.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:me(e,t)}}(e);case"scalar":return function(e){var t=e.token;Se(e,"extend"),Se(e,"scalar");var n=R(e),r=Z(e,!0);if(0===r.length)throw ke(e);return{kind:C.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:me(e,t)}}(e);case"type":return function(e){var t=e.token;Se(e,"extend"),Se(e,"type");var n=R(e),r=se(e),i=Z(e,!0),o=ue(e);if(0===r.length&&0===i.length&&0===o.length)throw ke(e);return{kind:C.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:me(e,t)}}(e);case"interface":return function(e){var t=e.token;Se(e,"extend"),Se(e,"interface");var n=R(e),r=Z(e,!0),i=ue(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:C.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:me(e,t)}}(e);case"union":return function(e){var t=e.token;Se(e,"extend"),Se(e,"union");var n=R(e),r=Z(e,!0),i=he(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:C.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:me(e,t)}}(e);case"enum":return function(e){var t=e.token;Se(e,"extend"),Se(e,"enum");var n=R(e),r=Z(e,!0),i=de(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:C.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:me(e,t)}}(e);case"input":return function(e){var t=e.token;Se(e,"extend"),Se(e,"input");var n=R(e),r=Z(e,!0),i=ve(e);if(0===r.length&&0===i.length)throw ke(e);return{kind:C.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:me(e,t)}}(e)}throw ke(e,t)}(e)}else{if(be(e,g.BRACE_L))return F(e);if(ie(e))return re(e)}throw ke(e)}function F(e){if(be(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return D(e);case"fragment":return function(e){var t=e.token;if(Se(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:C.a.FRAGMENT_DEFINITION,name:K(e),variableDefinitions:q(e),typeCondition:(Se(e,"on"),ne(e)),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)};return{kind:C.a.FRAGMENT_DEFINITION,name:K(e),typeCondition:(Se(e,"on"),ne(e)),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}(e)}else if(be(e,g.BRACE_L))return D(e);throw ke(e)}function D(e){var t=e.token;if(be(e,g.BRACE_L))return{kind:C.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:B(e),loc:me(e,t)};var n,r=L(e);return be(e,g.NAME)&&(n=R(e)),{kind:C.a.OPERATION_DEFINITION,operation:r,name:n,variableDefinitions:q(e),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}function L(e){var t=we(e,g.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw ke(e,t)}function q(e){return be(e,g.PAREN_L)?Pe(e,g.PAREN_L,Q,g.PAREN_R):[]}function Q(e){var t=e.token;return{kind:C.a.VARIABLE_DEFINITION,variable:V(e),type:(we(e,g.COLON),te(e)),defaultValue:ge(e,g.EQUALS)?J(e,!0):void 0,directives:Z(e,!0),loc:me(e,t)}}function V(e){var t=e.token;return we(e,g.DOLLAR),{kind:C.a.VARIABLE,name:R(e),loc:me(e,t)}}function B(e){var t=e.token;return{kind:C.a.SELECTION_SET,selections:Pe(e,g.BRACE_L,U,g.BRACE_R),loc:me(e,t)}}function U(e){return be(e,g.SPREAD)?function(e){var t=e.token;we(e,g.SPREAD);var n=Oe(e,"on");if(!n&&be(e,g.NAME))return{kind:C.a.FRAGMENT_SPREAD,name:K(e),directives:Z(e,!1),loc:me(e,t)};return{kind:C.a.INLINE_FRAGMENT,typeCondition:n?ne(e):void 0,directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}(e):function(e){var t,n,r=e.token,i=R(e);ge(e,g.COLON)?(t=i,n=R(e)):n=i;return{kind:C.a.FIELD,alias:t,name:n,arguments:H(e,!1),directives:Z(e,!1),selectionSet:be(e,g.BRACE_L)?B(e):void 0,loc:me(e,r)}}(e)}function H(e,t){var n=t?G:z;return be(e,g.PAREN_L)?Pe(e,g.PAREN_L,n,g.PAREN_R):[]}function z(e){var t=e.token;return{kind:C.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),J(e,!1)),loc:me(e,t)}}function G(e){var t=e.token;return{kind:C.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),W(e)),loc:me(e,t)}}function K(e){if("on"===e.token.value)throw ke(e);return R(e)}function J(e,t){var n=e.token;switch(n.kind){case g.BRACKET_L:return function(e,t){var n=e.token,r=t?W:$;return{kind:C.a.LIST,values:Ee(e,g.BRACKET_L,r,g.BRACKET_R),loc:me(e,n)}}(e,t);case g.BRACE_L:return function(e,t){var n=e.token;we(e,g.BRACE_L);var r=[];for(;!ge(e,g.BRACE_R);)r.push(X(e,t));return{kind:C.a.OBJECT,fields:r,loc:me(e,n)}}(e,t);case g.INT:return e.advance(),{kind:C.a.INT,value:n.value,loc:me(e,n)};case g.FLOAT:return e.advance(),{kind:C.a.FLOAT,value:n.value,loc:me(e,n)};case g.STRING:case g.BLOCK_STRING:return Y(e);case g.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:C.a.BOOLEAN,value:"true"===n.value,loc:me(e,n)}):"null"===n.value?(e.advance(),{kind:C.a.NULL,loc:me(e,n)}):(e.advance(),{kind:C.a.ENUM,value:n.value,loc:me(e,n)});case g.DOLLAR:if(!t)return V(e)}throw ke(e)}function Y(e){var t=e.token;return e.advance(),{kind:C.a.STRING,value:t.value,block:t.kind===g.BLOCK_STRING,loc:me(e,t)}}function W(e){return J(e,!0)}function $(e){return J(e,!1)}function X(e,t){var n=e.token;return{kind:C.a.OBJECT_FIELD,name:R(e),value:(we(e,g.COLON),J(e,t)),loc:me(e,n)}}function Z(e,t){for(var n=[];be(e,g.AT);)n.push(ee(e,t));return n}function ee(e,t){var n=e.token;return we(e,g.AT),{kind:C.a.DIRECTIVE,name:R(e),arguments:H(e,t),loc:me(e,n)}}function te(e){var t,n=e.token;return ge(e,g.BRACKET_L)?(t=te(e),we(e,g.BRACKET_R),t={kind:C.a.LIST_TYPE,type:t,loc:me(e,n)}):t=ne(e),ge(e,g.BANG)?{kind:C.a.NON_NULL_TYPE,type:t,loc:me(e,n)}:t}function ne(e){var t=e.token;return{kind:C.a.NAMED_TYPE,name:R(e),loc:me(e,t)}}function re(e){var t=ie(e)?e.lookahead():e.token;if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Se(e,"schema");var n=Z(e,!0),r=Pe(e,g.BRACE_L,ae,g.BRACE_R);return{kind:C.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:me(e,t)}}(e);case"scalar":return function(e){var t=e.token,n=oe(e);Se(e,"scalar");var r=R(e),i=Z(e,!0);return{kind:C.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:me(e,t)}}(e);case"type":return function(e){var t=e.token,n=oe(e);Se(e,"type");var r=R(e),i=se(e),o=Z(e,!0),a=ue(e);return{kind:C.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a,loc:me(e,t)}}(e);case"interface":return function(e){var t=e.token,n=oe(e);Se(e,"interface");var r=R(e),i=Z(e,!0),o=ue(e);return{kind:C.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:me(e,t)}}(e);case"union":return function(e){var t=e.token,n=oe(e);Se(e,"union");var r=R(e),i=Z(e,!0),o=he(e);return{kind:C.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:me(e,t)}}(e);case"enum":return function(e){var t=e.token,n=oe(e);Se(e,"enum");var r=R(e),i=Z(e,!0),o=de(e);return{kind:C.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:me(e,t)}}(e);case"input":return function(e){var t=e.token,n=oe(e);Se(e,"input");var r=R(e),i=Z(e,!0),o=ve(e);return{kind:C.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:me(e,t)}}(e);case"directive":return function(e){var t=e.token,n=oe(e);Se(e,"directive"),we(e,g.AT);var r=R(e),i=le(e);Se(e,"on");var o=function(e){ge(e,g.PIPE);var t=[];do{t.push(ye(e))}while(ge(e,g.PIPE));return t}(e);return{kind:C.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:me(e,t)}}(e)}throw ke(e,t)}function ie(e){return be(e,g.STRING)||be(e,g.BLOCK_STRING)}function oe(e){if(ie(e))return Y(e)}function ae(e){var t=e.token,n=L(e);we(e,g.COLON);var r=ne(e);return{kind:C.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:me(e,t)}}function se(e){var t=[];if(Oe(e,"implements")){ge(e,g.AMP);do{t.push(ne(e))}while(ge(e,g.AMP)||e.options.allowLegacySDLImplementsInterfaces&&be(e,g.NAME))}return t}function ue(e){return e.options.allowLegacySDLEmptyFields&&be(e,g.BRACE_L)&&e.lookahead().kind===g.BRACE_R?(e.advance(),e.advance(),[]):be(e,g.BRACE_L)?Pe(e,g.BRACE_L,ce,g.BRACE_R):[]}function ce(e){var t=e.token,n=oe(e),r=R(e),i=le(e);we(e,g.COLON);var o=te(e),a=Z(e,!0);return{kind:C.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a,loc:me(e,t)}}function le(e){return be(e,g.PAREN_L)?Pe(e,g.PAREN_L,fe,g.PAREN_R):[]}function fe(e){var t=e.token,n=oe(e),r=R(e);we(e,g.COLON);var i,o=te(e);ge(e,g.EQUALS)&&(i=W(e));var a=Z(e,!0);return{kind:C.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:i,directives:a,loc:me(e,t)}}function he(e){var t=[];if(ge(e,g.EQUALS)){ge(e,g.PIPE);do{t.push(ne(e))}while(ge(e,g.PIPE))}return t}function de(e){return be(e,g.BRACE_L)?Pe(e,g.BRACE_L,pe,g.BRACE_R):[]}function pe(e){var t=e.token,n=oe(e),r=R(e),i=Z(e,!0);return{kind:C.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:me(e,t)}}function ve(e){return be(e,g.BRACE_L)?Pe(e,g.BRACE_L,fe,g.BRACE_R):[]}function ye(e){var t=e.token,n=R(e);if(I.hasOwnProperty(n.value))return n;throw ke(e,t)}function me(e,t){if(!e.options.noLocation)return new _e(t,e.lastToken,e.source)}function _e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function be(e,t){return e.token.kind===t}function ge(e,t){return e.token.kind===t&&(e.advance(),!0)}function we(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw d(e.source,n.start,"Expected ".concat(t,", found ").concat(w(n)))}function Oe(e,t){var n=e.token;return n.kind===g.NAME&&n.value===t&&(e.advance(),!0)}function Se(e,t){if(!Oe(e,t))throw d(e.source,e.token.start,'Expected "'.concat(t,'", found ').concat(w(e.token)))}function ke(e,t){var n=t||e.token;return d(e.source,n.start,"Unexpected ".concat(w(n)))}function Ee(e,t,n,r){we(e,t);for(var i=[];!ge(e,r);)i.push(n(e));return i}function Pe(e,t,n,r){we(e,t);for(var i=[n(e)];!ge(e,r);)i.push(n(e));return i}n.d(t,"parse",function(){return N}),n.d(t,"parseValue",function(){return j}),n.d(t,"parseType",function(){return A}),n.d(t,"parseConstValue",function(){return W}),n.d(t,"parseTypeReference",function(){return te}),n.d(t,"parseNamedType",function(){return ne}),o(_e,function(){return{start:this.start,end:this.end}})},381:function(e,t,n){"use strict";var r=n(282),i=n(272),o=n(277),a=n(312),s=n(300),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var c,l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey(),i=function(e){return n.inFlightRequestObservables.delete(e),n.subscribers.get(e)};if(!this.inFlightRequestObservables.get(r)){var a,s=t(e),u=new o.b(function(e){var t=n.subscribers.get(r);return t||(t={next:[],error:[],complete:[]}),n.subscribers.set(r,{next:t.next.concat([e.next.bind(e)]),error:t.error.concat([e.error.bind(e)]),complete:t.complete.concat([e.complete.bind(e)])}),a||(a=s.subscribe({next:function(e){var t=i(r);n.subscribers.delete(r),t&&(t.next.forEach(function(t){return t(e)}),t.complete.forEach(function(e){return e()}))},error:function(e){var t=i(r);n.subscribers.delete(r),t&&t.error.forEach(function(t){return t(e)})}})),function(){a&&a.unsubscribe(),n.inFlightRequestObservables.delete(r)}});this.inFlightRequestObservables.set(r,u)}return this.inFlightRequestObservables.get(r)},t}(o.a),f=n(299);function h(e){return e<7}n.d(t,"a",function(){return E}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(c||(c={}));var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype[a.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.b);var p,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var n=e?e.message:"Error message not found.";t+="GraphQL error: "+n+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},y=function(e){function t(n){var r=n.graphQLErrors,i=n.networkError,o=n.errorMessage,a=n.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=r||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(r.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(p||(p={}));var m=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=o,a.queryManager=n,a.observers=[],a.subscriptionHandles=[],a}return Object(r.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r,i={next:function(n){t(n),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:function(e){n(e)}};r=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:c.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new y({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var o,a=this.queryManager.getCurrentQueryResult(this),s=a.data,u=a.partial,l=!n||n.networkStatus===c.loading,f="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,d={data:s,loading:h(o=n?n.networkStatus:f?c.loading:c.ready),networkStatus:o};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(d.errors=n.graphQLErrors),u||(this.lastResult=Object(r.__assign)({},d,{stale:!1}),this.lastResultSnapshot=Object(i.cloneDeep)(this.lastResult)),Object(r.__assign)({},d,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(i.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(i.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(i.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,o=Object(r.__assign)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,o,p.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,n=this;return Object(s.b)(e.updateQuery),Promise.resolve().then(function(){var i=n.queryManager.generateQueryId();return(t=e.query?e:Object(r.__assign)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(i,t,p.normal,n.queryId)}).then(function(r){return n.updateQuery(function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})}),r})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery(function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var o=e||this.variables;return Object(i.isEqual)(o,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(r.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,o=t.document,a=Object(i.tryFunctionOrLogError)(function(){return e(n,{variables:r})});a&&(this.queryManager.dataStore.markUpdateQueryResult(o,r,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){_(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(_(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(i.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(d);function _(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var b=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(i.isEqual)(t.document,e.document))throw new s.a;var n,r=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==c.loading&&(Object(i.isEqual)(t.variables,e.variables)||(r=!0,o=t.variables)),n=r?c.setVariables:e.isPoll?c.poll:e.isRefetch?c.refetch:c.loading;var a=[];t&&t.graphQLErrors&&(a=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:a,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=c.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=c.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=c.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=c.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?c.ready:c.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,n){return e[n]=Object(r.__assign)({},t.store[n],{networkStatus:c.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(i.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(i.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(r.__awaiter)(this,void 0,void 0,function(){return Object(r.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then(function(e){return Object(r.__assign)({},n,{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(i.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(i.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(r.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(r.__awaiter)(this,void 0,void 0,function(){return Object(r.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return Object(r.__assign)({},t,e.exportedVariables)})]:[2,Object(r.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(f.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return f.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(i.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,o,a,s){return void 0===n&&(n={}),void 0===o&&(o={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(r.__awaiter)(this,void 0,void 0,function(){var u,c,l,f,h,d,p,v,y;return Object(r.__generator)(this,function(m){var _;return u=Object(i.getMainDefinition)(e),c=Object(i.getFragmentDefinitions)(e),l=Object(i.createFragmentMap)(c),f=u.operation,h=f?(_=f).charAt(0).toUpperCase()+_.slice(1):"Query",p=(d=this).cache,v=d.client,y={fragmentMap:l,context:Object(r.__assign)({},n,{cache:p,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:h,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n){return Object(r.__awaiter)(this,void 0,void 0,function(){var o,a,u,c,l,f=this;return Object(r.__generator)(this,function(h){return o=n.fragmentMap,a=n.context,u=n.variables,c=[t],l=function(e){return Object(r.__awaiter)(f,void 0,void 0,function(){var l,f;return Object(r.__generator)(this,function(r){return Object(i.shouldInclude)(e,u)?Object(i.isField)(e)?[2,this.resolveField(e,t,n).then(function(t){var n;void 0!==t&&c.push(((n={})[Object(i.resultKeyNameFromField)(e)]=t,n))})]:(Object(i.isInlineFragment)(e)?l=e:(l=o[e.name.value],Object(s.b)(l)),l&&l.typeCondition&&(f=l.typeCondition.name.value,n.fragmentMatcher(t,f,a))?[2,this.resolveSelectionSet(l.selectionSet,t,n).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(i.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,n){return Object(r.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,h,d,p=this;return Object(r.__generator)(this,function(r){return o=n.variables,a=e.name.value,s=Object(i.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(f=t.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[u?a:s])&&(l=Promise.resolve(d(t,Object(i.argumentsObjectFromField)(e,o),n.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,n):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0}))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,a=e.onBroadcast,s=void 0===a?function(){}:a,u=e.ssrMode,c=void 0!==u&&u,f=e.clientAwareness,h=void 0===f?{}:f,d=e.localState;this.mutationStore=new b,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=o.a.from([new l,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=s,this.clientAwareness=h,this.localState=d||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,a=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,v=e.errorPolicy,m=void 0===v?"none":v,_=e.fetchPolicy,b=e.context,g=void 0===b?{}:b;return Object(r.__awaiter)(this,void 0,void 0,function(){var e,c,f,v,b,w=this;return Object(r.__generator)(this,function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!_||"no-cache"===_),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),n=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getMutationDefinition)(t)),n),this.setQuery(e,function(){return{document:t}}),f=function(){var e={};return u&&Object.keys(u).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(n){e[n]={updater:u[t],query:w.queryStore.get(n)}})}),e},Object(i.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,n,g)]:[3,2];case 1:return b=O.sent(),[3,3];case 2:b=n,O.label=3;case 3:return v=b,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:f(),update:p,optimisticResponse:a}),this.broadcastQueries(),[2,new Promise(function(n,s){var u,c,b=w.buildOperationForLink(t,v,Object(r.__assign)({},g,{optimisticResponse:a})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:a}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],n=0,r=l;n=(n||1)&&(I.queryStore.markQueryError(e,t,o),I.invalidate(!0,e,o),I.broadcastQueries()),new y({networkError:t})}),"cache-and-network"!==f)return[2,C];C.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,n){var i=this,o=!1;return function(a,s,u){return Object(r.__awaiter)(i,void 0,void 0,function(){var i,c,l,f,d,p,v,m,_,b,g,w,O,S,k,E,P,x,T,C;return Object(r.__generator)(this,function(I){switch(I.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(i=this.getQuery(e).observableQuery,"standby"===(c=i?i.options.fetchPolicy:t.fetchPolicy))return[2];if(l=i?i.options.errorPolicy:t.errorPolicy,f=i?i.getLastResult():null,d=i?i.getLastError():null,p=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(f&&a.networkStatus!==f.networkStatus),m=l&&(d&&d.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!h(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(_=new y({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,n.error)try{n.error(_)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw _},0);return[2]}I.label=1;case 1:if(I.trys.push([1,7,,8]),b=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),b=s.result,g=!s.complete||!1):f&&f.data&&!m?(b=f.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),b=O.result,g=!O.complete),S=void 0,S=g&&"cache-only"!==c?{data:f&&f.data,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:b,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(S.errors=a.graphQLErrors),!n.next)return[3,6];if(!o&&i&&!i.isDifferentFromLastResult(S))return[3,6];I.label=2;case 2:return I.trys.push([2,5,,6]),u?(k=t.query,E=t.variables,P=t.context,[4,this.localState.runResolvers({document:k,remoteResult:S,context:P,variables:E,onlyRunForcedResolvers:u})]):[3,4];case 3:x=I.sent(),S=Object(r.__assign)({},S,x),I.label=4;case 4:return n.next(S),[3,6];case 5:return T=I.sent(),setTimeout(function(){throw T},0),[3,6];case 6:return o=!1,[3,8];case 7:return C=I.sent(),o=!0,n.error&&n.error(new y({networkError:C})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var n=Object(i.getQueryDefinition)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var o=Object(i.getDefaultValues)(n);e.variables=Object(i.assign)({},o,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(r.__assign)({},e);return new m({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise(function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var n=Object(i.getQueryDefinition)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var o=Object(i.getQueryDefinition)(n.options.query),a=o.name?o.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(n.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,n){t.observableQuery&&e.push(n)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,a=e.query,s=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(a),c=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getOperationDefinition)(a)),e.variables),l=c,f=[],h=this.localState.clientQuery(u);return new d(function(e){if(f.push(e),1===f.length){var a=0,p=!1,v={next:function(e){return Object(r.__awaiter)(n,void 0,void 0,function(){var t;return Object(r.__generator)(this,function(n){switch(n.label){case 0:return a+=1,t=e,h&&Object(i.hasDirectives)(["client"],h)?[4,this.localState.runResolvers({document:h,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return s&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),f.forEach(function(e){Object(i.graphQLResultHasError)(t)&&e.error?e.error(new y({graphQLErrors:t.errors})):e.next&&e.next(t),a-=1}),0===a&&p&&v.complete(),[2]}})})},error:function(e){f.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===a&&f.forEach(function(e){e.complete&&e.complete()}),p=!0}};Object(r.__awaiter)(n,void 0,void 0,function(){var e,n,a,s;return Object(r.__generator)(this,function(r){switch(r.label){case 0:return Object(i.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return n=r.sent(),[3,3];case 2:n=c,r.label=3;case 3:return e=n,(a=this.localState.serverQuery(u))?(s=this.buildOperationForLink(a,e),t=Object(o.c)(this.link,s).subscribe(v)):t=d.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(f=f.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(s.b)(n),t=n}else t=e;var r=t.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(n,r){n.invalidated&&n.listeners&&n.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(r),n.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach(function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),n},e.prototype.fetchRequest=function(e){var t,n,a=this,s=e.requestId,u=e.queryId,l=e.document,f=e.options,h=e.fetchMoreForQueryId,p=f.variables,v=f.context,m=f.errorPolicy,_=void 0===m?"none":m,b=f.fetchPolicy;return new Promise(function(e,f){var m,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var S=a.buildOperationForLink(O,p,Object(r.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=S.context,m=Object(o.c)(a.deduplicator,S)}else g=a.prepareContext(v),m=d.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,f);var k=!1,E=!0,P={next:function(e){return Object(r.__awaiter)(a,void 0,void 0,function(){var o,a;return Object(r.__generator)(this,function(r){switch(r.label){case 0:return E=!0,o=e,a=this.getQuery(u).lastRequestId,s>=(a||1)?w&&Object(i.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:p}).catch(function(t){return E=!1,f(t),e})]:[3,2]:[3,3];case 1:o=r.sent(),r.label=2;case 2:if("no-cache"!==b)try{this.dataStore.markQueryResult(o,l,p,h,"ignore"===_||"all"===_)}catch(e){return E=!1,f(e),[2]}else this.setQuery(u,function(){return{newData:{result:o.data,complete:!0}}});this.queryStore.markQueryResult(u,o,h),this.invalidate(!0,u,h),this.broadcastQueries(),r.label=3;case 3:if(o.errors&&"none"===_)return E=!1,f(new y({graphQLErrors:o.errors})),[2];if("all"===_&&(n=o.errors),h||"no-cache"===b)t=o.data;else try{t=this.dataStore.getCache().read({variables:p,query:l,optimistic:!1})}catch(e){}return E=!1,k&&P.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==x})}}),f(e)},complete:function(){E||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==x})}}),e({data:t,errors:n,loading:!1,networkStatus:c.ready,stale:!1})),k=!0}},x=m.subscribe(P);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([x])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),i=Object(r.__assign)({},n,t(n));this.queries.set(e,i)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,function(){return{invalidated:e}}),n&&this.setQuery(n,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(i.getOperationName)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(r.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==c.ready&&t.networkStatus!==c.error},e.prototype.startPollingQuery=function(e,t,n){var i=e.pollInterval;return Object(s.b)(i),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:i,lastPollTimeMs:Date.now()-10,options:Object(r.__assign)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(i)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,p.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),S=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,o){void 0===o&&(o=!1);var a=!Object(i.graphQLResultHasError)(e);o&&Object(i.graphQLResultHasError)(e)&&e.data&&(a=!0),!r&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(i.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(i.graphQLResultHasError)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(r){var o=e.updateQueries[r],a=o.query,s=o.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(i.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(i.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&n.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){n.forEach(function(t){return e.write(t)})});var r=e.update;r&&this.cache.performTransaction(function(t){Object(i.tryFunctionOrLogError)(function(){return r(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),k="2.5.1",E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,a=void 0!==r&&r,u=e.ssrForceFetchDelay,c=void 0===u?0:u,l=e.connectToDevTools,f=e.queryDeduplication,h=void 0===f||f,d=e.defaultOptions,p=e.resolvers,v=e.typeDefs,y=e.fragmentMatcher,m=e.name,_=e.version,b=e.link;if(!b&&p&&(b=o.a.empty()),!b||!n)throw new s.a;var g=new Map,O=new o.a(function(e,t){var n=g.get(e.query);return n||(n=Object(i.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,n),g.set(n,n)),e.query=n,t(e)});this.link=O.concat(b),this.cache=n,this.store=new S(n),this.disableNetworkFetches=a||c>0,this.queryDeduplication=h,this.ssrMode=a,this.defaultOptions=d||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=k,m&&(this.clientAwareness.name=m),_&&(this.clientAwareness.version=_),this.localState=new w({cache:n,client:this,resolvers:p,fragmentMatcher:y})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(r.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(r.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(r.__assign)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(r.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(r.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.c)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},382:function(e,t,n){"use strict";var r=n(266),i=n.n(r),o=n(282),a=n(272);function s(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(e)}]}}function u(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return u(e[0]);var t=[];return Object.keys(e).forEach(function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:u(e[n])||void 0};t.push(r)}),{kind:"SelectionSet",selections:t}}var c,l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},f=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:l})}catch(e){}var a=o&&o.__typename||"__ClientData",c=Object.assign({__typename:a},i);this.writeFragment({id:r,fragment:(t=c,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(t)}]}),data:c})}else this.writeQuery({query:s(i),data:i})},e}();c||(c={});var h=n(368),d=n(300);n.d(t,"a",function(){return L});var p=new Map;if(p.set(1,2)!==p){var v=p.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return y&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new d.a}),i&&Object(a.isEqual)(i,v.result)&&(v.result=i),{result:v.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,s=void 0===o?C:o,u=Object(a.getMainDefinition)(t),c=Object(a.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(a.createFragmentMap)(c),contextValue:r,variableValues:i,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:n,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,i=e.execContext,s=i.fragmentMap,u=i.contextValue,c=i.variableValues,l={result:null},f=[],h=u.store.get(r.id),p=h&&h.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach(function(e){var n;if(Object(a.shouldInclude)(e,c))if(Object(a.isField)(e)){var l=v(t.executeField(h,p,e,i));void 0!==l&&f.push(((n={})[Object(a.resultKeyNameFromField)(e)]=l,n))}else{var y=void 0;if(Object(a.isInlineFragment)(e))y=e;else if(!(y=s[e.name.value]))throw new d.a;var m=y.typeCondition.name.value,_=i.fragmentMatcher(r,m,u);if(_){var b=t.executeSelectionSet({selectionSet:y.selectionSet,rootValue:r,execContext:i});"heuristic"===_&&b.missing&&(b=Object(o.__assign)({},b,{missing:b.missing.map(function(e){return Object(o.__assign)({},e,{tolerable:!0})})})),f.push(v(b))}}}),l.result=Object(a.mergeDeepArray)(f),l},e.prototype.executeField=function(e,t,n,r){var i=r.variableValues,o=r.contextValue,s=function(e,t,n,r,i,o){o.resultKey;var s=o.directives,u=n;(r||s)&&(u=Object(a.getStoreKeyName)(u,r,s));var c=void 0;if(e&&void 0===(c=e[u])&&i.cacheRedirects&&"string"==typeof t){var l=i.cacheRedirects[t];if(l){var f=l[n];f&&(c=f(e,r,{getCacheKey:function(e){return Object(a.toIdValue)({id:i.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(a.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,n.name.value,Object(a.argumentsObjectFromField)(n,i),o,{resultKey:Object(a.resultKeyNameFromField)(n),directives:Object(a.getDirectiveInfoFromField)(n,i)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(n,s.result,r)):n.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:s.result,execContext:r})):(T(n,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var M={fragmentMatcher:new O,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var F=Object.prototype.hasOwnProperty,D=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(o.__extends)(t,e),t.prototype.toObject=function(){return Object(o.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return F.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(I),L=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new S,n.silenceBroadcast=!1,n.config=Object(o.__assign)({},M,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new E:new I,n.optimisticData=n.data,n.storeReader=new x(n.cacheKeyRoot),n.storeWriter=new j;var r=n,i=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(h.wrap)(function(e){return i.call(n,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof E?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(o.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new d.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof D;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new D(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(a.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(f)},383:function(e,t,n){"use strict";var r=n(277),i=n(272),o=n(365),a=n(298),s={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;n.d(t,"a",function(){return h});var c,l=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=o.graphql,h=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,n=e.cache,o=e.typeDefs,c=e.fragmentMatcher;return n&&t&&n.writeData({data:t}),new(function(h){function d(){return null!==h&&h.apply(this,arguments)||this}return l(d,h),d.prototype.writeDefaults=function(){n&&t&&n.writeData({data:t})},d.prototype.request=function(n,l){if(void 0===l&&(l=function(){return r.b.of({data:{}})}),o){var h=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(a.print)(e)}).map(function(e){return e.trim()}).join("\n")}(o);n.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:h,directives:"directive @client on FIELD"}])}})}if(!Object(i.hasDirectives)(["client"],n.query))return l(n);var d,p="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(i.checkDocument)(e);var n=Object(i.removeDirectivesFromDocument)([s],e);return u.set(e,n),n}(n.query),y=n.query,m=(d=(Object(i.getMainDefinition)(y)||{}).operation).charAt(0).toUpperCase()+d.slice(1)||"Query",_=function(e,n,r,i,o){void 0===n&&(n={});var a=o.resultKey,s=n[a],u=n[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=p[n.__typename||m];if(l){var f=l[e];if(f)return f(n,r,i,o)}return(c?s:u)||(t||{})[e]};v&&(n.query=v);var b=v&&l?l(n):r.b.of({data:{}});return new r.b(function(e){var t=!1,r=!1;b.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=n.getContext();r=!0,f(_,y,o,u,n.variables,{fragmentMatcher:c}).then(function(n){e.next({data:n,errors:a}),t&&e.complete(),r=!1}).catch(s)},error:e.error.bind(e),complete:function(){r||e.complete(),t=!0}})})},d}(r.a))}},385:function(e,t,n){"use strict";var r=n(277),i=n(298),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=300&&s(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||s(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName)+"'."),t})})).then(function(e){return n.next(e),n.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))}),function(){_&&_.abort()}})})};var h=function(e){function t(t){return e.call(this,f(t).request)||this}return function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(r.a)}}]); -//# sourceMappingURL=5.d9b9776a851009cacb9f.js.map \ No newline at end of file diff --git a/packages/ui/dist/5.d9b9776a851009cacb9f.js.LICENSE b/packages/ui/dist/5.d9b9776a851009cacb9f.js.LICENSE deleted file mode 100644 index 585477498..000000000 --- a/packages/ui/dist/5.d9b9776a851009cacb9f.js.LICENSE +++ /dev/null @@ -1,109 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 Vaadin Ltd. -This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ -*/ diff --git a/packages/ui/dist/5.d9b9776a851009cacb9f.js.map b/packages/ui/dist/5.d9b9776a851009cacb9f.js.map deleted file mode 100644 index 548a64426..000000000 --- a/packages/ui/dist/5.d9b9776a851009cacb9f.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"5.d9b9776a851009cacb9f.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js b/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js deleted file mode 100644 index 436fba460..000000000 --- a/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 5.e718f3d77bd3a1a8c2e9.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],Array(261).concat([function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length-1}function l(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function f(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map(function(e){return f(i,e.name,e.value,r)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return f(n,t,e,r),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new a.a;e[t.value]=null}}function h(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return f(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return f(r,n,i,t)})),p(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export"];function p(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,o={};return r.forEach(function(e){o[e]=i[e]}),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var s=Object(u.default)(t);a+="("+s+")"}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)}),a}function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,i=e.value;return f(n,r,i,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function g(e,t){return void 0===t&&(t=!1),Object(s.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function w(e){return null!=e&&"object"===i()(e)&&"json"===e.type}function O(e){throw new a.a}function k(e,t){switch(void 0===t&&(t=O),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return k(e,t)});case"ObjectValue":for(var n={},r=0,i=e.fields;r-1})}function T(e){return e&&P(["client"],e)&&P(["export"],e)}function C(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new a.a;"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&(Object(a.b)(1===r.length),n=r[0].name.value),Object(s.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}].concat(e.definitions)})}function N(e){for(var t=[],n=1;n1){var r=[];t=ge(t,r);for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(b.b)(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),P=function(){function e(t,n,r){if(h()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return p()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;Object(m.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=_.a,e(this)}if(this._pendingValue!==_.a){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=_.a}}}]),e}(),T=function(e){function t(e,n,r){var o;return h()(this,t),(o=i()(this,a()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return l()(t,e),p()(t,[{key:"_createPart",value:function(){return new C(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:u()(a()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(S),C=function(e){function t(){return h()(this,t),i()(this,a()(t).apply(this,arguments))}return l()(t,e),t}(E),N=!1;try{var I={get capture(){return N=!0,!1}};window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){}var A=function(){function e(t,n,r){var i=this;h()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return i.handleEvent(e)}}return p()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;Object(m.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=_.a,e(this)}if(this._pendingValue!==_.a){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=j(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=_.a}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),j=function(e){return e&&(N?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)}},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(276),u=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new s.e(e,t.slice(1),n).parts:"@"===i?[new s.c(e,t.slice(1),r.eventContext)]:"?"===i?[new s.b(e,t.slice(1),n)]:new s.a(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new s.d(e)}}]),e}()),c=n(311);n(334),n(295),n(335),n(337),n(325),n(336),n(282);n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c.b}),(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var l=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0&&m++;for(;m-- >0;){var _=t.strings[c],g=h.exec(_)[2],w=g.toLowerCase()+u,O=v.getAttribute(w).split(s);r.parts.push({type:"attribute",index:a,name:g,strings:O}),v.removeAttribute(w),c+=O.length-1}}"TEMPLATE"===v.tagName&&e(v)}else if(3===v.nodeType){var k=v.data;if(k.indexOf(o)>=0){for(var S=v.parentNode,E=k.split(s),x=E.length-1,P=0;P=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},,,function(e,t,n){"use strict";n.d(t,"d",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return u});var r,i,o=!(window.ShadyDOM&&window.ShadyDOM.inUse);function a(e){r=(!e||!e.shimcssproperties)&&(o||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild);var s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?r=window.ShadyCSS.nativeCss:window.ShadyCSS?(a(window.ShadyCSS),window.ShadyCSS=void 0):a(window.WebComponents&&window.WebComponents.flags);var u=r},function(e,t){e.exports=function(e){return"string"==typeof e}},,,,,function(e,t,n){var r=n(353),i=n(354),o=n(355);e.exports=function(e){return r(e)||i(e)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return a}),n.d(t,"__assign",function(){return s}),n.d(t,"__rest",function(){return u}),n.d(t,"__decorate",function(){return c}),n.d(t,"__param",function(){return l}),n.d(t,"__metadata",function(){return f}),n.d(t,"__awaiter",function(){return h}),n.d(t,"__generator",function(){return d}),n.d(t,"__exportStar",function(){return p}),n.d(t,"__values",function(){return v}),n.d(t,"__read",function(){return y}),n.d(t,"__spread",function(){return m}),n.d(t,"__await",function(){return b}),n.d(t,"__asyncGenerator",function(){return _}),n.d(t,"__asyncDelegator",function(){return g}),n.d(t,"__asyncValues",function(){return w}),n.d(t,"__makeTemplateObject",function(){return O}),n.d(t,"__importStar",function(){return k}),n.d(t,"__importDefault",function(){return S});var r=n(269),i=n.n(r),o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function a(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function f(e,t){if("object"===("undefined"==typeof Reflect?"undefined":i()(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function g(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e){return null==e||Number.isNaN(e)}},function(e,t){e.exports=function(e){return Array.isArray(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"b",function(){return o});var r=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t;i!==n;){var o=i.nextSibling;e.insertBefore(i,r),i=o}},o=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t,n){var r=n(268);e.exports=function(e,t){return r(t[e])||r(t["@@implements"])&&!!t["@@implements"](e)}},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),f=n(266),h=n.n(f),d=n(265),p=n.n(d),v=n(269),y=n.n(v),m=new WeakMap,b=function(e){return"function"==typeof e&&m.has(e)},_=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,g=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}},w={},O={},k=n(291),S=n.n(k),E="{{lit-".concat(String(Math.random()).slice(2),"}}"),x="\x3c!--".concat(E,"--\x3e"),P=new RegExp("".concat(E,"|").concat(x)),T=function e(t,n){var r=this;i()(this,e),this.parts=[],this.element=n;var o=-1,a=0,s=[];!function e(n){for(var i=n.content,u=document.createTreeWalker(i,133,null,!1),c=0;u.nextNode();){o++;var l=u.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var f=l.attributes,h=0,d=0;d=0&&h++;for(;h-- >0;){var p=t.strings[a],v=I.exec(p)[2],y=v.toLowerCase()+"$lit$",m=l.getAttribute(y).split(P);r.parts.push({type:"attribute",index:o,name:v,strings:m}),l.removeAttribute(y),a+=m.length-1}}"TEMPLATE"===l.tagName&&e(l)}else if(3===l.nodeType){var b=l.data;if(b.indexOf(E)>=0){for(var _=l.parentNode,g=b.split(P),w=g.length-1,O=0;O=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,A=function(){function e(t,n,r){i()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return a()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var f,h=this._parts[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var d=f.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=_?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,i=0;return function t(o){for(var a=document.createTreeWalker(o,133,null,!1),s=a.nextNode();r0&&void 0!==arguments[0]?arguments[0]:this.startNode;g(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),D=function(){function e(t,n,r){if(i()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=w}}}]),e}(),L=function(e){function t(e,n,r){var o;return i()(this,t),(o=u()(this,l()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return p()(t,e),a()(t,[{key:"_createPart",value:function(){return new Q(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:h()(l()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(M),Q=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return p()(t,e),t}(F),V=!1;try{var B={get capture(){return V=!0,!1}};window.addEventListener("test",B,B),window.removeEventListener("test",B,B)}catch(e){}var U=function(){function e(t,n,r){var o=this;i()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return o.handleEvent(e)}}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=z(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=w}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),z=function(e){return e&&(V?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},H=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new L(e,t.slice(1),n).parts:"@"===i?[new U(e,t.slice(1),r.eventContext)]:"?"===i?[new D(e,t.slice(1),n)]:new M(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new q(e)}}]),e}());function G(e){var t=J.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},J.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(E);return void 0===(n=t.keyString.get(r))&&(n=new T(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var J=new Map,K=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var W=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,Y,null,!1),a=Z(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=X(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=Z(i,a);return}a=Z(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),$(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},ae=n(319),se=n.n(ae);window.JSCompiler_renameProperty=function(e,t){return e};var ue={toAttribute:function(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},ce=function(e,t){return t!==e&&(t==t||e==e)},le={attribute:!0,type:String,converter:ue,reflect:!1,hasChanged:ce},fe=Promise.resolve(!0),he=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=fe,e._hasConnectedResolver=void 0,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return p()(t,e),a()(t,[{key:"initialize",value:function(){this._saveInstanceProperties()}},{key:"_saveInstanceProperties",value:function(){var e=this;this.constructor._classProperties.forEach(function(t,n){if(e.hasOwnProperty(n)){var r=e[n];delete e[n],e._instanceProperties||(e._instanceProperties=new Map),e._instanceProperties.set(n,r)}})}},{key:"_applyInstanceProperties",value:function(){var e=this;this._instanceProperties.forEach(function(t,n){return e[n]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r)||le;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}},{key:"requestUpdate",value:function(e,t){var n=!0;if(void 0!==e&&!this._changedProperties.has(e)){var r=this.constructor,i=r._classProperties.get(e)||le;r._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):n=!1}return!this._hasRequestedUpdate&&n&&this._enqueueUpdate(),this.updateComplete}},{key:"_enqueueUpdate",value:function(){return new Promise(function(e,t){var n,r,i,o;return n=this,this._updateState=4|this._updateState,i=this._updatePromise,this._updatePromise=new Promise(function(e){return r=e}),Promise.resolve(i).then(function(i){try{if(!this._hasConnected)return Promise.resolve(new Promise(function(e){return n._hasConnectedResolver=e})).then(function(e){try{return a.call(this)}catch(e){return t(e)}}.bind(this),t);function a(){if(null!=(o=this.performUpdate())&&"function"==typeof o.then)return Promise.resolve(o).then(function(e){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return r(!this._hasRequestedUpdate),e()}return n.call(this)}return a.call(this)}catch(e){return t(e)}}.bind(this),t)}.bind(this))}},{key:"performUpdate",value:function(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(function(e,n){return t._propertyToAttribute(n,t[n],e)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,n){return e._classProperties.set(n,t)})}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===y()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[n]},set:function(t){var r=this[e];this[n]=t,this.requestUpdate(e,r)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[].concat(S()(Object.getOwnPropertyNames(t)),S()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||ue,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ue.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach(function(n,r){var i=e._attributeNameForProperty(r,n);void 0!==i&&(e._attributeToPropertyMap.set(i,r),t.push(i))}),t}}]),t}(se()(HTMLElement));he.finalized=!0;ve(function(e,t){return e.querySelector(t)}),ve(function(e,t){return e.querySelectorAll(t)});var de=function(e,t,n){Object.defineProperty(t,n,e)},pe=function(e,t){return{kind:"method",placement:"prototype",key:t.key,descriptor:e}};function ve(e){return function(t){return function(n,r){var i={get:function(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0};return void 0!==r?de(i,n,r):pe(i,n)}}}var ye="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol();n.d(t,"a",function(){return be}),n.d(t,"b",function(){return W}),(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var me=function(e){return e.flat?e.flat(1/0):function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=0,i=t.length;r1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,b,null,!1),a=w(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=g(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=w(i,a);return}a=w(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),_(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},A=n(291),j=n.n(A),R=n(269),M=n.n(R),F=n(525),q=n.n(F),D=n(319),L=n.n(D),Q=function(e){return null!==e},V=function(e){return e?"":null},B=function(e,t){return t!==e&&(t==t||e==e)},U={attribute:!0,type:String,reflect:!1,hasChanged:B},z=new Promise(function(e){return e(!0)}),H=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=z,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return h()(t,e),a()(t,[{key:"initialize",value:function(){this.renderRoot=this.createRenderRoot(),this._saveInstanceProperties()}},{key:"_saveInstanceProperties",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this.constructor._classProperties[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=q()(r.value,1)[0];if(this.hasOwnProperty(o)){var a=this[o];delete this[o],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(o,a)}}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}}},{key:"_applyInstanceProperties",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this._instanceProperties[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=q()(r.value,2),a=o[0],s=o[1];this[a]=s}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}this._instanceProperties=void 0}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"connectedCallback",value:function(){1&this._updateState?void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this):this.requestUpdate()}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U,r=this.constructor,i=r._propertyValueToAttribute(t,n);if(void 0!==i){var o=r._attributeNameForProperty(e,n);void 0!==o&&(this._updateState=8|this._updateState,null===i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState)}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r);this[r]=n._propertyValueFromAttribute(t,i)}}}},{key:"requestUpdate",value:function(e,t){if(void 0!==e){var n=this.constructor._classProperties.get(e)||U;return this._requestPropertyUpdate(e,t,n)}return this._invalidate()}},{key:"_requestPropertyUpdate",value:function(e,t,n){return this.constructor._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0===n.reflect&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n)),this._invalidate()):this.updateComplete}},{key:"_invalidate",value:function(){return new Promise(function(e,t){var n,r;if(!this._hasRequestedUpdate)return this._updateState=4|this._updateState,r=this._updatePromise,this._updatePromise=new Promise(function(e){return n=e}),Promise.resolve(r).then(function(e){try{return this._validate(),n(!this._hasRequestedUpdate),i.call(this)}catch(e){return t(e)}}.bind(this),t);function i(){return e(this.updateComplete)}return i.call(this)}.bind(this))}},{key:"_validate",value:function(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){if(void 0!==this._reflectingProperties&&this._reflectingProperties.size>0){var t=!0,n=!1,r=void 0;try{for(var i,o=this._reflectingProperties[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=q()(i.value,2),s=a[0],u=a[1];this._propertyToAttribute(s,this[s],u)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}this._reflectingProperties=void 0}}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"createProperty",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U;if(!this.hasOwnProperty("_classProperties")){this._classProperties=new Map;var r=Object.getPrototypeOf(this)._classProperties;void 0!==r&&r.forEach(function(e,n){return t._classProperties.set(n,e)})}if(this._classProperties.set(e,n),!this.prototype.hasOwnProperty(e)){var i="symbol"===M()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[i]},set:function(t){var r=this[e];this[i]=t,this._requestPropertyUpdate(e,r,n)},configurable:!0,enumerable:!0})}}},{key:"_finalize",value:function(){if(!this.hasOwnProperty("_finalized")||!this._finalized){var e=Object.getPrototypeOf(this);"function"==typeof e._finalize&&e._finalize(),this._finalized=!0,this._attributeToPropertyMap=new Map;var t=this.properties,n=[].concat(j()(Object.getOwnPropertyNames(t)),j()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=void 0!==t&&t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:B)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t&&t.type;if(void 0===n)return e;var r=n===Boolean?Q:"function"==typeof n?n:n.fromAttribute;return r?r(e):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t&&void 0!==t.reflect)return(t.type===Boolean?V:t.type&&t.type.toAttribute||String)(e)}},{key:"observedAttributes",get:function(){this._finalize();var e=[],t=!0,n=!1,r=void 0;try{for(var i,o=this._classProperties[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=q()(i.value,2),s=a[0],u=a[1],c=this._attributeNameForProperty(s,u);void 0!==c&&(this._attributeToPropertyMap.set(c,s),e.push(c))}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e}}]),t}(L()(HTMLElement));H._attributeToPropertyMap=new Map,H._finalized=!0,H._classProperties=new Map,H.properties={};G(function(e,t){return e.querySelector(t)}),G(function(e,t){return e.querySelectorAll(t)});function G(e){return function(t){return function(n,r){Object.defineProperty(n,r,{get:function(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0})}}}var J=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"update",value:function(e){p()(l()(t.prototype),"update",this).call(this,e);var n=this.render();n instanceof v.a&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this})}},{key:"render",value:function(){}}]),t}(H);J.render=function(e,t,n){var r=n.scopeName,i=O.a.has(t),o=t instanceof ShadowRoot&&P&&e instanceof E.b,a=o&&!N.has(r),s=a?document.createDocumentFragment():t;if(Object(O.b)(e,s,Object.assign({templateFactory:T(r)},n)),a){var u=O.a.get(s);O.a.delete(s),u.value instanceof S.a&&I(s,u.value.template,r),Object(y.b)(t,t.firstChild),t.appendChild(s),O.a.set(t,u)}!i&&o&&window.ShadyCSS.styleElement(t.host)};var K=n(338);n.d(t,"a",function(){return W});var W=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"properties",get:function(){return{client:{type:Object},data:{type:Object},error:{type:Object},loading:{type:Boolean}}}}]),t}(Object(K.a)(J))},,function(e,t,n){"use strict";var r=n(392),i=n.n(r).a,o=n(333);n.d(t,"d",function(){return l}),n.d(t,"e",function(){return y}),n.d(t,"a",function(){return b}),n.d(t,"c",function(){return _}),n.d(t,"b",function(){return i});var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n".concat(u()(a()(t.prototype),"getHTML",this).call(this),"")}},{key:"getTemplateElement",value:function(){var e=u()(a()(t.prototype),"getTemplateElement",this).call(this),n=e.content,r=n.firstChild;return n.removeChild(r),Object(v.c)(n,r.firstChild),e}}]),t}(m)},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},,,,,,,function(e,t,n){var r=n(263),i=n(352),o=n(474),a=n(475);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},function(e,t,n){"use strict";n.d(t,"g",function(){return r}),n.d(t,"f",function(){return i}),n.d(t,"h",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"e",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return l});var r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,o=/(--[\w-]+)\s*([:,;)]|$)/gi,a=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,u=/\{[^}]*\}/g,c="(?:^|[^.#[:])",l="($|[.:[\\s>+~])"},function(e,t){e.exports=function(e){return void 0!==e}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t,n){var r=n(500);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){var n={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e){return{type:r(e)}},type:r,typeFn:function(e,t){return"crocks/"+r(e)()+"@"+(t||0)}}},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});var r=n(282);function i(e){var t=o.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},o.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var i=e.strings.join(r.f);return void 0===(n=t.keyString.get(i))&&(n=new r.a(e,e.getTemplateElement()),t.keyString.set(i,n)),t.stringsArray.set(e.strings,n),n}var o=new Map},function(e,t,n){"use strict";var r,i=n(261),o=n.n(i),a=n(262),s=n.n(a),u=n(264),c=n.n(u),l=n(263),f=n.n(l),h=n(265),d=n.n(h),p=n(308),v=n.n(p),y=n(266),m=n.n(y),b=n(338),_=n(510),g=n.n(_),w=n(511),O=n.n(w),k=n(512),S=n.n(k),E=n(513),x=n.n(E),P=n(514),T=n.n(P),C=n(515),N=n.n(C),I=n(403),A=n.n(I),j=n(398),R=n.n(j),M=n(516),F=n.n(M),q=n(404),D=n.n(q),L=n(520),Q=n.n(L),V=n(396),B=n.n(V),U=n(521),z=n.n(U),H=n(522),G=n.n(H),J=n(524),K=n.n(J),W=S()(x.a),Y=Q()(["type","kind"],"NonNullType"),$=z()(void 0,["variable","name","value"]),X=B()(null,"query"),Z=function(e){return D()("definitions",X(e)).map(R()(D()("variableDefinitions"))).chain(T.a).chain(N.a).map(R()(A()(Y,$,G.a))).map(O()(N.a)).map(R()(W(B()(null,"variables",e)))).map(F()(g.a)).map(K.a).option(!1)},ee=n(301),te=function(e){function t(){return o()(this,t),c()(this,f()(t).apply(this,arguments))}return d()(t,e),s()(t,[{key:"shouldUpdate",value:function(){return!!this.data||!!this.error||null!=this.loading}}],[{key:"properties",get:function(){return{networkStatus:{type:Number}}}}]),t}((r=ee.a,function(e){function t(){var e;return o()(this,t),(e=c()(this,f()(t).call(this))).nextData=e.nextData.bind(v()(e)),e.nextError=e.nextError.bind(v()(e)),e.errorPolicy="none",e.fetchPolicy="cache-first",e.fetchResults=void 0,e.pollInterval=void 0,e.notifyOnNetworkStatusChange=void 0,e.variables=void 0,e.query=void 0,e.tryFetch=void 0,e.observableQuery,e}return d()(t,e),s()(t,[{key:"query",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Query must be a gql-parsed DocumentNode")}!this.noAutoSubscribe&&e&&this.subscribe({query:e,variables:this.variables})}},{key:"variables",get:function(){return this.__variables},set:function(e){this.__variables=e;var t=this.__query;this.observableQuery?this.setVariables(e):this.subscribe({query:t,variables:e})}},{key:"options",get:function(){return this.__options},set:function(e){this.__options=e,this.observableQuery&&this.observableQuery.setOptions(e)}}]),s()(t,[{key:"connectedCallback",value:function(){m()(f()(t.prototype),"connectedCallback",this)&&m()(f()(t.prototype),"connectedCallback",this).call(this),this.query&&this.subscribe()}},{key:"setVariables",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tryFetch,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.fetchResults;return this.observableQuery&&this.observableQuery.setVariables(e,t,n)}},{key:"subscribe",value:function(){var e=arguments;return new Promise(function(t,n){var r=e.length>0&&void 0!==e[0]?e[0]:{},i=r.query,o=void 0===i?this.query:i,a=r.variables,s=void 0===a?this.variables:a;return Z({query:o,variables:s})?(this.observableQuery=this.watchQuery({query:o,variables:s}),t(this.observableQuery.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}},{key:"subscribeToMore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.document,n=e.updateQuery;return this.observableQuery&&this.observableQuery.subscribeToMore({document:t,updateQuery:n})}},{key:"executeQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.metadata,n=e.context,r=e.query,i=void 0===r?this.query:r,o=e.variables,a=void 0===o?this.variables:o,s=e.fetchPolicy,u=void 0===s?this.fetchPolicy:s,c=e.errorPolicy,l=void 0===c?this.errorPolicy:c,f=e.fetchResults,h=void 0===f?this.fetchResults:f,d=this.client.query({context:n,errorPolicy:l,fetchPolicy:u,fetchResults:h,metadata:t,query:i,variables:a}).catch(this.nextError.bind(this));return d.then(this.nextData.bind(this)),d}},{key:"fetchMore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.query,n=void 0===t?this.query:t,r=e.updateQuery,i=e.variables;return this.observableQuery&&this.observableQuery.fetchMore({query:n,updateQuery:r,variables:i})}},{key:"watchQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.context,n=void 0===t?this.context:t,r=e.errorPolicy,i=void 0===r?this.errorPolicy:r,o=e.fetchPolicy,a=void 0===o?this.fetchPolicy:o,s=e.fetchResults,u=void 0===s?this.fetchResults:s,c=e.metadata,l=void 0===c?this.metadata:c,f=e.notifyOnNetworkStatusChange,h=void 0===f?this.notifyOnNetworkStatusChange:f,d=e.pollInterval,p=void 0===d?this.pollInterval:d,v=e.query,y=void 0===v?this.query:v,m=e.variables,b=void 0===m?this.variables:m;return this.client.watchQuery({context:n,errorPolicy:i,fetchPolicy:a,fetchResults:u,metadata:l,notifyOnNetworkStatusChange:h,pollInterval:p,query:y,variables:b})}},{key:"nextData",value:function(e){var t=e.data,n=e.loading,r=e.networkStatus,i=e.stale;this.data=t,this.loading=n,this.networkStatus=r,this.stale=i}},{key:"nextError",value:function(e){this.error=e}}]),t}(Object(b.a)(r)))),ne=n(364),re=n(529),ie=n.n(re),oe=(function(e){(function(e){function t(){var e;return o()(this,t),(e=c()(this,f()(t).call(this))).nextData=e.nextData.bind(v()(e)),e.nextError=e.nextError.bind(v()(e)),e.fetchPolicy="cache-first",e.fetchResults=void 0,e.pollInterval=void 0,e.notifyOnNetworkStatusChange=void 0,e.variables=void 0,e.subscription=null,e.tryFetch=void 0,e.observable,e}d()(t,e),s()(t,[{key:"subscription",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Subscription must be a gql-parsed DocumentNode")}e&&!this.observable&&this.subscribe()}},{key:"variables",get:function(){return this.__variables},set:function(e){this.__variables=e,this.observable||this.subscribe()}}]),s()(t,[{key:"connectedCallback",value:function(){m()(f()(t.prototype),"connectedCallback",this)&&m()(f()(t.prototype),"connectedCallback",this).call(this),this.subscribe()}},{key:"subscribe",value:function(){var e=arguments;return new Promise(function(t,n){var r=e.length>0&&void 0!==e[0]?e[0]:this,i=r.fetchPolicy,o=void 0===i?this.fetchPolicy:i,a=r.query,s=void 0===a?this.subscription:a,u=r.variables,c=void 0===u?this.variables:u;return Z({query:s,variables:c})?(this.observable=this.client.subscribe({query:s,variables:c,fetchPolicy:o}),t(this.observable.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}},{key:"nextData",value:function(e){var t=e.data,n=this.client,r=this.onSubscriptionData;ie()(r)&&r({client:n,subscriptionData:{data:t}}),this.data=t,this.loading=!1,this.error=void 0}},{key:"nextError",value:function(e){this.error=e,this.loading=!1}}])})(Object(b.a)(e))}(ee.a),n(365),n(278));n.d(t,"b",function(){return te}),n.d(t,"a",function(){return ne.a}),n.d(t,"c",function(){return oe.b})},,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"print",function(){return i});var r=n(356);function i(e){return Object(r.b)(e,{leave:o})}var o={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return s(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=c("(",s(e.variableDefinitions,", "),")"),i=s(e.directives," "),o=e.selectionSet;return n||i||r||"query"!==t?s([t,s([n,r]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+c(" = ",r)+c(" ",s(i," "))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet;return s([c("",t,": ")+n+c("(",s(r,", "),")"),s(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+c(" ",s(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return s(["...",c("on ",t),s(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(c("(",s(r,", "),")")," ")+"on ".concat(n," ").concat(c("",s(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?function(e,t){var n=e.replace(/"""/g,'\\"""');return f(e)||" "!==e[0]&&"\t"!==e[0]?'"""\n'.concat(t?n:l(n),'\n"""'):'"""'.concat(n.replace(/"$/,'"\n'),'"""')}(n,"description"===t):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+s(e.values,", ")+"]"},ObjectValue:function(e){return"{"+s(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+c("(",s(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return s(["schema",s(t," "),u(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:a(function(e){return s(["scalar",e.name,s(e.directives," ")]," ")}),ObjectTypeDefinition:a(function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return s(["type",t,c("implements ",s(n," & ")),s(r," "),u(i)]," ")}),FieldDefinition:a(function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(h(n)?c("(\n",l(s(n,"\n")),"\n)"):c("(",s(n,", "),")"))+": "+r+c(" ",s(i," "))}),InputValueDefinition:a(function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return s([t+": "+n,c("= ",r),s(i," ")]," ")}),InterfaceTypeDefinition:a(function(e){var t=e.name,n=e.directives,r=e.fields;return s(["interface",t,s(n," "),u(r)]," ")}),UnionTypeDefinition:a(function(e){var t=e.name,n=e.directives,r=e.types;return s(["union",t,s(n," "),r&&0!==r.length?"= "+s(r," | "):""]," ")}),EnumTypeDefinition:a(function(e){var t=e.name,n=e.directives,r=e.values;return s(["enum",t,s(n," "),u(r)]," ")}),EnumValueDefinition:a(function(e){return s([e.name,s(e.directives," ")]," ")}),InputObjectTypeDefinition:a(function(e){var t=e.name,n=e.directives,r=e.fields;return s(["input",t,s(n," "),u(r)]," ")}),DirectiveDefinition:a(function(e){var t=e.name,n=e.arguments,r=e.locations;return"directive @"+t+(h(n)?c("(\n",l(s(n,"\n")),"\n)"):c("(",s(n,", "),")"))+" on "+s(r," | ")}),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return s(["extend schema",s(t," "),u(n)]," ")},ScalarTypeExtension:function(e){return s(["extend scalar",e.name,s(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return s(["extend type",t,c("implements ",s(n," & ")),s(r," "),u(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return s(["extend interface",t,s(n," "),u(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return s(["extend union",t,s(n," "),r&&0!==r.length?"= "+s(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return s(["extend enum",t,s(n," "),u(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return s(["extend input",t,s(n," "),u(r)]," ")}};function a(e){return function(t){return s([t.description,e(t)],"\n")}}function s(e,t){return e?e.filter(function(e){return e}).join(t||""):""}function u(e){return e&&0!==e.length?"{\n"+l(s(e,"\n"))+"\n}":""}function c(e,t,n){return t?e+t+(n||""):""}function l(e){return e&&" "+e.replace(/\n/g,"\n ")}function f(e){return-1!==e.indexOf("\n")}function h(e){return e&&e.some(f)}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=new WeakMap,i=function(e){return"function"==typeof e&&r.has(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r={},i={}},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(291),i=n.n(r),o=n(261),a=n.n(o),s=n(262),u=n.n(s),c=n(295),l=n(282),f=function(){function e(t,n,r){a()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return u()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var f,h=this._parts[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var d=f.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=c.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,o=0;return function t(a){for(var s=document.createTreeWalker(a,133,null,!1),u=s.nextNode();r/g,""),D()("innerText")),Q=b()(x()("SCRIPT"),S()(null,"tagName"));var V=F()(T.a,O()(null),F()(R()(Q,function(e){return e instanceof Element&&"application/graphql"===e.getAttribute("type")}),L,function(){return function(e){throw new TypeError(e)}('Script must be of type "application/graphql"')})),B=b()(V,function(e){return e instanceof HTMLElement&&e.querySelector('script[type="application/graphql"]')}),U=n(269),z=n.n(U),H=function(e){return!!(e&&"object"===z()(e)&&"kind"in e&&"definitions"in e)};n.d(t,"a",function(){return G});var G=function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,h()(t).call(this))).onElementMutation=e.onElementMutation.bind(l()(e)),e.context=void 0,e.data=void 0,e.error=void 0,e.loading=void 0,e.client=window.__APOLLO_CLIENT__,e.elementMutationObserver=new MutationObserver(e.onElementMutation),e}return y()(t,e),a()(t,[{key:"connectedCallback",value:function(){p()(h()(t.prototype),"connectedCallback",this)&&p()(h()(t.prototype),"connectedCallback",this).call(this),this.elementMutationObserver.observe(this,{characterData:!0,childList:!0,subtree:!0}),this.document=B(this)||null}},{key:"disconnectedCallback",value:function(){p()(h()(t.prototype),"disconnectedCallback",this)&&p()(h()(t.prototype),"disconnectedCallback",this).call(this),this.elementMutationObserver&&this.elementMutationObserver.disconnect(),this.elementMutationObserver=null}},{key:"onElementMutation",value:function(){var e=B(this);e&&(this.document=e)}},{key:"document",get:function(){return this.__document||null},set:function(e){if(H(e))this.__document=e;else if(e)throw new TypeError("document must be a gql-parsed DocumentNode")}}]),t}(e)}},,,function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=s(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],f=-1,h=[],d=void 0,p=void 0,v=void 0,y=[],m=[],b=e;do{var _=++f===l.length,g=_&&0!==h.length;if(_){if(p=0===m.length?void 0:y[y.length-1],d=v,v=m.pop(),g){if(c)d=d.slice();else{for(var w={},O=Object.keys(d),k=0;k0&&void 0!==e[0]?e[0]:this).context)?this.context:i,s=void 0===(a=r.errorPolicy)?this.errorPolicy:a,c=void 0===(u=r.fetchPolicy)?this.fetchPolicy:u,f=void 0===(l=r.mutation)?this.mutation:l,d=void 0===(h=r.optimisticResponse)?this.optimisticResponse:h,v=void 0===(p=r.refetchQueries)?this.refetchQueries:p,m=void 0===(y=r.update)?this.onUpdate:y,_=void 0===(b=r.awaitRefetchQueries)?this.awaitRefetchQueries:b,w=void 0===(g=r.variables)?this.variables:g,O=this.generateMutationId(),this.loading=!0,this.error=void 0,this.data=void 0,this.called=!0;var S=function(e){try{return this.onMutationError(e,O),t(e)}catch(e){return n(e)}}.bind(this);try{return Promise.resolve(this.client.mutate({context:o,errorPolicy:s,fetchPolicy:c,mutation:f,optimisticResponse:d,refetchQueries:v,update:m,awaitRefetchQueries:_,variables:w})).then(function(e){try{return k=e,this.onCompletedMutation(k,O),t(k)}catch(e){return S(e)}}.bind(this),S)}catch(e){S(e)}}.bind(this))}},{key:"onCompletedMutation",value:function(e,t){var n=e.data;return this.isMostRecentMutation(t)&&!this.ignoreResults&&(this.loading=!1,this.error=null,this.data=n),this.onCompleted(n)}},{key:"onMutationError",value:function(e,t){return this.isMostRecentMutation(t)&&(this.loading=!1,this.data=null,this.error=e),this.onError(e)}}]),t}(Object(d.a)(e))}},,function(e,t,n){"use strict";var r,i=n(261),o=n.n(i),a=n(262),s=n.n(a),u=null,c=window.HTMLImports&&window.HTMLImports.whenReady||null;function l(e){requestAnimationFrame(function(){c?c(e):(u||(u=new Promise(function(e){r=e}),"complete"===document.readyState?r():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&r()})),u.then(function(){e&&e()}))})}n.d(t,"a",function(){return p});var f="__shadyCSSCachedStyle",h=null,d=null,p=function(){function e(){o()(this,e),this.customStyles=[],this.enqueued=!1,l(function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}return s()(e,[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&d&&(this.enqueued=!0,l(d))}},{key:"addCustomStyle",value:function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(e){return e[f]?e[f]:e.getStyle?e.getStyle():e}},{key:"processStyles",value:function(){for(var e=this.customStyles,t=0;t-1&&(d=a[_],a=a.slice(0,_))}a&&(r.push(a),a="",c=!1);var g=""!==d&&void 0!==p&&p!==d,w="+"===b||"*"===b,O="?"===b||"*"===b,k=d||s,S=y||m;r.push({name:v||i++,prefix:d,delimiter:k,optional:O,repeat:w,partial:g,pattern:S?$(S):"[^"+Y(k)+"]+?"})}}return(a||o-1;else{var h=Y(f.prefix),d=f.repeat?"(?:"+f.pattern+")(?:"+h+"(?:"+f.pattern+"))*":f.pattern;t&&t.push(f),f.optional?f.partial?u+=h+"("+d+")?":u+="(?:"+h+"("+d+"))?":u+=h+"("+d+")"}}return i?(r||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(r||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,X(n))}function ee(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&"/"===t.charAt(h)&&(h+=1),a=ie(f,t.substr(h),n,o.keys,o.params)}var d=a.next(c);if(!d.done)return{done:!1,value:d.value};a=null,s++}return{done:!0}}}}function oe(e){if(A(e.route.action))return e.route.action(e)}ne.set("|false",{keys:[],pattern:/(?:)/});var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b()(this,e),Object(t)!==t)throw new TypeError("Invalid routes");this.baseUrl=n.baseUrl||"",this.errorHandler=n.errorHandler,this.resolveRoute=n.resolveRoute||oe,this.context=Object.assign({resolver:this},n.context),this.root=Array.isArray(t)?{path:"",__children:t,parent:null,__synthetic:!0}:t,this.root.parent=null}return y()(e,[{key:"getRoutes",value:function(){return p()(this.root.__children)}},{key:"setRoutes",value:function(e){T(e);var t=p()(w(e));this.root.__children=t}},{key:"addRoutes",value:function(e){var t;return T(e),(t=this.root.__children).push.apply(t,p()(w(e))),this.getRoutes()}},{key:"removeRoutes",value:function(){this.setRoutes([])}},{key:"resolve",value:function(e){var t=this,n=Object.assign({},this.context,j(e)?{pathname:e}:e),r=ie(this.root,this.__normalizePathname(n.pathname),this.baseUrl),i=this.resolveRoute,o=null,a=null,s=n;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&o.value.route;return o=a||r.next(c),a=null,e||!o.done&&function(e,t){for(var n=t;n;)if((n=n.parent)===e)return!0;return!1}(t,o.value.route)?o.done?Promise.reject(R(n)):(function(e,t){var n=t.route,r=t.path;if(n&&!n.__synthetic){var i={path:r,route:n};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,n)?e.chain.push(i):e.chain=[i]}}(n,o.value),s=Object.assign({},n,o.value),Promise.resolve(i(s)).then(function(n){return null!=n&&n!==M?(s.result=n.result||n,s):u(e,t,n)})):(a=o,Promise.resolve(M))}return n.next=u,Promise.resolve().then(function(){return u(!0,t.root)}).catch(function(e){var n=function(e){var t="Path '".concat(e.pathname,"' is not properly resolved due to an error."),n=(e.route||{}).path;return n&&(t+=" Resolution had failed on route: '".concat(n,"'")),t}(s);if(e?console.warn(n):e=new Error(n),e.context=e.context||s,e instanceof DOMException||(e.code=e.code||500),t.errorHandler)return s.result=t.errorHandler(e),s;throw e})}},{key:"__normalizePathname",value:function(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,n=this.constructor.__createUrl(e,t).href;return n.slice(0,t.length)===t?n.slice(t.length):void 0}},{key:"__effectiveBaseUrl",get:function(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}}],[{key:"__createUrl",value:function(e,t){return new URL(e,t)}}]),e}();ae.pathToRegexp=Q;var se=ae.pathToRegexp,ue=new Map;function ce(e,t){var n=e.get(t);if(n&&n.length>1)throw new Error('Duplicate route with name "'.concat(t,'".')+" Try seting unique 'name' route properties.");return n&&n[0]}function le(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof ae))throw new TypeError("An instance of Resolver is expected");var n=new Map;return function(r,i){var o=ce(n,r);if(!(o||(n.clear(),function e(t,n,r){var i=n.name||n.component;if(i&&(t.has(i)?t.get(i).push(n):t.set(i,[n])),Array.isArray(r))for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return ke(Ee.pathToRegexp.compile(Se(l))(Object.assign({},s,e)),c)}}}function _e(e,t){var n=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:n}}}function ge(e,t,n){if(A(e))return e.apply(n,t)}function we(e,t,n){return function(r){return r&&(r.cancel||r.redirect)?r:n?ge(n[e],t,n):void 0}}function Oe(e){if(e&&e.length)for(var t=e[0].parentNode,n=0;n1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(n).then(function(r){var i=r!==n?r:e;return r.next().then(function(e){if((null===e||e===M)&&ke(Se(r.chain),r.resolver)!==r.pathname)throw R(i);return e&&e!==M?t.__fullyResolveChain(i,e):t.__amendWithOnBeforeCallbacks(i)})})}},{key:"__amendWithResolutionResult",value:function(e){var t=this,n=e.result;return n instanceof HTMLElement?Promise.resolve(e):n.redirect?this.__redirect(n.redirect,e.__redirectCount).then(function(e){return t.__amendWithResolutionResult(e)}):n instanceof Error?Promise.reject(n):Promise.reject(new Error(O('Invalid route resolution result for path "'.concat(e.pathname,'". ')+'Expected redirect object or HTML element, but got: "'.concat(function(e){if("object"!==g()(e))return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?"".concat(t," ").concat(JSON.stringify(e)):t}(n),'". ')+"Double check the action return value for the route.")))}},{key:"__amendWithOnBeforeCallbacks",value:function(e){var t=this;return this.__runOnBeforeCallbacks(e).then(function(n){return n===t.__previousContext||n===e?n:t.__fullyResolveChain(n)})}},{key:"__runOnBeforeCallbacks",value:function(e){var t=this,n=(this.__previousContext||{}).chain||[],r=e.chain,i=Promise.resolve(),o=function(){return{cancel:!0}},a=function(t){return _e(e,t)};if(e.__divergedChainIndex=0,n.length){for(var s=0;s=e.__divergedChainIndex;u--){var c=be(e);i=i.then(we("onBeforeLeave",[c,{prevent:o},this],n[u].element)).then(function(e){if(!(e||{}).redirect)return e})}}for(var l=e.__divergedChainIndex;l256)throw new Error(O("Too many redirects when rendering ".concat(e.from)));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}},{key:"__ensureOutlet",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(O("Expected router outlet to be a valid DOM Node (but got ".concat(e,")")))}},{key:"__updateBrowserHistory",value:function(e,t){if(window.location.pathname!==e){var n=t?"replaceState":"pushState";window.history[n](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}},{key:"__addAppearingContent",value:function(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var n=this.__outlet,r=0;r=e.__divergedChainIndex;n--){var r=t.chain[n].element;if(r)try{var i=be(e);ge(r.onAfterLeave,[i,{},t.resolver],r)}finally{Oe(r.children)}}}},{key:"__runOnAfterEnterCallbacks",value:function(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(n&&r&&t){var s=I(t)&&t.leave||"leaving",u=I(t)&&t.enter||"entering";i.push(ye(n,s)),i.push(ye(r,u))}return Promise.all(i).then(function(){return e})}},{key:"subscribe",value:function(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"unsubscribe",value:function(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"__onNavigationEvent",value:function(e){var t=e?e.detail.pathname:window.location.pathname;j(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}},{key:"urlForName",value:function(e,t){return this.__urlForName||(this.__urlForName=fe(this)),ke(this.__urlForName(e,t),this)}},{key:"urlForPath",value:function(e,n){return ke(t.pathToRegexp.compile(e)(n),this)}}],[{key:"setTriggers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&!Pe(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),Te(Ce),Ee.NavigationTrigger={POPSTATE:L,CLICK:q}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n1,i=!1,o=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=f(t,c);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return d(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(a("iterator")&&(r=f(t,u)))return new n(function(e){v(function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,m.default.GQL_START,e))}).catch(function(e){n.unsubscribe(r),t(n.formatErrors(e))}),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,i)||i&&!l.default(i)||r&&!f.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r({},n,{query:"string"==typeof n.query?n.query:h.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,v.GRAPHQL_WS),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var n=t.data;e.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var i=t.payload.errors?r({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,i);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(296))},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);rthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},function(e,t,n){"use strict";n.r(t),n.d(t,"tuple",function(){return d}),n.d(t,"lookup",function(){return f}),n.d(t,"lookupArray",function(){return h});var r="function"==typeof Symbol&&"function"==typeof Symbol.for,i=r?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=r?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!1,configurable:!1}),n}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function f(){return h(arguments)}function h(e){for(var t=l,n=e.length,r=0;r0&&(t=[],e.childValues.forEach(function(n,r){w(e,r),t.push(r)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),m(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},function(e,t,n){"use strict";(function(e){var t,r,i=n(269),o=n.n(i);t=void 0,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===o()(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(n,"\\$&").replace(r,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=A;M-=1){var F=M-1,q=n[e.charAt(F)];if(q&&(w[F]=1),R[M]=(R[M+1]<<1|1)&q,0!==C&&(R[M]|=(E[M+1]|E[M])<<1|1|E[M+1]),R[M]&T&&(x=r(t,{errors:C,currentLocation:F,expectedLocation:y,distance:c}))<=b){if(b=x,(_=F)<=y)break;A=Math.max(1,2*y-_)}}if(r(t,{errors:C+1,currentLocation:y,expectedLocation:y,distance:c})>b)break;E=R}return{isMatch:_>=0,score:0===x?.001:x,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,n){function r(e,t){for(var n=0;nn)return i(e,this.pattern,r);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,f=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:f})}}])&&r(t.prototype,n),s&&r(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,n){var r=n("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,n,i){if(n){var o=n.indexOf("."),a=n,s=null;-1!==o&&(a=n.slice(0,o),s=n.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(r(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,i=n.fullSearcher,o=this._search(r,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,i=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,r={},i=[];if("string"==typeof n[0]){for(var o=0,a=n.length;o1)throw new Error("Key weight has to be > 0 and <= 1");d=d.name}else s[d]={weight:1};this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:u},{resultMap:r,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,i=void 0===r?-1:r,o=e.value,a=e.record,s=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,f=t.fullSearcher,h=void 0===f?[]:f,d=t.resultMap,p=void 0===d?{}:d,v=t.results,y=void 0===v?[]:v;if(null!=o){var m=!1,b=-1,_=0;if("string"==typeof o){this._log("\nKey: ".concat(""===n?"-":n));var g=h.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],k=0;k-1&&(A=(A+b)/2),this._log("Score average:",A);var j=!this.options.tokenize||!this.options.matchAllTokens||_>=l.length;if(this._log("\nCheck Matches: ".concat(j)),(m||g.isMatch)&&j){var R=p[s];R?R.output.push({key:n,arrayIndex:i,value:o,score:A,matchedIndices:g.matchedIndices}):(p[s]={item:a,output:[{key:n,arrayIndex:i,value:o,score:A,matchedIndices:g.matchedIndices}]},y.push(p[s]))}}else if(u(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;o\n \n\n \n\n \n',document.head.appendChild(Z.content);var ee=document.createElement("template");ee.innerHTML="\n \n",document.head.appendChild(ee.content);var te=document.createElement("template");te.innerHTML="\n \n",document.head.appendChild(te.content);var ne=document.createElement("template");ne.innerHTML='\n \n',document.head.appendChild(ne.content);var re=n(272),ie=n.n(re),oe=n(266),ae=n.n(oe),se=0;function ue(){}ue.prototype.__mixinApplications,ue.prototype.__mixinSet;var ce=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var n=se++;function r(r){var i=r.__mixinSet;if(i&&i[n])return r;var o=t,a=o.get(r);a||(a=e(r),o.set(r,a));var s=Object.create(a.__mixinSet||i||null);return s[n]=!0,a.__mixinSet=s,a}return r},le=n(269),fe=n.n(le);function he(e){return e.indexOf(".")>=0}function de(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function pe(e,t){return 0===e.indexOf(t+".")}function ve(e,t){return 0===t.indexOf(e+".")}function ye(e,t,n){return t+n.slice(e.length)}function me(e){if(Array.isArray(e)){for(var t=[],n=0;n1){for(var a=0;a=0){if(!Te[t])throw new Error("invalid async handle: "+e);Te[t]=null}}},je=Ae,Re=ce(function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__dataEnabled=!1,e.__dataReady=!1,e.__dataInvalid=!1,e.__data={},e.__dataPending=null,e.__dataOld=null,e.__dataInstanceProps=null,e.__serializing=!1,e._initializeProperties(),e}return h()(t,e),a()(t,[{key:"_createPropertyAccessor",value:function(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}},{key:"_addPropertyToAttributeMap",value:function(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){var t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}},{key:"_definePropertyAccessor",value:function(e,t){Object.defineProperty(this,e,{get:function(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}}],[{key:"createProperties",value:function(e){var t=this.prototype;for(var n in e)n in t||t._createPropertyAccessor(n)}},{key:"attributeNameForProperty",value:function(e){return e.toLowerCase()}},{key:"typeForProperty",value:function(e){}}]),a()(t,[{key:"ready",value:function(){this.__dataReady=!0,this._flushProperties()}},{key:"_initializeProperties",value:function(){for(var e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}},{key:"_initializeInstanceProperties",value:function(e){Object.assign(this,e)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}},{key:"_getProperty",value:function(e){return this.__data[e]}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__data[e],i=this._shouldPropertyChange(e,t,r);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||e in this.__dataOld||(this.__dataOld[e]=r),this.__data[e]=t,this.__dataPending[e]=t),i}},{key:"_invalidateProperties",value:function(){var e=this;!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,je.run(function(){e.__dataInvalid&&(e.__dataInvalid=!1,e._flushProperties())}))}},{key:"_enableProperties",value:function(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}},{key:"_flushProperties",value:function(){var e=this.__data,t=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(e,t,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,n))}},{key:"_shouldPropertiesChange",value:function(e,t,n){return Boolean(t)}},{key:"_propertiesChanged",value:function(e,t,n){}},{key:"_shouldPropertyChange",value:function(e,t,n){return n!==t&&(n==n||t==t)}},{key:"attributeChangedCallback",value:function(e,n,r,i){n!==r&&this._attributeToProperty(e,r),ae()(l()(t.prototype),"attributeChangedCallback",this)&&ae()(l()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r,i)}},{key:"_attributeToProperty",value:function(e,t,n){if(!this.__serializing){var r=this.__dataAttributes,i=r&&r[e]||e;this[i]=this._deserializeValue(t,n||this.constructor.typeForProperty(i))}}},{key:"_propertyToAttribute",value:function(e,t,n){this.__serializing=!0,n=arguments.length<3?this[e]:n,this._valueToNodeAttribute(this,n,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}},{key:"_valueToNodeAttribute",value:function(e,t,n){var r=this._serializeValue(t);void 0===r?e.removeAttribute(n):e.setAttribute(n,r)}},{key:"_serializeValue",value:function(e){switch(fe()(e)){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}},{key:"_deserializeValue",value:function(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}]),t}(e)}),Me={},Fe=HTMLElement.prototype;Fe;){for(var qe=Object.getOwnPropertyNames(Fe),De=0;Dec.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=n[t];t=ye(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}return"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,n,r),A&&(i=A(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[Ke.READ_ONLY]&&t[Ke.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,n,r,o))}}function ct(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;o="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=de(t),n.structured=he(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function bt(e,t,n,r){var i=n+".splices";e.notifyPath(i,{indexSplices:r}),e.notifyPath(n+".length",t.length),e.__data[i]={indexSplices:null}}function _t(e,t,n,r,i,o){bt(e,t,n,[{index:r,addedCount:i,removed:o,object:t,type:"splice"}])}var gt=ce(function(e){var t=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__isPropertyEffectsClient=!0,e.__dataCounter=0,e.__dataClientsReady,e.__dataPendingClients,e.__dataToNotify,e.__dataLinkedPaths,e.__dataHasPaths,e.__dataCompoundStorage,e.__dataHost,e.__dataTemp,e.__dataClientsInitialized,e.__data,e.__dataPending,e.__dataOld,e.__computeEffects,e.__reflectEffects,e.__notifyEffects,e.__propagateEffects,e.__observeEffects,e.__readOnly,e.__templateInfo,e}return h()(t,e),a()(t,[{key:"_initializeProperties",value:function(){ae()(l()(t.prototype),"_initializeProperties",this).call(this),wt.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}},{key:"_initializeProtoProperties",value:function(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}},{key:"_initializeInstanceProperties",value:function(e){var t=this[Ke.READ_ONLY];for(var n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}},{key:"_addPropertyEffect",value:function(e,t,n){this._createPropertyAccessor(e,t==Ke.READ_ONLY);var r=Ye(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}},{key:"_removePropertyEffect",value:function(e,t,n){var r=Ye(this,t)[e],i=r.indexOf(n);i>=0&&r.splice(i,1)}},{key:"_hasPropertyEffect",value:function(e,t){var n=this[t];return Boolean(n&&n[e])}},{key:"_hasReadOnlyEffect",value:function(e){return this._hasPropertyEffect(e,Ke.READ_ONLY)}},{key:"_hasNotifyEffect",value:function(e){return this._hasPropertyEffect(e,Ke.NOTIFY)}},{key:"_hasReflectEffect",value:function(e){return this._hasPropertyEffect(e,Ke.REFLECT)}},{key:"_hasComputedEffect",value:function(e){return this._hasPropertyEffect(e,Ke.COMPUTE)}},{key:"_setPendingPropertyOrPath",value:function(e,n,r,i){if(i||de(Array.isArray(e)?e[0]:e)!==e){if(!i){var o=_e(this,e);if(!(e=ge(this,e,n))||!ae()(l()(t.prototype),"_shouldPropertyChange",this).call(this,e,n,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,n,r))return function(e,t,n){var r,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];ve(o,t)?(r=ye(o,a,t),e._setPendingPropertyOrPath(r,n,!0,!0)):ve(a,t)&&(r=ye(a,o,t),e._setPendingPropertyOrPath(r,n,!0,!0))}}(this,e,n),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,n,r);this[e]=n}return!1}},{key:"_setUnmanagedPropertyToNode",value:function(e,t,n){n===e[t]&&"object"!=fe()(n)||(e[t]=n)}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__dataHasPaths&&he(e),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[Ke.NOTIFY]&&this[Ke.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}},{key:"_invalidateProperties",value:function(){this.__dataReady&&this._flushProperties()}},{key:"_enqueueClient",value:function(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}},{key:"_flushProperties",value:function(){this.__dataCounter++,ae()(l()(t.prototype),"_flushProperties",this).call(this),this.__dataCounter--}},{key:"_flushClients",value:function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}},{key:"__enableOrFlushClients",value:function(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?r-3:0),o=3;o1?r-1:0),o=1;oi&&r.push({literal:e.slice(i,n.index)});var o=n[1][0],a=Boolean(n[2]),s=n[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var f=yt(s),h=[];if(f){for(var d=f.args,p=f.methodName,v=0;v1?n-1:0),i=1;i0||n>0;)if(0!=t)if(0!=n){var o=e[t-1][n-1],a=e[t-1][n],s=e[t][n-1],u=void 0;(u=a=0&&!Vt(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());var zt,Ht=function(){return Bt(Ut)};window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Ht&&Ht()};function Gt(){var e=ie()(['\n \n
\n \n
\n']);return Gt=function(){return e},e}var Jt=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){ae()(l()(t.prototype),"ready",this).call(this),this.setAttribute("role","list")}},{key:"_scrollerElement",get:function(){return this.shadowRoot.querySelector('[part="items"]')}}],[{key:"template",get:function(){return Pt(Gt())}},{key:"is",get:function(){return"vaadin-list-box"}},{key:"version",get:function(){return"1.1.0"}},{key:"properties",get:function(){return{orientation:{readOnly:!0}}}}]),t}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){ae()(l()(t.prototype),"ready",this).call(this),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add to the HTML document.')}}],[{key:"_finalizeClass",value:function(){var e;ae()(l()(t),"_finalizeClass",this).call(this),this.is&&(window.Vaadin.registrations.push(this),window.Vaadin.developmentModeCallback&&(zt=Dt.debounce(zt,Ie,function(){window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),e=zt,Lt.push(e)))}}]),t}(e)}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"ready",value:function(){var e=this;ae()(l()(t.prototype),"ready",this).call(this),this.addEventListener("keydown",function(t){return e._onKeydown(t)}),this.addEventListener("click",function(t){return e._onClick(t)}),this._observer=new qt(this,function(t){e._setItems(e._filterItems(Array.from(e.children)))})}},{key:"_enhanceItems",value:function(e,t,n){if(e){this.setAttribute("aria-orientation",t||"vertical"),this.items.forEach(function(e){t?e.setAttribute("orientation",t):e.removeAttribute("orientation"),e.updateStyles()}),this._setFocusable(n);var r=e[n];e.forEach(function(e){return e.selected=e===r}),r&&!r.disabled&&this._scrollToItem(n)}}},{key:"_filterItems",value:function(e){return e.filter(function(e){return e._hasVaadinItemMixin})}},{key:"_onClick",value:function(e){if(!(e.metaKey||e.shiftKey||e.ctrlKey)){var t,n=this._filterItems(e.composedPath())[0];n&&!n.disabled&&(t=this.items.indexOf(n))>=0&&(this.selected=t)}}},{key:"_onKeydown",value:function(e){if(!e.metaKey&&!e.ctrlKey){var t,n,r=e.key.replace(/^Arrow/,""),i=this.items.indexOf(this.focused),o=function(e){return!e.disabled};this._vertical&&"Up"===r||!this._vertical&&"Left"===r?(n=-1,t=i-1):this._vertical&&"Down"===r||!this._vertical&&"Right"===r?(n=1,t=i+1):"Home"===r?(n=1,t=0):"End"===r?(n=-1,t=this.items.length-1):1==r.length&&(n=1,t=i+1,o=function(e){return!e.disabled&&0===e.textContent.trim().toLowerCase().indexOf(r.toLowerCase())}),(t=this._getAvailableIndex(t,n,o))>=0&&(this._focus(t),e.preventDefault())}}},{key:"_getAvailableIndex",value:function(e,t,n){for(var r=this.items.length,i=0;"number"==typeof e&&i=r&&(e=0),n(this.items[e]))return e;return-1}},{key:"_setFocusable",value:function(e){e=this._getAvailableIndex(e,1,function(e){return!e.disabled});var t=this.items[e]||this.items[0];this.items.forEach(function(e){return e.tabIndex=e===t?0:-1})}},{key:"_focus",value:function(e){var t=this.items[e];this.items.forEach(function(e){return e.focused=e===t}),this._setFocusable(e),this._scrollToItem(e),t.focus()}},{key:"focus",value:function(){this._observer.flush();var e=this.querySelector('[tabindex="0"]')||this.items[0];e&&e.focus()}},{key:"_scrollToItem",value:function(e){var t=this.items[e];if(t){var n=this._vertical?["top","bottom"]:["left","right"],r=this._scrollerElement.getBoundingClientRect(),i=(this.items[e+1]||t).getBoundingClientRect(),o=(this.items[e-1]||t).getBoundingClientRect(),a=0;i[n[1]]>=r[n[1]]?a=i[n[1]]-r[n[1]]:o[n[0]]<=r[n[0]]&&(a=o[n[0]]-r[n[0]]),this._scroll(a)}}},{key:"_scroll",value:function(e){this._scrollerElement["scroll"+(this._vertical?"Top":"Left")]+=e}},{key:"focused",get:function(){return this.getRootNode().activeElement}},{key:"_scrollerElement",get:function(){}},{key:"_vertical",get:function(){return"horizontal"!==this.orientation}}],[{key:"properties",get:function(){return{_hasVaadinListMixin:{value:!0},selected:{type:Number,reflectToAttribute:!0,notify:!0},orientation:{type:String,reflectToAttribute:!0,value:""},items:{type:Array,readOnly:!0,notify:!0}}}},{key:"observers",get:function(){return["_enhanceItems(items, orientation, selected)"]}}]),t}(e)}(function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"finalize",value:function(){var e=this;ae()(l()(t),"finalize",this).call(this);var n=this.prototype._template,r=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,i=Object.getPrototypeOf(this.prototype)._template;i&&!r&&Array.from(i.content.querySelectorAll("style[include]")).forEach(function(t){e._includeStyle(t.getAttribute("include"),n)}),this._includeMatchingThemes(n)}},{key:"_includeMatchingThemes",value:function(e){var t=this,n=L.prototype.modules,r=!1,i=this.is+"-default-theme";Object.keys(n).sort(function(e,t){var n=0===e.indexOf("vaadin-"),r=0===t.indexOf("vaadin-"),i=["lumo-","material-"],o=i.filter(function(t){return 0===e.indexOf(t)}).length>0,a=i.filter(function(e){return 0===t.indexOf(e)}).length>0;return n!==r?n?-1:1:o!==a?o?-1:1:0}).forEach(function(o){if(o!==i){var a=n[o].getAttribute("theme-for");a&&a.split(" ").forEach(function(n){new RegExp("^"+n.split("*").join(".*")+"$").test(t.is)&&(r=!0,t._includeStyle(o,e))})}}),!r&&n[i]&&this._includeStyle(i,e)}},{key:"_includeStyle",value:function(e,t){if(t&&!t.content.querySelector('style[include="'.concat(e,'"]'))){var n=document.createElement("style");n.setAttribute("include",e),t.content.appendChild(n)}}}]),t}(function(e){return function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"attributeChangedCallback",value:function(e,n,r){ae()(l()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r),"theme"===e&&this._setTheme(r)}}],[{key:"properties",get:function(){return{theme:{type:String,readOnly:!0}}}}]),t}(e)}(Tt)))));customElements.define(Jt.is,Jt)},,function(e,t,n){"use strict";n.r(t);var r=n(389),i=n(390);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index0&&y(t[0]);)t.shift();for(;t.length>0&&y(t[t.length-1]);)t.pop();return t.join("\n")}function v(e){for(var t=0;t",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function w(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}var O=String.prototype.charCodeAt,k=String.prototype.slice;function S(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function E(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function x(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i=i)return new S(g.EOF,i,i,a,s,t);var u=O.call(r,o);switch(u){case 33:return new S(g.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=O.call(a,++s)}while(null!==o&&(o>31||9===o));return new S(g.COMMENT,t,s,n,r,i,k.call(a,t+1,s))}(n,o,a,s,t);case 36:return new S(g.DOLLAR,o,o+1,a,s,t);case 38:return new S(g.AMP,o,o+1,a,s,t);case 40:return new S(g.PAREN_L,o,o+1,a,s,t);case 41:return new S(g.PAREN_R,o,o+1,a,s,t);case 46:if(46===O.call(r,o+1)&&46===O.call(r,o+2))return new S(g.SPREAD,o,o+3,a,s,t);break;case 58:return new S(g.COLON,o,o+1,a,s,t);case 61:return new S(g.EQUALS,o,o+1,a,s,t);case 64:return new S(g.AT,o,o+1,a,s,t);case 91:return new S(g.BRACKET_L,o,o+1,a,s,t);case 93:return new S(g.BRACKET_R,o,o+1,a,s,t);case 123:return new S(g.BRACE_L,o,o+1,a,s,t);case 124:return new S(g.PIPE,o,o+1,a,s,t);case 125:return new S(g.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&null!==(u=O.call(o,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new S(g.NAME,t,s,n,r,i,k.call(o,t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,u=t,c=!1;45===s&&(s=O.call(a,++u));if(48===s){if((s=O.call(a,++u))>=48&&s<=57)throw d(e,u,"Invalid number, unexpected digit after 0: ".concat(E(s),"."))}else u=P(e,u,s),s=O.call(a,u);46===s&&(c=!0,s=O.call(a,++u),u=P(e,u,s),s=O.call(a,u));69!==s&&101!==s||(c=!0,43!==(s=O.call(a,++u))&&45!==s||(s=O.call(a,++u)),u=P(e,u,s));return new S(c?g.FLOAT:g.INT,t,u,r,i,o,k.call(a,t,u))}(n,o,u,a,s,t);case 34:return 34===O.call(r,o+1)&&34===O.call(r,o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=O.call(r,++i)}while(o>=48&&o<=57);return i}throw d(e,i,"Invalid number, expected digit but got: ".concat(E(o),"."))}function T(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(S,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var C=n(391),N=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function I(e,t){var n="string"==typeof e?new u(e):e;if(!(n instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(r.a)(n)));return function(e){var t=e.token;return{kind:C.a.DOCUMENT,definitions:xe(e,g.SOF,M,g.EOF),loc:me(e,t)}}(m(n,t||{}))}function A(e,t){var n=m("string"==typeof e?new u(e):e,t||{});we(n,g.SOF);var r=K(n,!1);return we(n,g.EOF),r}function j(e,t){var n=m("string"==typeof e?new u(e):e,t||{});we(n,g.SOF);var r=te(n);return we(n,g.EOF),r}function R(e){var t=we(e,g.NAME);return{kind:C.a.NAME,value:t.value,loc:me(e,t)}}function M(e){if(_e(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return F(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return re(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;ke(e,"extend"),ke(e,"schema");var n=Z(e,!0),r=_e(e,g.BRACE_L)?xe(e,g.BRACE_L,ae,g.BRACE_R):[];if(0===n.length&&0===r.length)throw Se(e);return{kind:C.a.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:me(e,t)}}(e);case"scalar":return function(e){var t=e.token;ke(e,"extend"),ke(e,"scalar");var n=R(e),r=Z(e,!0);if(0===r.length)throw Se(e);return{kind:C.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:me(e,t)}}(e);case"type":return function(e){var t=e.token;ke(e,"extend"),ke(e,"type");var n=R(e),r=se(e),i=Z(e,!0),o=ue(e);if(0===r.length&&0===i.length&&0===o.length)throw Se(e);return{kind:C.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:me(e,t)}}(e);case"interface":return function(e){var t=e.token;ke(e,"extend"),ke(e,"interface");var n=R(e),r=Z(e,!0),i=ue(e);if(0===r.length&&0===i.length)throw Se(e);return{kind:C.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:me(e,t)}}(e);case"union":return function(e){var t=e.token;ke(e,"extend"),ke(e,"union");var n=R(e),r=Z(e,!0),i=he(e);if(0===r.length&&0===i.length)throw Se(e);return{kind:C.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:me(e,t)}}(e);case"enum":return function(e){var t=e.token;ke(e,"extend"),ke(e,"enum");var n=R(e),r=Z(e,!0),i=de(e);if(0===r.length&&0===i.length)throw Se(e);return{kind:C.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:me(e,t)}}(e);case"input":return function(e){var t=e.token;ke(e,"extend"),ke(e,"input");var n=R(e),r=Z(e,!0),i=ve(e);if(0===r.length&&0===i.length)throw Se(e);return{kind:C.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:me(e,t)}}(e)}throw Se(e,t)}(e)}else{if(_e(e,g.BRACE_L))return F(e);if(ie(e))return re(e)}throw Se(e)}function F(e){if(_e(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return q(e);case"fragment":return function(e){var t=e.token;if(ke(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:C.a.FRAGMENT_DEFINITION,name:J(e),variableDefinitions:L(e),typeCondition:(ke(e,"on"),ne(e)),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)};return{kind:C.a.FRAGMENT_DEFINITION,name:J(e),typeCondition:(ke(e,"on"),ne(e)),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}(e)}else if(_e(e,g.BRACE_L))return q(e);throw Se(e)}function q(e){var t=e.token;if(_e(e,g.BRACE_L))return{kind:C.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:B(e),loc:me(e,t)};var n,r=D(e);return _e(e,g.NAME)&&(n=R(e)),{kind:C.a.OPERATION_DEFINITION,operation:r,name:n,variableDefinitions:L(e),directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}function D(e){var t=we(e,g.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw Se(e,t)}function L(e){return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,Q,g.PAREN_R):[]}function Q(e){var t=e.token;return{kind:C.a.VARIABLE_DEFINITION,variable:V(e),type:(we(e,g.COLON),te(e)),defaultValue:ge(e,g.EQUALS)?K(e,!0):void 0,directives:Z(e,!0),loc:me(e,t)}}function V(e){var t=e.token;return we(e,g.DOLLAR),{kind:C.a.VARIABLE,name:R(e),loc:me(e,t)}}function B(e){var t=e.token;return{kind:C.a.SELECTION_SET,selections:xe(e,g.BRACE_L,U,g.BRACE_R),loc:me(e,t)}}function U(e){return _e(e,g.SPREAD)?function(e){var t=e.token;we(e,g.SPREAD);var n=Oe(e,"on");if(!n&&_e(e,g.NAME))return{kind:C.a.FRAGMENT_SPREAD,name:J(e),directives:Z(e,!1),loc:me(e,t)};return{kind:C.a.INLINE_FRAGMENT,typeCondition:n?ne(e):void 0,directives:Z(e,!1),selectionSet:B(e),loc:me(e,t)}}(e):function(e){var t,n,r=e.token,i=R(e);ge(e,g.COLON)?(t=i,n=R(e)):n=i;return{kind:C.a.FIELD,alias:t,name:n,arguments:z(e,!1),directives:Z(e,!1),selectionSet:_e(e,g.BRACE_L)?B(e):void 0,loc:me(e,r)}}(e)}function z(e,t){var n=t?G:H;return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,n,g.PAREN_R):[]}function H(e){var t=e.token;return{kind:C.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),K(e,!1)),loc:me(e,t)}}function G(e){var t=e.token;return{kind:C.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),Y(e)),loc:me(e,t)}}function J(e){if("on"===e.token.value)throw Se(e);return R(e)}function K(e,t){var n=e.token;switch(n.kind){case g.BRACKET_L:return function(e,t){var n=e.token,r=t?Y:$;return{kind:C.a.LIST,values:Ee(e,g.BRACKET_L,r,g.BRACKET_R),loc:me(e,n)}}(e,t);case g.BRACE_L:return function(e,t){var n=e.token;we(e,g.BRACE_L);var r=[];for(;!ge(e,g.BRACE_R);)r.push(X(e,t));return{kind:C.a.OBJECT,fields:r,loc:me(e,n)}}(e,t);case g.INT:return e.advance(),{kind:C.a.INT,value:n.value,loc:me(e,n)};case g.FLOAT:return e.advance(),{kind:C.a.FLOAT,value:n.value,loc:me(e,n)};case g.STRING:case g.BLOCK_STRING:return W(e);case g.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:C.a.BOOLEAN,value:"true"===n.value,loc:me(e,n)}):"null"===n.value?(e.advance(),{kind:C.a.NULL,loc:me(e,n)}):(e.advance(),{kind:C.a.ENUM,value:n.value,loc:me(e,n)});case g.DOLLAR:if(!t)return V(e)}throw Se(e)}function W(e){var t=e.token;return e.advance(),{kind:C.a.STRING,value:t.value,block:t.kind===g.BLOCK_STRING,loc:me(e,t)}}function Y(e){return K(e,!0)}function $(e){return K(e,!1)}function X(e,t){var n=e.token;return{kind:C.a.OBJECT_FIELD,name:R(e),value:(we(e,g.COLON),K(e,t)),loc:me(e,n)}}function Z(e,t){for(var n=[];_e(e,g.AT);)n.push(ee(e,t));return n}function ee(e,t){var n=e.token;return we(e,g.AT),{kind:C.a.DIRECTIVE,name:R(e),arguments:z(e,t),loc:me(e,n)}}function te(e){var t,n=e.token;return ge(e,g.BRACKET_L)?(t=te(e),we(e,g.BRACKET_R),t={kind:C.a.LIST_TYPE,type:t,loc:me(e,n)}):t=ne(e),ge(e,g.BANG)?{kind:C.a.NON_NULL_TYPE,type:t,loc:me(e,n)}:t}function ne(e){var t=e.token;return{kind:C.a.NAMED_TYPE,name:R(e),loc:me(e,t)}}function re(e){var t=ie(e)?e.lookahead():e.token;if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;ke(e,"schema");var n=Z(e,!0),r=xe(e,g.BRACE_L,ae,g.BRACE_R);return{kind:C.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:me(e,t)}}(e);case"scalar":return function(e){var t=e.token,n=oe(e);ke(e,"scalar");var r=R(e),i=Z(e,!0);return{kind:C.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:me(e,t)}}(e);case"type":return function(e){var t=e.token,n=oe(e);ke(e,"type");var r=R(e),i=se(e),o=Z(e,!0),a=ue(e);return{kind:C.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a,loc:me(e,t)}}(e);case"interface":return function(e){var t=e.token,n=oe(e);ke(e,"interface");var r=R(e),i=Z(e,!0),o=ue(e);return{kind:C.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:me(e,t)}}(e);case"union":return function(e){var t=e.token,n=oe(e);ke(e,"union");var r=R(e),i=Z(e,!0),o=he(e);return{kind:C.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:me(e,t)}}(e);case"enum":return function(e){var t=e.token,n=oe(e);ke(e,"enum");var r=R(e),i=Z(e,!0),o=de(e);return{kind:C.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:me(e,t)}}(e);case"input":return function(e){var t=e.token,n=oe(e);ke(e,"input");var r=R(e),i=Z(e,!0),o=ve(e);return{kind:C.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:me(e,t)}}(e);case"directive":return function(e){var t=e.token,n=oe(e);ke(e,"directive"),we(e,g.AT);var r=R(e),i=le(e);ke(e,"on");var o=function(e){ge(e,g.PIPE);var t=[];do{t.push(ye(e))}while(ge(e,g.PIPE));return t}(e);return{kind:C.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:me(e,t)}}(e)}throw Se(e,t)}function ie(e){return _e(e,g.STRING)||_e(e,g.BLOCK_STRING)}function oe(e){if(ie(e))return W(e)}function ae(e){var t=e.token,n=D(e);we(e,g.COLON);var r=ne(e);return{kind:C.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:me(e,t)}}function se(e){var t=[];if(Oe(e,"implements")){ge(e,g.AMP);do{t.push(ne(e))}while(ge(e,g.AMP)||e.options.allowLegacySDLImplementsInterfaces&&_e(e,g.NAME))}return t}function ue(e){return e.options.allowLegacySDLEmptyFields&&_e(e,g.BRACE_L)&&e.lookahead().kind===g.BRACE_R?(e.advance(),e.advance(),[]):_e(e,g.BRACE_L)?xe(e,g.BRACE_L,ce,g.BRACE_R):[]}function ce(e){var t=e.token,n=oe(e),r=R(e),i=le(e);we(e,g.COLON);var o=te(e),a=Z(e,!0);return{kind:C.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a,loc:me(e,t)}}function le(e){return _e(e,g.PAREN_L)?xe(e,g.PAREN_L,fe,g.PAREN_R):[]}function fe(e){var t=e.token,n=oe(e),r=R(e);we(e,g.COLON);var i,o=te(e);ge(e,g.EQUALS)&&(i=Y(e));var a=Z(e,!0);return{kind:C.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:i,directives:a,loc:me(e,t)}}function he(e){var t=[];if(ge(e,g.EQUALS)){ge(e,g.PIPE);do{t.push(ne(e))}while(ge(e,g.PIPE))}return t}function de(e){return _e(e,g.BRACE_L)?xe(e,g.BRACE_L,pe,g.BRACE_R):[]}function pe(e){var t=e.token,n=oe(e),r=R(e),i=Z(e,!0);return{kind:C.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:me(e,t)}}function ve(e){return _e(e,g.BRACE_L)?xe(e,g.BRACE_L,fe,g.BRACE_R):[]}function ye(e){var t=e.token,n=R(e);if(N.hasOwnProperty(n.value))return n;throw Se(e,t)}function me(e,t){if(!e.options.noLocation)return new be(t,e.lastToken,e.source)}function be(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function _e(e,t){return e.token.kind===t}function ge(e,t){return e.token.kind===t&&(e.advance(),!0)}function we(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw d(e.source,n.start,"Expected ".concat(t,", found ").concat(w(n)))}function Oe(e,t){var n=e.token;return n.kind===g.NAME&&n.value===t&&(e.advance(),!0)}function ke(e,t){if(!Oe(e,t))throw d(e.source,e.token.start,'Expected "'.concat(t,'", found ').concat(w(e.token)))}function Se(e,t){var n=t||e.token;return d(e.source,n.start,"Unexpected ".concat(w(n)))}function Ee(e,t,n,r){we(e,t);for(var i=[];!ge(e,r);)i.push(n(e));return i}function xe(e,t,n,r){we(e,t);for(var i=[n(e)];!ge(e,r);)i.push(n(e));return i}n.d(t,"parse",function(){return I}),n.d(t,"parseValue",function(){return A}),n.d(t,"parseType",function(){return j}),n.d(t,"parseConstValue",function(){return Y}),n.d(t,"parseTypeReference",function(){return te}),n.d(t,"parseNamedType",function(){return ne}),o(be,function(){return{start:this.start,end:this.end}})},,,function(e,t,n){"use strict";var r=n(292),i=n(392),o=n.n(i).a,a="Invariant Violation",s=Object.setPrototypeOf,u=void 0===s?function(e,t){return e.__proto__=t,e}:s,c=function(e){function t(n){void 0===n&&(n=a);var r=e.call(this,"number"==typeof n?a+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=a,u(r,t.prototype),r}return Object(r.__extends)(t,e),t}(Error);function l(e,t){if(!e)throw new c(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=r)&&(i?i(n,t):!!n)}}(i),o}return Object(r.__extends)(t,e),t.prototype.request=function(e,t){var n=new O(e,t,this.delayFor,this.retryIf);return n.start(),new o(function(e){return n.subscribe(e),function(){n.unsubscribe(e)}})},t}(g)},,,,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=n(292),a=n(275);function s(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(e)}]}}function u(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return u(e[0]);var t=[];return Object.keys(e).forEach(function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:u(e[n])||void 0};t.push(r)}),{kind:"SelectionSet",selections:t}}var c,l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},f=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:l})}catch(e){}var a=o&&o.__typename||"__ClientData",c=Object.assign({__typename:a},i);this.writeFragment({id:r,fragment:(t=c,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(t)}]}),data:c})}else this.writeQuery({query:s(i),data:i})},e}();c||(c={});var h=n(493),d=n(357);n.d(t,"a",function(){return D});var p=new Map;if(p.set(1,2)!==p){var v=p.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return y&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new d.a}),i&&Object(a.isEqual)(i,v.result)&&(v.result=i),{result:v.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,s=void 0===o?C:o,u=Object(a.getMainDefinition)(t),c=Object(a.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(a.createFragmentMap)(c),contextValue:r,variableValues:i,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:n,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,i=e.execContext,s=i.fragmentMap,u=i.contextValue,c=i.variableValues,l={result:null},f=[],h=u.store.get(r.id),p=h&&h.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach(function(e){var n;if(Object(a.shouldInclude)(e,c))if(Object(a.isField)(e)){var l=v(t.executeField(h,p,e,i));void 0!==l&&f.push(((n={})[Object(a.resultKeyNameFromField)(e)]=l,n))}else{var y=void 0;if(Object(a.isInlineFragment)(e))y=e;else if(!(y=s[e.name.value]))throw new d.a;var m=y.typeCondition.name.value,b=i.fragmentMatcher(r,m,u);if(b){var _=t.executeSelectionSet({selectionSet:y.selectionSet,rootValue:r,execContext:i});"heuristic"===b&&_.missing&&(_=Object(o.__assign)({},_,{missing:_.missing.map(function(e){return Object(o.__assign)({},e,{tolerable:!0})})})),f.push(v(_))}}}),l.result=Object(a.mergeDeepArray)(f),l},e.prototype.executeField=function(e,t,n,r){var i=r.variableValues,o=r.contextValue,s=function(e,t,n,r,i,o){o.resultKey;var s=o.directives,u=n;(r||s)&&(u=Object(a.getStoreKeyName)(u,r,s));var c=void 0;if(e&&void 0===(c=e[u])&&i.cacheRedirects&&"string"==typeof t){var l=i.cacheRedirects[t];if(l){var f=l[n];f&&(c=f(e,r,{getCacheKey:function(e){return Object(a.toIdValue)({id:i.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(a.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,n.name.value,Object(a.argumentsObjectFromField)(n,i),o,{resultKey:Object(a.resultKeyNameFromField)(n),directives:Object(a.getDirectiveInfoFromField)(n,i)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(n,s.result,r)):n.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:s.result,execContext:r})):(T(n,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var M={fragmentMatcher:new O,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var F=Object.prototype.hasOwnProperty,q=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(o.__extends)(t,e),t.prototype.toObject=function(){return Object(o.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return F.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(N),D=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new k,n.silenceBroadcast=!1,n.config=Object(o.__assign)({},M,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new E:new N,n.optimisticData=n.data,n.storeReader=new P(n.cacheKeyRoot),n.storeWriter=new A;var r=n,i=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(h.wrap)(function(e){return i.call(n,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof E?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(o.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new d.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof q;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new q(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(a.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(f)},,function(e,t,n){"use strict";var r=n(303),i=n(275),o=n(490),a=n(333),s={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;n.d(t,"a",function(){return h});var c,l=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=o.graphql,h=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,n=e.cache,o=e.typeDefs,c=e.fragmentMatcher;return n&&t&&n.writeData({data:t}),new(function(h){function d(){return null!==h&&h.apply(this,arguments)||this}return l(d,h),d.prototype.writeDefaults=function(){n&&t&&n.writeData({data:t})},d.prototype.request=function(n,l){if(void 0===l&&(l=function(){return r.b.of({data:{}})}),o){var h=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(a.print)(e)}).map(function(e){return e.trim()}).join("\n")}(o);n.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:h,directives:"directive @client on FIELD"}])}})}if(!Object(i.hasDirectives)(["client"],n.query))return l(n);var d,p="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(i.checkDocument)(e);var n=Object(i.removeDirectivesFromDocument)([s],e);return u.set(e,n),n}(n.query),y=n.query,m=(d=(Object(i.getMainDefinition)(y)||{}).operation).charAt(0).toUpperCase()+d.slice(1)||"Query",b=function(e,n,r,i,o){void 0===n&&(n={});var a=o.resultKey,s=n[a],u=n[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=p[n.__typename||m];if(l){var f=l[e];if(f)return f(n,r,i,o)}return(c?s:u)||(t||{})[e]};v&&(n.query=v);var _=v&&l?l(n):r.b.of({data:{}});return new r.b(function(e){var t=!1,r=!1;_.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=n.getContext();r=!0,f(b,y,o,u,n.variables,{fragmentMatcher:c}).then(function(n){e.next({data:n,errors:a}),t&&e.complete(),r=!1}).catch(s)},error:e.error.bind(e),complete:function(){r||e.complete(),t=!0}})})},d}(r.a))}},function(e,t,n){"use strict";var r=n(303),i=n(333),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=300&&s(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||s(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName)+"'."),t})})).then(function(e){return n.next(e),n.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))}),function(){b&&b.abort()}})})};var h=function(e){function t(t){return e.call(this,f(t).request)||this}return function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(r.a)},,function(e,t,n){"use strict";var r=n(292),i=n(275),o=n(303),a=n(393),s=n(357),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var c,l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey(),i=function(e){return n.inFlightRequestObservables.delete(e),n.subscribers.get(e)};if(!this.inFlightRequestObservables.get(r)){var a,s=t(e),u=new o.b(function(e){var t=n.subscribers.get(r);return t||(t={next:[],error:[],complete:[]}),n.subscribers.set(r,{next:t.next.concat([e.next.bind(e)]),error:t.error.concat([e.error.bind(e)]),complete:t.complete.concat([e.complete.bind(e)])}),a||(a=s.subscribe({next:function(e){var t=i(r);n.subscribers.delete(r),t&&(t.next.forEach(function(t){return t(e)}),t.complete.forEach(function(e){return e()}))},error:function(e){var t=i(r);n.subscribers.delete(r),t&&t.error.forEach(function(t){return t(e)})}})),function(){a&&a.unsubscribe(),n.inFlightRequestObservables.delete(r)}});this.inFlightRequestObservables.set(r,u)}return this.inFlightRequestObservables.get(r)},t}(o.a),f=n(356);function h(e){return e<7}n.d(t,"a",function(){return E}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(c||(c={}));var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype[a.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.b);var p,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var n=e?e.message:"Error message not found.";t+="GraphQL error: "+n+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},y=function(e){function t(n){var r=n.graphQLErrors,i=n.networkError,o=n.errorMessage,a=n.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=r||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(r.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(p||(p={}));var m=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=o,a.queryManager=n,a.observers=[],a.subscriptionHandles=[],a}return Object(r.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r,i={next:function(n){t(n),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:function(e){n(e)}};r=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:c.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new y({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var o,a=this.queryManager.getCurrentQueryResult(this),s=a.data,u=a.partial,l=!n||n.networkStatus===c.loading,f="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,d={data:s,loading:h(o=n?n.networkStatus:f?c.loading:c.ready),networkStatus:o};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(d.errors=n.graphQLErrors),u||(this.lastResult=Object(r.__assign)({},d,{stale:!1}),this.lastResultSnapshot=Object(i.cloneDeep)(this.lastResult)),Object(r.__assign)({},d,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(i.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(i.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(i.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,o=Object(r.__assign)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,o,p.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,n=this;return Object(s.b)(e.updateQuery),Promise.resolve().then(function(){var i=n.queryManager.generateQueryId();return(t=e.query?e:Object(r.__assign)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(i,t,p.normal,n.queryId)}).then(function(r){return n.updateQuery(function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})}),r})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery(function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var o=e||this.variables;return Object(i.isEqual)(o,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(r.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,o=t.document,a=Object(i.tryFunctionOrLogError)(function(){return e(n,{variables:r})});a&&(this.queryManager.dataStore.markUpdateQueryResult(o,r,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){b(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(b(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(i.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(d);function b(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var _=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(i.isEqual)(t.document,e.document))throw new s.a;var n,r=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==c.loading&&(Object(i.isEqual)(t.variables,e.variables)||(r=!0,o=t.variables)),n=r?c.setVariables:e.isPoll?c.poll:e.isRefetch?c.refetch:c.loading;var a=[];t&&t.graphQLErrors&&(a=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:a,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=c.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=c.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=c.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=c.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?c.ready:c.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,n){return e[n]=Object(r.__assign)({},t.store[n],{networkStatus:c.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(i.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(i.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(r.__awaiter)(this,void 0,void 0,function(){return Object(r.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then(function(e){return Object(r.__assign)({},n,{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(i.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(i.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(r.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(r.__awaiter)(this,void 0,void 0,function(){return Object(r.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return Object(r.__assign)({},t,e.exportedVariables)})]:[2,Object(r.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(f.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return f.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(i.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,o,a,s){return void 0===n&&(n={}),void 0===o&&(o={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(r.__awaiter)(this,void 0,void 0,function(){var u,c,l,f,h,d,p,v,y;return Object(r.__generator)(this,function(m){var b;return u=Object(i.getMainDefinition)(e),c=Object(i.getFragmentDefinitions)(e),l=Object(i.createFragmentMap)(c),f=u.operation,h=f?(b=f).charAt(0).toUpperCase()+b.slice(1):"Query",p=(d=this).cache,v=d.client,y={fragmentMap:l,context:Object(r.__assign)({},n,{cache:p,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:h,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n){return Object(r.__awaiter)(this,void 0,void 0,function(){var o,a,u,c,l,f=this;return Object(r.__generator)(this,function(h){return o=n.fragmentMap,a=n.context,u=n.variables,c=[t],l=function(e){return Object(r.__awaiter)(f,void 0,void 0,function(){var l,f;return Object(r.__generator)(this,function(r){return Object(i.shouldInclude)(e,u)?Object(i.isField)(e)?[2,this.resolveField(e,t,n).then(function(t){var n;void 0!==t&&c.push(((n={})[Object(i.resultKeyNameFromField)(e)]=t,n))})]:(Object(i.isInlineFragment)(e)?l=e:(l=o[e.name.value],Object(s.b)(l)),l&&l.typeCondition&&(f=l.typeCondition.name.value,n.fragmentMatcher(t,f,a))?[2,this.resolveSelectionSet(l.selectionSet,t,n).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(i.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,n){return Object(r.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,h,d,p=this;return Object(r.__generator)(this,function(r){return o=n.variables,a=e.name.value,s=Object(i.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(f=t.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[u?a:s])&&(l=Promise.resolve(d(t,Object(i.argumentsObjectFromField)(e,o),n.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,n):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0}))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,a=e.onBroadcast,s=void 0===a?function(){}:a,u=e.ssrMode,c=void 0!==u&&u,f=e.clientAwareness,h=void 0===f?{}:f,d=e.localState;this.mutationStore=new _,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=o.a.from([new l,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=s,this.clientAwareness=h,this.localState=d||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,a=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,v=e.errorPolicy,m=void 0===v?"none":v,b=e.fetchPolicy,_=e.context,g=void 0===_?{}:_;return Object(r.__awaiter)(this,void 0,void 0,function(){var e,c,f,v,_,w=this;return Object(r.__generator)(this,function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!b||"no-cache"===b),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),n=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getMutationDefinition)(t)),n),this.setQuery(e,function(){return{document:t}}),f=function(){var e={};return u&&Object.keys(u).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(n){e[n]={updater:u[t],query:w.queryStore.get(n)}})}),e},Object(i.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,n,g)]:[3,2];case 1:return _=O.sent(),[3,3];case 2:_=n,O.label=3;case 3:return v=_,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:f(),update:p,optimisticResponse:a}),this.broadcastQueries(),[2,new Promise(function(n,s){var u,c,_=w.buildOperationForLink(t,v,Object(r.__assign)({},g,{optimisticResponse:a})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:a}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],n=0,r=l;n=(n||1)&&(N.queryStore.markQueryError(e,t,o),N.invalidate(!0,e,o),N.broadcastQueries()),new y({networkError:t})}),"cache-and-network"!==f)return[2,C];C.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,n){var i=this,o=!1;return function(a,s,u){return Object(r.__awaiter)(i,void 0,void 0,function(){var i,c,l,f,d,p,v,m,b,_,g,w,O,k,S,E,x,P,T,C;return Object(r.__generator)(this,function(N){switch(N.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(i=this.getQuery(e).observableQuery,"standby"===(c=i?i.options.fetchPolicy:t.fetchPolicy))return[2];if(l=i?i.options.errorPolicy:t.errorPolicy,f=i?i.getLastResult():null,d=i?i.getLastError():null,p=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(f&&a.networkStatus!==f.networkStatus),m=l&&(d&&d.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!h(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(b=new y({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,n.error)try{n.error(b)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw b},0);return[2]}N.label=1;case 1:if(N.trys.push([1,7,,8]),_=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),_=s.result,g=!s.complete||!1):f&&f.data&&!m?(_=f.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),_=O.result,g=!O.complete),k=void 0,k=g&&"cache-only"!==c?{data:f&&f.data,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:_,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(k.errors=a.graphQLErrors),!n.next)return[3,6];if(!o&&i&&!i.isDifferentFromLastResult(k))return[3,6];N.label=2;case 2:return N.trys.push([2,5,,6]),u?(S=t.query,E=t.variables,x=t.context,[4,this.localState.runResolvers({document:S,remoteResult:k,context:x,variables:E,onlyRunForcedResolvers:u})]):[3,4];case 3:P=N.sent(),k=Object(r.__assign)({},k,P),N.label=4;case 4:return n.next(k),[3,6];case 5:return T=N.sent(),setTimeout(function(){throw T},0),[3,6];case 6:return o=!1,[3,8];case 7:return C=N.sent(),o=!0,n.error&&n.error(new y({networkError:C})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var n=Object(i.getQueryDefinition)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var o=Object(i.getDefaultValues)(n);e.variables=Object(i.assign)({},o,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(r.__assign)({},e);return new m({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise(function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var n=Object(i.getQueryDefinition)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var o=Object(i.getQueryDefinition)(n.options.query),a=o.name?o.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(n.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,n){t.observableQuery&&e.push(n)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,a=e.query,s=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(a),c=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getOperationDefinition)(a)),e.variables),l=c,f=[],h=this.localState.clientQuery(u);return new d(function(e){if(f.push(e),1===f.length){var a=0,p=!1,v={next:function(e){return Object(r.__awaiter)(n,void 0,void 0,function(){var t;return Object(r.__generator)(this,function(n){switch(n.label){case 0:return a+=1,t=e,h&&Object(i.hasDirectives)(["client"],h)?[4,this.localState.runResolvers({document:h,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return s&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),f.forEach(function(e){Object(i.graphQLResultHasError)(t)&&e.error?e.error(new y({graphQLErrors:t.errors})):e.next&&e.next(t),a-=1}),0===a&&p&&v.complete(),[2]}})})},error:function(e){f.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===a&&f.forEach(function(e){e.complete&&e.complete()}),p=!0}};Object(r.__awaiter)(n,void 0,void 0,function(){var e,n,a,s;return Object(r.__generator)(this,function(r){switch(r.label){case 0:return Object(i.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return n=r.sent(),[3,3];case 2:n=c,r.label=3;case 3:return e=n,(a=this.localState.serverQuery(u))?(s=this.buildOperationForLink(a,e),t=Object(o.c)(this.link,s).subscribe(v)):t=d.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(f=f.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(s.b)(n),t=n}else t=e;var r=t.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(n,r){n.invalidated&&n.listeners&&n.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(r),n.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach(function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),n},e.prototype.fetchRequest=function(e){var t,n,a=this,s=e.requestId,u=e.queryId,l=e.document,f=e.options,h=e.fetchMoreForQueryId,p=f.variables,v=f.context,m=f.errorPolicy,b=void 0===m?"none":m,_=f.fetchPolicy;return new Promise(function(e,f){var m,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var k=a.buildOperationForLink(O,p,Object(r.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=k.context,m=Object(o.c)(a.deduplicator,k)}else g=a.prepareContext(v),m=d.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,f);var S=!1,E=!0,x={next:function(e){return Object(r.__awaiter)(a,void 0,void 0,function(){var o,a;return Object(r.__generator)(this,function(r){switch(r.label){case 0:return E=!0,o=e,a=this.getQuery(u).lastRequestId,s>=(a||1)?w&&Object(i.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:p}).catch(function(t){return E=!1,f(t),e})]:[3,2]:[3,3];case 1:o=r.sent(),r.label=2;case 2:if("no-cache"!==_)try{this.dataStore.markQueryResult(o,l,p,h,"ignore"===b||"all"===b)}catch(e){return E=!1,f(e),[2]}else this.setQuery(u,function(){return{newData:{result:o.data,complete:!0}}});this.queryStore.markQueryResult(u,o,h),this.invalidate(!0,u,h),this.broadcastQueries(),r.label=3;case 3:if(o.errors&&"none"===b)return E=!1,f(new y({graphQLErrors:o.errors})),[2];if("all"===b&&(n=o.errors),h||"no-cache"===_)t=o.data;else try{t=this.dataStore.getCache().read({variables:p,query:l,optimistic:!1})}catch(e){}return E=!1,S&&x.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==P})}}),f(e)},complete:function(){E||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==P})}}),e({data:t,errors:n,loading:!1,networkStatus:c.ready,stale:!1})),S=!0}},P=m.subscribe(x);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([P])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),i=Object(r.__assign)({},n,t(n));this.queries.set(e,i)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,function(){return{invalidated:e}}),n&&this.setQuery(n,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(i.getOperationName)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(r.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==c.ready&&t.networkStatus!==c.error},e.prototype.startPollingQuery=function(e,t,n){var i=e.pollInterval;return Object(s.b)(i),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:i,lastPollTimeMs:Date.now()-10,options:Object(r.__assign)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(i)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,p.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),k=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,o){void 0===o&&(o=!1);var a=!Object(i.graphQLResultHasError)(e);o&&Object(i.graphQLResultHasError)(e)&&e.data&&(a=!0),!r&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(i.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(i.graphQLResultHasError)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(r){var o=e.updateQueries[r],a=o.query,s=o.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(i.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(i.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&n.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){n.forEach(function(t){return e.write(t)})});var r=e.update;r&&this.cache.performTransaction(function(t){Object(i.tryFunctionOrLogError)(function(){return r(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),S="2.5.1",E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,a=void 0!==r&&r,u=e.ssrForceFetchDelay,c=void 0===u?0:u,l=e.connectToDevTools,f=e.queryDeduplication,h=void 0===f||f,d=e.defaultOptions,p=e.resolvers,v=e.typeDefs,y=e.fragmentMatcher,m=e.name,b=e.version,_=e.link;if(!_&&p&&(_=o.a.empty()),!_||!n)throw new s.a;var g=new Map,O=new o.a(function(e,t){var n=g.get(e.query);return n||(n=Object(i.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,n),g.set(n,n)),e.query=n,t(e)});this.link=O.concat(_),this.cache=n,this.store=new k(n),this.disableNetworkFetches=a||c>0,this.queryDeduplication=h,this.ssrMode=a,this.defaultOptions=d||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=S,m&&(this.clientAwareness.name=m),b&&(this.clientAwareness.version=b),this.localState=new w({cache:n,client:this,resolvers:p,fragmentMatcher:y})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(r.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(r.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(r.__assign)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(r.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(r.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.c)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),f=n(266),h=n.n(f),d=n(265),p=n.n(d),v=["data","error","loading"],y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return function(e){function n(){var e;return i()(this,n),(e=u()(this,l()(n).call(this))).notifyingProps=t,e}return p()(n,e),a()(n,[{key:"notify",value:function(e,t){this.dispatchEvent(new CustomEvent("".concat(e,"-changed"),{bubbles:!0,composed:!0,detail:{value:t}}))}},{key:"update",value:function(e){var t=this;h()(l()(n.prototype),"update",this).call(this,e),this.notifyingProps.forEach(function(n){return e.has(n)&&t.notify(n,t[n])})}}]),n}(e)}(n(364).a,["called","data","error","loading"]);customElements.define("apollo-mutation",y)}])]); -//# sourceMappingURL=5.e718f3d77bd3a1a8c2e9.js.map \ No newline at end of file diff --git a/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js.LICENSE b/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js.LICENSE deleted file mode 100644 index 13ba00b20..000000000 --- a/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js.LICENSE +++ /dev/null @@ -1,129 +0,0 @@ -/** @license ISC License (c) copyright 2016 original and current authors */ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** @license ISC License (c) copyright 2017 original and current authors */ - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -/** - * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** @license ISC License (c) copyright 2018 original and current authors */ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 Vaadin Ltd. -This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ -*/ diff --git a/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js.map b/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js.map deleted file mode 100644 index fab5afb88..000000000 --- a/packages/ui/dist/5.e718f3d77bd3a1a8c2e9.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"5.e718f3d77bd3a1a8c2e9.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/6.95d8992691928e6c2557.js b/packages/ui/dist/6.95d8992691928e6c2557.js deleted file mode 100644 index a4935b700..000000000 --- a/packages/ui/dist/6.95d8992691928e6c2557.js +++ /dev/null @@ -1,23 +0,0 @@ -/*! For license information please see 6.95d8992691928e6c2557.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{268:function(e,t,r){"use strict";r.d(t,"d",function(){return o}),r.d(t,"a",function(){return i}),r.d(t,"b",function(){return s}),r.d(t,"c",function(){return u});var n,i,o=!(window.ShadyDOM&&window.ShadyDOM.inUse);function a(e){n=(!e||!e.shimcssproperties)&&(o||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild);var s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?n=window.ShadyCSS.nativeCss:window.ShadyCSS?(a(window.ShadyCSS),window.ShadyCSS=void 0):a(window.WebComponents&&window.WebComponents.flags);var u=n},270:function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"getDirectiveInfoFromField",function(){return E}),r.d(t,"shouldInclude",function(){return S}),r.d(t,"getDirectiveNames",function(){return P}),r.d(t,"hasDirectives",function(){return x}),r.d(t,"hasClientExports",function(){return T}),r.d(t,"getFragmentQueryDocument",function(){return C}),r.d(t,"getMutationDefinition",function(){return I}),r.d(t,"checkDocument",function(){return N}),r.d(t,"getOperationDefinition",function(){return A}),r.d(t,"getOperationDefinitionOrDie",function(){return j}),r.d(t,"getOperationName",function(){return R}),r.d(t,"getFragmentDefinitions",function(){return M}),r.d(t,"getQueryDefinition",function(){return F}),r.d(t,"getFragmentDefinition",function(){return D}),r.d(t,"getMainDefinition",function(){return L}),r.d(t,"createFragmentMap",function(){return q}),r.d(t,"getDefaultValues",function(){return Q}),r.d(t,"variablesInOperation",function(){return V}),r.d(t,"removeDirectivesFromDocument",function(){return G}),r.d(t,"addTypenameToDocument",function(){return $}),r.d(t,"removeConnectionDirectiveFromDocument",function(){return J}),r.d(t,"getDirectivesFromDocument",function(){return X}),r.d(t,"removeArgumentsFromDocument",function(){return Z}),r.d(t,"removeFragmentSpreadFromDocument",function(){return ee}),r.d(t,"buildQueryFromSelectionSet",function(){return te}),r.d(t,"removeClientSetsFromDocument",function(){return re}),r.d(t,"isScalarValue",function(){return u}),r.d(t,"isNumberValue",function(){return c}),r.d(t,"valueToObjectRepresentation",function(){return l}),r.d(t,"storeKeyNameFromField",function(){return h}),r.d(t,"getStoreKeyName",function(){return f}),r.d(t,"argumentsObjectFromField",function(){return p}),r.d(t,"resultKeyNameFromField",function(){return v}),r.d(t,"isField",function(){return m}),r.d(t,"isInlineFragment",function(){return y}),r.d(t,"isIdValue",function(){return _}),r.d(t,"toIdValue",function(){return b}),r.d(t,"isJsonValue",function(){return g}),r.d(t,"valueFromNode",function(){return O}),r.d(t,"assign",function(){return k}),r.d(t,"cloneDeep",function(){return ie}),r.d(t,"getEnv",function(){return oe}),r.d(t,"isEnv",function(){return ae}),r.d(t,"isProduction",function(){return se}),r.d(t,"isDevelopment",function(){return ue}),r.d(t,"isTest",function(){return ce}),r.d(t,"tryFunctionOrLogError",function(){return le}),r.d(t,"graphQLResultHasError",function(){return he}),r.d(t,"isEqual",function(){return de}),r.d(t,"maybeDeepFreeze",function(){return fe}),r.d(t,"mergeDeep",function(){return ve}),r.d(t,"mergeDeepArray",function(){return me}),r.d(t,"warnOnceInDevelopment",function(){return we}),r.d(t,"stripSymbols",function(){return Oe});var n=r(288),i=r(290),o=r(280),a=r(338),s=r.n(a);function u(e){return["StringValue","BooleanValue","EnumValue"].indexOf(e.kind)>-1}function c(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function l(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map(function(e){return l(o,e.name,e.value,n)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(n||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,n),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.a;e[t.value]=null}}function h(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),f(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export"];function f(e,t,r){if(r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i=t,o={};return n.forEach(function(e){o[e]=i[e]}),r.connection.key+"("+JSON.stringify(o)+")"}return r.connection.key}var a=e;if(t){var u=s()(t);a+="("+u+")"}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@"+e+"("+JSON.stringify(r[e])+")":a+="@"+e)}),a}function p(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){var n=e.name,i=e.value;return l(r,n,i,t)}),r}return null}function v(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function y(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function b(e,t){return void 0===t&&(t=!1),Object(o.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function g(e){return null!=e&&"object"==typeof e&&"json"===e.type}function w(e){throw new i.a}function O(e,t){switch(void 0===t&&(t=w),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return O(e,t)});case"ObjectValue":for(var r={},n=0,i=e.fields;n-1})}function T(e){return e&&x(["client"],e)&&x(["export"],e)}function C(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new i.a;"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&(Object(i.b)(1===n.length),r=n[0].name.value),Object(o.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}].concat(e.definitions)})}function k(e){for(var t=[],r=1;r1){var n=[];t=be(t,n);for(var i=1;i"function"==typeof e&&n.has(e),o=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,a=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;n!==r;){var i=n.nextSibling;e.removeChild(n),n=i}},s={},u={},c=`{{lit-${String(Math.random()).slice(2)}}}`,l=`\x3c!--${c}--\x3e`,h=new RegExp(`${c}|${l}`),d="$lit$";class f{constructor(e,t){this.parts=[],this.element=t;var r=-1,n=0,i=[],o=t=>{for(var a=t.content,s=document.createTreeWalker(a,133,null,!1),u=0;s.nextNode();){r++;var l=s.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var f=l.attributes,p=0,y=0;y=0&&p++;for(;p-- >0;){var _=e.strings[n],b=m.exec(_)[2],g=b.toLowerCase()+d,w=l.getAttribute(g).split(h);this.parts.push({type:"attribute",index:r,name:b,strings:w}),l.removeAttribute(g),n+=w.length-1}}"TEMPLATE"===l.tagName&&o(l)}else if(3===l.nodeType){var O=l.data;if(O.indexOf(c)>=0){for(var E=l.parentNode,S=O.split(h),P=S.length-1,x=0;x-1!==e.index,v=()=>document.createComment(""),m=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;class y{constructor(e,t,r){this._parts=[],this.template=e,this.processor=t,this.options=r}update(e){var t=0;for(var r of this._parts)void 0!==r&&r.setValue(e[t]),t++;for(var n of this._parts)void 0!==n&&n.commit()}_clone(){var e=o?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=this.template.parts,r=0,n=0,i=e=>{for(var o=document.createTreeWalker(e,133,null,!1),a=o.nextNode();rnull===e||!("object"==typeof e||"function"==typeof e);class g{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.startNode;a(this.startNode.parentNode,e.nextSibling,this.endNode)}}class E{constructor(e,t,r){if(this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this._pendingValue=e}commit(){for(;i(this._pendingValue);){var e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue!==s){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=s}}}class S extends g{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new P(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class P extends w{}var x=!1;try{var T={get capture(){return x=!0,!1}};window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){}class C{constructor(e,t,r){this.value=void 0,this._pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this._boundHandleEvent=(e=>this.handleEvent(e))}setValue(e){this._pendingValue=e}commit(){for(;i(this._pendingValue);){var e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue!==s){var t=this._pendingValue,r=this.value,n=null==t||null!=r&&(t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive),o=null!=t&&(null==r||n);n&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),o&&(this._options=k(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=s}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}var k=e=>e&&(x?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);var I=new class{handleAttributeExpressions(e,t,r,n){var i=t[0];return"."===i?new S(e,t.slice(1),r).parts:"@"===i?[new C(e,t.slice(1),n.eventContext)]:"?"===i?[new E(e,t.slice(1),r)]:new g(e,t,r).parts}handleTextExpression(e){return new O(e)}};function N(e){var t=A.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},A.set(e.type,t));var r=t.stringsArray.get(e.strings);if(void 0!==r)return r;var n=e.strings.join(c);return void 0===(r=t.keyString.get(n))&&(r=new f(e,e.getTemplateElement()),t.keyString.set(n,r)),t.stringsArray.set(e.strings,r),r}var A=new Map,j=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var R=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.parentNode.removeChild(e))}var D=e=>{for(var t=11===e.nodeType?0:1,r=document.createTreeWalker(e,M,null,!1);r.nextNode();)t++;return t},L=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t`${e}--${t}`,Q=!0;void 0===window.ShadyCSS?Q=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),Q=!1);var V=e=>t=>{var r=q(t.type,e),n=A.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},A.set(r,n));var i=n.stringsArray.get(t.strings);if(void 0!==i)return i;var o=t.strings.join(c);if(void 0===(i=n.keyString.get(o))){var a=t.getTemplateElement();Q&&window.ShadyCSS.prepareTemplateDom(a,e),i=new f(t,a),n.keyString.set(o,i)}return n.stringsArray.set(t.strings,i),i},B=["html","svg"],U=new Set,H=(e,t,r)=>{U.add(r);var n=e.querySelectorAll("style");if(0!==n.length){for(var i=document.createElement("style"),o=0;o{B.forEach(t=>{var r=A.get(q(t,e));void 0!==r&&r.keyString.forEach(e=>{var t=e.element.content,r=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{r.add(e)}),F(e,r)})})})(r),function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e.element.content,i=e.parts;if(null!=r)for(var o=document.createTreeWalker(n,M,null,!1),a=L(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===r&&(s=D(t),r.parentNode.insertBefore(t,r));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=L(i,a);return}a=L(i,a)}else n.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,r),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),F(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,r)};window.JSCompiler_renameProperty=((e,t)=>e);var z={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},G=(e,t)=>t!==e&&(t==t||e==e),$={attribute:!0,type:String,converter:z,reflect:!1,hasChanged:G},K=Promise.resolve(!0),J=1,Y=4,W=8,X=16,Z=32;class ee extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=K,this._hasConnectedResolver=void 0,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();var e=[];return this._classProperties.forEach((t,r)=>{var n=this._attributeNameForProperty(r,t);void 0!==n&&(this._attributeToPropertyMap.set(n,r),e.push(n))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var r="symbol"==typeof e?Symbol():`__${e}`;Object.defineProperty(this.prototype,e,{get(){return this[r]},set(t){var n=this[e];this[r]=t,this.requestUpdate(e,n)},configurable:!0,enumerable:!0})}}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,r=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(var n of r)this.createProperty(n,t[n])}}}static _attributeNameForProperty(e,t){var r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:G)(e,t)}static _propertyValueFromAttribute(e,t){var r=t.type,n=t.converter||z,i="function"==typeof n?n:n.fromAttribute;return i?i(e,r):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){var r=t.type,n=t.converter;return(n&&n.toAttribute||z.toAttribute)(e,r)}}initialize(){this._saveInstanceProperties()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){var r=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,r)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this._updateState=this._updateState|Z,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$,n=this.constructor,i=n._attributeNameForProperty(e,r);if(void 0!==i){var o=n._propertyValueToAttribute(t,r);if(void 0===o)return;this._updateState=this._updateState|W,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=this._updateState&~W}}_attributeToProperty(e,t){if(!(this._updateState&W)){var r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){var i=r._classProperties.get(n)||$;this._updateState=this._updateState|X,this[n]=r._propertyValueFromAttribute(t,i),this._updateState=this._updateState&~X}}}requestUpdate(e,t){var r=!0;if(void 0!==e&&!this._changedProperties.has(e)){var n=this.constructor,i=n._classProperties.get(e)||$;n._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.set(e,t),!0!==i.reflect||this._updateState&X||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):r=!1}return!this._hasRequestedUpdate&&r&&this._enqueueUpdate(),this.updateComplete}_enqueueUpdate(){return new Promise(function(e,t){var r,n,i;return this._updateState=this._updateState|Y,n=this._updatePromise,this._updatePromise=new Promise(e=>r=e),Promise.resolve(n).then(function(n){try{if(!this._hasConnected)return Promise.resolve(new Promise(e=>this._hasConnectedResolver=e)).then(function(e){try{return o.call(this)}catch(e){return t(e)}}.bind(this),t);function o(){if(null!=(i=this.performUpdate())&&"function"==typeof i.then)return Promise.resolve(i).then(function(e){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return r(!this._hasRequestedUpdate),e()}return n.call(this)}return o.call(this)}catch(e){return t(e)}}.bind(this),t)}.bind(this))}get _hasConnected(){return this._updateState&Z}get _hasRequestedUpdate(){return this._updateState&Y}get hasUpdated(){return this._updateState&J}performUpdate(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),this._updateState&J||(this._updateState=this._updateState|J,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~Y}get updateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0)}updated(e){}firstUpdated(e){}}ee.finalized=!0;ne((e,t)=>e.querySelector(t)),ne((e,t)=>e.querySelectorAll(t));var te=(e,t,r)=>{Object.defineProperty(t,r,e)},re=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});function ne(e){return t=>(r,n)=>{var i={get(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0};return void 0!==n?te(i,r,n):re(i,r)}}var ie="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol();r.d(t,"a",function(){return ae}),r.d(t,"b",function(){return R}),(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var oe=e=>e.flat?e.flat(1/0):function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0,i=t.length;n(e.add(t),e),new Set).forEach(e=>t.unshift(e)):e&&t.push(e);return t}initialize(){super.initialize(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?ie?this.renderRoot.adoptedStyleSheets=e.map(e=>e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){super.update(e);var t=this.render();t instanceof _&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{var t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){}}ae.finalized=!0,ae.render=((e,t,r)=>{var n=r.scopeName,i=j.has(t),o=t instanceof ShadowRoot&&Q&&e instanceof _,s=o&&!U.has(n),u=s?document.createDocumentFragment():t;if(((e,t,r)=>{var n=j.get(t);void 0===n&&(a(t,t.firstChild),j.set(t,n=new O(Object.assign({templateFactory:N},r))),n.appendInto(t)),n.setValue(e),n.commit()})(e,u,Object.assign({templateFactory:V(n)},r)),s){var c=j.get(u);j.delete(u),c.value instanceof y&&H(u,c.value.template,n),a(t,t.firstChild),t.appendChild(u),j.set(t,c)}!i&&o&&window.ShadyCSS.styleElement(t.host)})},278:function(e,t,r){"use strict";var n=r(323),i=r.n(n).a,o=r(287);r.d(t,"d",function(){return l}),r.d(t,"e",function(){return m}),r.d(t,"a",function(){return _}),r.d(t,"c",function(){return b}),r.d(t,"b",function(){return i});var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function u(e,t){return function(r,n){t(r,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,s)}u((n=n.apply(e,t||[])).next())})}function h(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function p(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(r=i[e](t)).value instanceof m?Promise.resolve(r.value.v).then(u,c):l(o[0][2],r)}catch(e){l(o[0][3],e)}var r}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function _(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function b(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=f(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,i,(t=e[r](t)).done,t.value)})}}}function g(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function O(e){return e&&e.__esModule?e:{default:e}}},281:function(e,t,r){"use strict";r.d(t,"g",function(){return n}),r.d(t,"f",function(){return i}),r.d(t,"h",function(){return o}),r.d(t,"a",function(){return a}),r.d(t,"e",function(){return s}),r.d(t,"b",function(){return u}),r.d(t,"c",function(){return c}),r.d(t,"d",function(){return l});var n=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,o=/(--[\w-]+)\s*([:,;)]|$)/gi,a=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,u=/\{[^}]*\}/g,c="(?:^|[^.#[:])",l="($|[.:[\\s>+~])"},284:function(e,t,r){var n=r(378).parse;function i(e){return e.replace(/[\s,]+/g," ").trim()}var o={},a={};var s=!0;var u=!1;function c(e){var t=i(e);if(o[t])return o[t];var r=n(e,{experimentalFragmentVariables:u});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");return r=function e(t,r){var n=Object.prototype.toString.call(t);if("[object Array]"===n)return t.map(function(t){return e(t,r)});if("[object Object]"!==n)throw new Error("Unexpected input.");r&&t.loc&&delete t.loc,t.loc&&(delete t.loc.startToken,delete t.loc.endToken);var i,o,a,s=Object.keys(t);for(i in s)s.hasOwnProperty(i)&&(o=t[s[i]],"[object Object]"!==(a=Object.prototype.toString.call(o))&&"[object Array]"!==a||(t[s[i]]=e(o,!0)));return t}(r=function(e){for(var t,r={},n=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],h=-1,d=[],f=void 0,p=void 0,v=void 0,m=[],y=[],_=e;do{var b=++h===l.length,g=b&&0!==d.length;if(b){if(p=0===y.length?void 0:m[m.length-1],f=v,v=y.pop(),g){if(c)f=f.slice();else{for(var w={},O=Object.keys(f),E=0;E1)for(var r=1;r{n=e}),"complete"===document.readyState?n():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&n()})),i.then(function(){e&&e()}))})}r.d(t,"a",function(){return h});var s="__seenByShadyCSS",u="__shadyCSSCachedStyle",c=null,l=null;class h{constructor(){this.customStyles=[],this.enqueued=!1,a(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&l&&(this.enqueued=!0,a(l))}addCustomStyle(e){e[s]||(e[s]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[u]?e[u]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;tc,set(e){c=e}},validateCallback:{get:()=>l,set(e){var t=!1;l||(t=!0),l=e,t&&this.enqueueDocumentValidation()}}})},304:function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(305);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":if(e){var t=function(e){var t=e[String(n.a)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(t){var r=t.call(e);return"string"==typeof r?r:o(r)}if(Array.isArray(e))return"["+e.map(o).join(", ")+"]";var a=Object.keys(e).map(function(t){return"".concat(t,": ").concat(o(e[t]))}).join(", ");return a?"{ "+a+" }":"{}"}return String(e);default:return String(e)}}},305:function(e,t,r){"use strict";var n="function"==typeof Symbol?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=n},306:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},307:function(e,t,r){"use strict";r.r(t),function(e,n){var i,o=r(333);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.default=a}.call(this,r(273),r(279)(e))},308:function(e,t,r){"use strict";(function(e){var r=new function(){};function n(){return r}try{var i=e["eriuqer".split("").reverse().join("")]("fibers");n=function(){return i.current||r}}catch(e){}t.get=function(){var e=n();return e._optimism_local||(e._optimism_local=Object.create(null))}}).call(this,r(291)(e))},322:function(e,t,r){"use strict";function n(e){return e=e||[],Array.isArray(e)?e:[e]}function i(e){return`[Vaadin.Router] ${e}`}r.d(t,"a",function(){return ue});var o="module",a="nomodule",s=[o,a];function u(e){if(!e.match(/.+\.[m]?js$/))throw new Error(i(`Unsupported type for bundle "${e}": .js or .mjs expected.`))}function c(e){if(!e||!v(e.path))throw new Error(i('Expected route config to be an object with a "path" string property, or an array of such objects'));var t=e.bundle,r=["component","redirect","bundle"];if(!(p(e.action)||Array.isArray(e.children)||p(e.children)||f(t)||r.some(t=>v(e[t]))))throw new Error(i(`Expected route config "${e.path}" to include either "${r.join('", "')}" `+'or "action" function but none found.'));if(t)if(v(t))u(t);else{if(!s.some(e=>e in t))throw new Error(i('Expected route bundle to include either "'+a+'" or "'+o+'" keys, or both'));s.forEach(e=>e in t&&u(t[e]))}e.redirect&&["bundle","component"].forEach(t=>{t in e&&console.warn(i(`Route config "${e.path}" has both "redirect" and "${t}" properties, `+`and "redirect" will always override the latter. Did you mean to only use "${t}"?`))})}function l(e){n(e).forEach(e=>c(e))}function h(e,t){var r=document.head.querySelector('script[src="'+e+'"][async]');return r||((r=document.createElement("script")).setAttribute("src",e),t===o?r.setAttribute("type",o):t===a&&r.setAttribute(a,""),r.async=!0),new Promise((e,t)=>{r.onreadystatechange=r.onload=(t=>{r.__dynamicImportLoaded=!0,e(t)}),r.onerror=(e=>{r.parentNode&&r.parentNode.removeChild(r),t(e)}),null===r.parentNode?document.head.appendChild(r):r.__dynamicImportLoaded&&e()})}function d(e,t){return!window.dispatchEvent(new CustomEvent(`vaadin-router-${e}`,{cancelable:"go"===e,detail:t}))}function f(e){return"object"==typeof e&&!!e}function p(e){return"function"==typeof e}function v(e){return"string"==typeof e}function m(e){var t=new Error(i(`Page not found (${e.pathname})`));return t.context=e,t.code=404,t}var y=new class{};function _(e){if(!e.defaultPrevented&&0===e.button&&!(e.shiftKey||e.ctrlKey||e.altKey||e.metaKey)){for(var t=e.target,r=e.composedPath?e.composedPath():e.path||[],n=0;n-1&&(f=a[b],a=a.slice(0,b))}a&&(n.push(a),a="",c=!1);var g=""!==f&&void 0!==p&&p!==f,w="+"===_||"*"===_,O="?"===_||"*"===_,E=f||s,S=m||y;n.push({name:v||i++,prefix:f,delimiter:E,optional:O,repeat:w,partial:g,pattern:S?j(S):"[^"+A(E)+"]+?"})}}return(a||o-1;else{var d=A(h.prefix),f=h.repeat?"(?:"+h.pattern+")(?:"+d+"(?:"+h.pattern+"))*":h.pattern;t&&t.push(h),h.optional?h.partial?u+=d+"("+f+")?":u+="(?:"+d+"("+f+"))?":u+=d+"("+f+")"}}return i?(n||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(n||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,R(r))}function F(e,t,r){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n0&&"/"===t.charAt(d)&&(d+=1),a=Q(h,t.substr(d),r,o.keys,o.params)}var f=a.next(c);if(!f.done)return{done:!1,value:f.value};a=null,s++}return{done:!0}}}}function V(e){if(p(e.route.action))return e.route.action(e)}L.set("|false",{keys:[],pattern:/(?:)/});class B{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(e)!==e)throw new TypeError("Invalid routes");this.baseUrl=t.baseUrl||"",this.errorHandler=t.errorHandler,this.resolveRoute=t.resolveRoute||V,this.context=Object.assign({resolver:this},t.context),this.root=Array.isArray(e)?{path:"",__children:e,parent:null,__synthetic:!0}:e,this.root.parent=null}getRoutes(){return[...this.root.__children]}setRoutes(e){l(e);var t=[...n(e)];this.root.__children=t}addRoutes(e){return l(e),this.root.__children.push(...n(e)),this.getRoutes()}removeRoutes(){this.setRoutes([])}resolve(e){var t=Object.assign({},this.context,v(e)?{pathname:e}:e),r=Q(this.root,this.__normalizePathname(t.pathname),this.baseUrl),n=this.resolveRoute,i=null,o=null,a=t;function s(e){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&i.value.route;return i=o||r.next(c),o=null,e||!i.done&&function(e,t){for(var r=t;r;)if((r=r.parent)===e)return!0;return!1}(u,i.value.route)?i.done?Promise.reject(m(t)):(function(e,t){var r=t.route,n=t.path;if(r&&!r.__synthetic){var i={path:n,route:r};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,r)?e.chain.push(i):e.chain=[i]}}(t,i.value),a=Object.assign({},t,i.value),Promise.resolve(n(a)).then(t=>null!=t&&t!==y?(a.result=t.result||t,a):s(e,u,t))):(o=i,Promise.resolve(y))}return t.next=s,Promise.resolve().then(()=>s(!0,this.root)).catch(e=>{var t=function(e){var t=`Path '${e.pathname}' is not properly resolved due to an error.`,r=(e.route||{}).path;return r&&(t+=` Resolution had failed on route: '${r}'`),t}(a);if(e?console.warn(t):e=new Error(t),e.context=e.context||a,e instanceof DOMException||(e.code=e.code||500),this.errorHandler)return a.result=this.errorHandler(e),a;throw e})}static __createUrl(e,t){return new URL(e,t)}get __effectiveBaseUrl(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}__normalizePathname(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,r=this.constructor.__createUrl(e,t).href;return r.slice(0,t.length)===t?r.slice(t.length):void 0}}B.pathToRegexp=O;var U=B.pathToRegexp,H=new Map;function z(e,t){var r=e.get(t);if(r&&r.length>1)throw new Error(`Duplicate route with name "${t}".`+" Try seting unique 'name' route properties.");return r&&r[0]}function G(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof B))throw new TypeError("An instance of Resolver is expected");var r=new Map;return(n,i)=>{var o=z(r,n);if(!(o||(r.clear(),function e(t,r,n){var i=r.name||r.component;if(i&&(t.has(i)?t.get(i).push(r):t.set(i,[r])),Array.isArray(n))for(var o=0;oe.inactivate()),e.forEach(e=>e.activate()),K=e}var Y=e=>{var t=getComputedStyle(e).getPropertyValue("animation-name");return t&&"none"!==t},W=(e,t)=>{var r=()=>{e.removeEventListener("animationend",r),t()};e.addEventListener("animationend",r)};function X(e,t){return e.classList.add(t),new Promise(r=>{if(Y(e)){var n=e.getBoundingClientRect(),i=`height: ${n.bottom-n.top}px; width: ${n.right-n.left}px`;e.setAttribute("style",`position: absolute; ${i}`),W(e,()=>{e.classList.remove(t),e.removeAttribute("style"),r()})}else e.classList.remove(t),r()})}var Z=256;function ee(e){return null!=e}function te(e,t){var r=e.pathname,n=void 0===r?"":r,i=e.chain,o=void 0===i?[]:i,a=e.params,s=void 0===a?{}:a,u=e.redirectFrom,c=e.resolver,l=o.map(e=>e.route);return{baseUrl:c&&c.baseUrl||"",pathname:n,routes:l,route:t||l.length&&l[l.length-1]||null,params:s,redirectFrom:u,getUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ae(ue.pathToRegexp.compile(se(l))(Object.assign({},s,e)),c)}}}function re(e,t){var r=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:r}}}function ne(e,t,r){if(p(e))return e.apply(r,t)}function ie(e,t,r){return n=>n&&(n.cancel||n.redirect)?n:r?ne(r[e],t,r):void 0}function oe(e){if(e&&e.length)for(var t=e[0].parentNode,r=0;re.path).reduce((e,t)=>t.length?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):e,"")}class ue extends B{constructor(e,t){var r=document.head.querySelector("base");super([],Object.assign({baseUrl:r&&r.getAttribute("href")},t)),this.resolveRoute=(e=>this.__resolveRoute(e));var n=ue.NavigationTrigger;ue.setTriggers.apply(ue,Object.keys(n).map(e=>n[e])),this.baseUrl,this.ready,this.ready=Promise.resolve(e),this.location,this.location=te({resolver:this}),this.__lastStartedRenderId=0,this.__navigationEventHandler=this.__onNavigationEvent.bind(this),this.setOutlet(e),this.subscribe()}__resolveRoute(e){var t=e.route,r=Promise.resolve();p(t.children)&&(r=r.then(()=>t.children(function(e){var t=Object.assign({},e);return delete t.next,t}(e))).then(e=>{ee(e)||p(t.children)||(e=t.children),function(e,t){if(!Array.isArray(e)&&!f(e))throw new Error(i(`Incorrect "children" value for the route ${t.path}: expected array or object, but got ${e}`));t.__children=[];for(var r=n(e),o=0;ore(e,t),component:t=>(function(e,t){var r=document.createElement(t);r.location=te(e);var n=e.chain.map(e=>e.route).indexOf(e.route);return e.chain[n].element=r,r})(e,t)};return r.then(()=>ne(t.action,[e,o],t)).then(e=>ee(e)&&(e instanceof HTMLElement||e.redirect||e===y)?e:v(t.redirect)?o.redirect(t.redirect):t.bundle?function(e){return v(e)?h(e):Promise.race(s.filter(t=>t in e).map(t=>h(e[t],t)))}(t.bundle).then(()=>{},()=>{throw new Error(i(`Bundle not found: ${t.bundle}. Check if the file name is correct`))}):void 0).then(e=>ee(e)?e:v(t.component)?o.component(t.component):void 0)}setOutlet(e){e&&this.__ensureOutlet(e),this.__outlet=e}getOutlet(){return this.__outlet}setRoutes(e){this.__urlForName=void 0,super.setRoutes(e),this.__onNavigationEvent()}render(e,t){var r=++this.__lastStartedRenderId,n=e.pathname||e;return this.ready=this.resolve(e).then(e=>this.__fullyResolveChain(e)).then(e=>{if(r===this.__lastStartedRenderId){var n=this.__previousContext;if(e===n)return this.location;this.location=te(e),d("location-changed",{router:this,location:this.location}),t&&this.__updateBrowserHistory(e.pathname,e.redirectFrom),this.__addAppearingContent(e,n);var i=this.__animateIfNeeded(e);return this.__runOnAfterEnterCallbacks(e),this.__runOnAfterLeaveCallbacks(e,n),i.then(()=>{if(r===this.__lastStartedRenderId)return this.__removeDisappearingContent(),this.__previousContext=e,this.location})}}).catch(e=>{if(r===this.__lastStartedRenderId)throw t&&this.__updateBrowserHistory(n),oe(this.__outlet&&this.__outlet.children),this.location=te({pathname:n,resolver:this}),d("error",{router:this,error:e,pathname:n}),e}),this.ready}__fullyResolveChain(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(t).then(r=>{var n=r!==t?r:e;return r.next().then(e=>{if((null===e||e===y)&&ae(se(r.chain),r.resolver)!==r.pathname)throw m(n);return e&&e!==y?this.__fullyResolveChain(n,e):this.__amendWithOnBeforeCallbacks(n)})})}__amendWithResolutionResult(e){var t=e.result;return t instanceof HTMLElement?Promise.resolve(e):t.redirect?this.__redirect(t.redirect,e.__redirectCount).then(e=>this.__amendWithResolutionResult(e)):t instanceof Error?Promise.reject(t):Promise.reject(new Error(i(`Invalid route resolution result for path "${e.pathname}". `+`Expected redirect object or HTML element, but got: "${function(e){if("object"!=typeof e)return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?`${t} ${JSON.stringify(e)}`:t}(t)}". `+"Double check the action return value for the route.")))}__amendWithOnBeforeCallbacks(e){return this.__runOnBeforeCallbacks(e).then(t=>t===this.__previousContext||t===e?t:this.__fullyResolveChain(t))}__runOnBeforeCallbacks(e){var t=(this.__previousContext||{}).chain||[],r=e.chain,n=Promise.resolve(),i=()=>({cancel:!0}),o=t=>re(e,t);if(e.__divergedChainIndex=0,t.length){for(var a=0;a=e.__divergedChainIndex;s--){var u=te(e);n=n.then(ie("onBeforeLeave",[u,{prevent:i},this],t[s].element)).then(e=>{if(!(e||{}).redirect)return e})}}for(var c=e.__divergedChainIndex;c{if(t){if(t.cancel)return this.__previousContext;if(t.redirect)return this.__redirect(t.redirect,e.__redirectCount)}return e})}__redirect(e,t){if(t>Z)throw new Error(i(`Too many redirects when rendering ${e.from}`));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}__ensureOutlet(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(i(`Expected router outlet to be a valid DOM Node (but got ${e})`))}__updateBrowserHistory(e,t){if(window.location.pathname!==e){var r=t?"replaceState":"pushState";window.history[r](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}__addAppearingContent(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var r=this.__outlet,n=0;n=e.__divergedChainIndex;r--){var n=t.chain[r].element;if(n)try{var i=te(e);ne(n.onAfterLeave,[i,{},t.resolver],n)}finally{oe(n.children)}}}__runOnAfterEnterCallbacks(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(r&&n&&t){var s=f(t)&&t.leave||"leaving",u=f(t)&&t.enter||"entering";i.push(X(r,s)),i.push(X(n,u))}return Promise.all(i).then(()=>e)}subscribe(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}unsubscribe(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}__onNavigationEvent(e){var t=e?e.detail.pathname:window.location.pathname;v(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}static setTriggers(){for(var e=arguments.length,t=new Array(e),r=0;r=0&&!le(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(e=>window.Vaadin.Flow.clients[e]).filter(e=>e.productionMode);if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),he(de),ue.NavigationTrigger={POPSTATE:w,CLICK:b}},323:function(e,t,r){e.exports=r(324).Observable},324:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r1,i=!1,o=arguments[1];return new r(function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=h(t,c);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return f(i)&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(a("iterator")&&(n=h(t,u)))return new r(function(e){v(function(){if(!e.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else r(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,r){if("function"==typeof e)try{return t(e.call(null))}catch(e){return r(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){r.checkOperationOptions(e,t),r.operations[n]&&(r.operations[n]={options:e,handler:t},r.sendMessage(n,y.default.GQL_START,e))}).catch(function(e){r.unsubscribe(n),t(r.formatErrors(e))}),n},e.prototype.getObserver=function(e,t,r){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return r&&r()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var r=e.query,n=e.variables,i=e.operationName;if(!r)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(r)&&!f.getOperationAST(r,i)||i&&!l.default(i)||n&&!h.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,r){return{id:e,type:t,payload:r&&r.query?n({},r,{query:"string"==typeof r.query?r.query:d.print(r.query)}):r}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,r){this.sendMessageRaw(this.buildMessage(e,t,r))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,y.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,v.GRAPHQL_WS),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=r.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=r.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var r=t.data;e.processReceivedData(r)}},e.prototype.processReceivedData=function(e){var t,r;try{r=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[y.default.GQL_DATA,y.default.GQL_COMPLETE,y.default.GQL_ERROR].indexOf(t.type)||this.operations[r])switch(t.type){case y.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case y.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case y.default.GQL_COMPLETE:this.operations[r].handler(null,null),delete this.operations[r];break;case y.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(t.payload),null),delete this.operations[r];break;case y.default.GQL_DATA:var i=t.payload.errors?n({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[r].handler(null,i);break;case y.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,y.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=_}).call(this,r(273))},328:function(e,t){function r(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=r,r.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(e){this.ms=e},r.prototype.setMax=function(e){this.max=e},r.prototype.setJitter=function(e){this.jitter=e}},329:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,n,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},c.prototype.listeners=function(e){var t=i?i+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);nthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},342:function(e,t,r){"use strict";r.r(t),r.d(t,"tuple",function(){return f}),r.d(t,"lookup",function(){return h}),r.d(t,"lookupArray",function(){return d});var n="function"==typeof Symbol&&"function"==typeof Symbol.for,i=n?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=n?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,r,n){return Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!1,configurable:!1}),r}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function h(){return d(arguments)}function d(e){for(var t=l,r=e.length,n=0;n0&&(t=[],e.childValues.forEach(function(r,n){w(e,n),t.push(n)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),y(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},344:function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[],n=-1,i=-1,o=0,a=e.length;o=t&&r.push([n,i]),n=-1)}return e[o-1]&&o-n>=t&&r.push([n,o-1]),r}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},r=e.length,n=0;n2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(r,"\\$&").replace(n,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=A;M-=1){var F=M-1,D=r[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==k&&(R[M]|=(P[M+1]|P[M])<<1|1|P[M+1]),R[M]&C&&(x=n(t,{errors:k,currentLocation:F,expectedLocation:m,distance:c}))<=_){if(_=x,(b=F)<=m)break;A=Math.max(1,2*m-b)}}if(n(t,{errors:k+1,currentLocation:m,expectedLocation:m,distance:c})>_)break;P=R}return{isMatch:b>=0,score:0===x?.001:x,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,r){function n(e,t){for(var r=0;rr)return i(e,this.pattern,n);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,h=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:h})}}])&&n(t.prototype,r),s&&n(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,r){var n=r("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,r,i){if(r){var o=r.indexOf("."),a=r,s=null;-1!==o&&(a=r.slice(0,o),s=r.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(n(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var r=this._prepareSearchers(e),n=r.tokenSearchers,i=r.fullSearcher,o=this._search(n,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var r=e.split(this.options.tokenSeparator),n=0,i=r.length;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=this.list,n={},i=[];if("string"==typeof r[0]){for(var o=0,a=r.length;o1)throw new Error("Key weight has to be > 0 and <= 1");f=f.name}else s[f]={weight:1};this._analyze({key:f,value:this.options.getFn(l,f),record:l,index:u},{resultMap:n,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var r=e.key,n=e.arrayIndex,i=void 0===n?-1:n,o=e.value,a=e.record,u=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,h=t.fullSearcher,d=void 0===h?[]:h,f=t.resultMap,p=void 0===f?{}:f,v=t.results,m=void 0===v?[]:v;if(null!=o){var y=!1,_=-1,b=0;if("string"==typeof o){this._log("\nKey: ".concat(""===r?"-":r));var g=d.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],E=0;E-1&&(A=(A+_)/2),this._log("Score average:",A);var j=!this.options.tokenize||!this.options.matchAllTokens||b>=l.length;if(this._log("\nCheck Matches: ".concat(j)),(y||g.isMatch)&&j){var R=p[u];R?R.output.push({key:r,arrayIndex:i,value:o,score:A,matchedIndices:g.matchedIndices}):(p[u]={item:a,output:[{key:r,arrayIndex:i,value:o,score:A,matchedIndices:g.matchedIndices}]},m.push(p[u]))}}else if(s(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;oObject(i.b)(e,t),flushCustomStyles(){},nativeCss:o.c,nativeShadow:o.d,cssBuild:o.a,disableRuntime:o.b}),window.ShadyCSS.CustomStyleInterface=a,window.JSCompiler_renameProperty=function(e,t){return e};var s,u,c=/(url\()([^)]*)(\))/g,l=/(^\/)|(^#)|(^[\w-\d]*:)/;function h(e,t){if(e&&l.test(e))return e;if(void 0===s){s=!1;try{var r=new URL("b","http://a");r.pathname="c%20d",s="http://a/c%20d"===r.href}catch(e){}}return t||(t=document.baseURI||window.location.href),s?new URL(e,t).href:(u||((u=document.implementation.createHTMLDocument("temp")).base=u.createElement("base"),u.head.appendChild(u.base),u.anchor=u.createElement("a"),u.body.appendChild(u.anchor)),u.base.href=t,u.anchor.href=e,u.anchor.href||e)}function d(e,t){return e.replace(c,function(e,r,n,i){return r+"'"+h(n.replace(/["']/g,""),t)+"'"+i})}function f(e){return e.substring(0,e.lastIndexOf("/")+1)}window.ShadyDOM,Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback;var p=f(document.baseURI||window.location.href),v=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,m=!1,y=!1,_={},b={};function g(e,t){_[e]=b[e.toLowerCase()]=t}function w(e){return _[e]||b[e.toLowerCase()]}class O extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){var r=w(e);return r&&t?r.querySelector(t):r}return null}attributeChangedCallback(e,t,r,n){t!==r&&this.register()}get assetpath(){if(!this.__assetpath){var e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=h(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=f(t)}return this.__assetpath}register(e){if(e=e||this.id){if(m&&void 0!==w(e))throw g(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,g(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}O.prototype.modules=_,customElements.define("dom-module",O);var E="link[rel=import][type~=css]",S="include",P="shady-unscoped";function x(e){return O.import(e)}function T(e){var t=d((e.body?e.body:e).textContent,e.baseURI),r=document.createElement("style");return r.textContent=t,r}function C(e){for(var t=e.trim().split(/\s+/),r=[],n=0;n\n \n\n \n\n \n',document.head.appendChild(F.content);var D=document.createElement("template");D.innerHTML="\n \n",document.head.appendChild(D.content);var L=document.createElement("template");L.innerHTML="\n \n",document.head.appendChild(L.content);var q=document.createElement("template");q.innerHTML='\n \n',document.head.appendChild(q.content);var Q=0;function V(){}V.prototype.__mixinApplications,V.prototype.__mixinSet;var B=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var r=Q++;function n(n){var i=n.__mixinSet;if(i&&i[r])return n;var o=t,a=o.get(n);a||(a=e(n),o.set(n,a));var s=Object.create(a.__mixinSet||i||null);return s[r]=!0,a.__mixinSet=s,a}return n};function U(e){return e.indexOf(".")>=0}function H(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function z(e,t){return 0===e.indexOf(t+".")}function G(e,t){return 0===t.indexOf(e+".")}function $(e,t,r){return t+r.slice(e.length)}function K(e){if(Array.isArray(e)){for(var t=[],r=0;r1){for(var a=0;ae[1].toUpperCase()))}function re(e){return X[e]||(X[e]=e.replace(ee,"-$1").toLowerCase())}var ne=0,ie=0,oe=[],ae=0,se=document.createTextNode("");new window.MutationObserver(function(){for(var e=oe.length,t=0;t{throw e})}}oe.splice(0,e),ie+=e}).observe(se,{characterData:!0});for(var ue={run:e=>window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16),cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},ce={run:e=>(se.textContent=ae++,oe.push(e),ne++),cancel(e){var t=e-ie;if(t>=0){if(!oe[t])throw new Error("invalid async handle: "+e);oe[t]=null}}},le=ce,he=B(e=>{return class extends e{static createProperties(e){var t=this.prototype;for(var r in e)r in t||t._createPropertyAccessor(r)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){var t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(var e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,r){var n=this.__data[e],i=this._shouldPropertyChange(e,t,n);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||e in this.__dataOld||(this.__dataOld[e]=n),this.__data[e]=t,this.__dataPending[e]=t),i}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,le.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){var e=this.__data,t=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(e,t,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,r))}_shouldPropertiesChange(e,t,r){return Boolean(t)}_propertiesChanged(e,t,r){}_shouldPropertyChange(e,t,r){return r!==t&&(r==r||t==t)}attributeChangedCallback(e,t,r,n){t!==r&&this._attributeToProperty(e,r),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,r,n)}_attributeToProperty(e,t,r){if(!this.__serializing){var n=this.__dataAttributes,i=n&&n[e]||e;this[i]=this._deserializeValue(t,r||this.constructor.typeForProperty(i))}}_propertyToAttribute(e,t,r){this.__serializing=!0,r=arguments.length<3?this[e]:r,this._valueToNodeAttribute(this,r,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,r){var n=this._serializeValue(t);void 0===n?e.removeAttribute(r):e.setAttribute(r,n)}_serializeValue(e){switch(typeof e){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}}),de={},fe=HTMLElement.prototype;fe;){for(var pe=Object.getOwnPropertyNames(fe),ve=0;ve{var t=he(e);return class extends t{static createPropertiesForAttributes(){for(var e=this.observedAttributes,t=0;t{return class extends e{static _parseTemplate(e,t){if(!e._templateInfo){var r=e._templateInfo={};r.nodeInfoList=[],r.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,r,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,r){return this._parseTemplateNode(e.content,t,r)}static _parseTemplateNode(e,t,r){var n,i=e;return"template"!=i.localName||i.hasAttribute("preserve-content")?"slot"===i.localName&&(t.hasInsertionPoint=!0):n=this._parseTemplateNestedTemplate(i,t,r)||n,i.firstChild&&(n=this._parseTemplateChildNodes(i,t,r)||n),i.hasAttributes&&i.hasAttributes()&&(n=this._parseTemplateNodeAttributes(i,t,r)||n),n}static _parseTemplateChildNodes(e,t,r){if("script"!==e.localName&&"style"!==e.localName)for(var n,i=e.firstChild,o=0;i;i=n){if("template"==i.localName&&(i=_e(i)),n=i.nextSibling,i.nodeType===Node.TEXT_NODE){for(var a=n;a&&a.nodeType===Node.TEXT_NODE;)i.textContent+=a.textContent,n=a.nextSibling,e.removeChild(a),a=n;if(t.stripWhiteSpace&&!i.textContent.trim()){e.removeChild(i);continue}}var s={parentIndex:o,parentInfo:r};this._parseTemplateNode(i,t,s)&&(s.infoIndex=t.nodeInfoList.push(s)-1),i.parentNode&&o++}}static _parseTemplateNestedTemplate(e,t,r){var n=this._parseTemplate(e,t);return(n.content=e.content.ownerDocument.createDocumentFragment()).appendChild(e.content),r.templateInfo=n,!0}static _parseTemplateNodeAttributes(e,t,r){for(var n,i=!1,o=Array.from(e.attributes),a=o.length-1;n=o[a];a--)i=this._parseTemplateNodeAttribute(e,t,r,n.name,n.value)||i;return i}static _parseTemplateNodeAttribute(e,t,r,n,i){return"on-"===n.slice(0,3)?(e.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:i}),!0):"id"===n&&(r.id=i,!0)}static _contentForTemplate(e){var t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);var t=this.constructor._parseTemplate(e),r=t.nodeInfoList,n=t.content||e.content,i=document.importNode(n,!0);i.__noInsertionPoint=!t.hasInsertionPoint;var o=i.nodeList=new Array(r.length);i.$={};for(var a,s=0,u=r.length;sc.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=r[t];t=$(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,r,n,i){i=function(e,t,r,n){if(r.isCompound){var i=e.__dataCompoundStorage[r.target];i[n.compoundIndex]=t,t=i.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,r,n),v&&(i=v(i,r.target,r.kind,t));if("attribute"==r.kind)e._valueToNodeAttribute(t,i,r.target);else{var o=r.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[Pe.READ_ONLY]&&t[Pe.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,r,n,o))}}function Qe(e,t){if(t.isCompound){for(var r=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),n=t.parts,i=new Array(n.length),o=0;o="0"&&n<="9"&&(n="#"),n){case"'":case'"':r.value=t.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(t),r.literal=!0}return r.literal||(r.rootProperty=H(t),r.structured=U(t),r.structured&&(r.wildcard=".*"==t.slice(-2),r.wildcard&&(r.name=t.slice(0,-2)))),r}function Je(e,t,r,n){var i=r+".splices";e.notifyPath(i,{indexSplices:n}),e.notifyPath(r+".length",t.length),e.__data[i]={indexSplices:null}}function Ye(e,t,r,n,i,o){Je(e,t,r,[{index:n,addedCount:i,removed:o,object:t,type:"splice"}])}var We=B(e=>{var t=Ee(me(e));class r extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataCounter=0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo}get PROPERTY_EFFECT_TYPES(){return Pe}_initializeProperties(){super._initializeProperties(),Xe.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){var t=this[Pe.READ_ONLY];for(var r in e)t&&t[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=e[r])}_addPropertyEffect(e,t,r){this._createPropertyAccessor(e,t==Pe.READ_ONLY);var n=Te(this,t)[e];n||(n=this[t][e]=[]),n.push(r)}_removePropertyEffect(e,t,r){var n=Te(this,t)[e],i=n.indexOf(r);i>=0&&n.splice(i,1)}_hasPropertyEffect(e,t){var r=this[t];return Boolean(r&&r[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,Pe.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,Pe.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,Pe.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,Pe.COMPUTE)}_setPendingPropertyOrPath(e,t,r,n){if(n||H(Array.isArray(e)?e[0]:e)!==e){if(!n){var i=Y(this,e);if(!(e=W(this,e,t))||!super._shouldPropertyChange(e,t,i))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,r))return function(e,t,r){var n,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];G(o,t)?(n=$(o,a,t),e._setPendingPropertyOrPath(n,r,!0,!0)):G(a,t)&&(n=$(a,o,t),e._setPendingPropertyOrPath(n,r,!0,!0))}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,r);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,r){r===e[t]&&"object"!=typeof r||(e[t]=r)}_setPendingProperty(e,t,r){var n=this.__dataHasPaths&&U(e),i=n?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),n?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(n||this[Pe.NOTIFY]&&this[Pe.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=r),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushProperties(){this.__dataCounter++,super._flushProperties(),this.__dataCounter--}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?n-3:0),o=3;o1?n-1:0),o=1;oi&&n.push({literal:e.slice(i,r.index)});var o=r[1][0],a=Boolean(r[2]),s=r[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var h=$e(s),d=[];if(h){for(var f=h.args,p=h.methodName,v=0;v{var t=he(e);function r(e){var t=Object.getPrototypeOf(e);return t.prototype instanceof i?t:null}function n(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){var t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){var r=e.properties;r&&(t=function(e){var t={};for(var r in e){var n=e[r];t[r]="function"==typeof n?{type:n}:n}return t}(r))}e.__ownProperties=t}return e.__ownProperties}class i extends t{static get observedAttributes(){var e=this._properties;return e?Object.keys(e).map(e=>this.attributeNameForProperty(e)):[]}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){var e=r(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){var e=n(this);e&&this.createProperties(e)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){var e=r(this);this.__properties=Object.assign({},e&&e._properties,n(this))}return this.__properties}static typeForProperty(e){var t=this._properties[e];return t&&t.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i}),et="3.0.5",tt=B(e=>{var t=Ze(We(e));function r(e,t,r,n){for(var i,o=t.content.querySelectorAll("style"),a=I(t),s=(i=x(r))?N(i):[],u=t.content.firstElementChild,c=0;c1?r-1:0),i=1;it+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof nt)return it(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(r)+e[n+1],e[0]),t},at=tt(HTMLElement),st=e=>(class extends e{static get properties(){return{theme:{type:String,readOnly:!0}}}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"theme"===e&&this._setTheme(r)}}),ut=e=>(class extends(st(e)){static finalize(){super.finalize();var e=this.prototype._template,t=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,r=Object.getPrototypeOf(this.prototype)._template;r&&!t&&Array.from(r.content.querySelectorAll("style[include]")).forEach(t=>{this._includeStyle(t.getAttribute("include"),e)}),this._includeMatchingThemes(e)}static _includeMatchingThemes(e){var t=O.prototype.modules,r=!1,n=this.is+"-default-theme";Object.keys(t).sort((e,t)=>{var r=0===e.indexOf("vaadin-"),n=0===t.indexOf("vaadin-"),i=["lumo-","material-"],o=i.filter(t=>0===e.indexOf(t)).length>0,a=i.filter(e=>0===t.indexOf(e)).length>0;return r!==n?r?-1:1:o!==a?o?-1:1:0}).forEach(i=>{if(i!==n){var o=t[i].getAttribute("theme-for");o&&o.split(" ").forEach(t=>{new RegExp("^"+t.split("*").join(".*")+"$").test(this.is)&&(r=!0,this._includeStyle(i,e))})}}),!r&&t[n]&&this._includeStyle(n,e)}static _includeStyle(e,t){if(t&&!t.content.querySelector(`style[include="${e}"]`)){var r=document.createElement("style");r.setAttribute("include",e),t.content.appendChild(r)}}});function ct(e,t,r){return{index:e,removed:t,addedCount:r}}var lt=0,ht=1,dt=2,ft=3;function pt(e,t,r,n,i,o){var a,s=0,u=0,c=Math.min(r-t,o-i);if(0==t&&0==i&&(s=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var o=e[t-1][r-1],a=e[t-1][r],s=e[t][r-1],u=void 0;(u=amt(e)?(e=e).assignedNodes({flatten:!0}):[e]).reduce((e,t)=>e.concat(t),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=(()=>{this._schedule()}),this.connect(),this._schedule()}connect(){mt(this._target)?this._listenSlots([this._target]):this._target.children&&(this._listenSlots(this._target.children),window.ShadyDOM?this._shadyChildrenObserver=ShadyDOM.observeChildren(this._target,e=>{this._processMutations(e)}):(this._nativeChildrenObserver=new MutationObserver(e=>{this._processMutations(e)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){mt(this._target)?this._unlistenSlots([this._target]):this._target.children&&(this._unlistenSlots(this._target.children),window.ShadyDOM&&this._shadyChildrenObserver?(ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,ce.run(()=>this.flush()))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(var t=0;t(class extends e{static get properties(){return{_hasVaadinListMixin:{value:!0},selected:{type:Number,reflectToAttribute:!0,notify:!0},orientation:{type:String,reflectToAttribute:!0,value:""},items:{type:Array,readOnly:!0,notify:!0}}}static get observers(){return["_enhanceItems(items, orientation, selected)"]}ready(){super.ready(),this.addEventListener("keydown",e=>this._onKeydown(e)),this.addEventListener("click",e=>this._onClick(e)),this._observer=new yt(this,e=>{this._setItems(this._filterItems(Array.from(this.children)))})}_enhanceItems(e,t,r){if(e){this.setAttribute("aria-orientation",t||"vertical"),this.items.forEach(e=>{t?e.setAttribute("orientation",t):e.removeAttribute("orientation"),e.updateStyles()}),this._setFocusable(r);var n=e[r];e.forEach(e=>e.selected=e===n),n&&!n.disabled&&this._scrollToItem(r)}}get focused(){return this.getRootNode().activeElement}_filterItems(e){return e.filter(e=>e._hasVaadinItemMixin)}_onClick(e){if(!(e.metaKey||e.shiftKey||e.ctrlKey)){var t,r=this._filterItems(e.composedPath())[0];r&&!r.disabled&&(t=this.items.indexOf(r))>=0&&(this.selected=t)}}_onKeydown(e){if(!e.metaKey&&!e.ctrlKey){var t,r,n=e.key.replace(/^Arrow/,""),i=this.items.indexOf(this.focused),o=e=>!e.disabled;this._vertical&&"Up"===n||!this._vertical&&"Left"===n?(r=-1,t=i-1):this._vertical&&"Down"===n||!this._vertical&&"Right"===n?(r=1,t=i+1):"Home"===n?(r=1,t=0):"End"===n?(r=-1,t=this.items.length-1):1==n.length&&(r=1,t=i+1,o=(e=>!e.disabled&&0===e.textContent.trim().toLowerCase().indexOf(n.toLowerCase()))),(t=this._getAvailableIndex(t,r,o))>=0&&(this._focus(t),e.preventDefault())}}_getAvailableIndex(e,t,r){for(var n=this.items.length,i=0;"number"==typeof e&&i=n&&(e=0),r(this.items[e]))return e}return-1}_setFocusable(e){e=this._getAvailableIndex(e,1,e=>!e.disabled);var t=this.items[e]||this.items[0];this.items.forEach(e=>e.tabIndex=e===t?0:-1)}_focus(e){var t=this.items[e];this.items.forEach(e=>e.focused=e===t),this._setFocusable(e),this._scrollToItem(e),t.focus()}focus(){this._observer.flush();var e=this.querySelector('[tabindex="0"]')||this.items[0];e&&e.focus()}get _scrollerElement(){}_scrollToItem(e){var t=this.items[e];if(t){var r=this._vertical?["top","bottom"]:["left","right"],n=this._scrollerElement.getBoundingClientRect(),i=(this.items[e+1]||t).getBoundingClientRect(),o=(this.items[e-1]||t).getBoundingClientRect(),a=0;i[r[1]]>=n[r[1]]?a=i[r[1]]-n[r[1]]:o[r[0]]<=n[r[0]]&&(a=o[r[0]]-n[r[0]]),this._scroll(a)}}get _vertical(){return"horizontal"!==this.orientation}_scroll(e){this._scrollerElement["scroll"+(this._vertical?"Top":"Left")]+=e}});class bt{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(()=>{this._timer=null,this._callback()})}cancel(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(e,t,r){return e instanceof bt?e.cancel():e=new bt,e.setConfig(t,r),e}}var gt=[];var wt=/\/\*\*\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i;function Ot(e,t){if("function"==typeof e){var r=wt.exec(e.toString());if(r)try{e=new Function(r[1])}catch(e){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",e)}return e(t)}}window.Vaadin=window.Vaadin||{};var Et=function(e,t){if(window.Vaadin.developmentMode)return Ot(e,t)};function St(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=function(){try{return localStorage.getItem("vaadin.developmentmode.force")||["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0&&!Ot(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(e=>window.Vaadin.Flow.clients[e]).filter(e=>e.productionMode);if(e.length>0)return!0}return!1}()}catch(e){return!1}}());var Pt,xt=function(){return Et(St)};window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){xt&&xt()};var Tt=e=>(class extends e{static _finalizeClass(){var e;super._finalizeClass(),this.is&&(window.Vaadin.registrations.push(this),window.Vaadin.developmentModeCallback&&(Pt=bt.debounce(Pt,ue,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),e=Pt,gt.push(e)))}ready(){super.ready(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add to the HTML document.')}});class Ct extends(Tt(_t(ut(at)))){static get template(){return ot` - -
- -
-`}static get is(){return"vaadin-list-box"}static get version(){return"1.1.0"}static get properties(){return{orientation:{readOnly:!0}}}ready(){super.ready(),this.setAttribute("role","list")}get _scrollerElement(){return this.shadowRoot.querySelector('[part="items"]')}}customElements.define(Ct.is,Ct)},378:function(e,t,r){"use strict";r.r(t);var n=r(304),i=r(305);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,r){this.body=e,this.name=t||"GraphQL request",this.locationOffset=r||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index0&&m(t[0]);)t.shift();for(;t.length>0&&m(t[t.length-1]);)t.pop();return t.join("\n")}function v(e){for(var t=0;t",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function w(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}var O=String.prototype.charCodeAt,E=String.prototype.slice;function S(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}function P(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function x(e,t){var r=e.source,n=r.body,i=n.length,o=function(e,t,r){var n=e.length,i=t;for(;i=i)return new S(g.EOF,i,i,a,s,t);var u=O.call(n,o);switch(u){case 33:return new S(g.BANG,o,o+1,a,s,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do{o=O.call(a,++s)}while(null!==o&&(o>31||9===o));return new S(g.COMMENT,t,s,r,n,i,E.call(a,t+1,s))}(r,o,a,s,t);case 36:return new S(g.DOLLAR,o,o+1,a,s,t);case 38:return new S(g.AMP,o,o+1,a,s,t);case 40:return new S(g.PAREN_L,o,o+1,a,s,t);case 41:return new S(g.PAREN_R,o,o+1,a,s,t);case 46:if(46===O.call(n,o+1)&&46===O.call(n,o+2))return new S(g.SPREAD,o,o+3,a,s,t);break;case 58:return new S(g.COLON,o,o+1,a,s,t);case 61:return new S(g.EQUALS,o,o+1,a,s,t);case 64:return new S(g.AT,o,o+1,a,s,t);case 91:return new S(g.BRACKET_L,o,o+1,a,s,t);case 93:return new S(g.BRACKET_R,o,o+1,a,s,t);case 123:return new S(g.BRACE_L,o,o+1,a,s,t);case 124:return new S(g.PIPE,o,o+1,a,s,t);case 125:return new S(g.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&null!==(u=O.call(o,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new S(g.NAME,t,s,r,n,i,E.call(o,t,s))}(r,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a=e.body,s=r,u=t,c=!1;45===s&&(s=O.call(a,++u));if(48===s){if((s=O.call(a,++u))>=48&&s<=57)throw f(e,u,"Invalid number, unexpected digit after 0: ".concat(P(s),"."))}else u=T(e,u,s),s=O.call(a,u);46===s&&(c=!0,s=O.call(a,++u),u=T(e,u,s),s=O.call(a,u));69!==s&&101!==s||(c=!0,43!==(s=O.call(a,++u))&&45!==s||(s=O.call(a,++u)),u=T(e,u,s));return new S(c?g.FLOAT:g.INT,t,u,n,i,o,E.call(a,t,u))}(r,o,u,a,s,t);case 34:return 34===O.call(n,o+1)&&34===O.call(n,o+2)?function(e,t,r,n,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=O.call(n,++i)}while(o>=48&&o<=57);return i}throw f(e,i,"Invalid number, expected digit but got: ".concat(P(o),"."))}function C(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(S,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var k=r(306),I=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function N(e,t){var r="string"==typeof e?new u(e):e;if(!(r instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(n.a)(r)));return function(e){var t=e.token;return{kind:k.a.DOCUMENT,definitions:xe(e,g.SOF,M,g.EOF),loc:ye(e,t)}}(y(r,t||{}))}function A(e,t){var r=y("string"==typeof e?new u(e):e,t||{});we(r,g.SOF);var n=K(r,!1);return we(r,g.EOF),n}function j(e,t){var r=y("string"==typeof e?new u(e):e,t||{});we(r,g.SOF);var n=te(r);return we(r,g.EOF),n}function R(e){var t=we(e,g.NAME);return{kind:k.a.NAME,value:t.value,loc:ye(e,t)}}function M(e){if(be(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return F(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return ne(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"schema");var r=Z(e,!0),n=be(e,g.BRACE_L)?xe(e,g.BRACE_L,ae,g.BRACE_R):[];if(0===r.length&&0===n.length)throw Se(e);return{kind:k.a.SCHEMA_EXTENSION,directives:r,operationTypes:n,loc:ye(e,t)}}(e);case"scalar":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"scalar");var r=R(e),n=Z(e,!0);if(0===n.length)throw Se(e);return{kind:k.a.SCALAR_TYPE_EXTENSION,name:r,directives:n,loc:ye(e,t)}}(e);case"type":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"type");var r=R(e),n=se(e),i=Z(e,!0),o=ue(e);if(0===n.length&&0===i.length&&0===o.length)throw Se(e);return{kind:k.a.OBJECT_TYPE_EXTENSION,name:r,interfaces:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"interface":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"interface");var r=R(e),n=Z(e,!0),i=ue(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.INTERFACE_TYPE_EXTENSION,name:r,directives:n,fields:i,loc:ye(e,t)}}(e);case"union":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"union");var r=R(e),n=Z(e,!0),i=de(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.UNION_TYPE_EXTENSION,name:r,directives:n,types:i,loc:ye(e,t)}}(e);case"enum":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"enum");var r=R(e),n=Z(e,!0),i=fe(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.ENUM_TYPE_EXTENSION,name:r,directives:n,values:i,loc:ye(e,t)}}(e);case"input":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"input");var r=R(e),n=Z(e,!0),i=ve(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.INPUT_OBJECT_TYPE_EXTENSION,name:r,directives:n,fields:i,loc:ye(e,t)}}(e)}throw Se(e,t)}(e)}else{if(be(e,g.BRACE_L))return F(e);if(ie(e))return ne(e)}throw Se(e)}function F(e){if(be(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return D(e);case"fragment":return function(e){var t=e.token;if(Ee(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:k.a.FRAGMENT_DEFINITION,name:$(e),variableDefinitions:q(e),typeCondition:(Ee(e,"on"),re(e)),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)};return{kind:k.a.FRAGMENT_DEFINITION,name:$(e),typeCondition:(Ee(e,"on"),re(e)),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}(e)}else if(be(e,g.BRACE_L))return D(e);throw Se(e)}function D(e){var t=e.token;if(be(e,g.BRACE_L))return{kind:k.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:B(e),loc:ye(e,t)};var r,n=L(e);return be(e,g.NAME)&&(r=R(e)),{kind:k.a.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:q(e),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}function L(e){var t=we(e,g.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw Se(e,t)}function q(e){return be(e,g.PAREN_L)?xe(e,g.PAREN_L,Q,g.PAREN_R):[]}function Q(e){var t=e.token;return{kind:k.a.VARIABLE_DEFINITION,variable:V(e),type:(we(e,g.COLON),te(e)),defaultValue:ge(e,g.EQUALS)?K(e,!0):void 0,directives:Z(e,!0),loc:ye(e,t)}}function V(e){var t=e.token;return we(e,g.DOLLAR),{kind:k.a.VARIABLE,name:R(e),loc:ye(e,t)}}function B(e){var t=e.token;return{kind:k.a.SELECTION_SET,selections:xe(e,g.BRACE_L,U,g.BRACE_R),loc:ye(e,t)}}function U(e){return be(e,g.SPREAD)?function(e){var t=e.token;we(e,g.SPREAD);var r=Oe(e,"on");if(!r&&be(e,g.NAME))return{kind:k.a.FRAGMENT_SPREAD,name:$(e),directives:Z(e,!1),loc:ye(e,t)};return{kind:k.a.INLINE_FRAGMENT,typeCondition:r?re(e):void 0,directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}(e):function(e){var t,r,n=e.token,i=R(e);ge(e,g.COLON)?(t=i,r=R(e)):r=i;return{kind:k.a.FIELD,alias:t,name:r,arguments:H(e,!1),directives:Z(e,!1),selectionSet:be(e,g.BRACE_L)?B(e):void 0,loc:ye(e,n)}}(e)}function H(e,t){var r=t?G:z;return be(e,g.PAREN_L)?xe(e,g.PAREN_L,r,g.PAREN_R):[]}function z(e){var t=e.token;return{kind:k.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),K(e,!1)),loc:ye(e,t)}}function G(e){var t=e.token;return{kind:k.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),Y(e)),loc:ye(e,t)}}function $(e){if("on"===e.token.value)throw Se(e);return R(e)}function K(e,t){var r=e.token;switch(r.kind){case g.BRACKET_L:return function(e,t){var r=e.token,n=t?Y:W;return{kind:k.a.LIST,values:Pe(e,g.BRACKET_L,n,g.BRACKET_R),loc:ye(e,r)}}(e,t);case g.BRACE_L:return function(e,t){var r=e.token;we(e,g.BRACE_L);var n=[];for(;!ge(e,g.BRACE_R);)n.push(X(e,t));return{kind:k.a.OBJECT,fields:n,loc:ye(e,r)}}(e,t);case g.INT:return e.advance(),{kind:k.a.INT,value:r.value,loc:ye(e,r)};case g.FLOAT:return e.advance(),{kind:k.a.FLOAT,value:r.value,loc:ye(e,r)};case g.STRING:case g.BLOCK_STRING:return J(e);case g.NAME:return"true"===r.value||"false"===r.value?(e.advance(),{kind:k.a.BOOLEAN,value:"true"===r.value,loc:ye(e,r)}):"null"===r.value?(e.advance(),{kind:k.a.NULL,loc:ye(e,r)}):(e.advance(),{kind:k.a.ENUM,value:r.value,loc:ye(e,r)});case g.DOLLAR:if(!t)return V(e)}throw Se(e)}function J(e){var t=e.token;return e.advance(),{kind:k.a.STRING,value:t.value,block:t.kind===g.BLOCK_STRING,loc:ye(e,t)}}function Y(e){return K(e,!0)}function W(e){return K(e,!1)}function X(e,t){var r=e.token;return{kind:k.a.OBJECT_FIELD,name:R(e),value:(we(e,g.COLON),K(e,t)),loc:ye(e,r)}}function Z(e,t){for(var r=[];be(e,g.AT);)r.push(ee(e,t));return r}function ee(e,t){var r=e.token;return we(e,g.AT),{kind:k.a.DIRECTIVE,name:R(e),arguments:H(e,t),loc:ye(e,r)}}function te(e){var t,r=e.token;return ge(e,g.BRACKET_L)?(t=te(e),we(e,g.BRACKET_R),t={kind:k.a.LIST_TYPE,type:t,loc:ye(e,r)}):t=re(e),ge(e,g.BANG)?{kind:k.a.NON_NULL_TYPE,type:t,loc:ye(e,r)}:t}function re(e){var t=e.token;return{kind:k.a.NAMED_TYPE,name:R(e),loc:ye(e,t)}}function ne(e){var t=ie(e)?e.lookahead():e.token;if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Ee(e,"schema");var r=Z(e,!0),n=xe(e,g.BRACE_L,ae,g.BRACE_R);return{kind:k.a.SCHEMA_DEFINITION,directives:r,operationTypes:n,loc:ye(e,t)}}(e);case"scalar":return function(e){var t=e.token,r=oe(e);Ee(e,"scalar");var n=R(e),i=Z(e,!0);return{kind:k.a.SCALAR_TYPE_DEFINITION,description:r,name:n,directives:i,loc:ye(e,t)}}(e);case"type":return function(e){var t=e.token,r=oe(e);Ee(e,"type");var n=R(e),i=se(e),o=Z(e,!0),a=ue(e);return{kind:k.a.OBJECT_TYPE_DEFINITION,description:r,name:n,interfaces:i,directives:o,fields:a,loc:ye(e,t)}}(e);case"interface":return function(e){var t=e.token,r=oe(e);Ee(e,"interface");var n=R(e),i=Z(e,!0),o=ue(e);return{kind:k.a.INTERFACE_TYPE_DEFINITION,description:r,name:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"union":return function(e){var t=e.token,r=oe(e);Ee(e,"union");var n=R(e),i=Z(e,!0),o=de(e);return{kind:k.a.UNION_TYPE_DEFINITION,description:r,name:n,directives:i,types:o,loc:ye(e,t)}}(e);case"enum":return function(e){var t=e.token,r=oe(e);Ee(e,"enum");var n=R(e),i=Z(e,!0),o=fe(e);return{kind:k.a.ENUM_TYPE_DEFINITION,description:r,name:n,directives:i,values:o,loc:ye(e,t)}}(e);case"input":return function(e){var t=e.token,r=oe(e);Ee(e,"input");var n=R(e),i=Z(e,!0),o=ve(e);return{kind:k.a.INPUT_OBJECT_TYPE_DEFINITION,description:r,name:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"directive":return function(e){var t=e.token,r=oe(e);Ee(e,"directive"),we(e,g.AT);var n=R(e),i=le(e);Ee(e,"on");var o=function(e){ge(e,g.PIPE);var t=[];do{t.push(me(e))}while(ge(e,g.PIPE));return t}(e);return{kind:k.a.DIRECTIVE_DEFINITION,description:r,name:n,arguments:i,locations:o,loc:ye(e,t)}}(e)}throw Se(e,t)}function ie(e){return be(e,g.STRING)||be(e,g.BLOCK_STRING)}function oe(e){if(ie(e))return J(e)}function ae(e){var t=e.token,r=L(e);we(e,g.COLON);var n=re(e);return{kind:k.a.OPERATION_TYPE_DEFINITION,operation:r,type:n,loc:ye(e,t)}}function se(e){var t=[];if(Oe(e,"implements")){ge(e,g.AMP);do{t.push(re(e))}while(ge(e,g.AMP)||e.options.allowLegacySDLImplementsInterfaces&&be(e,g.NAME))}return t}function ue(e){return e.options.allowLegacySDLEmptyFields&&be(e,g.BRACE_L)&&e.lookahead().kind===g.BRACE_R?(e.advance(),e.advance(),[]):be(e,g.BRACE_L)?xe(e,g.BRACE_L,ce,g.BRACE_R):[]}function ce(e){var t=e.token,r=oe(e),n=R(e),i=le(e);we(e,g.COLON);var o=te(e),a=Z(e,!0);return{kind:k.a.FIELD_DEFINITION,description:r,name:n,arguments:i,type:o,directives:a,loc:ye(e,t)}}function le(e){return be(e,g.PAREN_L)?xe(e,g.PAREN_L,he,g.PAREN_R):[]}function he(e){var t=e.token,r=oe(e),n=R(e);we(e,g.COLON);var i,o=te(e);ge(e,g.EQUALS)&&(i=Y(e));var a=Z(e,!0);return{kind:k.a.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:i,directives:a,loc:ye(e,t)}}function de(e){var t=[];if(ge(e,g.EQUALS)){ge(e,g.PIPE);do{t.push(re(e))}while(ge(e,g.PIPE))}return t}function fe(e){return be(e,g.BRACE_L)?xe(e,g.BRACE_L,pe,g.BRACE_R):[]}function pe(e){var t=e.token,r=oe(e),n=R(e),i=Z(e,!0);return{kind:k.a.ENUM_VALUE_DEFINITION,description:r,name:n,directives:i,loc:ye(e,t)}}function ve(e){return be(e,g.BRACE_L)?xe(e,g.BRACE_L,he,g.BRACE_R):[]}function me(e){var t=e.token,r=R(e);if(I.hasOwnProperty(r.value))return r;throw Se(e,t)}function ye(e,t){if(!e.options.noLocation)return new _e(t,e.lastToken,e.source)}function _e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}function be(e,t){return e.token.kind===t}function ge(e,t){return e.token.kind===t&&(e.advance(),!0)}function we(e,t){var r=e.token;if(r.kind===t)return e.advance(),r;throw f(e.source,r.start,"Expected ".concat(t,", found ").concat(w(r)))}function Oe(e,t){var r=e.token;return r.kind===g.NAME&&r.value===t&&(e.advance(),!0)}function Ee(e,t){if(!Oe(e,t))throw f(e.source,e.token.start,'Expected "'.concat(t,'", found ').concat(w(e.token)))}function Se(e,t){var r=t||e.token;return f(e.source,r.start,"Unexpected ".concat(w(r)))}function Pe(e,t,r,n){we(e,t);for(var i=[];!ge(e,n);)i.push(r(e));return i}function xe(e,t,r,n){we(e,t);for(var i=[r(e)];!ge(e,n);)i.push(r(e));return i}r.d(t,"parse",function(){return N}),r.d(t,"parseValue",function(){return A}),r.d(t,"parseType",function(){return j}),r.d(t,"parseConstValue",function(){return Y}),r.d(t,"parseTypeReference",function(){return te}),r.d(t,"parseNamedType",function(){return re}),o(_e,function(){return{start:this.start,end:this.end}})},380:function(e,t,r){"use strict";var n=r(280),i=r(270),o=r(278),a=r(307),s=r(290),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var c,l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return function(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.request=function(e,t){var r=this;if(e.getContext().forceFetch)return t(e);var n=e.toKey(),i=function(e){return r.inFlightRequestObservables.delete(e),r.subscribers.get(e)};if(!this.inFlightRequestObservables.get(n)){var a,s=t(e),u=new o.b(function(e){var t=r.subscribers.get(n);return t||(t={next:[],error:[],complete:[]}),r.subscribers.set(n,{next:t.next.concat([e.next.bind(e)]),error:t.error.concat([e.error.bind(e)]),complete:t.complete.concat([e.complete.bind(e)])}),a||(a=s.subscribe({next:function(e){var t=i(n);r.subscribers.delete(n),t&&(t.next.forEach(function(t){return t(e)}),t.complete.forEach(function(e){return e()}))},error:function(e){var t=i(n);r.subscribers.delete(n),t&&t.error.forEach(function(t){return t(e)})}})),function(){a&&a.unsubscribe(),r.inFlightRequestObservables.delete(n)}});this.inFlightRequestObservables.set(n,u)}return this.inFlightRequestObservables.get(n)},t}(o.a),h=r(288);function d(e){return e<7}r.d(t,"a",function(){return P}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(c||(c={}));var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.__extends)(t,e),t.prototype[a.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.b);var p,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var r=e?e.message:"Error message not found.";t+="GraphQL error: "+r+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},m=function(e){function t(r){var n=r.graphQLErrors,i=r.networkError,o=r.errorMessage,a=r.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=n||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(n.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(p||(p={}));var y=function(e){function t(t){var r=t.queryManager,n=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=n,a.variables=n.variables||{},a.queryId=r.generateQueryId(),a.shouldSubscribe=o,a.queryManager=r,a.observers=[],a.subscriptionHandles=[],a}return Object(n.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n,i={next:function(r){t(r),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){n.unsubscribe()},0)},error:function(e){r(e)}};n=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:c.error};var e,t,r=this.queryManager.queryStore.get(this.queryId);if(e=r,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:r.networkStatus,error:new m({graphQLErrors:r.graphQLErrors,networkError:r.networkError})};r&&r.variables&&(this.options.variables=Object.assign({},this.options.variables,r.variables));var o,a=this.queryManager.getCurrentQueryResult(this),s=a.data,u=a.partial,l=!r||r.networkStatus===c.loading,h="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,f={data:s,loading:d(o=r?r.networkStatus:h?c.loading:c.ready),networkStatus:o};return r&&r.graphQLErrors&&"all"===this.options.errorPolicy&&(f.errors=r.graphQLErrors),u||(this.lastResult=Object(n.__assign)({},f,{stale:!1}),this.lastResultSnapshot=Object(i.cloneDeep)(this.lastResult)),Object(n.__assign)({},f,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(i.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(i.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(i.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var r="network-only"===t||"no-cache"===t,o=Object(n.__assign)({},this.options,{fetchPolicy:r?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,o,p.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,r=this;return Object(s.b)(e.updateQuery),Promise.resolve().then(function(){var i=r.queryManager.generateQueryId();return(t=e.query?e:Object(n.__assign)({},r.options,e,{variables:Object.assign({},r.variables,e.variables)})).fetchPolicy="network-only",r.queryManager.fetchQuery(i,t,p.normal,r.queryId)}).then(function(n){return r.updateQuery(function(r){return e.updateQuery(r,{fetchMoreResult:n.data,variables:t.variables})}),n})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(r){e.updateQuery&&t.updateQuery(function(t,n){var i=n.variables;return e.updateQuery(t,{subscriptionData:r,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(r),function(){var e=t.subscriptionHandles.indexOf(r);e>=0&&(t.subscriptionHandles.splice(e,1),r.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var r="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,r,e.fetchResults)},t.prototype.setVariables=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),this.isTornDown=!1;var o=e||this.variables;return Object(i.isEqual)(o,this.variables)&&!t?0!==this.observers.length&&r?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(n.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),r=t.previousResult,n=t.variables,o=t.document,a=Object(i.tryFunctionOrLogError)(function(){return e(r,{variables:n})});a&&(this.queryManager.dataStore.markUpdateQueryResult(o,n,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){_(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(_(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(i.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(f);function _(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var b=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,r){this.store[e]={mutation:t,variables:r||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var r=this.store[e];r&&(r.loading=!1,r.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(i.isEqual)(t.document,e.document))throw new s.a;var r,n=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==c.loading&&(Object(i.isEqual)(t.variables,e.variables)||(n=!0,o=t.variables)),r=n?c.setVariables:e.isPoll?c.poll:e.isRefetch?c.refetch:c.loading;var a=[];t&&t.graphQLErrors&&(a=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:a,networkStatus:r,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=c.fetchMore)},e.prototype.markQueryResult=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=c.ready,"string"==typeof r&&this.store[r]&&(this.store[r].networkStatus=c.ready))},e.prototype.markQueryError=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=c.error,"string"==typeof r&&this.markQueryResultClient(r,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?c.ready:c.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,r){return e[r]=Object(n.__assign)({},t.store[r],{networkStatus:c.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(i.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(i.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(n.__awaiter)(this,void 0,void 0,function(){return Object(n.__generator)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return Object(n.__assign)({},r,{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(i.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(i.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(n.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),Object(n.__awaiter)(this,void 0,void 0,function(){return Object(n.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return Object(n.__assign)({},t,e.exportedVariables)})]:[2,Object(n.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(h.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return h.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(i.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,o,a,s){return void 0===r&&(r={}),void 0===o&&(o={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(n.__awaiter)(this,void 0,void 0,function(){var u,c,l,h,d,f,p,v,m;return Object(n.__generator)(this,function(y){var _;return u=Object(i.getMainDefinition)(e),c=Object(i.getFragmentDefinitions)(e),l=Object(i.createFragmentMap)(c),h=u.operation,d=h?(_=h).charAt(0).toUpperCase()+_.slice(1):"Query",p=(f=this).cache,v=f.client,m={fragmentMap:l,context:Object(n.__assign)({},r,{cache:p,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:d,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r){return Object(n.__awaiter)(this,void 0,void 0,function(){var o,a,u,c,l,h=this;return Object(n.__generator)(this,function(d){return o=r.fragmentMap,a=r.context,u=r.variables,c=[t],l=function(e){return Object(n.__awaiter)(h,void 0,void 0,function(){var l,h;return Object(n.__generator)(this,function(n){return Object(i.shouldInclude)(e,u)?Object(i.isField)(e)?[2,this.resolveField(e,t,r).then(function(t){var r;void 0!==t&&c.push(((r={})[Object(i.resultKeyNameFromField)(e)]=t,r))})]:(Object(i.isInlineFragment)(e)?l=e:(l=o[e.name.value],Object(s.b)(l)),l&&l.typeCondition&&(h=l.typeCondition.name.value,r.fragmentMatcher(t,h,a))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(i.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,r){return Object(n.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,h,d,f,p=this;return Object(n.__generator)(this,function(n){return o=r.variables,a=e.name.value,s=Object(i.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(h=t.__typename||r.defaultOperationType,(d=this.resolvers&&this.resolvers[h])&&(f=d[u?a:s])&&(l=Promise.resolve(f(t,Object(i.argumentsObjectFromField)(e,o),r.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,r):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,r):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0}))},e}(),O=function(){function e(e){var t=e.link,r=e.queryDeduplication,n=void 0!==r&&r,i=e.store,a=e.onBroadcast,s=void 0===a?function(){}:a,u=e.ssrMode,c=void 0!==u&&u,h=e.clientAwareness,d=void 0===h?{}:h,f=e.localState;this.mutationStore=new b,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=o.a.from([new l,t]),this.queryDeduplication=n,this.dataStore=i,this.onBroadcast=s,this.clientAwareness=d,this.localState=f||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,a=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,h=e.awaitRefetchQueries,d=void 0!==h&&h,p=e.update,v=e.errorPolicy,y=void 0===v?"none":v,_=e.fetchPolicy,b=e.context,g=void 0===b?{}:b;return Object(n.__awaiter)(this,void 0,void 0,function(){var e,c,h,v,b,w=this;return Object(n.__generator)(this,function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!_||"no-cache"===_),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),r=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getMutationDefinition)(t)),r),this.setQuery(e,function(){return{document:t}}),h=function(){var e={};return u&&Object.keys(u).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(r){e[r]={updater:u[t],query:w.queryStore.get(r)}})}),e},Object(i.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,r,g)]:[3,2];case 1:return b=O.sent(),[3,3];case 2:b=r,O.label=3;case 3:return v=b,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:h(),update:p,optimisticResponse:a}),this.broadcastQueries(),[2,new Promise(function(r,s){var u,c,b=w.buildOperationForLink(t,v,Object(n.__assign)({},g,{optimisticResponse:a})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:a}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],r=0,n=l;r=(r||1)&&(I.queryStore.markQueryError(e,t,o),I.invalidate(!0,e,o),I.broadcastQueries()),new m({networkError:t})}),"cache-and-network"!==h)return[2,k];k.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,r){var i=this,o=!1;return function(a,s,u){return Object(n.__awaiter)(i,void 0,void 0,function(){var i,c,l,h,f,p,v,y,_,b,g,w,O,E,S,P,x,T,C,k;return Object(n.__generator)(this,function(I){switch(I.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(i=this.getQuery(e).observableQuery,"standby"===(c=i?i.options.fetchPolicy:t.fetchPolicy))return[2];if(l=i?i.options.errorPolicy:t.errorPolicy,h=i?i.getLastResult():null,f=i?i.getLastError():null,p=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(h&&a.networkStatus!==h.networkStatus),y=l&&(f&&f.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!d(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(_=new m({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,r.error)try{r.error(_)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw _},0);return[2]}I.label=1;case 1:if(I.trys.push([1,7,,8]),b=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),b=s.result,g=!s.complete||!1):h&&h.data&&!y?(b=h.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),b=O.result,g=!O.complete),E=void 0,E=g&&"cache-only"!==c?{data:h&&h.data,loading:d(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:b,loading:d(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(E.errors=a.graphQLErrors),!r.next)return[3,6];if(!o&&i&&!i.isDifferentFromLastResult(E))return[3,6];I.label=2;case 2:return I.trys.push([2,5,,6]),u?(S=t.query,P=t.variables,x=t.context,[4,this.localState.runResolvers({document:S,remoteResult:E,context:x,variables:P,onlyRunForcedResolvers:u})]):[3,4];case 3:T=I.sent(),E=Object(n.__assign)({},E,T),I.label=4;case 4:return r.next(E),[3,6];case 5:return C=I.sent(),setTimeout(function(){throw C},0),[3,6];case 6:return o=!1,[3,8];case 7:return k=I.sent(),o=!0,r.error&&r.error(new m({networkError:k})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var r=Object(i.getQueryDefinition)(e.query);if(r.variableDefinitions&&r.variableDefinitions.length){var o=Object(i.getDefaultValues)(r);e.variables=Object(i.assign)({},o,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(n.__assign)({},e);return new y({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise(function(r,n){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,n),i.result().then(r,n).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var r=e.listeners;return{listeners:(void 0===r?[]:r).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,r){var n=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:r.variables,optimistic:!0,previousResult:function(){var t=null,r=n.getQuery(e).observableQuery;if(r){var i=r.getLastResult();i&&(t=i.data)}return t},callback:function(t){n.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var r=Object(i.getQueryDefinition)(t.options.query);if(r.name&&r.name.value){var n=r.name.value;this.queryIdsByName[n]=this.queryIdsByName[n]||[],this.queryIdsByName[n].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),r=t.observableQuery,n=t.cancel;if(n&&n(),r){var o=Object(i.getQueryDefinition)(r.options.query),a=o.name?o.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(r.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,r){t.observableQuery&&e.push(r)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,r){return this.addQueryListener(e,r),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,r=this,a=e.query,s=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(a),c=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getOperationDefinition)(a)),e.variables),l=c,h=[],d=this.localState.clientQuery(u);return new f(function(e){if(h.push(e),1===h.length){var a=0,p=!1,v={next:function(e){return Object(n.__awaiter)(r,void 0,void 0,function(){var t;return Object(n.__generator)(this,function(r){switch(r.label){case 0:return a+=1,t=e,d&&Object(i.hasDirectives)(["client"],d)?[4,this.localState.runResolvers({document:d,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=r.sent(),r.label=2;case 2:return s&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),h.forEach(function(e){Object(i.graphQLResultHasError)(t)&&e.error?e.error(new m({graphQLErrors:t.errors})):e.next&&e.next(t),a-=1}),0===a&&p&&v.complete(),[2]}})})},error:function(e){h.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===a&&h.forEach(function(e){e.complete&&e.complete()}),p=!0}};Object(n.__awaiter)(r,void 0,void 0,function(){var e,r,a,s;return Object(n.__generator)(this,function(n){switch(n.label){case 0:return Object(i.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return r=n.sent(),[3,3];case 2:r=c,n.label=3;case 3:return e=r,(a=this.localState.serverQuery(u))?(s=this.buildOperationForLink(a,e),t=Object(o.c)(this.link,s).subscribe(v)):t=f.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(h=h.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var r=e.options,n=r.variables,i=r.query,o=r.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:n,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var r=this.getQuery(e).observableQuery;Object(s.b)(r),t=r}else t=e;var n=t.options,i=n.variables,o=n.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(r,n){r.invalidated&&r.listeners&&r.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(n),r.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,r=[];return this.queries.forEach(function(n,i){var o=n.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),r},e.prototype.fetchRequest=function(e){var t,r,a=this,s=e.requestId,u=e.queryId,l=e.document,h=e.options,d=e.fetchMoreForQueryId,p=h.variables,v=h.context,y=h.errorPolicy,_=void 0===y?"none":y,b=h.fetchPolicy;return new Promise(function(e,h){var y,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var E=a.buildOperationForLink(O,p,Object(n.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=E.context,y=Object(o.c)(a.deduplicator,E)}else g=a.prepareContext(v),y=f.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,h);var S=!1,P=!0,x={next:function(e){return Object(n.__awaiter)(a,void 0,void 0,function(){var o,a;return Object(n.__generator)(this,function(n){switch(n.label){case 0:return P=!0,o=e,a=this.getQuery(u).lastRequestId,s>=(a||1)?w&&Object(i.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:p}).catch(function(t){return P=!1,h(t),e})]:[3,2]:[3,3];case 1:o=n.sent(),n.label=2;case 2:if("no-cache"!==b)try{this.dataStore.markQueryResult(o,l,p,d,"ignore"===_||"all"===_)}catch(e){return P=!1,h(e),[2]}else this.setQuery(u,function(){return{newData:{result:o.data,complete:!0}}});this.queryStore.markQueryResult(u,o,d),this.invalidate(!0,u,d),this.broadcastQueries(),n.label=3;case 3:if(o.errors&&"none"===_)return P=!1,h(new m({graphQLErrors:o.errors})),[2];if("all"===_&&(r=o.errors),d||"no-cache"===b)t=o.data;else try{t=this.dataStore.getCache().read({variables:p,query:l,optimistic:!1})}catch(e){}return P=!1,S&&x.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==T})}}),h(e)},complete:function(){P||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==T})}}),e({data:t,errors:r,loading:!1,networkStatus:c.ready,stale:!1})),S=!0}},T=y.subscribe(x);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([T])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,r=this.queryIdsByName[e];if(void 0!==r)return Promise.all(r.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var r=this.getQuery(e),i=Object(n.__assign)({},r,t(r));this.queries.set(e,i)},e.prototype.invalidate=function(e,t,r){t&&this.setQuery(t,function(){return{invalidated:e}}),r&&this.setQuery(r,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,r){var n=this.dataStore.getCache();return{query:n.transformForLink?n.transformForLink(e):e,variables:t,operationName:Object(i.getOperationName)(e)||void 0,context:this.prepareContext(r)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(n.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==c.ready&&t.networkStatus!==c.error},e.prototype.startPollingQuery=function(e,t,r){var i=e.pollInterval;return Object(s.b)(i),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:i,lastPollTimeMs:Date.now()-10,options:Object(n.__assign)({},e,{fetchPolicy:"network-only"})}),r&&this.addQueryListener(t,r),this.schedulePoll(i)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,r=Date.now();if(this.nextPoll){if(!(e=r.interval){var i=function(){r.lastPollTimeMs=Date.now()};t.fetchQuery(n,r.options,p.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),E=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,r,n,o){void 0===o&&(o=!1);var a=!Object(i.graphQLResultHasError)(e);o&&Object(i.graphQLResultHasError)(e)&&e.data&&(a=!0),!n&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:r})},e.prototype.markSubscriptionResult=function(e,t,r){Object(i.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:r})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var r;r="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(n){var i=t.cache;t.cache=n;try{t.markMutationResult({mutationId:e.mutationId,result:{data:r},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(i.graphQLResultHasError)(e.result)){var r=[];r.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(n){var o=e.updateQueries[n],a=o.query,s=o.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(i.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(i.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&r.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){r.forEach(function(t){return e.write(t)})});var n=e.update;n&&this.cache.performTransaction(function(t){Object(i.tryFunctionOrLogError)(function(){return n(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,r){this.cache.write({result:r,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),S="2.5.1",P=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var r=e.cache,n=e.ssrMode,a=void 0!==n&&n,u=e.ssrForceFetchDelay,c=void 0===u?0:u,l=e.connectToDevTools,h=e.queryDeduplication,d=void 0===h||h,f=e.defaultOptions,p=e.resolvers,v=e.typeDefs,m=e.fragmentMatcher,y=e.name,_=e.version,b=e.link;if(!b&&p&&(b=o.a.empty()),!b||!r)throw new s.a;var g=new Map,O=new o.a(function(e,t){var r=g.get(e.query);return r||(r=Object(i.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,r),g.set(r,r)),e.query=r,t(e)});this.link=O.concat(b),this.cache=r,this.store=new E(r),this.disableNetworkFetches=a||c>0,this.queryDeduplication=d,this.ssrMode=a,this.defaultOptions=f||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=S,y&&(this.clientAwareness.name=y),_&&(this.clientAwareness.version=_),this.localState=new w({cache:r,client:this,resolvers:p,fragmentMatcher:m})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(n.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(n.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(n.__assign)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(n.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(n.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.c)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},384:function(e,t,r){"use strict";var n=r(280),i=r(270);function o(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(e)}]}}function a(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return a(e[0]);var t=[];return Object.keys(e).forEach(function(r){var n={kind:"Field",name:{kind:"Name",value:r},selectionSet:a(e[r])||void 0};t.push(n)}),{kind:"SelectionSet",selections:t}}var s,u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},c=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(i.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(i.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,r,n=e.id,i=e.data;if(void 0!==n){var s=null;try{s=this.read({rootId:n,optimistic:!1,query:u})}catch(e){}var c=s&&s.__typename||"__ClientData",l=Object.assign({__typename:c},i);this.writeFragment({id:n,fragment:(t=l,r=c,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(t)}]}),data:l})}else this.writeQuery({query:o(i),data:i})},e}();s||(s={});var l=r(340),h=r(290);r.d(t,"a",function(){return F});var d=new Map;if(d.set(1,2)!==d){var f=d.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return m&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new h.a}),o&&Object(i.isEqual)(o,v.result)&&(v.result=o),{result:v.result,complete:!m}},e.prototype.executeStoreQuery=function(e){var t=e.query,r=e.rootValue,n=e.contextValue,o=e.variableValues,a=e.fragmentMatcher,s=void 0===a?T:a,u=Object(i.getMainDefinition)(t),c=Object(i.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(i.createFragmentMap)(c),contextValue:n,variableValues:o,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:r,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,r=e.selectionSet,o=e.rootValue,a=e.execContext,s=a.fragmentMap,u=a.contextValue,c=a.variableValues,l={result:null},d=[],f=u.store.get(o.id),p=f&&f.__typename||"ROOT_QUERY"===o.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return r.selections.forEach(function(e){var r;if(Object(i.shouldInclude)(e,c))if(Object(i.isField)(e)){var l=v(t.executeField(f,p,e,a));void 0!==l&&d.push(((r={})[Object(i.resultKeyNameFromField)(e)]=l,r))}else{var m=void 0;if(Object(i.isInlineFragment)(e))m=e;else if(!(m=s[e.name.value]))throw new h.a;var y=m.typeCondition.name.value,_=a.fragmentMatcher(o,y,u);if(_){var b=t.executeSelectionSet({selectionSet:m.selectionSet,rootValue:o,execContext:a});"heuristic"===_&&b.missing&&(b=Object(n.__assign)({},b,{missing:b.missing.map(function(e){return Object(n.__assign)({},e,{tolerable:!0})})})),d.push(v(b))}}}),l.result=Object(i.mergeDeepArray)(d),l},e.prototype.executeField=function(e,t,r,n){var o=n.variableValues,a=n.contextValue,s=function(e,t,r,n,o,a){a.resultKey;var s=a.directives,u=r;(n||s)&&(u=Object(i.getStoreKeyName)(u,n,s));var c=void 0;if(e&&void 0===(c=e[u])&&o.cacheRedirects&&"string"==typeof t){var l=o.cacheRedirects[t];if(l){var h=l[r];h&&(c=h(e,n,{getCacheKey:function(e){return Object(i.toIdValue)({id:o.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(i.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,r.name.value,Object(i.argumentsObjectFromField)(r,o),a,{resultKey:Object(i.resultKeyNameFromField)(r),directives:Object(i.getDirectiveInfoFromField)(r,o)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(r,s.result,n)):r.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:r.selectionSet,rootValue:s.result,execContext:n})):(x(r,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;r[e].push(t)}else r[e]=[t];return!1}var j={fragmentMatcher:new g,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var R=Object.prototype.hasOwnProperty,M=function(e){function t(t,r,n){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=r,i.transaction=n,i}return Object(n.__extends)(t,e),t.prototype.toObject=function(){return Object(n.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return R.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(C),F=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;r.watches=new Set,r.typenameDocumentCache=new Map,r.cacheKeyRoot=new w,r.silenceBroadcast=!1,r.config=Object(n.__assign)({},j,t),r.config.customResolvers&&(r.config.cacheRedirects=r.config.customResolvers),r.config.cacheResolvers&&(r.config.cacheRedirects=r.config.cacheResolvers),r.addTypename=r.config.addTypename,r.data=r.config.resultCaching?new E:new C,r.optimisticData=r.data,r.storeReader=new P(r.cacheKeyRoot),r.storeWriter=new I;var i=r,o=i.maybeBroadcastWatch;return r.maybeBroadcastWatch=Object(l.wrap)(function(e){return o.call(r,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return i.data instanceof E?i.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),r}return Object(n.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new h.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],r=0,n=this.optimisticData;n instanceof M;)n.optimisticId===e?++r:t.push(n),n=n.parent;if(r>0){for(this.optimisticData=n;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var r=this.data,n=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new M(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=n,this.data=r}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(i.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(c)},386:function(e,t,r){"use strict";var n=r(278),i=r(270),o=r(337),a=r(287),s={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;r.d(t,"a",function(){return d});var c,l=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=o.graphql,d=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,r=e.cache,o=e.typeDefs,c=e.fragmentMatcher;return r&&t&&r.writeData({data:t}),new(function(d){function f(){return null!==d&&d.apply(this,arguments)||this}return l(f,d),f.prototype.writeDefaults=function(){r&&t&&r.writeData({data:t})},f.prototype.request=function(r,l){if(void 0===l&&(l=function(){return n.b.of({data:{}})}),o){var d=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(a.print)(e)}).map(function(e){return e.trim()}).join("\n")}(o);r.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:d,directives:"directive @client on FIELD"}])}})}if(!Object(i.hasDirectives)(["client"],r.query))return l(r);var f,p="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(i.checkDocument)(e);var r=Object(i.removeDirectivesFromDocument)([s],e);return u.set(e,r),r}(r.query),m=r.query,y=(f=(Object(i.getMainDefinition)(m)||{}).operation).charAt(0).toUpperCase()+f.slice(1)||"Query",_=function(e,r,n,i,o){void 0===r&&(r={});var a=o.resultKey,s=r[a],u=r[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=p[r.__typename||y];if(l){var h=l[e];if(h)return h(r,n,i,o)}return(c?s:u)||(t||{})[e]};v&&(r.query=v);var b=v&&l?l(r):n.b.of({data:{}});return new n.b(function(e){var t=!1,n=!1;b.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=r.getContext();n=!0,h(_,m,o,u,r.variables,{fragmentMatcher:c}).then(function(r){e.next({data:r,errors:a}),t&&e.complete(),n=!1}).catch(s)},error:e.error.bind(e),complete:function(){n||e.complete(),t=!0}})})},f}(n.a))}},387:function(e,t,r){"use strict";var n=r(278),i=r(287),o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=300&&s(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||s(e,t,"Server response was missing for query '"+(Array.isArray(n)?n.map(function(e){return e.operationName}):n.operationName)+"'."),t})})).then(function(e){return r.next(e),r.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))}),function(){_&&_.abort()}})})};var d=function(e){function t(t){return e.call(this,h(t).request)||this}return function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(n.a)}}]); -//# sourceMappingURL=6.95d8992691928e6c2557.js.map \ No newline at end of file diff --git a/packages/ui/dist/6.95d8992691928e6c2557.js.LICENSE b/packages/ui/dist/6.95d8992691928e6c2557.js.LICENSE deleted file mode 100644 index 585477498..000000000 --- a/packages/ui/dist/6.95d8992691928e6c2557.js.LICENSE +++ /dev/null @@ -1,109 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 Vaadin Ltd. -This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ -*/ diff --git a/packages/ui/dist/6.95d8992691928e6c2557.js.map b/packages/ui/dist/6.95d8992691928e6c2557.js.map deleted file mode 100644 index a68e963bf..000000000 --- a/packages/ui/dist/6.95d8992691928e6c2557.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"6.95d8992691928e6c2557.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/6.b5eda0fd20f44702613d.js b/packages/ui/dist/6.b5eda0fd20f44702613d.js deleted file mode 100644 index bc1777e4e..000000000 --- a/packages/ui/dist/6.b5eda0fd20f44702613d.js +++ /dev/null @@ -1,23 +0,0 @@ -/*! For license information please see 6.b5eda0fd20f44702613d.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{268:function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"getDirectiveInfoFromField",function(){return E}),r.d(t,"shouldInclude",function(){return S}),r.d(t,"getDirectiveNames",function(){return P}),r.d(t,"hasDirectives",function(){return x}),r.d(t,"hasClientExports",function(){return C}),r.d(t,"getFragmentQueryDocument",function(){return T}),r.d(t,"getMutationDefinition",function(){return I}),r.d(t,"checkDocument",function(){return N}),r.d(t,"getOperationDefinition",function(){return j}),r.d(t,"getOperationDefinitionOrDie",function(){return A}),r.d(t,"getOperationName",function(){return R}),r.d(t,"getFragmentDefinitions",function(){return M}),r.d(t,"getQueryDefinition",function(){return F}),r.d(t,"getFragmentDefinition",function(){return D}),r.d(t,"getMainDefinition",function(){return L}),r.d(t,"createFragmentMap",function(){return q}),r.d(t,"getDefaultValues",function(){return Q}),r.d(t,"variablesInOperation",function(){return V}),r.d(t,"removeDirectivesFromDocument",function(){return G}),r.d(t,"addTypenameToDocument",function(){return $}),r.d(t,"removeConnectionDirectiveFromDocument",function(){return J}),r.d(t,"getDirectivesFromDocument",function(){return X}),r.d(t,"removeArgumentsFromDocument",function(){return Z}),r.d(t,"removeFragmentSpreadFromDocument",function(){return ee}),r.d(t,"buildQueryFromSelectionSet",function(){return te}),r.d(t,"removeClientSetsFromDocument",function(){return re}),r.d(t,"isScalarValue",function(){return u}),r.d(t,"isNumberValue",function(){return c}),r.d(t,"valueToObjectRepresentation",function(){return l}),r.d(t,"storeKeyNameFromField",function(){return h}),r.d(t,"getStoreKeyName",function(){return f}),r.d(t,"argumentsObjectFromField",function(){return p}),r.d(t,"resultKeyNameFromField",function(){return v}),r.d(t,"isField",function(){return m}),r.d(t,"isInlineFragment",function(){return y}),r.d(t,"isIdValue",function(){return _}),r.d(t,"toIdValue",function(){return b}),r.d(t,"isJsonValue",function(){return g}),r.d(t,"valueFromNode",function(){return O}),r.d(t,"assign",function(){return k}),r.d(t,"cloneDeep",function(){return ie}),r.d(t,"getEnv",function(){return oe}),r.d(t,"isEnv",function(){return ae}),r.d(t,"isProduction",function(){return se}),r.d(t,"isDevelopment",function(){return ue}),r.d(t,"isTest",function(){return ce}),r.d(t,"tryFunctionOrLogError",function(){return le}),r.d(t,"graphQLResultHasError",function(){return he}),r.d(t,"isEqual",function(){return de}),r.d(t,"maybeDeepFreeze",function(){return fe}),r.d(t,"mergeDeep",function(){return ve}),r.d(t,"mergeDeepArray",function(){return me}),r.d(t,"warnOnceInDevelopment",function(){return we}),r.d(t,"stripSymbols",function(){return Oe});var n=r(289),i=r(291),o=r(272),a=r(339),s=r.n(a);function u(e){return["StringValue","BooleanValue","EnumValue"].indexOf(e.kind)>-1}function c(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function l(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map(function(e){return l(o,e.name,e.value,n)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(n||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,n),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.a;e[t.value]=null}}function h(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),f(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export"];function f(e,t,r){if(r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i=t,o={};return n.forEach(function(e){o[e]=i[e]}),r.connection.key+"("+JSON.stringify(o)+")"}return r.connection.key}var a=e;if(t){var u=s()(t);a+="("+u+")"}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@"+e+"("+JSON.stringify(r[e])+")":a+="@"+e)}),a}function p(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){var n=e.name,i=e.value;return l(r,n,i,t)}),r}return null}function v(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function y(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function b(e,t){return void 0===t&&(t=!1),Object(o.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function g(e){return null!=e&&"object"==typeof e&&"json"===e.type}function w(e){throw new i.a}function O(e,t){switch(void 0===t&&(t=w),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return O(e,t)});case"ObjectValue":for(var r={},n=0,i=e.fields;n-1})}function C(e){return e&&x(["client"],e)&&x(["export"],e)}function T(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new i.a;"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&(Object(i.b)(1===n.length),r=n[0].name.value),Object(o.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}].concat(e.definitions)})}function k(e){for(var t=[],r=1;r1){var n=[];t=be(t,n);for(var i=1;i=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function u(e,t){return function(r,n){t(r,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,s)}u((n=n.apply(e,t||[])).next())})}function h(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function p(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(r=i[e](t)).value instanceof m?Promise.resolve(r.value.v).then(u,c):l(o[0][2],r)}catch(e){l(o[0][3],e)}var r}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function _(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function b(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=f(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,i,(t=e[r](t)).done,t.value)})}}}function g(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function O(e){return e&&e.__esModule?e:{default:e}}},275:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},277:function(e,t,r){"use strict";var n=new WeakMap,i=e=>"function"==typeof e&&n.has(e),o=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,a=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;n!==r;){var i=n.nextSibling;e.removeChild(n),n=i}},s={},u={},c=`{{lit-${String(Math.random()).slice(2)}}}`,l=`\x3c!--${c}--\x3e`,h=new RegExp(`${c}|${l}`),d="$lit$";class f{constructor(e,t){this.parts=[],this.element=t;var r=-1,n=0,i=[],o=t=>{for(var a=t.content,s=document.createTreeWalker(a,133,null,!1),u=0;s.nextNode();){r++;var l=s.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var f=l.attributes,p=0,y=0;y=0&&p++;for(;p-- >0;){var _=e.strings[n],b=m.exec(_)[2],g=b.toLowerCase()+d,w=l.getAttribute(g).split(h);this.parts.push({type:"attribute",index:r,name:b,strings:w}),l.removeAttribute(g),n+=w.length-1}}"TEMPLATE"===l.tagName&&o(l)}else if(3===l.nodeType){var O=l.data;if(O.indexOf(c)>=0){for(var E=l.parentNode,S=O.split(h),P=S.length-1,x=0;x-1!==e.index,v=()=>document.createComment(""),m=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;class y{constructor(e,t,r){this._parts=[],this.template=e,this.processor=t,this.options=r}update(e){var t=0;for(var r of this._parts)void 0!==r&&r.setValue(e[t]),t++;for(var n of this._parts)void 0!==n&&n.commit()}_clone(){var e=o?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=this.template.parts,r=0,n=0,i=e=>{for(var o=document.createTreeWalker(e,133,null,!1),a=o.nextNode();rnull===e||!("object"==typeof e||"function"==typeof e);class g{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.startNode;a(this.startNode.parentNode,e.nextSibling,this.endNode)}}class E{constructor(e,t,r){if(this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this._pendingValue=e}commit(){for(;i(this._pendingValue);){var e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue!==s){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=s}}}class S extends g{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new P(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class P extends w{}var x=!1;try{var C={get capture(){return x=!0,!1}};window.addEventListener("test",C,C),window.removeEventListener("test",C,C)}catch(e){}class T{constructor(e,t,r){this.value=void 0,this._pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this._boundHandleEvent=(e=>this.handleEvent(e))}setValue(e){this._pendingValue=e}commit(){for(;i(this._pendingValue);){var e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue!==s){var t=this._pendingValue,r=this.value,n=null==t||null!=r&&(t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive),o=null!=t&&(null==r||n);n&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),o&&(this._options=k(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=s}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}var k=e=>e&&(x?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);var I=new class{handleAttributeExpressions(e,t,r,n){var i=t[0];return"."===i?new S(e,t.slice(1),r).parts:"@"===i?[new T(e,t.slice(1),n.eventContext)]:"?"===i?[new E(e,t.slice(1),r)]:new g(e,t,r).parts}handleTextExpression(e){return new O(e)}};function N(e){var t=j.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},j.set(e.type,t));var r=t.stringsArray.get(e.strings);if(void 0!==r)return r;var n=e.strings.join(c);return void 0===(r=t.keyString.get(n))&&(r=new f(e,e.getTemplateElement()),t.keyString.set(n,r)),t.stringsArray.set(e.strings,r),r}var j=new Map,A=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var R=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.parentNode.removeChild(e))}var D=e=>{for(var t=11===e.nodeType?0:1,r=document.createTreeWalker(e,M,null,!1);r.nextNode();)t++;return t},L=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t`${e}--${t}`,Q=!0;void 0===window.ShadyCSS?Q=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),Q=!1);var V=e=>t=>{var r=q(t.type,e),n=j.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},j.set(r,n));var i=n.stringsArray.get(t.strings);if(void 0!==i)return i;var o=t.strings.join(c);if(void 0===(i=n.keyString.get(o))){var a=t.getTemplateElement();Q&&window.ShadyCSS.prepareTemplateDom(a,e),i=new f(t,a),n.keyString.set(o,i)}return n.stringsArray.set(t.strings,i),i},B=["html","svg"],U=new Set,H=(e,t,r)=>{U.add(r);var n=e.querySelectorAll("style");if(0!==n.length){for(var i=document.createElement("style"),o=0;o{B.forEach(t=>{var r=j.get(q(t,e));void 0!==r&&r.keyString.forEach(e=>{var t=e.element.content,r=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{r.add(e)}),F(e,r)})})})(r),function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e.element.content,i=e.parts;if(null!=r)for(var o=document.createTreeWalker(n,M,null,!1),a=L(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===r&&(s=D(t),r.parentNode.insertBefore(t,r));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=L(i,a);return}a=L(i,a)}else n.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,r),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),F(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,r)};window.JSCompiler_renameProperty=((e,t)=>e);var z={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},G=(e,t)=>t!==e&&(t==t||e==e),$={attribute:!0,type:String,converter:z,reflect:!1,hasChanged:G},K=Promise.resolve(!0),J=1,Y=4,W=8,X=16,Z=32;class ee extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=K,this._hasConnectedResolver=void 0,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();var e=[];return this._classProperties.forEach((t,r)=>{var n=this._attributeNameForProperty(r,t);void 0!==n&&(this._attributeToPropertyMap.set(n,r),e.push(n))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var r="symbol"==typeof e?Symbol():`__${e}`;Object.defineProperty(this.prototype,e,{get(){return this[r]},set(t){var n=this[e];this[r]=t,this.requestUpdate(e,n)},configurable:!0,enumerable:!0})}}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,r=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(var n of r)this.createProperty(n,t[n])}}}static _attributeNameForProperty(e,t){var r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:G)(e,t)}static _propertyValueFromAttribute(e,t){var r=t.type,n=t.converter||z,i="function"==typeof n?n:n.fromAttribute;return i?i(e,r):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){var r=t.type,n=t.converter;return(n&&n.toAttribute||z.toAttribute)(e,r)}}initialize(){this._saveInstanceProperties()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){var r=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,r)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this._updateState=this._updateState|Z,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$,n=this.constructor,i=n._attributeNameForProperty(e,r);if(void 0!==i){var o=n._propertyValueToAttribute(t,r);if(void 0===o)return;this._updateState=this._updateState|W,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=this._updateState&~W}}_attributeToProperty(e,t){if(!(this._updateState&W)){var r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){var i=r._classProperties.get(n)||$;this._updateState=this._updateState|X,this[n]=r._propertyValueFromAttribute(t,i),this._updateState=this._updateState&~X}}}requestUpdate(e,t){var r=!0;if(void 0!==e&&!this._changedProperties.has(e)){var n=this.constructor,i=n._classProperties.get(e)||$;n._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.set(e,t),!0!==i.reflect||this._updateState&X||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):r=!1}return!this._hasRequestedUpdate&&r&&this._enqueueUpdate(),this.updateComplete}_enqueueUpdate(){return new Promise(function(e,t){var r,n,i;return this._updateState=this._updateState|Y,n=this._updatePromise,this._updatePromise=new Promise(e=>r=e),Promise.resolve(n).then(function(n){try{if(!this._hasConnected)return Promise.resolve(new Promise(e=>this._hasConnectedResolver=e)).then(function(e){try{return o.call(this)}catch(e){return t(e)}}.bind(this),t);function o(){if(null!=(i=this.performUpdate())&&"function"==typeof i.then)return Promise.resolve(i).then(function(e){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return r(!this._hasRequestedUpdate),e()}return n.call(this)}return o.call(this)}catch(e){return t(e)}}.bind(this),t)}.bind(this))}get _hasConnected(){return this._updateState&Z}get _hasRequestedUpdate(){return this._updateState&Y}get hasUpdated(){return this._updateState&J}performUpdate(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),this._updateState&J||(this._updateState=this._updateState|J,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~Y}get updateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0)}updated(e){}firstUpdated(e){}}ee.finalized=!0;ne((e,t)=>e.querySelector(t)),ne((e,t)=>e.querySelectorAll(t));var te=(e,t,r)=>{Object.defineProperty(t,r,e)},re=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});function ne(e){return t=>(r,n)=>{var i={get(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0};return void 0!==n?te(i,r,n):re(i,r)}}var ie="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol();r.d(t,"a",function(){return ae}),r.d(t,"b",function(){return R}),(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var oe=e=>e.flat?e.flat(1/0):function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0,i=t.length;n(e.add(t),e),new Set).forEach(e=>t.unshift(e)):e&&t.push(e);return t}initialize(){super.initialize(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?ie?this.renderRoot.adoptedStyleSheets=e.map(e=>e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){super.update(e);var t=this.render();t instanceof _&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{var t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){}}ae.finalized=!0,ae.render=((e,t,r)=>{var n=r.scopeName,i=A.has(t),o=t instanceof ShadowRoot&&Q&&e instanceof _,s=o&&!U.has(n),u=s?document.createDocumentFragment():t;if(((e,t,r)=>{var n=A.get(t);void 0===n&&(a(t,t.firstChild),A.set(t,n=new O(Object.assign({templateFactory:N},r))),n.appendInto(t)),n.setValue(e),n.commit()})(e,u,Object.assign({templateFactory:V(n)},r)),s){var c=A.get(u);A.delete(u),c.value instanceof y&&H(u,c.value.template,n),a(t,t.firstChild),t.appendChild(u),A.set(t,c)}!i&&o&&window.ShadyCSS.styleElement(t.host)})},279:function(e,t,r){"use strict";var n=r(307),i=r.n(n).a,o=r(285);r.d(t,"d",function(){return l}),r.d(t,"e",function(){return m}),r.d(t,"a",function(){return _}),r.d(t,"c",function(){return b}),r.d(t,"b",function(){return i});var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r+~])"},284:function(e,t,r){var n=r(378).parse;function i(e){return e.replace(/[\s,]+/g," ").trim()}var o={},a={};var s=!0;var u=!1;function c(e){var t=i(e);if(o[t])return o[t];var r=n(e,{experimentalFragmentVariables:u});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");return r=function e(t,r){var n=Object.prototype.toString.call(t);if("[object Array]"===n)return t.map(function(t){return e(t,r)});if("[object Object]"!==n)throw new Error("Unexpected input.");r&&t.loc&&delete t.loc,t.loc&&(delete t.loc.startToken,delete t.loc.endToken);var i,o,a,s=Object.keys(t);for(i in s)s.hasOwnProperty(i)&&(o=t[s[i]],"[object Object]"!==(a=Object.prototype.toString.call(o))&&"[object Array]"!==a||(t[s[i]]=e(o,!0)));return t}(r=function(e){for(var t,r={},n=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],h=-1,d=[],f=void 0,p=void 0,v=void 0,m=[],y=[],_=e;do{var b=++h===l.length,g=b&&0!==d.length;if(b){if(p=0===y.length?void 0:m[m.length-1],f=v,v=y.pop(),g){if(c)f=f.slice();else{for(var w={},O=Object.keys(f),E=0;E1)for(var r=1;r{n=e}),"complete"===document.readyState?n():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&n()})),i.then(function(){e&&e()}))})}r.d(t,"a",function(){return h});var s="__seenByShadyCSS",u="__shadyCSSCachedStyle",c=null,l=null;class h{constructor(){this.customStyles=[],this.enqueued=!1,a(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&l&&(this.enqueued=!0,a(l))}addCustomStyle(e){e[s]||(e[s]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[u]?e[u]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;tc,set(e){c=e}},validateCallback:{get:()=>l,set(e){var t=!1;l||(t=!0),l=e,t&&this.enqueueDocumentValidation()}}})},304:function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(305);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":if(e){var t=function(e){var t=e[String(n.a)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(t){var r=t.call(e);return"string"==typeof r?r:o(r)}if(Array.isArray(e))return"["+e.map(o).join(", ")+"]";var a=Object.keys(e).map(function(t){return"".concat(t,": ").concat(o(e[t]))}).join(", ");return a?"{ "+a+" }":"{}"}return String(e);default:return String(e)}}},305:function(e,t,r){"use strict";var n="function"==typeof Symbol?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=n},306:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},307:function(e,t,r){e.exports=r(325).Observable},308:function(e,t,r){"use strict";r.r(t),function(e,n){var i,o=r(334);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.default=a}.call(this,r(275),r(281)(e))},309:function(e,t,r){"use strict";(function(e){var r=new function(){};function n(){return r}try{var i=e["eriuqer".split("").reverse().join("")]("fibers");n=function(){return i.current||r}}catch(e){}t.get=function(){var e=n();return e._optimism_local||(e._optimism_local=Object.create(null))}}).call(this,r(292)(e))},324:function(e,t,r){"use strict";function n(e){return e=e||[],Array.isArray(e)?e:[e]}function i(e){return`[Vaadin.Router] ${e}`}r.d(t,"a",function(){return ue});var o="module",a="nomodule",s=[o,a];function u(e){if(!e.match(/.+\.[m]?js$/))throw new Error(i(`Unsupported type for bundle "${e}": .js or .mjs expected.`))}function c(e){if(!e||!v(e.path))throw new Error(i('Expected route config to be an object with a "path" string property, or an array of such objects'));var t=e.bundle,r=["component","redirect","bundle"];if(!(p(e.action)||Array.isArray(e.children)||p(e.children)||f(t)||r.some(t=>v(e[t]))))throw new Error(i(`Expected route config "${e.path}" to include either "${r.join('", "')}" `+'or "action" function but none found.'));if(t)if(v(t))u(t);else{if(!s.some(e=>e in t))throw new Error(i('Expected route bundle to include either "'+a+'" or "'+o+'" keys, or both'));s.forEach(e=>e in t&&u(t[e]))}e.redirect&&["bundle","component"].forEach(t=>{t in e&&console.warn(i(`Route config "${e.path}" has both "redirect" and "${t}" properties, `+`and "redirect" will always override the latter. Did you mean to only use "${t}"?`))})}function l(e){n(e).forEach(e=>c(e))}function h(e,t){var r=document.head.querySelector('script[src="'+e+'"][async]');return r||((r=document.createElement("script")).setAttribute("src",e),t===o?r.setAttribute("type",o):t===a&&r.setAttribute(a,""),r.async=!0),new Promise((e,t)=>{r.onreadystatechange=r.onload=(t=>{r.__dynamicImportLoaded=!0,e(t)}),r.onerror=(e=>{r.parentNode&&r.parentNode.removeChild(r),t(e)}),null===r.parentNode?document.head.appendChild(r):r.__dynamicImportLoaded&&e()})}function d(e,t){return!window.dispatchEvent(new CustomEvent(`vaadin-router-${e}`,{cancelable:"go"===e,detail:t}))}function f(e){return"object"==typeof e&&!!e}function p(e){return"function"==typeof e}function v(e){return"string"==typeof e}function m(e){var t=new Error(i(`Page not found (${e.pathname})`));return t.context=e,t.code=404,t}var y=new class{};function _(e){if(!e.defaultPrevented&&0===e.button&&!(e.shiftKey||e.ctrlKey||e.altKey||e.metaKey)){for(var t=e.target,r=e.composedPath?e.composedPath():e.path||[],n=0;n-1&&(f=a[b],a=a.slice(0,b))}a&&(n.push(a),a="",c=!1);var g=""!==f&&void 0!==p&&p!==f,w="+"===_||"*"===_,O="?"===_||"*"===_,E=f||s,S=m||y;n.push({name:v||i++,prefix:f,delimiter:E,optional:O,repeat:w,partial:g,pattern:S?A(S):"[^"+j(E)+"]+?"})}}return(a||o-1;else{var d=j(h.prefix),f=h.repeat?"(?:"+h.pattern+")(?:"+d+"(?:"+h.pattern+"))*":h.pattern;t&&t.push(h),h.optional?h.partial?u+=d+"("+f+")?":u+="(?:"+d+"("+f+"))?":u+=d+"("+f+")"}}return i?(n||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(n||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,R(r))}function F(e,t,r){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n0&&"/"===t.charAt(d)&&(d+=1),a=Q(h,t.substr(d),r,o.keys,o.params)}var f=a.next(c);if(!f.done)return{done:!1,value:f.value};a=null,s++}return{done:!0}}}}function V(e){if(p(e.route.action))return e.route.action(e)}L.set("|false",{keys:[],pattern:/(?:)/});class B{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(e)!==e)throw new TypeError("Invalid routes");this.baseUrl=t.baseUrl||"",this.errorHandler=t.errorHandler,this.resolveRoute=t.resolveRoute||V,this.context=Object.assign({resolver:this},t.context),this.root=Array.isArray(e)?{path:"",__children:e,parent:null,__synthetic:!0}:e,this.root.parent=null}getRoutes(){return[...this.root.__children]}setRoutes(e){l(e);var t=[...n(e)];this.root.__children=t}addRoutes(e){return l(e),this.root.__children.push(...n(e)),this.getRoutes()}removeRoutes(){this.setRoutes([])}resolve(e){var t=Object.assign({},this.context,v(e)?{pathname:e}:e),r=Q(this.root,this.__normalizePathname(t.pathname),this.baseUrl),n=this.resolveRoute,i=null,o=null,a=t;function s(e){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&i.value.route;return i=o||r.next(c),o=null,e||!i.done&&function(e,t){for(var r=t;r;)if((r=r.parent)===e)return!0;return!1}(u,i.value.route)?i.done?Promise.reject(m(t)):(function(e,t){var r=t.route,n=t.path;if(r&&!r.__synthetic){var i={path:n,route:r};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,r)?e.chain.push(i):e.chain=[i]}}(t,i.value),a=Object.assign({},t,i.value),Promise.resolve(n(a)).then(t=>null!=t&&t!==y?(a.result=t.result||t,a):s(e,u,t))):(o=i,Promise.resolve(y))}return t.next=s,Promise.resolve().then(()=>s(!0,this.root)).catch(e=>{var t=function(e){var t=`Path '${e.pathname}' is not properly resolved due to an error.`,r=(e.route||{}).path;return r&&(t+=` Resolution had failed on route: '${r}'`),t}(a);if(e?console.warn(t):e=new Error(t),e.context=e.context||a,e instanceof DOMException||(e.code=e.code||500),this.errorHandler)return a.result=this.errorHandler(e),a;throw e})}static __createUrl(e,t){return new URL(e,t)}get __effectiveBaseUrl(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}__normalizePathname(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,r=this.constructor.__createUrl(e,t).href;return r.slice(0,t.length)===t?r.slice(t.length):void 0}}B.pathToRegexp=O;var U=B.pathToRegexp,H=new Map;function z(e,t){var r=e.get(t);if(r&&r.length>1)throw new Error(`Duplicate route with name "${t}".`+" Try seting unique 'name' route properties.");return r&&r[0]}function G(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof B))throw new TypeError("An instance of Resolver is expected");var r=new Map;return(n,i)=>{var o=z(r,n);if(!(o||(r.clear(),function e(t,r,n){var i=r.name||r.component;if(i&&(t.has(i)?t.get(i).push(r):t.set(i,[r])),Array.isArray(n))for(var o=0;oe.inactivate()),e.forEach(e=>e.activate()),K=e}var Y=e=>{var t=getComputedStyle(e).getPropertyValue("animation-name");return t&&"none"!==t},W=(e,t)=>{var r=()=>{e.removeEventListener("animationend",r),t()};e.addEventListener("animationend",r)};function X(e,t){return e.classList.add(t),new Promise(r=>{if(Y(e)){var n=e.getBoundingClientRect(),i=`height: ${n.bottom-n.top}px; width: ${n.right-n.left}px`;e.setAttribute("style",`position: absolute; ${i}`),W(e,()=>{e.classList.remove(t),e.removeAttribute("style"),r()})}else e.classList.remove(t),r()})}var Z=256;function ee(e){return null!=e}function te(e,t){var r=e.pathname,n=void 0===r?"":r,i=e.chain,o=void 0===i?[]:i,a=e.params,s=void 0===a?{}:a,u=e.redirectFrom,c=e.resolver,l=o.map(e=>e.route);return{baseUrl:c&&c.baseUrl||"",pathname:n,routes:l,route:t||l.length&&l[l.length-1]||null,params:s,redirectFrom:u,getUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ae(ue.pathToRegexp.compile(se(l))(Object.assign({},s,e)),c)}}}function re(e,t){var r=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:r}}}function ne(e,t,r){if(p(e))return e.apply(r,t)}function ie(e,t,r){return n=>n&&(n.cancel||n.redirect)?n:r?ne(r[e],t,r):void 0}function oe(e){if(e&&e.length)for(var t=e[0].parentNode,r=0;re.path).reduce((e,t)=>t.length?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):e,"")}class ue extends B{constructor(e,t){var r=document.head.querySelector("base");super([],Object.assign({baseUrl:r&&r.getAttribute("href")},t)),this.resolveRoute=(e=>this.__resolveRoute(e));var n=ue.NavigationTrigger;ue.setTriggers.apply(ue,Object.keys(n).map(e=>n[e])),this.baseUrl,this.ready,this.ready=Promise.resolve(e),this.location,this.location=te({resolver:this}),this.__lastStartedRenderId=0,this.__navigationEventHandler=this.__onNavigationEvent.bind(this),this.setOutlet(e),this.subscribe()}__resolveRoute(e){var t=e.route,r=Promise.resolve();p(t.children)&&(r=r.then(()=>t.children(function(e){var t=Object.assign({},e);return delete t.next,t}(e))).then(e=>{ee(e)||p(t.children)||(e=t.children),function(e,t){if(!Array.isArray(e)&&!f(e))throw new Error(i(`Incorrect "children" value for the route ${t.path}: expected array or object, but got ${e}`));t.__children=[];for(var r=n(e),o=0;ore(e,t),component:t=>(function(e,t){var r=document.createElement(t);r.location=te(e);var n=e.chain.map(e=>e.route).indexOf(e.route);return e.chain[n].element=r,r})(e,t)};return r.then(()=>ne(t.action,[e,o],t)).then(e=>ee(e)&&(e instanceof HTMLElement||e.redirect||e===y)?e:v(t.redirect)?o.redirect(t.redirect):t.bundle?function(e){return v(e)?h(e):Promise.race(s.filter(t=>t in e).map(t=>h(e[t],t)))}(t.bundle).then(()=>{},()=>{throw new Error(i(`Bundle not found: ${t.bundle}. Check if the file name is correct`))}):void 0).then(e=>ee(e)?e:v(t.component)?o.component(t.component):void 0)}setOutlet(e){e&&this.__ensureOutlet(e),this.__outlet=e}getOutlet(){return this.__outlet}setRoutes(e){this.__urlForName=void 0,super.setRoutes(e),this.__onNavigationEvent()}render(e,t){var r=++this.__lastStartedRenderId,n=e.pathname||e;return this.ready=this.resolve(e).then(e=>this.__fullyResolveChain(e)).then(e=>{if(r===this.__lastStartedRenderId){var n=this.__previousContext;if(e===n)return this.location;this.location=te(e),d("location-changed",{router:this,location:this.location}),t&&this.__updateBrowserHistory(e.pathname,e.redirectFrom),this.__addAppearingContent(e,n);var i=this.__animateIfNeeded(e);return this.__runOnAfterEnterCallbacks(e),this.__runOnAfterLeaveCallbacks(e,n),i.then(()=>{if(r===this.__lastStartedRenderId)return this.__removeDisappearingContent(),this.__previousContext=e,this.location})}}).catch(e=>{if(r===this.__lastStartedRenderId)throw t&&this.__updateBrowserHistory(n),oe(this.__outlet&&this.__outlet.children),this.location=te({pathname:n,resolver:this}),d("error",{router:this,error:e,pathname:n}),e}),this.ready}__fullyResolveChain(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(t).then(r=>{var n=r!==t?r:e;return r.next().then(e=>{if((null===e||e===y)&&ae(se(r.chain),r.resolver)!==r.pathname)throw m(n);return e&&e!==y?this.__fullyResolveChain(n,e):this.__amendWithOnBeforeCallbacks(n)})})}__amendWithResolutionResult(e){var t=e.result;return t instanceof HTMLElement?Promise.resolve(e):t.redirect?this.__redirect(t.redirect,e.__redirectCount).then(e=>this.__amendWithResolutionResult(e)):t instanceof Error?Promise.reject(t):Promise.reject(new Error(i(`Invalid route resolution result for path "${e.pathname}". `+`Expected redirect object or HTML element, but got: "${function(e){if("object"!=typeof e)return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?`${t} ${JSON.stringify(e)}`:t}(t)}". `+"Double check the action return value for the route.")))}__amendWithOnBeforeCallbacks(e){return this.__runOnBeforeCallbacks(e).then(t=>t===this.__previousContext||t===e?t:this.__fullyResolveChain(t))}__runOnBeforeCallbacks(e){var t=(this.__previousContext||{}).chain||[],r=e.chain,n=Promise.resolve(),i=()=>({cancel:!0}),o=t=>re(e,t);if(e.__divergedChainIndex=0,t.length){for(var a=0;a=e.__divergedChainIndex;s--){var u=te(e);n=n.then(ie("onBeforeLeave",[u,{prevent:i},this],t[s].element)).then(e=>{if(!(e||{}).redirect)return e})}}for(var c=e.__divergedChainIndex;c{if(t){if(t.cancel)return this.__previousContext;if(t.redirect)return this.__redirect(t.redirect,e.__redirectCount)}return e})}__redirect(e,t){if(t>Z)throw new Error(i(`Too many redirects when rendering ${e.from}`));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}__ensureOutlet(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(i(`Expected router outlet to be a valid DOM Node (but got ${e})`))}__updateBrowserHistory(e,t){if(window.location.pathname!==e){var r=t?"replaceState":"pushState";window.history[r](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}__addAppearingContent(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var r=this.__outlet,n=0;n=e.__divergedChainIndex;r--){var n=t.chain[r].element;if(n)try{var i=te(e);ne(n.onAfterLeave,[i,{},t.resolver],n)}finally{oe(n.children)}}}__runOnAfterEnterCallbacks(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(r&&n&&t){var s=f(t)&&t.leave||"leaving",u=f(t)&&t.enter||"entering";i.push(X(r,s)),i.push(X(n,u))}return Promise.all(i).then(()=>e)}subscribe(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}unsubscribe(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}__onNavigationEvent(e){var t=e?e.detail.pathname:window.location.pathname;v(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}static setTriggers(){for(var e=arguments.length,t=new Array(e),r=0;r=0&&!le(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(e=>window.Vaadin.Flow.clients[e]).filter(e=>e.productionMode);if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),he(de),ue.NavigationTrigger={POPSTATE:w,CLICK:b}},325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r1,i=!1,o=arguments[1];return new r(function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=h(t,c);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return f(i)&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(a("iterator")&&(n=h(t,u)))return new r(function(e){v(function(){if(!e.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else r(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,r){if("function"==typeof e)try{return t(e.call(null))}catch(e){return r(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){r.checkOperationOptions(e,t),r.operations[n]&&(r.operations[n]={options:e,handler:t},r.sendMessage(n,y.default.GQL_START,e))}).catch(function(e){r.unsubscribe(n),t(r.formatErrors(e))}),n},e.prototype.getObserver=function(e,t,r){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return r&&r()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var r=e.query,n=e.variables,i=e.operationName;if(!r)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(r)&&!f.getOperationAST(r,i)||i&&!l.default(i)||n&&!h.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,r){return{id:e,type:t,payload:r&&r.query?n({},r,{query:"string"==typeof r.query?r.query:d.print(r.query)}):r}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,r){this.sendMessageRaw(this.buildMessage(e,t,r))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,y.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,v.GRAPHQL_WS),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=r.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=r.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var r=t.data;e.processReceivedData(r)}},e.prototype.processReceivedData=function(e){var t,r;try{r=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[y.default.GQL_DATA,y.default.GQL_COMPLETE,y.default.GQL_ERROR].indexOf(t.type)||this.operations[r])switch(t.type){case y.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case y.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case y.default.GQL_COMPLETE:this.operations[r].handler(null,null),delete this.operations[r];break;case y.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(t.payload),null),delete this.operations[r];break;case y.default.GQL_DATA:var i=t.payload.errors?n({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[r].handler(null,i);break;case y.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,y.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=_}).call(this,r(275))},329:function(e,t){function r(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=r,r.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(e){this.ms=e},r.prototype.setMax=function(e){this.max=e},r.prototype.setJitter=function(e){this.jitter=e}},330:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,n,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},c.prototype.listeners=function(e){var t=i?i+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);nthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},343:function(e,t,r){"use strict";r.r(t),r.d(t,"tuple",function(){return f}),r.d(t,"lookup",function(){return h}),r.d(t,"lookupArray",function(){return d});var n="function"==typeof Symbol&&"function"==typeof Symbol.for,i=n?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=n?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,r,n){return Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!1,configurable:!1}),r}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function h(){return d(arguments)}function d(e){for(var t=l,r=e.length,n=0;n0&&(t=[],e.childValues.forEach(function(r,n){w(e,n),t.push(n)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),y(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},345:function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[],n=-1,i=-1,o=0,a=e.length;o=t&&r.push([n,i]),n=-1)}return e[o-1]&&o-n>=t&&r.push([n,o-1]),r}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},r=e.length,n=0;n2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(r,"\\$&").replace(n,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=j;M-=1){var F=M-1,D=r[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==k&&(R[M]|=(P[M+1]|P[M])<<1|1|P[M+1]),R[M]&T&&(x=n(t,{errors:k,currentLocation:F,expectedLocation:m,distance:c}))<=_){if(_=x,(b=F)<=m)break;j=Math.max(1,2*m-b)}}if(n(t,{errors:k+1,currentLocation:m,expectedLocation:m,distance:c})>_)break;P=R}return{isMatch:b>=0,score:0===x?.001:x,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,r){function n(e,t){for(var r=0;rr)return i(e,this.pattern,n);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,h=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:h})}}])&&n(t.prototype,r),s&&n(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,r){var n=r("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,r,i){if(r){var o=r.indexOf("."),a=r,s=null;-1!==o&&(a=r.slice(0,o),s=r.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(n(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var r=this._prepareSearchers(e),n=r.tokenSearchers,i=r.fullSearcher,o=this._search(n,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var r=e.split(this.options.tokenSeparator),n=0,i=r.length;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=this.list,n={},i=[];if("string"==typeof r[0]){for(var o=0,a=r.length;o1)throw new Error("Key weight has to be > 0 and <= 1");f=f.name}else s[f]={weight:1};this._analyze({key:f,value:this.options.getFn(l,f),record:l,index:u},{resultMap:n,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var r=e.key,n=e.arrayIndex,i=void 0===n?-1:n,o=e.value,a=e.record,u=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,h=t.fullSearcher,d=void 0===h?[]:h,f=t.resultMap,p=void 0===f?{}:f,v=t.results,m=void 0===v?[]:v;if(null!=o){var y=!1,_=-1,b=0;if("string"==typeof o){this._log("\nKey: ".concat(""===r?"-":r));var g=d.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],E=0;E-1&&(j=(j+_)/2),this._log("Score average:",j);var A=!this.options.tokenize||!this.options.matchAllTokens||b>=l.length;if(this._log("\nCheck Matches: ".concat(A)),(y||g.isMatch)&&A){var R=p[u];R?R.output.push({key:r,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}):(p[u]={item:a,output:[{key:r,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}]},m.push(p[u]))}}else if(s(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;oObject(i.b)(e,t),flushCustomStyles(){},nativeCss:o.c,nativeShadow:o.d,cssBuild:o.a,disableRuntime:o.b}),window.ShadyCSS.CustomStyleInterface=a,window.JSCompiler_renameProperty=function(e,t){return e};var s,u,c=/(url\()([^)]*)(\))/g,l=/(^\/)|(^#)|(^[\w-\d]*:)/;function h(e,t){if(e&&l.test(e))return e;if(void 0===s){s=!1;try{var r=new URL("b","http://a");r.pathname="c%20d",s="http://a/c%20d"===r.href}catch(e){}}return t||(t=document.baseURI||window.location.href),s?new URL(e,t).href:(u||((u=document.implementation.createHTMLDocument("temp")).base=u.createElement("base"),u.head.appendChild(u.base),u.anchor=u.createElement("a"),u.body.appendChild(u.anchor)),u.base.href=t,u.anchor.href=e,u.anchor.href||e)}function d(e,t){return e.replace(c,function(e,r,n,i){return r+"'"+h(n.replace(/["']/g,""),t)+"'"+i})}function f(e){return e.substring(0,e.lastIndexOf("/")+1)}window.ShadyDOM,Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback;var p=f(document.baseURI||window.location.href),v=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,m=!1,y=!1,_={},b={};function g(e,t){_[e]=b[e.toLowerCase()]=t}function w(e){return _[e]||b[e.toLowerCase()]}class O extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){var r=w(e);return r&&t?r.querySelector(t):r}return null}attributeChangedCallback(e,t,r,n){t!==r&&this.register()}get assetpath(){if(!this.__assetpath){var e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=h(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=f(t)}return this.__assetpath}register(e){if(e=e||this.id){if(m&&void 0!==w(e))throw g(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,g(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}O.prototype.modules=_,customElements.define("dom-module",O);var E="link[rel=import][type~=css]",S="include",P="shady-unscoped";function x(e){return O.import(e)}function C(e){var t=d((e.body?e.body:e).textContent,e.baseURI),r=document.createElement("style");return r.textContent=t,r}function T(e){for(var t=e.trim().split(/\s+/),r=[],n=0;n\n \n\n \n\n \n',document.head.appendChild(F.content);var D=document.createElement("template");D.innerHTML="\n \n",document.head.appendChild(D.content);var L=document.createElement("template");L.innerHTML="\n \n",document.head.appendChild(L.content);var q=document.createElement("template");q.innerHTML='\n \n',document.head.appendChild(q.content);var Q=0;function V(){}V.prototype.__mixinApplications,V.prototype.__mixinSet;var B=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var r=Q++;function n(n){var i=n.__mixinSet;if(i&&i[r])return n;var o=t,a=o.get(n);a||(a=e(n),o.set(n,a));var s=Object.create(a.__mixinSet||i||null);return s[r]=!0,a.__mixinSet=s,a}return n};function U(e){return e.indexOf(".")>=0}function H(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function z(e,t){return 0===e.indexOf(t+".")}function G(e,t){return 0===t.indexOf(e+".")}function $(e,t,r){return t+r.slice(e.length)}function K(e){if(Array.isArray(e)){for(var t=[],r=0;r1){for(var a=0;ae[1].toUpperCase()))}function re(e){return X[e]||(X[e]=e.replace(ee,"-$1").toLowerCase())}var ne=0,ie=0,oe=[],ae=0,se=document.createTextNode("");new window.MutationObserver(function(){for(var e=oe.length,t=0;t{throw e})}}oe.splice(0,e),ie+=e}).observe(se,{characterData:!0});for(var ue={run:e=>window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16),cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},ce={run:e=>(se.textContent=ae++,oe.push(e),ne++),cancel(e){var t=e-ie;if(t>=0){if(!oe[t])throw new Error("invalid async handle: "+e);oe[t]=null}}},le=ce,he=B(e=>{return class extends e{static createProperties(e){var t=this.prototype;for(var r in e)r in t||t._createPropertyAccessor(r)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){var t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(var e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,r){var n=this.__data[e],i=this._shouldPropertyChange(e,t,n);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||e in this.__dataOld||(this.__dataOld[e]=n),this.__data[e]=t,this.__dataPending[e]=t),i}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,le.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){var e=this.__data,t=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(e,t,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,r))}_shouldPropertiesChange(e,t,r){return Boolean(t)}_propertiesChanged(e,t,r){}_shouldPropertyChange(e,t,r){return r!==t&&(r==r||t==t)}attributeChangedCallback(e,t,r,n){t!==r&&this._attributeToProperty(e,r),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,r,n)}_attributeToProperty(e,t,r){if(!this.__serializing){var n=this.__dataAttributes,i=n&&n[e]||e;this[i]=this._deserializeValue(t,r||this.constructor.typeForProperty(i))}}_propertyToAttribute(e,t,r){this.__serializing=!0,r=arguments.length<3?this[e]:r,this._valueToNodeAttribute(this,r,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,r){var n=this._serializeValue(t);void 0===n?e.removeAttribute(r):e.setAttribute(r,n)}_serializeValue(e){switch(typeof e){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}}),de={},fe=HTMLElement.prototype;fe;){for(var pe=Object.getOwnPropertyNames(fe),ve=0;ve{var t=he(e);return class extends t{static createPropertiesForAttributes(){for(var e=this.observedAttributes,t=0;t{return class extends e{static _parseTemplate(e,t){if(!e._templateInfo){var r=e._templateInfo={};r.nodeInfoList=[],r.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,r,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,r){return this._parseTemplateNode(e.content,t,r)}static _parseTemplateNode(e,t,r){var n,i=e;return"template"!=i.localName||i.hasAttribute("preserve-content")?"slot"===i.localName&&(t.hasInsertionPoint=!0):n=this._parseTemplateNestedTemplate(i,t,r)||n,i.firstChild&&(n=this._parseTemplateChildNodes(i,t,r)||n),i.hasAttributes&&i.hasAttributes()&&(n=this._parseTemplateNodeAttributes(i,t,r)||n),n}static _parseTemplateChildNodes(e,t,r){if("script"!==e.localName&&"style"!==e.localName)for(var n,i=e.firstChild,o=0;i;i=n){if("template"==i.localName&&(i=_e(i)),n=i.nextSibling,i.nodeType===Node.TEXT_NODE){for(var a=n;a&&a.nodeType===Node.TEXT_NODE;)i.textContent+=a.textContent,n=a.nextSibling,e.removeChild(a),a=n;if(t.stripWhiteSpace&&!i.textContent.trim()){e.removeChild(i);continue}}var s={parentIndex:o,parentInfo:r};this._parseTemplateNode(i,t,s)&&(s.infoIndex=t.nodeInfoList.push(s)-1),i.parentNode&&o++}}static _parseTemplateNestedTemplate(e,t,r){var n=this._parseTemplate(e,t);return(n.content=e.content.ownerDocument.createDocumentFragment()).appendChild(e.content),r.templateInfo=n,!0}static _parseTemplateNodeAttributes(e,t,r){for(var n,i=!1,o=Array.from(e.attributes),a=o.length-1;n=o[a];a--)i=this._parseTemplateNodeAttribute(e,t,r,n.name,n.value)||i;return i}static _parseTemplateNodeAttribute(e,t,r,n,i){return"on-"===n.slice(0,3)?(e.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:i}),!0):"id"===n&&(r.id=i,!0)}static _contentForTemplate(e){var t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);var t=this.constructor._parseTemplate(e),r=t.nodeInfoList,n=t.content||e.content,i=document.importNode(n,!0);i.__noInsertionPoint=!t.hasInsertionPoint;var o=i.nodeList=new Array(r.length);i.$={};for(var a,s=0,u=r.length;sc.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=r[t];t=$(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,r,n,i){i=function(e,t,r,n){if(r.isCompound){var i=e.__dataCompoundStorage[r.target];i[n.compoundIndex]=t,t=i.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,r,n),v&&(i=v(i,r.target,r.kind,t));if("attribute"==r.kind)e._valueToNodeAttribute(t,i,r.target);else{var o=r.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[Pe.READ_ONLY]&&t[Pe.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,r,n,o))}}function Qe(e,t){if(t.isCompound){for(var r=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),n=t.parts,i=new Array(n.length),o=0;o="0"&&n<="9"&&(n="#"),n){case"'":case'"':r.value=t.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(t),r.literal=!0}return r.literal||(r.rootProperty=H(t),r.structured=U(t),r.structured&&(r.wildcard=".*"==t.slice(-2),r.wildcard&&(r.name=t.slice(0,-2)))),r}function Je(e,t,r,n){var i=r+".splices";e.notifyPath(i,{indexSplices:n}),e.notifyPath(r+".length",t.length),e.__data[i]={indexSplices:null}}function Ye(e,t,r,n,i,o){Je(e,t,r,[{index:n,addedCount:i,removed:o,object:t,type:"splice"}])}var We=B(e=>{var t=Ee(me(e));class r extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataCounter=0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo}get PROPERTY_EFFECT_TYPES(){return Pe}_initializeProperties(){super._initializeProperties(),Xe.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){var t=this[Pe.READ_ONLY];for(var r in e)t&&t[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=e[r])}_addPropertyEffect(e,t,r){this._createPropertyAccessor(e,t==Pe.READ_ONLY);var n=Ce(this,t)[e];n||(n=this[t][e]=[]),n.push(r)}_removePropertyEffect(e,t,r){var n=Ce(this,t)[e],i=n.indexOf(r);i>=0&&n.splice(i,1)}_hasPropertyEffect(e,t){var r=this[t];return Boolean(r&&r[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,Pe.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,Pe.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,Pe.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,Pe.COMPUTE)}_setPendingPropertyOrPath(e,t,r,n){if(n||H(Array.isArray(e)?e[0]:e)!==e){if(!n){var i=Y(this,e);if(!(e=W(this,e,t))||!super._shouldPropertyChange(e,t,i))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,r))return function(e,t,r){var n,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];G(o,t)?(n=$(o,a,t),e._setPendingPropertyOrPath(n,r,!0,!0)):G(a,t)&&(n=$(a,o,t),e._setPendingPropertyOrPath(n,r,!0,!0))}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,r);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,r){r===e[t]&&"object"!=typeof r||(e[t]=r)}_setPendingProperty(e,t,r){var n=this.__dataHasPaths&&U(e),i=n?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),n?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(n||this[Pe.NOTIFY]&&this[Pe.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=r),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushProperties(){this.__dataCounter++,super._flushProperties(),this.__dataCounter--}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?n-3:0),o=3;o1?n-1:0),o=1;oi&&n.push({literal:e.slice(i,r.index)});var o=r[1][0],a=Boolean(r[2]),s=r[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var h=$e(s),d=[];if(h){for(var f=h.args,p=h.methodName,v=0;v{var t=he(e);function r(e){var t=Object.getPrototypeOf(e);return t.prototype instanceof i?t:null}function n(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){var t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){var r=e.properties;r&&(t=function(e){var t={};for(var r in e){var n=e[r];t[r]="function"==typeof n?{type:n}:n}return t}(r))}e.__ownProperties=t}return e.__ownProperties}class i extends t{static get observedAttributes(){var e=this._properties;return e?Object.keys(e).map(e=>this.attributeNameForProperty(e)):[]}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){var e=r(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){var e=n(this);e&&this.createProperties(e)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){var e=r(this);this.__properties=Object.assign({},e&&e._properties,n(this))}return this.__properties}static typeForProperty(e){var t=this._properties[e];return t&&t.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i}),et="3.0.5",tt=B(e=>{var t=Ze(We(e));function r(e,t,r,n){for(var i,o=t.content.querySelectorAll("style"),a=I(t),s=(i=x(r))?N(i):[],u=t.content.firstElementChild,c=0;c1?r-1:0),i=1;it+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof nt)return it(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(r)+e[n+1],e[0]),t},at=tt(HTMLElement),st=e=>(class extends e{static get properties(){return{theme:{type:String,readOnly:!0}}}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"theme"===e&&this._setTheme(r)}}),ut=e=>(class extends(st(e)){static finalize(){super.finalize();var e=this.prototype._template,t=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,r=Object.getPrototypeOf(this.prototype)._template;r&&!t&&Array.from(r.content.querySelectorAll("style[include]")).forEach(t=>{this._includeStyle(t.getAttribute("include"),e)}),this._includeMatchingThemes(e)}static _includeMatchingThemes(e){var t=O.prototype.modules,r=!1,n=this.is+"-default-theme";Object.keys(t).sort((e,t)=>{var r=0===e.indexOf("vaadin-"),n=0===t.indexOf("vaadin-"),i=["lumo-","material-"],o=i.filter(t=>0===e.indexOf(t)).length>0,a=i.filter(e=>0===t.indexOf(e)).length>0;return r!==n?r?-1:1:o!==a?o?-1:1:0}).forEach(i=>{if(i!==n){var o=t[i].getAttribute("theme-for");o&&o.split(" ").forEach(t=>{new RegExp("^"+t.split("*").join(".*")+"$").test(this.is)&&(r=!0,this._includeStyle(i,e))})}}),!r&&t[n]&&this._includeStyle(n,e)}static _includeStyle(e,t){if(t&&!t.content.querySelector(`style[include="${e}"]`)){var r=document.createElement("style");r.setAttribute("include",e),t.content.appendChild(r)}}});function ct(e,t,r){return{index:e,removed:t,addedCount:r}}var lt=0,ht=1,dt=2,ft=3;function pt(e,t,r,n,i,o){var a,s=0,u=0,c=Math.min(r-t,o-i);if(0==t&&0==i&&(s=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var o=e[t-1][r-1],a=e[t-1][r],s=e[t][r-1],u=void 0;(u=amt(e)?(e=e).assignedNodes({flatten:!0}):[e]).reduce((e,t)=>e.concat(t),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=(()=>{this._schedule()}),this.connect(),this._schedule()}connect(){mt(this._target)?this._listenSlots([this._target]):this._target.children&&(this._listenSlots(this._target.children),window.ShadyDOM?this._shadyChildrenObserver=ShadyDOM.observeChildren(this._target,e=>{this._processMutations(e)}):(this._nativeChildrenObserver=new MutationObserver(e=>{this._processMutations(e)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){mt(this._target)?this._unlistenSlots([this._target]):this._target.children&&(this._unlistenSlots(this._target.children),window.ShadyDOM&&this._shadyChildrenObserver?(ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,ce.run(()=>this.flush()))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(var t=0;t(class extends e{static get properties(){return{_hasVaadinListMixin:{value:!0},selected:{type:Number,reflectToAttribute:!0,notify:!0},orientation:{type:String,reflectToAttribute:!0,value:""},items:{type:Array,readOnly:!0,notify:!0}}}static get observers(){return["_enhanceItems(items, orientation, selected)"]}ready(){super.ready(),this.addEventListener("keydown",e=>this._onKeydown(e)),this.addEventListener("click",e=>this._onClick(e)),this._observer=new yt(this,e=>{this._setItems(this._filterItems(Array.from(this.children)))})}_enhanceItems(e,t,r){if(e){this.setAttribute("aria-orientation",t||"vertical"),this.items.forEach(e=>{t?e.setAttribute("orientation",t):e.removeAttribute("orientation"),e.updateStyles()}),this._setFocusable(r);var n=e[r];e.forEach(e=>e.selected=e===n),n&&!n.disabled&&this._scrollToItem(r)}}get focused(){return this.getRootNode().activeElement}_filterItems(e){return e.filter(e=>e._hasVaadinItemMixin)}_onClick(e){if(!(e.metaKey||e.shiftKey||e.ctrlKey)){var t,r=this._filterItems(e.composedPath())[0];r&&!r.disabled&&(t=this.items.indexOf(r))>=0&&(this.selected=t)}}_onKeydown(e){if(!e.metaKey&&!e.ctrlKey){var t,r,n=e.key.replace(/^Arrow/,""),i=this.items.indexOf(this.focused),o=e=>!e.disabled;this._vertical&&"Up"===n||!this._vertical&&"Left"===n?(r=-1,t=i-1):this._vertical&&"Down"===n||!this._vertical&&"Right"===n?(r=1,t=i+1):"Home"===n?(r=1,t=0):"End"===n?(r=-1,t=this.items.length-1):1==n.length&&(r=1,t=i+1,o=(e=>!e.disabled&&0===e.textContent.trim().toLowerCase().indexOf(n.toLowerCase()))),(t=this._getAvailableIndex(t,r,o))>=0&&(this._focus(t),e.preventDefault())}}_getAvailableIndex(e,t,r){for(var n=this.items.length,i=0;"number"==typeof e&&i=n&&(e=0),r(this.items[e]))return e}return-1}_setFocusable(e){e=this._getAvailableIndex(e,1,e=>!e.disabled);var t=this.items[e]||this.items[0];this.items.forEach(e=>e.tabIndex=e===t?0:-1)}_focus(e){var t=this.items[e];this.items.forEach(e=>e.focused=e===t),this._setFocusable(e),this._scrollToItem(e),t.focus()}focus(){this._observer.flush();var e=this.querySelector('[tabindex="0"]')||this.items[0];e&&e.focus()}get _scrollerElement(){}_scrollToItem(e){var t=this.items[e];if(t){var r=this._vertical?["top","bottom"]:["left","right"],n=this._scrollerElement.getBoundingClientRect(),i=(this.items[e+1]||t).getBoundingClientRect(),o=(this.items[e-1]||t).getBoundingClientRect(),a=0;i[r[1]]>=n[r[1]]?a=i[r[1]]-n[r[1]]:o[r[0]]<=n[r[0]]&&(a=o[r[0]]-n[r[0]]),this._scroll(a)}}get _vertical(){return"horizontal"!==this.orientation}_scroll(e){this._scrollerElement["scroll"+(this._vertical?"Top":"Left")]+=e}});class bt{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(()=>{this._timer=null,this._callback()})}cancel(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(e,t,r){return e instanceof bt?e.cancel():e=new bt,e.setConfig(t,r),e}}var gt=[];var wt=/\/\*\*\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i;function Ot(e,t){if("function"==typeof e){var r=wt.exec(e.toString());if(r)try{e=new Function(r[1])}catch(e){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",e)}return e(t)}}window.Vaadin=window.Vaadin||{};var Et=function(e,t){if(window.Vaadin.developmentMode)return Ot(e,t)};function St(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=function(){try{return localStorage.getItem("vaadin.developmentmode.force")||["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0&&!Ot(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(e=>window.Vaadin.Flow.clients[e]).filter(e=>e.productionMode);if(e.length>0)return!0}return!1}()}catch(e){return!1}}());var Pt,xt=function(){return Et(St)};window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){xt&&xt()};var Ct=e=>(class extends e{static _finalizeClass(){var e;super._finalizeClass(),this.is&&(window.Vaadin.registrations.push(this),window.Vaadin.developmentModeCallback&&(Pt=bt.debounce(Pt,ue,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),e=Pt,gt.push(e)))}ready(){super.ready(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add to the HTML document.')}});class Tt extends(Ct(_t(ut(at)))){static get template(){return ot` - -
- -
-`}static get is(){return"vaadin-list-box"}static get version(){return"1.1.0"}static get properties(){return{orientation:{readOnly:!0}}}ready(){super.ready(),this.setAttribute("role","list")}get _scrollerElement(){return this.shadowRoot.querySelector('[part="items"]')}}customElements.define(Tt.is,Tt)},378:function(e,t,r){"use strict";r.r(t);var n=r(304),i=r(305);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,r){this.body=e,this.name=t||"GraphQL request",this.locationOffset=r||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index0&&m(t[0]);)t.shift();for(;t.length>0&&m(t[t.length-1]);)t.pop();return t.join("\n")}function v(e){for(var t=0;t",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function w(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}var O=String.prototype.charCodeAt,E=String.prototype.slice;function S(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}function P(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function x(e,t){var r=e.source,n=r.body,i=n.length,o=function(e,t,r){var n=e.length,i=t;for(;i=i)return new S(g.EOF,i,i,a,s,t);var u=O.call(n,o);switch(u){case 33:return new S(g.BANG,o,o+1,a,s,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do{o=O.call(a,++s)}while(null!==o&&(o>31||9===o));return new S(g.COMMENT,t,s,r,n,i,E.call(a,t+1,s))}(r,o,a,s,t);case 36:return new S(g.DOLLAR,o,o+1,a,s,t);case 38:return new S(g.AMP,o,o+1,a,s,t);case 40:return new S(g.PAREN_L,o,o+1,a,s,t);case 41:return new S(g.PAREN_R,o,o+1,a,s,t);case 46:if(46===O.call(n,o+1)&&46===O.call(n,o+2))return new S(g.SPREAD,o,o+3,a,s,t);break;case 58:return new S(g.COLON,o,o+1,a,s,t);case 61:return new S(g.EQUALS,o,o+1,a,s,t);case 64:return new S(g.AT,o,o+1,a,s,t);case 91:return new S(g.BRACKET_L,o,o+1,a,s,t);case 93:return new S(g.BRACKET_R,o,o+1,a,s,t);case 123:return new S(g.BRACE_L,o,o+1,a,s,t);case 124:return new S(g.PIPE,o,o+1,a,s,t);case 125:return new S(g.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&null!==(u=O.call(o,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new S(g.NAME,t,s,r,n,i,E.call(o,t,s))}(r,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a=e.body,s=r,u=t,c=!1;45===s&&(s=O.call(a,++u));if(48===s){if((s=O.call(a,++u))>=48&&s<=57)throw f(e,u,"Invalid number, unexpected digit after 0: ".concat(P(s),"."))}else u=C(e,u,s),s=O.call(a,u);46===s&&(c=!0,s=O.call(a,++u),u=C(e,u,s),s=O.call(a,u));69!==s&&101!==s||(c=!0,43!==(s=O.call(a,++u))&&45!==s||(s=O.call(a,++u)),u=C(e,u,s));return new S(c?g.FLOAT:g.INT,t,u,n,i,o,E.call(a,t,u))}(r,o,u,a,s,t);case 34:return 34===O.call(n,o+1)&&34===O.call(n,o+2)?function(e,t,r,n,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=O.call(n,++i)}while(o>=48&&o<=57);return i}throw f(e,i,"Invalid number, expected digit but got: ".concat(P(o),"."))}function T(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(S,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var k=r(306),I=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function N(e,t){var r="string"==typeof e?new u(e):e;if(!(r instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(n.a)(r)));return function(e){var t=e.token;return{kind:k.a.DOCUMENT,definitions:xe(e,g.SOF,M,g.EOF),loc:ye(e,t)}}(y(r,t||{}))}function j(e,t){var r=y("string"==typeof e?new u(e):e,t||{});we(r,g.SOF);var n=K(r,!1);return we(r,g.EOF),n}function A(e,t){var r=y("string"==typeof e?new u(e):e,t||{});we(r,g.SOF);var n=te(r);return we(r,g.EOF),n}function R(e){var t=we(e,g.NAME);return{kind:k.a.NAME,value:t.value,loc:ye(e,t)}}function M(e){if(be(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return F(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return ne(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"schema");var r=Z(e,!0),n=be(e,g.BRACE_L)?xe(e,g.BRACE_L,ae,g.BRACE_R):[];if(0===r.length&&0===n.length)throw Se(e);return{kind:k.a.SCHEMA_EXTENSION,directives:r,operationTypes:n,loc:ye(e,t)}}(e);case"scalar":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"scalar");var r=R(e),n=Z(e,!0);if(0===n.length)throw Se(e);return{kind:k.a.SCALAR_TYPE_EXTENSION,name:r,directives:n,loc:ye(e,t)}}(e);case"type":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"type");var r=R(e),n=se(e),i=Z(e,!0),o=ue(e);if(0===n.length&&0===i.length&&0===o.length)throw Se(e);return{kind:k.a.OBJECT_TYPE_EXTENSION,name:r,interfaces:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"interface":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"interface");var r=R(e),n=Z(e,!0),i=ue(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.INTERFACE_TYPE_EXTENSION,name:r,directives:n,fields:i,loc:ye(e,t)}}(e);case"union":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"union");var r=R(e),n=Z(e,!0),i=de(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.UNION_TYPE_EXTENSION,name:r,directives:n,types:i,loc:ye(e,t)}}(e);case"enum":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"enum");var r=R(e),n=Z(e,!0),i=fe(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.ENUM_TYPE_EXTENSION,name:r,directives:n,values:i,loc:ye(e,t)}}(e);case"input":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"input");var r=R(e),n=Z(e,!0),i=ve(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.INPUT_OBJECT_TYPE_EXTENSION,name:r,directives:n,fields:i,loc:ye(e,t)}}(e)}throw Se(e,t)}(e)}else{if(be(e,g.BRACE_L))return F(e);if(ie(e))return ne(e)}throw Se(e)}function F(e){if(be(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return D(e);case"fragment":return function(e){var t=e.token;if(Ee(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:k.a.FRAGMENT_DEFINITION,name:$(e),variableDefinitions:q(e),typeCondition:(Ee(e,"on"),re(e)),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)};return{kind:k.a.FRAGMENT_DEFINITION,name:$(e),typeCondition:(Ee(e,"on"),re(e)),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}(e)}else if(be(e,g.BRACE_L))return D(e);throw Se(e)}function D(e){var t=e.token;if(be(e,g.BRACE_L))return{kind:k.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:B(e),loc:ye(e,t)};var r,n=L(e);return be(e,g.NAME)&&(r=R(e)),{kind:k.a.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:q(e),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}function L(e){var t=we(e,g.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw Se(e,t)}function q(e){return be(e,g.PAREN_L)?xe(e,g.PAREN_L,Q,g.PAREN_R):[]}function Q(e){var t=e.token;return{kind:k.a.VARIABLE_DEFINITION,variable:V(e),type:(we(e,g.COLON),te(e)),defaultValue:ge(e,g.EQUALS)?K(e,!0):void 0,directives:Z(e,!0),loc:ye(e,t)}}function V(e){var t=e.token;return we(e,g.DOLLAR),{kind:k.a.VARIABLE,name:R(e),loc:ye(e,t)}}function B(e){var t=e.token;return{kind:k.a.SELECTION_SET,selections:xe(e,g.BRACE_L,U,g.BRACE_R),loc:ye(e,t)}}function U(e){return be(e,g.SPREAD)?function(e){var t=e.token;we(e,g.SPREAD);var r=Oe(e,"on");if(!r&&be(e,g.NAME))return{kind:k.a.FRAGMENT_SPREAD,name:$(e),directives:Z(e,!1),loc:ye(e,t)};return{kind:k.a.INLINE_FRAGMENT,typeCondition:r?re(e):void 0,directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}(e):function(e){var t,r,n=e.token,i=R(e);ge(e,g.COLON)?(t=i,r=R(e)):r=i;return{kind:k.a.FIELD,alias:t,name:r,arguments:H(e,!1),directives:Z(e,!1),selectionSet:be(e,g.BRACE_L)?B(e):void 0,loc:ye(e,n)}}(e)}function H(e,t){var r=t?G:z;return be(e,g.PAREN_L)?xe(e,g.PAREN_L,r,g.PAREN_R):[]}function z(e){var t=e.token;return{kind:k.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),K(e,!1)),loc:ye(e,t)}}function G(e){var t=e.token;return{kind:k.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),Y(e)),loc:ye(e,t)}}function $(e){if("on"===e.token.value)throw Se(e);return R(e)}function K(e,t){var r=e.token;switch(r.kind){case g.BRACKET_L:return function(e,t){var r=e.token,n=t?Y:W;return{kind:k.a.LIST,values:Pe(e,g.BRACKET_L,n,g.BRACKET_R),loc:ye(e,r)}}(e,t);case g.BRACE_L:return function(e,t){var r=e.token;we(e,g.BRACE_L);var n=[];for(;!ge(e,g.BRACE_R);)n.push(X(e,t));return{kind:k.a.OBJECT,fields:n,loc:ye(e,r)}}(e,t);case g.INT:return e.advance(),{kind:k.a.INT,value:r.value,loc:ye(e,r)};case g.FLOAT:return e.advance(),{kind:k.a.FLOAT,value:r.value,loc:ye(e,r)};case g.STRING:case g.BLOCK_STRING:return J(e);case g.NAME:return"true"===r.value||"false"===r.value?(e.advance(),{kind:k.a.BOOLEAN,value:"true"===r.value,loc:ye(e,r)}):"null"===r.value?(e.advance(),{kind:k.a.NULL,loc:ye(e,r)}):(e.advance(),{kind:k.a.ENUM,value:r.value,loc:ye(e,r)});case g.DOLLAR:if(!t)return V(e)}throw Se(e)}function J(e){var t=e.token;return e.advance(),{kind:k.a.STRING,value:t.value,block:t.kind===g.BLOCK_STRING,loc:ye(e,t)}}function Y(e){return K(e,!0)}function W(e){return K(e,!1)}function X(e,t){var r=e.token;return{kind:k.a.OBJECT_FIELD,name:R(e),value:(we(e,g.COLON),K(e,t)),loc:ye(e,r)}}function Z(e,t){for(var r=[];be(e,g.AT);)r.push(ee(e,t));return r}function ee(e,t){var r=e.token;return we(e,g.AT),{kind:k.a.DIRECTIVE,name:R(e),arguments:H(e,t),loc:ye(e,r)}}function te(e){var t,r=e.token;return ge(e,g.BRACKET_L)?(t=te(e),we(e,g.BRACKET_R),t={kind:k.a.LIST_TYPE,type:t,loc:ye(e,r)}):t=re(e),ge(e,g.BANG)?{kind:k.a.NON_NULL_TYPE,type:t,loc:ye(e,r)}:t}function re(e){var t=e.token;return{kind:k.a.NAMED_TYPE,name:R(e),loc:ye(e,t)}}function ne(e){var t=ie(e)?e.lookahead():e.token;if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Ee(e,"schema");var r=Z(e,!0),n=xe(e,g.BRACE_L,ae,g.BRACE_R);return{kind:k.a.SCHEMA_DEFINITION,directives:r,operationTypes:n,loc:ye(e,t)}}(e);case"scalar":return function(e){var t=e.token,r=oe(e);Ee(e,"scalar");var n=R(e),i=Z(e,!0);return{kind:k.a.SCALAR_TYPE_DEFINITION,description:r,name:n,directives:i,loc:ye(e,t)}}(e);case"type":return function(e){var t=e.token,r=oe(e);Ee(e,"type");var n=R(e),i=se(e),o=Z(e,!0),a=ue(e);return{kind:k.a.OBJECT_TYPE_DEFINITION,description:r,name:n,interfaces:i,directives:o,fields:a,loc:ye(e,t)}}(e);case"interface":return function(e){var t=e.token,r=oe(e);Ee(e,"interface");var n=R(e),i=Z(e,!0),o=ue(e);return{kind:k.a.INTERFACE_TYPE_DEFINITION,description:r,name:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"union":return function(e){var t=e.token,r=oe(e);Ee(e,"union");var n=R(e),i=Z(e,!0),o=de(e);return{kind:k.a.UNION_TYPE_DEFINITION,description:r,name:n,directives:i,types:o,loc:ye(e,t)}}(e);case"enum":return function(e){var t=e.token,r=oe(e);Ee(e,"enum");var n=R(e),i=Z(e,!0),o=fe(e);return{kind:k.a.ENUM_TYPE_DEFINITION,description:r,name:n,directives:i,values:o,loc:ye(e,t)}}(e);case"input":return function(e){var t=e.token,r=oe(e);Ee(e,"input");var n=R(e),i=Z(e,!0),o=ve(e);return{kind:k.a.INPUT_OBJECT_TYPE_DEFINITION,description:r,name:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"directive":return function(e){var t=e.token,r=oe(e);Ee(e,"directive"),we(e,g.AT);var n=R(e),i=le(e);Ee(e,"on");var o=function(e){ge(e,g.PIPE);var t=[];do{t.push(me(e))}while(ge(e,g.PIPE));return t}(e);return{kind:k.a.DIRECTIVE_DEFINITION,description:r,name:n,arguments:i,locations:o,loc:ye(e,t)}}(e)}throw Se(e,t)}function ie(e){return be(e,g.STRING)||be(e,g.BLOCK_STRING)}function oe(e){if(ie(e))return J(e)}function ae(e){var t=e.token,r=L(e);we(e,g.COLON);var n=re(e);return{kind:k.a.OPERATION_TYPE_DEFINITION,operation:r,type:n,loc:ye(e,t)}}function se(e){var t=[];if(Oe(e,"implements")){ge(e,g.AMP);do{t.push(re(e))}while(ge(e,g.AMP)||e.options.allowLegacySDLImplementsInterfaces&&be(e,g.NAME))}return t}function ue(e){return e.options.allowLegacySDLEmptyFields&&be(e,g.BRACE_L)&&e.lookahead().kind===g.BRACE_R?(e.advance(),e.advance(),[]):be(e,g.BRACE_L)?xe(e,g.BRACE_L,ce,g.BRACE_R):[]}function ce(e){var t=e.token,r=oe(e),n=R(e),i=le(e);we(e,g.COLON);var o=te(e),a=Z(e,!0);return{kind:k.a.FIELD_DEFINITION,description:r,name:n,arguments:i,type:o,directives:a,loc:ye(e,t)}}function le(e){return be(e,g.PAREN_L)?xe(e,g.PAREN_L,he,g.PAREN_R):[]}function he(e){var t=e.token,r=oe(e),n=R(e);we(e,g.COLON);var i,o=te(e);ge(e,g.EQUALS)&&(i=Y(e));var a=Z(e,!0);return{kind:k.a.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:i,directives:a,loc:ye(e,t)}}function de(e){var t=[];if(ge(e,g.EQUALS)){ge(e,g.PIPE);do{t.push(re(e))}while(ge(e,g.PIPE))}return t}function fe(e){return be(e,g.BRACE_L)?xe(e,g.BRACE_L,pe,g.BRACE_R):[]}function pe(e){var t=e.token,r=oe(e),n=R(e),i=Z(e,!0);return{kind:k.a.ENUM_VALUE_DEFINITION,description:r,name:n,directives:i,loc:ye(e,t)}}function ve(e){return be(e,g.BRACE_L)?xe(e,g.BRACE_L,he,g.BRACE_R):[]}function me(e){var t=e.token,r=R(e);if(I.hasOwnProperty(r.value))return r;throw Se(e,t)}function ye(e,t){if(!e.options.noLocation)return new _e(t,e.lastToken,e.source)}function _e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}function be(e,t){return e.token.kind===t}function ge(e,t){return e.token.kind===t&&(e.advance(),!0)}function we(e,t){var r=e.token;if(r.kind===t)return e.advance(),r;throw f(e.source,r.start,"Expected ".concat(t,", found ").concat(w(r)))}function Oe(e,t){var r=e.token;return r.kind===g.NAME&&r.value===t&&(e.advance(),!0)}function Ee(e,t){if(!Oe(e,t))throw f(e.source,e.token.start,'Expected "'.concat(t,'", found ').concat(w(e.token)))}function Se(e,t){var r=t||e.token;return f(e.source,r.start,"Unexpected ".concat(w(r)))}function Pe(e,t,r,n){we(e,t);for(var i=[];!ge(e,n);)i.push(r(e));return i}function xe(e,t,r,n){we(e,t);for(var i=[r(e)];!ge(e,n);)i.push(r(e));return i}r.d(t,"parse",function(){return N}),r.d(t,"parseValue",function(){return j}),r.d(t,"parseType",function(){return A}),r.d(t,"parseConstValue",function(){return Y}),r.d(t,"parseTypeReference",function(){return te}),r.d(t,"parseNamedType",function(){return re}),o(_e,function(){return{start:this.start,end:this.end}})},381:function(e,t,r){"use strict";var n=r(272),i=r(307),o=r.n(i).a,a="Invariant Violation",s=Object.setPrototypeOf,u=void 0===s?function(e,t){return e.__proto__=t,e}:s,c=function(e){function t(r){void 0===r&&(r=a);var n=e.call(this,"number"==typeof r?a+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=a,u(n,t.prototype),n}return Object(n.__extends)(t,e),t}(Error);function l(e,t){if(!e)throw new c(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=n)&&(i?i(r,t):!!r)}}(i),o}return Object(n.__extends)(t,e),t.prototype.request=function(e,t){var r=new O(e,t,this.delayFor,this.retryIf);return r.start(),new o(function(e){return r.subscribe(e),function(){r.unsubscribe(e)}})},t}(g)},382:function(e,t,r){"use strict";var n=r(279),i=r(285),o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=300&&s(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||s(e,t,"Server response was missing for query '"+(Array.isArray(n)?n.map(function(e){return e.operationName}):n.operationName)+"'."),t})})).then(function(e){return r.next(e),r.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))}),function(){_&&_.abort()}})})};var d=function(e){function t(t){return e.call(this,h(t).request)||this}return function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(n.a)},387:function(e,t,r){"use strict";var n=r(272),i=r(268),o=r(279),a=r(308),s=r(291),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var c,l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return function(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.request=function(e,t){var r=this;if(e.getContext().forceFetch)return t(e);var n=e.toKey(),i=function(e){return r.inFlightRequestObservables.delete(e),r.subscribers.get(e)};if(!this.inFlightRequestObservables.get(n)){var a,s=t(e),u=new o.b(function(e){var t=r.subscribers.get(n);return t||(t={next:[],error:[],complete:[]}),r.subscribers.set(n,{next:t.next.concat([e.next.bind(e)]),error:t.error.concat([e.error.bind(e)]),complete:t.complete.concat([e.complete.bind(e)])}),a||(a=s.subscribe({next:function(e){var t=i(n);r.subscribers.delete(n),t&&(t.next.forEach(function(t){return t(e)}),t.complete.forEach(function(e){return e()}))},error:function(e){var t=i(n);r.subscribers.delete(n),t&&t.error.forEach(function(t){return t(e)})}})),function(){a&&a.unsubscribe(),r.inFlightRequestObservables.delete(n)}});this.inFlightRequestObservables.set(n,u)}return this.inFlightRequestObservables.get(n)},t}(o.a),h=r(289);function d(e){return e<7}r.d(t,"a",function(){return P}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(c||(c={}));var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.__extends)(t,e),t.prototype[a.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.b);var p,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var r=e?e.message:"Error message not found.";t+="GraphQL error: "+r+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},m=function(e){function t(r){var n=r.graphQLErrors,i=r.networkError,o=r.errorMessage,a=r.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=n||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(n.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(p||(p={}));var y=function(e){function t(t){var r=t.queryManager,n=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=n,a.variables=n.variables||{},a.queryId=r.generateQueryId(),a.shouldSubscribe=o,a.queryManager=r,a.observers=[],a.subscriptionHandles=[],a}return Object(n.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n,i={next:function(r){t(r),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){n.unsubscribe()},0)},error:function(e){r(e)}};n=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:c.error};var e,t,r=this.queryManager.queryStore.get(this.queryId);if(e=r,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:r.networkStatus,error:new m({graphQLErrors:r.graphQLErrors,networkError:r.networkError})};r&&r.variables&&(this.options.variables=Object.assign({},this.options.variables,r.variables));var o,a=this.queryManager.getCurrentQueryResult(this),s=a.data,u=a.partial,l=!r||r.networkStatus===c.loading,h="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,f={data:s,loading:d(o=r?r.networkStatus:h?c.loading:c.ready),networkStatus:o};return r&&r.graphQLErrors&&"all"===this.options.errorPolicy&&(f.errors=r.graphQLErrors),u||(this.lastResult=Object(n.__assign)({},f,{stale:!1}),this.lastResultSnapshot=Object(i.cloneDeep)(this.lastResult)),Object(n.__assign)({},f,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(i.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(i.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(i.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var r="network-only"===t||"no-cache"===t,o=Object(n.__assign)({},this.options,{fetchPolicy:r?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,o,p.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,r=this;return Object(s.b)(e.updateQuery),Promise.resolve().then(function(){var i=r.queryManager.generateQueryId();return(t=e.query?e:Object(n.__assign)({},r.options,e,{variables:Object.assign({},r.variables,e.variables)})).fetchPolicy="network-only",r.queryManager.fetchQuery(i,t,p.normal,r.queryId)}).then(function(n){return r.updateQuery(function(r){return e.updateQuery(r,{fetchMoreResult:n.data,variables:t.variables})}),n})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(r){e.updateQuery&&t.updateQuery(function(t,n){var i=n.variables;return e.updateQuery(t,{subscriptionData:r,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(r),function(){var e=t.subscriptionHandles.indexOf(r);e>=0&&(t.subscriptionHandles.splice(e,1),r.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var r="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,r,e.fetchResults)},t.prototype.setVariables=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),this.isTornDown=!1;var o=e||this.variables;return Object(i.isEqual)(o,this.variables)&&!t?0!==this.observers.length&&r?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(n.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),r=t.previousResult,n=t.variables,o=t.document,a=Object(i.tryFunctionOrLogError)(function(){return e(r,{variables:n})});a&&(this.queryManager.dataStore.markUpdateQueryResult(o,n,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){_(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(_(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(i.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(f);function _(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var b=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,r){this.store[e]={mutation:t,variables:r||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var r=this.store[e];r&&(r.loading=!1,r.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(i.isEqual)(t.document,e.document))throw new s.a;var r,n=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==c.loading&&(Object(i.isEqual)(t.variables,e.variables)||(n=!0,o=t.variables)),r=n?c.setVariables:e.isPoll?c.poll:e.isRefetch?c.refetch:c.loading;var a=[];t&&t.graphQLErrors&&(a=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:a,networkStatus:r,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=c.fetchMore)},e.prototype.markQueryResult=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=c.ready,"string"==typeof r&&this.store[r]&&(this.store[r].networkStatus=c.ready))},e.prototype.markQueryError=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=c.error,"string"==typeof r&&this.markQueryResultClient(r,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?c.ready:c.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,r){return e[r]=Object(n.__assign)({},t.store[r],{networkStatus:c.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(i.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(i.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(n.__awaiter)(this,void 0,void 0,function(){return Object(n.__generator)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return Object(n.__assign)({},r,{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(i.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(i.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(n.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),Object(n.__awaiter)(this,void 0,void 0,function(){return Object(n.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return Object(n.__assign)({},t,e.exportedVariables)})]:[2,Object(n.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(h.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return h.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(i.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,o,a,s){return void 0===r&&(r={}),void 0===o&&(o={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(n.__awaiter)(this,void 0,void 0,function(){var u,c,l,h,d,f,p,v,m;return Object(n.__generator)(this,function(y){var _;return u=Object(i.getMainDefinition)(e),c=Object(i.getFragmentDefinitions)(e),l=Object(i.createFragmentMap)(c),h=u.operation,d=h?(_=h).charAt(0).toUpperCase()+_.slice(1):"Query",p=(f=this).cache,v=f.client,m={fragmentMap:l,context:Object(n.__assign)({},r,{cache:p,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:d,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r){return Object(n.__awaiter)(this,void 0,void 0,function(){var o,a,u,c,l,h=this;return Object(n.__generator)(this,function(d){return o=r.fragmentMap,a=r.context,u=r.variables,c=[t],l=function(e){return Object(n.__awaiter)(h,void 0,void 0,function(){var l,h;return Object(n.__generator)(this,function(n){return Object(i.shouldInclude)(e,u)?Object(i.isField)(e)?[2,this.resolveField(e,t,r).then(function(t){var r;void 0!==t&&c.push(((r={})[Object(i.resultKeyNameFromField)(e)]=t,r))})]:(Object(i.isInlineFragment)(e)?l=e:(l=o[e.name.value],Object(s.b)(l)),l&&l.typeCondition&&(h=l.typeCondition.name.value,r.fragmentMatcher(t,h,a))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(i.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,r){return Object(n.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,h,d,f,p=this;return Object(n.__generator)(this,function(n){return o=r.variables,a=e.name.value,s=Object(i.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(h=t.__typename||r.defaultOperationType,(d=this.resolvers&&this.resolvers[h])&&(f=d[u?a:s])&&(l=Promise.resolve(f(t,Object(i.argumentsObjectFromField)(e,o),r.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,r):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,r):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0}))},e}(),O=function(){function e(e){var t=e.link,r=e.queryDeduplication,n=void 0!==r&&r,i=e.store,a=e.onBroadcast,s=void 0===a?function(){}:a,u=e.ssrMode,c=void 0!==u&&u,h=e.clientAwareness,d=void 0===h?{}:h,f=e.localState;this.mutationStore=new b,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=o.a.from([new l,t]),this.queryDeduplication=n,this.dataStore=i,this.onBroadcast=s,this.clientAwareness=d,this.localState=f||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,a=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,h=e.awaitRefetchQueries,d=void 0!==h&&h,p=e.update,v=e.errorPolicy,y=void 0===v?"none":v,_=e.fetchPolicy,b=e.context,g=void 0===b?{}:b;return Object(n.__awaiter)(this,void 0,void 0,function(){var e,c,h,v,b,w=this;return Object(n.__generator)(this,function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!_||"no-cache"===_),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),r=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getMutationDefinition)(t)),r),this.setQuery(e,function(){return{document:t}}),h=function(){var e={};return u&&Object.keys(u).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(r){e[r]={updater:u[t],query:w.queryStore.get(r)}})}),e},Object(i.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,r,g)]:[3,2];case 1:return b=O.sent(),[3,3];case 2:b=r,O.label=3;case 3:return v=b,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:h(),update:p,optimisticResponse:a}),this.broadcastQueries(),[2,new Promise(function(r,s){var u,c,b=w.buildOperationForLink(t,v,Object(n.__assign)({},g,{optimisticResponse:a})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:a}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],r=0,n=l;r=(r||1)&&(I.queryStore.markQueryError(e,t,o),I.invalidate(!0,e,o),I.broadcastQueries()),new m({networkError:t})}),"cache-and-network"!==h)return[2,k];k.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,r){var i=this,o=!1;return function(a,s,u){return Object(n.__awaiter)(i,void 0,void 0,function(){var i,c,l,h,f,p,v,y,_,b,g,w,O,E,S,P,x,C,T,k;return Object(n.__generator)(this,function(I){switch(I.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(i=this.getQuery(e).observableQuery,"standby"===(c=i?i.options.fetchPolicy:t.fetchPolicy))return[2];if(l=i?i.options.errorPolicy:t.errorPolicy,h=i?i.getLastResult():null,f=i?i.getLastError():null,p=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(h&&a.networkStatus!==h.networkStatus),y=l&&(f&&f.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!d(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(_=new m({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,r.error)try{r.error(_)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw _},0);return[2]}I.label=1;case 1:if(I.trys.push([1,7,,8]),b=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),b=s.result,g=!s.complete||!1):h&&h.data&&!y?(b=h.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),b=O.result,g=!O.complete),E=void 0,E=g&&"cache-only"!==c?{data:h&&h.data,loading:d(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:b,loading:d(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(E.errors=a.graphQLErrors),!r.next)return[3,6];if(!o&&i&&!i.isDifferentFromLastResult(E))return[3,6];I.label=2;case 2:return I.trys.push([2,5,,6]),u?(S=t.query,P=t.variables,x=t.context,[4,this.localState.runResolvers({document:S,remoteResult:E,context:x,variables:P,onlyRunForcedResolvers:u})]):[3,4];case 3:C=I.sent(),E=Object(n.__assign)({},E,C),I.label=4;case 4:return r.next(E),[3,6];case 5:return T=I.sent(),setTimeout(function(){throw T},0),[3,6];case 6:return o=!1,[3,8];case 7:return k=I.sent(),o=!0,r.error&&r.error(new m({networkError:k})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var r=Object(i.getQueryDefinition)(e.query);if(r.variableDefinitions&&r.variableDefinitions.length){var o=Object(i.getDefaultValues)(r);e.variables=Object(i.assign)({},o,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(n.__assign)({},e);return new y({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise(function(r,n){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,n),i.result().then(r,n).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var r=e.listeners;return{listeners:(void 0===r?[]:r).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,r){var n=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:r.variables,optimistic:!0,previousResult:function(){var t=null,r=n.getQuery(e).observableQuery;if(r){var i=r.getLastResult();i&&(t=i.data)}return t},callback:function(t){n.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var r=Object(i.getQueryDefinition)(t.options.query);if(r.name&&r.name.value){var n=r.name.value;this.queryIdsByName[n]=this.queryIdsByName[n]||[],this.queryIdsByName[n].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),r=t.observableQuery,n=t.cancel;if(n&&n(),r){var o=Object(i.getQueryDefinition)(r.options.query),a=o.name?o.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(r.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,r){t.observableQuery&&e.push(r)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,r){return this.addQueryListener(e,r),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,r=this,a=e.query,s=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(a),c=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getOperationDefinition)(a)),e.variables),l=c,h=[],d=this.localState.clientQuery(u);return new f(function(e){if(h.push(e),1===h.length){var a=0,p=!1,v={next:function(e){return Object(n.__awaiter)(r,void 0,void 0,function(){var t;return Object(n.__generator)(this,function(r){switch(r.label){case 0:return a+=1,t=e,d&&Object(i.hasDirectives)(["client"],d)?[4,this.localState.runResolvers({document:d,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=r.sent(),r.label=2;case 2:return s&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),h.forEach(function(e){Object(i.graphQLResultHasError)(t)&&e.error?e.error(new m({graphQLErrors:t.errors})):e.next&&e.next(t),a-=1}),0===a&&p&&v.complete(),[2]}})})},error:function(e){h.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===a&&h.forEach(function(e){e.complete&&e.complete()}),p=!0}};Object(n.__awaiter)(r,void 0,void 0,function(){var e,r,a,s;return Object(n.__generator)(this,function(n){switch(n.label){case 0:return Object(i.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return r=n.sent(),[3,3];case 2:r=c,n.label=3;case 3:return e=r,(a=this.localState.serverQuery(u))?(s=this.buildOperationForLink(a,e),t=Object(o.c)(this.link,s).subscribe(v)):t=f.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(h=h.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var r=e.options,n=r.variables,i=r.query,o=r.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:n,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var r=this.getQuery(e).observableQuery;Object(s.b)(r),t=r}else t=e;var n=t.options,i=n.variables,o=n.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(r,n){r.invalidated&&r.listeners&&r.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(n),r.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,r=[];return this.queries.forEach(function(n,i){var o=n.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),r},e.prototype.fetchRequest=function(e){var t,r,a=this,s=e.requestId,u=e.queryId,l=e.document,h=e.options,d=e.fetchMoreForQueryId,p=h.variables,v=h.context,y=h.errorPolicy,_=void 0===y?"none":y,b=h.fetchPolicy;return new Promise(function(e,h){var y,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var E=a.buildOperationForLink(O,p,Object(n.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=E.context,y=Object(o.c)(a.deduplicator,E)}else g=a.prepareContext(v),y=f.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,h);var S=!1,P=!0,x={next:function(e){return Object(n.__awaiter)(a,void 0,void 0,function(){var o,a;return Object(n.__generator)(this,function(n){switch(n.label){case 0:return P=!0,o=e,a=this.getQuery(u).lastRequestId,s>=(a||1)?w&&Object(i.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:p}).catch(function(t){return P=!1,h(t),e})]:[3,2]:[3,3];case 1:o=n.sent(),n.label=2;case 2:if("no-cache"!==b)try{this.dataStore.markQueryResult(o,l,p,d,"ignore"===_||"all"===_)}catch(e){return P=!1,h(e),[2]}else this.setQuery(u,function(){return{newData:{result:o.data,complete:!0}}});this.queryStore.markQueryResult(u,o,d),this.invalidate(!0,u,d),this.broadcastQueries(),n.label=3;case 3:if(o.errors&&"none"===_)return P=!1,h(new m({graphQLErrors:o.errors})),[2];if("all"===_&&(r=o.errors),d||"no-cache"===b)t=o.data;else try{t=this.dataStore.getCache().read({variables:p,query:l,optimistic:!1})}catch(e){}return P=!1,S&&x.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),h(e)},complete:function(){P||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),e({data:t,errors:r,loading:!1,networkStatus:c.ready,stale:!1})),S=!0}},C=y.subscribe(x);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([C])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,r=this.queryIdsByName[e];if(void 0!==r)return Promise.all(r.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var r=this.getQuery(e),i=Object(n.__assign)({},r,t(r));this.queries.set(e,i)},e.prototype.invalidate=function(e,t,r){t&&this.setQuery(t,function(){return{invalidated:e}}),r&&this.setQuery(r,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,r){var n=this.dataStore.getCache();return{query:n.transformForLink?n.transformForLink(e):e,variables:t,operationName:Object(i.getOperationName)(e)||void 0,context:this.prepareContext(r)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(n.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==c.ready&&t.networkStatus!==c.error},e.prototype.startPollingQuery=function(e,t,r){var i=e.pollInterval;return Object(s.b)(i),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:i,lastPollTimeMs:Date.now()-10,options:Object(n.__assign)({},e,{fetchPolicy:"network-only"})}),r&&this.addQueryListener(t,r),this.schedulePoll(i)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,r=Date.now();if(this.nextPoll){if(!(e=r.interval){var i=function(){r.lastPollTimeMs=Date.now()};t.fetchQuery(n,r.options,p.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),E=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,r,n,o){void 0===o&&(o=!1);var a=!Object(i.graphQLResultHasError)(e);o&&Object(i.graphQLResultHasError)(e)&&e.data&&(a=!0),!n&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:r})},e.prototype.markSubscriptionResult=function(e,t,r){Object(i.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:r})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var r;r="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(n){var i=t.cache;t.cache=n;try{t.markMutationResult({mutationId:e.mutationId,result:{data:r},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(i.graphQLResultHasError)(e.result)){var r=[];r.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(n){var o=e.updateQueries[n],a=o.query,s=o.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(i.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(i.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&r.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){r.forEach(function(t){return e.write(t)})});var n=e.update;n&&this.cache.performTransaction(function(t){Object(i.tryFunctionOrLogError)(function(){return n(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,r){this.cache.write({result:r,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),S="2.5.1",P=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var r=e.cache,n=e.ssrMode,a=void 0!==n&&n,u=e.ssrForceFetchDelay,c=void 0===u?0:u,l=e.connectToDevTools,h=e.queryDeduplication,d=void 0===h||h,f=e.defaultOptions,p=e.resolvers,v=e.typeDefs,m=e.fragmentMatcher,y=e.name,_=e.version,b=e.link;if(!b&&p&&(b=o.a.empty()),!b||!r)throw new s.a;var g=new Map,O=new o.a(function(e,t){var r=g.get(e.query);return r||(r=Object(i.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,r),g.set(r,r)),e.query=r,t(e)});this.link=O.concat(b),this.cache=r,this.store=new E(r),this.disableNetworkFetches=a||c>0,this.queryDeduplication=d,this.ssrMode=a,this.defaultOptions=f||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=S,y&&(this.clientAwareness.name=y),_&&(this.clientAwareness.version=_),this.localState=new w({cache:r,client:this,resolvers:p,fragmentMatcher:m})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(n.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(n.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(n.__assign)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(n.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(n.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.c)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},388:function(e,t,r){"use strict";var n=r(272),i=r(268);function o(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(e)}]}}function a(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return a(e[0]);var t=[];return Object.keys(e).forEach(function(r){var n={kind:"Field",name:{kind:"Name",value:r},selectionSet:a(e[r])||void 0};t.push(n)}),{kind:"SelectionSet",selections:t}}var s,u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},c=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(i.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(i.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,r,n=e.id,i=e.data;if(void 0!==n){var s=null;try{s=this.read({rootId:n,optimistic:!1,query:u})}catch(e){}var c=s&&s.__typename||"__ClientData",l=Object.assign({__typename:c},i);this.writeFragment({id:n,fragment:(t=l,r=c,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(t)}]}),data:l})}else this.writeQuery({query:o(i),data:i})},e}();s||(s={});var l=r(341),h=r(291);r.d(t,"a",function(){return F});var d=new Map;if(d.set(1,2)!==d){var f=d.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return m&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new h.a}),o&&Object(i.isEqual)(o,v.result)&&(v.result=o),{result:v.result,complete:!m}},e.prototype.executeStoreQuery=function(e){var t=e.query,r=e.rootValue,n=e.contextValue,o=e.variableValues,a=e.fragmentMatcher,s=void 0===a?C:a,u=Object(i.getMainDefinition)(t),c=Object(i.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(i.createFragmentMap)(c),contextValue:n,variableValues:o,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:r,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,r=e.selectionSet,o=e.rootValue,a=e.execContext,s=a.fragmentMap,u=a.contextValue,c=a.variableValues,l={result:null},d=[],f=u.store.get(o.id),p=f&&f.__typename||"ROOT_QUERY"===o.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return r.selections.forEach(function(e){var r;if(Object(i.shouldInclude)(e,c))if(Object(i.isField)(e)){var l=v(t.executeField(f,p,e,a));void 0!==l&&d.push(((r={})[Object(i.resultKeyNameFromField)(e)]=l,r))}else{var m=void 0;if(Object(i.isInlineFragment)(e))m=e;else if(!(m=s[e.name.value]))throw new h.a;var y=m.typeCondition.name.value,_=a.fragmentMatcher(o,y,u);if(_){var b=t.executeSelectionSet({selectionSet:m.selectionSet,rootValue:o,execContext:a});"heuristic"===_&&b.missing&&(b=Object(n.__assign)({},b,{missing:b.missing.map(function(e){return Object(n.__assign)({},e,{tolerable:!0})})})),d.push(v(b))}}}),l.result=Object(i.mergeDeepArray)(d),l},e.prototype.executeField=function(e,t,r,n){var o=n.variableValues,a=n.contextValue,s=function(e,t,r,n,o,a){a.resultKey;var s=a.directives,u=r;(n||s)&&(u=Object(i.getStoreKeyName)(u,n,s));var c=void 0;if(e&&void 0===(c=e[u])&&o.cacheRedirects&&"string"==typeof t){var l=o.cacheRedirects[t];if(l){var h=l[r];h&&(c=h(e,n,{getCacheKey:function(e){return Object(i.toIdValue)({id:o.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(i.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,r.name.value,Object(i.argumentsObjectFromField)(r,o),a,{resultKey:Object(i.resultKeyNameFromField)(r),directives:Object(i.getDirectiveInfoFromField)(r,o)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(r,s.result,n)):r.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:r.selectionSet,rootValue:s.result,execContext:n})):(x(r,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;r[e].push(t)}else r[e]=[t];return!1}var A={fragmentMatcher:new g,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var R=Object.prototype.hasOwnProperty,M=function(e){function t(t,r,n){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=r,i.transaction=n,i}return Object(n.__extends)(t,e),t.prototype.toObject=function(){return Object(n.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return R.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(T),F=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;r.watches=new Set,r.typenameDocumentCache=new Map,r.cacheKeyRoot=new w,r.silenceBroadcast=!1,r.config=Object(n.__assign)({},A,t),r.config.customResolvers&&(r.config.cacheRedirects=r.config.customResolvers),r.config.cacheResolvers&&(r.config.cacheRedirects=r.config.cacheResolvers),r.addTypename=r.config.addTypename,r.data=r.config.resultCaching?new E:new T,r.optimisticData=r.data,r.storeReader=new P(r.cacheKeyRoot),r.storeWriter=new I;var i=r,o=i.maybeBroadcastWatch;return r.maybeBroadcastWatch=Object(l.wrap)(function(e){return o.call(r,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return i.data instanceof E?i.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),r}return Object(n.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new h.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],r=0,n=this.optimisticData;n instanceof M;)n.optimisticId===e?++r:t.push(n),n=n.parent;if(r>0){for(this.optimisticData=n;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var r=this.data,n=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new M(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=n,this.data=r}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(i.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(c)},389:function(e,t,r){"use strict";var n=r(279),i=r(268),o=r(338),a=r(285),s={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;r.d(t,"a",function(){return d});var c,l=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=o.graphql,d=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,r=e.cache,o=e.typeDefs,c=e.fragmentMatcher;return r&&t&&r.writeData({data:t}),new(function(d){function f(){return null!==d&&d.apply(this,arguments)||this}return l(f,d),f.prototype.writeDefaults=function(){r&&t&&r.writeData({data:t})},f.prototype.request=function(r,l){if(void 0===l&&(l=function(){return n.b.of({data:{}})}),o){var d=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(a.print)(e)}).map(function(e){return e.trim()}).join("\n")}(o);r.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:d,directives:"directive @client on FIELD"}])}})}if(!Object(i.hasDirectives)(["client"],r.query))return l(r);var f,p="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(i.checkDocument)(e);var r=Object(i.removeDirectivesFromDocument)([s],e);return u.set(e,r),r}(r.query),m=r.query,y=(f=(Object(i.getMainDefinition)(m)||{}).operation).charAt(0).toUpperCase()+f.slice(1)||"Query",_=function(e,r,n,i,o){void 0===r&&(r={});var a=o.resultKey,s=r[a],u=r[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=p[r.__typename||y];if(l){var h=l[e];if(h)return h(r,n,i,o)}return(c?s:u)||(t||{})[e]};v&&(r.query=v);var b=v&&l?l(r):n.b.of({data:{}});return new n.b(function(e){var t=!1,n=!1;b.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=r.getContext();n=!0,h(_,m,o,u,r.variables,{fragmentMatcher:c}).then(function(r){e.next({data:r,errors:a}),t&&e.complete(),n=!1}).catch(s)},error:e.error.bind(e),complete:function(){n||e.complete(),t=!0}})})},f}(n.a))}}}]); -//# sourceMappingURL=6.b5eda0fd20f44702613d.js.map \ No newline at end of file diff --git a/packages/ui/dist/6.b5eda0fd20f44702613d.js.LICENSE b/packages/ui/dist/6.b5eda0fd20f44702613d.js.LICENSE deleted file mode 100644 index 9d220b920..000000000 --- a/packages/ui/dist/6.b5eda0fd20f44702613d.js.LICENSE +++ /dev/null @@ -1,109 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 Vaadin Ltd. -This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ -*/ diff --git a/packages/ui/dist/6.b5eda0fd20f44702613d.js.map b/packages/ui/dist/6.b5eda0fd20f44702613d.js.map deleted file mode 100644 index 48fb19e84..000000000 --- a/packages/ui/dist/6.b5eda0fd20f44702613d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"6.b5eda0fd20f44702613d.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/6.be89e4404e21ae642e32.js b/packages/ui/dist/6.be89e4404e21ae642e32.js deleted file mode 100644 index f83e9b557..000000000 --- a/packages/ui/dist/6.be89e4404e21ae642e32.js +++ /dev/null @@ -1,23 +0,0 @@ -/*! For license information please see 6.be89e4404e21ae642e32.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{268:function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"getDirectiveInfoFromField",function(){return E}),r.d(t,"shouldInclude",function(){return S}),r.d(t,"getDirectiveNames",function(){return P}),r.d(t,"hasDirectives",function(){return x}),r.d(t,"hasClientExports",function(){return C}),r.d(t,"getFragmentQueryDocument",function(){return T}),r.d(t,"getMutationDefinition",function(){return I}),r.d(t,"checkDocument",function(){return N}),r.d(t,"getOperationDefinition",function(){return j}),r.d(t,"getOperationDefinitionOrDie",function(){return A}),r.d(t,"getOperationName",function(){return R}),r.d(t,"getFragmentDefinitions",function(){return M}),r.d(t,"getQueryDefinition",function(){return F}),r.d(t,"getFragmentDefinition",function(){return D}),r.d(t,"getMainDefinition",function(){return L}),r.d(t,"createFragmentMap",function(){return q}),r.d(t,"getDefaultValues",function(){return Q}),r.d(t,"variablesInOperation",function(){return V}),r.d(t,"removeDirectivesFromDocument",function(){return G}),r.d(t,"addTypenameToDocument",function(){return $}),r.d(t,"removeConnectionDirectiveFromDocument",function(){return J}),r.d(t,"getDirectivesFromDocument",function(){return X}),r.d(t,"removeArgumentsFromDocument",function(){return Z}),r.d(t,"removeFragmentSpreadFromDocument",function(){return ee}),r.d(t,"buildQueryFromSelectionSet",function(){return te}),r.d(t,"removeClientSetsFromDocument",function(){return re}),r.d(t,"isScalarValue",function(){return u}),r.d(t,"isNumberValue",function(){return c}),r.d(t,"valueToObjectRepresentation",function(){return l}),r.d(t,"storeKeyNameFromField",function(){return h}),r.d(t,"getStoreKeyName",function(){return f}),r.d(t,"argumentsObjectFromField",function(){return p}),r.d(t,"resultKeyNameFromField",function(){return v}),r.d(t,"isField",function(){return m}),r.d(t,"isInlineFragment",function(){return y}),r.d(t,"isIdValue",function(){return _}),r.d(t,"toIdValue",function(){return b}),r.d(t,"isJsonValue",function(){return g}),r.d(t,"valueFromNode",function(){return O}),r.d(t,"assign",function(){return k}),r.d(t,"cloneDeep",function(){return ie}),r.d(t,"getEnv",function(){return oe}),r.d(t,"isEnv",function(){return ae}),r.d(t,"isProduction",function(){return se}),r.d(t,"isDevelopment",function(){return ue}),r.d(t,"isTest",function(){return ce}),r.d(t,"tryFunctionOrLogError",function(){return le}),r.d(t,"graphQLResultHasError",function(){return he}),r.d(t,"isEqual",function(){return de}),r.d(t,"maybeDeepFreeze",function(){return fe}),r.d(t,"mergeDeep",function(){return ve}),r.d(t,"mergeDeepArray",function(){return me}),r.d(t,"warnOnceInDevelopment",function(){return we}),r.d(t,"stripSymbols",function(){return Oe});var n=r(289),i=r(291),o=r(272),a=r(339),s=r.n(a);function u(e){return["StringValue","BooleanValue","EnumValue"].indexOf(e.kind)>-1}function c(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function l(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map(function(e){return l(o,e.name,e.value,n)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(n||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,n),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.a;e[t.value]=null}}function h(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),f(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export"];function f(e,t,r){if(r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i=t,o={};return n.forEach(function(e){o[e]=i[e]}),r.connection.key+"("+JSON.stringify(o)+")"}return r.connection.key}var a=e;if(t){var u=s()(t);a+="("+u+")"}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@"+e+"("+JSON.stringify(r[e])+")":a+="@"+e)}),a}function p(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){var n=e.name,i=e.value;return l(r,n,i,t)}),r}return null}function v(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function y(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function b(e,t){return void 0===t&&(t=!1),Object(o.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function g(e){return null!=e&&"object"==typeof e&&"json"===e.type}function w(e){throw new i.a}function O(e,t){switch(void 0===t&&(t=w),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return O(e,t)});case"ObjectValue":for(var r={},n=0,i=e.fields;n-1})}function C(e){return e&&x(["client"],e)&&x(["export"],e)}function T(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new i.a;"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&(Object(i.b)(1===n.length),r=n[0].name.value),Object(o.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}].concat(e.definitions)})}function k(e){for(var t=[],r=1;r1){var n=[];t=be(t,n);for(var i=1;i=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function u(e,t){return function(r,n){t(r,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,s)}u((n=n.apply(e,t||[])).next())})}function h(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function p(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(r=i[e](t)).value instanceof m?Promise.resolve(r.value.v).then(u,c):l(o[0][2],r)}catch(e){l(o[0][3],e)}var r}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function _(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function b(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=f(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,i,(t=e[r](t)).done,t.value)})}}}function g(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function O(e){return e&&e.__esModule?e:{default:e}}},275:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},277:function(e,t,r){"use strict";var n=new WeakMap,i=e=>"function"==typeof e&&n.has(e),o=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,a=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;n!==r;){var i=n.nextSibling;e.removeChild(n),n=i}},s={},u={},c=`{{lit-${String(Math.random()).slice(2)}}}`,l=`\x3c!--${c}--\x3e`,h=new RegExp(`${c}|${l}`),d="$lit$";class f{constructor(e,t){this.parts=[],this.element=t;var r=-1,n=0,i=[],o=t=>{for(var a=t.content,s=document.createTreeWalker(a,133,null,!1),u=0;s.nextNode();){r++;var l=s.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var f=l.attributes,p=0,y=0;y=0&&p++;for(;p-- >0;){var _=e.strings[n],b=m.exec(_)[2],g=b.toLowerCase()+d,w=l.getAttribute(g).split(h);this.parts.push({type:"attribute",index:r,name:b,strings:w}),l.removeAttribute(g),n+=w.length-1}}"TEMPLATE"===l.tagName&&o(l)}else if(3===l.nodeType){var O=l.data;if(O.indexOf(c)>=0){for(var E=l.parentNode,S=O.split(h),P=S.length-1,x=0;x-1!==e.index,v=()=>document.createComment(""),m=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;class y{constructor(e,t,r){this._parts=[],this.template=e,this.processor=t,this.options=r}update(e){var t=0;for(var r of this._parts)void 0!==r&&r.setValue(e[t]),t++;for(var n of this._parts)void 0!==n&&n.commit()}_clone(){var e=o?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=this.template.parts,r=0,n=0,i=e=>{for(var o=document.createTreeWalker(e,133,null,!1),a=o.nextNode();rnull===e||!("object"==typeof e||"function"==typeof e);class g{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.startNode;a(this.startNode.parentNode,e.nextSibling,this.endNode)}}class E{constructor(e,t,r){if(this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this._pendingValue=e}commit(){for(;i(this._pendingValue);){var e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue!==s){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=s}}}class S extends g{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new P(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class P extends w{}var x=!1;try{var C={get capture(){return x=!0,!1}};window.addEventListener("test",C,C),window.removeEventListener("test",C,C)}catch(e){}class T{constructor(e,t,r){this.value=void 0,this._pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this._boundHandleEvent=(e=>this.handleEvent(e))}setValue(e){this._pendingValue=e}commit(){for(;i(this._pendingValue);){var e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue!==s){var t=this._pendingValue,r=this.value,n=null==t||null!=r&&(t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive),o=null!=t&&(null==r||n);n&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),o&&(this._options=k(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=s}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}var k=e=>e&&(x?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);var I=new class{handleAttributeExpressions(e,t,r,n){var i=t[0];return"."===i?new S(e,t.slice(1),r).parts:"@"===i?[new T(e,t.slice(1),n.eventContext)]:"?"===i?[new E(e,t.slice(1),r)]:new g(e,t,r).parts}handleTextExpression(e){return new O(e)}};function N(e){var t=j.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},j.set(e.type,t));var r=t.stringsArray.get(e.strings);if(void 0!==r)return r;var n=e.strings.join(c);return void 0===(r=t.keyString.get(n))&&(r=new f(e,e.getTemplateElement()),t.keyString.set(n,r)),t.stringsArray.set(e.strings,r),r}var j=new Map,A=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var R=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.parentNode.removeChild(e))}var D=e=>{for(var t=11===e.nodeType?0:1,r=document.createTreeWalker(e,M,null,!1);r.nextNode();)t++;return t},L=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t`${e}--${t}`,Q=!0;void 0===window.ShadyCSS?Q=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),Q=!1);var V=e=>t=>{var r=q(t.type,e),n=j.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},j.set(r,n));var i=n.stringsArray.get(t.strings);if(void 0!==i)return i;var o=t.strings.join(c);if(void 0===(i=n.keyString.get(o))){var a=t.getTemplateElement();Q&&window.ShadyCSS.prepareTemplateDom(a,e),i=new f(t,a),n.keyString.set(o,i)}return n.stringsArray.set(t.strings,i),i},B=["html","svg"],U=new Set,H=(e,t,r)=>{U.add(r);var n=e.querySelectorAll("style");if(0!==n.length){for(var i=document.createElement("style"),o=0;o{B.forEach(t=>{var r=j.get(q(t,e));void 0!==r&&r.keyString.forEach(e=>{var t=e.element.content,r=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{r.add(e)}),F(e,r)})})})(r),function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e.element.content,i=e.parts;if(null!=r)for(var o=document.createTreeWalker(n,M,null,!1),a=L(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===r&&(s=D(t),r.parentNode.insertBefore(t,r));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=L(i,a);return}a=L(i,a)}else n.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,r),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),F(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,r)};window.JSCompiler_renameProperty=((e,t)=>e);var z={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},G=(e,t)=>t!==e&&(t==t||e==e),$={attribute:!0,type:String,converter:z,reflect:!1,hasChanged:G},K=Promise.resolve(!0),J=1,Y=4,W=8,X=16,Z=32;class ee extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=K,this._hasConnectedResolver=void 0,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();var e=[];return this._classProperties.forEach((t,r)=>{var n=this._attributeNameForProperty(r,t);void 0!==n&&(this._attributeToPropertyMap.set(n,r),e.push(n))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var r="symbol"==typeof e?Symbol():`__${e}`;Object.defineProperty(this.prototype,e,{get(){return this[r]},set(t){var n=this[e];this[r]=t,this.requestUpdate(e,n)},configurable:!0,enumerable:!0})}}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,r=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(var n of r)this.createProperty(n,t[n])}}}static _attributeNameForProperty(e,t){var r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:G)(e,t)}static _propertyValueFromAttribute(e,t){var r=t.type,n=t.converter||z,i="function"==typeof n?n:n.fromAttribute;return i?i(e,r):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){var r=t.type,n=t.converter;return(n&&n.toAttribute||z.toAttribute)(e,r)}}initialize(){this._saveInstanceProperties()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){var r=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,r)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this._updateState=this._updateState|Z,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$,n=this.constructor,i=n._attributeNameForProperty(e,r);if(void 0!==i){var o=n._propertyValueToAttribute(t,r);if(void 0===o)return;this._updateState=this._updateState|W,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=this._updateState&~W}}_attributeToProperty(e,t){if(!(this._updateState&W)){var r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){var i=r._classProperties.get(n)||$;this._updateState=this._updateState|X,this[n]=r._propertyValueFromAttribute(t,i),this._updateState=this._updateState&~X}}}requestUpdate(e,t){var r=!0;if(void 0!==e&&!this._changedProperties.has(e)){var n=this.constructor,i=n._classProperties.get(e)||$;n._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.set(e,t),!0!==i.reflect||this._updateState&X||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):r=!1}return!this._hasRequestedUpdate&&r&&this._enqueueUpdate(),this.updateComplete}_enqueueUpdate(){return new Promise(function(e,t){var r,n,i;return this._updateState=this._updateState|Y,n=this._updatePromise,this._updatePromise=new Promise(e=>r=e),Promise.resolve(n).then(function(n){try{if(!this._hasConnected)return Promise.resolve(new Promise(e=>this._hasConnectedResolver=e)).then(function(e){try{return o.call(this)}catch(e){return t(e)}}.bind(this),t);function o(){if(null!=(i=this.performUpdate())&&"function"==typeof i.then)return Promise.resolve(i).then(function(e){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return r(!this._hasRequestedUpdate),e()}return n.call(this)}return o.call(this)}catch(e){return t(e)}}.bind(this),t)}.bind(this))}get _hasConnected(){return this._updateState&Z}get _hasRequestedUpdate(){return this._updateState&Y}get hasUpdated(){return this._updateState&J}performUpdate(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),this._updateState&J||(this._updateState=this._updateState|J,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~Y}get updateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0)}updated(e){}firstUpdated(e){}}ee.finalized=!0;ne((e,t)=>e.querySelector(t)),ne((e,t)=>e.querySelectorAll(t));var te=(e,t,r)=>{Object.defineProperty(t,r,e)},re=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});function ne(e){return t=>(r,n)=>{var i={get(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0};return void 0!==n?te(i,r,n):re(i,r)}}var ie="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol();r.d(t,"a",function(){return ae}),r.d(t,"b",function(){return R}),(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var oe=e=>e.flat?e.flat(1/0):function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0,i=t.length;n(e.add(t),e),new Set).forEach(e=>t.unshift(e)):e&&t.push(e);return t}initialize(){super.initialize(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?ie?this.renderRoot.adoptedStyleSheets=e.map(e=>e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){super.update(e);var t=this.render();t instanceof _&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{var t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){}}ae.finalized=!0,ae.render=((e,t,r)=>{var n=r.scopeName,i=A.has(t),o=t instanceof ShadowRoot&&Q&&e instanceof _,s=o&&!U.has(n),u=s?document.createDocumentFragment():t;if(((e,t,r)=>{var n=A.get(t);void 0===n&&(a(t,t.firstChild),A.set(t,n=new O(Object.assign({templateFactory:N},r))),n.appendInto(t)),n.setValue(e),n.commit()})(e,u,Object.assign({templateFactory:V(n)},r)),s){var c=A.get(u);A.delete(u),c.value instanceof y&&H(u,c.value.template,n),a(t,t.firstChild),t.appendChild(u),A.set(t,c)}!i&&o&&window.ShadyCSS.styleElement(t.host)})},279:function(e,t,r){"use strict";var n=r(307),i=r.n(n).a,o=r(285);r.d(t,"d",function(){return l}),r.d(t,"e",function(){return m}),r.d(t,"a",function(){return _}),r.d(t,"c",function(){return b}),r.d(t,"b",function(){return i});var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r+~])"},284:function(e,t,r){var n=r(379).parse;function i(e){return e.replace(/[\s,]+/g," ").trim()}var o={},a={};var s=!0;var u=!1;function c(e){var t=i(e);if(o[t])return o[t];var r=n(e,{experimentalFragmentVariables:u});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");return r=function e(t,r){var n=Object.prototype.toString.call(t);if("[object Array]"===n)return t.map(function(t){return e(t,r)});if("[object Object]"!==n)throw new Error("Unexpected input.");r&&t.loc&&delete t.loc,t.loc&&(delete t.loc.startToken,delete t.loc.endToken);var i,o,a,s=Object.keys(t);for(i in s)s.hasOwnProperty(i)&&(o=t[s[i]],"[object Object]"!==(a=Object.prototype.toString.call(o))&&"[object Array]"!==a||(t[s[i]]=e(o,!0)));return t}(r=function(e){for(var t,r={},n=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],h=-1,d=[],f=void 0,p=void 0,v=void 0,m=[],y=[],_=e;do{var b=++h===l.length,g=b&&0!==d.length;if(b){if(p=0===y.length?void 0:m[m.length-1],f=v,v=y.pop(),g){if(c)f=f.slice();else{for(var w={},O=Object.keys(f),E=0;E1)for(var r=1;r{n=e}),"complete"===document.readyState?n():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&n()})),i.then(function(){e&&e()}))})}r.d(t,"a",function(){return h});var s="__seenByShadyCSS",u="__shadyCSSCachedStyle",c=null,l=null;class h{constructor(){this.customStyles=[],this.enqueued=!1,a(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&l&&(this.enqueued=!0,a(l))}addCustomStyle(e){e[s]||(e[s]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[u]?e[u]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;tc,set(e){c=e}},validateCallback:{get:()=>l,set(e){var t=!1;l||(t=!0),l=e,t&&this.enqueueDocumentValidation()}}})},304:function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(305);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":if(e){var t=function(e){var t=e[String(n.a)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(t){var r=t.call(e);return"string"==typeof r?r:o(r)}if(Array.isArray(e))return"["+e.map(o).join(", ")+"]";var a=Object.keys(e).map(function(t){return"".concat(t,": ").concat(o(e[t]))}).join(", ");return a?"{ "+a+" }":"{}"}return String(e);default:return String(e)}}},305:function(e,t,r){"use strict";var n="function"==typeof Symbol?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=n},306:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},307:function(e,t,r){e.exports=r(325).Observable},308:function(e,t,r){"use strict";r.r(t),function(e,n){var i,o=r(334);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.default=a}.call(this,r(275),r(281)(e))},309:function(e,t,r){"use strict";(function(e){var r=new function(){};function n(){return r}try{var i=e["eriuqer".split("").reverse().join("")]("fibers");n=function(){return i.current||r}}catch(e){}t.get=function(){var e=n();return e._optimism_local||(e._optimism_local=Object.create(null))}}).call(this,r(292)(e))},324:function(e,t,r){"use strict";function n(e){return e=e||[],Array.isArray(e)?e:[e]}function i(e){return`[Vaadin.Router] ${e}`}r.d(t,"a",function(){return ue});var o="module",a="nomodule",s=[o,a];function u(e){if(!e.match(/.+\.[m]?js$/))throw new Error(i(`Unsupported type for bundle "${e}": .js or .mjs expected.`))}function c(e){if(!e||!v(e.path))throw new Error(i('Expected route config to be an object with a "path" string property, or an array of such objects'));var t=e.bundle,r=["component","redirect","bundle"];if(!(p(e.action)||Array.isArray(e.children)||p(e.children)||f(t)||r.some(t=>v(e[t]))))throw new Error(i(`Expected route config "${e.path}" to include either "${r.join('", "')}" `+'or "action" function but none found.'));if(t)if(v(t))u(t);else{if(!s.some(e=>e in t))throw new Error(i('Expected route bundle to include either "'+a+'" or "'+o+'" keys, or both'));s.forEach(e=>e in t&&u(t[e]))}e.redirect&&["bundle","component"].forEach(t=>{t in e&&console.warn(i(`Route config "${e.path}" has both "redirect" and "${t}" properties, `+`and "redirect" will always override the latter. Did you mean to only use "${t}"?`))})}function l(e){n(e).forEach(e=>c(e))}function h(e,t){var r=document.head.querySelector('script[src="'+e+'"][async]');return r||((r=document.createElement("script")).setAttribute("src",e),t===o?r.setAttribute("type",o):t===a&&r.setAttribute(a,""),r.async=!0),new Promise((e,t)=>{r.onreadystatechange=r.onload=(t=>{r.__dynamicImportLoaded=!0,e(t)}),r.onerror=(e=>{r.parentNode&&r.parentNode.removeChild(r),t(e)}),null===r.parentNode?document.head.appendChild(r):r.__dynamicImportLoaded&&e()})}function d(e,t){return!window.dispatchEvent(new CustomEvent(`vaadin-router-${e}`,{cancelable:"go"===e,detail:t}))}function f(e){return"object"==typeof e&&!!e}function p(e){return"function"==typeof e}function v(e){return"string"==typeof e}function m(e){var t=new Error(i(`Page not found (${e.pathname})`));return t.context=e,t.code=404,t}var y=new class{};function _(e){if(!e.defaultPrevented&&0===e.button&&!(e.shiftKey||e.ctrlKey||e.altKey||e.metaKey)){for(var t=e.target,r=e.composedPath?e.composedPath():e.path||[],n=0;n-1&&(f=a[b],a=a.slice(0,b))}a&&(n.push(a),a="",c=!1);var g=""!==f&&void 0!==p&&p!==f,w="+"===_||"*"===_,O="?"===_||"*"===_,E=f||s,S=m||y;n.push({name:v||i++,prefix:f,delimiter:E,optional:O,repeat:w,partial:g,pattern:S?A(S):"[^"+j(E)+"]+?"})}}return(a||o-1;else{var d=j(h.prefix),f=h.repeat?"(?:"+h.pattern+")(?:"+d+"(?:"+h.pattern+"))*":h.pattern;t&&t.push(h),h.optional?h.partial?u+=d+"("+f+")?":u+="(?:"+d+"("+f+"))?":u+=d+"("+f+")"}}return i?(n||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(n||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,R(r))}function F(e,t,r){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n0&&"/"===t.charAt(d)&&(d+=1),a=Q(h,t.substr(d),r,o.keys,o.params)}var f=a.next(c);if(!f.done)return{done:!1,value:f.value};a=null,s++}return{done:!0}}}}function V(e){if(p(e.route.action))return e.route.action(e)}L.set("|false",{keys:[],pattern:/(?:)/});class B{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(e)!==e)throw new TypeError("Invalid routes");this.baseUrl=t.baseUrl||"",this.errorHandler=t.errorHandler,this.resolveRoute=t.resolveRoute||V,this.context=Object.assign({resolver:this},t.context),this.root=Array.isArray(e)?{path:"",__children:e,parent:null,__synthetic:!0}:e,this.root.parent=null}getRoutes(){return[...this.root.__children]}setRoutes(e){l(e);var t=[...n(e)];this.root.__children=t}addRoutes(e){return l(e),this.root.__children.push(...n(e)),this.getRoutes()}removeRoutes(){this.setRoutes([])}resolve(e){var t=Object.assign({},this.context,v(e)?{pathname:e}:e),r=Q(this.root,this.__normalizePathname(t.pathname),this.baseUrl),n=this.resolveRoute,i=null,o=null,a=t;function s(e){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&i.value.route;return i=o||r.next(c),o=null,e||!i.done&&function(e,t){for(var r=t;r;)if((r=r.parent)===e)return!0;return!1}(u,i.value.route)?i.done?Promise.reject(m(t)):(function(e,t){var r=t.route,n=t.path;if(r&&!r.__synthetic){var i={path:n,route:r};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,r)?e.chain.push(i):e.chain=[i]}}(t,i.value),a=Object.assign({},t,i.value),Promise.resolve(n(a)).then(t=>null!=t&&t!==y?(a.result=t.result||t,a):s(e,u,t))):(o=i,Promise.resolve(y))}return t.next=s,Promise.resolve().then(()=>s(!0,this.root)).catch(e=>{var t=function(e){var t=`Path '${e.pathname}' is not properly resolved due to an error.`,r=(e.route||{}).path;return r&&(t+=` Resolution had failed on route: '${r}'`),t}(a);if(e?console.warn(t):e=new Error(t),e.context=e.context||a,e instanceof DOMException||(e.code=e.code||500),this.errorHandler)return a.result=this.errorHandler(e),a;throw e})}static __createUrl(e,t){return new URL(e,t)}get __effectiveBaseUrl(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}__normalizePathname(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,r=this.constructor.__createUrl(e,t).href;return r.slice(0,t.length)===t?r.slice(t.length):void 0}}B.pathToRegexp=O;var U=B.pathToRegexp,H=new Map;function z(e,t){var r=e.get(t);if(r&&r.length>1)throw new Error(`Duplicate route with name "${t}".`+" Try seting unique 'name' route properties.");return r&&r[0]}function G(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof B))throw new TypeError("An instance of Resolver is expected");var r=new Map;return(n,i)=>{var o=z(r,n);if(!(o||(r.clear(),function e(t,r,n){var i=r.name||r.component;if(i&&(t.has(i)?t.get(i).push(r):t.set(i,[r])),Array.isArray(n))for(var o=0;oe.inactivate()),e.forEach(e=>e.activate()),K=e}var Y=e=>{var t=getComputedStyle(e).getPropertyValue("animation-name");return t&&"none"!==t},W=(e,t)=>{var r=()=>{e.removeEventListener("animationend",r),t()};e.addEventListener("animationend",r)};function X(e,t){return e.classList.add(t),new Promise(r=>{if(Y(e)){var n=e.getBoundingClientRect(),i=`height: ${n.bottom-n.top}px; width: ${n.right-n.left}px`;e.setAttribute("style",`position: absolute; ${i}`),W(e,()=>{e.classList.remove(t),e.removeAttribute("style"),r()})}else e.classList.remove(t),r()})}var Z=256;function ee(e){return null!=e}function te(e,t){var r=e.pathname,n=void 0===r?"":r,i=e.chain,o=void 0===i?[]:i,a=e.params,s=void 0===a?{}:a,u=e.redirectFrom,c=e.resolver,l=o.map(e=>e.route);return{baseUrl:c&&c.baseUrl||"",pathname:n,routes:l,route:t||l.length&&l[l.length-1]||null,params:s,redirectFrom:u,getUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ae(ue.pathToRegexp.compile(se(l))(Object.assign({},s,e)),c)}}}function re(e,t){var r=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:r}}}function ne(e,t,r){if(p(e))return e.apply(r,t)}function ie(e,t,r){return n=>n&&(n.cancel||n.redirect)?n:r?ne(r[e],t,r):void 0}function oe(e){if(e&&e.length)for(var t=e[0].parentNode,r=0;re.path).reduce((e,t)=>t.length?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):e,"")}class ue extends B{constructor(e,t){var r=document.head.querySelector("base");super([],Object.assign({baseUrl:r&&r.getAttribute("href")},t)),this.resolveRoute=(e=>this.__resolveRoute(e));var n=ue.NavigationTrigger;ue.setTriggers.apply(ue,Object.keys(n).map(e=>n[e])),this.baseUrl,this.ready,this.ready=Promise.resolve(e),this.location,this.location=te({resolver:this}),this.__lastStartedRenderId=0,this.__navigationEventHandler=this.__onNavigationEvent.bind(this),this.setOutlet(e),this.subscribe()}__resolveRoute(e){var t=e.route,r=Promise.resolve();p(t.children)&&(r=r.then(()=>t.children(function(e){var t=Object.assign({},e);return delete t.next,t}(e))).then(e=>{ee(e)||p(t.children)||(e=t.children),function(e,t){if(!Array.isArray(e)&&!f(e))throw new Error(i(`Incorrect "children" value for the route ${t.path}: expected array or object, but got ${e}`));t.__children=[];for(var r=n(e),o=0;ore(e,t),component:t=>(function(e,t){var r=document.createElement(t);r.location=te(e);var n=e.chain.map(e=>e.route).indexOf(e.route);return e.chain[n].element=r,r})(e,t)};return r.then(()=>ne(t.action,[e,o],t)).then(e=>ee(e)&&(e instanceof HTMLElement||e.redirect||e===y)?e:v(t.redirect)?o.redirect(t.redirect):t.bundle?function(e){return v(e)?h(e):Promise.race(s.filter(t=>t in e).map(t=>h(e[t],t)))}(t.bundle).then(()=>{},()=>{throw new Error(i(`Bundle not found: ${t.bundle}. Check if the file name is correct`))}):void 0).then(e=>ee(e)?e:v(t.component)?o.component(t.component):void 0)}setOutlet(e){e&&this.__ensureOutlet(e),this.__outlet=e}getOutlet(){return this.__outlet}setRoutes(e){this.__urlForName=void 0,super.setRoutes(e),this.__onNavigationEvent()}render(e,t){var r=++this.__lastStartedRenderId,n=e.pathname||e;return this.ready=this.resolve(e).then(e=>this.__fullyResolveChain(e)).then(e=>{if(r===this.__lastStartedRenderId){var n=this.__previousContext;if(e===n)return this.location;this.location=te(e),d("location-changed",{router:this,location:this.location}),t&&this.__updateBrowserHistory(e.pathname,e.redirectFrom),this.__addAppearingContent(e,n);var i=this.__animateIfNeeded(e);return this.__runOnAfterEnterCallbacks(e),this.__runOnAfterLeaveCallbacks(e,n),i.then(()=>{if(r===this.__lastStartedRenderId)return this.__removeDisappearingContent(),this.__previousContext=e,this.location})}}).catch(e=>{if(r===this.__lastStartedRenderId)throw t&&this.__updateBrowserHistory(n),oe(this.__outlet&&this.__outlet.children),this.location=te({pathname:n,resolver:this}),d("error",{router:this,error:e,pathname:n}),e}),this.ready}__fullyResolveChain(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(t).then(r=>{var n=r!==t?r:e;return r.next().then(e=>{if((null===e||e===y)&&ae(se(r.chain),r.resolver)!==r.pathname)throw m(n);return e&&e!==y?this.__fullyResolveChain(n,e):this.__amendWithOnBeforeCallbacks(n)})})}__amendWithResolutionResult(e){var t=e.result;return t instanceof HTMLElement?Promise.resolve(e):t.redirect?this.__redirect(t.redirect,e.__redirectCount).then(e=>this.__amendWithResolutionResult(e)):t instanceof Error?Promise.reject(t):Promise.reject(new Error(i(`Invalid route resolution result for path "${e.pathname}". `+`Expected redirect object or HTML element, but got: "${function(e){if("object"!=typeof e)return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?`${t} ${JSON.stringify(e)}`:t}(t)}". `+"Double check the action return value for the route.")))}__amendWithOnBeforeCallbacks(e){return this.__runOnBeforeCallbacks(e).then(t=>t===this.__previousContext||t===e?t:this.__fullyResolveChain(t))}__runOnBeforeCallbacks(e){var t=(this.__previousContext||{}).chain||[],r=e.chain,n=Promise.resolve(),i=()=>({cancel:!0}),o=t=>re(e,t);if(e.__divergedChainIndex=0,t.length){for(var a=0;a=e.__divergedChainIndex;s--){var u=te(e);n=n.then(ie("onBeforeLeave",[u,{prevent:i},this],t[s].element)).then(e=>{if(!(e||{}).redirect)return e})}}for(var c=e.__divergedChainIndex;c{if(t){if(t.cancel)return this.__previousContext;if(t.redirect)return this.__redirect(t.redirect,e.__redirectCount)}return e})}__redirect(e,t){if(t>Z)throw new Error(i(`Too many redirects when rendering ${e.from}`));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}__ensureOutlet(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(i(`Expected router outlet to be a valid DOM Node (but got ${e})`))}__updateBrowserHistory(e,t){if(window.location.pathname!==e){var r=t?"replaceState":"pushState";window.history[r](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}__addAppearingContent(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var r=this.__outlet,n=0;n=e.__divergedChainIndex;r--){var n=t.chain[r].element;if(n)try{var i=te(e);ne(n.onAfterLeave,[i,{},t.resolver],n)}finally{oe(n.children)}}}__runOnAfterEnterCallbacks(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(r&&n&&t){var s=f(t)&&t.leave||"leaving",u=f(t)&&t.enter||"entering";i.push(X(r,s)),i.push(X(n,u))}return Promise.all(i).then(()=>e)}subscribe(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}unsubscribe(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}__onNavigationEvent(e){var t=e?e.detail.pathname:window.location.pathname;v(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}static setTriggers(){for(var e=arguments.length,t=new Array(e),r=0;r=0&&!le(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(e=>window.Vaadin.Flow.clients[e]).filter(e=>e.productionMode);if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),he(de),ue.NavigationTrigger={POPSTATE:w,CLICK:b}},325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r1,i=!1,o=arguments[1];return new r(function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=h(t,c);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return f(i)&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(a("iterator")&&(n=h(t,u)))return new r(function(e){v(function(){if(!e.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else r(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,r){if("function"==typeof e)try{return t(e.call(null))}catch(e){return r(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){r.checkOperationOptions(e,t),r.operations[n]&&(r.operations[n]={options:e,handler:t},r.sendMessage(n,y.default.GQL_START,e))}).catch(function(e){r.unsubscribe(n),t(r.formatErrors(e))}),n},e.prototype.getObserver=function(e,t,r){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return r&&r()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var r=e.query,n=e.variables,i=e.operationName;if(!r)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(r)&&!f.getOperationAST(r,i)||i&&!l.default(i)||n&&!h.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,r){return{id:e,type:t,payload:r&&r.query?n({},r,{query:"string"==typeof r.query?r.query:d.print(r.query)}):r}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,r){this.sendMessageRaw(this.buildMessage(e,t,r))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,y.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,v.GRAPHQL_WS),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=r.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=r.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var r=t.data;e.processReceivedData(r)}},e.prototype.processReceivedData=function(e){var t,r;try{r=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[y.default.GQL_DATA,y.default.GQL_COMPLETE,y.default.GQL_ERROR].indexOf(t.type)||this.operations[r])switch(t.type){case y.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case y.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case y.default.GQL_COMPLETE:this.operations[r].handler(null,null),delete this.operations[r];break;case y.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(t.payload),null),delete this.operations[r];break;case y.default.GQL_DATA:var i=t.payload.errors?n({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[r].handler(null,i);break;case y.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,y.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=_}).call(this,r(275))},329:function(e,t){function r(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=r,r.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(e){this.ms=e},r.prototype.setMax=function(e){this.max=e},r.prototype.setJitter=function(e){this.jitter=e}},330:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,n,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},c.prototype.listeners=function(e){var t=i?i+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);nthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},343:function(e,t,r){"use strict";r.r(t),r.d(t,"tuple",function(){return f}),r.d(t,"lookup",function(){return h}),r.d(t,"lookupArray",function(){return d});var n="function"==typeof Symbol&&"function"==typeof Symbol.for,i=n?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=n?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,r,n){return Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!1,configurable:!1}),r}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function h(){return d(arguments)}function d(e){for(var t=l,r=e.length,n=0;n0&&(t=[],e.childValues.forEach(function(r,n){w(e,n),t.push(n)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),y(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},345:function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[],n=-1,i=-1,o=0,a=e.length;o=t&&r.push([n,i]),n=-1)}return e[o-1]&&o-n>=t&&r.push([n,o-1]),r}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},r=e.length,n=0;n2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(r,"\\$&").replace(n,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=j;M-=1){var F=M-1,D=r[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==k&&(R[M]|=(P[M+1]|P[M])<<1|1|P[M+1]),R[M]&T&&(x=n(t,{errors:k,currentLocation:F,expectedLocation:m,distance:c}))<=_){if(_=x,(b=F)<=m)break;j=Math.max(1,2*m-b)}}if(n(t,{errors:k+1,currentLocation:m,expectedLocation:m,distance:c})>_)break;P=R}return{isMatch:b>=0,score:0===x?.001:x,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,r){function n(e,t){for(var r=0;rr)return i(e,this.pattern,n);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,h=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:h})}}])&&n(t.prototype,r),s&&n(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,r){var n=r("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,r,i){if(r){var o=r.indexOf("."),a=r,s=null;-1!==o&&(a=r.slice(0,o),s=r.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(n(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var r=this._prepareSearchers(e),n=r.tokenSearchers,i=r.fullSearcher,o=this._search(n,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var r=e.split(this.options.tokenSeparator),n=0,i=r.length;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=this.list,n={},i=[];if("string"==typeof r[0]){for(var o=0,a=r.length;o1)throw new Error("Key weight has to be > 0 and <= 1");f=f.name}else s[f]={weight:1};this._analyze({key:f,value:this.options.getFn(l,f),record:l,index:u},{resultMap:n,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var r=e.key,n=e.arrayIndex,i=void 0===n?-1:n,o=e.value,a=e.record,u=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,h=t.fullSearcher,d=void 0===h?[]:h,f=t.resultMap,p=void 0===f?{}:f,v=t.results,m=void 0===v?[]:v;if(null!=o){var y=!1,_=-1,b=0;if("string"==typeof o){this._log("\nKey: ".concat(""===r?"-":r));var g=d.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],E=0;E-1&&(j=(j+_)/2),this._log("Score average:",j);var A=!this.options.tokenize||!this.options.matchAllTokens||b>=l.length;if(this._log("\nCheck Matches: ".concat(A)),(y||g.isMatch)&&A){var R=p[u];R?R.output.push({key:r,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}):(p[u]={item:a,output:[{key:r,arrayIndex:i,value:o,score:j,matchedIndices:g.matchedIndices}]},m.push(p[u]))}}else if(s(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;oObject(i.b)(e,t),flushCustomStyles(){},nativeCss:o.c,nativeShadow:o.d,cssBuild:o.a,disableRuntime:o.b}),window.ShadyCSS.CustomStyleInterface=a,window.JSCompiler_renameProperty=function(e,t){return e};var s,u,c=/(url\()([^)]*)(\))/g,l=/(^\/)|(^#)|(^[\w-\d]*:)/;function h(e,t){if(e&&l.test(e))return e;if(void 0===s){s=!1;try{var r=new URL("b","http://a");r.pathname="c%20d",s="http://a/c%20d"===r.href}catch(e){}}return t||(t=document.baseURI||window.location.href),s?new URL(e,t).href:(u||((u=document.implementation.createHTMLDocument("temp")).base=u.createElement("base"),u.head.appendChild(u.base),u.anchor=u.createElement("a"),u.body.appendChild(u.anchor)),u.base.href=t,u.anchor.href=e,u.anchor.href||e)}function d(e,t){return e.replace(c,function(e,r,n,i){return r+"'"+h(n.replace(/["']/g,""),t)+"'"+i})}function f(e){return e.substring(0,e.lastIndexOf("/")+1)}window.ShadyDOM,Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback;var p=f(document.baseURI||window.location.href),v=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,m=!1,y=!1,_={},b={};function g(e,t){_[e]=b[e.toLowerCase()]=t}function w(e){return _[e]||b[e.toLowerCase()]}class O extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){var r=w(e);return r&&t?r.querySelector(t):r}return null}attributeChangedCallback(e,t,r,n){t!==r&&this.register()}get assetpath(){if(!this.__assetpath){var e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=h(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=f(t)}return this.__assetpath}register(e){if(e=e||this.id){if(m&&void 0!==w(e))throw g(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,g(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}O.prototype.modules=_,customElements.define("dom-module",O);var E="link[rel=import][type~=css]",S="include",P="shady-unscoped";function x(e){return O.import(e)}function C(e){var t=d((e.body?e.body:e).textContent,e.baseURI),r=document.createElement("style");return r.textContent=t,r}function T(e){for(var t=e.trim().split(/\s+/),r=[],n=0;n\n \n\n \n\n \n',document.head.appendChild(F.content);var D=document.createElement("template");D.innerHTML="\n \n",document.head.appendChild(D.content);var L=document.createElement("template");L.innerHTML="\n \n",document.head.appendChild(L.content);var q=document.createElement("template");q.innerHTML='\n \n',document.head.appendChild(q.content);var Q=0;function V(){}V.prototype.__mixinApplications,V.prototype.__mixinSet;var B=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var r=Q++;function n(n){var i=n.__mixinSet;if(i&&i[r])return n;var o=t,a=o.get(n);a||(a=e(n),o.set(n,a));var s=Object.create(a.__mixinSet||i||null);return s[r]=!0,a.__mixinSet=s,a}return n};function U(e){return e.indexOf(".")>=0}function H(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function z(e,t){return 0===e.indexOf(t+".")}function G(e,t){return 0===t.indexOf(e+".")}function $(e,t,r){return t+r.slice(e.length)}function K(e){if(Array.isArray(e)){for(var t=[],r=0;r1){for(var a=0;ae[1].toUpperCase()))}function re(e){return X[e]||(X[e]=e.replace(ee,"-$1").toLowerCase())}var ne=0,ie=0,oe=[],ae=0,se=document.createTextNode("");new window.MutationObserver(function(){for(var e=oe.length,t=0;t{throw e})}}oe.splice(0,e),ie+=e}).observe(se,{characterData:!0});for(var ue={run:e=>window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16),cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},ce={run:e=>(se.textContent=ae++,oe.push(e),ne++),cancel(e){var t=e-ie;if(t>=0){if(!oe[t])throw new Error("invalid async handle: "+e);oe[t]=null}}},le=ce,he=B(e=>{return class extends e{static createProperties(e){var t=this.prototype;for(var r in e)r in t||t._createPropertyAccessor(r)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){var t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(var e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,r){var n=this.__data[e],i=this._shouldPropertyChange(e,t,n);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||e in this.__dataOld||(this.__dataOld[e]=n),this.__data[e]=t,this.__dataPending[e]=t),i}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,le.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){var e=this.__data,t=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(e,t,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,r))}_shouldPropertiesChange(e,t,r){return Boolean(t)}_propertiesChanged(e,t,r){}_shouldPropertyChange(e,t,r){return r!==t&&(r==r||t==t)}attributeChangedCallback(e,t,r,n){t!==r&&this._attributeToProperty(e,r),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,r,n)}_attributeToProperty(e,t,r){if(!this.__serializing){var n=this.__dataAttributes,i=n&&n[e]||e;this[i]=this._deserializeValue(t,r||this.constructor.typeForProperty(i))}}_propertyToAttribute(e,t,r){this.__serializing=!0,r=arguments.length<3?this[e]:r,this._valueToNodeAttribute(this,r,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,r){var n=this._serializeValue(t);void 0===n?e.removeAttribute(r):e.setAttribute(r,n)}_serializeValue(e){switch(typeof e){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}}),de={},fe=HTMLElement.prototype;fe;){for(var pe=Object.getOwnPropertyNames(fe),ve=0;ve{var t=he(e);return class extends t{static createPropertiesForAttributes(){for(var e=this.observedAttributes,t=0;t{return class extends e{static _parseTemplate(e,t){if(!e._templateInfo){var r=e._templateInfo={};r.nodeInfoList=[],r.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,r,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,r){return this._parseTemplateNode(e.content,t,r)}static _parseTemplateNode(e,t,r){var n,i=e;return"template"!=i.localName||i.hasAttribute("preserve-content")?"slot"===i.localName&&(t.hasInsertionPoint=!0):n=this._parseTemplateNestedTemplate(i,t,r)||n,i.firstChild&&(n=this._parseTemplateChildNodes(i,t,r)||n),i.hasAttributes&&i.hasAttributes()&&(n=this._parseTemplateNodeAttributes(i,t,r)||n),n}static _parseTemplateChildNodes(e,t,r){if("script"!==e.localName&&"style"!==e.localName)for(var n,i=e.firstChild,o=0;i;i=n){if("template"==i.localName&&(i=_e(i)),n=i.nextSibling,i.nodeType===Node.TEXT_NODE){for(var a=n;a&&a.nodeType===Node.TEXT_NODE;)i.textContent+=a.textContent,n=a.nextSibling,e.removeChild(a),a=n;if(t.stripWhiteSpace&&!i.textContent.trim()){e.removeChild(i);continue}}var s={parentIndex:o,parentInfo:r};this._parseTemplateNode(i,t,s)&&(s.infoIndex=t.nodeInfoList.push(s)-1),i.parentNode&&o++}}static _parseTemplateNestedTemplate(e,t,r){var n=this._parseTemplate(e,t);return(n.content=e.content.ownerDocument.createDocumentFragment()).appendChild(e.content),r.templateInfo=n,!0}static _parseTemplateNodeAttributes(e,t,r){for(var n,i=!1,o=Array.from(e.attributes),a=o.length-1;n=o[a];a--)i=this._parseTemplateNodeAttribute(e,t,r,n.name,n.value)||i;return i}static _parseTemplateNodeAttribute(e,t,r,n,i){return"on-"===n.slice(0,3)?(e.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:i}),!0):"id"===n&&(r.id=i,!0)}static _contentForTemplate(e){var t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);var t=this.constructor._parseTemplate(e),r=t.nodeInfoList,n=t.content||e.content,i=document.importNode(n,!0);i.__noInsertionPoint=!t.hasInsertionPoint;var o=i.nodeList=new Array(r.length);i.$={};for(var a,s=0,u=r.length;sc.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=r[t];t=$(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,r,n,i){i=function(e,t,r,n){if(r.isCompound){var i=e.__dataCompoundStorage[r.target];i[n.compoundIndex]=t,t=i.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,r,n),v&&(i=v(i,r.target,r.kind,t));if("attribute"==r.kind)e._valueToNodeAttribute(t,i,r.target);else{var o=r.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[Pe.READ_ONLY]&&t[Pe.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,r,n,o))}}function Qe(e,t){if(t.isCompound){for(var r=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),n=t.parts,i=new Array(n.length),o=0;o="0"&&n<="9"&&(n="#"),n){case"'":case'"':r.value=t.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(t),r.literal=!0}return r.literal||(r.rootProperty=H(t),r.structured=U(t),r.structured&&(r.wildcard=".*"==t.slice(-2),r.wildcard&&(r.name=t.slice(0,-2)))),r}function Je(e,t,r,n){var i=r+".splices";e.notifyPath(i,{indexSplices:n}),e.notifyPath(r+".length",t.length),e.__data[i]={indexSplices:null}}function Ye(e,t,r,n,i,o){Je(e,t,r,[{index:n,addedCount:i,removed:o,object:t,type:"splice"}])}var We=B(e=>{var t=Ee(me(e));class r extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataCounter=0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo}get PROPERTY_EFFECT_TYPES(){return Pe}_initializeProperties(){super._initializeProperties(),Xe.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){var t=this[Pe.READ_ONLY];for(var r in e)t&&t[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=e[r])}_addPropertyEffect(e,t,r){this._createPropertyAccessor(e,t==Pe.READ_ONLY);var n=Ce(this,t)[e];n||(n=this[t][e]=[]),n.push(r)}_removePropertyEffect(e,t,r){var n=Ce(this,t)[e],i=n.indexOf(r);i>=0&&n.splice(i,1)}_hasPropertyEffect(e,t){var r=this[t];return Boolean(r&&r[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,Pe.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,Pe.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,Pe.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,Pe.COMPUTE)}_setPendingPropertyOrPath(e,t,r,n){if(n||H(Array.isArray(e)?e[0]:e)!==e){if(!n){var i=Y(this,e);if(!(e=W(this,e,t))||!super._shouldPropertyChange(e,t,i))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,r))return function(e,t,r){var n,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];G(o,t)?(n=$(o,a,t),e._setPendingPropertyOrPath(n,r,!0,!0)):G(a,t)&&(n=$(a,o,t),e._setPendingPropertyOrPath(n,r,!0,!0))}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,r);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,r){r===e[t]&&"object"!=typeof r||(e[t]=r)}_setPendingProperty(e,t,r){var n=this.__dataHasPaths&&U(e),i=n?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),n?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(n||this[Pe.NOTIFY]&&this[Pe.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=r),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushProperties(){this.__dataCounter++,super._flushProperties(),this.__dataCounter--}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?n-3:0),o=3;o1?n-1:0),o=1;oi&&n.push({literal:e.slice(i,r.index)});var o=r[1][0],a=Boolean(r[2]),s=r[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var h=$e(s),d=[];if(h){for(var f=h.args,p=h.methodName,v=0;v{var t=he(e);function r(e){var t=Object.getPrototypeOf(e);return t.prototype instanceof i?t:null}function n(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){var t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){var r=e.properties;r&&(t=function(e){var t={};for(var r in e){var n=e[r];t[r]="function"==typeof n?{type:n}:n}return t}(r))}e.__ownProperties=t}return e.__ownProperties}class i extends t{static get observedAttributes(){var e=this._properties;return e?Object.keys(e).map(e=>this.attributeNameForProperty(e)):[]}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){var e=r(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){var e=n(this);e&&this.createProperties(e)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){var e=r(this);this.__properties=Object.assign({},e&&e._properties,n(this))}return this.__properties}static typeForProperty(e){var t=this._properties[e];return t&&t.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i}),et="3.0.5",tt=B(e=>{var t=Ze(We(e));function r(e,t,r,n){for(var i,o=t.content.querySelectorAll("style"),a=I(t),s=(i=x(r))?N(i):[],u=t.content.firstElementChild,c=0;c1?r-1:0),i=1;it+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof nt)return it(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(r)+e[n+1],e[0]),t},at=tt(HTMLElement),st=e=>(class extends e{static get properties(){return{theme:{type:String,readOnly:!0}}}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"theme"===e&&this._setTheme(r)}}),ut=e=>(class extends(st(e)){static finalize(){super.finalize();var e=this.prototype._template,t=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,r=Object.getPrototypeOf(this.prototype)._template;r&&!t&&Array.from(r.content.querySelectorAll("style[include]")).forEach(t=>{this._includeStyle(t.getAttribute("include"),e)}),this._includeMatchingThemes(e)}static _includeMatchingThemes(e){var t=O.prototype.modules,r=!1,n=this.is+"-default-theme";Object.keys(t).sort((e,t)=>{var r=0===e.indexOf("vaadin-"),n=0===t.indexOf("vaadin-"),i=["lumo-","material-"],o=i.filter(t=>0===e.indexOf(t)).length>0,a=i.filter(e=>0===t.indexOf(e)).length>0;return r!==n?r?-1:1:o!==a?o?-1:1:0}).forEach(i=>{if(i!==n){var o=t[i].getAttribute("theme-for");o&&o.split(" ").forEach(t=>{new RegExp("^"+t.split("*").join(".*")+"$").test(this.is)&&(r=!0,this._includeStyle(i,e))})}}),!r&&t[n]&&this._includeStyle(n,e)}static _includeStyle(e,t){if(t&&!t.content.querySelector(`style[include="${e}"]`)){var r=document.createElement("style");r.setAttribute("include",e),t.content.appendChild(r)}}});function ct(e,t,r){return{index:e,removed:t,addedCount:r}}var lt=0,ht=1,dt=2,ft=3;function pt(e,t,r,n,i,o){var a,s=0,u=0,c=Math.min(r-t,o-i);if(0==t&&0==i&&(s=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var o=e[t-1][r-1],a=e[t-1][r],s=e[t][r-1],u=void 0;(u=amt(e)?(e=e).assignedNodes({flatten:!0}):[e]).reduce((e,t)=>e.concat(t),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=(()=>{this._schedule()}),this.connect(),this._schedule()}connect(){mt(this._target)?this._listenSlots([this._target]):this._target.children&&(this._listenSlots(this._target.children),window.ShadyDOM?this._shadyChildrenObserver=ShadyDOM.observeChildren(this._target,e=>{this._processMutations(e)}):(this._nativeChildrenObserver=new MutationObserver(e=>{this._processMutations(e)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){mt(this._target)?this._unlistenSlots([this._target]):this._target.children&&(this._unlistenSlots(this._target.children),window.ShadyDOM&&this._shadyChildrenObserver?(ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,ce.run(()=>this.flush()))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(var t=0;t(class extends e{static get properties(){return{_hasVaadinListMixin:{value:!0},selected:{type:Number,reflectToAttribute:!0,notify:!0},orientation:{type:String,reflectToAttribute:!0,value:""},items:{type:Array,readOnly:!0,notify:!0}}}static get observers(){return["_enhanceItems(items, orientation, selected)"]}ready(){super.ready(),this.addEventListener("keydown",e=>this._onKeydown(e)),this.addEventListener("click",e=>this._onClick(e)),this._observer=new yt(this,e=>{this._setItems(this._filterItems(Array.from(this.children)))})}_enhanceItems(e,t,r){if(e){this.setAttribute("aria-orientation",t||"vertical"),this.items.forEach(e=>{t?e.setAttribute("orientation",t):e.removeAttribute("orientation"),e.updateStyles()}),this._setFocusable(r);var n=e[r];e.forEach(e=>e.selected=e===n),n&&!n.disabled&&this._scrollToItem(r)}}get focused(){return this.getRootNode().activeElement}_filterItems(e){return e.filter(e=>e._hasVaadinItemMixin)}_onClick(e){if(!(e.metaKey||e.shiftKey||e.ctrlKey)){var t,r=this._filterItems(e.composedPath())[0];r&&!r.disabled&&(t=this.items.indexOf(r))>=0&&(this.selected=t)}}_onKeydown(e){if(!e.metaKey&&!e.ctrlKey){var t,r,n=e.key.replace(/^Arrow/,""),i=this.items.indexOf(this.focused),o=e=>!e.disabled;this._vertical&&"Up"===n||!this._vertical&&"Left"===n?(r=-1,t=i-1):this._vertical&&"Down"===n||!this._vertical&&"Right"===n?(r=1,t=i+1):"Home"===n?(r=1,t=0):"End"===n?(r=-1,t=this.items.length-1):1==n.length&&(r=1,t=i+1,o=(e=>!e.disabled&&0===e.textContent.trim().toLowerCase().indexOf(n.toLowerCase()))),(t=this._getAvailableIndex(t,r,o))>=0&&(this._focus(t),e.preventDefault())}}_getAvailableIndex(e,t,r){for(var n=this.items.length,i=0;"number"==typeof e&&i=n&&(e=0),r(this.items[e]))return e}return-1}_setFocusable(e){e=this._getAvailableIndex(e,1,e=>!e.disabled);var t=this.items[e]||this.items[0];this.items.forEach(e=>e.tabIndex=e===t?0:-1)}_focus(e){var t=this.items[e];this.items.forEach(e=>e.focused=e===t),this._setFocusable(e),this._scrollToItem(e),t.focus()}focus(){this._observer.flush();var e=this.querySelector('[tabindex="0"]')||this.items[0];e&&e.focus()}get _scrollerElement(){}_scrollToItem(e){var t=this.items[e];if(t){var r=this._vertical?["top","bottom"]:["left","right"],n=this._scrollerElement.getBoundingClientRect(),i=(this.items[e+1]||t).getBoundingClientRect(),o=(this.items[e-1]||t).getBoundingClientRect(),a=0;i[r[1]]>=n[r[1]]?a=i[r[1]]-n[r[1]]:o[r[0]]<=n[r[0]]&&(a=o[r[0]]-n[r[0]]),this._scroll(a)}}get _vertical(){return"horizontal"!==this.orientation}_scroll(e){this._scrollerElement["scroll"+(this._vertical?"Top":"Left")]+=e}});class bt{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(()=>{this._timer=null,this._callback()})}cancel(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(e,t,r){return e instanceof bt?e.cancel():e=new bt,e.setConfig(t,r),e}}var gt=[];var wt=/\/\*\*\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i;function Ot(e,t){if("function"==typeof e){var r=wt.exec(e.toString());if(r)try{e=new Function(r[1])}catch(e){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",e)}return e(t)}}window.Vaadin=window.Vaadin||{};var Et=function(e,t){if(window.Vaadin.developmentMode)return Ot(e,t)};function St(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=function(){try{return localStorage.getItem("vaadin.developmentmode.force")||["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0&&!Ot(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(e=>window.Vaadin.Flow.clients[e]).filter(e=>e.productionMode);if(e.length>0)return!0}return!1}()}catch(e){return!1}}());var Pt,xt=function(){return Et(St)};window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){xt&&xt()};var Ct=e=>(class extends e{static _finalizeClass(){var e;super._finalizeClass(),this.is&&(window.Vaadin.registrations.push(this),window.Vaadin.developmentModeCallback&&(Pt=bt.debounce(Pt,ue,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),e=Pt,gt.push(e)))}ready(){super.ready(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add to the HTML document.')}});class Tt extends(Ct(_t(ut(at)))){static get template(){return ot` - -
- -
-`}static get is(){return"vaadin-list-box"}static get version(){return"1.1.0"}static get properties(){return{orientation:{readOnly:!0}}}ready(){super.ready(),this.setAttribute("role","list")}get _scrollerElement(){return this.shadowRoot.querySelector('[part="items"]')}}customElements.define(Tt.is,Tt)},379:function(e,t,r){"use strict";r.r(t);var n=r(304),i=r(305);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,r){this.body=e,this.name=t||"GraphQL request",this.locationOffset=r||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index0&&m(t[0]);)t.shift();for(;t.length>0&&m(t[t.length-1]);)t.pop();return t.join("\n")}function v(e){for(var t=0;t",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function w(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}var O=String.prototype.charCodeAt,E=String.prototype.slice;function S(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}function P(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function x(e,t){var r=e.source,n=r.body,i=n.length,o=function(e,t,r){var n=e.length,i=t;for(;i=i)return new S(g.EOF,i,i,a,s,t);var u=O.call(n,o);switch(u){case 33:return new S(g.BANG,o,o+1,a,s,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do{o=O.call(a,++s)}while(null!==o&&(o>31||9===o));return new S(g.COMMENT,t,s,r,n,i,E.call(a,t+1,s))}(r,o,a,s,t);case 36:return new S(g.DOLLAR,o,o+1,a,s,t);case 38:return new S(g.AMP,o,o+1,a,s,t);case 40:return new S(g.PAREN_L,o,o+1,a,s,t);case 41:return new S(g.PAREN_R,o,o+1,a,s,t);case 46:if(46===O.call(n,o+1)&&46===O.call(n,o+2))return new S(g.SPREAD,o,o+3,a,s,t);break;case 58:return new S(g.COLON,o,o+1,a,s,t);case 61:return new S(g.EQUALS,o,o+1,a,s,t);case 64:return new S(g.AT,o,o+1,a,s,t);case 91:return new S(g.BRACKET_L,o,o+1,a,s,t);case 93:return new S(g.BRACKET_R,o,o+1,a,s,t);case 123:return new S(g.BRACE_L,o,o+1,a,s,t);case 124:return new S(g.PIPE,o,o+1,a,s,t);case 125:return new S(g.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&null!==(u=O.call(o,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new S(g.NAME,t,s,r,n,i,E.call(o,t,s))}(r,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a=e.body,s=r,u=t,c=!1;45===s&&(s=O.call(a,++u));if(48===s){if((s=O.call(a,++u))>=48&&s<=57)throw f(e,u,"Invalid number, unexpected digit after 0: ".concat(P(s),"."))}else u=C(e,u,s),s=O.call(a,u);46===s&&(c=!0,s=O.call(a,++u),u=C(e,u,s),s=O.call(a,u));69!==s&&101!==s||(c=!0,43!==(s=O.call(a,++u))&&45!==s||(s=O.call(a,++u)),u=C(e,u,s));return new S(c?g.FLOAT:g.INT,t,u,n,i,o,E.call(a,t,u))}(r,o,u,a,s,t);case 34:return 34===O.call(n,o+1)&&34===O.call(n,o+2)?function(e,t,r,n,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=O.call(n,++i)}while(o>=48&&o<=57);return i}throw f(e,i,"Invalid number, expected digit but got: ".concat(P(o),"."))}function T(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(S,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var k=r(306),I=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function N(e,t){var r="string"==typeof e?new u(e):e;if(!(r instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(n.a)(r)));return function(e){var t=e.token;return{kind:k.a.DOCUMENT,definitions:xe(e,g.SOF,M,g.EOF),loc:ye(e,t)}}(y(r,t||{}))}function j(e,t){var r=y("string"==typeof e?new u(e):e,t||{});we(r,g.SOF);var n=K(r,!1);return we(r,g.EOF),n}function A(e,t){var r=y("string"==typeof e?new u(e):e,t||{});we(r,g.SOF);var n=te(r);return we(r,g.EOF),n}function R(e){var t=we(e,g.NAME);return{kind:k.a.NAME,value:t.value,loc:ye(e,t)}}function M(e){if(be(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return F(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return ne(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"schema");var r=Z(e,!0),n=be(e,g.BRACE_L)?xe(e,g.BRACE_L,ae,g.BRACE_R):[];if(0===r.length&&0===n.length)throw Se(e);return{kind:k.a.SCHEMA_EXTENSION,directives:r,operationTypes:n,loc:ye(e,t)}}(e);case"scalar":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"scalar");var r=R(e),n=Z(e,!0);if(0===n.length)throw Se(e);return{kind:k.a.SCALAR_TYPE_EXTENSION,name:r,directives:n,loc:ye(e,t)}}(e);case"type":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"type");var r=R(e),n=se(e),i=Z(e,!0),o=ue(e);if(0===n.length&&0===i.length&&0===o.length)throw Se(e);return{kind:k.a.OBJECT_TYPE_EXTENSION,name:r,interfaces:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"interface":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"interface");var r=R(e),n=Z(e,!0),i=ue(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.INTERFACE_TYPE_EXTENSION,name:r,directives:n,fields:i,loc:ye(e,t)}}(e);case"union":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"union");var r=R(e),n=Z(e,!0),i=de(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.UNION_TYPE_EXTENSION,name:r,directives:n,types:i,loc:ye(e,t)}}(e);case"enum":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"enum");var r=R(e),n=Z(e,!0),i=fe(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.ENUM_TYPE_EXTENSION,name:r,directives:n,values:i,loc:ye(e,t)}}(e);case"input":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"input");var r=R(e),n=Z(e,!0),i=ve(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.INPUT_OBJECT_TYPE_EXTENSION,name:r,directives:n,fields:i,loc:ye(e,t)}}(e)}throw Se(e,t)}(e)}else{if(be(e,g.BRACE_L))return F(e);if(ie(e))return ne(e)}throw Se(e)}function F(e){if(be(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return D(e);case"fragment":return function(e){var t=e.token;if(Ee(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:k.a.FRAGMENT_DEFINITION,name:$(e),variableDefinitions:q(e),typeCondition:(Ee(e,"on"),re(e)),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)};return{kind:k.a.FRAGMENT_DEFINITION,name:$(e),typeCondition:(Ee(e,"on"),re(e)),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}(e)}else if(be(e,g.BRACE_L))return D(e);throw Se(e)}function D(e){var t=e.token;if(be(e,g.BRACE_L))return{kind:k.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:B(e),loc:ye(e,t)};var r,n=L(e);return be(e,g.NAME)&&(r=R(e)),{kind:k.a.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:q(e),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}function L(e){var t=we(e,g.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw Se(e,t)}function q(e){return be(e,g.PAREN_L)?xe(e,g.PAREN_L,Q,g.PAREN_R):[]}function Q(e){var t=e.token;return{kind:k.a.VARIABLE_DEFINITION,variable:V(e),type:(we(e,g.COLON),te(e)),defaultValue:ge(e,g.EQUALS)?K(e,!0):void 0,directives:Z(e,!0),loc:ye(e,t)}}function V(e){var t=e.token;return we(e,g.DOLLAR),{kind:k.a.VARIABLE,name:R(e),loc:ye(e,t)}}function B(e){var t=e.token;return{kind:k.a.SELECTION_SET,selections:xe(e,g.BRACE_L,U,g.BRACE_R),loc:ye(e,t)}}function U(e){return be(e,g.SPREAD)?function(e){var t=e.token;we(e,g.SPREAD);var r=Oe(e,"on");if(!r&&be(e,g.NAME))return{kind:k.a.FRAGMENT_SPREAD,name:$(e),directives:Z(e,!1),loc:ye(e,t)};return{kind:k.a.INLINE_FRAGMENT,typeCondition:r?re(e):void 0,directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}(e):function(e){var t,r,n=e.token,i=R(e);ge(e,g.COLON)?(t=i,r=R(e)):r=i;return{kind:k.a.FIELD,alias:t,name:r,arguments:H(e,!1),directives:Z(e,!1),selectionSet:be(e,g.BRACE_L)?B(e):void 0,loc:ye(e,n)}}(e)}function H(e,t){var r=t?G:z;return be(e,g.PAREN_L)?xe(e,g.PAREN_L,r,g.PAREN_R):[]}function z(e){var t=e.token;return{kind:k.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),K(e,!1)),loc:ye(e,t)}}function G(e){var t=e.token;return{kind:k.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),Y(e)),loc:ye(e,t)}}function $(e){if("on"===e.token.value)throw Se(e);return R(e)}function K(e,t){var r=e.token;switch(r.kind){case g.BRACKET_L:return function(e,t){var r=e.token,n=t?Y:W;return{kind:k.a.LIST,values:Pe(e,g.BRACKET_L,n,g.BRACKET_R),loc:ye(e,r)}}(e,t);case g.BRACE_L:return function(e,t){var r=e.token;we(e,g.BRACE_L);var n=[];for(;!ge(e,g.BRACE_R);)n.push(X(e,t));return{kind:k.a.OBJECT,fields:n,loc:ye(e,r)}}(e,t);case g.INT:return e.advance(),{kind:k.a.INT,value:r.value,loc:ye(e,r)};case g.FLOAT:return e.advance(),{kind:k.a.FLOAT,value:r.value,loc:ye(e,r)};case g.STRING:case g.BLOCK_STRING:return J(e);case g.NAME:return"true"===r.value||"false"===r.value?(e.advance(),{kind:k.a.BOOLEAN,value:"true"===r.value,loc:ye(e,r)}):"null"===r.value?(e.advance(),{kind:k.a.NULL,loc:ye(e,r)}):(e.advance(),{kind:k.a.ENUM,value:r.value,loc:ye(e,r)});case g.DOLLAR:if(!t)return V(e)}throw Se(e)}function J(e){var t=e.token;return e.advance(),{kind:k.a.STRING,value:t.value,block:t.kind===g.BLOCK_STRING,loc:ye(e,t)}}function Y(e){return K(e,!0)}function W(e){return K(e,!1)}function X(e,t){var r=e.token;return{kind:k.a.OBJECT_FIELD,name:R(e),value:(we(e,g.COLON),K(e,t)),loc:ye(e,r)}}function Z(e,t){for(var r=[];be(e,g.AT);)r.push(ee(e,t));return r}function ee(e,t){var r=e.token;return we(e,g.AT),{kind:k.a.DIRECTIVE,name:R(e),arguments:H(e,t),loc:ye(e,r)}}function te(e){var t,r=e.token;return ge(e,g.BRACKET_L)?(t=te(e),we(e,g.BRACKET_R),t={kind:k.a.LIST_TYPE,type:t,loc:ye(e,r)}):t=re(e),ge(e,g.BANG)?{kind:k.a.NON_NULL_TYPE,type:t,loc:ye(e,r)}:t}function re(e){var t=e.token;return{kind:k.a.NAMED_TYPE,name:R(e),loc:ye(e,t)}}function ne(e){var t=ie(e)?e.lookahead():e.token;if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Ee(e,"schema");var r=Z(e,!0),n=xe(e,g.BRACE_L,ae,g.BRACE_R);return{kind:k.a.SCHEMA_DEFINITION,directives:r,operationTypes:n,loc:ye(e,t)}}(e);case"scalar":return function(e){var t=e.token,r=oe(e);Ee(e,"scalar");var n=R(e),i=Z(e,!0);return{kind:k.a.SCALAR_TYPE_DEFINITION,description:r,name:n,directives:i,loc:ye(e,t)}}(e);case"type":return function(e){var t=e.token,r=oe(e);Ee(e,"type");var n=R(e),i=se(e),o=Z(e,!0),a=ue(e);return{kind:k.a.OBJECT_TYPE_DEFINITION,description:r,name:n,interfaces:i,directives:o,fields:a,loc:ye(e,t)}}(e);case"interface":return function(e){var t=e.token,r=oe(e);Ee(e,"interface");var n=R(e),i=Z(e,!0),o=ue(e);return{kind:k.a.INTERFACE_TYPE_DEFINITION,description:r,name:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"union":return function(e){var t=e.token,r=oe(e);Ee(e,"union");var n=R(e),i=Z(e,!0),o=de(e);return{kind:k.a.UNION_TYPE_DEFINITION,description:r,name:n,directives:i,types:o,loc:ye(e,t)}}(e);case"enum":return function(e){var t=e.token,r=oe(e);Ee(e,"enum");var n=R(e),i=Z(e,!0),o=fe(e);return{kind:k.a.ENUM_TYPE_DEFINITION,description:r,name:n,directives:i,values:o,loc:ye(e,t)}}(e);case"input":return function(e){var t=e.token,r=oe(e);Ee(e,"input");var n=R(e),i=Z(e,!0),o=ve(e);return{kind:k.a.INPUT_OBJECT_TYPE_DEFINITION,description:r,name:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"directive":return function(e){var t=e.token,r=oe(e);Ee(e,"directive"),we(e,g.AT);var n=R(e),i=le(e);Ee(e,"on");var o=function(e){ge(e,g.PIPE);var t=[];do{t.push(me(e))}while(ge(e,g.PIPE));return t}(e);return{kind:k.a.DIRECTIVE_DEFINITION,description:r,name:n,arguments:i,locations:o,loc:ye(e,t)}}(e)}throw Se(e,t)}function ie(e){return be(e,g.STRING)||be(e,g.BLOCK_STRING)}function oe(e){if(ie(e))return J(e)}function ae(e){var t=e.token,r=L(e);we(e,g.COLON);var n=re(e);return{kind:k.a.OPERATION_TYPE_DEFINITION,operation:r,type:n,loc:ye(e,t)}}function se(e){var t=[];if(Oe(e,"implements")){ge(e,g.AMP);do{t.push(re(e))}while(ge(e,g.AMP)||e.options.allowLegacySDLImplementsInterfaces&&be(e,g.NAME))}return t}function ue(e){return e.options.allowLegacySDLEmptyFields&&be(e,g.BRACE_L)&&e.lookahead().kind===g.BRACE_R?(e.advance(),e.advance(),[]):be(e,g.BRACE_L)?xe(e,g.BRACE_L,ce,g.BRACE_R):[]}function ce(e){var t=e.token,r=oe(e),n=R(e),i=le(e);we(e,g.COLON);var o=te(e),a=Z(e,!0);return{kind:k.a.FIELD_DEFINITION,description:r,name:n,arguments:i,type:o,directives:a,loc:ye(e,t)}}function le(e){return be(e,g.PAREN_L)?xe(e,g.PAREN_L,he,g.PAREN_R):[]}function he(e){var t=e.token,r=oe(e),n=R(e);we(e,g.COLON);var i,o=te(e);ge(e,g.EQUALS)&&(i=Y(e));var a=Z(e,!0);return{kind:k.a.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:i,directives:a,loc:ye(e,t)}}function de(e){var t=[];if(ge(e,g.EQUALS)){ge(e,g.PIPE);do{t.push(re(e))}while(ge(e,g.PIPE))}return t}function fe(e){return be(e,g.BRACE_L)?xe(e,g.BRACE_L,pe,g.BRACE_R):[]}function pe(e){var t=e.token,r=oe(e),n=R(e),i=Z(e,!0);return{kind:k.a.ENUM_VALUE_DEFINITION,description:r,name:n,directives:i,loc:ye(e,t)}}function ve(e){return be(e,g.BRACE_L)?xe(e,g.BRACE_L,he,g.BRACE_R):[]}function me(e){var t=e.token,r=R(e);if(I.hasOwnProperty(r.value))return r;throw Se(e,t)}function ye(e,t){if(!e.options.noLocation)return new _e(t,e.lastToken,e.source)}function _e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}function be(e,t){return e.token.kind===t}function ge(e,t){return e.token.kind===t&&(e.advance(),!0)}function we(e,t){var r=e.token;if(r.kind===t)return e.advance(),r;throw f(e.source,r.start,"Expected ".concat(t,", found ").concat(w(r)))}function Oe(e,t){var r=e.token;return r.kind===g.NAME&&r.value===t&&(e.advance(),!0)}function Ee(e,t){if(!Oe(e,t))throw f(e.source,e.token.start,'Expected "'.concat(t,'", found ').concat(w(e.token)))}function Se(e,t){var r=t||e.token;return f(e.source,r.start,"Unexpected ".concat(w(r)))}function Pe(e,t,r,n){we(e,t);for(var i=[];!ge(e,n);)i.push(r(e));return i}function xe(e,t,r,n){we(e,t);for(var i=[r(e)];!ge(e,n);)i.push(r(e));return i}r.d(t,"parse",function(){return N}),r.d(t,"parseValue",function(){return j}),r.d(t,"parseType",function(){return A}),r.d(t,"parseConstValue",function(){return Y}),r.d(t,"parseTypeReference",function(){return te}),r.d(t,"parseNamedType",function(){return re}),o(_e,function(){return{start:this.start,end:this.end}})},381:function(e,t,r){"use strict";var n=r(272),i=r(307),o=r.n(i).a,a="Invariant Violation",s=Object.setPrototypeOf,u=void 0===s?function(e,t){return e.__proto__=t,e}:s,c=function(e){function t(r){void 0===r&&(r=a);var n=e.call(this,"number"==typeof r?a+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=a,u(n,t.prototype),n}return Object(n.__extends)(t,e),t}(Error);function l(e,t){if(!e)throw new c(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=n)&&(i?i(r,t):!!r)}}(i),o}return Object(n.__extends)(t,e),t.prototype.request=function(e,t){var r=new O(e,t,this.delayFor,this.retryIf);return r.start(),new o(function(e){return r.subscribe(e),function(){r.unsubscribe(e)}})},t}(g)},382:function(e,t,r){"use strict";var n=r(279),i=r(285),o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=300&&s(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||s(e,t,"Server response was missing for query '"+(Array.isArray(n)?n.map(function(e){return e.operationName}):n.operationName)+"'."),t})})).then(function(e){return r.next(e),r.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))}),function(){_&&_.abort()}})})};var d=function(e){function t(t){return e.call(this,h(t).request)||this}return function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(n.a)},387:function(e,t,r){"use strict";var n=r(272),i=r(268),o=r(279),a=r(308),s=r(291),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var c,l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return function(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.request=function(e,t){var r=this;if(e.getContext().forceFetch)return t(e);var n=e.toKey(),i=function(e){return r.inFlightRequestObservables.delete(e),r.subscribers.get(e)};if(!this.inFlightRequestObservables.get(n)){var a,s=t(e),u=new o.b(function(e){var t=r.subscribers.get(n);return t||(t={next:[],error:[],complete:[]}),r.subscribers.set(n,{next:t.next.concat([e.next.bind(e)]),error:t.error.concat([e.error.bind(e)]),complete:t.complete.concat([e.complete.bind(e)])}),a||(a=s.subscribe({next:function(e){var t=i(n);r.subscribers.delete(n),t&&(t.next.forEach(function(t){return t(e)}),t.complete.forEach(function(e){return e()}))},error:function(e){var t=i(n);r.subscribers.delete(n),t&&t.error.forEach(function(t){return t(e)})}})),function(){a&&a.unsubscribe(),r.inFlightRequestObservables.delete(n)}});this.inFlightRequestObservables.set(n,u)}return this.inFlightRequestObservables.get(n)},t}(o.a),h=r(289);function d(e){return e<7}r.d(t,"a",function(){return P}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(c||(c={}));var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.__extends)(t,e),t.prototype[a.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.b);var p,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var r=e?e.message:"Error message not found.";t+="GraphQL error: "+r+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},m=function(e){function t(r){var n=r.graphQLErrors,i=r.networkError,o=r.errorMessage,a=r.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=n||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(n.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(p||(p={}));var y=function(e){function t(t){var r=t.queryManager,n=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=n,a.variables=n.variables||{},a.queryId=r.generateQueryId(),a.shouldSubscribe=o,a.queryManager=r,a.observers=[],a.subscriptionHandles=[],a}return Object(n.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n,i={next:function(r){t(r),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){n.unsubscribe()},0)},error:function(e){r(e)}};n=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:c.error};var e,t,r=this.queryManager.queryStore.get(this.queryId);if(e=r,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:r.networkStatus,error:new m({graphQLErrors:r.graphQLErrors,networkError:r.networkError})};r&&r.variables&&(this.options.variables=Object.assign({},this.options.variables,r.variables));var o,a=this.queryManager.getCurrentQueryResult(this),s=a.data,u=a.partial,l=!r||r.networkStatus===c.loading,h="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,f={data:s,loading:d(o=r?r.networkStatus:h?c.loading:c.ready),networkStatus:o};return r&&r.graphQLErrors&&"all"===this.options.errorPolicy&&(f.errors=r.graphQLErrors),u||(this.lastResult=Object(n.__assign)({},f,{stale:!1}),this.lastResultSnapshot=Object(i.cloneDeep)(this.lastResult)),Object(n.__assign)({},f,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(i.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(i.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(i.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var r="network-only"===t||"no-cache"===t,o=Object(n.__assign)({},this.options,{fetchPolicy:r?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,o,p.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,r=this;return Object(s.b)(e.updateQuery),Promise.resolve().then(function(){var i=r.queryManager.generateQueryId();return(t=e.query?e:Object(n.__assign)({},r.options,e,{variables:Object.assign({},r.variables,e.variables)})).fetchPolicy="network-only",r.queryManager.fetchQuery(i,t,p.normal,r.queryId)}).then(function(n){return r.updateQuery(function(r){return e.updateQuery(r,{fetchMoreResult:n.data,variables:t.variables})}),n})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(r){e.updateQuery&&t.updateQuery(function(t,n){var i=n.variables;return e.updateQuery(t,{subscriptionData:r,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(r),function(){var e=t.subscriptionHandles.indexOf(r);e>=0&&(t.subscriptionHandles.splice(e,1),r.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var r="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,r,e.fetchResults)},t.prototype.setVariables=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),this.isTornDown=!1;var o=e||this.variables;return Object(i.isEqual)(o,this.variables)&&!t?0!==this.observers.length&&r?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(n.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),r=t.previousResult,n=t.variables,o=t.document,a=Object(i.tryFunctionOrLogError)(function(){return e(r,{variables:n})});a&&(this.queryManager.dataStore.markUpdateQueryResult(o,n,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){_(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(_(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(i.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(f);function _(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var b=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,r){this.store[e]={mutation:t,variables:r||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var r=this.store[e];r&&(r.loading=!1,r.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(i.isEqual)(t.document,e.document))throw new s.a;var r,n=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==c.loading&&(Object(i.isEqual)(t.variables,e.variables)||(n=!0,o=t.variables)),r=n?c.setVariables:e.isPoll?c.poll:e.isRefetch?c.refetch:c.loading;var a=[];t&&t.graphQLErrors&&(a=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:a,networkStatus:r,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=c.fetchMore)},e.prototype.markQueryResult=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=c.ready,"string"==typeof r&&this.store[r]&&(this.store[r].networkStatus=c.ready))},e.prototype.markQueryError=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=c.error,"string"==typeof r&&this.markQueryResultClient(r,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?c.ready:c.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,r){return e[r]=Object(n.__assign)({},t.store[r],{networkStatus:c.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(i.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(i.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(n.__awaiter)(this,void 0,void 0,function(){return Object(n.__generator)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return Object(n.__assign)({},r,{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(i.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(i.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(n.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),Object(n.__awaiter)(this,void 0,void 0,function(){return Object(n.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return Object(n.__assign)({},t,e.exportedVariables)})]:[2,Object(n.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(h.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return h.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(i.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,o,a,s){return void 0===r&&(r={}),void 0===o&&(o={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(n.__awaiter)(this,void 0,void 0,function(){var u,c,l,h,d,f,p,v,m;return Object(n.__generator)(this,function(y){var _;return u=Object(i.getMainDefinition)(e),c=Object(i.getFragmentDefinitions)(e),l=Object(i.createFragmentMap)(c),h=u.operation,d=h?(_=h).charAt(0).toUpperCase()+_.slice(1):"Query",p=(f=this).cache,v=f.client,m={fragmentMap:l,context:Object(n.__assign)({},r,{cache:p,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:d,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r){return Object(n.__awaiter)(this,void 0,void 0,function(){var o,a,u,c,l,h=this;return Object(n.__generator)(this,function(d){return o=r.fragmentMap,a=r.context,u=r.variables,c=[t],l=function(e){return Object(n.__awaiter)(h,void 0,void 0,function(){var l,h;return Object(n.__generator)(this,function(n){return Object(i.shouldInclude)(e,u)?Object(i.isField)(e)?[2,this.resolveField(e,t,r).then(function(t){var r;void 0!==t&&c.push(((r={})[Object(i.resultKeyNameFromField)(e)]=t,r))})]:(Object(i.isInlineFragment)(e)?l=e:(l=o[e.name.value],Object(s.b)(l)),l&&l.typeCondition&&(h=l.typeCondition.name.value,r.fragmentMatcher(t,h,a))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(i.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,r){return Object(n.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,h,d,f,p=this;return Object(n.__generator)(this,function(n){return o=r.variables,a=e.name.value,s=Object(i.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(h=t.__typename||r.defaultOperationType,(d=this.resolvers&&this.resolvers[h])&&(f=d[u?a:s])&&(l=Promise.resolve(f(t,Object(i.argumentsObjectFromField)(e,o),r.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,r):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,r):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0}))},e}(),O=function(){function e(e){var t=e.link,r=e.queryDeduplication,n=void 0!==r&&r,i=e.store,a=e.onBroadcast,s=void 0===a?function(){}:a,u=e.ssrMode,c=void 0!==u&&u,h=e.clientAwareness,d=void 0===h?{}:h,f=e.localState;this.mutationStore=new b,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=o.a.from([new l,t]),this.queryDeduplication=n,this.dataStore=i,this.onBroadcast=s,this.clientAwareness=d,this.localState=f||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,a=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,h=e.awaitRefetchQueries,d=void 0!==h&&h,p=e.update,v=e.errorPolicy,y=void 0===v?"none":v,_=e.fetchPolicy,b=e.context,g=void 0===b?{}:b;return Object(n.__awaiter)(this,void 0,void 0,function(){var e,c,h,v,b,w=this;return Object(n.__generator)(this,function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!_||"no-cache"===_),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),r=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getMutationDefinition)(t)),r),this.setQuery(e,function(){return{document:t}}),h=function(){var e={};return u&&Object.keys(u).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(r){e[r]={updater:u[t],query:w.queryStore.get(r)}})}),e},Object(i.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,r,g)]:[3,2];case 1:return b=O.sent(),[3,3];case 2:b=r,O.label=3;case 3:return v=b,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:h(),update:p,optimisticResponse:a}),this.broadcastQueries(),[2,new Promise(function(r,s){var u,c,b=w.buildOperationForLink(t,v,Object(n.__assign)({},g,{optimisticResponse:a})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:a}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],r=0,n=l;r=(r||1)&&(I.queryStore.markQueryError(e,t,o),I.invalidate(!0,e,o),I.broadcastQueries()),new m({networkError:t})}),"cache-and-network"!==h)return[2,k];k.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,r){var i=this,o=!1;return function(a,s,u){return Object(n.__awaiter)(i,void 0,void 0,function(){var i,c,l,h,f,p,v,y,_,b,g,w,O,E,S,P,x,C,T,k;return Object(n.__generator)(this,function(I){switch(I.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(i=this.getQuery(e).observableQuery,"standby"===(c=i?i.options.fetchPolicy:t.fetchPolicy))return[2];if(l=i?i.options.errorPolicy:t.errorPolicy,h=i?i.getLastResult():null,f=i?i.getLastError():null,p=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(h&&a.networkStatus!==h.networkStatus),y=l&&(f&&f.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!d(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(_=new m({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,r.error)try{r.error(_)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw _},0);return[2]}I.label=1;case 1:if(I.trys.push([1,7,,8]),b=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),b=s.result,g=!s.complete||!1):h&&h.data&&!y?(b=h.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),b=O.result,g=!O.complete),E=void 0,E=g&&"cache-only"!==c?{data:h&&h.data,loading:d(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:b,loading:d(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(E.errors=a.graphQLErrors),!r.next)return[3,6];if(!o&&i&&!i.isDifferentFromLastResult(E))return[3,6];I.label=2;case 2:return I.trys.push([2,5,,6]),u?(S=t.query,P=t.variables,x=t.context,[4,this.localState.runResolvers({document:S,remoteResult:E,context:x,variables:P,onlyRunForcedResolvers:u})]):[3,4];case 3:C=I.sent(),E=Object(n.__assign)({},E,C),I.label=4;case 4:return r.next(E),[3,6];case 5:return T=I.sent(),setTimeout(function(){throw T},0),[3,6];case 6:return o=!1,[3,8];case 7:return k=I.sent(),o=!0,r.error&&r.error(new m({networkError:k})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var r=Object(i.getQueryDefinition)(e.query);if(r.variableDefinitions&&r.variableDefinitions.length){var o=Object(i.getDefaultValues)(r);e.variables=Object(i.assign)({},o,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(n.__assign)({},e);return new y({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise(function(r,n){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,n),i.result().then(r,n).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var r=e.listeners;return{listeners:(void 0===r?[]:r).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,r){var n=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:r.variables,optimistic:!0,previousResult:function(){var t=null,r=n.getQuery(e).observableQuery;if(r){var i=r.getLastResult();i&&(t=i.data)}return t},callback:function(t){n.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var r=Object(i.getQueryDefinition)(t.options.query);if(r.name&&r.name.value){var n=r.name.value;this.queryIdsByName[n]=this.queryIdsByName[n]||[],this.queryIdsByName[n].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),r=t.observableQuery,n=t.cancel;if(n&&n(),r){var o=Object(i.getQueryDefinition)(r.options.query),a=o.name?o.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(r.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,r){t.observableQuery&&e.push(r)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,r){return this.addQueryListener(e,r),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,r=this,a=e.query,s=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(a),c=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getOperationDefinition)(a)),e.variables),l=c,h=[],d=this.localState.clientQuery(u);return new f(function(e){if(h.push(e),1===h.length){var a=0,p=!1,v={next:function(e){return Object(n.__awaiter)(r,void 0,void 0,function(){var t;return Object(n.__generator)(this,function(r){switch(r.label){case 0:return a+=1,t=e,d&&Object(i.hasDirectives)(["client"],d)?[4,this.localState.runResolvers({document:d,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=r.sent(),r.label=2;case 2:return s&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),h.forEach(function(e){Object(i.graphQLResultHasError)(t)&&e.error?e.error(new m({graphQLErrors:t.errors})):e.next&&e.next(t),a-=1}),0===a&&p&&v.complete(),[2]}})})},error:function(e){h.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===a&&h.forEach(function(e){e.complete&&e.complete()}),p=!0}};Object(n.__awaiter)(r,void 0,void 0,function(){var e,r,a,s;return Object(n.__generator)(this,function(n){switch(n.label){case 0:return Object(i.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return r=n.sent(),[3,3];case 2:r=c,n.label=3;case 3:return e=r,(a=this.localState.serverQuery(u))?(s=this.buildOperationForLink(a,e),t=Object(o.c)(this.link,s).subscribe(v)):t=f.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(h=h.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var r=e.options,n=r.variables,i=r.query,o=r.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:n,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var r=this.getQuery(e).observableQuery;Object(s.b)(r),t=r}else t=e;var n=t.options,i=n.variables,o=n.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(r,n){r.invalidated&&r.listeners&&r.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(n),r.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,r=[];return this.queries.forEach(function(n,i){var o=n.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),r},e.prototype.fetchRequest=function(e){var t,r,a=this,s=e.requestId,u=e.queryId,l=e.document,h=e.options,d=e.fetchMoreForQueryId,p=h.variables,v=h.context,y=h.errorPolicy,_=void 0===y?"none":y,b=h.fetchPolicy;return new Promise(function(e,h){var y,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var E=a.buildOperationForLink(O,p,Object(n.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=E.context,y=Object(o.c)(a.deduplicator,E)}else g=a.prepareContext(v),y=f.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,h);var S=!1,P=!0,x={next:function(e){return Object(n.__awaiter)(a,void 0,void 0,function(){var o,a;return Object(n.__generator)(this,function(n){switch(n.label){case 0:return P=!0,o=e,a=this.getQuery(u).lastRequestId,s>=(a||1)?w&&Object(i.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:p}).catch(function(t){return P=!1,h(t),e})]:[3,2]:[3,3];case 1:o=n.sent(),n.label=2;case 2:if("no-cache"!==b)try{this.dataStore.markQueryResult(o,l,p,d,"ignore"===_||"all"===_)}catch(e){return P=!1,h(e),[2]}else this.setQuery(u,function(){return{newData:{result:o.data,complete:!0}}});this.queryStore.markQueryResult(u,o,d),this.invalidate(!0,u,d),this.broadcastQueries(),n.label=3;case 3:if(o.errors&&"none"===_)return P=!1,h(new m({graphQLErrors:o.errors})),[2];if("all"===_&&(r=o.errors),d||"no-cache"===b)t=o.data;else try{t=this.dataStore.getCache().read({variables:p,query:l,optimistic:!1})}catch(e){}return P=!1,S&&x.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),h(e)},complete:function(){P||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),e({data:t,errors:r,loading:!1,networkStatus:c.ready,stale:!1})),S=!0}},C=y.subscribe(x);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([C])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,r=this.queryIdsByName[e];if(void 0!==r)return Promise.all(r.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var r=this.getQuery(e),i=Object(n.__assign)({},r,t(r));this.queries.set(e,i)},e.prototype.invalidate=function(e,t,r){t&&this.setQuery(t,function(){return{invalidated:e}}),r&&this.setQuery(r,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,r){var n=this.dataStore.getCache();return{query:n.transformForLink?n.transformForLink(e):e,variables:t,operationName:Object(i.getOperationName)(e)||void 0,context:this.prepareContext(r)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(n.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==c.ready&&t.networkStatus!==c.error},e.prototype.startPollingQuery=function(e,t,r){var i=e.pollInterval;return Object(s.b)(i),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:i,lastPollTimeMs:Date.now()-10,options:Object(n.__assign)({},e,{fetchPolicy:"network-only"})}),r&&this.addQueryListener(t,r),this.schedulePoll(i)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,r=Date.now();if(this.nextPoll){if(!(e=r.interval){var i=function(){r.lastPollTimeMs=Date.now()};t.fetchQuery(n,r.options,p.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),E=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,r,n,o){void 0===o&&(o=!1);var a=!Object(i.graphQLResultHasError)(e);o&&Object(i.graphQLResultHasError)(e)&&e.data&&(a=!0),!n&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:r})},e.prototype.markSubscriptionResult=function(e,t,r){Object(i.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:r})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var r;r="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(n){var i=t.cache;t.cache=n;try{t.markMutationResult({mutationId:e.mutationId,result:{data:r},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(i.graphQLResultHasError)(e.result)){var r=[];r.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(n){var o=e.updateQueries[n],a=o.query,s=o.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(i.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(i.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&r.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){r.forEach(function(t){return e.write(t)})});var n=e.update;n&&this.cache.performTransaction(function(t){Object(i.tryFunctionOrLogError)(function(){return n(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,r){this.cache.write({result:r,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),S="2.5.1",P=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var r=e.cache,n=e.ssrMode,a=void 0!==n&&n,u=e.ssrForceFetchDelay,c=void 0===u?0:u,l=e.connectToDevTools,h=e.queryDeduplication,d=void 0===h||h,f=e.defaultOptions,p=e.resolvers,v=e.typeDefs,m=e.fragmentMatcher,y=e.name,_=e.version,b=e.link;if(!b&&p&&(b=o.a.empty()),!b||!r)throw new s.a;var g=new Map,O=new o.a(function(e,t){var r=g.get(e.query);return r||(r=Object(i.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,r),g.set(r,r)),e.query=r,t(e)});this.link=O.concat(b),this.cache=r,this.store=new E(r),this.disableNetworkFetches=a||c>0,this.queryDeduplication=d,this.ssrMode=a,this.defaultOptions=f||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=S,y&&(this.clientAwareness.name=y),_&&(this.clientAwareness.version=_),this.localState=new w({cache:r,client:this,resolvers:p,fragmentMatcher:m})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(n.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(n.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(n.__assign)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(n.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(n.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.c)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},388:function(e,t,r){"use strict";var n=r(272),i=r(268);function o(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(e)}]}}function a(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return a(e[0]);var t=[];return Object.keys(e).forEach(function(r){var n={kind:"Field",name:{kind:"Name",value:r},selectionSet:a(e[r])||void 0};t.push(n)}),{kind:"SelectionSet",selections:t}}var s,u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},c=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(i.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(i.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,r,n=e.id,i=e.data;if(void 0!==n){var s=null;try{s=this.read({rootId:n,optimistic:!1,query:u})}catch(e){}var c=s&&s.__typename||"__ClientData",l=Object.assign({__typename:c},i);this.writeFragment({id:n,fragment:(t=l,r=c,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(t)}]}),data:l})}else this.writeQuery({query:o(i),data:i})},e}();s||(s={});var l=r(341),h=r(291);r.d(t,"a",function(){return F});var d=new Map;if(d.set(1,2)!==d){var f=d.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return m&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new h.a}),o&&Object(i.isEqual)(o,v.result)&&(v.result=o),{result:v.result,complete:!m}},e.prototype.executeStoreQuery=function(e){var t=e.query,r=e.rootValue,n=e.contextValue,o=e.variableValues,a=e.fragmentMatcher,s=void 0===a?C:a,u=Object(i.getMainDefinition)(t),c=Object(i.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(i.createFragmentMap)(c),contextValue:n,variableValues:o,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:r,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,r=e.selectionSet,o=e.rootValue,a=e.execContext,s=a.fragmentMap,u=a.contextValue,c=a.variableValues,l={result:null},d=[],f=u.store.get(o.id),p=f&&f.__typename||"ROOT_QUERY"===o.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return r.selections.forEach(function(e){var r;if(Object(i.shouldInclude)(e,c))if(Object(i.isField)(e)){var l=v(t.executeField(f,p,e,a));void 0!==l&&d.push(((r={})[Object(i.resultKeyNameFromField)(e)]=l,r))}else{var m=void 0;if(Object(i.isInlineFragment)(e))m=e;else if(!(m=s[e.name.value]))throw new h.a;var y=m.typeCondition.name.value,_=a.fragmentMatcher(o,y,u);if(_){var b=t.executeSelectionSet({selectionSet:m.selectionSet,rootValue:o,execContext:a});"heuristic"===_&&b.missing&&(b=Object(n.__assign)({},b,{missing:b.missing.map(function(e){return Object(n.__assign)({},e,{tolerable:!0})})})),d.push(v(b))}}}),l.result=Object(i.mergeDeepArray)(d),l},e.prototype.executeField=function(e,t,r,n){var o=n.variableValues,a=n.contextValue,s=function(e,t,r,n,o,a){a.resultKey;var s=a.directives,u=r;(n||s)&&(u=Object(i.getStoreKeyName)(u,n,s));var c=void 0;if(e&&void 0===(c=e[u])&&o.cacheRedirects&&"string"==typeof t){var l=o.cacheRedirects[t];if(l){var h=l[r];h&&(c=h(e,n,{getCacheKey:function(e){return Object(i.toIdValue)({id:o.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(i.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,r.name.value,Object(i.argumentsObjectFromField)(r,o),a,{resultKey:Object(i.resultKeyNameFromField)(r),directives:Object(i.getDirectiveInfoFromField)(r,o)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(r,s.result,n)):r.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:r.selectionSet,rootValue:s.result,execContext:n})):(x(r,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;r[e].push(t)}else r[e]=[t];return!1}var A={fragmentMatcher:new g,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var R=Object.prototype.hasOwnProperty,M=function(e){function t(t,r,n){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=r,i.transaction=n,i}return Object(n.__extends)(t,e),t.prototype.toObject=function(){return Object(n.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return R.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(T),F=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;r.watches=new Set,r.typenameDocumentCache=new Map,r.cacheKeyRoot=new w,r.silenceBroadcast=!1,r.config=Object(n.__assign)({},A,t),r.config.customResolvers&&(r.config.cacheRedirects=r.config.customResolvers),r.config.cacheResolvers&&(r.config.cacheRedirects=r.config.cacheResolvers),r.addTypename=r.config.addTypename,r.data=r.config.resultCaching?new E:new T,r.optimisticData=r.data,r.storeReader=new P(r.cacheKeyRoot),r.storeWriter=new I;var i=r,o=i.maybeBroadcastWatch;return r.maybeBroadcastWatch=Object(l.wrap)(function(e){return o.call(r,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return i.data instanceof E?i.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),r}return Object(n.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new h.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],r=0,n=this.optimisticData;n instanceof M;)n.optimisticId===e?++r:t.push(n),n=n.parent;if(r>0){for(this.optimisticData=n;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var r=this.data,n=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new M(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=n,this.data=r}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(i.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(c)},389:function(e,t,r){"use strict";var n=r(279),i=r(268),o=r(338),a=r(285),s={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;r.d(t,"a",function(){return d});var c,l=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=o.graphql,d=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,r=e.cache,o=e.typeDefs,c=e.fragmentMatcher;return r&&t&&r.writeData({data:t}),new(function(d){function f(){return null!==d&&d.apply(this,arguments)||this}return l(f,d),f.prototype.writeDefaults=function(){r&&t&&r.writeData({data:t})},f.prototype.request=function(r,l){if(void 0===l&&(l=function(){return n.b.of({data:{}})}),o){var d=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(a.print)(e)}).map(function(e){return e.trim()}).join("\n")}(o);r.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:d,directives:"directive @client on FIELD"}])}})}if(!Object(i.hasDirectives)(["client"],r.query))return l(r);var f,p="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(i.checkDocument)(e);var r=Object(i.removeDirectivesFromDocument)([s],e);return u.set(e,r),r}(r.query),m=r.query,y=(f=(Object(i.getMainDefinition)(m)||{}).operation).charAt(0).toUpperCase()+f.slice(1)||"Query",_=function(e,r,n,i,o){void 0===r&&(r={});var a=o.resultKey,s=r[a],u=r[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=p[r.__typename||y];if(l){var h=l[e];if(h)return h(r,n,i,o)}return(c?s:u)||(t||{})[e]};v&&(r.query=v);var b=v&&l?l(r):n.b.of({data:{}});return new n.b(function(e){var t=!1,n=!1;b.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=r.getContext();n=!0,h(_,m,o,u,r.variables,{fragmentMatcher:c}).then(function(r){e.next({data:r,errors:a}),t&&e.complete(),n=!1}).catch(s)},error:e.error.bind(e),complete:function(){n||e.complete(),t=!0}})})},f}(n.a))}}}]); -//# sourceMappingURL=6.be89e4404e21ae642e32.js.map \ No newline at end of file diff --git a/packages/ui/dist/6.be89e4404e21ae642e32.js.LICENSE b/packages/ui/dist/6.be89e4404e21ae642e32.js.LICENSE deleted file mode 100644 index 9d220b920..000000000 --- a/packages/ui/dist/6.be89e4404e21ae642e32.js.LICENSE +++ /dev/null @@ -1,109 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 Vaadin Ltd. -This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ -*/ diff --git a/packages/ui/dist/6.be89e4404e21ae642e32.js.map b/packages/ui/dist/6.be89e4404e21ae642e32.js.map deleted file mode 100644 index 4a78defe1..000000000 --- a/packages/ui/dist/6.be89e4404e21ae642e32.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"6.be89e4404e21ae642e32.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/6.e185c63f0607d2069abe.js b/packages/ui/dist/6.e185c63f0607d2069abe.js deleted file mode 100644 index 884081c98..000000000 --- a/packages/ui/dist/6.e185c63f0607d2069abe.js +++ /dev/null @@ -1,23 +0,0 @@ -/*! For license information please see 6.e185c63f0607d2069abe.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],Array(267).concat([function(e,t){e.exports=function(e){return"function"==typeof e}},,,function(e,t,r){var n=r(267);function i(e,t){return n(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];var a=r.length?r:[void 0];if(a.length-1}function c(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function l(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map(function(e){return l(o,e.name,e.value,n)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(n||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,n),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.a;e[t.value]=null}}function h(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),f(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export"];function f(e,t,r){if(r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i=t,o={};return n.forEach(function(e){o[e]=i[e]}),r.connection.key+"("+JSON.stringify(o)+")"}return r.connection.key}var a=e;if(t){var u=s()(t);a+="("+u+")"}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@"+e+"("+JSON.stringify(r[e])+")":a+="@"+e)}),a}function p(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){var n=e.name,i=e.value;return l(r,n,i,t)}),r}return null}function v(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function y(e){return"InlineFragment"===e.kind}function b(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function _(e,t){return void 0===t&&(t=!1),Object(o.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function g(e){return null!=e&&"object"==typeof e&&"json"===e.type}function w(e){throw new i.a}function O(e,t){switch(void 0===t&&(t=w),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return O(e,t)});case"ObjectValue":for(var r={},n=0,i=e.fields;n-1})}function T(e){return e&&P(["client"],e)&&P(["export"],e)}function C(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new i.a;"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&(Object(i.b)(1===n.length),r=n[0].name.value),Object(o.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}].concat(e.definitions)})}function k(e){for(var t=[],r=1;r1){var n=[];t=_e(t,n);for(var i=1;inull===e||!("object"==typeof e||"function"==typeof e);class l{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(i.b)(this.startNode.parentNode,e.nextSibling,this.endNode)}}class f{constructor(e,t,r){if(this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this._pendingValue=e}commit(){for(;Object(n.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=o.a,e(this)}if(this._pendingValue!==o.a){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=o.a}}}class p extends l{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new v(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class v extends h{}var m=!1;try{var y={get capture(){return m=!0,!1}};window.addEventListener("test",y,y),window.removeEventListener("test",y,y)}catch(e){}class b{constructor(e,t,r){this.value=void 0,this._pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this._boundHandleEvent=(e=>this.handleEvent(e))}setValue(e){this._pendingValue=e}commit(){for(;Object(n.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=o.a,e(this)}if(this._pendingValue!==o.a){var t=this._pendingValue,r=this.value,i=null==t||null!=r&&(t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive),a=null!=t&&(null==r||i);i&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),a&&(this._options=_(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=o.a}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}var _=e=>e&&(m?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},,,function(e,t,r){"use strict";var n=r(274);var i=new class{handleAttributeExpressions(e,t,r,i){var o=t[0];return"."===o?new n.e(e,t.slice(1),r).parts:"@"===o?[new n.c(e,t.slice(1),i.eventContext)]:"?"===o?[new n.b(e,t.slice(1),r)]:new n.a(e,t,r).parts}handleTextExpression(e){return new n.d(e)}},o=r(307);r(329),r(290),r(330),r(332),r(318),r(331),r(280);r.d(t,"b",function(){return a}),r.d(t,"a",function(){return o.b}),(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var a=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n{for(var h=t.content,d=document.createTreeWalker(h,133,null,!1),f=0;d.nextNode();){r++;var p=d.currentNode;if(1===p.nodeType){if(p.hasAttributes()){for(var v=p.attributes,m=0,y=0;y=0&&m++;for(;m-- >0;){var b=e.strings[i],_=l.exec(b)[2],g=_.toLowerCase()+a,w=p.getAttribute(g).split(o);this.parts.push({type:"attribute",index:r,name:_,strings:w}),p.removeAttribute(g),i+=w.length-1}}"TEMPLATE"===p.tagName&&u(p)}else if(3===p.nodeType){var O=p.data;if(O.indexOf(n)>=0){for(var E=p.parentNode,S=O.split(o),x=S.length-1,P=0;P-1!==e.index,c=()=>document.createComment(""),l=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},,,function(e,t,r){"use strict";r.d(t,"d",function(){return o}),r.d(t,"a",function(){return i}),r.d(t,"b",function(){return s}),r.d(t,"c",function(){return u});var n,i,o=!(window.ShadyDOM&&window.ShadyDOM.inUse);function a(e){n=(!e||!e.shimcssproperties)&&(o||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild);var s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?n=window.ShadyCSS.nativeCss:window.ShadyCSS?(a(window.ShadyCSS),window.ShadyCSS=void 0):a(window.WebComponents&&window.WebComponents.flags);var u=n},function(e,t){e.exports=function(e){return"string"==typeof e}},,,function(e,t,r){"use strict";r.r(t),r.d(t,"__extends",function(){return i}),r.d(t,"__assign",function(){return o}),r.d(t,"__rest",function(){return a}),r.d(t,"__decorate",function(){return s}),r.d(t,"__param",function(){return u}),r.d(t,"__metadata",function(){return c}),r.d(t,"__awaiter",function(){return l}),r.d(t,"__generator",function(){return h}),r.d(t,"__exportStar",function(){return d}),r.d(t,"__values",function(){return f}),r.d(t,"__read",function(){return p}),r.d(t,"__spread",function(){return v}),r.d(t,"__await",function(){return m}),r.d(t,"__asyncGenerator",function(){return y}),r.d(t,"__asyncDelegator",function(){return b}),r.d(t,"__asyncValues",function(){return _}),r.d(t,"__makeTemplateObject",function(){return g}),r.d(t,"__importStar",function(){return w}),r.d(t,"__importDefault",function(){return O});var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function u(e,t){return function(r,n){t(r,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,s)}u((n=n.apply(e,t||[])).next())})}function h(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function p(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(r=i[e](t)).value instanceof m?Promise.resolve(r.value.v).then(u,c):l(o[0][2],r)}catch(e){l(o[0][3],e)}var r}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=f(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,i,(t=e[r](t)).done,t.value)})}}}function g(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function O(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e){return null==e||Number.isNaN(e)}},function(e,t){e.exports=function(e){return Array.isArray(e)}},function(e,t,r){"use strict";r.d(t,"a",function(){return n}),r.d(t,"c",function(){return i}),r.d(t,"b",function(){return o});var n=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t;i!==r;){var o=i.nextSibling;e.insertBefore(i,n),i=o}},o=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;n!==r;){var i=n.nextSibling;e.removeChild(n),n=i}}},,,,,,function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(267);e.exports=function(e,t){return n(t[e])||n(t["@@implements"])&&!!t["@@implements"](e)}},,function(e,t,r){"use strict";var n=new WeakMap,i=e=>"function"==typeof e&&n.has(e),o=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,a=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;n!==r;){var i=n.nextSibling;e.removeChild(n),n=i}},s={},u={},c=`{{lit-${String(Math.random()).slice(2)}}}`,l=`\x3c!--${c}--\x3e`,h=new RegExp(`${c}|${l}`),d="$lit$";class f{constructor(e,t){this.parts=[],this.element=t;var r=-1,n=0,i=[],o=t=>{for(var a=t.content,s=document.createTreeWalker(a,133,null,!1),u=0;s.nextNode();){r++;var l=s.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var f=l.attributes,p=0,y=0;y=0&&p++;for(;p-- >0;){var b=e.strings[n],_=m.exec(b)[2],g=_.toLowerCase()+d,w=l.getAttribute(g).split(h);this.parts.push({type:"attribute",index:r,name:_,strings:w}),l.removeAttribute(g),n+=w.length-1}}"TEMPLATE"===l.tagName&&o(l)}else if(3===l.nodeType){var O=l.data;if(O.indexOf(c)>=0){for(var E=l.parentNode,S=O.split(h),x=S.length-1,P=0;P-1!==e.index,v=()=>document.createComment(""),m=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;class y{constructor(e,t,r){this._parts=[],this.template=e,this.processor=t,this.options=r}update(e){var t=0;for(var r of this._parts)void 0!==r&&r.setValue(e[t]),t++;for(var n of this._parts)void 0!==n&&n.commit()}_clone(){var e=o?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=this.template.parts,r=0,n=0,i=e=>{for(var o=document.createTreeWalker(e,133,null,!1),a=o.nextNode();rnull===e||!("object"==typeof e||"function"==typeof e);class g{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.startNode;a(this.startNode.parentNode,e.nextSibling,this.endNode)}}class E{constructor(e,t,r){if(this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this._pendingValue=e}commit(){for(;i(this._pendingValue);){var e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue!==s){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=s}}}class S extends g{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new x(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class x extends w{}var P=!1;try{var T={get capture(){return P=!0,!1}};window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){}class C{constructor(e,t,r){this.value=void 0,this._pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this._boundHandleEvent=(e=>this.handleEvent(e))}setValue(e){this._pendingValue=e}commit(){for(;i(this._pendingValue);){var e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue!==s){var t=this._pendingValue,r=this.value,n=null==t||null!=r&&(t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive),o=null!=t&&(null==r||n);n&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),o&&(this._options=k(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=s}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}var k=e=>e&&(P?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);var N=new class{handleAttributeExpressions(e,t,r,n){var i=t[0];return"."===i?new S(e,t.slice(1),r).parts:"@"===i?[new C(e,t.slice(1),n.eventContext)]:"?"===i?[new E(e,t.slice(1),r)]:new g(e,t,r).parts}handleTextExpression(e){return new O(e)}};function I(e){var t=A.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},A.set(e.type,t));var r=t.stringsArray.get(e.strings);if(void 0!==r)return r;var n=e.strings.join(c);return void 0===(r=t.keyString.get(n))&&(r=new f(e,e.getTemplateElement()),t.keyString.set(n,r)),t.stringsArray.set(e.strings,r),r}var A=new Map,j=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var R=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.parentNode.removeChild(e))}var q=e=>{for(var t=11===e.nodeType?0:1,r=document.createTreeWalker(e,M,null,!1);r.nextNode();)t++;return t},L=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t`${e}--${t}`,Q=!0;void 0===window.ShadyCSS?Q=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),Q=!1);var V=e=>t=>{var r=D(t.type,e),n=A.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},A.set(r,n));var i=n.stringsArray.get(t.strings);if(void 0!==i)return i;var o=t.strings.join(c);if(void 0===(i=n.keyString.get(o))){var a=t.getTemplateElement();Q&&window.ShadyCSS.prepareTemplateDom(a,e),i=new f(t,a),n.keyString.set(o,i)}return n.stringsArray.set(t.strings,i),i},B=["html","svg"],U=new Set,z=(e,t,r)=>{U.add(r);var n=e.querySelectorAll("style");if(0!==n.length){for(var i=document.createElement("style"),o=0;o{B.forEach(t=>{var r=A.get(D(t,e));void 0!==r&&r.keyString.forEach(e=>{var t=e.element.content,r=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{r.add(e)}),F(e,r)})})})(r),function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e.element.content,i=e.parts;if(null!=r)for(var o=document.createTreeWalker(n,M,null,!1),a=L(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===r&&(s=q(t),r.parentNode.insertBefore(t,r));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=L(i,a);return}a=L(i,a)}else n.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,r),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),F(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,r)};window.JSCompiler_renameProperty=((e,t)=>e);var H={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},$=(e,t)=>t!==e&&(t==t||e==e),G={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:$},J=Promise.resolve(!0),K=1,W=4,Y=8,X=16,Z=32;class ee extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=J,this._hasConnectedResolver=void 0,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();var e=[];return this._classProperties.forEach((t,r)=>{var n=this._attributeNameForProperty(r,t);void 0!==n&&(this._attributeToPropertyMap.set(n,r),e.push(n))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var r="symbol"==typeof e?Symbol():`__${e}`;Object.defineProperty(this.prototype,e,{get(){return this[r]},set(t){var n=this[e];this[r]=t,this.requestUpdate(e,n)},configurable:!0,enumerable:!0})}}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,r=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(var n of r)this.createProperty(n,t[n])}}}static _attributeNameForProperty(e,t){var r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:$)(e,t)}static _propertyValueFromAttribute(e,t){var r=t.type,n=t.converter||H,i="function"==typeof n?n:n.fromAttribute;return i?i(e,r):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){var r=t.type,n=t.converter;return(n&&n.toAttribute||H.toAttribute)(e,r)}}initialize(){this._saveInstanceProperties()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){var r=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,r)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this._updateState=this._updateState|Z,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G,n=this.constructor,i=n._attributeNameForProperty(e,r);if(void 0!==i){var o=n._propertyValueToAttribute(t,r);if(void 0===o)return;this._updateState=this._updateState|Y,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=this._updateState&~Y}}_attributeToProperty(e,t){if(!(this._updateState&Y)){var r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){var i=r._classProperties.get(n)||G;this._updateState=this._updateState|X,this[n]=r._propertyValueFromAttribute(t,i),this._updateState=this._updateState&~X}}}requestUpdate(e,t){var r=!0;if(void 0!==e&&!this._changedProperties.has(e)){var n=this.constructor,i=n._classProperties.get(e)||G;n._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.set(e,t),!0!==i.reflect||this._updateState&X||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):r=!1}return!this._hasRequestedUpdate&&r&&this._enqueueUpdate(),this.updateComplete}_enqueueUpdate(){return new Promise(function(e,t){var r,n,i;return this._updateState=this._updateState|W,n=this._updatePromise,this._updatePromise=new Promise(e=>r=e),Promise.resolve(n).then(function(n){try{if(!this._hasConnected)return Promise.resolve(new Promise(e=>this._hasConnectedResolver=e)).then(function(e){try{return o.call(this)}catch(e){return t(e)}}.bind(this),t);function o(){if(null!=(i=this.performUpdate())&&"function"==typeof i.then)return Promise.resolve(i).then(function(e){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return r(!this._hasRequestedUpdate),e()}return n.call(this)}return o.call(this)}catch(e){return t(e)}}.bind(this),t)}.bind(this))}get _hasConnected(){return this._updateState&Z}get _hasRequestedUpdate(){return this._updateState&W}get hasUpdated(){return this._updateState&K}performUpdate(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),this._updateState&K||(this._updateState=this._updateState|K,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~W}get updateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0)}updated(e){}firstUpdated(e){}}ee.finalized=!0;ne((e,t)=>e.querySelector(t)),ne((e,t)=>e.querySelectorAll(t));var te=(e,t,r)=>{Object.defineProperty(t,r,e)},re=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});function ne(e){return t=>(r,n)=>{var i={get(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0};return void 0!==n?te(i,r,n):re(i,r)}}var ie="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol();r.d(t,"a",function(){return ae}),r.d(t,"b",function(){return R}),(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var oe=e=>e.flat?e.flat(1/0):function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0,i=t.length;n(e.add(t),e),new Set).forEach(e=>t.unshift(e)):e&&t.push(e);return t}initialize(){super.initialize(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?ie?this.renderRoot.adoptedStyleSheets=e.map(e=>e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){super.update(e);var t=this.render();t instanceof b&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{var t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){}}ae.finalized=!0,ae.render=((e,t,r)=>{var n=r.scopeName,i=j.has(t),o=t instanceof ShadowRoot&&Q&&e instanceof b,s=o&&!U.has(n),u=s?document.createDocumentFragment():t;if(((e,t,r)=>{var n=j.get(t);void 0===n&&(a(t,t.firstChild),j.set(t,n=new O(Object.assign({templateFactory:I},r))),n.appendInto(t)),n.setValue(e),n.commit()})(e,u,Object.assign({templateFactory:V(n)},r)),s){var c=j.get(u);j.delete(u),c.value instanceof y&&z(u,c.value.template,n),a(t,t.firstChild),t.appendChild(u),j.set(t,c)}!i&&o&&window.ShadyCSS.styleElement(t.host)})},,,function(e,t,r){"use strict";var n=r(277),i=r(290),o=r(280),a=133;function s(e,t){for(var r=e.element.content,n=e.parts,i=document.createTreeWalker(r,a,null,!1),o=c(n),s=n[o],u=-1,l=0,h=[],d=null;i.nextNode();){u++;var f=i.currentNode;for(f.previousSibling===d&&(d=null),t.has(f)&&(h.push(f),null===d&&(d=f)),null!==d&&l++;void 0!==s&&s.index===u;)s.index=null!==d?-1:s.index-l,s=n[o=c(n,o)]}h.forEach(e=>e.parentNode.removeChild(e))}var u=e=>{for(var t=11===e.nodeType?0:1,r=document.createTreeWalker(e,a,null,!1);r.nextNode();)t++;return t},c=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t`${e}--${t}`,v=!0;void 0===window.ShadyCSS?v=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),v=!1);var m=e=>t=>{var r=p(t.type,e),n=h.a.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},h.a.set(r,n));var i=n.stringsArray.get(t.strings);if(void 0!==i)return i;var a=t.strings.join(o.f);if(void 0===(i=n.keyString.get(a))){var s=t.getTemplateElement();v&&window.ShadyCSS.prepareTemplateDom(s,e),i=new o.a(t,s),n.keyString.set(a,i)}return n.stringsArray.set(t.strings,i),i},y=["html","svg"],b=new Set,_=(e,t,r)=>{b.add(r);var n=e.querySelectorAll("style");if(0!==n.length){for(var i=document.createElement("style"),o=0;o{y.forEach(t=>{var r=h.a.get(p(t,e));void 0!==r&&r.keyString.forEach(e=>{var t=e.element.content,r=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{r.add(e)}),s(e,r)})})})(r),function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e.element.content,i=e.parts;if(null!=r)for(var o=document.createTreeWalker(n,a,null,!1),s=c(i),l=0,h=-1;o.nextNode();)for(h++,o.currentNode===r&&(l=u(t),r.parentNode.insertBefore(t,r));-1!==s&&i[s].index===h;){if(l>0){for(;-1!==s;)i[s].index+=l,s=c(i,s);return}s=c(i,s)}else n.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,r),window.ShadyCSS.nativeShadow){var d=t.element.content.querySelector("style");e.insertBefore(d.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var f=new Set;f.add(i),s(t,f)}}else window.ShadyCSS.prepareTemplateStyles(t.element,r)},g=r(466),w=r.n(g),O=e=>null!==e,E=e=>e?"":null,S=(e,t)=>t!==e&&(t==t||e==e),x={attribute:!0,type:String,reflect:!1,hasChanged:S},P=new Promise(e=>e(!0)),T=1,C=4,k=8;class N extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=P,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this._finalize();var e=[];for(var t of this._classProperties){var r=w()(t,2),n=r[0],i=r[1],o=this._attributeNameForProperty(n,i);void 0!==o&&(this._attributeToPropertyMap.set(o,n),e.push(o))}return e}static createProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x;if(!this.hasOwnProperty("_classProperties")){this._classProperties=new Map;var r=Object.getPrototypeOf(this)._classProperties;void 0!==r&&r.forEach((e,t)=>this._classProperties.set(t,e))}if(this._classProperties.set(e,t),!this.prototype.hasOwnProperty(e)){var n="symbol"==typeof e?Symbol():`__${e}`;Object.defineProperty(this.prototype,e,{get(){return this[n]},set(r){var i=this[e];this[n]=r,this._requestPropertyUpdate(e,i,t)},configurable:!0,enumerable:!0})}}static _finalize(){if(!this.hasOwnProperty("_finalized")||!this._finalized){var e=Object.getPrototypeOf(this);"function"==typeof e._finalize&&e._finalize(),this._finalized=!0,this._attributeToPropertyMap=new Map;var t=this.properties,r=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(var n of r)this.createProperty(n,t[n])}}static _attributeNameForProperty(e,t){var r=void 0!==t&&t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:S)(e,t)}static _propertyValueFromAttribute(e,t){var r=t&&t.type;if(void 0===r)return e;var n=r===Boolean?O:"function"==typeof r?r:r.fromAttribute;return n?n(e):e}static _propertyValueToAttribute(e,t){if(void 0!==t&&void 0!==t.reflect)return(t.type===Boolean?E:t.type&&t.type.toAttribute||String)(e)}initialize(){this.renderRoot=this.createRenderRoot(),this._saveInstanceProperties()}_saveInstanceProperties(){for(var e of this.constructor._classProperties){var t=w()(e,1)[0];if(this.hasOwnProperty(t)){var r=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,r)}}}_applyInstanceProperties(){for(var e of this._instanceProperties){var t=w()(e,2),r=t[0],n=t[1];this[r]=n}this._instanceProperties=void 0}createRenderRoot(){return this.attachShadow({mode:"open"})}connectedCallback(){this._updateState&T?void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this):this.requestUpdate()}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x,n=this.constructor,i=n._propertyValueToAttribute(t,r);if(void 0!==i){var o=n._attributeNameForProperty(e,r);void 0!==o&&(this._updateState=this._updateState|k,null===i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=this._updateState&~k)}}_attributeToProperty(e,t){if(!(this._updateState&k)){var r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){var i=r._classProperties.get(n);this[n]=r._propertyValueFromAttribute(t,i)}}}requestUpdate(e,t){if(void 0!==e){var r=this.constructor._classProperties.get(e)||x;return this._requestPropertyUpdate(e,t,r)}return this._invalidate()}_requestPropertyUpdate(e,t,r){return this.constructor._valueHasChanged(this[e],t,r.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0===r.reflect&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,r)),this._invalidate()):this.updateComplete}_invalidate(){return new Promise(function(e,t){var r,n;if(!this._hasRequestedUpdate)return this._updateState=this._updateState|C,n=this._updatePromise,this._updatePromise=new Promise(e=>r=e),Promise.resolve(n).then(function(e){try{return this._validate(),r(!this._hasRequestedUpdate),i.call(this)}catch(e){return t(e)}}.bind(this),t);function i(){return e(this.updateComplete)}return i.call(this)}.bind(this))}get _hasRequestedUpdate(){return this._updateState&C}_validate(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),this._updateState&T||(this._updateState=this._updateState|T,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~C}get updateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){if(void 0!==this._reflectingProperties&&this._reflectingProperties.size>0){for(var t of this._reflectingProperties){var r=w()(t,2),n=r[0],i=r[1];this._propertyToAttribute(n,this[n],i)}this._reflectingProperties=void 0}}updated(e){}firstUpdated(e){}}N._attributeToPropertyMap=new Map,N._finalized=!0,N._classProperties=new Map,N.properties={};I((e,t)=>e.querySelector(t)),I((e,t)=>e.querySelectorAll(t));function I(e){return t=>(r,n)=>{Object.defineProperty(r,n,{get(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0})}}class A extends N{update(e){super.update(e);var t=this.render();t instanceof n.a&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this})}render(){}}A.render=((e,t,r)=>{var n=r.scopeName,o=l.a.has(t),a=t instanceof ShadowRoot&&v&&e instanceof f.b,s=a&&!b.has(n),u=s?document.createDocumentFragment():t;if(Object(l.b)(e,u,Object.assign({templateFactory:m(n)},r)),s){var c=l.a.get(u);l.a.delete(u),c.value instanceof d.a&&_(u,c.value.template,n),Object(i.b)(t,t.firstChild),t.appendChild(u),l.a.set(t,c)}!o&&a&&window.ShadyCSS.styleElement(t.host)});var j=r(339);r.d(t,"a",function(){return R});class R extends(Object(j.a)(A)){static get properties(){return{client:{type:Object},data:{type:Object},error:{type:Object},loading:{type:Boolean}}}}},,function(e,t,r){"use strict";var n=r(371),i=r.n(n).a,o=r(328);r.d(t,"d",function(){return l}),r.d(t,"e",function(){return m}),r.d(t,"a",function(){return b}),r.d(t,"c",function(){return _}),r.d(t,"b",function(){return i});var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r${super.getHTML()}`}getTemplateElement(){var e=super.getTemplateElement(),t=e.content,r=t.firstChild;return t.removeChild(r),Object(n.c)(t,r.firstChild),e}}},,,,,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";r.d(t,"g",function(){return n}),r.d(t,"f",function(){return i}),r.d(t,"h",function(){return o}),r.d(t,"a",function(){return a}),r.d(t,"e",function(){return s}),r.d(t,"b",function(){return u}),r.d(t,"c",function(){return c}),r.d(t,"d",function(){return l});var n=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,o=/(--[\w-]+)\s*([:,;)]|$)/gi,a=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,u=/\{[^}]*\}/g,c="(?:^|[^.#[:])",l="($|[.:[\\s>+~])"},function(e,t){e.exports=function(e){return void 0!==e}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===r.call(e)}},function(e,t,r){var n=r(441);e.exports=function(e){return n(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){var r={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return r[e]||r.unk};e.exports={proxy:function(e){return{type:n(e)}},type:n,typeFn:function(e,t){return"crocks/"+n(e)()+"@"+(t||0)}}},function(e,t,r){"use strict";r.d(t,"b",function(){return i}),r.d(t,"a",function(){return o});var n=r(280);function i(e){var t=o.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},o.set(e.type,t));var r=t.stringsArray.get(e.strings);if(void 0!==r)return r;var i=e.strings.join(n.f);return void 0===(r=t.keyString.get(i))&&(r=new n.a(e,e.getTemplateElement()),t.keyString.set(i,r)),t.stringsArray.set(e.strings,r),r}var o=new Map},,,,,,,,,function(e,t,r){"use strict";var n=r(339),i=r(451),o=r.n(i),a=r(452),s=r.n(a),u=r(453),c=r.n(u),l=r(454),h=r.n(l),d=r(455),f=r.n(d),p=r(456),v=r.n(p),m=r(382),y=r.n(m),b=r(377),_=r.n(b),g=r(457),w=r.n(g),O=r(383),E=r.n(O),S=r(461),x=r.n(S),P=r(375),T=r.n(P),C=r(462),k=r.n(C),N=r(463),I=r.n(N),A=r(465),j=r.n(A),R=c()(h.a),M=x()(["type","kind"],"NonNullType"),F=k()(void 0,["variable","name","value"]),q=T()(null,"query"),L=e=>E()("definitions",q(e)).map(_()(E()("variableDefinitions"))).chain(f.a).chain(v.a).map(_()(y()(M,F,I.a))).map(s()(v.a)).map(_()(R(T()(null,"variables",e)))).map(w()(o.a)).map(j.a).option(!1),D=e=>(class extends(Object(n.a)(e)){get query(){return this.document}set query(e){try{this.document=e}catch(e){throw new TypeError("Query must be a gql-parsed DocumentNode")}!this.noAutoSubscribe&&e&&this.subscribe({query:e,variables:this.variables})}get variables(){return this.__variables}set variables(e){this.__variables=e;var t=this.__query;this.observableQuery?this.setVariables(e):this.subscribe({query:t,variables:e})}get options(){return this.__options}set options(e){this.__options=e,this.observableQuery&&this.observableQuery.setOptions(e)}constructor(){super(),this.nextData=this.nextData.bind(this),this.nextError=this.nextError.bind(this),this.errorPolicy="none",this.fetchPolicy="cache-first",this.fetchResults=void 0,this.pollInterval=void 0,this.notifyOnNetworkStatusChange=void 0,this.variables=void 0,this.query=void 0,this.tryFetch=void 0,this.observableQuery}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this.query&&this.subscribe()}setVariables(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tryFetch,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.fetchResults;return this.observableQuery&&this.observableQuery.setVariables(e,t,r)}subscribe(){var e=arguments;return new Promise(function(t,r){var n=e.length>0&&void 0!==e[0]?e[0]:{},i=n.query,o=void 0===i?this.query:i,a=n.variables,s=void 0===a?this.variables:a;return L({query:o,variables:s})?(this.observableQuery=this.watchQuery({query:o,variables:s}),t(this.observableQuery.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}subscribeToMore(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.document,r=e.updateQuery;return this.observableQuery&&this.observableQuery.subscribeToMore({document:t,updateQuery:r})}executeQuery(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.metadata,r=e.context,n=e.query,i=void 0===n?this.query:n,o=e.variables,a=void 0===o?this.variables:o,s=e.fetchPolicy,u=void 0===s?this.fetchPolicy:s,c=e.errorPolicy,l=void 0===c?this.errorPolicy:c,h=e.fetchResults,d=void 0===h?this.fetchResults:h,f=this.client.query({context:r,errorPolicy:l,fetchPolicy:u,fetchResults:d,metadata:t,query:i,variables:a}).catch(this.nextError.bind(this));return f.then(this.nextData.bind(this)),f}fetchMore(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.query,r=void 0===t?this.query:t,n=e.updateQuery,i=e.variables;return this.observableQuery&&this.observableQuery.fetchMore({query:r,updateQuery:n,variables:i})}watchQuery(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.context,r=void 0===t?this.context:t,n=e.errorPolicy,i=void 0===n?this.errorPolicy:n,o=e.fetchPolicy,a=void 0===o?this.fetchPolicy:o,s=e.fetchResults,u=void 0===s?this.fetchResults:s,c=e.metadata,l=void 0===c?this.metadata:c,h=e.notifyOnNetworkStatusChange,d=void 0===h?this.notifyOnNetworkStatusChange:h,f=e.pollInterval,p=void 0===f?this.pollInterval:f,v=e.query,m=void 0===v?this.query:v,y=e.variables,b=void 0===y?this.variables:y;return this.client.watchQuery({context:r,errorPolicy:i,fetchPolicy:a,fetchResults:u,metadata:l,notifyOnNetworkStatusChange:d,pollInterval:p,query:m,variables:b})}nextData(e){var t=e.data,r=e.loading,n=e.networkStatus,i=e.stale;this.data=t,this.loading=r,this.networkStatus=n,this.stale=i}nextError(e){this.error=e}}),Q=r(302);class V extends(D(Q.a)){static get properties(){return{networkStatus:{type:Number}}}shouldUpdate(){return!!this.data||!!this.error||null!=this.loading}}var B=r(350);r(470);r(351);var U=r(277);r.d(t,"b",function(){return V}),r.d(t,"a",function(){return B.a}),r.d(t,"c",function(){return U.b})},function(e,t,r){"use strict";r.r(t),r.d(t,"print",function(){return i});var n=r(340);function i(e){return Object(n.b)(e,{leave:o})}var o={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return s(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=c("(",s(e.variableDefinitions,", "),")"),i=s(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?s([t,s([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+c(" = ",n)+c(" ",s(i," "))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet;return s([c("",t,": ")+r+c("(",s(n,", "),")"),s(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+c(" ",s(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return s(["...",c("on ",t),s(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(c("(",s(n,", "),")")," ")+"on ".concat(r," ").concat(c("",s(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?function(e,t){var r=e.replace(/"""/g,'\\"""');return h(e)||" "!==e[0]&&"\t"!==e[0]?'"""\n'.concat(t?r:l(r),'\n"""'):'"""'.concat(r.replace(/"$/,'"\n'),'"""')}(r,"description"===t):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+s(e.values,", ")+"]"},ObjectValue:function(e){return"{"+s(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+c("(",s(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,r=e.operationTypes;return s(["schema",s(t," "),u(r)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:a(function(e){return s(["scalar",e.name,s(e.directives," ")]," ")}),ObjectTypeDefinition:a(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return s(["type",t,c("implements ",s(r," & ")),s(n," "),u(i)]," ")}),FieldDefinition:a(function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(d(r)?c("(\n",l(s(r,"\n")),"\n)"):c("(",s(r,", "),")"))+": "+n+c(" ",s(i," "))}),InputValueDefinition:a(function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return s([t+": "+r,c("= ",n),s(i," ")]," ")}),InterfaceTypeDefinition:a(function(e){var t=e.name,r=e.directives,n=e.fields;return s(["interface",t,s(r," "),u(n)]," ")}),UnionTypeDefinition:a(function(e){var t=e.name,r=e.directives,n=e.types;return s(["union",t,s(r," "),n&&0!==n.length?"= "+s(n," | "):""]," ")}),EnumTypeDefinition:a(function(e){var t=e.name,r=e.directives,n=e.values;return s(["enum",t,s(r," "),u(n)]," ")}),EnumValueDefinition:a(function(e){return s([e.name,s(e.directives," ")]," ")}),InputObjectTypeDefinition:a(function(e){var t=e.name,r=e.directives,n=e.fields;return s(["input",t,s(r," "),u(n)]," ")}),DirectiveDefinition:a(function(e){var t=e.name,r=e.arguments,n=e.locations;return"directive @"+t+(d(r)?c("(\n",l(s(r,"\n")),"\n)"):c("(",s(r,", "),")"))+" on "+s(n," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return s(["extend schema",s(t," "),u(r)]," ")},ScalarTypeExtension:function(e){return s(["extend scalar",e.name,s(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return s(["extend type",t,c("implements ",s(r," & ")),s(n," "),u(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return s(["extend interface",t,s(r," "),u(n)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return s(["extend union",t,s(r," "),n&&0!==n.length?"= "+s(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return s(["extend enum",t,s(r," "),u(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return s(["extend input",t,s(r," "),u(n)]," ")}};function a(e){return function(t){return s([t.description,e(t)],"\n")}}function s(e,t){return e?e.filter(function(e){return e}).join(t||""):""}function u(e){return e&&0!==e.length?"{\n"+l(s(e,"\n"))+"\n}":""}function c(e,t,r){return t?e+t+(r||""):""}function l(e){return e&&" "+e.replace(/\n/g,"\n ")}function h(e){return-1!==e.indexOf("\n")}function d(e){return e&&e.some(h)}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=new WeakMap,i=e=>"function"==typeof e&&n.has(e)},function(e,t,r){"use strict";r.d(t,"a",function(){return n}),r.d(t,"b",function(){return i});var n={},i={}},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(290),i=r(280);class o{constructor(e,t,r){this._parts=[],this.template=e,this.processor=t,this.options=r}update(e){var t=0;for(var r of this._parts)void 0!==r&&r.setValue(e[t]),t++;for(var n of this._parts)void 0!==n&&n.commit()}_clone(){var e=n.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=this.template.parts,r=0,o=0,a=e=>{for(var n=document.createTreeWalker(e,133,null,!1),s=n.nextNode();r{var s=a.get(t);void 0===s&&(Object(n.b)(t,t.firstChild),a.set(t,s=new i.d(Object.assign({templateFactory:o.b},r))),s.appendInto(t)),s.setValue(e),s.commit()}},,,,,,,function(e,t,r){"use strict";var n=r(374),i=r.n(n),o=r(279),a=r.n(o),s=r(440),u=r.n(s),c=r(375),l=r.n(c),h=r(442),d=r.n(h),f=r(443),p=r.n(f),v=r(377),m=r.n(v),y=r(447),b=r.n(y),_=r(448),g=r.n(_),w=r(382),O=r.n(w),E=r(383),S=r.n(E),x=i()(b()(null),m()(a.a),function(){for(var e=arguments.length,t=new Array(e),r=0;r"string"==typeof e?e.replace(...t):e}(//g,""),S()("innerText")),P=i()(d()("SCRIPT"),l()(null,"tagName"));var T=O()(p.a,u()(null),O()(g()(P,e=>e instanceof Element&&"application/graphql"===e.getAttribute("type")),x,()=>(function(e){throw new TypeError(e)})('Script must be of type "application/graphql"'))),C=i()(T,e=>e instanceof HTMLElement&&e.querySelector('script[type="application/graphql"]')),k=e=>!!(e&&"object"==typeof e&&"kind"in e&&"definitions"in e);r.d(t,"a",function(){return N});var N=e=>(class extends e{constructor(){super(),this.onElementMutation=this.onElementMutation.bind(this),this.context=void 0,this.data=void 0,this.error=void 0,this.loading=void 0,this.client=window.__APOLLO_CLIENT__,this.elementMutationObserver=new MutationObserver(this.onElementMutation)}get document(){return this.__document||null}set document(e){if(k(e))this.__document=e;else if(e)throw new TypeError("document must be a gql-parsed DocumentNode")}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this.elementMutationObserver.observe(this,{characterData:!0,childList:!0,subtree:!0}),this.document=C(this)||null}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.elementMutationObserver&&this.elementMutationObserver.disconnect(),this.elementMutationObserver=null}onElementMutation(){var e=C(this);e&&(this.document=e)}})},function(e,t,r){"use strict";r.d(t,"a",function(){return o}),r.d(t,"b",function(){return a});var n=r(368),i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},o={};function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],h=-1,d=[],f=void 0,p=void 0,v=void 0,m=[],y=[],b=e;do{var _=++h===l.length,g=_&&0!==d.length;if(_){if(p=0===y.length?void 0:m[m.length-1],f=v,v=y.pop(),g){if(c)f=f.slice();else{for(var w={},O=Object.keys(f),E=0;E1)for(var r=1;r(class extends(Object(n.a)(e)){get mutation(){return this.document}set mutation(e){try{this.document=e}catch(e){throw new TypeError("Mutation must be a gql-parsed DocumentNode")}}constructor(){super(),this.ignoreResults=!1,this.mostRecentMutationId=0,this.onCompleted=(()=>void 0),this.onError=(()=>void 0),this.optimisticResponse=void 0,this.onUpdate=void 0,this.variables=void 0,this.__explicitlySetMutation=void 0}generateMutationId(){return this.mostRecentMutationId+=1,this.mostRecentMutationId}isMostRecentMutation(e){return this.mostRecentMutationId===e}mutate(){var e=arguments;return new Promise(function(t,r){var n,i,o,a,s,u,c,l,h,d,f,p,v,m,y,b,_,g,w,O,E;o=void 0===(i=(n=e.length>0&&void 0!==e[0]?e[0]:this).context)?this.context:i,s=void 0===(a=n.errorPolicy)?this.errorPolicy:a,c=void 0===(u=n.fetchPolicy)?this.fetchPolicy:u,h=void 0===(l=n.mutation)?this.mutation:l,f=void 0===(d=n.optimisticResponse)?this.optimisticResponse:d,v=void 0===(p=n.refetchQueries)?this.refetchQueries:p,y=void 0===(m=n.update)?this.onUpdate:m,_=void 0===(b=n.awaitRefetchQueries)?this.awaitRefetchQueries:b,w=void 0===(g=n.variables)?this.variables:g,O=this.generateMutationId(),this.loading=!0,this.error=void 0,this.data=void 0,this.called=!0;var S=function(e){try{return this.onMutationError(e,O),t(e)}catch(e){return r(e)}}.bind(this);try{return Promise.resolve(this.client.mutate({context:o,errorPolicy:s,fetchPolicy:c,mutation:h,optimisticResponse:f,refetchQueries:v,update:y,awaitRefetchQueries:_,variables:w})).then(function(e){try{return E=e,this.onCompletedMutation(E,O),t(E)}catch(e){return S(e)}}.bind(this),S)}catch(e){S(e)}}.bind(this))}onCompletedMutation(e,t){var r=e.data;return this.isMostRecentMutation(t)&&!this.ignoreResults&&(this.loading=!1,this.error=null,this.data=r),this.onCompleted(r)}onMutationError(e,t){return this.isMostRecentMutation(t)&&(this.loading=!1,this.data=null,this.error=e),this.onError(e)}})},,,,,,,,,,,,,,,function(e,t,r){"use strict";var n,i=null,o=window.HTMLImports&&window.HTMLImports.whenReady||null;function a(e){requestAnimationFrame(function(){o?o(e):(i||(i=new Promise(e=>{n=e}),"complete"===document.readyState?n():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&n()})),i.then(function(){e&&e()}))})}r.d(t,"a",function(){return h});var s="__seenByShadyCSS",u="__shadyCSSCachedStyle",c=null,l=null;class h{constructor(){this.customStyles=[],this.enqueued=!1,a(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&l&&(this.enqueued=!0,a(l))}addCustomStyle(e){e[s]||(e[s]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[u]?e[u]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;tc,set(e){c=e}},validateCallback:{get:()=>l,set(e){var t=!1;l||(t=!0),l=e,t&&this.enqueueDocumentValidation()}}})},,function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(369);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":if(e){var t=function(e){var t=e[String(n.a)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(t){var r=t.call(e);return"string"==typeof r?r:o(r)}if(Array.isArray(e))return"["+e.map(o).join(", ")+"]";var a=Object.keys(e).map(function(t){return"".concat(t,": ").concat(o(e[t]))}).join(", ");return a?"{ "+a+" }":"{}"}return String(e);default:return String(e)}}},function(e,t,r){"use strict";var n="function"==typeof Symbol?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=n},function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},function(e,t,r){e.exports=r(419).Observable},function(e,t,r){"use strict";r.r(t),function(e,n){var i,o=r(428);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(o.a)(i);t.default=a}.call(this,r(296),r(312)(e))},function(e,t,r){"use strict";(function(e){var r=new function(){};function n(){return r}try{var i=e["eriuqer".split("").reverse().join("")]("fibers");n=function(){return i.current||r}}catch(e){}t.get=function(){var e=n();return e._optimism_local||(e._optimism_local=Object.create(null))}}).call(this,r(343)(e))},function(e,t,r){var n=r(267),i="compose: Functions required";function o(e,t){if(!n(t))throw new TypeError(i);return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];return t.call(null,e.apply(null,r))}}e.exports=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(!arguments.length)throw new TypeError(i);var r=e.slice().reverse(),a=r[0];if(!n(a))throw new TypeError(i);return r.slice(1).concat(function(e){return e}).reduce(o,a)}},function(e,t,r){var n=r(270),i=r(314),o=r(305),a=r(288),s=r(316),u=r(284);e.exports=n(function(e,t,r){if(!(u(t)&&!o(t)||s(t)))throw new TypeError("propOr: Non-empty String or Integer required for second argument");if(a(r))return e;var n=r[t];return i(n)?n:e})},function(e,t){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,r){var n=r(444),i=r(346),o=r(270),a=r(289),s=r(315),u=r(267),c=r(381);e.exports=o(function(e,t){if(!u(e))throw new TypeError("map: Function required for first argument");if(u(t))return i(e,t);if(a(t))return n.map(e,t);if(t&&u(t.map))return t.map(e);if(s(t))return c.map(e,t);throw new TypeError("map: Object, Function or Functor of the same type required for second argument")})},function(e,t,r){var n=r(267);e.exports=function(e){return e&&n(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},function(e,t,r){var n=r(380),i=r(446);e.exports=function(e){return function(t){return n(e)?e.of(t):i(Array,e)?[t]:e(t)}}},function(e,t,r){var n=r(297),i=r(345);e.exports=function(e){return i(e)&&n("of",e)}},function(e,t){function r(e){return function(t,r){var n=e[r];return void 0!==n&&(t[r]=n),t}}e.exports={assign:function(e,t){var n=Object.keys(t).reduce(r(t),{});return Object.keys(e).reduce(r(e),n)},filter:function(e,t){return Object.keys(t).reduce(function(r,n){return e(t[n])&&(r[n]=t[n]),r},{})},map:function(e,t){return Object.keys(t).reduce(function(r,n){return r[n]=e(t[n]),r},{})}}},function(e,t,r){var n=r(270),i=r(267),o=r(347),a=r(348);e.exports=n(function(e,t,r){if(!o(e))throw new TypeError("ifElse: Pred or predicate function required for first argument");if(!i(t)||!i(r))throw new TypeError("ifElse: Functions required for second and third arguments");return function(n){return a(e,n)?t(n):r(n)}})},function(e,t,r){var n=r(270),i=r(314),o=r(305),a=r(288),s=r(316),u=r(284),c=r(384),l=c.Nothing,h=c.Just;e.exports=n(function(e,t){if(!(u(e)&&!o(e)||s(e)))throw new TypeError("prop: Non-empty String or Integer required for first argument");if(a(t))return l();var r=t[e];return i(r)?h(r):l()})},function(e,t,r){var n=r(449),i=r(349),o=r(385),a=r(450),s=r(387),u=r(317).type("Maybe"),c=r(317).typeFn(u(),3),l=r(388),h=r(379),d=r(346),f=r(380),p=r(345),v=r(289),m=r(267),y=r(306),b=function(e){return function(){return e}},_=function(e){return e},g=n({Nothing:[],Just:["a"]}),w=g.Nothing,O=g.Just;P.Nothing=d(P,w),P.Just=d(P,O);var E=d(P,O),S=d(P,w);function x(e){if(!p(e)&&!v(e))throw new TypeError("Maybe.sequence: Must wrap an Apply");return e.map(E)}function P(e){var t;if(!arguments.length)throw new TypeError("Maybe: Must wrap something, try using Nothing or Just constructors");var r=g.includes(e)?e:O(e),n=E,o=S,w=function(e){return k(b(e),_)},T=function(e){return y(P,e)&&k(b(e.either(b(!0),b(!1))),function(t){return e.either(b(!1),function(e){return i(e,t)})})},C=function(){return k(b("Nothing"),function(e){return"Just"+s(e)})};function k(e,t){if(!m(e)||!m(t))throw new TypeError("Maybe.either: Requires both left and right functions");return g.caseOf({Nothing:e,Just:t},r)}function N(e){return function(t){if(!y(P,t))throw new TypeError("Maybe."+e+": Maybe of Semigroup required");return k(P.Nothing,a("Maybe."+e,t))}}function I(e){return function(t){if(!m(t))throw new TypeError("Maybe."+e+": Function required");return k(P.Nothing,d(P.Just,t))}}function A(e){return function(t){if(!y(P,t))throw new TypeError("Maybe."+e+": Maybe required");return k(b(t),P.Just)}}function j(e){return function(t){if(!m(t))throw new TypeError("Maybe."+e+": Function required");var r=k(P.Nothing,t);if(!y(P,r))throw new TypeError("Maybe."+e+": Function must return a Maybe");return r}}return(t={inspect:C,toString:C,either:k,option:w,type:u,equals:T,coalesce:function(e,t){if(!m(e)||!m(t))throw new TypeError("Maybe.coalesce: Requires both left and right functions");return P.Just(k(e,t))},zero:o,ap:function(e){var t=w(b(void 0));if(!m(t))throw new TypeError("Maybe.ap: Wrapped value must be a function");if(!y(P,e))throw new TypeError("Maybe.ap: Maybe required");return k(P.Nothing,e.map)},of:n,sequence:function(e){if(!f(e)&&!m(e))throw new TypeError("Maybe.sequence: Applicative TypeRep or Apply returning function required");var t=h(e);return k(d(t,P.Nothing),x)},traverse:function(e,t){if(!f(e)&&!m(e))throw new TypeError("Maybe.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!m(t))throw new TypeError("Maybe.traverse: Apply returning function required for second argument");var r=h(e),n=k(d(r,P.Nothing),t);if(!p(n)&&!v(n))throw new TypeError("Maybe.traverse: Both functions must return an Apply of the same type");return k(b(n),b(n.map(E)))},alt:A("alt"),chain:j("chain"),concat:N("concat"),map:I("map")})[l.zero]=o,t[l.of]=n,t[l.equals]=T,t[l.alt]=A(l.alt),t[l.concat]=N(l.concat),t[l.map]=I(l.map),t[l.chain]=j(l.chain),t["@@type"]=c,t.constructor=P,t}P.of=E,P.zero=S,P.type=u,P[l.of]=E,P[l.zero]=S,P["@@type"]=c,P["@@implements"]=o(["alt","ap","chain","concat","equals","map","of","traverse","zero"]),e.exports=P},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,r){var n=r(284),i=r(297);e.exports=function(e){return n(e)||!!e&&i("concat",e)}},function(e,t,r){var n=r(289),i=r(267),o=r(315),a=r(284);function s(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":n(e)?" ["+((t=e).length?t.map(s).reduce(function(e,t){return e+","+t}):t)+" ]":o(e)?" { "+Object.keys(e).reduce(function(t,r){return t.concat([r+":"+s(e[r])])},[]).join(", ")+" }":a(e)?' "'+e+'"':" "+e;var t}e.exports=s},function(e,t){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";function n(e){return e=e||[],Array.isArray(e)?e:[e]}function i(e){return`[Vaadin.Router] ${e}`}r.d(t,"a",function(){return ue});var o="module",a="nomodule",s=[o,a];function u(e){if(!e.match(/.+\.[m]?js$/))throw new Error(i(`Unsupported type for bundle "${e}": .js or .mjs expected.`))}function c(e){if(!e||!v(e.path))throw new Error(i('Expected route config to be an object with a "path" string property, or an array of such objects'));var t=e.bundle,r=["component","redirect","bundle"];if(!(p(e.action)||Array.isArray(e.children)||p(e.children)||f(t)||r.some(t=>v(e[t]))))throw new Error(i(`Expected route config "${e.path}" to include either "${r.join('", "')}" `+'or "action" function but none found.'));if(t)if(v(t))u(t);else{if(!s.some(e=>e in t))throw new Error(i('Expected route bundle to include either "'+a+'" or "'+o+'" keys, or both'));s.forEach(e=>e in t&&u(t[e]))}e.redirect&&["bundle","component"].forEach(t=>{t in e&&console.warn(i(`Route config "${e.path}" has both "redirect" and "${t}" properties, `+`and "redirect" will always override the latter. Did you mean to only use "${t}"?`))})}function l(e){n(e).forEach(e=>c(e))}function h(e,t){var r=document.head.querySelector('script[src="'+e+'"][async]');return r||((r=document.createElement("script")).setAttribute("src",e),t===o?r.setAttribute("type",o):t===a&&r.setAttribute(a,""),r.async=!0),new Promise((e,t)=>{r.onreadystatechange=r.onload=(t=>{r.__dynamicImportLoaded=!0,e(t)}),r.onerror=(e=>{r.parentNode&&r.parentNode.removeChild(r),t(e)}),null===r.parentNode?document.head.appendChild(r):r.__dynamicImportLoaded&&e()})}function d(e,t){return!window.dispatchEvent(new CustomEvent(`vaadin-router-${e}`,{cancelable:"go"===e,detail:t}))}function f(e){return"object"==typeof e&&!!e}function p(e){return"function"==typeof e}function v(e){return"string"==typeof e}function m(e){var t=new Error(i(`Page not found (${e.pathname})`));return t.context=e,t.code=404,t}var y=new class{};function b(e){if(!e.defaultPrevented&&0===e.button&&!(e.shiftKey||e.ctrlKey||e.altKey||e.metaKey)){for(var t=e.target,r=e.composedPath?e.composedPath():e.path||[],n=0;n-1&&(f=a[_],a=a.slice(0,_))}a&&(n.push(a),a="",c=!1);var g=""!==f&&void 0!==p&&p!==f,w="+"===b||"*"===b,O="?"===b||"*"===b,E=f||s,S=m||y;n.push({name:v||i++,prefix:f,delimiter:E,optional:O,repeat:w,partial:g,pattern:S?j(S):"[^"+A(E)+"]+?"})}}return(a||o-1;else{var d=A(h.prefix),f=h.repeat?"(?:"+h.pattern+")(?:"+d+"(?:"+h.pattern+"))*":h.pattern;t&&t.push(h),h.optional?h.partial?u+=d+"("+f+")?":u+="(?:"+d+"("+f+"))?":u+=d+"("+f+")"}}return i?(n||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(n||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,R(r))}function F(e,t,r){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n0&&"/"===t.charAt(d)&&(d+=1),a=Q(h,t.substr(d),r,o.keys,o.params)}var f=a.next(c);if(!f.done)return{done:!1,value:f.value};a=null,s++}return{done:!0}}}}function V(e){if(p(e.route.action))return e.route.action(e)}L.set("|false",{keys:[],pattern:/(?:)/});class B{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(e)!==e)throw new TypeError("Invalid routes");this.baseUrl=t.baseUrl||"",this.errorHandler=t.errorHandler,this.resolveRoute=t.resolveRoute||V,this.context=Object.assign({resolver:this},t.context),this.root=Array.isArray(e)?{path:"",__children:e,parent:null,__synthetic:!0}:e,this.root.parent=null}getRoutes(){return[...this.root.__children]}setRoutes(e){l(e);var t=[...n(e)];this.root.__children=t}addRoutes(e){return l(e),this.root.__children.push(...n(e)),this.getRoutes()}removeRoutes(){this.setRoutes([])}resolve(e){var t=Object.assign({},this.context,v(e)?{pathname:e}:e),r=Q(this.root,this.__normalizePathname(t.pathname),this.baseUrl),n=this.resolveRoute,i=null,o=null,a=t;function s(e){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&i.value.route;return i=o||r.next(c),o=null,e||!i.done&&function(e,t){for(var r=t;r;)if((r=r.parent)===e)return!0;return!1}(u,i.value.route)?i.done?Promise.reject(m(t)):(function(e,t){var r=t.route,n=t.path;if(r&&!r.__synthetic){var i={path:n,route:r};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,r)?e.chain.push(i):e.chain=[i]}}(t,i.value),a=Object.assign({},t,i.value),Promise.resolve(n(a)).then(t=>null!=t&&t!==y?(a.result=t.result||t,a):s(e,u,t))):(o=i,Promise.resolve(y))}return t.next=s,Promise.resolve().then(()=>s(!0,this.root)).catch(e=>{var t=function(e){var t=`Path '${e.pathname}' is not properly resolved due to an error.`,r=(e.route||{}).path;return r&&(t+=` Resolution had failed on route: '${r}'`),t}(a);if(e?console.warn(t):e=new Error(t),e.context=e.context||a,e instanceof DOMException||(e.code=e.code||500),this.errorHandler)return a.result=this.errorHandler(e),a;throw e})}static __createUrl(e,t){return new URL(e,t)}get __effectiveBaseUrl(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}__normalizePathname(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,r=this.constructor.__createUrl(e,t).href;return r.slice(0,t.length)===t?r.slice(t.length):void 0}}B.pathToRegexp=O;var U=B.pathToRegexp,z=new Map;function H(e,t){var r=e.get(t);if(r&&r.length>1)throw new Error(`Duplicate route with name "${t}".`+" Try seting unique 'name' route properties.");return r&&r[0]}function $(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof B))throw new TypeError("An instance of Resolver is expected");var r=new Map;return(n,i)=>{var o=H(r,n);if(!(o||(r.clear(),function e(t,r,n){var i=r.name||r.component;if(i&&(t.has(i)?t.get(i).push(r):t.set(i,[r])),Array.isArray(n))for(var o=0;oe.inactivate()),e.forEach(e=>e.activate()),J=e}var W=e=>{var t=getComputedStyle(e).getPropertyValue("animation-name");return t&&"none"!==t},Y=(e,t)=>{var r=()=>{e.removeEventListener("animationend",r),t()};e.addEventListener("animationend",r)};function X(e,t){return e.classList.add(t),new Promise(r=>{if(W(e)){var n=e.getBoundingClientRect(),i=`height: ${n.bottom-n.top}px; width: ${n.right-n.left}px`;e.setAttribute("style",`position: absolute; ${i}`),Y(e,()=>{e.classList.remove(t),e.removeAttribute("style"),r()})}else e.classList.remove(t),r()})}var Z=256;function ee(e){return null!=e}function te(e,t){var r=e.pathname,n=void 0===r?"":r,i=e.chain,o=void 0===i?[]:i,a=e.params,s=void 0===a?{}:a,u=e.redirectFrom,c=e.resolver,l=o.map(e=>e.route);return{baseUrl:c&&c.baseUrl||"",pathname:n,routes:l,route:t||l.length&&l[l.length-1]||null,params:s,redirectFrom:u,getUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ae(ue.pathToRegexp.compile(se(l))(Object.assign({},s,e)),c)}}}function re(e,t){var r=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:r}}}function ne(e,t,r){if(p(e))return e.apply(r,t)}function ie(e,t,r){return n=>n&&(n.cancel||n.redirect)?n:r?ne(r[e],t,r):void 0}function oe(e){if(e&&e.length)for(var t=e[0].parentNode,r=0;re.path).reduce((e,t)=>t.length?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):e,"")}class ue extends B{constructor(e,t){var r=document.head.querySelector("base");super([],Object.assign({baseUrl:r&&r.getAttribute("href")},t)),this.resolveRoute=(e=>this.__resolveRoute(e));var n=ue.NavigationTrigger;ue.setTriggers.apply(ue,Object.keys(n).map(e=>n[e])),this.baseUrl,this.ready,this.ready=Promise.resolve(e),this.location,this.location=te({resolver:this}),this.__lastStartedRenderId=0,this.__navigationEventHandler=this.__onNavigationEvent.bind(this),this.setOutlet(e),this.subscribe()}__resolveRoute(e){var t=e.route,r=Promise.resolve();p(t.children)&&(r=r.then(()=>t.children(function(e){var t=Object.assign({},e);return delete t.next,t}(e))).then(e=>{ee(e)||p(t.children)||(e=t.children),function(e,t){if(!Array.isArray(e)&&!f(e))throw new Error(i(`Incorrect "children" value for the route ${t.path}: expected array or object, but got ${e}`));t.__children=[];for(var r=n(e),o=0;ore(e,t),component:t=>(function(e,t){var r=document.createElement(t);r.location=te(e);var n=e.chain.map(e=>e.route).indexOf(e.route);return e.chain[n].element=r,r})(e,t)};return r.then(()=>ne(t.action,[e,o],t)).then(e=>ee(e)&&(e instanceof HTMLElement||e.redirect||e===y)?e:v(t.redirect)?o.redirect(t.redirect):t.bundle?function(e){return v(e)?h(e):Promise.race(s.filter(t=>t in e).map(t=>h(e[t],t)))}(t.bundle).then(()=>{},()=>{throw new Error(i(`Bundle not found: ${t.bundle}. Check if the file name is correct`))}):void 0).then(e=>ee(e)?e:v(t.component)?o.component(t.component):void 0)}setOutlet(e){e&&this.__ensureOutlet(e),this.__outlet=e}getOutlet(){return this.__outlet}setRoutes(e){this.__urlForName=void 0,super.setRoutes(e),this.__onNavigationEvent()}render(e,t){var r=++this.__lastStartedRenderId,n=e.pathname||e;return this.ready=this.resolve(e).then(e=>this.__fullyResolveChain(e)).then(e=>{if(r===this.__lastStartedRenderId){var n=this.__previousContext;if(e===n)return this.location;this.location=te(e),d("location-changed",{router:this,location:this.location}),t&&this.__updateBrowserHistory(e.pathname,e.redirectFrom),this.__addAppearingContent(e,n);var i=this.__animateIfNeeded(e);return this.__runOnAfterEnterCallbacks(e),this.__runOnAfterLeaveCallbacks(e,n),i.then(()=>{if(r===this.__lastStartedRenderId)return this.__removeDisappearingContent(),this.__previousContext=e,this.location})}}).catch(e=>{if(r===this.__lastStartedRenderId)throw t&&this.__updateBrowserHistory(n),oe(this.__outlet&&this.__outlet.children),this.location=te({pathname:n,resolver:this}),d("error",{router:this,error:e,pathname:n}),e}),this.ready}__fullyResolveChain(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(t).then(r=>{var n=r!==t?r:e;return r.next().then(e=>{if((null===e||e===y)&&ae(se(r.chain),r.resolver)!==r.pathname)throw m(n);return e&&e!==y?this.__fullyResolveChain(n,e):this.__amendWithOnBeforeCallbacks(n)})})}__amendWithResolutionResult(e){var t=e.result;return t instanceof HTMLElement?Promise.resolve(e):t.redirect?this.__redirect(t.redirect,e.__redirectCount).then(e=>this.__amendWithResolutionResult(e)):t instanceof Error?Promise.reject(t):Promise.reject(new Error(i(`Invalid route resolution result for path "${e.pathname}". `+`Expected redirect object or HTML element, but got: "${function(e){if("object"!=typeof e)return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?`${t} ${JSON.stringify(e)}`:t}(t)}". `+"Double check the action return value for the route.")))}__amendWithOnBeforeCallbacks(e){return this.__runOnBeforeCallbacks(e).then(t=>t===this.__previousContext||t===e?t:this.__fullyResolveChain(t))}__runOnBeforeCallbacks(e){var t=(this.__previousContext||{}).chain||[],r=e.chain,n=Promise.resolve(),i=()=>({cancel:!0}),o=t=>re(e,t);if(e.__divergedChainIndex=0,t.length){for(var a=0;a=e.__divergedChainIndex;s--){var u=te(e);n=n.then(ie("onBeforeLeave",[u,{prevent:i},this],t[s].element)).then(e=>{if(!(e||{}).redirect)return e})}}for(var c=e.__divergedChainIndex;c{if(t){if(t.cancel)return this.__previousContext;if(t.redirect)return this.__redirect(t.redirect,e.__redirectCount)}return e})}__redirect(e,t){if(t>Z)throw new Error(i(`Too many redirects when rendering ${e.from}`));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}__ensureOutlet(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(i(`Expected router outlet to be a valid DOM Node (but got ${e})`))}__updateBrowserHistory(e,t){if(window.location.pathname!==e){var r=t?"replaceState":"pushState";window.history[r](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}__addAppearingContent(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var r=this.__outlet,n=0;n=e.__divergedChainIndex;r--){var n=t.chain[r].element;if(n)try{var i=te(e);ne(n.onAfterLeave,[i,{},t.resolver],n)}finally{oe(n.children)}}}__runOnAfterEnterCallbacks(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(r&&n&&t){var s=f(t)&&t.leave||"leaving",u=f(t)&&t.enter||"entering";i.push(X(r,s)),i.push(X(n,u))}return Promise.all(i).then(()=>e)}subscribe(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}unsubscribe(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}__onNavigationEvent(e){var t=e?e.detail.pathname:window.location.pathname;v(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}static setTriggers(){for(var e=arguments.length,t=new Array(e),r=0;r=0&&!le(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(e=>window.Vaadin.Flow.clients[e]).filter(e=>e.productionMode);if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),he(de),ue.NavigationTrigger={POPSTATE:w,CLICK:_}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r1,i=!1,o=arguments[1];return new r(function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=h(t,c);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return f(i)&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(a("iterator")&&(n=h(t,u)))return new r(function(e){v(function(){if(!e.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else r(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,r){if("function"==typeof e)try{return t(e.call(null))}catch(e){return r(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){r.checkOperationOptions(e,t),r.operations[n]&&(r.operations[n]={options:e,handler:t},r.sendMessage(n,y.default.GQL_START,e))}).catch(function(e){r.unsubscribe(n),t(r.formatErrors(e))}),n},e.prototype.getObserver=function(e,t,r){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return r&&r()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var r=e.query,n=e.variables,i=e.operationName;if(!r)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(r)&&!f.getOperationAST(r,i)||i&&!l.default(i)||n&&!h.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,r){return{id:e,type:t,payload:r&&r.query?n({},r,{query:"string"==typeof r.query?r.query:d.print(r.query)}):r}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,r){this.sendMessageRaw(this.buildMessage(e,t,r))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,y.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,v.GRAPHQL_WS),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=r.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=r.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var r=t.data;e.processReceivedData(r)}},e.prototype.processReceivedData=function(e){var t,r;try{r=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[y.default.GQL_DATA,y.default.GQL_COMPLETE,y.default.GQL_ERROR].indexOf(t.type)||this.operations[r])switch(t.type){case y.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case y.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case y.default.GQL_COMPLETE:this.operations[r].handler(null,null),delete this.operations[r];break;case y.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(t.payload),null),delete this.operations[r];break;case y.default.GQL_DATA:var i=t.payload.errors?n({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[r].handler(null,i);break;case y.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,y.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,r(296))},function(e,t){function r(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=r,r.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(e){this.ms=e},r.prototype.setMax=function(e){this.max=e},r.prototype.setJitter=function(e){this.jitter=e}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,n,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},c.prototype.listeners=function(e){var t=i?i+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);nthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},function(e,t,r){"use strict";r.r(t),r.d(t,"tuple",function(){return f}),r.d(t,"lookup",function(){return h}),r.d(t,"lookupArray",function(){return d});var n="function"==typeof Symbol&&"function"==typeof Symbol.for,i=n?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=n?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,r,n){return Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!1,configurable:!1}),r}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function h(){return d(arguments)}function d(e){for(var t=l,r=e.length,n=0;n0&&(t=[],e.childValues.forEach(function(r,n){w(e,n),t.push(n)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),y(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[],n=-1,i=-1,o=0,a=e.length;o=t&&r.push([n,i]),n=-1)}return e[o-1]&&o-n>=t&&r.push([n,o-1]),r}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},r=e.length,n=0;n2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(r,"\\$&").replace(n,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=A;M-=1){var F=M-1,q=r[e.charAt(F)];if(q&&(w[F]=1),R[M]=(R[M+1]<<1|1)&q,0!==k&&(R[M]|=(x[M+1]|x[M])<<1|1|x[M+1]),R[M]&C&&(P=n(t,{errors:k,currentLocation:F,expectedLocation:m,distance:c}))<=b){if(b=P,(_=F)<=m)break;A=Math.max(1,2*m-_)}}if(n(t,{errors:k+1,currentLocation:m,expectedLocation:m,distance:c})>b)break;x=R}return{isMatch:_>=0,score:0===P?.001:P,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,r){function n(e,t){for(var r=0;rr)return i(e,this.pattern,n);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,h=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:h})}}])&&n(t.prototype,r),s&&n(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,r){var n=r("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,r,i){if(r){var o=r.indexOf("."),a=r,s=null;-1!==o&&(a=r.slice(0,o),s=r.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(n(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var r=this._prepareSearchers(e),n=r.tokenSearchers,i=r.fullSearcher,o=this._search(n,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var r=e.split(this.options.tokenSeparator),n=0,i=r.length;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=this.list,n={},i=[];if("string"==typeof r[0]){for(var o=0,a=r.length;o1)throw new Error("Key weight has to be > 0 and <= 1");f=f.name}else s[f]={weight:1};this._analyze({key:f,value:this.options.getFn(l,f),record:l,index:u},{resultMap:n,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var r=e.key,n=e.arrayIndex,i=void 0===n?-1:n,o=e.value,a=e.record,u=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,h=t.fullSearcher,d=void 0===h?[]:h,f=t.resultMap,p=void 0===f?{}:f,v=t.results,m=void 0===v?[]:v;if(null!=o){var y=!1,b=-1,_=0;if("string"==typeof o){this._log("\nKey: ".concat(""===r?"-":r));var g=d.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],E=0;E-1&&(A=(A+b)/2),this._log("Score average:",A);var j=!this.options.tokenize||!this.options.matchAllTokens||_>=l.length;if(this._log("\nCheck Matches: ".concat(j)),(y||g.isMatch)&&j){var R=p[u];R?R.output.push({key:r,arrayIndex:i,value:o,score:A,matchedIndices:g.matchedIndices}):(p[u]={item:a,output:[{key:r,arrayIndex:i,value:o,score:A,matchedIndices:g.matchedIndices}]},m.push(p[u]))}}else if(s(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;oObject(i.b)(e,t),flushCustomStyles(){},nativeCss:o.c,nativeShadow:o.d,cssBuild:o.a,disableRuntime:o.b}),window.ShadyCSS.CustomStyleInterface=a,window.JSCompiler_renameProperty=function(e,t){return e};var s,u,c=/(url\()([^)]*)(\))/g,l=/(^\/)|(^#)|(^[\w-\d]*:)/;function h(e,t){if(e&&l.test(e))return e;if(void 0===s){s=!1;try{var r=new URL("b","http://a");r.pathname="c%20d",s="http://a/c%20d"===r.href}catch(e){}}return t||(t=document.baseURI||window.location.href),s?new URL(e,t).href:(u||((u=document.implementation.createHTMLDocument("temp")).base=u.createElement("base"),u.head.appendChild(u.base),u.anchor=u.createElement("a"),u.body.appendChild(u.anchor)),u.base.href=t,u.anchor.href=e,u.anchor.href||e)}function d(e,t){return e.replace(c,function(e,r,n,i){return r+"'"+h(n.replace(/["']/g,""),t)+"'"+i})}function f(e){return e.substring(0,e.lastIndexOf("/")+1)}window.ShadyDOM,Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback;var p=f(document.baseURI||window.location.href),v=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,m=!1,y=!1,b={},_={};function g(e,t){b[e]=_[e.toLowerCase()]=t}function w(e){return b[e]||_[e.toLowerCase()]}class O extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){var r=w(e);return r&&t?r.querySelector(t):r}return null}attributeChangedCallback(e,t,r,n){t!==r&&this.register()}get assetpath(){if(!this.__assetpath){var e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=h(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=f(t)}return this.__assetpath}register(e){if(e=e||this.id){if(m&&void 0!==w(e))throw g(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,g(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}O.prototype.modules=b,customElements.define("dom-module",O);var E="link[rel=import][type~=css]",S="include",x="shady-unscoped";function P(e){return O.import(e)}function T(e){var t=d((e.body?e.body:e).textContent,e.baseURI),r=document.createElement("style");return r.textContent=t,r}function C(e){for(var t=e.trim().split(/\s+/),r=[],n=0;n\n \n\n \n\n \n',document.head.appendChild(F.content);var q=document.createElement("template");q.innerHTML="\n \n",document.head.appendChild(q.content);var L=document.createElement("template");L.innerHTML="\n \n",document.head.appendChild(L.content);var D=document.createElement("template");D.innerHTML='\n \n',document.head.appendChild(D.content);var Q=0;function V(){}V.prototype.__mixinApplications,V.prototype.__mixinSet;var B=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var r=Q++;function n(n){var i=n.__mixinSet;if(i&&i[r])return n;var o=t,a=o.get(n);a||(a=e(n),o.set(n,a));var s=Object.create(a.__mixinSet||i||null);return s[r]=!0,a.__mixinSet=s,a}return n};function U(e){return e.indexOf(".")>=0}function z(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function H(e,t){return 0===e.indexOf(t+".")}function $(e,t){return 0===t.indexOf(e+".")}function G(e,t,r){return t+r.slice(e.length)}function J(e){if(Array.isArray(e)){for(var t=[],r=0;r1){for(var a=0;ae[1].toUpperCase()))}function re(e){return X[e]||(X[e]=e.replace(ee,"-$1").toLowerCase())}var ne=0,ie=0,oe=[],ae=0,se=document.createTextNode("");new window.MutationObserver(function(){for(var e=oe.length,t=0;t{throw e})}}oe.splice(0,e),ie+=e}).observe(se,{characterData:!0});for(var ue={run:e=>window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16),cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},ce={run:e=>(se.textContent=ae++,oe.push(e),ne++),cancel(e){var t=e-ie;if(t>=0){if(!oe[t])throw new Error("invalid async handle: "+e);oe[t]=null}}},le=ce,he=B(e=>{return class extends e{static createProperties(e){var t=this.prototype;for(var r in e)r in t||t._createPropertyAccessor(r)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){var t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(var e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,r){var n=this.__data[e],i=this._shouldPropertyChange(e,t,n);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||e in this.__dataOld||(this.__dataOld[e]=n),this.__data[e]=t,this.__dataPending[e]=t),i}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,le.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){var e=this.__data,t=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(e,t,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,r))}_shouldPropertiesChange(e,t,r){return Boolean(t)}_propertiesChanged(e,t,r){}_shouldPropertyChange(e,t,r){return r!==t&&(r==r||t==t)}attributeChangedCallback(e,t,r,n){t!==r&&this._attributeToProperty(e,r),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,r,n)}_attributeToProperty(e,t,r){if(!this.__serializing){var n=this.__dataAttributes,i=n&&n[e]||e;this[i]=this._deserializeValue(t,r||this.constructor.typeForProperty(i))}}_propertyToAttribute(e,t,r){this.__serializing=!0,r=arguments.length<3?this[e]:r,this._valueToNodeAttribute(this,r,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,r){var n=this._serializeValue(t);void 0===n?e.removeAttribute(r):e.setAttribute(r,n)}_serializeValue(e){switch(typeof e){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}}),de={},fe=HTMLElement.prototype;fe;){for(var pe=Object.getOwnPropertyNames(fe),ve=0;ve{var t=he(e);return class extends t{static createPropertiesForAttributes(){for(var e=this.observedAttributes,t=0;t{return class extends e{static _parseTemplate(e,t){if(!e._templateInfo){var r=e._templateInfo={};r.nodeInfoList=[],r.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,r,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,r){return this._parseTemplateNode(e.content,t,r)}static _parseTemplateNode(e,t,r){var n,i=e;return"template"!=i.localName||i.hasAttribute("preserve-content")?"slot"===i.localName&&(t.hasInsertionPoint=!0):n=this._parseTemplateNestedTemplate(i,t,r)||n,i.firstChild&&(n=this._parseTemplateChildNodes(i,t,r)||n),i.hasAttributes&&i.hasAttributes()&&(n=this._parseTemplateNodeAttributes(i,t,r)||n),n}static _parseTemplateChildNodes(e,t,r){if("script"!==e.localName&&"style"!==e.localName)for(var n,i=e.firstChild,o=0;i;i=n){if("template"==i.localName&&(i=be(i)),n=i.nextSibling,i.nodeType===Node.TEXT_NODE){for(var a=n;a&&a.nodeType===Node.TEXT_NODE;)i.textContent+=a.textContent,n=a.nextSibling,e.removeChild(a),a=n;if(t.stripWhiteSpace&&!i.textContent.trim()){e.removeChild(i);continue}}var s={parentIndex:o,parentInfo:r};this._parseTemplateNode(i,t,s)&&(s.infoIndex=t.nodeInfoList.push(s)-1),i.parentNode&&o++}}static _parseTemplateNestedTemplate(e,t,r){var n=this._parseTemplate(e,t);return(n.content=e.content.ownerDocument.createDocumentFragment()).appendChild(e.content),r.templateInfo=n,!0}static _parseTemplateNodeAttributes(e,t,r){for(var n,i=!1,o=Array.from(e.attributes),a=o.length-1;n=o[a];a--)i=this._parseTemplateNodeAttribute(e,t,r,n.name,n.value)||i;return i}static _parseTemplateNodeAttribute(e,t,r,n,i){return"on-"===n.slice(0,3)?(e.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:i}),!0):"id"===n&&(r.id=i,!0)}static _contentForTemplate(e){var t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);var t=this.constructor._parseTemplate(e),r=t.nodeInfoList,n=t.content||e.content,i=document.importNode(n,!0);i.__noInsertionPoint=!t.hasInsertionPoint;var o=i.nodeList=new Array(r.length);i.$={};for(var a,s=0,u=r.length;sc.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=r[t];t=G(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,r,n,i){i=function(e,t,r,n){if(r.isCompound){var i=e.__dataCompoundStorage[r.target];i[n.compoundIndex]=t,t=i.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,r,n),v&&(i=v(i,r.target,r.kind,t));if("attribute"==r.kind)e._valueToNodeAttribute(t,i,r.target);else{var o=r.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[xe.READ_ONLY]&&t[xe.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,r,n,o))}}function Qe(e,t){if(t.isCompound){for(var r=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),n=t.parts,i=new Array(n.length),o=0;o="0"&&n<="9"&&(n="#"),n){case"'":case'"':r.value=t.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(t),r.literal=!0}return r.literal||(r.rootProperty=z(t),r.structured=U(t),r.structured&&(r.wildcard=".*"==t.slice(-2),r.wildcard&&(r.name=t.slice(0,-2)))),r}function Ke(e,t,r,n){var i=r+".splices";e.notifyPath(i,{indexSplices:n}),e.notifyPath(r+".length",t.length),e.__data[i]={indexSplices:null}}function We(e,t,r,n,i,o){Ke(e,t,r,[{index:n,addedCount:i,removed:o,object:t,type:"splice"}])}var Ye=B(e=>{var t=Ee(me(e));class r extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataCounter=0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo}get PROPERTY_EFFECT_TYPES(){return xe}_initializeProperties(){super._initializeProperties(),Xe.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){var t=this[xe.READ_ONLY];for(var r in e)t&&t[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=e[r])}_addPropertyEffect(e,t,r){this._createPropertyAccessor(e,t==xe.READ_ONLY);var n=Te(this,t)[e];n||(n=this[t][e]=[]),n.push(r)}_removePropertyEffect(e,t,r){var n=Te(this,t)[e],i=n.indexOf(r);i>=0&&n.splice(i,1)}_hasPropertyEffect(e,t){var r=this[t];return Boolean(r&&r[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,xe.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,xe.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,xe.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,xe.COMPUTE)}_setPendingPropertyOrPath(e,t,r,n){if(n||z(Array.isArray(e)?e[0]:e)!==e){if(!n){var i=W(this,e);if(!(e=Y(this,e,t))||!super._shouldPropertyChange(e,t,i))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,r))return function(e,t,r){var n,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];$(o,t)?(n=G(o,a,t),e._setPendingPropertyOrPath(n,r,!0,!0)):$(a,t)&&(n=G(a,o,t),e._setPendingPropertyOrPath(n,r,!0,!0))}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,r);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,r){r===e[t]&&"object"!=typeof r||(e[t]=r)}_setPendingProperty(e,t,r){var n=this.__dataHasPaths&&U(e),i=n?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),n?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(n||this[xe.NOTIFY]&&this[xe.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=r),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushProperties(){this.__dataCounter++,super._flushProperties(),this.__dataCounter--}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?n-3:0),o=3;o1?n-1:0),o=1;oi&&n.push({literal:e.slice(i,r.index)});var o=r[1][0],a=Boolean(r[2]),s=r[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var h=Ge(s),d=[];if(h){for(var f=h.args,p=h.methodName,v=0;v{var t=he(e);function r(e){var t=Object.getPrototypeOf(e);return t.prototype instanceof i?t:null}function n(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){var t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){var r=e.properties;r&&(t=function(e){var t={};for(var r in e){var n=e[r];t[r]="function"==typeof n?{type:n}:n}return t}(r))}e.__ownProperties=t}return e.__ownProperties}class i extends t{static get observedAttributes(){var e=this._properties;return e?Object.keys(e).map(e=>this.attributeNameForProperty(e)):[]}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){var e=r(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){var e=n(this);e&&this.createProperties(e)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){var e=r(this);this.__properties=Object.assign({},e&&e._properties,n(this))}return this.__properties}static typeForProperty(e){var t=this._properties[e];return t&&t.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i}),et="3.0.5",tt=B(e=>{var t=Ze(Ye(e));function r(e,t,r,n){for(var i,o=t.content.querySelectorAll("style"),a=N(t),s=(i=P(r))?I(i):[],u=t.content.firstElementChild,c=0;c1?r-1:0),i=1;it+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof nt)return it(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(r)+e[n+1],e[0]),t},at=tt(HTMLElement),st=e=>(class extends e{static get properties(){return{theme:{type:String,readOnly:!0}}}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"theme"===e&&this._setTheme(r)}}),ut=e=>(class extends(st(e)){static finalize(){super.finalize();var e=this.prototype._template,t=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,r=Object.getPrototypeOf(this.prototype)._template;r&&!t&&Array.from(r.content.querySelectorAll("style[include]")).forEach(t=>{this._includeStyle(t.getAttribute("include"),e)}),this._includeMatchingThemes(e)}static _includeMatchingThemes(e){var t=O.prototype.modules,r=!1,n=this.is+"-default-theme";Object.keys(t).sort((e,t)=>{var r=0===e.indexOf("vaadin-"),n=0===t.indexOf("vaadin-"),i=["lumo-","material-"],o=i.filter(t=>0===e.indexOf(t)).length>0,a=i.filter(e=>0===t.indexOf(e)).length>0;return r!==n?r?-1:1:o!==a?o?-1:1:0}).forEach(i=>{if(i!==n){var o=t[i].getAttribute("theme-for");o&&o.split(" ").forEach(t=>{new RegExp("^"+t.split("*").join(".*")+"$").test(this.is)&&(r=!0,this._includeStyle(i,e))})}}),!r&&t[n]&&this._includeStyle(n,e)}static _includeStyle(e,t){if(t&&!t.content.querySelector(`style[include="${e}"]`)){var r=document.createElement("style");r.setAttribute("include",e),t.content.appendChild(r)}}});function ct(e,t,r){return{index:e,removed:t,addedCount:r}}var lt=0,ht=1,dt=2,ft=3;function pt(e,t,r,n,i,o){var a,s=0,u=0,c=Math.min(r-t,o-i);if(0==t&&0==i&&(s=function(e,t,r){for(var n=0;n0||r>0;)if(0!=t)if(0!=r){var o=e[t-1][r-1],a=e[t-1][r],s=e[t][r-1],u=void 0;(u=amt(e)?(e=e).assignedNodes({flatten:!0}):[e]).reduce((e,t)=>e.concat(t),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=(()=>{this._schedule()}),this.connect(),this._schedule()}connect(){mt(this._target)?this._listenSlots([this._target]):this._target.children&&(this._listenSlots(this._target.children),window.ShadyDOM?this._shadyChildrenObserver=ShadyDOM.observeChildren(this._target,e=>{this._processMutations(e)}):(this._nativeChildrenObserver=new MutationObserver(e=>{this._processMutations(e)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){mt(this._target)?this._unlistenSlots([this._target]):this._target.children&&(this._unlistenSlots(this._target.children),window.ShadyDOM&&this._shadyChildrenObserver?(ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,ce.run(()=>this.flush()))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(var t=0;t(class extends e{static get properties(){return{_hasVaadinListMixin:{value:!0},selected:{type:Number,reflectToAttribute:!0,notify:!0},orientation:{type:String,reflectToAttribute:!0,value:""},items:{type:Array,readOnly:!0,notify:!0}}}static get observers(){return["_enhanceItems(items, orientation, selected)"]}ready(){super.ready(),this.addEventListener("keydown",e=>this._onKeydown(e)),this.addEventListener("click",e=>this._onClick(e)),this._observer=new yt(this,e=>{this._setItems(this._filterItems(Array.from(this.children)))})}_enhanceItems(e,t,r){if(e){this.setAttribute("aria-orientation",t||"vertical"),this.items.forEach(e=>{t?e.setAttribute("orientation",t):e.removeAttribute("orientation"),e.updateStyles()}),this._setFocusable(r);var n=e[r];e.forEach(e=>e.selected=e===n),n&&!n.disabled&&this._scrollToItem(r)}}get focused(){return this.getRootNode().activeElement}_filterItems(e){return e.filter(e=>e._hasVaadinItemMixin)}_onClick(e){if(!(e.metaKey||e.shiftKey||e.ctrlKey)){var t,r=this._filterItems(e.composedPath())[0];r&&!r.disabled&&(t=this.items.indexOf(r))>=0&&(this.selected=t)}}_onKeydown(e){if(!e.metaKey&&!e.ctrlKey){var t,r,n=e.key.replace(/^Arrow/,""),i=this.items.indexOf(this.focused),o=e=>!e.disabled;this._vertical&&"Up"===n||!this._vertical&&"Left"===n?(r=-1,t=i-1):this._vertical&&"Down"===n||!this._vertical&&"Right"===n?(r=1,t=i+1):"Home"===n?(r=1,t=0):"End"===n?(r=-1,t=this.items.length-1):1==n.length&&(r=1,t=i+1,o=(e=>!e.disabled&&0===e.textContent.trim().toLowerCase().indexOf(n.toLowerCase()))),(t=this._getAvailableIndex(t,r,o))>=0&&(this._focus(t),e.preventDefault())}}_getAvailableIndex(e,t,r){for(var n=this.items.length,i=0;"number"==typeof e&&i=n&&(e=0),r(this.items[e]))return e}return-1}_setFocusable(e){e=this._getAvailableIndex(e,1,e=>!e.disabled);var t=this.items[e]||this.items[0];this.items.forEach(e=>e.tabIndex=e===t?0:-1)}_focus(e){var t=this.items[e];this.items.forEach(e=>e.focused=e===t),this._setFocusable(e),this._scrollToItem(e),t.focus()}focus(){this._observer.flush();var e=this.querySelector('[tabindex="0"]')||this.items[0];e&&e.focus()}get _scrollerElement(){}_scrollToItem(e){var t=this.items[e];if(t){var r=this._vertical?["top","bottom"]:["left","right"],n=this._scrollerElement.getBoundingClientRect(),i=(this.items[e+1]||t).getBoundingClientRect(),o=(this.items[e-1]||t).getBoundingClientRect(),a=0;i[r[1]]>=n[r[1]]?a=i[r[1]]-n[r[1]]:o[r[0]]<=n[r[0]]&&(a=o[r[0]]-n[r[0]]),this._scroll(a)}}get _vertical(){return"horizontal"!==this.orientation}_scroll(e){this._scrollerElement["scroll"+(this._vertical?"Top":"Left")]+=e}});class _t{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(()=>{this._timer=null,this._callback()})}cancel(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(e,t,r){return e instanceof _t?e.cancel():e=new _t,e.setConfig(t,r),e}}var gt=[];var wt=/\/\*\*\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i;function Ot(e,t){if("function"==typeof e){var r=wt.exec(e.toString());if(r)try{e=new Function(r[1])}catch(e){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",e)}return e(t)}}window.Vaadin=window.Vaadin||{};var Et=function(e,t){if(window.Vaadin.developmentMode)return Ot(e,t)};function St(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=function(){try{return localStorage.getItem("vaadin.developmentmode.force")||["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0&&!Ot(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(e=>window.Vaadin.Flow.clients[e]).filter(e=>e.productionMode);if(e.length>0)return!0}return!1}()}catch(e){return!1}}());var xt,Pt=function(){return Et(St)};window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Pt&&Pt()};var Tt=e=>(class extends e{static _finalizeClass(){var e;super._finalizeClass(),this.is&&(window.Vaadin.registrations.push(this),window.Vaadin.developmentModeCallback&&(xt=_t.debounce(xt,ue,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),e=xt,gt.push(e)))}ready(){super.ready(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add to the HTML document.')}});class Ct extends(Tt(bt(ut(at)))){static get template(){return ot` - -
- -
-`}static get is(){return"vaadin-list-box"}static get version(){return"1.1.0"}static get properties(){return{orientation:{readOnly:!0}}}ready(){super.ready(),this.setAttribute("role","list")}get _scrollerElement(){return this.shadowRoot.querySelector('[part="items"]')}}customElements.define(Ct.is,Ct)},,function(e,t,r){"use strict";r.r(t);var n=r(368),i=r(369);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,r){this.body=e,this.name=t||"GraphQL request",this.locationOffset=r||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index0&&m(t[0]);)t.shift();for(;t.length>0&&m(t[t.length-1]);)t.pop();return t.join("\n")}function v(e){for(var t=0;t",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function w(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}var O=String.prototype.charCodeAt,E=String.prototype.slice;function S(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}function x(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function P(e,t){var r=e.source,n=r.body,i=n.length,o=function(e,t,r){var n=e.length,i=t;for(;i=i)return new S(g.EOF,i,i,a,s,t);var u=O.call(n,o);switch(u){case 33:return new S(g.BANG,o,o+1,a,s,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do{o=O.call(a,++s)}while(null!==o&&(o>31||9===o));return new S(g.COMMENT,t,s,r,n,i,E.call(a,t+1,s))}(r,o,a,s,t);case 36:return new S(g.DOLLAR,o,o+1,a,s,t);case 38:return new S(g.AMP,o,o+1,a,s,t);case 40:return new S(g.PAREN_L,o,o+1,a,s,t);case 41:return new S(g.PAREN_R,o,o+1,a,s,t);case 46:if(46===O.call(n,o+1)&&46===O.call(n,o+2))return new S(g.SPREAD,o,o+3,a,s,t);break;case 58:return new S(g.COLON,o,o+1,a,s,t);case 61:return new S(g.EQUALS,o,o+1,a,s,t);case 64:return new S(g.AT,o,o+1,a,s,t);case 91:return new S(g.BRACKET_L,o,o+1,a,s,t);case 93:return new S(g.BRACKET_R,o,o+1,a,s,t);case 123:return new S(g.BRACE_L,o,o+1,a,s,t);case 124:return new S(g.PIPE,o,o+1,a,s,t);case 125:return new S(g.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&null!==(u=O.call(o,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new S(g.NAME,t,s,r,n,i,E.call(o,t,s))}(r,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a=e.body,s=r,u=t,c=!1;45===s&&(s=O.call(a,++u));if(48===s){if((s=O.call(a,++u))>=48&&s<=57)throw f(e,u,"Invalid number, unexpected digit after 0: ".concat(x(s),"."))}else u=T(e,u,s),s=O.call(a,u);46===s&&(c=!0,s=O.call(a,++u),u=T(e,u,s),s=O.call(a,u));69!==s&&101!==s||(c=!0,43!==(s=O.call(a,++u))&&45!==s||(s=O.call(a,++u)),u=T(e,u,s));return new S(c?g.FLOAT:g.INT,t,u,n,i,o,E.call(a,t,u))}(r,o,u,a,s,t);case 34:return 34===O.call(n,o+1)&&34===O.call(n,o+2)?function(e,t,r,n,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=O.call(n,++i)}while(o>=48&&o<=57);return i}throw f(e,i,"Invalid number, expected digit but got: ".concat(x(o),"."))}function C(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(S,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var k=r(370),N=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function I(e,t){var r="string"==typeof e?new u(e):e;if(!(r instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(n.a)(r)));return function(e){var t=e.token;return{kind:k.a.DOCUMENT,definitions:Pe(e,g.SOF,M,g.EOF),loc:ye(e,t)}}(y(r,t||{}))}function A(e,t){var r=y("string"==typeof e?new u(e):e,t||{});we(r,g.SOF);var n=J(r,!1);return we(r,g.EOF),n}function j(e,t){var r=y("string"==typeof e?new u(e):e,t||{});we(r,g.SOF);var n=te(r);return we(r,g.EOF),n}function R(e){var t=we(e,g.NAME);return{kind:k.a.NAME,value:t.value,loc:ye(e,t)}}function M(e){if(_e(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return F(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return ne(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"schema");var r=Z(e,!0),n=_e(e,g.BRACE_L)?Pe(e,g.BRACE_L,ae,g.BRACE_R):[];if(0===r.length&&0===n.length)throw Se(e);return{kind:k.a.SCHEMA_EXTENSION,directives:r,operationTypes:n,loc:ye(e,t)}}(e);case"scalar":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"scalar");var r=R(e),n=Z(e,!0);if(0===n.length)throw Se(e);return{kind:k.a.SCALAR_TYPE_EXTENSION,name:r,directives:n,loc:ye(e,t)}}(e);case"type":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"type");var r=R(e),n=se(e),i=Z(e,!0),o=ue(e);if(0===n.length&&0===i.length&&0===o.length)throw Se(e);return{kind:k.a.OBJECT_TYPE_EXTENSION,name:r,interfaces:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"interface":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"interface");var r=R(e),n=Z(e,!0),i=ue(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.INTERFACE_TYPE_EXTENSION,name:r,directives:n,fields:i,loc:ye(e,t)}}(e);case"union":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"union");var r=R(e),n=Z(e,!0),i=de(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.UNION_TYPE_EXTENSION,name:r,directives:n,types:i,loc:ye(e,t)}}(e);case"enum":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"enum");var r=R(e),n=Z(e,!0),i=fe(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.ENUM_TYPE_EXTENSION,name:r,directives:n,values:i,loc:ye(e,t)}}(e);case"input":return function(e){var t=e.token;Ee(e,"extend"),Ee(e,"input");var r=R(e),n=Z(e,!0),i=ve(e);if(0===n.length&&0===i.length)throw Se(e);return{kind:k.a.INPUT_OBJECT_TYPE_EXTENSION,name:r,directives:n,fields:i,loc:ye(e,t)}}(e)}throw Se(e,t)}(e)}else{if(_e(e,g.BRACE_L))return F(e);if(ie(e))return ne(e)}throw Se(e)}function F(e){if(_e(e,g.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return q(e);case"fragment":return function(e){var t=e.token;if(Ee(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:k.a.FRAGMENT_DEFINITION,name:G(e),variableDefinitions:D(e),typeCondition:(Ee(e,"on"),re(e)),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)};return{kind:k.a.FRAGMENT_DEFINITION,name:G(e),typeCondition:(Ee(e,"on"),re(e)),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}(e)}else if(_e(e,g.BRACE_L))return q(e);throw Se(e)}function q(e){var t=e.token;if(_e(e,g.BRACE_L))return{kind:k.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:B(e),loc:ye(e,t)};var r,n=L(e);return _e(e,g.NAME)&&(r=R(e)),{kind:k.a.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:D(e),directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}function L(e){var t=we(e,g.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw Se(e,t)}function D(e){return _e(e,g.PAREN_L)?Pe(e,g.PAREN_L,Q,g.PAREN_R):[]}function Q(e){var t=e.token;return{kind:k.a.VARIABLE_DEFINITION,variable:V(e),type:(we(e,g.COLON),te(e)),defaultValue:ge(e,g.EQUALS)?J(e,!0):void 0,directives:Z(e,!0),loc:ye(e,t)}}function V(e){var t=e.token;return we(e,g.DOLLAR),{kind:k.a.VARIABLE,name:R(e),loc:ye(e,t)}}function B(e){var t=e.token;return{kind:k.a.SELECTION_SET,selections:Pe(e,g.BRACE_L,U,g.BRACE_R),loc:ye(e,t)}}function U(e){return _e(e,g.SPREAD)?function(e){var t=e.token;we(e,g.SPREAD);var r=Oe(e,"on");if(!r&&_e(e,g.NAME))return{kind:k.a.FRAGMENT_SPREAD,name:G(e),directives:Z(e,!1),loc:ye(e,t)};return{kind:k.a.INLINE_FRAGMENT,typeCondition:r?re(e):void 0,directives:Z(e,!1),selectionSet:B(e),loc:ye(e,t)}}(e):function(e){var t,r,n=e.token,i=R(e);ge(e,g.COLON)?(t=i,r=R(e)):r=i;return{kind:k.a.FIELD,alias:t,name:r,arguments:z(e,!1),directives:Z(e,!1),selectionSet:_e(e,g.BRACE_L)?B(e):void 0,loc:ye(e,n)}}(e)}function z(e,t){var r=t?$:H;return _e(e,g.PAREN_L)?Pe(e,g.PAREN_L,r,g.PAREN_R):[]}function H(e){var t=e.token;return{kind:k.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),J(e,!1)),loc:ye(e,t)}}function $(e){var t=e.token;return{kind:k.a.ARGUMENT,name:R(e),value:(we(e,g.COLON),W(e)),loc:ye(e,t)}}function G(e){if("on"===e.token.value)throw Se(e);return R(e)}function J(e,t){var r=e.token;switch(r.kind){case g.BRACKET_L:return function(e,t){var r=e.token,n=t?W:Y;return{kind:k.a.LIST,values:xe(e,g.BRACKET_L,n,g.BRACKET_R),loc:ye(e,r)}}(e,t);case g.BRACE_L:return function(e,t){var r=e.token;we(e,g.BRACE_L);var n=[];for(;!ge(e,g.BRACE_R);)n.push(X(e,t));return{kind:k.a.OBJECT,fields:n,loc:ye(e,r)}}(e,t);case g.INT:return e.advance(),{kind:k.a.INT,value:r.value,loc:ye(e,r)};case g.FLOAT:return e.advance(),{kind:k.a.FLOAT,value:r.value,loc:ye(e,r)};case g.STRING:case g.BLOCK_STRING:return K(e);case g.NAME:return"true"===r.value||"false"===r.value?(e.advance(),{kind:k.a.BOOLEAN,value:"true"===r.value,loc:ye(e,r)}):"null"===r.value?(e.advance(),{kind:k.a.NULL,loc:ye(e,r)}):(e.advance(),{kind:k.a.ENUM,value:r.value,loc:ye(e,r)});case g.DOLLAR:if(!t)return V(e)}throw Se(e)}function K(e){var t=e.token;return e.advance(),{kind:k.a.STRING,value:t.value,block:t.kind===g.BLOCK_STRING,loc:ye(e,t)}}function W(e){return J(e,!0)}function Y(e){return J(e,!1)}function X(e,t){var r=e.token;return{kind:k.a.OBJECT_FIELD,name:R(e),value:(we(e,g.COLON),J(e,t)),loc:ye(e,r)}}function Z(e,t){for(var r=[];_e(e,g.AT);)r.push(ee(e,t));return r}function ee(e,t){var r=e.token;return we(e,g.AT),{kind:k.a.DIRECTIVE,name:R(e),arguments:z(e,t),loc:ye(e,r)}}function te(e){var t,r=e.token;return ge(e,g.BRACKET_L)?(t=te(e),we(e,g.BRACKET_R),t={kind:k.a.LIST_TYPE,type:t,loc:ye(e,r)}):t=re(e),ge(e,g.BANG)?{kind:k.a.NON_NULL_TYPE,type:t,loc:ye(e,r)}:t}function re(e){var t=e.token;return{kind:k.a.NAMED_TYPE,name:R(e),loc:ye(e,t)}}function ne(e){var t=ie(e)?e.lookahead():e.token;if(t.kind===g.NAME)switch(t.value){case"schema":return function(e){var t=e.token;Ee(e,"schema");var r=Z(e,!0),n=Pe(e,g.BRACE_L,ae,g.BRACE_R);return{kind:k.a.SCHEMA_DEFINITION,directives:r,operationTypes:n,loc:ye(e,t)}}(e);case"scalar":return function(e){var t=e.token,r=oe(e);Ee(e,"scalar");var n=R(e),i=Z(e,!0);return{kind:k.a.SCALAR_TYPE_DEFINITION,description:r,name:n,directives:i,loc:ye(e,t)}}(e);case"type":return function(e){var t=e.token,r=oe(e);Ee(e,"type");var n=R(e),i=se(e),o=Z(e,!0),a=ue(e);return{kind:k.a.OBJECT_TYPE_DEFINITION,description:r,name:n,interfaces:i,directives:o,fields:a,loc:ye(e,t)}}(e);case"interface":return function(e){var t=e.token,r=oe(e);Ee(e,"interface");var n=R(e),i=Z(e,!0),o=ue(e);return{kind:k.a.INTERFACE_TYPE_DEFINITION,description:r,name:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"union":return function(e){var t=e.token,r=oe(e);Ee(e,"union");var n=R(e),i=Z(e,!0),o=de(e);return{kind:k.a.UNION_TYPE_DEFINITION,description:r,name:n,directives:i,types:o,loc:ye(e,t)}}(e);case"enum":return function(e){var t=e.token,r=oe(e);Ee(e,"enum");var n=R(e),i=Z(e,!0),o=fe(e);return{kind:k.a.ENUM_TYPE_DEFINITION,description:r,name:n,directives:i,values:o,loc:ye(e,t)}}(e);case"input":return function(e){var t=e.token,r=oe(e);Ee(e,"input");var n=R(e),i=Z(e,!0),o=ve(e);return{kind:k.a.INPUT_OBJECT_TYPE_DEFINITION,description:r,name:n,directives:i,fields:o,loc:ye(e,t)}}(e);case"directive":return function(e){var t=e.token,r=oe(e);Ee(e,"directive"),we(e,g.AT);var n=R(e),i=le(e);Ee(e,"on");var o=function(e){ge(e,g.PIPE);var t=[];do{t.push(me(e))}while(ge(e,g.PIPE));return t}(e);return{kind:k.a.DIRECTIVE_DEFINITION,description:r,name:n,arguments:i,locations:o,loc:ye(e,t)}}(e)}throw Se(e,t)}function ie(e){return _e(e,g.STRING)||_e(e,g.BLOCK_STRING)}function oe(e){if(ie(e))return K(e)}function ae(e){var t=e.token,r=L(e);we(e,g.COLON);var n=re(e);return{kind:k.a.OPERATION_TYPE_DEFINITION,operation:r,type:n,loc:ye(e,t)}}function se(e){var t=[];if(Oe(e,"implements")){ge(e,g.AMP);do{t.push(re(e))}while(ge(e,g.AMP)||e.options.allowLegacySDLImplementsInterfaces&&_e(e,g.NAME))}return t}function ue(e){return e.options.allowLegacySDLEmptyFields&&_e(e,g.BRACE_L)&&e.lookahead().kind===g.BRACE_R?(e.advance(),e.advance(),[]):_e(e,g.BRACE_L)?Pe(e,g.BRACE_L,ce,g.BRACE_R):[]}function ce(e){var t=e.token,r=oe(e),n=R(e),i=le(e);we(e,g.COLON);var o=te(e),a=Z(e,!0);return{kind:k.a.FIELD_DEFINITION,description:r,name:n,arguments:i,type:o,directives:a,loc:ye(e,t)}}function le(e){return _e(e,g.PAREN_L)?Pe(e,g.PAREN_L,he,g.PAREN_R):[]}function he(e){var t=e.token,r=oe(e),n=R(e);we(e,g.COLON);var i,o=te(e);ge(e,g.EQUALS)&&(i=W(e));var a=Z(e,!0);return{kind:k.a.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:i,directives:a,loc:ye(e,t)}}function de(e){var t=[];if(ge(e,g.EQUALS)){ge(e,g.PIPE);do{t.push(re(e))}while(ge(e,g.PIPE))}return t}function fe(e){return _e(e,g.BRACE_L)?Pe(e,g.BRACE_L,pe,g.BRACE_R):[]}function pe(e){var t=e.token,r=oe(e),n=R(e),i=Z(e,!0);return{kind:k.a.ENUM_VALUE_DEFINITION,description:r,name:n,directives:i,loc:ye(e,t)}}function ve(e){return _e(e,g.BRACE_L)?Pe(e,g.BRACE_L,he,g.BRACE_R):[]}function me(e){var t=e.token,r=R(e);if(N.hasOwnProperty(r.value))return r;throw Se(e,t)}function ye(e,t){if(!e.options.noLocation)return new be(t,e.lastToken,e.source)}function be(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}function _e(e,t){return e.token.kind===t}function ge(e,t){return e.token.kind===t&&(e.advance(),!0)}function we(e,t){var r=e.token;if(r.kind===t)return e.advance(),r;throw f(e.source,r.start,"Expected ".concat(t,", found ").concat(w(r)))}function Oe(e,t){var r=e.token;return r.kind===g.NAME&&r.value===t&&(e.advance(),!0)}function Ee(e,t){if(!Oe(e,t))throw f(e.source,e.token.start,'Expected "'.concat(t,'", found ').concat(w(e.token)))}function Se(e,t){var r=t||e.token;return f(e.source,r.start,"Unexpected ".concat(w(r)))}function xe(e,t,r,n){we(e,t);for(var i=[];!ge(e,n);)i.push(r(e));return i}function Pe(e,t,r,n){we(e,t);for(var i=[r(e)];!ge(e,n);)i.push(r(e));return i}r.d(t,"parse",function(){return I}),r.d(t,"parseValue",function(){return A}),r.d(t,"parseType",function(){return j}),r.d(t,"parseConstValue",function(){return W}),r.d(t,"parseTypeReference",function(){return te}),r.d(t,"parseNamedType",function(){return re}),o(be,function(){return{start:this.start,end:this.end}})},function(e,t,r){"use strict";var n=r(287),i=r(371),o=r.n(i).a,a="Invariant Violation",s=Object.setPrototypeOf,u=void 0===s?function(e,t){return e.__proto__=t,e}:s,c=function(e){function t(r){void 0===r&&(r=a);var n=e.call(this,"number"==typeof r?a+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=a,u(n,t.prototype),n}return Object(n.__extends)(t,e),t}(Error);function l(e,t){if(!e)throw new c(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=n)&&(i?i(r,t):!!r)}}(i),o}return Object(n.__extends)(t,e),t.prototype.request=function(e,t){var r=new O(e,t,this.delayFor,this.retryIf);return r.start(),new o(function(e){return r.subscribe(e),function(){r.unsubscribe(e)}})},t}(g)},,function(e,t,r){"use strict";var n=r(304),i=r(328),o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=300&&s(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||s(e,t,"Server response was missing for query '"+(Array.isArray(n)?n.map(function(e){return e.operationName}):n.operationName)+"'."),t})})).then(function(e){return r.next(e),r.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))}),function(){b&&b.abort()}})})};var d=function(e){function t(t){return e.call(this,h(t).request)||this}return function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(n.a)},function(e,t,r){"use strict";var n=r(304),i=r(273),o=r(432),a=r(328),s={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;r.d(t,"a",function(){return d});var c,l=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=o.graphql,d=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,r=e.cache,o=e.typeDefs,c=e.fragmentMatcher;return r&&t&&r.writeData({data:t}),new(function(d){function f(){return null!==d&&d.apply(this,arguments)||this}return l(f,d),f.prototype.writeDefaults=function(){r&&t&&r.writeData({data:t})},f.prototype.request=function(r,l){if(void 0===l&&(l=function(){return n.b.of({data:{}})}),o){var d=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(a.print)(e)}).map(function(e){return e.trim()}).join("\n")}(o);r.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:d,directives:"directive @client on FIELD"}])}})}if(!Object(i.hasDirectives)(["client"],r.query))return l(r);var f,p="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(i.checkDocument)(e);var r=Object(i.removeDirectivesFromDocument)([s],e);return u.set(e,r),r}(r.query),m=r.query,y=(f=(Object(i.getMainDefinition)(m)||{}).operation).charAt(0).toUpperCase()+f.slice(1)||"Query",b=function(e,r,n,i,o){void 0===r&&(r={});var a=o.resultKey,s=r[a],u=r[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=p[r.__typename||y];if(l){var h=l[e];if(h)return h(r,n,i,o)}return(c?s:u)||(t||{})[e]};v&&(r.query=v);var _=v&&l?l(r):n.b.of({data:{}});return new n.b(function(e){var t=!1,n=!1;_.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=r.getContext();n=!0,h(b,m,o,u,r.variables,{fragmentMatcher:c}).then(function(r){e.next({data:r,errors:a}),t&&e.complete(),n=!1}).catch(s)},error:e.error.bind(e),complete:function(){n||e.complete(),t=!0}})})},f}(n.a))}},function(e,t,r){"use strict";var n=r(287),i=r(273);function o(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(e)}]}}function a(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return a(e[0]);var t=[];return Object.keys(e).forEach(function(r){var n={kind:"Field",name:{kind:"Name",value:r},selectionSet:a(e[r])||void 0};t.push(n)}),{kind:"SelectionSet",selections:t}}var s,u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},c=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(i.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(i.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,r,n=e.id,i=e.data;if(void 0!==n){var s=null;try{s=this.read({rootId:n,optimistic:!1,query:u})}catch(e){}var c=s&&s.__typename||"__ClientData",l=Object.assign({__typename:c},i);this.writeFragment({id:n,fragment:(t=l,r=c,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:a(t)}]}),data:l})}else this.writeQuery({query:o(i),data:i})},e}();s||(s={});var l=r(435),h=r(342);r.d(t,"a",function(){return F});var d=new Map;if(d.set(1,2)!==d){var f=d.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return m&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new h.a}),o&&Object(i.isEqual)(o,v.result)&&(v.result=o),{result:v.result,complete:!m}},e.prototype.executeStoreQuery=function(e){var t=e.query,r=e.rootValue,n=e.contextValue,o=e.variableValues,a=e.fragmentMatcher,s=void 0===a?T:a,u=Object(i.getMainDefinition)(t),c=Object(i.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(i.createFragmentMap)(c),contextValue:n,variableValues:o,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:r,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,r=e.selectionSet,o=e.rootValue,a=e.execContext,s=a.fragmentMap,u=a.contextValue,c=a.variableValues,l={result:null},d=[],f=u.store.get(o.id),p=f&&f.__typename||"ROOT_QUERY"===o.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return r.selections.forEach(function(e){var r;if(Object(i.shouldInclude)(e,c))if(Object(i.isField)(e)){var l=v(t.executeField(f,p,e,a));void 0!==l&&d.push(((r={})[Object(i.resultKeyNameFromField)(e)]=l,r))}else{var m=void 0;if(Object(i.isInlineFragment)(e))m=e;else if(!(m=s[e.name.value]))throw new h.a;var y=m.typeCondition.name.value,b=a.fragmentMatcher(o,y,u);if(b){var _=t.executeSelectionSet({selectionSet:m.selectionSet,rootValue:o,execContext:a});"heuristic"===b&&_.missing&&(_=Object(n.__assign)({},_,{missing:_.missing.map(function(e){return Object(n.__assign)({},e,{tolerable:!0})})})),d.push(v(_))}}}),l.result=Object(i.mergeDeepArray)(d),l},e.prototype.executeField=function(e,t,r,n){var o=n.variableValues,a=n.contextValue,s=function(e,t,r,n,o,a){a.resultKey;var s=a.directives,u=r;(n||s)&&(u=Object(i.getStoreKeyName)(u,n,s));var c=void 0;if(e&&void 0===(c=e[u])&&o.cacheRedirects&&"string"==typeof t){var l=o.cacheRedirects[t];if(l){var h=l[r];h&&(c=h(e,n,{getCacheKey:function(e){return Object(i.toIdValue)({id:o.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(i.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,r.name.value,Object(i.argumentsObjectFromField)(r,o),a,{resultKey:Object(i.resultKeyNameFromField)(r),directives:Object(i.getDirectiveInfoFromField)(r,o)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(r,s.result,n)):r.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:r.selectionSet,rootValue:s.result,execContext:n})):(P(r,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;r[e].push(t)}else r[e]=[t];return!1}var j={fragmentMatcher:new g,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var R=Object.prototype.hasOwnProperty,M=function(e){function t(t,r,n){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=r,i.transaction=n,i}return Object(n.__extends)(t,e),t.prototype.toObject=function(){return Object(n.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return R.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(C),F=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;r.watches=new Set,r.typenameDocumentCache=new Map,r.cacheKeyRoot=new w,r.silenceBroadcast=!1,r.config=Object(n.__assign)({},j,t),r.config.customResolvers&&(r.config.cacheRedirects=r.config.customResolvers),r.config.cacheResolvers&&(r.config.cacheRedirects=r.config.cacheResolvers),r.addTypename=r.config.addTypename,r.data=r.config.resultCaching?new E:new C,r.optimisticData=r.data,r.storeReader=new x(r.cacheKeyRoot),r.storeWriter=new N;var i=r,o=i.maybeBroadcastWatch;return r.maybeBroadcastWatch=Object(l.wrap)(function(e){return o.call(r,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return i.data instanceof E?i.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),r}return Object(n.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new h.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],r=0,n=this.optimisticData;n instanceof M;)n.optimisticId===e?++r:t.push(n),n=n.parent;if(r>0){for(this.optimisticData=n;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var r=this.data,n=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new M(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=n,this.data=r}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(i.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(c)},,function(e,t,r){"use strict";var n=r(287),i=r(273),o=r(304),a=r(372),s=r(342),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var c,l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return function(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.request=function(e,t){var r=this;if(e.getContext().forceFetch)return t(e);var n=e.toKey(),i=function(e){return r.inFlightRequestObservables.delete(e),r.subscribers.get(e)};if(!this.inFlightRequestObservables.get(n)){var a,s=t(e),u=new o.b(function(e){var t=r.subscribers.get(n);return t||(t={next:[],error:[],complete:[]}),r.subscribers.set(n,{next:t.next.concat([e.next.bind(e)]),error:t.error.concat([e.error.bind(e)]),complete:t.complete.concat([e.complete.bind(e)])}),a||(a=s.subscribe({next:function(e){var t=i(n);r.subscribers.delete(n),t&&(t.next.forEach(function(t){return t(e)}),t.complete.forEach(function(e){return e()}))},error:function(e){var t=i(n);r.subscribers.delete(n),t&&t.error.forEach(function(t){return t(e)})}})),function(){a&&a.unsubscribe(),r.inFlightRequestObservables.delete(n)}});this.inFlightRequestObservables.set(n,u)}return this.inFlightRequestObservables.get(n)},t}(o.a),h=r(340);function d(e){return e<7}r.d(t,"a",function(){return x}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(c||(c={}));var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.__extends)(t,e),t.prototype[a.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.b);var p,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var r=e?e.message:"Error message not found.";t+="GraphQL error: "+r+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},m=function(e){function t(r){var n=r.graphQLErrors,i=r.networkError,o=r.errorMessage,a=r.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=n||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(n.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(p||(p={}));var y=function(e){function t(t){var r=t.queryManager,n=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=n,a.variables=n.variables||{},a.queryId=r.generateQueryId(),a.shouldSubscribe=o,a.queryManager=r,a.observers=[],a.subscriptionHandles=[],a}return Object(n.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n,i={next:function(r){t(r),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){n.unsubscribe()},0)},error:function(e){r(e)}};n=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:c.error};var e,t,r=this.queryManager.queryStore.get(this.queryId);if(e=r,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:r.networkStatus,error:new m({graphQLErrors:r.graphQLErrors,networkError:r.networkError})};r&&r.variables&&(this.options.variables=Object.assign({},this.options.variables,r.variables));var o,a=this.queryManager.getCurrentQueryResult(this),s=a.data,u=a.partial,l=!r||r.networkStatus===c.loading,h="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,f={data:s,loading:d(o=r?r.networkStatus:h?c.loading:c.ready),networkStatus:o};return r&&r.graphQLErrors&&"all"===this.options.errorPolicy&&(f.errors=r.graphQLErrors),u||(this.lastResult=Object(n.__assign)({},f,{stale:!1}),this.lastResultSnapshot=Object(i.cloneDeep)(this.lastResult)),Object(n.__assign)({},f,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(i.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(i.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(i.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var r="network-only"===t||"no-cache"===t,o=Object(n.__assign)({},this.options,{fetchPolicy:r?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,o,p.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,r=this;return Object(s.b)(e.updateQuery),Promise.resolve().then(function(){var i=r.queryManager.generateQueryId();return(t=e.query?e:Object(n.__assign)({},r.options,e,{variables:Object.assign({},r.variables,e.variables)})).fetchPolicy="network-only",r.queryManager.fetchQuery(i,t,p.normal,r.queryId)}).then(function(n){return r.updateQuery(function(r){return e.updateQuery(r,{fetchMoreResult:n.data,variables:t.variables})}),n})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(r){e.updateQuery&&t.updateQuery(function(t,n){var i=n.variables;return e.updateQuery(t,{subscriptionData:r,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(r),function(){var e=t.subscriptionHandles.indexOf(r);e>=0&&(t.subscriptionHandles.splice(e,1),r.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var r="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,r,e.fetchResults)},t.prototype.setVariables=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),this.isTornDown=!1;var o=e||this.variables;return Object(i.isEqual)(o,this.variables)&&!t?0!==this.observers.length&&r?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(n.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),r=t.previousResult,n=t.variables,o=t.document,a=Object(i.tryFunctionOrLogError)(function(){return e(r,{variables:n})});a&&(this.queryManager.dataStore.markUpdateQueryResult(o,n,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){b(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(b(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(i.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(f);function b(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var _=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,r){this.store[e]={mutation:t,variables:r||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var r=this.store[e];r&&(r.loading=!1,r.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(i.isEqual)(t.document,e.document))throw new s.a;var r,n=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==c.loading&&(Object(i.isEqual)(t.variables,e.variables)||(n=!0,o=t.variables)),r=n?c.setVariables:e.isPoll?c.poll:e.isRefetch?c.refetch:c.loading;var a=[];t&&t.graphQLErrors&&(a=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:a,networkStatus:r,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=c.fetchMore)},e.prototype.markQueryResult=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=c.ready,"string"==typeof r&&this.store[r]&&(this.store[r].networkStatus=c.ready))},e.prototype.markQueryError=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=c.error,"string"==typeof r&&this.markQueryResultClient(r,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?c.ready:c.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,r){return e[r]=Object(n.__assign)({},t.store[r],{networkStatus:c.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(i.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(i.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(n.__awaiter)(this,void 0,void 0,function(){return Object(n.__generator)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return Object(n.__assign)({},r,{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(i.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(i.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(n.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),Object(n.__awaiter)(this,void 0,void 0,function(){return Object(n.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return Object(n.__assign)({},t,e.exportedVariables)})]:[2,Object(n.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(h.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return h.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(i.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,o,a,s){return void 0===r&&(r={}),void 0===o&&(o={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(n.__awaiter)(this,void 0,void 0,function(){var u,c,l,h,d,f,p,v,m;return Object(n.__generator)(this,function(y){var b;return u=Object(i.getMainDefinition)(e),c=Object(i.getFragmentDefinitions)(e),l=Object(i.createFragmentMap)(c),h=u.operation,d=h?(b=h).charAt(0).toUpperCase()+b.slice(1):"Query",p=(f=this).cache,v=f.client,m={fragmentMap:l,context:Object(n.__assign)({},r,{cache:p,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:d,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r){return Object(n.__awaiter)(this,void 0,void 0,function(){var o,a,u,c,l,h=this;return Object(n.__generator)(this,function(d){return o=r.fragmentMap,a=r.context,u=r.variables,c=[t],l=function(e){return Object(n.__awaiter)(h,void 0,void 0,function(){var l,h;return Object(n.__generator)(this,function(n){return Object(i.shouldInclude)(e,u)?Object(i.isField)(e)?[2,this.resolveField(e,t,r).then(function(t){var r;void 0!==t&&c.push(((r={})[Object(i.resultKeyNameFromField)(e)]=t,r))})]:(Object(i.isInlineFragment)(e)?l=e:(l=o[e.name.value],Object(s.b)(l)),l&&l.typeCondition&&(h=l.typeCondition.name.value,r.fragmentMatcher(t,h,a))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(i.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,r){return Object(n.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,h,d,f,p=this;return Object(n.__generator)(this,function(n){return o=r.variables,a=e.name.value,s=Object(i.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(h=t.__typename||r.defaultOperationType,(d=this.resolvers&&this.resolvers[h])&&(f=d[u?a:s])&&(l=Promise.resolve(f(t,Object(i.argumentsObjectFromField)(e,o),r.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,r):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,r):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0}))},e}(),O=function(){function e(e){var t=e.link,r=e.queryDeduplication,n=void 0!==r&&r,i=e.store,a=e.onBroadcast,s=void 0===a?function(){}:a,u=e.ssrMode,c=void 0!==u&&u,h=e.clientAwareness,d=void 0===h?{}:h,f=e.localState;this.mutationStore=new _,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=o.a.from([new l,t]),this.queryDeduplication=n,this.dataStore=i,this.onBroadcast=s,this.clientAwareness=d,this.localState=f||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,a=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,h=e.awaitRefetchQueries,d=void 0!==h&&h,p=e.update,v=e.errorPolicy,y=void 0===v?"none":v,b=e.fetchPolicy,_=e.context,g=void 0===_?{}:_;return Object(n.__awaiter)(this,void 0,void 0,function(){var e,c,h,v,_,w=this;return Object(n.__generator)(this,function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!b||"no-cache"===b),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),r=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getMutationDefinition)(t)),r),this.setQuery(e,function(){return{document:t}}),h=function(){var e={};return u&&Object.keys(u).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(r){e[r]={updater:u[t],query:w.queryStore.get(r)}})}),e},Object(i.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,r,g)]:[3,2];case 1:return _=O.sent(),[3,3];case 2:_=r,O.label=3;case 3:return v=_,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:h(),update:p,optimisticResponse:a}),this.broadcastQueries(),[2,new Promise(function(r,s){var u,c,_=w.buildOperationForLink(t,v,Object(n.__assign)({},g,{optimisticResponse:a})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:a}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],r=0,n=l;r=(r||1)&&(N.queryStore.markQueryError(e,t,o),N.invalidate(!0,e,o),N.broadcastQueries()),new m({networkError:t})}),"cache-and-network"!==h)return[2,k];k.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,r){var i=this,o=!1;return function(a,s,u){return Object(n.__awaiter)(i,void 0,void 0,function(){var i,c,l,h,f,p,v,y,b,_,g,w,O,E,S,x,P,T,C,k;return Object(n.__generator)(this,function(N){switch(N.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(i=this.getQuery(e).observableQuery,"standby"===(c=i?i.options.fetchPolicy:t.fetchPolicy))return[2];if(l=i?i.options.errorPolicy:t.errorPolicy,h=i?i.getLastResult():null,f=i?i.getLastError():null,p=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(h&&a.networkStatus!==h.networkStatus),y=l&&(f&&f.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!d(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(b=new m({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,r.error)try{r.error(b)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw b},0);return[2]}N.label=1;case 1:if(N.trys.push([1,7,,8]),_=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),_=s.result,g=!s.complete||!1):h&&h.data&&!y?(_=h.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),_=O.result,g=!O.complete),E=void 0,E=g&&"cache-only"!==c?{data:h&&h.data,loading:d(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:_,loading:d(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(E.errors=a.graphQLErrors),!r.next)return[3,6];if(!o&&i&&!i.isDifferentFromLastResult(E))return[3,6];N.label=2;case 2:return N.trys.push([2,5,,6]),u?(S=t.query,x=t.variables,P=t.context,[4,this.localState.runResolvers({document:S,remoteResult:E,context:P,variables:x,onlyRunForcedResolvers:u})]):[3,4];case 3:T=N.sent(),E=Object(n.__assign)({},E,T),N.label=4;case 4:return r.next(E),[3,6];case 5:return C=N.sent(),setTimeout(function(){throw C},0),[3,6];case 6:return o=!1,[3,8];case 7:return k=N.sent(),o=!0,r.error&&r.error(new m({networkError:k})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var r=Object(i.getQueryDefinition)(e.query);if(r.variableDefinitions&&r.variableDefinitions.length){var o=Object(i.getDefaultValues)(r);e.variables=Object(i.assign)({},o,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(n.__assign)({},e);return new y({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise(function(r,n){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,n),i.result().then(r,n).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var r=e.listeners;return{listeners:(void 0===r?[]:r).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,r){var n=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:r.variables,optimistic:!0,previousResult:function(){var t=null,r=n.getQuery(e).observableQuery;if(r){var i=r.getLastResult();i&&(t=i.data)}return t},callback:function(t){n.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var r=Object(i.getQueryDefinition)(t.options.query);if(r.name&&r.name.value){var n=r.name.value;this.queryIdsByName[n]=this.queryIdsByName[n]||[],this.queryIdsByName[n].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),r=t.observableQuery,n=t.cancel;if(n&&n(),r){var o=Object(i.getQueryDefinition)(r.options.query),a=o.name?o.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(r.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,r){t.observableQuery&&e.push(r)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,r){return this.addQueryListener(e,r),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,r=this,a=e.query,s=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(a),c=Object(i.assign)({},Object(i.getDefaultValues)(Object(i.getOperationDefinition)(a)),e.variables),l=c,h=[],d=this.localState.clientQuery(u);return new f(function(e){if(h.push(e),1===h.length){var a=0,p=!1,v={next:function(e){return Object(n.__awaiter)(r,void 0,void 0,function(){var t;return Object(n.__generator)(this,function(r){switch(r.label){case 0:return a+=1,t=e,d&&Object(i.hasDirectives)(["client"],d)?[4,this.localState.runResolvers({document:d,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=r.sent(),r.label=2;case 2:return s&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),h.forEach(function(e){Object(i.graphQLResultHasError)(t)&&e.error?e.error(new m({graphQLErrors:t.errors})):e.next&&e.next(t),a-=1}),0===a&&p&&v.complete(),[2]}})})},error:function(e){h.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===a&&h.forEach(function(e){e.complete&&e.complete()}),p=!0}};Object(n.__awaiter)(r,void 0,void 0,function(){var e,r,a,s;return Object(n.__generator)(this,function(n){switch(n.label){case 0:return Object(i.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return r=n.sent(),[3,3];case 2:r=c,n.label=3;case 3:return e=r,(a=this.localState.serverQuery(u))?(s=this.buildOperationForLink(a,e),t=Object(o.c)(this.link,s).subscribe(v)):t=f.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(h=h.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var r=e.options,n=r.variables,i=r.query,o=r.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:n,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var r=this.getQuery(e).observableQuery;Object(s.b)(r),t=r}else t=e;var n=t.options,i=n.variables,o=n.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(r,n){r.invalidated&&r.listeners&&r.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(n),r.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,r=[];return this.queries.forEach(function(n,i){var o=n.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),r},e.prototype.fetchRequest=function(e){var t,r,a=this,s=e.requestId,u=e.queryId,l=e.document,h=e.options,d=e.fetchMoreForQueryId,p=h.variables,v=h.context,y=h.errorPolicy,b=void 0===y?"none":y,_=h.fetchPolicy;return new Promise(function(e,h){var y,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var E=a.buildOperationForLink(O,p,Object(n.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=E.context,y=Object(o.c)(a.deduplicator,E)}else g=a.prepareContext(v),y=f.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,h);var S=!1,x=!0,P={next:function(e){return Object(n.__awaiter)(a,void 0,void 0,function(){var o,a;return Object(n.__generator)(this,function(n){switch(n.label){case 0:return x=!0,o=e,a=this.getQuery(u).lastRequestId,s>=(a||1)?w&&Object(i.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:p}).catch(function(t){return x=!1,h(t),e})]:[3,2]:[3,3];case 1:o=n.sent(),n.label=2;case 2:if("no-cache"!==_)try{this.dataStore.markQueryResult(o,l,p,d,"ignore"===b||"all"===b)}catch(e){return x=!1,h(e),[2]}else this.setQuery(u,function(){return{newData:{result:o.data,complete:!0}}});this.queryStore.markQueryResult(u,o,d),this.invalidate(!0,u,d),this.broadcastQueries(),n.label=3;case 3:if(o.errors&&"none"===b)return x=!1,h(new m({graphQLErrors:o.errors})),[2];if("all"===b&&(r=o.errors),d||"no-cache"===_)t=o.data;else try{t=this.dataStore.getCache().read({variables:p,query:l,optimistic:!1})}catch(e){}return x=!1,S&&P.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==T})}}),h(e)},complete:function(){x||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==T})}}),e({data:t,errors:r,loading:!1,networkStatus:c.ready,stale:!1})),S=!0}},T=y.subscribe(P);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([T])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,r=this.queryIdsByName[e];if(void 0!==r)return Promise.all(r.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var r=this.getQuery(e),i=Object(n.__assign)({},r,t(r));this.queries.set(e,i)},e.prototype.invalidate=function(e,t,r){t&&this.setQuery(t,function(){return{invalidated:e}}),r&&this.setQuery(r,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,r){var n=this.dataStore.getCache();return{query:n.transformForLink?n.transformForLink(e):e,variables:t,operationName:Object(i.getOperationName)(e)||void 0,context:this.prepareContext(r)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(n.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==c.ready&&t.networkStatus!==c.error},e.prototype.startPollingQuery=function(e,t,r){var i=e.pollInterval;return Object(s.b)(i),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:i,lastPollTimeMs:Date.now()-10,options:Object(n.__assign)({},e,{fetchPolicy:"network-only"})}),r&&this.addQueryListener(t,r),this.schedulePoll(i)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,r=Date.now();if(this.nextPoll){if(!(e=r.interval){var i=function(){r.lastPollTimeMs=Date.now()};t.fetchQuery(n,r.options,p.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),E=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,r,n,o){void 0===o&&(o=!1);var a=!Object(i.graphQLResultHasError)(e);o&&Object(i.graphQLResultHasError)(e)&&e.data&&(a=!0),!n&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:r})},e.prototype.markSubscriptionResult=function(e,t,r){Object(i.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:r})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var r;r="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(n){var i=t.cache;t.cache=n;try{t.markMutationResult({mutationId:e.mutationId,result:{data:r},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(i.graphQLResultHasError)(e.result)){var r=[];r.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(n){var o=e.updateQueries[n],a=o.query,s=o.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(i.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(i.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&r.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){r.forEach(function(t){return e.write(t)})});var n=e.update;n&&this.cache.performTransaction(function(t){Object(i.tryFunctionOrLogError)(function(){return n(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,r){this.cache.write({result:r,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),S="2.5.1",x=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var r=e.cache,n=e.ssrMode,a=void 0!==n&&n,u=e.ssrForceFetchDelay,c=void 0===u?0:u,l=e.connectToDevTools,h=e.queryDeduplication,d=void 0===h||h,f=e.defaultOptions,p=e.resolvers,v=e.typeDefs,m=e.fragmentMatcher,y=e.name,b=e.version,_=e.link;if(!_&&p&&(_=o.a.empty()),!_||!r)throw new s.a;var g=new Map,O=new o.a(function(e,t){var r=g.get(e.query);return r||(r=Object(i.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,r),g.set(r,r)),e.query=r,t(e)});this.link=O.concat(_),this.cache=r,this.store=new E(r),this.disableNetworkFetches=a||c>0,this.queryDeduplication=d,this.ssrMode=a,this.defaultOptions=f||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=S,y&&(this.clientAwareness.name=y),b&&(this.clientAwareness.version=b),this.localState=new w({cache:r,client:this,resolvers:p,fragmentMatcher:m})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(n.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(n.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(n.__assign)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(n.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(n.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.c)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},,,function(e,t,r){"use strict";var n=["data","error","loading"],i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return class extends e{constructor(){super(),this.notifyingProps=t}notify(e,t){this.dispatchEvent(new CustomEvent(`${e}-changed`,{bubbles:!0,composed:!0,detail:{value:t}}))}update(e){super.update(e),this.notifyingProps.forEach(t=>e.has(t)&&this.notify(t,this[t]))}}}(r(350).a,["called","data","error","loading"]);customElements.define("apollo-mutation",i)}])]); -//# sourceMappingURL=6.e185c63f0607d2069abe.js.map \ No newline at end of file diff --git a/packages/ui/dist/6.e185c63f0607d2069abe.js.LICENSE b/packages/ui/dist/6.e185c63f0607d2069abe.js.LICENSE deleted file mode 100644 index 77465ab25..000000000 --- a/packages/ui/dist/6.e185c63f0607d2069abe.js.LICENSE +++ /dev/null @@ -1,129 +0,0 @@ -/** @license ISC License (c) copyright 2016 original and current authors */ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -/** @license ISC License (c) copyright 2017 original and current authors */ - -/** - * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** @license ISC License (c) copyright 2018 original and current authors */ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 Vaadin Ltd. -This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ -*/ diff --git a/packages/ui/dist/6.e185c63f0607d2069abe.js.map b/packages/ui/dist/6.e185c63f0607d2069abe.js.map deleted file mode 100644 index 0cfc2d31a..000000000 --- a/packages/ui/dist/6.e185c63f0607d2069abe.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"6.e185c63f0607d2069abe.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/7.15c84c4d4262808b00bd.js b/packages/ui/dist/7.15c84c4d4262808b00bd.js deleted file mode 100644 index 7a6488fad..000000000 --- a/packages/ui/dist/7.15c84c4d4262808b00bd.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 7.15c84c4d4262808b00bd.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{374:function(e,t){!function(e){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var n=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(n.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var o=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||o&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||o&&"function"!=typeof window.Event){var r=window.Event;if(window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},r)for(var c in r)window.Event[c]=r[c];window.Event.prototype=r.prototype}if(!window.MouseEvent||o&&"function"!=typeof window.MouseEvent){var a=window.MouseEvent;if(window.MouseEvent=function(e,t){t=t||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),n},a)for(var c in a)window.MouseEvent[c]=a[c];window.MouseEvent.prototype=a.prototype}if(Array.from||(Array.from=function(e){return[].slice.call(e)}),!Object.assign){var i=function(e,t){for(var n,o=Object.getOwnPropertyNames(t),r=0;r\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()}(e)];if(t)for(var n=0;n"+e+"";for(E.body.innerHTML=e,y.bootstrap(E);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=E.body;if(t)for(var r=0;r"+this.innerHTML+""},set:function(e){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");E.body.innerHTML=e;for(var t=this.ownerDocument.createDocumentFragment();E.body.firstChild;)i.call(t,E.body.firstChild);l.call(this.parentNode,t,this)},configurable:!0})};M(y.prototype),T(y.prototype),y.bootstrap=function(e){for(var t,n=h(e,"template"),o=0,r=n.length;o]/g,_=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},F=function(e){return e.replace(C,_)},L=function(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&A[t.localName]?l:function(e){return e.replace(O,_)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}},P=function(e,t){"template"===e.localName&&(e=e.content);for(var n,o="",r=t?t(e):d.get.call(e),c=0,a=r.length;c can only be templatized once");e.__templatizeOwner=t;var r=(t?t.constructor:I)._parseTemplate(e),i=r.templatizeInstanceClass;i||(i=R(e,r,n),r.templatizeInstanceClass=i),M(e,r,n);var o=function(e){function t(){return m()(this,t),s()(this,p()(t).apply(this,arguments))}return v()(t,e),t}(i);return o.prototype._methodHost=j(e),o.prototype.__dataHost=e,o.prototype.__templatizeOwner=t,o.prototype.__hostProps=r.hostProps,o=o}function q(e,t){for(var n;t;)if(n=t.__templatizeInstance){if(n.__dataHost==e)return n;t=n.__dataHost}else t=Object(S.a)(t).parentNode;return null}var B=n(471),V=function(e){function t(){var e;if(m()(this,t),e=s()(this,p()(t).call(this)),E.f)throw new Error("strictTemplatePolicy: dom-bind not allowed");return e.root=null,e.$=null,e.__children=null,e}return v()(t,e),o()(t,null,[{key:"observedAttributes",get:function(){return["mutable-data"]}}]),o()(t,[{key:"attributeChangedCallback",value:function(){this.mutableData=!0}},{key:"connectedCallback",value:function(){this.style.display="none",this.render()}},{key:"disconnectedCallback",value:function(){this.__removeChildren()}},{key:"__insertChildren",value:function(){Object(S.a)(Object(S.a)(this).parentNode).insertBefore(this.root,this)}},{key:"__removeChildren",value:function(){if(this.__children)for(var e=0;e child");n.disconnect(),t.render()});return void n.observe(this,{childList:!0})}this.root=this._stampTemplate(e),this.$=this.root.$,this.__children=[];for(var r=this.root.firstChild;r;r=r.nextSibling)this.__children[this.__children.length]=r;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}}]),t}(Object(B.a)(x(Object(b.a)(HTMLElement))));customElements.define("dom-bind",V);var z=n(379),Q=n(309),U=n(354),H=n(376),K=n(329),$=function(e){function t(){var e;return m()(this,t),(e=s()(this,p()(t).call(this))).__instances=[],e.__limit=1/0,e.__pool=[],e.__renderDebouncer=null,e.__itemsIdxToInstIdx={},e.__chunkCount=null,e.__lastChunkTime=null,e.__sortFn=null,e.__filterFn=null,e.__observePaths=null,e.__ctor=null,e.__isDetached=!0,e.template=null,e}return v()(t,e),o()(t,null,[{key:"is",get:function(){return"dom-repeat"}},{key:"template",get:function(){return null}},{key:"properties",get:function(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!0,readOnly:!0},initialCount:{type:Number,observer:"__initializeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"}}}},{key:"observers",get:function(){return["__itemsChanged(items.*)"]}}]),o()(t,[{key:"disconnectedCallback",value:function(){d()(p()(t.prototype),"disconnectedCallback",this).call(this),this.__isDetached=!0;for(var e=0;e child");n.disconnect(),e.__render()});return n.observe(this,{childList:!0}),!1}var r={};r[this.as]=!0,r[this.indexAs]=!0,r[this.itemsIndexAs]=!0,this.__ctor=L(t,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:r,forwardHostProp:function(e,t){for(var n,r=this.__instances,i=0;i1&&void 0!==arguments[1]?arguments[1]:0;this.__renderDebouncer=Q.a.debounce(this.__renderDebouncer,t>0?K.b.after(t):K.a,e.bind(this)),Object(U.a)(this.__renderDebouncer)}},{key:"render",value:function(){this.__debounceRender(this.__render),Object(U.b)()}},{key:"__render",value:function(){this.__ensureTemplatized()&&(this.__applyFullRefresh(),this.__pool.length=0,this._setRenderedItemCount(this.__instances.length),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this.__tryRenderChunk())}},{key:"__applyFullRefresh",value:function(){for(var e=this,t=this.items||[],n=new Array(t.length),r=0;r=o;l--)this.__detachAndRemoveInstance(l)}},{key:"__detachInstance",value:function(e){for(var t=this.__instances[e],n=Object(S.a)(t.root),r=0;r child");r.disconnect(),e.__render()});return r.observe(this,{childList:!0}),!1}this.__ctor=L(n,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[Object(H.g)(e)]=!0))}})}if(this.__instance){this.__syncHostProperties();var i=this.__instance.children;if(i&&i.length)if(Object(S.a)(this).previousSibling!==i[i.length-1])for(var o,a=0;a=i.index+i.removed.length?n.set(t,e+i.addedCount-i.removed.length):n.set(t,-1))});for(var o=0;o=0&&e.linkPaths("".concat(JSCompiler_renameProperty("items",e),".").concat(n),"".concat(JSCompiler_renameProperty("selected",e),".").concat(t++))})}else this.__selectedMap.forEach(function(t){e.linkPaths(JSCompiler_renameProperty("selected",e),"".concat(JSCompiler_renameProperty("items",e),".").concat(t)),e.linkPaths(JSCompiler_renameProperty("selectedItem",e),"".concat(JSCompiler_renameProperty("items",e),".").concat(t))})}},{key:"clearSelection",value:function(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}},{key:"isSelected",value:function(e){return this.__selectedMap.has(e)}},{key:"isIndexSelected",value:function(e){return this.isSelected(this.items[e])}},{key:"__deselectChangedIdx",value:function(e){var t=this,n=this.__selectedIndexForItemIndex(e);if(n>=0){var r=0;this.__selectedMap.forEach(function(e,i){n==r++&&t.deselect(i)})}}},{key:"__selectedIndexForItemIndex",value:function(e){var t=this.__dataLinkedPaths["".concat(JSCompiler_renameProperty("items",this),".").concat(e)];if(t)return parseInt(t.slice("".concat(JSCompiler_renameProperty("selected",this),".").length),10)}},{key:"deselect",value:function(e){var t,n=this.__selectedMap.get(e);n>=0&&(this.__selectedMap.delete(e),this.multi&&(t=this.__selectedIndexForItemIndex(n)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),t,1):this.selected=this.selectedItem=null)}},{key:"deselectIndex",value:function(e){this.deselect(this.items[e])}},{key:"select",value:function(e){this.selectIndex(this.items.indexOf(e))}},{key:"selectIndex",value:function(e){var t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),t):this.selected=this.selectedItem=t)}}]),t}(Object(G.a)(e))})(z.a));customElements.define(W.is,W);var X=n(372),Z=n.n(X),ee=n(427),te=n(374),ne=n(308),re=new ee.a;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(e,t,n){},prepareTemplateDom:function(e,t){},prepareTemplateStyles:function(e,t,n){},styleSubtree:function(e,t){re.processStyles(),Object(te.c)(e,t)},styleElement:function(e){re.processStyles()},styleDocument:function(e){re.processStyles(),Object(te.c)(document.body,e)},getComputedStyleValue:function(e,t){return Object(te.b)(e,t)},flushCustomStyles:function(){},nativeCss:ne.c,nativeShadow:ne.d,cssBuild:ne.a,disableRuntime:ne.b}),window.ShadyCSS.CustomStyleInterface=re;var ie=n(468),oe=window.ShadyCSS.CustomStyleInterface,ae=function(e){function t(){var e;return m()(this,t),(e=s()(this,p()(t).call(this)))._style=null,oe.addCustomStyle(c()(e)),e}return v()(t,e),o()(t,[{key:"getStyle",value:function(){if(this._style)return this._style;var e=this.querySelector("style");if(!e)return null;this._style=e;var t=e.getAttribute("include");return t&&(e.removeAttribute("include"),e.textContent=Object(ie.a)(t)+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}]),t}(Z()(HTMLElement));window.customElements.define("custom-style",ae),k._mutablePropertyChange;Boolean;var se=n(271);n.d(t,"a",function(){return ue}),n.d(t,"b",function(){return se.a});var ue=Object(r.a)(HTMLElement).prototype},,function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},,function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(275),function(){function e(t){i()(this,e),this.value=t.toString()}return a()(e,[{key:"toString",value:function(){return this.value}}]),e}());function u(e){if(e instanceof s)return e.value;throw new Error("non-literal value passed to Polymer's htmlLiteral function: ".concat(e))}var c=function(e){for(var t=document.createElement("template"),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i=0;t--){var r=e[t];for(var i in r)this._ensureAttribute(i,r[i])}h()(l()(n.prototype),"_ensureAttributes",this).call(this)}},{key:"ready",value:function(){h()(l()(n.prototype),"ready",this).call(this);var e=o.ready;if(e)for(var t=0;t=0;i--){var o=t[i];o?Array.isArray(o)?e(o,n):n.indexOf(o)<0&&(!r||r.indexOf(o)<0)&&n.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return n}(n,null,c),s.prototype.behaviors=c?c.concat(n):r}var p=function(t){r&&function(e,t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}},w={},O={},k=n(295),x=n.n(k),E="{{lit-".concat(String(Math.random()).slice(2),"}}"),S="\x3c!--".concat(E,"--\x3e"),C=new RegExp("".concat(E,"|").concat(S)),T=function e(t,n){var r=this;i()(this,e),this.parts=[],this.element=n;var o=-1,a=0,s=[];!function e(n){for(var i=n.content,u=document.createTreeWalker(i,133,null,!1),c=0;u.nextNode();){o++;var l=u.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var p=l.attributes,h=0,d=0;d=0&&h++;for(;h-- >0;){var f=t.strings[a],v=I.exec(f)[2],y=v.toLowerCase()+"$lit$",m=l.getAttribute(y).split(C);r.parts.push({type:"attribute",index:o,name:v,strings:m}),l.removeAttribute(y),a+=m.length-1}}"TEMPLATE"===l.tagName&&e(l)}else if(3===l.nodeType){var b=l.data;if(b.indexOf(E)>=0){for(var _=l.parentNode,g=b.split(C),w=g.length-1,O=0;O=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,N=function(){function e(t,n,r){i()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return a()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var p,h=this._parts[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var d=p.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=_?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,i=0;return function t(o){for(var a=document.createTreeWalker(o,133,null,!1),s=a.nextNode();r0&&void 0!==arguments[0]?arguments[0]:this.startNode;g(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),L=function(){function e(t,n,r){if(i()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=w}}}]),e}(),q=function(e){function t(e,n,r){var o;return i()(this,t),(o=u()(this,l()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return f()(t,e),a()(t,[{key:"_createPart",value:function(){return new B(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:h()(l()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(M),B=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return f()(t,e),t}(F),V=!1;try{var z={get capture(){return V=!0,!1}};window.addEventListener("test",z,z),window.removeEventListener("test",z,z)}catch(e){}var Q=function(){function e(t,n,r){var o=this;i()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return o.handleEvent(e)}}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=U(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=w}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),U=function(e){return e&&(V?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},H=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new q(e,t.slice(1),n).parts:"@"===i?[new Q(e,t.slice(1),r.eventContext)]:"?"===i?[new L(e,t.slice(1),n)]:new M(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new D(e)}}]),e}());function K(e){var t=$.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},$.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(E);return void 0===(n=t.keyString.get(r))&&(n=new T(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var $=new Map,Y=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var J=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,G,null,!1),a=Z(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=X(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=Z(i,a);return}a=Z(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),W(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},ae=n(372),se=n.n(ae);window.JSCompiler_renameProperty=function(e,t){return e};var ue={toAttribute:function(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},ce=function(e,t){return t!==e&&(t==t||e==e)},le={attribute:!0,type:String,converter:ue,reflect:!1,hasChanged:ce},pe=Promise.resolve(!0),he=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=pe,e._hasConnectedResolver=void 0,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return f()(t,e),a()(t,[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var e=this;this.constructor._classProperties.forEach(function(t,n){if(e.hasOwnProperty(n)){var r=e[n];delete e[n],e._instanceProperties||(e._instanceProperties=new Map),e._instanceProperties.set(n,r)}})}},{key:"_applyInstanceProperties",value:function(){var e=this;this._instanceProperties.forEach(function(t,n){return e[n]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r)||le;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(e,t){var n=!0;if(void 0!==e){var r=this.constructor,i=r._classProperties.get(e)||le;r._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):n=!1}!this._hasRequestedUpdate&&n&&this._enqueueUpdate()}},{key:"requestUpdate",value:function(e,t){return this._requestUpdate(e,t),this.updateComplete}},{key:"_enqueueUpdate",value:function(){return new Promise(function(e,t){var n,r,i,o,a;n=this,this._updateState=4|this._updateState,o=this._updatePromise,this._updatePromise=new Promise(function(e,t){r=e,i=t});var s=function(){try{if(!this._hasConnected)return Promise.resolve(new Promise(function(e){return n._hasConnectedResolver=e})).then(function(e){try{return o.call(this)}catch(e){return t(e)}}.bind(this),t);function o(){var n=function(){try{return r(!this._hasRequestedUpdate),e()}catch(e){return t(e)}}.bind(this),o=function(e){try{return i(e),n()}catch(e){return t(e)}};try{if(null!=(a=this.performUpdate()))return Promise.resolve(a).then(function(e){try{return s.call(this)}catch(e){return o(e)}}.bind(this),o);function s(){return n()}return s.call(this)}catch(e){o(e)}}return o.call(this)}catch(e){return t(e)}}.bind(this),u=function(e){try{return s()}catch(e){return t(e)}};try{return Promise.resolve(o).then(function(e){try{return s()}catch(e){return u()}},u)}catch(e){u()}}.bind(this))}},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(function(e,n){return t._propertyToAttribute(n,t[n],e)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,n){return e._classProperties.set(n,t)})}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===y()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[n]},set:function(t){var r=this[e];this[n]=t,this._requestUpdate(e,r)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[].concat(x()(Object.getOwnPropertyNames(t)),x()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||ue,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ue.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach(function(n,r){var i=e._attributeNameForProperty(r,n);void 0!==i&&(e._attributeToPropertyMap.set(i,r),t.push(i))}),t}}]),t}(se()(HTMLElement));he.finalized=!0;var de="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fe=Symbol(),ve=function(){function e(t,n){if(i()(this,e),n!==fe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return a()(e,[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(de?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}]),e}(),ye=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:[],r=0,i=t.length;r1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function p(e,t){if("object"===("undefined"==typeof Reflect?"undefined":i()(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function g(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function x(e){return e&&e.__esModule?e:{default:e}}},,function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(275);var r=0;function i(){}i.prototype.__mixinApplications,i.prototype.__mixinSet;var o=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var n=r++;function i(r){var i=r.__mixinSet;if(i&&i[n])return r;var o=t,a=o.get(r);a||(a=e(r),o.set(r,a));var s=Object.create(a.__mixinSet||i||null);return s[n]=!0,a.__mixinSet=s,a}return i}},,,,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"getDirectiveInfoFromField",function(){return x}),n.d(t,"shouldInclude",function(){return E}),n.d(t,"getDirectiveNames",function(){return S}),n.d(t,"hasDirectives",function(){return C}),n.d(t,"hasClientExports",function(){return T}),n.d(t,"getFragmentQueryDocument",function(){return A}),n.d(t,"getMutationDefinition",function(){return I}),n.d(t,"checkDocument",function(){return N}),n.d(t,"getOperationDefinition",function(){return j}),n.d(t,"getOperationDefinitionOrDie",function(){return R}),n.d(t,"getOperationName",function(){return M}),n.d(t,"getFragmentDefinitions",function(){return F}),n.d(t,"getQueryDefinition",function(){return D}),n.d(t,"getFragmentDefinition",function(){return L}),n.d(t,"getMainDefinition",function(){return q}),n.d(t,"createFragmentMap",function(){return B}),n.d(t,"getDefaultValues",function(){return V}),n.d(t,"variablesInOperation",function(){return z}),n.d(t,"removeDirectivesFromDocument",function(){return $}),n.d(t,"addTypenameToDocument",function(){return Y}),n.d(t,"removeConnectionDirectiveFromDocument",function(){return G}),n.d(t,"getDirectivesFromDocument",function(){return Z}),n.d(t,"removeArgumentsFromDocument",function(){return ee}),n.d(t,"removeFragmentSpreadFromDocument",function(){return te}),n.d(t,"buildQueryFromSelectionSet",function(){return ne}),n.d(t,"removeClientSetsFromDocument",function(){return re}),n.d(t,"isScalarValue",function(){return c}),n.d(t,"isNumberValue",function(){return l}),n.d(t,"valueToObjectRepresentation",function(){return p}),n.d(t,"storeKeyNameFromField",function(){return h}),n.d(t,"getStoreKeyName",function(){return f}),n.d(t,"argumentsObjectFromField",function(){return v}),n.d(t,"resultKeyNameFromField",function(){return y}),n.d(t,"isField",function(){return m}),n.d(t,"isInlineFragment",function(){return b}),n.d(t,"isIdValue",function(){return _}),n.d(t,"toIdValue",function(){return g}),n.d(t,"isJsonValue",function(){return w}),n.d(t,"valueFromNode",function(){return k}),n.d(t,"assign",function(){return P}),n.d(t,"cloneDeep",function(){return oe}),n.d(t,"getEnv",function(){return ae}),n.d(t,"isEnv",function(){return se}),n.d(t,"isProduction",function(){return ue}),n.d(t,"isDevelopment",function(){return ce}),n.d(t,"isTest",function(){return le}),n.d(t,"tryFunctionOrLogError",function(){return pe}),n.d(t,"graphQLResultHasError",function(){return he}),n.d(t,"isEqual",function(){return de}),n.d(t,"maybeDeepFreeze",function(){return fe}),n.d(t,"mergeDeep",function(){return ye}),n.d(t,"mergeDeepArray",function(){return me}),n.d(t,"warnOnceInDevelopment",function(){return Oe}),n.d(t,"stripSymbols",function(){return ke});var r=n(281),i=n.n(r),o=n(410),a=n(409),s=n(289),u=n(569);function c(e){return["StringValue","BooleanValue","EnumValue"].indexOf(e.kind)>-1}function l(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function p(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map(function(e){return p(i,e.name,e.value,r)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return p(n,t,e,r),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new a.a;e[t.value]=null}}function h(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return p(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return p(r,n,i,t)})),f(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export"];function f(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,o={};return r.forEach(function(e){o[e]=i[e]}),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var s=Object(u.default)(t);a+="("+s+")"}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)}),a}function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,i=e.value;return p(n,r,i,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function g(e,t){return void 0===t&&(t=!1),Object(s.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function w(e){return null!=e&&"object"===i()(e)&&"json"===e.type}function O(e){throw new a.a}function k(e,t){switch(void 0===t&&(t=O),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return k(e,t)});case"ObjectValue":for(var n={},r=0,i=e.fields;r-1})}function T(e){return e&&C(["client"],e)&&C(["export"],e)}function A(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new a.a;"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&(Object(a.b)(1===r.length),n=r[0].name.value),Object(s.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}].concat(e.definitions)})}function P(e){for(var t=[],n=1;n1){var r=[];t=ge(t,r);for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(b.b)(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),C=function(){function e(t,n,r){if(h()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return f()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;Object(m.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=_.a,e(this)}if(this._pendingValue!==_.a){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=_.a}}}]),e}(),T=function(e){function t(e,n,r){var o;return h()(this,t),(o=i()(this,a()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return l()(t,e),f()(t,[{key:"_createPart",value:function(){return new A(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:u()(a()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(x),A=function(e){function t(){return h()(this,t),i()(this,a()(t).apply(this,arguments))}return l()(t,e),t}(E),P=!1;try{var I={get capture(){return P=!0,!1}};window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){}var N=function(){function e(t,n,r){var i=this;h()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return i.handleEvent(e)}}return f()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;Object(m.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=_.a,e(this)}if(this._pendingValue!==_.a){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=j(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=_.a}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),j=function(e){return e&&(P?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)}},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(298),u=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new s.e(e,t.slice(1),n).parts:"@"===i?[new s.c(e,t.slice(1),r.eventContext)]:"?"===i?[new s.b(e,t.slice(1),n)]:new s.a(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new s.d(e)}}]),e}()),c=n(342);n(381),n(318),n(382),n(384),n(359),n(383),n(304);n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c.b}),(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var l=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0&&m++;for(;m-- >0;){var _=t.strings[c],g=h.exec(_)[2],w=g.toLowerCase()+u,O=v.getAttribute(w).split(s);r.parts.push({type:"attribute",index:a,name:g,strings:O}),v.removeAttribute(w),c+=O.length-1}}"TEMPLATE"===v.tagName&&e(v)}else if(3===v.nodeType){var k=v.data;if(k.indexOf(o)>=0){for(var x=v.parentNode,E=k.split(s),S=E.length-1,C=0;C=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(275),n(291),n(329),function(){function e(){i()(this,e),this._asyncModule=null,this._callback=null,this._timer=null}return a()(e,[{key:"setConfig",value:function(e,t){var n=this;this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(function(){n._timer=null,u.delete(n),n._callback()})}},{key:"cancel",value:function(){this.isActive()&&(this._cancelAsync(),u.delete(this))}},{key:"_cancelAsync",value:function(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}},{key:"flush",value:function(){this.isActive()&&(this.cancel(),this._callback())}},{key:"isActive",value:function(){return null!=this._timer}}],[{key:"debounce",value:function(t,n,r){return t instanceof e?t._cancelAsync():t=new e,t.setConfig(n,r),t}}]),e}()),u=new Set,c=function(e){u.add(e)},l=function(){var e=Boolean(u.size);return u.forEach(function(e){try{e.flush()}catch(e){setTimeout(function(){throw e})}}),e}},function(e,t){e.exports=function(e){return"string"==typeof e}},,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return v});n(267);var r={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"},i={8:"backspace",9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"},o={shift:"shiftKey",ctrl:"ctrlKey",alt:"altKey",meta:"metaKey"},a=/[a-z0-9*]/,s=/U\+/,u=/^arrow/,c=/^space(bar)?/,l=/^escape$/;function p(e,t){var n="";if(e){var r=e.toLowerCase();" "===r||c.test(r)?n="space":l.test(r)?n="esc":1==r.length?t&&!a.test(r)||(n=r):n=u.test(r)?r.replace("arrow",""):"multiply"==r?"*":r}return n}function h(e,t){return e.key?p(e.key,t):e.detail&&e.detail.key?p(e.detail.key,t):(n=e.keyIdentifier,o="",n&&(n in r?o=r[n]:s.test(n)?(n=parseInt(n.replace("U+","0x"),16),o=String.fromCharCode(n).toLowerCase()):o=n.toLowerCase()),o||function(e){var t="";return Number(e)&&(t=e>=65&&e<=90?String.fromCharCode(32+e):e>=112&&e<=123?"f"+(e-112+1):e>=48&&e<=57?String(e-48):e>=96&&e<=105?String(e-96):i[e]),t}(e.keyCode)||"");var n,o}function d(e,t){return h(t,e.hasModifiers)===e.key&&(!e.hasModifiers||!!t.shiftKey==!!e.shiftKey&&!!t.ctrlKey==!!e.ctrlKey&&!!t.altKey==!!e.altKey&&!!t.metaKey==!!e.metaKey)}function f(e){return e.trim().split(" ").map(function(e){return function(e){return 1===e.length?{combo:e,key:e,event:"keydown"}:e.split("+").reduce(function(e,t){var n=t.split(":"),r=n[0],i=n[1];return r in o?(e[o[r]]=!0,e.hasModifiers=!0):(e.key=r,e.event=i||"keydown"),e},{combo:e.split(":").shift()})}(e)})}var v={properties:{keyEventTarget:{type:Object,value:function(){return this}},stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(e,t){this._imperativeKeyBindings[e]=t,this._prepKeyBindings(),this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={},this._prepKeyBindings(),this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(e,t){for(var n=f(t),r=0;r2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t;i!==n;){var o=i.nextSibling;e.insertBefore(i,r),i=o}},o=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}}},,function(e,t,n){"use strict";var r=n(412),i=n(289),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(n){void 0===n&&(n=o);var r=e.call(this,"number"==typeof n?o+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=o,s(r,t.prototype),r}return Object(i.__extends)(t,e),t}(Error);function c(e,t){if(!e)throw new u(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=0){if(!o[t])throw new Error("invalid async handle: "+e);o[t]=null}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});n(267),n(278);var r={properties:{focused:{type:Boolean,value:!1,notify:!0,readOnly:!0,reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:"_disabledChanged",reflectToAttribute:!0},_oldTabIndex:{type:String},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},observers:["_changedControlState(focused, disabled)"],ready:function(){this.addEventListener("focus",this._boundFocusBlurHandler,!0),this.addEventListener("blur",this._boundFocusBlurHandler,!0)},_focusBlurHandler:function(e){this._setFocused("focus"===e.type)},_disabledChanged:function(e,t){this.setAttribute("aria-disabled",e?"true":"false"),this.style.pointerEvents=e?"none":"",e?(this._oldTabIndex=this.getAttribute("tabindex"),this._setFocused(!1),this.tabIndex=-1,this.blur()):void 0!==this._oldTabIndex&&(null===this._oldTabIndex?this.removeAttribute("tabindex"):this.setAttribute("tabindex",this._oldTabIndex))},_changedControlState:function(){this._controlStateChanged&&this._controlStateChanged()}}},function(e,t,n){var r=n(280);e.exports=function(e,t){return r(t[e])||r(t["@@implements"])&&!!t["@@implements"](e)}},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(415),n(271));function a(){var e=i()(['\n\n \n'],['\n\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),p=n(265),h=n.n(p),d=n(276),f=n.n(d),v=n(300),y=n(318),m=n(304),b=133;function _(e,t){for(var n=e.element.content,r=e.parts,i=document.createTreeWalker(n,b,null,!1),o=w(r),a=r[o],s=-1,u=0,c=[],l=null;i.nextNode();){s++;var p=i.currentNode;for(p.previousSibling===l&&(l=null),t.has(p)&&(c.push(p),null===l&&(l=p)),null!==l&&u++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-u,a=r[o=w(r,o)]}c.forEach(function(e){return e.parentNode.removeChild(e)})}var g=function(e){for(var t=11===e.nodeType?0:1,n=document.createTreeWalker(e,b,null,!1);n.nextNode();)t++;return t},w=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,b,null,!1),a=w(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=g(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=w(i,a);return}a=w(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),_(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},N=n(295),j=n.n(N),R=n(281),M=n.n(R),F=n(618),D=n.n(F),L=n(372),q=n.n(L),B=function(e){return null!==e},V=function(e){return e?"":null},z=function(e,t){return t!==e&&(t==t||e==e)},Q={attribute:!0,type:String,reflect:!1,hasChanged:z},U=new Promise(function(e){return e(!0)}),H=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=U,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return h()(t,e),a()(t,[{key:"initialize",value:function(){this.renderRoot=this.createRenderRoot(),this._saveInstanceProperties()}},{key:"_saveInstanceProperties",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this.constructor._classProperties[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=D()(r.value,1)[0];if(this.hasOwnProperty(o)){var a=this[o];delete this[o],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(o,a)}}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}}},{key:"_applyInstanceProperties",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this._instanceProperties[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=D()(r.value,2),a=o[0],s=o[1];this[a]=s}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}this._instanceProperties=void 0}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"connectedCallback",value:function(){1&this._updateState?void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this):this.requestUpdate()}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q,r=this.constructor,i=r._propertyValueToAttribute(t,n);if(void 0!==i){var o=r._attributeNameForProperty(e,n);void 0!==o&&(this._updateState=8|this._updateState,null===i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState)}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r);this[r]=n._propertyValueFromAttribute(t,i)}}}},{key:"requestUpdate",value:function(e,t){if(void 0!==e){var n=this.constructor._classProperties.get(e)||Q;return this._requestPropertyUpdate(e,t,n)}return this._invalidate()}},{key:"_requestPropertyUpdate",value:function(e,t,n){return this.constructor._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0===n.reflect&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n)),this._invalidate()):this.updateComplete}},{key:"_invalidate",value:function(){return new Promise(function(e,t){var n,r;if(!this._hasRequestedUpdate)return this._updateState=4|this._updateState,r=this._updatePromise,this._updatePromise=new Promise(function(e){return n=e}),Promise.resolve(r).then(function(e){try{return this._validate(),n(!this._hasRequestedUpdate),i.call(this)}catch(e){return t(e)}}.bind(this),t);function i(){return e(this.updateComplete)}return i.call(this)}.bind(this))}},{key:"_validate",value:function(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){if(void 0!==this._reflectingProperties&&this._reflectingProperties.size>0){var t=!0,n=!1,r=void 0;try{for(var i,o=this._reflectingProperties[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=D()(i.value,2),s=a[0],u=a[1];this._propertyToAttribute(s,this[s],u)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}this._reflectingProperties=void 0}}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"createProperty",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q;if(!this.hasOwnProperty("_classProperties")){this._classProperties=new Map;var r=Object.getPrototypeOf(this)._classProperties;void 0!==r&&r.forEach(function(e,n){return t._classProperties.set(n,e)})}if(this._classProperties.set(e,n),!this.prototype.hasOwnProperty(e)){var i="symbol"===M()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[i]},set:function(t){var r=this[e];this[i]=t,this._requestPropertyUpdate(e,r,n)},configurable:!0,enumerable:!0})}}},{key:"_finalize",value:function(){if(!this.hasOwnProperty("_finalized")||!this._finalized){var e=Object.getPrototypeOf(this);"function"==typeof e._finalize&&e._finalize(),this._finalized=!0,this._attributeToPropertyMap=new Map;var t=this.properties,n=[].concat(j()(Object.getOwnPropertyNames(t)),j()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=void 0!==t&&t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:z)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t&&t.type;if(void 0===n)return e;var r=n===Boolean?B:"function"==typeof n?n:n.fromAttribute;return r?r(e):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t&&void 0!==t.reflect)return(t.type===Boolean?V:t.type&&t.type.toAttribute||String)(e)}},{key:"observedAttributes",get:function(){this._finalize();var e=[],t=!0,n=!1,r=void 0;try{for(var i,o=this._classProperties[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=D()(i.value,2),s=a[0],u=a[1],c=this._attributeNameForProperty(s,u);void 0!==c&&(this._attributeToPropertyMap.set(c,s),e.push(c))}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e}}]),t}(q()(HTMLElement));H._attributeToPropertyMap=new Map,H._finalized=!0,H._classProperties=new Map,H.properties={};K(function(e,t){return e.querySelector(t)}),K(function(e,t){return e.querySelectorAll(t)});function K(e){return function(t){return function(n,r){Object.defineProperty(n,r,{get:function(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0})}}}var $=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"update",value:function(e){f()(l()(t.prototype),"update",this).call(this,e);var n=this.render();n instanceof v.a&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this})}},{key:"render",value:function(){}}]),t}(H);$.render=function(e,t,n){var r=n.scopeName,i=O.a.has(t),o=t instanceof ShadowRoot&&C&&e instanceof E.b,a=o&&!P.has(r),s=a?document.createDocumentFragment():t;if(Object(O.b)(e,s,Object.assign({templateFactory:T(r)},n)),a){var u=O.a.get(s);O.a.delete(s),u.value instanceof x.a&&I(s,u.value.template,r),Object(y.b)(t,t.firstChild),t.appendChild(s),O.a.set(t,u)}!i&&o&&window.ShadyCSS.styleElement(t.host)};var Y=n(385);n.d(t,"a",function(){return J});var J=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"properties",get:function(){return{client:{type:Object},data:{type:Object},error:{type:Object},loading:{type:Boolean}}}}]),t}(Object(Y.a)($))},,,,,,function(e,t,n){var r=n(356);e.exports=function(e){return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},function(e,t,n){var r=n(287),i=n(280),o=n(479);e.exports=r(function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n})},function(e,t,n){"use strict";n.d(t,"b",function(){return m}),n.d(t,"a",function(){return b});var r=n(264),i=n.n(r),o=n(263),a=n.n(o),s=n(276),u=n.n(s),c=n(265),l=n.n(c),p=n(261),h=n.n(p),d=n(262),f=n.n(d),v=n(318),y=n(304),m=function(){function e(t,n,r,i){h()(this,e),this.strings=t,this.values=n,this.type=r,this.processor=i}return f()(e,[{key:"getHTML",value:function(){for(var e=this.strings.length-1,t="",n=0;n".concat(u()(a()(t.prototype),"getHTML",this).call(this),"")}},{key:"getTemplateElement",value:function(){var e=u()(a()(t.prototype),"getTemplateElement",this).call(this),n=e.content,r=n.firstChild;return n.removeChild(r),Object(v.c)(n,r.firstChild),e}}]),t}(m)},function(e,t,n){"use strict";var r,i=n(261),o=n.n(i),a=n(262),s=n.n(a),u=n(264),c=n.n(u),l=n(263),p=n.n(l),h=n(265),d=n.n(h),f=n(327),v=n.n(f),y=n(276),m=n.n(y),b=n(385),_=n(603),g=n.n(_),w=n(604),O=n.n(w),k=n(605),x=n.n(k),E=n(606),S=n.n(E),C=n(607),T=n.n(C),A=n(608),P=n.n(A),I=n(483),N=n.n(I),j=n(478),R=n.n(j),M=n(609),F=n.n(M),D=n(484),L=n.n(D),q=n(613),B=n.n(q),V=n(476),z=n.n(V),Q=n(614),U=n.n(Q),H=n(615),K=n.n(H),$=n(617),Y=n.n($),J=x()(S.a),G=B()(["type","kind"],"NonNullType"),W=U()(void 0,["variable","name","value"]),X=z()(null,"query"),Z=function(e){return L()("definitions",X(e)).map(R()(L()("variableDefinitions"))).chain(T.a).chain(P.a).map(R()(N()(G,W,K.a))).map(O()(P.a)).map(R()(J(z()(null,"variables",e)))).map(F()(g.a)).map(Y.a).option(!1)},ee=n(334),te=function(e){function t(){return o()(this,t),c()(this,p()(t).apply(this,arguments))}return d()(t,e),s()(t,[{key:"shouldUpdate",value:function(){return!!this.data||!!this.error||null!=this.loading}}],[{key:"properties",get:function(){return{networkStatus:{type:Number}}}}]),t}((r=ee.a,function(e){function t(){var e;return o()(this,t),(e=c()(this,p()(t).call(this))).nextData=e.nextData.bind(v()(e)),e.nextError=e.nextError.bind(v()(e)),e.errorPolicy="none",e.fetchPolicy="cache-first",e.fetchResults=void 0,e.pollInterval=void 0,e.notifyOnNetworkStatusChange=void 0,e.variables=void 0,e.query=void 0,e.tryFetch=void 0,e.observableQuery,e}return d()(t,e),s()(t,[{key:"query",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Query must be a gql-parsed DocumentNode")}!this.noAutoSubscribe&&e&&this.subscribe({query:e,variables:this.variables})}},{key:"variables",get:function(){return this.__variables},set:function(e){this.__variables=e;var t=this.__query;this.observableQuery?this.setVariables(e):this.subscribe({query:t,variables:e})}},{key:"options",get:function(){return this.__options},set:function(e){this.__options=e,this.observableQuery&&this.observableQuery.setOptions(e)}}]),s()(t,[{key:"connectedCallback",value:function(){m()(p()(t.prototype),"connectedCallback",this)&&m()(p()(t.prototype),"connectedCallback",this).call(this),this.query&&this.subscribe()}},{key:"setVariables",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tryFetch,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.fetchResults;return this.observableQuery&&this.observableQuery.setVariables(e,t,n)}},{key:"subscribe",value:function(){var e=arguments;return new Promise(function(t,n){var r=e.length>0&&void 0!==e[0]?e[0]:{},i=r.query,o=void 0===i?this.query:i,a=r.variables,s=void 0===a?this.variables:a;return Z({query:o,variables:s})?(this.observableQuery=this.watchQuery({query:o,variables:s}),t(this.observableQuery.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}},{key:"subscribeToMore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.document,n=e.updateQuery;return this.observableQuery&&this.observableQuery.subscribeToMore({document:t,updateQuery:n})}},{key:"executeQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.metadata,n=e.context,r=e.query,i=void 0===r?this.query:r,o=e.variables,a=void 0===o?this.variables:o,s=e.fetchPolicy,u=void 0===s?this.fetchPolicy:s,c=e.errorPolicy,l=void 0===c?this.errorPolicy:c,p=e.fetchResults,h=void 0===p?this.fetchResults:p,d=this.client.query({context:n,errorPolicy:l,fetchPolicy:u,fetchResults:h,metadata:t,query:i,variables:a}).catch(this.nextError.bind(this));return d.then(this.nextData.bind(this)),d}},{key:"fetchMore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.query,n=void 0===t?this.query:t,r=e.updateQuery,i=e.variables;return this.observableQuery&&this.observableQuery.fetchMore({query:n,updateQuery:r,variables:i})}},{key:"watchQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.context,n=void 0===t?this.context:t,r=e.errorPolicy,i=void 0===r?this.errorPolicy:r,o=e.fetchPolicy,a=void 0===o?this.fetchPolicy:o,s=e.fetchResults,u=void 0===s?this.fetchResults:s,c=e.metadata,l=void 0===c?this.metadata:c,p=e.notifyOnNetworkStatusChange,h=void 0===p?this.notifyOnNetworkStatusChange:p,d=e.pollInterval,f=void 0===d?this.pollInterval:d,v=e.query,y=void 0===v?this.query:v,m=e.variables,b=void 0===m?this.variables:m;return this.client.watchQuery({context:n,errorPolicy:i,fetchPolicy:a,fetchResults:u,metadata:l,notifyOnNetworkStatusChange:h,pollInterval:f,query:y,variables:b})}},{key:"nextData",value:function(e){var t=e.data,n=e.loading,r=e.networkStatus,i=e.stale;this.data=t,this.loading=n,this.networkStatus=r,this.stale=i}},{key:"nextError",value:function(e){this.error=e}}]),t}(Object(b.a)(r)))),ne=n(421),re=n(622),ie=n.n(re),oe=(function(e){(function(e){function t(){var e;return o()(this,t),(e=c()(this,p()(t).call(this))).nextData=e.nextData.bind(v()(e)),e.nextError=e.nextError.bind(v()(e)),e.fetchPolicy="cache-first",e.fetchResults=void 0,e.pollInterval=void 0,e.notifyOnNetworkStatusChange=void 0,e.variables=void 0,e.subscription=null,e.tryFetch=void 0,e.observable,e}d()(t,e),s()(t,[{key:"subscription",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Subscription must be a gql-parsed DocumentNode")}e&&!this.observable&&this.subscribe()}},{key:"variables",get:function(){return this.__variables},set:function(e){this.__variables=e,this.observable||this.subscribe()}}]),s()(t,[{key:"connectedCallback",value:function(){m()(p()(t.prototype),"connectedCallback",this)&&m()(p()(t.prototype),"connectedCallback",this).call(this),this.subscribe()}},{key:"subscribe",value:function(){var e=arguments;return new Promise(function(t,n){var r=e.length>0&&void 0!==e[0]?e[0]:this,i=r.fetchPolicy,o=void 0===i?this.fetchPolicy:i,a=r.query,s=void 0===a?this.subscription:a,u=r.variables,c=void 0===u?this.variables:u;return Z({query:s,variables:c})?(this.observable=this.client.subscribe({query:s,variables:c,fetchPolicy:o}),t(this.observable.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}},{key:"nextData",value:function(e){var t=e.data,n=this.client,r=this.onSubscriptionData;ie()(r)&&r({client:n,subscriptionData:{data:t}}),this.data=t,this.loading=!1,this.error=void 0}},{key:"nextError",value:function(e){this.error=e,this.loading=!1}}])})(Object(b.a)(e))}(ee.a),n(422),n(300));n.d(t,"b",function(){return te}),n.d(t,"a",function(){return ne.a}),n.d(t,"c",function(){return oe.b})},,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},,,,,,,,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(271));function a(){var e=i()(['\n\n \n\n\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content);var u=document.createElement("style");u.textContent="[hidden] { display: none !important; }",document.head.appendChild(u)},function(e,t,n){"use strict";n.d(t,"b",function(){return i});n(275);var r=n(309);n.d(t,"a",function(){return r.b});var i=function(){var e,t;do{e=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=Object(r.c)()}while(e||t)}},function(e,t){e.exports=function(e){return void 0!==e}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t,n){var r=n(593);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){var n={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e){return{type:r(e)}},type:r,typeFn:function(e,t){return"crocks/"+r(e)()+"@"+(t||0)}}},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});var r=n(304);function i(e){var t=o.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},o.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var i=e.strings.join(r.f);return void 0===(n=t.keyString.get(i))&&(n=new r.a(e,e.getTemplateElement()),t.keyString.set(i,n)),t.stringsArray.set(e.strings,n),n}var o=new Map},,,,,,,,,,,,,function(e,t,n){var r=n(263),i=n(408),o=n(565),a=n(566);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},,,function(e,t,n){"use strict";n.d(t,"c",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c});n(275);var r,i,o=/(url\()([^)]*)(\))/g,a=/(^\/)|(^#)|(^[\w-\d]*:)/;function s(e,t){if(e&&a.test(e))return e;if(void 0===r){r=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",r="http://a/c%20d"===n.href}catch(e){}}return t||(t=document.baseURI||window.location.href),r?new URL(e,t).href:(i||((i=document.implementation.createHTMLDocument("temp")).base=i.createElement("base"),i.head.appendChild(i.base),i.anchor=i.createElement("a"),i.body.appendChild(i.anchor)),i.base.href=t,i.anchor.href=e,i.anchor.href||e)}function u(e,t){return e.replace(o,function(e,n,r,i){return n+"'"+s(r.replace(/["']/g,""),t)+"'"+i})}function c(e){return e.substring(0,e.lastIndexOf("/")+1)}},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"g",function(){return i}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"i",function(){return s}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return c}),n.d(t,"a",function(){return p}),n.d(t,"h",function(){return h});n(275);function r(e){return e.indexOf(".")>=0}function i(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function o(e,t){return 0===e.indexOf(t+".")}function a(e,t){return 0===t.indexOf(e+".")}function s(e,t,n){return t+n.slice(e.length)}function u(e,t){return e===t||o(e,t)||a(e,t)}function c(e){if(Array.isArray(e)){for(var t=[],n=0;n1){for(var a=0;a-1}var b=!1;function _(e){if(!m(e)&&"touchend"!==e)return s&&b&&o.c?{passive:!0}:void 0}!function(){try{var e=Object.defineProperty({},"passive",{get:function(){b=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();var g=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/),w=[],O={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},k={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function x(e){var t=Array.prototype.slice.call(e.labels||[]);if(!t.length){t=[];var n=e.getRootNode();if(e.id)for(var r=n.querySelectorAll("label[for = ".concat(e.id,"]")),i=0;i-1;if(i[o]===T.mouse.target)return}if(r)return;e.preventDefault(),e.stopPropagation()}};function S(e){for(var t,n=g?["click"]:f,r=0;r0?t[0]:e.target}function M(e){var t,n=e.type,r=e.currentTarget[u];if(r){var i=r[n];if(i){if(!e[c]&&(e[c]={},"touch"===n.slice(0,5))){var o=(e=e).changedTouches[0];if("touchstart"===n&&1===e.touches.length&&(T.touch.id=o.identifier),T.touch.id!==o.identifier)return;s||"touchstart"!==n&&"touchmove"!==n||function(e){var t=e.changedTouches[0],n=e.type;if("touchstart"===n)T.touch.x=t.clientX,T.touch.y=t.clientY,T.touch.scrollDecided=!1;else if("touchmove"===n){if(T.touch.scrollDecided)return;T.touch.scrollDecided=!0;var r=function(e){for(var t,n="auto",r=I(e),i=0;io:"pan-y"===r&&(i=o>a)),i?e.preventDefault():V("track")}}(e)}if(!(t=e[c]).skip){for(var a,p=0;p-1&&a.reset&&a.reset();for(var h,d=0;d=h||i>=h}function U(e,t,n){if(t){var r,i=e.moves[e.moves.length-2],o=e.moves[e.moves.length-1],a=o.x-e.x,s=o.y-e.y,u=0;i&&(r=o.x-i.x,u=o.y-i.y),B(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:a,dy:s,ddx:r,ddy:u,sourceEvent:n,hover:function(){return function(e,t){for(var n=document.elementFromPoint(e,t),r=n;r&&r.shadowRoot&&!window.ShadyDOM&&r!==(r=r.shadowRoot.elementFromPoint(e,t));)r&&(n=r);return n}(n.clientX,n.clientY)}})}}function H(e,t,n){var r=Math.abs(t.clientX-e.x),i=Math.abs(t.clientY-e.y),o=R(n||t);!o||k[o.localName]&&o.hasAttribute("disabled")||(isNaN(r)||isNaN(i)||r<=p&&i<=p||function(e){if("click"===e.type){if(0===e.detail)return!0;var t=R(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;var n=t.getBoundingClientRect(),r=e.pageX,i=e.pageY;return!(r>=n.left&&r<=n.right&&i>=n.top&&i<=n.bottom)}return!1}(t))&&(e.prevent||B(o,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}L({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){P(this.info)},mousedown:function(e){if(C(e)){var t=R(e),n=this;A(this.info,function(e){C(e)||(z("up",t,e),P(n.info))},function(e){C(e)&&z("up",t,e),P(n.info)}),z("down",t,e)}},touchstart:function(e){z("down",R(e),e.changedTouches[0],e)},touchend:function(e){z("up",R(e),e.changedTouches[0],e)}}),L({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,P(this.info)},mousedown:function(e){if(C(e)){var t=R(e),n=this,r=function(e){var r=e.clientX,i=e.clientY;Q(n.info,r,i)&&(n.info.state=n.info.started?"mouseup"===e.type?"end":"track":"start","start"===n.info.state&&V("tap"),n.info.addMove({x:r,y:i}),C(e)||(n.info.state="end",P(n.info)),t&&U(n.info,t,e),n.info.started=!0)};A(this.info,r,function(e){n.info.started&&r(e),P(n.info)}),this.info.x=e.clientX,this.info.y=e.clientY}},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){var t=R(e),n=e.changedTouches[0],r=n.clientX,i=n.clientY;Q(this.info,r,i)&&("start"===this.info.state&&V("tap"),this.info.addMove({x:r,y:i}),U(this.info,t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){var t=R(e),n=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),U(this.info,t,n))}}),L({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(e){C(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click:function(e){C(e)&&H(this.info,e)},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend:function(e){H(this.info,e.changedTouches[0],e)}});var K=R,$=F},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(388),i=(n(271),Object(r.a)(HTMLElement))},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});n(267),n(330);var r=n(315),i=n(278),o={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:"aria-pressed",observer:"_ariaActiveAttributeChanged"}},listeners:{down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},observers:["_focusChanged(focused)","_activeChanged(active, ariaActiveAttribute)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_mouseEventRe:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_focusChanged:function(e){this._detectKeyboardFocus(e),e||this._setPressed(!1)},_detectKeyboardFocus:function(e){this._setReceivedFocusFromKeyboard(!this.pointerDown&&e)},_userActivate:function(e){this.active!==e&&(this.active=e,this.fire("change"))},_downHandler:function(e){this._setPointerDown(!0),this._setPressed(!0),this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1),this._setPressed(!1)},_spaceKeyDownHandler:function(e){var t=e.detail.keyboardEvent,n=Object(i.a)(t).localTarget;this.isLightDescendant(n)||(t.preventDefault(),t.stopImmediatePropagation(),this._setPressed(!0))},_spaceKeyUpHandler:function(e){var t=e.detail.keyboardEvent,n=Object(i.a)(t).localTarget;this.isLightDescendant(n)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},_asyncClick:function(){this.async(function(){this.click()},1)},_pressedChanged:function(e){this._changedButtonState()},_ariaActiveAttributeChanged:function(e,t){t&&t!=e&&this.hasAttribute(t)&&this.removeAttribute(t)},_activeChanged:function(e,t){this.toggles?this.setAttribute(this.ariaActiveAttribute,e?"true":"false"):this.removeAttribute(this.ariaActiveAttribute),this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}},a=[r.a,o]},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=new WeakMap,i=function(e){return"function"==typeof e&&r.has(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r={},i={}},function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r=n(295),i=n.n(r),o=n(261),a=n.n(o),s=n(262),u=n.n(s),c=n(318),l=n(304),p=function(){function e(t,n,r){a()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return u()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var p,h=this._parts[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var d=p.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=c.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,o=0;return function t(a){for(var s=document.createTreeWalker(a,133,null,!1),u=s.nextNode();r/g,""),L()("innerText")),B=b()(S()("SCRIPT"),x()(null,"tagName"));var V=F()(T.a,O()(null),F()(R()(B,function(e){return e instanceof Element&&"application/graphql"===e.getAttribute("type")}),q,function(){return function(e){throw new TypeError(e)}('Script must be of type "application/graphql"')})),z=b()(V,function(e){return e instanceof HTMLElement&&e.querySelector('script[type="application/graphql"]')}),Q=n(281),U=n.n(Q),H=function(e){return!!(e&&"object"===U()(e)&&"kind"in e&&"definitions"in e)};n.d(t,"a",function(){return K});var K=function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,h()(t).call(this))).onElementMutation=e.onElementMutation.bind(l()(e)),e.context=void 0,e.data=void 0,e.error=void 0,e.loading=void 0,e.client=window.__APOLLO_CLIENT__,e.elementMutationObserver=new MutationObserver(e.onElementMutation),e}return y()(t,e),a()(t,[{key:"connectedCallback",value:function(){f()(h()(t.prototype),"connectedCallback",this)&&f()(h()(t.prototype),"connectedCallback",this).call(this),this.elementMutationObserver.observe(this,{characterData:!0,childList:!0,subtree:!0}),this.document=z(this)||null}},{key:"disconnectedCallback",value:function(){f()(h()(t.prototype),"disconnectedCallback",this)&&f()(h()(t.prototype),"disconnectedCallback",this).call(this),this.elementMutationObserver&&this.elementMutationObserver.disconnect(),this.elementMutationObserver=null}},{key:"onElementMutation",value:function(){var e=z(this);e&&(this.document=e)}},{key:"document",get:function(){return this.__document||null},set:function(e){if(H(e))this.__document=e;else if(e)throw new TypeError("document must be a gql-parsed DocumentNode")}}]),t}(e)}},,,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(264),a=n.n(o),s=n(262),u=n.n(s),c=n(265),l=n.n(c),p=n(263),h=n.n(p),d=n(276),f=n.n(d),v=(n(275),n(303)),y=n(291),m=n(468),b=n(375),_=n(414),g=n(429);var w=[];var O=n(470);var k=Object(y.a)(function(e){function t(e){var t=Object.getPrototypeOf(e);return t.prototype instanceof r?t:null}function n(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){var t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){var n=e.properties;n&&(t=function(e){var t={};for(var n in e){var r=e[n];t[n]="function"==typeof r?{type:r}:r}return t}(n))}e.__ownProperties=t}return e.__ownProperties}var r=function(e){function r(){return i()(this,r),a()(this,h()(r).apply(this,arguments))}return l()(r,e),u()(r,[{key:"_initializeProperties",value:function(){0,this.constructor.finalize(),f()(h()(r.prototype),"_initializeProperties",this).call(this)}},{key:"connectedCallback",value:function(){f()(h()(r.prototype),"connectedCallback",this)&&f()(h()(r.prototype),"connectedCallback",this).call(this),this._enableProperties()}},{key:"disconnectedCallback",value:function(){f()(h()(r.prototype),"disconnectedCallback",this)&&f()(h()(r.prototype),"disconnectedCallback",this).call(this)}}],[{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){var e=t(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}},{key:"_finalizeClass",value:function(){var e=n(this);e&&this.createProperties(e)}},{key:"typeForProperty",value:function(e){var t=this._properties[e];return t&&t.type}},{key:"observedAttributes",get:function(){var e,t=this;if(!this.hasOwnProperty("__observedAttributes")){e=this.prototype,w.push(e);var n=this._properties;this.__observedAttributes=n?Object.keys(n).map(function(e){return t.attributeNameForProperty(e)}):[]}return this.__observedAttributes}},{key:"_properties",get:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){var e=t(this);this.__properties=Object.assign({},e&&e._properties,n(this))}return this.__properties}}]),r}(Object(O.a)(e));return r}),x=n(297);n.d(t,"a",function(){return S});var E=window.ShadyCSS&&window.ShadyCSS.cssBuild,S=Object(y.a)(function(e){return function(e){function t(){var e;return i()(this,t),(e=a()(this,h()(t).call(this)))._template,e._importPath,e.rootPath,e.importPath,e.root,e.$,e}return l()(t,e),u()(t,null,[{key:"_finalizeClass",value:function(){f()(h()(t),"_finalizeClass",this).call(this);var e,n=((e=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",e))||(e.__ownObservers=e.hasOwnProperty(JSCompiler_renameProperty("observers",e))?e.observers:null),e.__ownObservers);n&&this.createObservers(n,this._properties),this._prepareTemplate()}},{key:"_prepareTemplate",value:function(){var e=this.template;e&&("string"==typeof e?(console.error("template getter must return HTMLTemplateElement"),e=null):v.b||(e=e.cloneNode(!0))),this.prototype._template=e}},{key:"createProperties",value:function(e){for(var t in e)n=this.prototype,r=t,i=e[t],o=e,i.computed&&(i.readOnly=!0),i.computed&&(n._hasReadOnlyEffect(r)?console.warn("Cannot redefine computed property '".concat(r,"'.")):n._createComputedProperty(r,i.computed,o)),i.readOnly&&!n._hasReadOnlyEffect(r)?n._createReadOnlyProperty(r,!i.computed):!1===i.readOnly&&n._hasReadOnlyEffect(r)&&console.warn("Cannot make readOnly property '".concat(r,"' non-readOnly.")),i.reflectToAttribute&&!n._hasReflectEffect(r)?n._createReflectedProperty(r):!1===i.reflectToAttribute&&n._hasReflectEffect(r)&&console.warn("Cannot make reflected property '".concat(r,"' non-reflected.")),i.notify&&!n._hasNotifyEffect(r)?n._createNotifyingProperty(r):!1===i.notify&&n._hasNotifyEffect(r)&&console.warn("Cannot make notify property '".concat(r,"' non-notify.")),i.observer&&n._createPropertyObserver(r,i.observer,o[i.observer]),n._addPropertyToAttributeMap(r);var n,r,i,o}},{key:"createObservers",value:function(e,t){for(var n=this.prototype,r=0;r\n \n"]);return s=function(){return e},e}var u=Object(a.a)(s());u.setAttribute("style","display: none;"),document.head.appendChild(u.content)},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,p=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&d())}function d(){if(!l){var e=s(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],p=-1,h=[],d=void 0,f=void 0,v=void 0,y=[],m=[],b=e;do{var _=++p===l.length,g=_&&0!==h.length;if(_){if(f=0===m.length?void 0:y[y.length-1],d=v,v=m.pop(),g){if(c)d=d.slice();else{for(var w={},O=Object.keys(d),k=0;k\n \n\n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},function(e,t,n){var r=n(331),i=n(597);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(358).proxy("Pred"),i=n(280),o=n(341);e.exports=function(e){return i(e)||o(r,e)}},function(e,t,n){var r=n(280);e.exports=function(e,t){return r(e)?e(t):e.runWith(t)}},function(e,t,n){var r=n(341),i=n(477),o=n(331),a=n(479),s=function(e,t){return e.valueOf()===t.valueOf()},u={Array:function(e,t){return e.length===t.length&&c(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e,t){return Object.keys(e).length===Object.keys(t).length&&c(e,t)},RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function c(e,t){for(var n in e)if(!l(e[n],t[n]))return!1;return!0}function l(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?e.equals(t):(u[a(e)]||s)(e,t))}e.exports=l},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),p=n(265),h=n.n(p),d=n(334),f=n(422),v=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"properties",get:function(){return{called:{type:Boolean}}}}]),t}(Object(f.a)(d.a))},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(261),i=n.n(r),o=n(264),a=n.n(o),s=n(263),u=n.n(s),c=n(262),l=n.n(c),p=n(265),h=n.n(p),d=n(385),f=function(e){return function(e){function t(){var e;return i()(this,t),(e=a()(this,u()(t).call(this))).ignoreResults=!1,e.mostRecentMutationId=0,e.onCompleted=function(){},e.onError=function(){},e.optimisticResponse=void 0,e.onUpdate=void 0,e.variables=void 0,e.__explicitlySetMutation=void 0,e}return h()(t,e),l()(t,[{key:"mutation",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Mutation must be a gql-parsed DocumentNode")}}}]),l()(t,[{key:"generateMutationId",value:function(){return this.mostRecentMutationId+=1,this.mostRecentMutationId}},{key:"isMostRecentMutation",value:function(e){return this.mostRecentMutationId===e}},{key:"mutate",value:function(){var e=arguments;return new Promise(function(t,n){var r,i,o,a,s,u,c,l,p,h,d,f,v,y,m,b,_,g,w,O,k;o=void 0===(i=(r=e.length>0&&void 0!==e[0]?e[0]:this).context)?this.context:i,s=void 0===(a=r.errorPolicy)?this.errorPolicy:a,c=void 0===(u=r.fetchPolicy)?this.fetchPolicy:u,p=void 0===(l=r.mutation)?this.mutation:l,d=void 0===(h=r.optimisticResponse)?this.optimisticResponse:h,v=void 0===(f=r.refetchQueries)?this.refetchQueries:f,m=void 0===(y=r.update)?this.onUpdate:y,_=void 0===(b=r.awaitRefetchQueries)?this.awaitRefetchQueries:b,w=void 0===(g=r.variables)?this.variables:g,O=this.generateMutationId(),this.loading=!0,this.error=void 0,this.data=void 0,this.called=!0;var x=function(e){try{return this.onMutationError(e,O),t(e)}catch(e){return n(e)}}.bind(this);try{return Promise.resolve(this.client.mutate({context:o,errorPolicy:s,fetchPolicy:c,mutation:p,optimisticResponse:d,refetchQueries:v,update:m,awaitRefetchQueries:_,variables:w})).then(function(e){try{return k=e,this.onCompletedMutation(k,O),t(k)}catch(e){return x(e)}}.bind(this),x)}catch(e){x(e)}}.bind(this))}},{key:"onCompletedMutation",value:function(e,t){var n=e.data;return this.isMostRecentMutation(t)&&!this.ignoreResults&&(this.loading=!1,this.error=null,this.data=n),this.onCompleted(n)}},{key:"onMutationError",value:function(e,t){return this.isMostRecentMutation(t)&&(this.loading=!1,this.data=null,this.error=e),this.onError(e)}}]),t}(Object(d.a)(e))}},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(267),n(272)),u=function(){function e(t){i()(this,e),e[" "](t),this.type=t&&t.type||"default",this.key=t&&t.key,t&&"value"in t&&(this.value=t.value)}return a()(e,[{key:"byKey",value:function(e){return this.key=e,this.value}},{key:"value",get:function(){var t=this.type,n=this.key;if(t&&n)return e.types[t]&&e.types[t][n]},set:function(t){var n=this.type,r=this.key;n&&r&&(n=e.types[n]=e.types[n]||{},null==t?delete n[r]:n[r]=t)}},{key:"list",get:function(){if(this.type){var t=e.types[this.type];return t?Object.keys(t).map(function(e){return c[this.type][e]},this):[]}}}]),e}();u[" "]=function(){},u.types={};var c=u.types;Object(s.a)({is:"iron-meta",properties:{type:{type:String,value:"default"},key:{type:String},value:{type:String,notify:!0},self:{type:Boolean,observer:"_selfChanged"},__meta:{type:Boolean,computed:"__computeMeta(type, key, value)"}},hostAttributes:{hidden:!0},__computeMeta:function(e,t,n){var r=new u({type:e,key:t});return void 0!==n&&n!==r.value?r.value=n:this.value!==r.value&&(this.value=r.value),r},get list(){return this.__meta&&this.__meta.list},_selfChanged:function(e){e&&(this.value=this)},byKey:function(e){return new u({type:this.type,key:e}).value}})},,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(272)),a=n(271);function s(){var e=i()(['\n \n
[[_text]]
\n']);return s=function(){return e},e}var u=Object(o.a)({_template:Object(a.a)(s()),is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},_text:{type:String,value:""}},created:function(){u.instance||(u.instance=this),document.body.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},announce:function(e){this._text="",this.async(function(){this._text=e},100)},_onIronAnnounce:function(e){e.detail&&e.detail.text&&this.announce(e.detail.text)}});u.instance=null,u.requestAvailability=function(){u.instance||(u.instance=document.createElement("iron-a11y-announcer")),document.body.appendChild(u.instance)};var c=n(490),l=n(278);function p(){var e=i()(['\n \n \n']);return p=function(){return e},e}Object(o.a)({_template:Object(a.a)(p()),is:"iron-input",behaviors:[c.a],properties:{bindValue:{type:String,value:""},value:{type:String,computed:"_computeValue(bindValue)"},allowedPattern:{type:String},autoValidate:{type:Boolean,value:!1},_inputElement:Object},observers:["_bindValueChanged(bindValue, _inputElement)"],listeners:{input:"_onInput",keypress:"_onKeypress"},created:function(){u.requestAvailability(),this._previousValidInput="",this._patternAlreadyChecked=!1},attached:function(){this._observer=Object(l.a)(this).observeNodes(function(e){this._initSlottedInput()}.bind(this))},detached:function(){this._observer&&(Object(l.a)(this).unobserveNodes(this._observer),this._observer=null)},get inputElement(){return this._inputElement},_initSlottedInput:function(){this._inputElement=this.getEffectiveChildren()[0],this.inputElement&&this.inputElement.value&&(this.bindValue=this.inputElement.value),this.fire("iron-input-ready")},get _patternRegExp(){var e;if(this.allowedPattern)e=new RegExp(this.allowedPattern);else switch(this.inputElement.type){case"number":e=/[0-9.,e-]/}return e},_bindValueChanged:function(e,t){t&&(void 0===e?t.value=null:e!==t.value&&(this.inputElement.value=e),this.autoValidate&&this.validate(),this.fire("bind-value-changed",{value:e}))},_onInput:function(){this.allowedPattern&&!this._patternAlreadyChecked&&(this._checkPatternValidity()||(this._announceInvalidCharacter("Invalid string of characters not entered."),this.inputElement.value=this._previousValidInput));this.bindValue=this._previousValidInput=this.inputElement.value,this._patternAlreadyChecked=!1},_isPrintable:function(e){var t=8==e.keyCode||9==e.keyCode||13==e.keyCode||27==e.keyCode,n=19==e.keyCode||20==e.keyCode||45==e.keyCode||46==e.keyCode||144==e.keyCode||145==e.keyCode||e.keyCode>32&&e.keyCode<41||e.keyCode>111&&e.keyCode<124;return!(t||0==e.charCode&&n)},_onKeypress:function(e){if(this.allowedPattern||"number"===this.inputElement.type){var t=this._patternRegExp;if(t&&!(e.metaKey||e.ctrlKey||e.altKey)){this._patternAlreadyChecked=!0;var n=String.fromCharCode(e.charCode);this._isPrintable(e)&&!t.test(n)&&(e.preventDefault(),this._announceInvalidCharacter("Invalid character "+n+" not entered."))}}},_checkPatternValidity:function(){var e=this._patternRegExp;if(!e)return!0;for(var t=0;t\n :host {\n display: inline-block;\n float: right;\n\n @apply --paper-font-caption;\n @apply --paper-input-char-counter;\n }\n\n :host([hidden]) {\n display: none !important;\n }\n\n :host(:dir(rtl)) {\n float: left;\n }\n \n\n [[_charCounterStr]]\n"]);return d=function(){return e},e}Object(o.a)({_template:Object(a.a)(d()),is:"paper-input-char-counter",behaviors:[h],properties:{_charCounterStr:{type:String,value:"0"}},update:function(e){if(e.inputElement){e.value=e.value||"";var t=e.value.toString().length.toString();e.inputElement.hasAttribute("maxlength")&&(t+="/"+e.inputElement.getAttribute("maxlength")),this._charCounterStr=t}}});n(353),n(332);var f=n(377);function v(){var e=i()(['\n \n\n \n\n
\n \n\n
\n \n \n
\n\n \n
\n\n
\n
\n
\n
\n\n
\n \n
\n'],['\n \n\n \n\n
\n \n\n
\n \n \n
\n\n \n
\n\n
\n
\n
\n
\n\n
\n \n
\n']);return v=function(){return e},e}function y(){var e=i()(['\n\n \n\n']);return y=function(){return e},e}var m=Object(a.a)(y());function b(){var e=i()(["\n \n\n \n"]);return b=function(){return e},e}m.setAttribute("style","display: none;"),document.head.appendChild(m.content),Object(o.a)({_template:Object(a.a)(v()),is:"paper-input-container",properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,iron-input,textarea,.paper-input-input"},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return Object(f.b)(this.attrForValue)},get _inputElement(){return Object(l.a)(this).querySelector(this._inputSelector)},get _inputElementValue(){return this._inputElement[this._propertyForValue]||this._inputElement.value},ready:function(){this.__isFirstValueUpdate=!0,this._addons||(this._addons=[]),this.addEventListener("focus",this._boundOnFocus,!0),this.addEventListener("blur",this._boundOnBlur,!0)},attached:function(){this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput),this._inputElementValue&&""!=this._inputElementValue?this._handleValueAndAutoValidate(this._inputElement):this._handleValue(this._inputElement)},_onAddonAttached:function(e){this._addons||(this._addons=[]);var t=e.target;-1===this._addons.indexOf(t)&&(this._addons.push(t),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1),this._handleValueAndAutoValidate(this._inputElement)},_onInput:function(e){this._handleValueAndAutoValidate(e.target)},_onValueChanged:function(e){var t=e.target;this.__isFirstValueUpdate&&(this.__isFirstValueUpdate=!1,void 0===t.value||""===t.value)||this._handleValueAndAutoValidate(e.target)},_handleValue:function(e){var t=this._inputElementValue;t||0===t||"number"===e.type&&!e.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1,this.updateAddons({inputElement:e,value:t,invalid:this.invalid})},_handleValueAndAutoValidate:function(e){var t;this.autoValidate&&e&&(t=e.validate?e.validate(this._inputElementValue):e.checkValidity(),this.invalid=!t);this._handleValue(e)},_onIronInputValidate:function(e){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},updateAddons:function(e){for(var t,n=0;t=this._addons[n];n++)t.update(e)},_computeInputContentClass:function(e,t,n,r,i){var o="input-content";if(e)i&&(o+=" label-is-hidden"),r&&(o+=" is-invalid");else{var a=this.querySelector("label");t||i?(o+=" label-is-floating",this.$.labelAndInputContainer.style.position="static",r?o+=" is-invalid":n&&(o+=" label-is-highlighted")):(a&&(this.$.labelAndInputContainer.style.position="relative"),r&&(o+=" is-invalid"))}return n&&(o+=" focused"),o},_computeUnderlineClass:function(e,t){var n="underline";return t?n+=" is-invalid":e&&(n+=" is-highlighted"),n},_computeAddOnContentClass:function(e,t){var n="add-on-content";return t?n+=" is-invalid":e&&(n+=" is-highlighted"),n}}),Object(o.a)({_template:Object(a.a)(b()),is:"paper-input-error",behaviors:[h],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(e){this._setInvalid(e.invalid)}});var _=n(491),g=(n(414),n(315)),w=n(330),O=n(379),k={NextLabelID:1,NextAddonID:1,NextInputID:1},x={properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1,notify:!0},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,observer:"_autofocusChanged"},inputmode:{type:String},minlength:{type:Number},maxlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},autocapitalize:{type:String,value:"none"},autocorrect:{type:String,value:"off"},autosave:{type:String},results:{type:Number},accept:{type:String},multiple:{type:Boolean},_ariaDescribedBy:{type:String,value:""},_ariaLabelledBy:{type:String,value:""},_inputId:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},keyBindings:{"shift+tab:keydown":"_onShiftTabDown"},hostAttributes:{tabindex:0},get inputElement(){return this.$||(this.$={}),this.$.input||(this._generateInputId(),this.$.input=this.$$("#"+this._inputId)),this.$.input},get _focusableElement(){return this.inputElement},created:function(){this._typesThatHaveText=["date","datetime","datetime-local","month","time","week","file"]},attached:function(){this._updateAriaLabelledBy(),!O.a&&this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.inputElement.type)&&(this.alwaysFloatLabel=!0)},_appendStringWithSpace:function(e,t){return e=e?e+" "+t:t},_onAddonAttached:function(e){var t=Object(l.a)(e).rootTarget;if(t.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,t.id);else{var n="paper-input-add-on-"+k.NextAddonID++;t.id=n,this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,n)}},validate:function(){return this.inputElement.validate()},_focusBlurHandler:function(e){w.a._focusBlurHandler.call(this,e),this.focused&&!this._shiftTabPressed&&this._focusableElement&&this._focusableElement.focus()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",t),this._shiftTabPressed=!1},1)},_handleAutoValidate:function(){this.autoValidate&&this.validate()},updateValueAndPreserveCaret:function(e){try{var t=this.inputElement.selectionStart;this.value=e,this.inputElement.selectionStart=t,this.inputElement.selectionEnd=t}catch(t){this.value=e}},_computeAlwaysFloatLabel:function(e,t){return t||e},_updateAriaLabelledBy:function(){var e,t=Object(l.a)(this.root).querySelector("label");t?(t.id?e=t.id:(e="paper-input-label-"+k.NextLabelID++,t.id=e),this._ariaLabelledBy=e):this._ariaLabelledBy=""},_generateInputId:function(){this._inputId&&""!==this._inputId||(this._inputId="input-"+k.NextInputID++)},_onChange:function(e){this.shadowRoot&&this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable})},_autofocusChanged:function(){if(this.autofocus&&this._focusableElement){var e=document.activeElement;e instanceof HTMLElement&&e!==document.body&&e!==document.documentElement||this._focusableElement.focus()}}},E=[w.a,g.a,x];function S(){var e=i()(['\n \n\n \n\n \n\n \n\n \x3c!-- Need to bind maxlength so that the paper-input-char-counter works correctly --\x3e\n \n \n \n\n \n\n \n\n \n\n \n '],['\n \n\n \n\n \n\n \n\n \x3c!-- Need to bind maxlength so that the paper-input-char-counter works correctly --\x3e\n \n \n \n\n \n\n \n\n \n\n \n ']);return S=function(){return e},e}Object(o.a)({is:"paper-input",_template:Object(a.a)(S()),behaviors:[E,_.a],properties:{value:{type:String}},get _focusableElement(){return this.inputElement._inputElement},listeners:{"iron-input-ready":"_onIronInputReady"},_onIronInputReady:function(){this.$.nativeInput||(this.$.nativeInput=this.$$("input")),this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.$.nativeInput.type)&&(this.alwaysFloatLabel=!0),this.inputElement.bindValue&&this.$.container._handleValueAndAutoValidate(this.inputElement)}})},,,,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),p=n(276),h=n.n(p),d=n(265),f=n.n(d),v=n(281),y=n.n(v),m=(n(275),n(297)),b=n(291),_=n(376),g=n(377),w=n(469),O=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),k={"dom-if":!0,"dom-repeat":!0};function x(e){var t=e.getAttribute("is");if(t&&k[t]){var n=e;for(n.removeAttribute("is"),e=n.ownerDocument.createElement(t),n.parentNode.replaceChild(e,n),e.appendChild(n);n.attributes.length;)e.setAttribute(n.attributes[0].name,n.attributes[0].value),n.removeAttribute(n.attributes[0].name)}return e}function E(e,t){var n=t.parentInfo&&E(e,t.parentInfo);if(!n)return e;O.currentNode=n;for(var r=O.firstChild(),i=0;r;r=O.nextSibling())if(t.parentIndex===i++)return r}function S(e,t,n,r){r.id&&(t[r.id]=n)}function C(e,t,n){if(n.events&&n.events.length)for(var r,i=0,o=n.events;ic.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=n[t];t=Object(_.i)(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}return"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,n,r),P.e&&(i=Object(P.e)(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[N.READ_ONLY]&&t[N.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,n,r,o))}}function $(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;o="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=Object(_.g)(t),n.structured=Object(_.d)(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function ne(e,t,n){var r=Object(_.a)(e,n);return void 0===r&&(r=t[n]),r}function re(e,t,n,r){e.notifyPath(n+".splices",{indexSplices:r}),e.notifyPath(n+".length",t.length)}function ie(e,t,n,r,i,o){re(e,t,n,[{index:r,addedCount:i,removed:o,object:t,type:"splice"}])}var oe=Object(b.a)(function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__isPropertyEffectsClient=!0,e.__dataCounter=0,e.__dataClientsReady,e.__dataPendingClients,e.__dataToNotify,e.__dataLinkedPaths,e.__dataHasPaths,e.__dataCompoundStorage,e.__dataHost,e.__dataTemp,e.__dataClientsInitialized,e.__data,e.__dataPending,e.__dataOld,e.__computeEffects,e.__reflectEffects,e.__notifyEffects,e.__propagateEffects,e.__observeEffects,e.__readOnly,e.__templateInfo,e}return f()(t,e),a()(t,[{key:"_initializeProperties",value:function(){h()(l()(t.prototype),"_initializeProperties",this).call(this),ae.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}},{key:"_initializeProtoProperties",value:function(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}},{key:"_initializeInstanceProperties",value:function(e){var t=this[N.READ_ONLY];for(var n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}},{key:"_addPropertyEffect",value:function(e,t,n){this._createPropertyAccessor(e,t==N.READ_ONLY);var r=R(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}},{key:"_removePropertyEffect",value:function(e,t,n){var r=R(this,t)[e],i=r.indexOf(n);i>=0&&r.splice(i,1)}},{key:"_hasPropertyEffect",value:function(e,t){var n=this[t];return Boolean(n&&n[e])}},{key:"_hasReadOnlyEffect",value:function(e){return this._hasPropertyEffect(e,N.READ_ONLY)}},{key:"_hasNotifyEffect",value:function(e){return this._hasPropertyEffect(e,N.NOTIFY)}},{key:"_hasReflectEffect",value:function(e){return this._hasPropertyEffect(e,N.REFLECT)}},{key:"_hasComputedEffect",value:function(e){return this._hasPropertyEffect(e,N.COMPUTE)}},{key:"_setPendingPropertyOrPath",value:function(e,n,r,i){if(i||Object(_.g)(Array.isArray(e)?e[0]:e)!==e){if(!i){var o=Object(_.a)(this,e);if(!(e=Object(_.h)(this,e,n))||!h()(l()(t.prototype),"_shouldPropertyChange",this).call(this,e,n,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,n,r))return function(e,t,n){var r,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];Object(_.c)(o,t)?(r=Object(_.i)(o,a,t),e._setPendingPropertyOrPath(r,n,!0,!0)):Object(_.c)(a,t)&&(r=Object(_.i)(a,o,t),e._setPendingPropertyOrPath(r,n,!0,!0))}}(this,e,n),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,n,r);this[e]=n}return!1}},{key:"_setUnmanagedPropertyToNode",value:function(e,t,n){n===e[t]&&"object"!=y()(n)||(e[t]=n)}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__dataHasPaths&&Object(_.d)(e),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[N.NOTIFY]&&this[N.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}},{key:"_invalidateProperties",value:function(){this.__dataReady&&this._flushProperties()}},{key:"_enqueueClient",value:function(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}},{key:"_flushProperties",value:function(){this.__dataCounter++,h()(l()(t.prototype),"_flushProperties",this).call(this),this.__dataCounter--}},{key:"_flushClients",value:function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}},{key:"__enableOrFlushClients",value:function(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?r-3:0),o=3;o1?r-1:0),o=1;oi&&r.push({literal:e.slice(i,n.index)});var o=n[1][0],a=Boolean(n[2]),s=n[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var p=ee(s),h=[];if(p){for(var d=p.args,f=p.methodName,v=0;va)return"[Array]";for(var n=Math.min(o,e.length),r=e.length-n,i=[],s=0;s1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>a)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n)return n}return t}(e)+"]";return"{ "+n.map(function(n){var r=u(e[n],t);return n+": "+r}).join(", ")+" }"}(e,n)}return String(e)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";var r="function"==typeof Symbol?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=r},function(e,t,n){"use strict";function r(e){for(var t=e.split(/\r\n|[\n\r]/g),n=null,r=1;r0&&o(t[0]);)t.shift();for(;t.length>0&&o(t[t.length-1]);)t.pop();return t.join("\n")}function i(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!r||o||n,s="";return!a||r&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},function(e,t,n){"use strict";n.r(t),function(e,r){var i,o=n(580);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.default=a}.call(this,n(321),n(345)(e))},function(e,t,n){"use strict";(function(e){var n=new function(){};function r(){return n}try{var i=e["eriuqer".split("").reverse().join("")]("fibers");r=function(){return i.current||n}}catch(e){}t.get=function(){var e=r();return e._optimism_local||(e._optimism_local=Object.create(null))}}).call(this,n(396)(e))},,function(e,t,n){"use strict";n.d(t,"c",function(){return f}),n.d(t,"b",function(){return v}),n.d(t,"a",function(){return m});var r=n(295),i=n.n(r),o=n(414),a=n(375),s="link[rel=import][type~=css]",u="include",c="shady-unscoped";function l(e){return o.a.import(e)}function p(e){var t=e.body?e.body:e,n=Object(a.b)(t.textContent,e.baseURI),r=document.createElement("style");return r.textContent=n,r}function h(e){for(var t=e.trim().split(/\s+/),n=[],r=0;r0||n>0;)if(0!=t)if(0!=n){var c=e[t-1][n-1],l=e[t-1][n],p=e[t][n-1],h=void 0;(h=l\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(315)),a=n(272),s=n(278),u=n(271);function c(){var e=i()(['\n \n\n
\n
\n']);return c=function(){return e},e}var l={distance:function(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)},now:window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now};function p(e){this.element=e,this.width=this.boundingRect.width,this.height=this.boundingRect.height,this.size=Math.max(this.width,this.height)}function h(e){this.element=e,this.color=window.getComputedStyle(e).color,this.wave=document.createElement("div"),this.waveContainer=document.createElement("div"),this.wave.style.backgroundColor=this.color,this.wave.classList.add("wave"),this.waveContainer.classList.add("wave-container"),Object(s.a)(this.waveContainer).appendChild(this.wave),this.resetInteractionState()}p.prototype={get boundingRect(){return this.element.getBoundingClientRect()},furthestCornerDistanceFrom:function(e,t){var n=l.distance(e,t,0,0),r=l.distance(e,t,this.width,0),i=l.distance(e,t,0,this.height),o=l.distance(e,t,this.width,this.height);return Math.max(n,r,i,o)}},h.MAX_RADIUS=300,h.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){var e;return this.mouseDownStart?(e=l.now()-this.mouseDownStart,this.mouseUpStart&&(e-=this.mouseUpElapsed),e):0},get mouseUpElapsed(){return this.mouseUpStart?l.now()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1e3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1e3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var e=this.containerMetrics.width*this.containerMetrics.width,t=this.containerMetrics.height*this.containerMetrics.height,n=1.1*Math.min(Math.sqrt(e+t),h.MAX_RADIUS)+5,r=1.1-n/h.MAX_RADIUS*.2,i=this.mouseInteractionSeconds/r,o=n*(1-Math.pow(80,-i));return Math.abs(o)},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):this.initialOpacity},get outerOpacity(){var e=.3*this.mouseUpElapsedSeconds,t=this.opacity;return Math.max(0,Math.min(e,t))},get isOpacityFullyDecayed(){return this.opacity<.01&&this.radius>=Math.min(this.maxRadius,h.MAX_RADIUS)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,h.MAX_RADIUS)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},resetInteractionState:function(){this.maxRadius=0,this.mouseDownStart=0,this.mouseUpStart=0,this.xStart=0,this.yStart=0,this.xEnd=0,this.yEnd=0,this.slideDistance=0,this.containerMetrics=new p(this.element)},draw:function(){var e,t,n;this.wave.style.opacity=this.opacity,e=this.radius/(this.containerMetrics.size/2),t=this.xNow-this.containerMetrics.width/2,n=this.yNow-this.containerMetrics.height/2,this.waveContainer.style.webkitTransform="translate("+t+"px, "+n+"px)",this.waveContainer.style.transform="translate3d("+t+"px, "+n+"px, 0)",this.wave.style.webkitTransform="scale("+e+","+e+")",this.wave.style.transform="scale3d("+e+","+e+",1)"},downAction:function(e){var t=this.containerMetrics.width/2,n=this.containerMetrics.height/2;this.resetInteractionState(),this.mouseDownStart=l.now(),this.center?(this.xStart=t,this.yStart=n,this.slideDistance=l.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)):(this.xStart=e?e.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=e?e.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2),this.recenters&&(this.xEnd=t,this.yEnd=n,this.slideDistance=l.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)),this.maxRadius=this.containerMetrics.furthestCornerDistanceFrom(this.xStart,this.yStart),this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px",this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px",this.waveContainer.style.width=this.containerMetrics.size+"px",this.waveContainer.style.height=this.containerMetrics.size+"px"},upAction:function(e){this.isMouseDown&&(this.mouseUpStart=l.now())},remove:function(){Object(s.a)(this.waveContainer.parentNode).removeChild(this.waveContainer)}},Object(a.a)({_template:Object(u.a)(c()),is:"paper-ripple",behaviors:[o.a],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},get target(){return this.keyEventTarget},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){11==this.parentNode.nodeType?this.keyEventTarget=Object(s.a)(this).getOwnerRoot().host:this.keyEventTarget=this.parentNode;var e=this.keyEventTarget;this.listen(e,"up","uiUpAction"),this.listen(e,"down","uiDownAction")},detached:function(){this.unlisten(this.keyEventTarget,"up","uiUpAction"),this.unlisten(this.keyEventTarget,"down","uiDownAction"),this.keyEventTarget=null},get shouldKeepAnimating(){for(var e=0;e0||(this.addRipple().downAction(e),this._animating||(this._animating=!0,this.animate()))},uiUpAction:function(e){this.noink||this.upAction(e)},upAction:function(e){this.holdDown||(this.ripples.forEach(function(t){t.upAction(e)}),this._animating=!0,this.animate())},onAnimationComplete:function(){this._animating=!1,this.$.background.style.backgroundColor=null,this.fire("transitionend")},addRipple:function(){var e=new h(this);return Object(s.a)(this.$.waves).appendChild(e.waveContainer),this.$.background.style.backgroundColor=e.color,this.ripples.push(e),this._setAnimating(!0),e},removeRipple:function(e){var t=this.ripples.indexOf(e);t<0||(this.ripples.splice(t,1),e.remove(),this.ripples.length||this._setAnimating(!1))},animate:function(){if(this._animating){var e,t;for(e=0;e1&&void 0!==arguments[1]?arguments[1]:"",n=Object(m.m)(e);return this.transformRules(n,t),e.textContent=Object(m.p)(n),n}},{key:"transformCustomStyle",value:function(e){var t=this,n=Object(m.m)(e);return Object(m.f)(n,function(e){":root"===e.selector&&(e.selector="html"),t.transformRule(e)}),e.textContent=Object(m.p)(n),n}},{key:"transformRules",value:function(e,t){var n=this;this._currentElement=t,Object(m.f)(e,function(e){n.transformRule(e)}),this._currentElement=null}},{key:"transformRule",value:function(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}},{key:"transformCssText",value:function(e,t){var n=this;return e=e.replace(b.g,function(e,r,i,o){return n._produceCssProperties(e,r,i,o,t)}),this._consumeCssProperties(e,t)}},{key:"_getInitialValueForProperty",value:function(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}},{key:"_fallbacksFromPreviousRules",value:function(e){for(var t=this,n=e;n.parent;)n=n.parent;var r={},i=!1;return Object(m.f)(n,function(n){(i=i||n===e)||n.selector===e.selector&&Object.assign(r,t._cssTextToMap(n.parsedCssText))}),r}},{key:"_consumeCssProperties",value:function(e,t){for(var n=null;n=b.f.exec(e);){var r=n[0],i=n[1],o=n.index,a=o+r.indexOf("@apply"),s=o+r.length,u=e.slice(0,a),c=e.slice(s),l=t?this._fallbacksFromPreviousRules(t):{};Object.assign(l,this._cssTextToMap(u));var p=this._atApplyToCssProperties(i,l);e="".concat(u).concat(p).concat(c),b.f.lastIndex=o+p.length}return e}},{key:"_atApplyToCssProperties",value:function(e,t){e=e.replace(g,"");var n=[],r=this._map.get(e);if(r||(this._map.set(e,{}),r=this._map.get(e)),r){var i,o,a;this._currentElement&&(r.dependants[this._currentElement]=!0);var s=r.properties;for(i in s)o=[i,": var(",e,"_-_",i],(a=t&&t[i])&&o.push(",",a.replace(O,"")),o.push(")"),O.test(s[i])&&o.push(" !important"),n.push(o.join(""))}return n.join("; ")}},{key:"_replaceInitialOrInherit",value:function(e,t){var n=w.exec(t);return n&&(t=n[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}},{key:"_cssTextToMap",value:function(e){for(var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e.split(";"),s={},u=0;u1&&(t=i[0].trim(),n=i.slice(1).join(":"),o&&(n=this._replaceInitialOrInherit(t,n)),s[t]=n);return s}},{key:"_invalidateMixinEntry",value:function(e){if(x)for(var t in e.dependants)t!==this._currentElement&&x(t)}},{key:"_produceCssProperties",value:function(e,t,n,r,i){var o=this;if(n&&Object(m.l)(n,function(e,t){t&&o._map.get(t)&&(r="@apply ".concat(t,";"))}),!r)return e;var a=this._consumeCssProperties(""+r,i),s=e.slice(0,e.indexOf("--")),u=this._cssTextToMap(a,!0),c=u,l=this._map.get(t),p=l&&l.properties;p?c=Object.assign(Object.create(p),u):this._map.set(t,c);var h,d,f=[],v=!1;for(h in c)void 0===(d=u[h])&&(d="initial"),!p||h in p||(v=!0),f.push("".concat(t).concat("_-_").concat(h,": ").concat(d));return v&&this._invalidateMixinEntry(l),l&&(l.properties=c),n&&(s="".concat(e,";").concat(s)),"".concat(s).concat(f.join("; "),";")}}]),e}();E.prototype.detectMixin=E.prototype.detectMixin,E.prototype.transformStyle=E.prototype.transformStyle,E.prototype.transformCustomStyle=E.prototype.transformCustomStyle,E.prototype.transformRules=E.prototype.transformRules,E.prototype.transformRule=E.prototype.transformRule,E.prototype.transformTemplate=E.prototype.transformTemplate,E.prototype._separator="_-_",Object.defineProperty(E.prototype,"invalidCallback",{get:function(){return x},set:function(e){x=e}});var S=E,C=n(413),T=n(467),A=(n(427),n(308)),P=new S,I=function(){function e(){a()(this,e),this.customStyleInterface=null,P.invalidCallback=T.a}return u()(e,[{key:"ensure",value:function(){var e=this;this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=function(e){P.transformCustomStyle(e)},this.customStyleInterface.validateCallback=function(){requestAnimationFrame(function(){e.customStyleInterface.enqueued&&e.flushCustomStyles()})})}},{key:"prepareTemplate",value:function(e,t){if(this.ensure(),!Object(m.d)(e)){C.a[t]=e;var n=P.transformTemplate(e,t);e._styleAst=n}}},{key:"flushCustomStyles",value:function(){if(this.ensure(),this.customStyleInterface){var e=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(var t=0;t-1&&z.splice(e,1)}}}]),n}(t);return n.__activateDir=!1,n});n(275);function J(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?J():window.addEventListener("DOMContentLoaded",J);var G=n(278),W=n(378),X=n(309),Z=n(329),ee=n(376),te=n(297);n.d(t,"a",function(){return re});var ne=window.ShadyCSS,re=Object(D.a)(function(e){var t=Y(Object(M.a)(Object(R.a)(e))),n={x:"pan-x",y:"pan-y",none:"none",all:"auto"},r=function(e){function t(){var e;return a()(this,t),(e=l()(this,h()(t).call(this))).isAttached,e.__boundListeners,e._debouncers,e}return y()(t,e),u()(t,[{key:"created",value:function(){}},{key:"connectedCallback",value:function(){f()(h()(t.prototype),"connectedCallback",this).call(this),this.isAttached=!0,this.attached()}},{key:"attached",value:function(){}},{key:"disconnectedCallback",value:function(){f()(h()(t.prototype),"disconnectedCallback",this).call(this),this.isAttached=!1,this.detached()}},{key:"detached",value:function(){}},{key:"attributeChangedCallback",value:function(e,n,r,i){n!==r&&(f()(h()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r,i),this.attributeChanged(e,n,r))}},{key:"attributeChanged",value:function(e,t,n){}},{key:"_initializeProperties",value:function(){var e=Object.getPrototypeOf(this);e.hasOwnProperty("__hasRegisterFinished")||(this._registered(),e.__hasRegisterFinished=!0),f()(h()(t.prototype),"_initializeProperties",this).call(this),this.root=this,this.created(),this._applyListeners()}},{key:"_registered",value:function(){}},{key:"ready",value:function(){this._ensureAttributes(),f()(h()(t.prototype),"ready",this).call(this)}},{key:"_ensureAttributes",value:function(){}},{key:"_applyListeners",value:function(){}},{key:"serialize",value:function(e){return this._serializeValue(e)}},{key:"deserialize",value:function(e,t){return this._deserializeValue(e,t)}},{key:"reflectPropertyToAttribute",value:function(e,t,n){this._propertyToAttribute(e,t,n)}},{key:"serializeValueToAttribute",value:function(e,t,n){this._valueToNodeAttribute(n||this,e,t)}},{key:"extend",value:function(e,t){if(!e||!t)return e||t;for(var n,r=Object.getOwnPropertyNames(t),i=0;i0?Z.b.after(n):Z.a,t.bind(this))}},{key:"isDebouncerActive",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];return!(!t||!t.isActive())}},{key:"flushDebouncer",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];t&&t.flush()}},{key:"cancelDebouncer",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];t&&t.cancel()}},{key:"async",value:function(e,t){return t>0?Z.b.run(e.bind(this),t):~Z.a.run(e.bind(this))}},{key:"cancelAsync",value:function(e){e<0?Z.a.cancel(~e):Z.b.cancel(e)}},{key:"create",value:function(e,t){var n=document.createElement(e);if(t)if(n.setProperties)n.setProperties(t);else for(var r in t)n[r]=t[r];return n}},{key:"elementMatches",value:function(e,t){return Object(G.b)(t||this,e)}},{key:"toggleAttribute",value:function(e,t){var n=this;return 3===arguments.length&&(n=arguments[2]),1==arguments.length&&(t=!n.hasAttribute(e)),t?(Object(te.a)(n).setAttribute(e,""),!0):(Object(te.a)(n).removeAttribute(e),!1)}},{key:"toggleClass",value:function(e,t,n){n=n||this,1==arguments.length&&(t=!n.classList.contains(e)),t?n.classList.add(e):n.classList.remove(e)}},{key:"transform",value:function(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}},{key:"translate3d",value:function(e,t,n,r){r=r||this,this.transform("translate3d("+e+","+t+","+n+")",r)}},{key:"arrayDelete",value:function(e,t){var n;if(Array.isArray(e)){if((n=e.indexOf(t))>=0)return e.splice(n,1)}else if((n=Object(ee.a)(this,e).indexOf(t))>=0)return this.splice(e,n,1);return null}},{key:"_logger",value:function(e,t){var n;switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":(n=console)[e].apply(n,i()(t))}}},{key:"_log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;r=200&&e<300},send:function(e){var t=this.xhr;if(t.readyState>0)return null;t.addEventListener("progress",function(e){this._setProgress({lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total}),this.fire("iron-request-progress-changed",{value:this.progress})}.bind(this)),t.addEventListener("error",function(t){this._setErrored(!0),this._updateStatus();var n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("timeout",function(t){this._setTimedOut(!0),this._updateStatus();var n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("abort",function(){this._setAborted(!0),this._updateStatus();var t=new Error("Request aborted."),n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("loadend",function(){if(this._updateStatus(),this._setResponse(this.parseResponse()),this.succeeded)this.resolveCompletes(this);else{var t=new Error("The request failed with status code: "+this.xhr.status),n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}}.bind(this)),this.url=e.url;var n=!1!==e.async;t.open(e.method||"GET",e.url,n);var r={json:"application/json",text:"text/plain",html:"text/html",xml:"application/xml",arraybuffer:"application/octet-stream"}[e.handleAs],i=e.headers||Object.create(null),a=Object.create(null);for(var s in i)a[s.toLowerCase()]=i[s];if(i=a,r&&!i.accept&&(i.accept=r),Object.keys(i).forEach(function(e){/[A-Z]/.test(e)&&o.a._error("Headers must be lower case, got",e),t.setRequestHeader(e,i[e])},this),n){t.timeout=e.timeout;var u=e.handleAs;!e.jsonPrefix&&u||(u="text"),t.responseType=t._responseType=u,e.jsonPrefix&&(t._jsonPrefix=e.jsonPrefix)}t.withCredentials=!!e.withCredentials;var c=this._encodeBodyObject(e.body,i["content-type"]);return t.send(c),this.completes},parseResponse:function(){var e=this.xhr,t=e.responseType||e._responseType,n=!this.xhr.responseType,r=e._jsonPrefix&&e._jsonPrefix.length||0;try{switch(t){case"json":if(n||void 0===e.response)try{return JSON.parse(e.responseText)}catch(t){return console.warn("Failed to parse JSON sent from "+e.responseURL),null}return e.response;case"xml":return e.responseXML;case"blob":case"document":case"arraybuffer":return e.response;case"text":default:if(r)try{return JSON.parse(e.responseText.substring(r))}catch(t){return console.warn("Failed to parse JSON sent from "+e.responseURL),null}return e.responseText}}catch(e){this.rejectCompletes(new Error("Could not parse response. "+e.message))}},abort:function(){this._setAborted(!0),this.xhr.abort()},_encodeBodyObject:function(e,t){if("string"==typeof e)return e;var n=e;switch(t){case"application/json":return JSON.stringify(n);case"application/x-www-form-urlencoded":return this._wwwFormUrlEncode(n)}return e},_wwwFormUrlEncode:function(e){if(!e)return"";var t=[];return Object.keys(e).forEach(function(n){t.push(this._wwwFormUrlEncodePiece(n)+"="+this._wwwFormUrlEncodePiece(e[n]))},this),t.join("&")},_wwwFormUrlEncodePiece:function(e){return null!=e&&e.toString?encodeURIComponent(e.toString().replace(/\r?\n/g,"\r\n")).replace(/%20/g,"+"):""},_updateStatus:function(){this._setStatus(this.xhr.status),this._setStatusText(void 0===this.xhr.statusText?"":this.xhr.statusText)}}),Object(u.a)({is:"iron-ajax",hostAttributes:{hidden:!0},properties:{url:{type:String},params:{type:Object,value:function(){return{}}},method:{type:String,value:"GET"},headers:{type:Object,value:function(){return{}}},contentType:{type:String,value:null},body:{type:Object,value:null},sync:{type:Boolean,value:!1},handleAs:{type:String,value:"json"},withCredentials:{type:Boolean,value:!1},timeout:{type:Number,value:0},auto:{type:Boolean,value:!1},verbose:{type:Boolean,value:!1},lastRequest:{type:Object,notify:!0,readOnly:!0},lastProgress:{type:Object,notify:!0,readOnly:!0},loading:{type:Boolean,notify:!0,readOnly:!0},lastResponse:{type:Object,notify:!0,readOnly:!0},lastError:{type:Object,notify:!0,readOnly:!0},activeRequests:{type:Array,notify:!0,readOnly:!0,value:function(){return[]}},debounceDuration:{type:Number,value:0,notify:!0},jsonPrefix:{type:String,value:""},bubbles:{type:Boolean,value:!1},rejectWithRequest:{type:Boolean,value:!1},_boundHandleResponse:{type:Function,value:function(){return this._handleResponse.bind(this)}}},observers:["_requestOptionsChanged(url, method, params.*, headers, contentType, body, sync, handleAs, jsonPrefix, withCredentials, timeout, auto)"],created:function(){this._boundOnProgressChanged=this._onProgressChanged.bind(this)},get queryString(){var e,t,n=[];for(e in this.params)if(t=this.params[e],e=window.encodeURIComponent(e),Array.isArray(t))for(var r=0;r=0?"&":"?";return t+n+e}return t},get requestHeaders(){var e,t={},n=this.contentType;if(null==n&&"string"==typeof this.body&&(n="application/x-www-form-urlencoded"),n&&(t["content-type"]=n),"object"===s()(this.headers))for(e in this.headers)t[e]=this.headers[e].toString();return t},_onProgressChanged:function(e){this._setLastProgress(e.detail.value)},toRequestOptions:function(){return{url:this.requestUrl||"",method:this.method,headers:this.requestHeaders,body:this.body,async:!this.sync,handleAs:this.handleAs,jsonPrefix:this.jsonPrefix,withCredentials:this.withCredentials,timeout:this.timeout,rejectWithRequest:this.rejectWithRequest}},generateRequest:function(){var e=document.createElement("iron-request"),t=this.toRequestOptions();return this.push("activeRequests",e),e.completes.then(this._boundHandleResponse).catch(this._handleError.bind(this,e)).then(this._discardRequest.bind(this,e)),this.fire("iron-ajax-presend",{request:e,options:t},{bubbles:this.bubbles,cancelable:!0}).defaultPrevented?(e.abort(),e.rejectCompletes(e),e):(this.lastRequest&&this.lastRequest.removeEventListener("iron-request-progress-changed",this._boundOnProgressChanged),e.addEventListener("iron-request-progress-changed",this._boundOnProgressChanged),e.send(t),this._setLastProgress(null),this._setLastRequest(e),this._setLoading(!0),this.fire("request",{request:e,options:t},{bubbles:this.bubbles,composed:!0}),this.fire("iron-ajax-request",{request:e,options:t},{bubbles:this.bubbles,composed:!0}),e)},_handleResponse:function(e){e===this.lastRequest&&(this._setLastResponse(e.response),this._setLastError(null),this._setLoading(!1)),this.fire("response",e,{bubbles:this.bubbles,composed:!0}),this.fire("iron-ajax-response",e,{bubbles:this.bubbles,composed:!0})},_handleError:function(e,t){this.verbose&&o.a._error(t),e===this.lastRequest&&(this._setLastError({request:e,error:t,status:e.xhr.status,statusText:e.xhr.statusText,response:e.xhr.response}),this._setLastResponse(null),this._setLoading(!1)),this.fire("iron-ajax-error",{request:e,error:t},{bubbles:this.bubbles,composed:!0}),this.fire("error",{request:e,error:t},{bubbles:this.bubbles,composed:!0})},_discardRequest:function(e){var t=this.activeRequests.indexOf(e);t>-1&&this.splice("activeRequests",t,1)},_requestOptionsChanged:function(){this.debounce("generate-request",function(){null!=this.url&&this.auto&&this.generateRequest()},this.debounceDuration)}});var c=n(278),l=n(271);function p(){var e=i()(['\n \n\n \x3c!-- This form is used to collect the elements that should be submitted --\x3e\n \n\n \x3c!-- This form is used for submission --\x3e\n
\n'],['\n \n\n \x3c!-- This form is used to collect the elements that should be submitted --\x3e\n \n\n \x3c!-- This form is used for submission --\x3e\n
\n']);return p=function(){return e},e}Object(u.a)({_template:Object(l.a)(p()),is:"iron-form",properties:{allowRedirect:{type:Boolean,value:!1},headers:{type:Object,value:function(){return{}}},withCredentials:{type:Boolean,value:!1}},attached:function(){this._form||(this._form=Object(c.a)(this).querySelector("form"),this._form?(this._init(),this.async(this._saveInitialValues.bind(this),1)):this._nodeObserver=Object(c.a)(this).observeNodes(function(e){for(var t=0;t-1&&(d=a[_],a=a.slice(0,_))}a&&(r.push(a),a="",c=!1);var g=""!==d&&void 0!==f&&f!==d,w="+"===b||"*"===b,O="?"===b||"*"===b,k=d||s,x=y||m;r.push({name:v||i++,prefix:d,delimiter:k,optional:O,repeat:w,partial:g,pattern:x?W(x):"[^"+G(k)+"]+?"})}}return(a||o-1;else{var h=G(p.prefix),d=p.repeat?"(?:"+p.pattern+")(?:"+h+"(?:"+p.pattern+"))*":p.pattern;t&&t.push(p),p.optional?p.partial?u+=h+"("+d+")?":u+="(?:"+h+"("+d+"))?":u+=h+"("+d+")"}}return i?(r||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(r||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,X(n))}function ee(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&"/"===t.charAt(h)&&(h+=1),a=ie(p,t.substr(h),n,o.keys,o.params)}var d=a.next(c);if(!d.done)return{done:!1,value:d.value};a=null,s++}return{done:!0}}}}function oe(e){if(N(e.route.action))return e.route.action(e)}ne.set("|false",{keys:[],pattern:/(?:)/});var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b()(this,e),Object(t)!==t)throw new TypeError("Invalid routes");this.baseUrl=n.baseUrl||"",this.errorHandler=n.errorHandler,this.resolveRoute=n.resolveRoute||oe,this.context=Object.assign({resolver:this},n.context),this.root=Array.isArray(t)?{path:"",__children:t,parent:null,__synthetic:!0}:t,this.root.parent=null}return y()(e,[{key:"getRoutes",value:function(){return f()(this.root.__children)}},{key:"setRoutes",value:function(e){T(e);var t=f()(w(e));this.root.__children=t}},{key:"addRoutes",value:function(e){var t;return T(e),(t=this.root.__children).push.apply(t,f()(w(e))),this.getRoutes()}},{key:"removeRoutes",value:function(){this.setRoutes([])}},{key:"resolve",value:function(e){var t=this,n=Object.assign({},this.context,j(e)?{pathname:e}:e),r=ie(this.root,this.__normalizePathname(n.pathname),this.baseUrl),i=this.resolveRoute,o=null,a=null,s=n;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&o.value.route;return o=a||r.next(c),a=null,e||!o.done&&function(e,t){for(var n=t;n;)if((n=n.parent)===e)return!0;return!1}(t,o.value.route)?o.done?Promise.reject(R(n)):(function(e,t){var n=t.route,r=t.path;if(n&&!n.__synthetic){var i={path:r,route:n};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,n)?e.chain.push(i):e.chain=[i]}}(n,o.value),s=Object.assign({},n,o.value),Promise.resolve(i(s)).then(function(n){return null!=n&&n!==M?(s.result=n.result||n,s):u(e,t,n)})):(a=o,Promise.resolve(M))}return n.next=u,Promise.resolve().then(function(){return u(!0,t.root)}).catch(function(e){var n=function(e){var t="Path '".concat(e.pathname,"' is not properly resolved due to an error."),n=(e.route||{}).path;return n&&(t+=" Resolution had failed on route: '".concat(n,"'")),t}(s);if(e?console.warn(n):e=new Error(n),e.context=e.context||s,e instanceof DOMException||(e.code=e.code||500),t.errorHandler)return s.result=t.errorHandler(e),s;throw e})}},{key:"__normalizePathname",value:function(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,n=this.constructor.__createUrl(e,t).href;return n.slice(0,t.length)===t?n.slice(t.length):void 0}},{key:"__effectiveBaseUrl",get:function(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}}],[{key:"__createUrl",value:function(e,t){return new URL(e,t)}}]),e}();ae.pathToRegexp=B;var se=ae.pathToRegexp,ue=new Map;function ce(e,t){var n=e.get(t);if(n&&n.length>1)throw new Error('Duplicate route with name "'.concat(t,'".')+" Try seting unique 'name' route properties.");return n&&n[0]}function le(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof ae))throw new TypeError("An instance of Resolver is expected");var n=new Map;return function(r,i){var o=ce(n,r);if(!(o||(n.clear(),function e(t,n,r){var i=n.name||n.component;if(i&&(t.has(i)?t.get(i).push(n):t.set(i,[n])),Array.isArray(r))for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return ke(Ee.pathToRegexp.compile(xe(l))(Object.assign({},s,e)),c)}}}function _e(e,t){var n=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:n}}}function ge(e,t,n){if(N(e))return e.apply(n,t)}function we(e,t,n){return function(r){return r&&(r.cancel||r.redirect)?r:n?ge(n[e],t,n):void 0}}function Oe(e){if(e&&e.length)for(var t=e[0].parentNode,n=0;n1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(n).then(function(r){var i=r!==n?r:e;return r.next().then(function(e){if((null===e||e===M)&&ke(xe(r.chain),r.resolver)!==r.pathname)throw R(i);return e&&e!==M?t.__fullyResolveChain(i,e):t.__amendWithOnBeforeCallbacks(i)})})}},{key:"__amendWithResolutionResult",value:function(e){var t=this,n=e.result;return n instanceof HTMLElement?Promise.resolve(e):n.redirect?this.__redirect(n.redirect,e.__redirectCount).then(function(e){return t.__amendWithResolutionResult(e)}):n instanceof Error?Promise.reject(n):Promise.reject(new Error(O('Invalid route resolution result for path "'.concat(e.pathname,'". ')+'Expected redirect object or HTML element, but got: "'.concat(function(e){if("object"!==g()(e))return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?"".concat(t," ").concat(JSON.stringify(e)):t}(n),'". ')+"Double check the action return value for the route.")))}},{key:"__amendWithOnBeforeCallbacks",value:function(e){var t=this;return this.__runOnBeforeCallbacks(e).then(function(n){return n===t.__previousContext||n===e?n:t.__fullyResolveChain(n)})}},{key:"__runOnBeforeCallbacks",value:function(e){var t=this,n=(this.__previousContext||{}).chain||[],r=e.chain,i=Promise.resolve(),o=function(){return{cancel:!0}},a=function(t){return _e(e,t)};if(e.__divergedChainIndex=0,n.length){for(var s=0;s=e.__divergedChainIndex;u--){var c=be(e);i=i.then(we("onBeforeLeave",[c,{prevent:o},this],n[u].element)).then(function(e){if(!(e||{}).redirect)return e})}}for(var l=e.__divergedChainIndex;l256)throw new Error(O("Too many redirects when rendering ".concat(e.from)));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}},{key:"__ensureOutlet",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(O("Expected router outlet to be a valid DOM Node (but got ".concat(e,")")))}},{key:"__updateBrowserHistory",value:function(e,t){if(window.location.pathname!==e){var n=t?"replaceState":"pushState";window.history[n](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}},{key:"__addAppearingContent",value:function(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var n=this.__outlet,r=0;r=e.__divergedChainIndex;n--){var r=t.chain[n].element;if(r)try{var i=be(e);ge(r.onAfterLeave,[i,{},t.resolver],r)}finally{Oe(r.children)}}}},{key:"__runOnAfterEnterCallbacks",value:function(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(n&&r&&t){var s=I(t)&&t.leave||"leaving",u=I(t)&&t.enter||"entering";i.push(ye(n,s)),i.push(ye(r,u))}return Promise.all(i).then(function(){return e})}},{key:"subscribe",value:function(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"unsubscribe",value:function(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"__onNavigationEvent",value:function(e){var t=e?e.detail.pathname:window.location.pathname;j(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}},{key:"urlForName",value:function(e,t){return this.__urlForName||(this.__urlForName=pe(this)),ke(this.__urlForName(e,t),this)}},{key:"urlForPath",value:function(e,n){return ke(t.pathToRegexp.compile(e)(n),this)}}],[{key:"setTriggers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&!Ce(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),Te(Ae),Ee.NavigationTrigger={POPSTATE:q,CLICK:D}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(289),i=n(296),o=n(570);function a(e,t,n){return r.__awaiter(this,void 0,void 0,function(){var u,c,l,p,h,d=this;return r.__generator(this,function(f){switch(f.label){case 0:return u=n.fragmentMap,c=n.contextValue,l=n.variableValues,p={},h=function(e){return r.__awaiter(d,void 0,void 0,function(){var h,d,f,v,y;return r.__generator(this,function(r){switch(r.label){case 0:return i.shouldInclude(e,l)?i.isField(e)?[4,s(e,t,n)]:[3,2]:[2];case 1:return h=r.sent(),d=i.resultKeyNameFromField(e),void 0!==h&&(void 0===p[d]?p[d]=h:o.merge(p[d],h)),[2];case 2:if(i.isInlineFragment(e))f=e;else if(!(f=u[e.name.value]))throw new Error("No fragment named "+e.name.value);return v=f.typeCondition.name.value,n.fragmentMatcher(t,v,c)?[4,a(f.selectionSet,t,n)]:[3,4];case 3:y=r.sent(),o.merge(p,y),r.label=4;case 4:return[2]}})})},[4,Promise.all(e.selections.map(h))];case 1:return f.sent(),n.resultMapper?[2,n.resultMapper(p,t)]:[2,p]}})})}function s(e,t,n){return r.__awaiter(this,void 0,void 0,function(){var o,s,c,l,p,h,d;return r.__generator(this,function(r){switch(r.label){case 0:return o=n.variableValues,s=n.contextValue,c=n.resolver,l=e.name.value,p=i.argumentsObjectFromField(e,o),h={isLeaf:!e.selectionSet,resultKey:i.resultKeyNameFromField(e),directives:i.getDirectiveInfoFromField(e,o)},[4,c(l,t,p,s,h)];case 1:return d=r.sent(),e.selectionSet?null==d?[2,d]:Array.isArray(d)?[2,u(e,d,n)]:[2,a(e.selectionSet,d,n)]:[2,d]}})})}function u(e,t,n){return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?u(e,t,n):a(e.selectionSet,t,n)}))}t.graphql=function(e,t,n,r,o,s){void 0===s&&(s={});var u=i.getMainDefinition(t),c=i.getFragmentDefinitions(t),l={fragmentMap:i.createFragmentMap(c),contextValue:r,variableValues:o,resultMapper:s.resultMapper,resolver:e,fragmentMatcher:s.fragmentMatcher||function(){return!0}};return a(u.selectionSet,n,l)}},function(e,t,n){"use strict";(function(e){var t=n(281),r=n.n(t);e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,i="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!==r()(t))return JSON.stringify(t);var n,s;if(Array.isArray(t)){for(s="[",n=0;n1,i=!1,o=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=p(t,c);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return d(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(a("iterator")&&(r=p(t,u)))return new n(function(e){v(function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,m.default.GQL_START,e))}).catch(function(e){n.unsubscribe(r),t(n.formatErrors(e))}),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,i)||i&&!l.default(i)||r&&!p.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r({},n,{query:"string"==typeof n.query?n.query:h.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,this.wsProtocols),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var n=t.data;e.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var i=t.payload.errors?r({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,i);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(321))},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);rthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},function(e,t,n){"use strict";n.r(t),n.d(t,"tuple",function(){return d}),n.d(t,"lookup",function(){return p}),n.d(t,"lookupArray",function(){return h});var r="function"==typeof Symbol&&"function"==typeof Symbol.for,i=r?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=r?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!1,configurable:!1}),n}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function p(){return h(arguments)}function h(e){for(var t=l,n=e.length,r=0;r0&&(t=[],e.childValues.forEach(function(n,r){w(e,r),t.push(r)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),m(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(289),i=n(412),o=n(320);var a=function(){function e(e,t,n,i){var o=this;this.operation=e,this.nextLink=t,this.delayFor=n,this.retryIf=i,this.retryCount=0,this.values=[],this.complete=!1,this.canceled=!1,this.observers=[],this.currentSubscription=null,this.onNext=function(e){o.values.push(e);for(var t=0,n=o.observers;t=i)&&(n?n(r,t):!!r)}}(i),n}return Object(r.__extends)(t,e),t.prototype.request=function(e,t){var n=new a(e,t,this.delayFor,this.retryIf);return n.start(),new i.a(function(e){return n.subscribe(e),function(){n.unsubscribe(e)}})},t}(o.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(289),i=n(320),o=n(412);function a(e){return new i.a(function(t,n){return new o.a(function(r){var i,o,a;try{i=n(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(i)},complete:function(){a||r.complete.bind(r)()}})}catch(i){e({networkError:i,operation:t,forward:n}),r.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!function(e){function t(t){var n=e.call(this)||this;return n.link=a(t),n}Object(r.__extends)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(i.a)},function(e,t,n){"use strict";(function(e){var t,r,i=n(281),o=n.n(i);t=void 0,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===o()(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(n,"\\$&").replace(r,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=N;M-=1){var F=M-1,D=n[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==A&&(R[M]|=(E[M+1]|E[M])<<1|1|E[M+1]),R[M]&T&&(S=r(t,{errors:A,currentLocation:F,expectedLocation:y,distance:c}))<=b){if(b=S,(_=F)<=y)break;N=Math.max(1,2*y-_)}}if(r(t,{errors:A+1,currentLocation:y,expectedLocation:y,distance:c})>b)break;E=R}return{isMatch:_>=0,score:0===S?.001:S,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,n){function r(e,t){for(var n=0;nn)return i(e,this.pattern,r);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,p=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:p})}}])&&r(t.prototype,n),s&&r(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,n){var r=n("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,n,i){if(n){var o=n.indexOf("."),a=n,s=null;-1!==o&&(a=n.slice(0,o),s=n.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(r(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,i=n.fullSearcher,o=this._search(r,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,i=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,r={},i=[];if("string"==typeof n[0]){for(var o=0,a=n.length;o1)throw new Error("Key weight has to be > 0 and <= 1");d=d.name}else s[d]={weight:1};this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:u},{resultMap:r,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,i=void 0===r?-1:r,o=e.value,a=e.record,s=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,p=t.fullSearcher,h=void 0===p?[]:p,d=t.resultMap,f=void 0===d?{}:d,v=t.results,y=void 0===v?[]:v;if(null!=o){var m=!1,b=-1,_=0;if("string"==typeof o){this._log("\nKey: ".concat(""===n?"-":n));var g=h.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],k=0;k-1&&(N=(N+b)/2),this._log("Score average:",N);var j=!this.options.tokenize||!this.options.matchAllTokens||_>=l.length;if(this._log("\nCheck Matches: ".concat(j)),(m||g.isMatch)&&j){var R=f[s];R?R.output.push({key:n,arrayIndex:i,value:o,score:N,matchedIndices:g.matchedIndices}):(f[s]={item:a,output:[{key:n,arrayIndex:i,value:o,score:N,matchedIndices:g.matchedIndices}]},y.push(f[s]))}}else if(u(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;o\n :host {\n @apply --layout-inline;\n @apply --layout-center-center;\n position: relative;\n\n vertical-align: middle;\n\n fill: var(--iron-icon-fill-color, currentcolor);\n stroke: var(--iron-icon-stroke-color, none);\n\n width: var(--iron-icon-width, 24px);\n height: var(--iron-icon-height, 24px);\n @apply --iron-icon;\n }\n\n :host([hidden]) {\n display: none;\n }\n \n"]);return p=function(){return e},e}Object(u.a)({_template:Object(l.a)(p()),is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:o.a.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(e){var t=(e||"").split(":");this._iconName=t.pop(),this._iconsetName=t.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(e){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&Object(c.a)(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,Object(c.a)(this.root).appendChild(this._img))}});n(425);var h=n(330),d={properties:{sizingTarget:{type:Object,value:function(){return this}},fitInto:{type:Object,value:window},noOverlap:{type:Boolean},positionTarget:{type:Element},horizontalAlign:{type:String},verticalAlign:{type:String},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},autoFitOnAttach:{type:Boolean,value:!1},_fitInfo:{type:Object}},get _fitWidth(){return this.fitInto===window?this.fitInto.innerWidth:this.fitInto.getBoundingClientRect().width},get _fitHeight(){return this.fitInto===window?this.fitInto.innerHeight:this.fitInto.getBoundingClientRect().height},get _fitLeft(){return this.fitInto===window?0:this.fitInto.getBoundingClientRect().left},get _fitTop(){return this.fitInto===window?0:this.fitInto.getBoundingClientRect().top},get _defaultPositionTarget(){var e=Object(c.a)(this).parentNode;return e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(e=e.host),e},get _localeHorizontalAlign(){if(this._isRTL){if("right"===this.horizontalAlign)return"left";if("left"===this.horizontalAlign)return"right"}return this.horizontalAlign},get __shouldPosition(){return(this.horizontalAlign||this.verticalAlign)&&this.positionTarget},attached:function(){void 0===this._isRTL&&(this._isRTL="rtl"==window.getComputedStyle(this).direction),this.positionTarget=this.positionTarget||this._defaultPositionTarget,this.autoFitOnAttach&&("none"===window.getComputedStyle(this).display?setTimeout(function(){this.fit()}.bind(this)):(window.ShadyDOM&&ShadyDOM.flush(),this.fit()))},detached:function(){this.__deferredFit&&(clearTimeout(this.__deferredFit),this.__deferredFit=null)},fit:function(){this.position(),this.constrain(),this.center()},_discoverInfo:function(){if(!this._fitInfo){var e=window.getComputedStyle(this),t=window.getComputedStyle(this.sizingTarget);this._fitInfo={inlineStyle:{top:this.style.top||"",left:this.style.left||"",position:this.style.position||""},sizerInlineStyle:{maxWidth:this.sizingTarget.style.maxWidth||"",maxHeight:this.sizingTarget.style.maxHeight||"",boxSizing:this.sizingTarget.style.boxSizing||""},positionedBy:{vertically:"auto"!==e.top?"top":"auto"!==e.bottom?"bottom":null,horizontally:"auto"!==e.left?"left":"auto"!==e.right?"right":null},sizedBy:{height:"none"!==t.maxHeight,width:"none"!==t.maxWidth,minWidth:parseInt(t.minWidth,10)||0,minHeight:parseInt(t.minHeight,10)||0},margin:{top:parseInt(e.marginTop,10)||0,right:parseInt(e.marginRight,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0}}}},resetFit:function(){var e=this._fitInfo||{};for(var t in e.sizerInlineStyle)this.sizingTarget.style[t]=e.sizerInlineStyle[t];for(var t in e.inlineStyle)this.style[t]=e.inlineStyle[t];this._fitInfo=null},refit:function(){var e=this.sizingTarget.scrollLeft,t=this.sizingTarget.scrollTop;this.resetFit(),this.fit(),this.sizingTarget.scrollLeft=e,this.sizingTarget.scrollTop=t},position:function(){if(this.__shouldPosition){this._discoverInfo(),this.style.position="fixed",this.sizingTarget.style.boxSizing="border-box",this.style.left="0px",this.style.top="0px";var e=this.getBoundingClientRect(),t=this.__getNormalizedRect(this.positionTarget),n=this.__getNormalizedRect(this.fitInto),r=this._fitInfo.margin,i={width:e.width+r.left+r.right,height:e.height+r.top+r.bottom},o=this.__getPosition(this._localeHorizontalAlign,this.verticalAlign,i,e,t,n),a=o.left+r.left,s=o.top+r.top,u=Math.min(n.right-r.right,a+e.width),c=Math.min(n.bottom-r.bottom,s+e.height);a=Math.max(n.left+r.left,Math.min(a,u-this._fitInfo.sizedBy.minWidth)),s=Math.max(n.top+r.top,Math.min(s,c-this._fitInfo.sizedBy.minHeight)),this.sizingTarget.style.maxWidth=Math.max(u-a,this._fitInfo.sizedBy.minWidth)+"px",this.sizingTarget.style.maxHeight=Math.max(c-s,this._fitInfo.sizedBy.minHeight)+"px",this.style.left=a-e.left+"px",this.style.top=s-e.top+"px"}},constrain:function(){if(!this.__shouldPosition){this._discoverInfo();var e=this._fitInfo;e.positionedBy.vertically||(this.style.position="fixed",this.style.top="0px"),e.positionedBy.horizontally||(this.style.position="fixed",this.style.left="0px"),this.sizingTarget.style.boxSizing="border-box";var t=this.getBoundingClientRect();e.sizedBy.height||this.__sizeDimension(t,e.positionedBy.vertically,"top","bottom","Height"),e.sizedBy.width||this.__sizeDimension(t,e.positionedBy.horizontally,"left","right","Width")}},_sizeDimension:function(e,t,n,r,i){this.__sizeDimension(e,t,n,r,i)},__sizeDimension:function(e,t,n,r,i){var o=this._fitInfo,a=this.__getNormalizedRect(this.fitInto),s="Width"===i?a.width:a.height,u=t===r,c=u?s-e[r]:e[n],l=o.margin[u?n:r],p="offset"+i,h=this[p]-this.sizingTarget[p];this.sizingTarget.style["max"+i]=s-l-c-h+"px"},center:function(){if(!this.__shouldPosition){this._discoverInfo();var e=this._fitInfo.positionedBy;if(!e.vertically||!e.horizontally){this.style.position="fixed",e.vertically||(this.style.top="0px"),e.horizontally||(this.style.left="0px");var t=this.getBoundingClientRect(),n=this.__getNormalizedRect(this.fitInto);if(!e.vertically){var r=n.top-t.top+(n.height-t.height)/2;this.style.top=r+"px"}if(!e.horizontally){var i=n.left-t.left+(n.width-t.width)/2;this.style.left=i+"px"}}}},__getNormalizedRect:function(e){return e===document.documentElement||e===window?{top:0,left:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect()},__getOffscreenArea:function(e,t,n){var r=Math.min(0,e.top)+Math.min(0,n.bottom-(e.top+t.height)),i=Math.min(0,e.left)+Math.min(0,n.right-(e.left+t.width));return Math.abs(r)*t.width+Math.abs(i)*t.height},__getPosition:function(e,t,n,r,i,o){var a,s=[{verticalAlign:"top",horizontalAlign:"left",top:i.top+this.verticalOffset,left:i.left+this.horizontalOffset},{verticalAlign:"top",horizontalAlign:"right",top:i.top+this.verticalOffset,left:i.right-n.width-this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"left",top:i.bottom-n.height-this.verticalOffset,left:i.left+this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"right",top:i.bottom-n.height-this.verticalOffset,left:i.right-n.width-this.horizontalOffset}];if(this.noOverlap){for(var u=0,c=s.length;u-1&&(this._interestedResizables.splice(t,1),this._unsubscribeIronResize(e))},_subscribeIronResize:function(e){e.addEventListener("iron-resize",this._boundOnDescendantIronResize)},_unsubscribeIronResize:function(e){e.removeEventListener("iron-resize",this._boundOnDescendantIronResize)},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(e){this._notifyingDescendant?e.stopPropagation():f.h||this._fireResize()},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var t=Object(c.a)(e).rootTarget;t!==this&&(t.assignParentResizable(this),this._notifyDescendant(t),e.stopPropagation())},_parentResizableChanged:function(e){e&&window.removeEventListener("resize",this._boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)},_requestResizeNotifications:function(){if(this.isAttached)if("loading"===document.readyState){var e=this._requestResizeNotifications.bind(this);document.addEventListener("readystatechange",function t(){document.removeEventListener("readystatechange",t),e()})}else this._findParent(),this._parentResizable?this._parentResizable._interestedResizables.forEach(function(e){e!==this&&e._findParent()},this):(v.forEach(function(e){e!==this&&e._findParent()},this),window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},_findParent:function(){this.assignParentResizable(null),this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable?v.delete(this):v.add(this)}},m=Element.prototype,b=m.matches||m.matchesSelector||m.mozMatchesSelector||m.msMatchesSelector||m.oMatchesSelector||m.webkitMatchesSelector,_={getTabbableNodes:function(e){var t=[];return this._collectTabbableNodes(e,t)?this._sortByTabIndex(t):t},isFocusable:function(e){return b.call(e,"input, select, textarea, button, object")?b.call(e,":not([disabled])"):b.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")},isTabbable:function(e){return this.isFocusable(e)&&b.call(e,':not([tabindex="-1"])')&&this._isVisible(e)},_normalizedTabIndex:function(e){if(this.isFocusable(e)){var t=e.getAttribute("tabindex")||0;return Number(t)}return-1},_collectTabbableNodes:function(e,t){if(e.nodeType!==Node.ELEMENT_NODE||!this._isVisible(e))return!1;var n,r=e,i=this._normalizedTabIndex(r),o=i>0;i>=0&&t.push(r),n="content"===r.localName||"slot"===r.localName?Object(c.a)(r).getDistributedNodes():Object(c.a)(r.root||r).children;for(var a=0;a0&&t.length>0;)this._hasLowerTabOrder(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return n.concat(e,t)},_hasLowerTabOrder:function(e,t){var n=Math.max(e.tabIndex,0),r=Math.max(t.tabIndex,0);return 0===n||0===r?r>n:n>r}};function g(){var e=i()(["\n \n\n \n"]);return g=function(){return e},e}Object(u.a)({_template:Object(l.a)(g()),is:"iron-overlay-backdrop",properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:"_openedChanged"}},listeners:{transitionend:"_onTransitionend"},created:function(){this.__openedRaf=null},attached:function(){this.opened&&this._openedChanged(this.opened)},prepare:function(){this.opened&&!this.parentNode&&Object(c.a)(document.body).appendChild(this)},open:function(){this.opened=!0},close:function(){this.opened=!1},complete:function(){this.opened||this.parentNode!==document.body||Object(c.a)(this.parentNode).removeChild(this)},_onTransitionend:function(e){e&&e.target===this&&this.complete()},_openedChanged:function(e){if(e)this.prepare();else{var t=window.getComputedStyle(this);"0s"!==t.transitionDuration&&0!=t.opacity||this.complete()}this.isAttached&&(this.__openedRaf&&(window.cancelAnimationFrame(this.__openedRaf),this.__openedRaf=null),this.scrollTop=this.scrollTop,this.__openedRaf=window.requestAnimationFrame(function(){this.__openedRaf=null,this.toggleClass("opened",this.opened)}.bind(this)))}});var w=n(378),O=function(){this._overlays=[],this._minimumZ=101,this._backdropElement=null,w.a(document.documentElement,"tap",function(){}),document.addEventListener("tap",this._onCaptureClick.bind(this),!0),document.addEventListener("focus",this._onCaptureFocus.bind(this),!0),document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)};O.prototype={constructor:O,get backdropElement(){return this._backdropElement||(this._backdropElement=document.createElement("iron-overlay-backdrop")),this._backdropElement},get deepActiveElement(){var e=document.activeElement;for(e&&e instanceof Element!=!1||(e=document.body);e.root&&Object(c.a)(e.root).activeElement;)e=Object(c.a)(e.root).activeElement;return e},_bringOverlayAtIndexToFront:function(e){var t=this._overlays[e];if(t){var n=this._overlays.length-1,r=this._overlays[n];if(r&&this._shouldBeBehindOverlay(t,r)&&n--,!(e>=n)){var i=Math.max(this.currentOverlayZ(),this._minimumZ);for(this._getZ(t)<=i&&this._applyOverlayZ(t,i);e=0)return this._bringOverlayAtIndexToFront(t),void this.trackBackdrop();var n=this._overlays.length,r=this._overlays[n-1],i=Math.max(this._getZ(r),this._minimumZ),o=this._getZ(e);if(r&&this._shouldBeBehindOverlay(e,r)){this._applyOverlayZ(r,i),n--;var a=this._overlays[n-1];i=Math.max(this._getZ(a),this._minimumZ)}o<=i&&this._applyOverlayZ(e,i),this._overlays.splice(n,0,e),this.trackBackdrop()},removeOverlay:function(e){var t=this._overlays.indexOf(e);-1!==t&&(this._overlays.splice(t,1),this.trackBackdrop())},currentOverlay:function(){var e=this._overlays.length-1;return this._overlays[e]},currentOverlayZ:function(){return this._getZ(this.currentOverlay())},ensureMinimumZ:function(e){this._minimumZ=Math.max(this._minimumZ,e)},focusOverlay:function(){var e=this.currentOverlay();e&&e._applyFocus()},trackBackdrop:function(){var e=this._overlayWithBackdrop();(e||this._backdropElement)&&(this.backdropElement.style.zIndex=this._getZ(e)-1,this.backdropElement.opened=!!e,this.backdropElement.prepare())},getBackdrops:function(){for(var e=[],t=0;t=0;e--)if(this._overlays[e].withBackdrop)return this._overlays[e]},_getZ:function(e){var t=this._minimumZ;if(e){var n=Number(e.style.zIndex||window.getComputedStyle(e).zIndex);n==n&&(t=n)}return t},_setZ:function(e,t){e.style.zIndex=t},_applyOverlayZ:function(e,t){this._setZ(e,t+2)},_overlayInPath:function(e){e=e||[];for(var t=0;t=0||(0===N.length&&function(){k=k||function(e){e.cancelable&&function(e){var t=Object(c.a)(e).rootTarget;"touchmove"!==e.type&&C!==t&&(C=t,T=function(e){for(var t=[],n=e.indexOf(x),r=0;r<=n;r++)if(e[r].nodeType===Node.ELEMENT_NODE){var i=e[r],o=i.style;"scroll"!==o.overflow&&"auto"!==o.overflow&&(o=window.getComputedStyle(i)),"scroll"!==o.overflow&&"auto"!==o.overflow||t.push(i)}return t}(Object(c.a)(e).path));if(!T.length)return!0;if("touchstart"===e.type)return!1;var n=function(e){var t={deltaX:e.deltaX,deltaY:e.deltaY};if("deltaX"in e);else if("wheelDeltaX"in e&&"wheelDeltaY"in e)t.deltaX=-e.wheelDeltaX,t.deltaY=-e.wheelDeltaY;else if("wheelDelta"in e)t.deltaX=0,t.deltaY=-e.wheelDelta;else if("axis"in e)t.deltaX=1===e.axis?e.detail:0,t.deltaY=2===e.axis?e.detail:0;else if(e.targetTouches){var n=e.targetTouches[0];t.deltaX=S.pageX-n.pageX,t.deltaY=S.pageY-n.pageY}return t}(e);return!function(e,t,n){if(!t&&!n)return;for(var r=Math.abs(n)>=Math.abs(t),i=0;i0:o.scrollTop0:o.scrollLeft=0))switch(this.scrollAction){case"lock":this.__restoreScrollPosition();break;case"refit":this.__deraf("refit",this.refit);break;case"cancel":this.cancel(e)}},__saveScrollPosition:function(){document.scrollingElement?(this.__scrollTop=document.scrollingElement.scrollTop,this.__scrollLeft=document.scrollingElement.scrollLeft):(this.__scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this.__scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft))},__restoreScrollPosition:function(){document.scrollingElement?(document.scrollingElement.scrollTop=this.__scrollTop,document.scrollingElement.scrollLeft=this.__scrollLeft):(document.documentElement.scrollTop=document.body.scrollTop=this.__scrollTop,document.documentElement.scrollLeft=document.body.scrollLeft=this.__scrollLeft)}},R=[d,y,j],M=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(e,t){for(var n in t)e[n]=t[n]},_cloneConfig:function(e){var t={isClone:!0};return this._copyProperties(t,e),t},_getAnimationConfigRecursive:function(e,t,n){var r;if(this.animationConfig)if(this.animationConfig.value&&"function"==typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else if(r=e?this.animationConfig[e]:this.animationConfig,Array.isArray(r)||(r=[r]),r)for(var i,o=0;i=r[o];o++)if(i.animatable)i.animatable._getAnimationConfigRecursive(i.type||e,t,n);else if(i.id){var a=t[i.id];a?(a.isClone||(t[i.id]=this._cloneConfig(a),a=t[i.id]),this._copyProperties(a,i)):t[i.id]=i}else n.push(i)},getAnimationConfig:function(e){var t={},n=[];for(var r in this._getAnimationConfigRecursive(e,t,n),t)n.push(t[r]);return n}},{_configureAnimations:function(e){var t=[],n=[];if(e.length>0)for(var r,i=0;r=e[i];i++){var o=document.createElement(r.name);if(o.isNeonAnimation){var a;o.configure||(o.configure=function(e){return null}),a=o.configure(r),n.push({result:a,config:r,neonAnimation:o})}else console.warn(this.is+":",r.name,"not found!")}for(var s=0;s\n :host {\n position: fixed;\n }\n\n #contentWrapper ::slotted(*) {\n overflow: auto;\n }\n\n #contentWrapper.animating ::slotted(*) {\n overflow: hidden;\n pointer-events: none;\n }\n \n\n
\n \n
\n']);return F=function(){return e},e}Object(u.a)({_template:Object(l.a)(F()),is:"iron-dropdown",behaviors:[h.a,a.a,R,M],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:"_allowOutsideScrollChanged"}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],get containedElement(){for(var e=Object(c.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t\n :host {\n display: inline-block;\n position: relative;\n padding: 8px;\n outline: none;\n\n @apply --paper-menu-button;\n }\n\n :host([disabled]) {\n cursor: auto;\n color: var(--disabled-text-color);\n\n @apply --paper-menu-button-disabled;\n }\n\n iron-dropdown {\n @apply --paper-menu-button-dropdown;\n }\n\n .dropdown-content {\n @apply --shadow-elevation-2dp;\n\n position: relative;\n border-radius: 2px;\n background-color: var(--paper-menu-button-dropdown-background, var(--primary-background-color));\n\n @apply --paper-menu-button-content;\n }\n\n :host([vertical-align="top"]) .dropdown-content {\n margin-bottom: 20px;\n margin-top: -10px;\n top: 10px;\n }\n\n :host([vertical-align="bottom"]) .dropdown-content {\n bottom: 10px;\n margin-bottom: -10px;\n margin-top: 20px;\n }\n\n #trigger {\n cursor: pointer;\n }\n \n\n
\n \n
\n\n \n \n \n']);return L=function(){return e},e}Object(u.a)({is:"paper-menu-grow-height-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this._effect=new KeyframeEffect(t,[{height:n/2+"px"},{height:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(u.a)({is:"paper-menu-grow-width-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n/2+"px"},{width:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(u.a)({is:"paper-menu-shrink-width-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n+"px"},{width:n-n/20+"px"}],this.timingFromConfig(e)),this._effect}}),Object(u.a)({is:"paper-menu-shrink-height-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this.setPrefixedProperty(t,"transformOrigin","0 0"),this._effect=new KeyframeEffect(t,[{height:n+"px",transform:"translateY(0)"},{height:n/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(e)),this._effect}});var q={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400},B=Object(u.a)({_template:Object(l.a)(L()),is:"paper-menu-button",behaviors:[a.a,h.a],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:q.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:q.ANIMATION_CUBIC_BEZIER}}]}},closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:q.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get contentElement(){for(var e=Object(c.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t-1&&e.preventDefault()}});Object.keys(q).forEach(function(e){B[e]=q[e]});n(474);Object(u.a)({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1},useGlobalRtlAttribute:{type:Boolean,value:!1}},created:function(){this._meta=new s.a({type:"iconset",key:null,value:null})},attached:function(){this.style.display="none"},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map(function(e){return this.name+":"+e},this)},applyIcon:function(e,t){this.removeIcon(e);var n=this._cloneIcon(t,this.rtlMirroring&&this._targetIsRTL(e));if(n){var r=Object(c.a)(e.root||e);return r.insertBefore(n,r.childNodes[0]),e._svgIcon=n}return null},removeIcon:function(e){e._svgIcon&&(Object(c.a)(e.root||e).removeChild(e._svgIcon),e._svgIcon=null)},_targetIsRTL:function(e){if(null==this.__targetIsRTL)if(this.useGlobalRtlAttribute){var t=document.body&&document.body.hasAttribute("dir")?document.body:document.documentElement;this.__targetIsRTL="rtl"===t.getAttribute("dir")}else e&&e.nodeType!==Node.ELEMENT_NODE&&(e=e.host),this.__targetIsRTL=e&&"rtl"===window.getComputedStyle(e).direction;return this.__targetIsRTL},_nameChanged:function(){this._meta.value=null,this._meta.key=this.name,this._meta.value=this,this.async(function(){this.fire("iron-iconset-added",this,{node:window})})},_createIconMap:function(){var e=Object.create(null);return Object(c.a)(this).querySelectorAll("[id]").forEach(function(t){e[t.id]=t}),e},_cloneIcon:function(e,t){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size,t)},_prepareSvgClone:function(e,t,n){if(e){var r=e.cloneNode(!0),i=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=r.getAttribute("viewBox")||"0 0 "+t+" "+t,a="pointer-events: none; display: block; width: 100%; height: 100%;";return n&&r.hasAttribute("mirror-in-rtl")&&(a+="-webkit-transform:scale(-1,1);transform:scale(-1,1);transform-origin:center;"),i.setAttribute("viewBox",o),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),i.style.cssText=a,i.appendChild(r).removeAttribute("id"),i}return null}});var V=document.createElement("template");V.setAttribute("style","display: none;"),V.innerHTML='\n\n\n\n',document.head.appendChild(V.content);var z=document.createElement("template");z.setAttribute("style","display: none;"),z.innerHTML='\n \n',document.head.appendChild(z.content);var Q=n(380),U=n(491),H=n(490);function K(){var e=i()(['\n \n\n \x3c!-- this div fulfills an a11y requirement for combobox, do not remove --\x3e\n \n \n \x3c!-- support hybrid mode: user might be using paper-menu-button 1.x which distributes via --\x3e\n \n \n \n']);return K=function(){return e},e}Object(u.a)({_template:Object(l.a)(K()),is:"paper-dropdown-menu",behaviors:[Q.a,h.a,U.a,H.a],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},hostAttributes:{role:"combobox","aria-autocomplete":"none","aria-haspopup":"true"},observers:["_selectedItemChanged(selectedItem)"],attached:function(){var e=this.contentElement;e&&e.selectedItem&&this._setSelectedItem(e.selectedItem)},get contentElement(){for(var e=Object(c.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function _(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}function g(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function w(e){return isNaN(e)?b.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function O(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i=i)return new g(b.EOF,i,i,a,s,t);var u=r.charCodeAt(o);switch(u){case 33:return new g(b.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new g(b.COMMENT,t,s,n,r,i,a.slice(t+1,s))}(n,o,a,s,t);case 36:return new g(b.DOLLAR,o,o+1,a,s,t);case 38:return new g(b.AMP,o,o+1,a,s,t);case 40:return new g(b.PAREN_L,o,o+1,a,s,t);case 41:return new g(b.PAREN_R,o,o+1,a,s,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new g(b.SPREAD,o,o+3,a,s,t);break;case 58:return new g(b.COLON,o,o+1,a,s,t);case 61:return new g(b.EQUALS,o,o+1,a,s,t);case 64:return new g(b.AT,o,o+1,a,s,t);case 91:return new g(b.BRACKET_L,o,o+1,a,s,t);case 93:return new g(b.BRACKET_R,o,o+1,a,s,t);case 123:return new g(b.BRACE_L,o,o+1,a,s,t);case 124:return new g(b.PIPE,o,o+1,a,s,t);case 125:return new g(b.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&!isNaN(u=o.charCodeAt(s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new g(b.NAME,t,s,n,r,i,o.slice(t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,u=t,c=!1;45===s&&(s=a.charCodeAt(++u));if(48===s){if((s=a.charCodeAt(++u))>=48&&s<=57)throw d(e,u,"Invalid number, unexpected digit after 0: ".concat(w(s),"."))}else u=k(e,u,s),s=a.charCodeAt(u);46===s&&(c=!0,s=a.charCodeAt(++u),u=k(e,u,s),s=a.charCodeAt(u));69!==s&&101!==s||(c=!0,43!==(s=a.charCodeAt(++u))&&45!==s||(s=a.charCodeAt(++u)),u=k(e,u,s));return new g(c?b.FLOAT:b.INT,t,u,r,i,o,a.slice(t,u))}(n,o,u,a,s,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw d(e,i,"Invalid number, expected digit but got: ".concat(w(o),"."))}function x(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(g,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var E=n(464),S=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function C(e,t){var n="string"==typeof e?new u(e):e;if(!(n instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(r.a)(n)));return function(e){var t=e.token;return{kind:E.a.DOCUMENT,definitions:we(e,b.SOF,I,b.EOF),loc:he(e,t)}}(v(n,t||{}))}function T(e,t){var n=v("string"==typeof e?new u(e):e,t||{});ve(n,b.SOF);var r=U(n,!1);return ve(n,b.EOF),r}function A(e,t){var n=v("string"==typeof e?new u(e):e,t||{});ve(n,b.SOF);var r=G(n);return ve(n,b.EOF),r}function P(e){var t=ve(e,b.NAME);return{kind:E.a.NAME,value:t.value,loc:he(e,t)}}function I(e){if(fe(e,b.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return N(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return X(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===b.NAME)switch(t.value){case"schema":return function(e){var t=e.token;me(e,"extend"),me(e,"schema");var n=Y(e,!0),r=fe(e,b.BRACE_L)?we(e,b.BRACE_L,te,b.BRACE_R):[];if(0===n.length&&0===r.length)throw _e(e);return{kind:E.a.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:he(e,t)}}(e);case"scalar":return function(e){var t=e.token;me(e,"extend"),me(e,"scalar");var n=P(e),r=Y(e,!0);if(0===r.length)throw _e(e);return{kind:E.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:he(e,t)}}(e);case"type":return function(e){var t=e.token;me(e,"extend"),me(e,"type");var n=P(e),r=ne(e),i=Y(e,!0),o=re(e);if(0===r.length&&0===i.length&&0===o.length)throw _e(e);return{kind:E.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:he(e,t)}}(e);case"interface":return function(e){var t=e.token;me(e,"extend"),me(e,"interface");var n=P(e),r=Y(e,!0),i=re(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:he(e,t)}}(e);case"union":return function(e){var t=e.token;me(e,"extend"),me(e,"union");var n=P(e),r=Y(e,!0),i=se(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:he(e,t)}}(e);case"enum":return function(e){var t=e.token;me(e,"extend"),me(e,"enum");var n=P(e),r=Y(e,!0),i=ue(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:he(e,t)}}(e);case"input":return function(e){var t=e.token;me(e,"extend"),me(e,"input");var n=P(e),r=Y(e,!0),i=le(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:he(e,t)}}(e)}throw _e(e,t)}(e)}else{if(fe(e,b.BRACE_L))return N(e);if(Z(e))return X(e)}throw _e(e)}function N(e){if(fe(e,b.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return j(e);case"fragment":return function(e){var t=e.token;if(me(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:E.a.FRAGMENT_DEFINITION,name:Q(e),variableDefinitions:M(e),typeCondition:(me(e,"on"),W(e)),directives:Y(e,!1),selectionSet:L(e),loc:he(e,t)};return{kind:E.a.FRAGMENT_DEFINITION,name:Q(e),typeCondition:(me(e,"on"),W(e)),directives:Y(e,!1),selectionSet:L(e),loc:he(e,t)}}(e)}else if(fe(e,b.BRACE_L))return j(e);throw _e(e)}function j(e){var t=e.token;if(fe(e,b.BRACE_L))return{kind:E.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:L(e),loc:he(e,t)};var n,r=R(e);return fe(e,b.NAME)&&(n=P(e)),{kind:E.a.OPERATION_DEFINITION,operation:r,name:n,variableDefinitions:M(e),directives:Y(e,!1),selectionSet:L(e),loc:he(e,t)}}function R(e){var t=ve(e,b.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw _e(e,t)}function M(e){return fe(e,b.PAREN_L)?we(e,b.PAREN_L,F,b.PAREN_R):[]}function F(e){var t=e.token;return{kind:E.a.VARIABLE_DEFINITION,variable:D(e),type:(ve(e,b.COLON),G(e)),defaultValue:ye(e,b.EQUALS)?U(e,!0):void 0,directives:Y(e,!0),loc:he(e,t)}}function D(e){var t=e.token;return ve(e,b.DOLLAR),{kind:E.a.VARIABLE,name:P(e),loc:he(e,t)}}function L(e){var t=e.token;return{kind:E.a.SELECTION_SET,selections:we(e,b.BRACE_L,q,b.BRACE_R),loc:he(e,t)}}function q(e){return fe(e,b.SPREAD)?function(e){var t=e.token;ve(e,b.SPREAD);var n=be(e,"on");if(!n&&fe(e,b.NAME))return{kind:E.a.FRAGMENT_SPREAD,name:Q(e),directives:Y(e,!1),loc:he(e,t)};return{kind:E.a.INLINE_FRAGMENT,typeCondition:n?W(e):void 0,directives:Y(e,!1),selectionSet:L(e),loc:he(e,t)}}(e):function(e){var t,n,r=e.token,i=P(e);ye(e,b.COLON)?(t=i,n=P(e)):n=i;return{kind:E.a.FIELD,alias:t,name:n,arguments:B(e,!1),directives:Y(e,!1),selectionSet:fe(e,b.BRACE_L)?L(e):void 0,loc:he(e,r)}}(e)}function B(e,t){var n=t?z:V;return fe(e,b.PAREN_L)?we(e,b.PAREN_L,n,b.PAREN_R):[]}function V(e){var t=e.token,n=P(e);return ve(e,b.COLON),{kind:E.a.ARGUMENT,name:n,value:U(e,!1),loc:he(e,t)}}function z(e){var t=e.token;return{kind:E.a.ARGUMENT,name:P(e),value:(ve(e,b.COLON),K(e)),loc:he(e,t)}}function Q(e){if("on"===e.token.value)throw _e(e);return P(e)}function U(e,t){var n=e.token;switch(n.kind){case b.BRACKET_L:return function(e,t){var n=e.token,r=t?K:$;return{kind:E.a.LIST,values:ge(e,b.BRACKET_L,r,b.BRACKET_R),loc:he(e,n)}}(e,t);case b.BRACE_L:return function(e,t){var n=e.token;return{kind:E.a.OBJECT,fields:ge(e,b.BRACE_L,function(){return function(e,t){var n=e.token,r=P(e);return ve(e,b.COLON),{kind:E.a.OBJECT_FIELD,name:r,value:U(e,t),loc:he(e,n)}}(e,t)},b.BRACE_R),loc:he(e,n)}}(e,t);case b.INT:return e.advance(),{kind:E.a.INT,value:n.value,loc:he(e,n)};case b.FLOAT:return e.advance(),{kind:E.a.FLOAT,value:n.value,loc:he(e,n)};case b.STRING:case b.BLOCK_STRING:return H(e);case b.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:E.a.BOOLEAN,value:"true"===n.value,loc:he(e,n)}):"null"===n.value?(e.advance(),{kind:E.a.NULL,loc:he(e,n)}):(e.advance(),{kind:E.a.ENUM,value:n.value,loc:he(e,n)});case b.DOLLAR:if(!t)return D(e)}throw _e(e)}function H(e){var t=e.token;return e.advance(),{kind:E.a.STRING,value:t.value,block:t.kind===b.BLOCK_STRING,loc:he(e,t)}}function K(e){return U(e,!0)}function $(e){return U(e,!1)}function Y(e,t){for(var n=[];fe(e,b.AT);)n.push(J(e,t));return n}function J(e,t){var n=e.token;return ve(e,b.AT),{kind:E.a.DIRECTIVE,name:P(e),arguments:B(e,t),loc:he(e,n)}}function G(e){var t,n=e.token;return ye(e,b.BRACKET_L)?(t=G(e),ve(e,b.BRACKET_R),t={kind:E.a.LIST_TYPE,type:t,loc:he(e,n)}):t=W(e),ye(e,b.BANG)?{kind:E.a.NON_NULL_TYPE,type:t,loc:he(e,n)}:t}function W(e){var t=e.token;return{kind:E.a.NAMED_TYPE,name:P(e),loc:he(e,t)}}function X(e){var t=Z(e)?e.lookahead():e.token;if(t.kind===b.NAME)switch(t.value){case"schema":return function(e){var t=e.token;me(e,"schema");var n=Y(e,!0),r=we(e,b.BRACE_L,te,b.BRACE_R);return{kind:E.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:he(e,t)}}(e);case"scalar":return function(e){var t=e.token,n=ee(e);me(e,"scalar");var r=P(e),i=Y(e,!0);return{kind:E.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:he(e,t)}}(e);case"type":return function(e){var t=e.token,n=ee(e);me(e,"type");var r=P(e),i=ne(e),o=Y(e,!0),a=re(e);return{kind:E.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a,loc:he(e,t)}}(e);case"interface":return function(e){var t=e.token,n=ee(e);me(e,"interface");var r=P(e),i=Y(e,!0),o=re(e);return{kind:E.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:he(e,t)}}(e);case"union":return function(e){var t=e.token,n=ee(e);me(e,"union");var r=P(e),i=Y(e,!0),o=se(e);return{kind:E.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:he(e,t)}}(e);case"enum":return function(e){var t=e.token,n=ee(e);me(e,"enum");var r=P(e),i=Y(e,!0),o=ue(e);return{kind:E.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:he(e,t)}}(e);case"input":return function(e){var t=e.token,n=ee(e);me(e,"input");var r=P(e),i=Y(e,!0),o=le(e);return{kind:E.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:he(e,t)}}(e);case"directive":return function(e){var t=e.token,n=ee(e);me(e,"directive"),ve(e,b.AT);var r=P(e),i=oe(e);me(e,"on");var o=function(e){ye(e,b.PIPE);var t=[];do{t.push(pe(e))}while(ye(e,b.PIPE));return t}(e);return{kind:E.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:he(e,t)}}(e)}throw _e(e,t)}function Z(e){return fe(e,b.STRING)||fe(e,b.BLOCK_STRING)}function ee(e){if(Z(e))return H(e)}function te(e){var t=e.token,n=R(e);ve(e,b.COLON);var r=W(e);return{kind:E.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:he(e,t)}}function ne(e){var t=[];if(be(e,"implements")){ye(e,b.AMP);do{t.push(W(e))}while(ye(e,b.AMP)||e.options.allowLegacySDLImplementsInterfaces&&fe(e,b.NAME))}return t}function re(e){return e.options.allowLegacySDLEmptyFields&&fe(e,b.BRACE_L)&&e.lookahead().kind===b.BRACE_R?(e.advance(),e.advance(),[]):fe(e,b.BRACE_L)?we(e,b.BRACE_L,ie,b.BRACE_R):[]}function ie(e){var t=e.token,n=ee(e),r=P(e),i=oe(e);ve(e,b.COLON);var o=G(e),a=Y(e,!0);return{kind:E.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a,loc:he(e,t)}}function oe(e){return fe(e,b.PAREN_L)?we(e,b.PAREN_L,ae,b.PAREN_R):[]}function ae(e){var t=e.token,n=ee(e),r=P(e);ve(e,b.COLON);var i,o=G(e);ye(e,b.EQUALS)&&(i=K(e));var a=Y(e,!0);return{kind:E.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:i,directives:a,loc:he(e,t)}}function se(e){var t=[];if(ye(e,b.EQUALS)){ye(e,b.PIPE);do{t.push(W(e))}while(ye(e,b.PIPE))}return t}function ue(e){return fe(e,b.BRACE_L)?we(e,b.BRACE_L,ce,b.BRACE_R):[]}function ce(e){var t=e.token,n=ee(e),r=P(e),i=Y(e,!0);return{kind:E.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:he(e,t)}}function le(e){return fe(e,b.BRACE_L)?we(e,b.BRACE_L,ae,b.BRACE_R):[]}function pe(e){var t=e.token,n=P(e);if(S.hasOwnProperty(n.value))return n;throw _e(e,t)}function he(e,t){if(!e.options.noLocation)return new de(t,e.lastToken,e.source)}function de(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function fe(e,t){return e.token.kind===t}function ve(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw d(e.source,n.start,"Expected ".concat(t,", found ").concat(_(n)))}function ye(e,t){var n=e.token;if(n.kind===t)return e.advance(),n}function me(e,t){var n=e.token;if(n.kind===b.NAME&&n.value===t)return e.advance(),n;throw d(e.source,n.start,'Expected "'.concat(t,'", found ').concat(_(n)))}function be(e,t){var n=e.token;if(n.kind===b.NAME&&n.value===t)return e.advance(),n}function _e(e,t){var n=t||e.token;return d(e.source,n.start,"Unexpected ".concat(_(n)))}function ge(e,t,n,r){ve(e,t);for(var i=[];!ye(e,r);)i.push(n(e));return i}function we(e,t,n,r){ve(e,t);for(var i=[n(e)];!ye(e,r);)i.push(n(e));return i}n.d(t,"parse",function(){return C}),n.d(t,"parseValue",function(){return T}),n.d(t,"parseType",function(){return A}),n.d(t,"parseConstValue",function(){return K}),n.d(t,"parseTypeReference",function(){return G}),n.d(t,"parseNamedType",function(){return W}),o(de,function(){return{start:this.start,end:this.end}})},,,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(332),n(315)),a=n(278),s=n(377),u=n(261),c=n.n(u),l=n(262),p=n.n(l),h=function(){function e(t){c()(this,e),this.selection=[],this.selectCallback=t}return p()(e,[{key:"get",value:function(){return this.multi?this.selection.slice():this.selection[0]}},{key:"clear",value:function(e){this.selection.slice().forEach(function(t){(!e||e.indexOf(t)<0)&&this.setItemSelected(t,!1)},this)}},{key:"isSelected",value:function(e){return this.selection.indexOf(e)>=0}},{key:"setItemSelected",value:function(e,t){if(null!=e&&t!==this.isSelected(e)){if(t)this.selection.push(e);else{var n=this.selection.indexOf(e);n>=0&&this.selection.splice(n,1)}this.selectCallback&&this.selectCallback(e,t)}}},{key:"select",value:function(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))}},{key:"toggle",value:function(e){this.setItemSelected(e,!this.isSelected(e))}}]),e}(),d={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1,"dom-bind":1,"dom-if":1,"dom-repeat":1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new h(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._addListener(this.activateEvent)},detached:function(){this._observer&&Object(a.a)(this).unobserveNodes(this._observer),this._removeListener(this.activateEvent)},indexOf:function(e){return this.items?this.items.indexOf(e):-1},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=e-1;void 0!==this.selected&&(t=(Number(this._valueToIndex(this.selected))-1+e)%e),this.selected=this._indexToValue(t)},selectNext:function(){var e=0;void 0!==this.selected&&(e=(Number(this._valueToIndex(this.selected))+1)%this.items.length),this.selected=this._indexToValue(e)},selectIndex:function(e){this.select(this._indexToValue(e))},forceSynchronousItemUpdate:function(){this._observer&&"function"==typeof this._observer.flush?this._observer.flush():this._updateItems()},get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){this.unlisten(this,e,"_activateHandler")},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateItems:function(){var e=Object(a.a)(this).queryDistributedElements(this.selectable||"*");e=Array.prototype.filter.call(e,this._bindFilterItem),this._setItems(e)},_updateAttrForSelected:function(){this.selectedItem&&(this.selected=this._valueForItem(this.selectedItem))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){if(this.items){var t=this._valueToItem(this.selected);t?this._selection.select(t):this._selection.clear(),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)}},_filterItem:function(e){return!this._excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,n=0;t=this.items[n];n++)if(this._valueForItem(t)==e)return n},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){if(!e)return null;if(!this.attrForSelected){var t=this.indexOf(e);return-1===t?null:t}var n=e[Object(s.b)(this.attrForSelected)];return null!=n?n:e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeItems:function(e){return Object(a.a)(e).observeNodes(function(e){this._updateItems(),this._updateSelected(),this.fire("iron-items-changed",e,{bubbles:!1,cancelable:!1})})},_activateHandler:function(e){for(var t=e.target,n=this.items;t&&t!=this;){var r=n.indexOf(t);if(r>=0){var i=this._indexToValue(r);return void this._itemActivate(i,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}},f={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0,value:function(){return[]}},selectedItems:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}}},observers:["_updateSelected(selectedValues.splices)"],select:function(e){this.multi?this._toggleSelected(e):this.selected=e},multiChanged:function(e){this._selection.multi=e,this._updateSelected()},get _shouldUpdateSelection(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi?this.selectedItems&&this.selectedItems.length>0&&(this.selectedValues=this.selectedItems.map(function(e){return this._indexToValue(this.indexOf(e))},this).filter(function(e){return null!=e},this)):d._updateAttrForSelected.apply(this)},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){e=e||[];var t=(this._valuesToItems(e)||[]).filter(function(e){return null!=e});this._selection.clear(t);for(var n=0;n\n :host {\n display: block;\n padding: 8px 0;\n\n background: var(--paper-listbox-background-color, var(--primary-background-color));\n color: var(--paper-listbox-color, var(--primary-text-color));\n\n @apply --paper-listbox;\n }\n \n\n \n"]);return _=function(){return e},e}Object(m.a)({_template:Object(b.a)(_()),is:"paper-listbox",behaviors:[y],hostAttributes:{role:"listbox"}})},,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(353),n(267)),a=(n(473),n(271));function s(){var e=i()(['\n\n \n']);return s=function(){return e},e}var u=Object(a.a)(s());u.setAttribute("style","display: none;"),document.head.appendChild(u.content);var c=n(380),l=n(330),p=(n(474),n(278)),h={properties:{noink:{type:Boolean,observer:"_noinkChanged"},_rippleContainer:{type:Object}},_buttonStateChanged:function(){this.focused&&this.ensureRipple()},_downHandler:function(e){c.b._downHandler.call(this,e),this.pressed&&this.ensureRipple(e)},ensureRipple:function(e){if(!this.hasRipple()){this._ripple=this._createRipple(),this._ripple.noink=this.noink;var t=this._rippleContainer||this.root;if(t&&Object(p.a)(t).appendChild(this._ripple),e){var n=Object(p.a)(this._rippleContainer||this),r=Object(p.a)(e).rootTarget;n.deepContains(r)&&this._ripple.uiDownAction(e)}}},getRipple:function(){return this.ensureRipple(),this._ripple},hasRipple:function(){return Boolean(this._ripple)},_createRipple:function(){return document.createElement("paper-ripple")},_noinkChanged:function(e){this.hasRipple()&&(this._ripple.noink=e)}},d={properties:{elevation:{type:Number,reflectToAttribute:!0,readOnly:!0}},observers:["_calculateElevation(focused, disabled, active, pressed, receivedFocusFromKeyboard)","_computeKeyboardClass(receivedFocusFromKeyboard)"],hostAttributes:{role:"button",tabindex:"0",animated:!0},_calculateElevation:function(){var e=1;this.disabled?e=0:this.active||this.pressed?e=4:this.receivedFocusFromKeyboard&&(e=3),this._setElevation(e)},_computeKeyboardClass:function(e){this.toggleClass("keyboard-focus",e)},_spaceKeyDownHandler:function(e){c.b._spaceKeyDownHandler.call(this,e),this.hasRipple()&&this.getRipple().ripples.length<1&&this._ripple.uiDownAction()},_spaceKeyUpHandler:function(e){c.b._spaceKeyUpHandler.call(this,e),this.hasRipple()&&this._ripple.uiUpAction()}},f=[c.a,l.a,h,d],v=n(272);function y(){var e=i()(['\n \n\n ']);return y=function(){return e},e}var m=Object(o.b)(y());m.setAttribute("strip-whitespace",""),Object(v.a)({_template:m,is:"paper-button",behaviors:[f],properties:{raised:{type:Boolean,reflectToAttribute:!0,value:!1,observer:"_calculateElevation"}},_calculateElevation:function(){this.raised?d._calculateElevation.apply(this):this._setElevation(0)}})},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(353),n(415),n(332),n(390),document.createElement("template"));o.setAttribute("style","display: none;"),o.innerHTML="\n \n",document.head.appendChild(o.content);var a=n(272),s=n(271),u=n(380),c=n(330),l=[u.a,c.a,{hostAttributes:{role:"option",tabindex:"0"}}];function p(){var e=i()(['\n \n \n']);return p=function(){return e},e}Object(a.a)({_template:Object(s.a)(p()),is:"paper-item",behaviors:[l]})},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(415),document.createElement("template"));o.setAttribute("style","display: none;"),o.innerHTML="\n \n",document.head.appendChild(o.content);var a=n(272),s=n(271),u={properties:{active:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"__activeChanged"},alt:{type:String,value:"loading",observer:"__altChanged"},__coolingDown:{type:Boolean,value:!1}},__computeContainerClasses:function(e,t){return[e||t?"active":"",t?"cooldown":""].join(" ")},__activeChanged:function(e,t){this.__setAriaHidden(!e),this.__coolingDown=!e&&t},__altChanged:function(e){"loading"===e?this.alt=this.getAttribute("aria-label")||e:(this.__setAriaHidden(""===e),this.setAttribute("aria-label",e))},__setAriaHidden:function(e){e?this.setAttribute("aria-hidden","true"):this.removeAttribute("aria-hidden")},__reset:function(){this.active=!1,this.__coolingDown=!1}};function c(){var e=i()(['\n \n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n']);return c=function(){return e},e}var l=Object(s.a)(c());l.setAttribute("strip-whitespace",""),Object(a.a)({_template:l,is:"paper-spinner",behaviors:[u]})},function(e,t,n){"use strict";var r=n(289),i=n(320),o=n(412),a=n(411),s="Invariant Violation",u=Object.setPrototypeOf,c=void 0===u?function(e,t){return e.__proto__=t,e}:u,l=function(e){function t(n){void 0===n&&(n=s);var r=e.call(this,"number"==typeof n?s+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=s,c(r,t.prototype),r}return Object(r.__extends)(t,e),t}(Error);function p(e,t){if(!e)throw new l(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=300&&d(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||d(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName)+"'."),t})})).then(function(e){return n.next(e),n.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))}),function(){b&&b.abort()}})})};var y=function(e){function t(t){return e.call(this,v(t).request)||this}return Object(r.__extends)(t,e),t}(i.a)},,,,,,,function(e,t,n){"use strict";var r=n(281),i=n.n(r),o=n(289),a=n(296);function s(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(e)}]}}function u(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return u(e[0]);var t=[];return Object.keys(e).forEach(function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:u(e[n])||void 0};t.push(r)}),{kind:"SelectionSet",selections:t}}var c,l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},p=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:l})}catch(e){}var a=o&&o.__typename||"__ClientData",c=Object.assign({__typename:a},i);this.writeFragment({id:r,fragment:(t=c,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(t)}]}),data:c})}else this.writeQuery({query:s(i),data:i})},e}();c||(c={});var h=n(584),d=n(409);n.d(t,"a",function(){return L});var f=new Map;if(f.set(1,2)!==f){var v=f.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return y&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new d.a}),i&&Object(a.isEqual)(i,v.result)&&(v.result=i),{result:v.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,s=void 0===o?A:o,u=Object(a.getMainDefinition)(t),c=Object(a.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(a.createFragmentMap)(c),contextValue:r,variableValues:i,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:n,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,i=e.execContext,s=i.fragmentMap,u=i.contextValue,c=i.variableValues,l={result:null},p=[],h=u.store.get(r.id),f=h&&h.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach(function(e){var n;if(Object(a.shouldInclude)(e,c))if(Object(a.isField)(e)){var l=v(t.executeField(h,f,e,i));void 0!==l&&p.push(((n={})[Object(a.resultKeyNameFromField)(e)]=l,n))}else{var y=void 0;if(Object(a.isInlineFragment)(e))y=e;else if(!(y=s[e.name.value]))throw new d.a;var m=y.typeCondition.name.value,b=i.fragmentMatcher(r,m,u);if(b){var _=t.executeSelectionSet({selectionSet:y.selectionSet,rootValue:r,execContext:i});"heuristic"===b&&_.missing&&(_=Object(o.__assign)({},_,{missing:_.missing.map(function(e){return Object(o.__assign)({},e,{tolerable:!0})})})),p.push(v(_))}}}),l.result=Object(a.mergeDeepArray)(p),l},e.prototype.executeField=function(e,t,n,r){var i=r.variableValues,o=r.contextValue,s=function(e,t,n,r,i,o){o.resultKey;var s=o.directives,u=n;(r||s)&&(u=Object(a.getStoreKeyName)(u,r,s));var c=void 0;if(e&&void 0===(c=e[u])&&i.cacheRedirects&&"string"==typeof t){var l=i.cacheRedirects[t];if(l){var p=l[n];p&&(c=p(e,r,{getCacheKey:function(e){return Object(a.toIdValue)({id:i.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(a.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,n.name.value,Object(a.argumentsObjectFromField)(n,i),o,{resultKey:Object(a.resultKeyNameFromField)(n),directives:Object(a.getDirectiveInfoFromField)(n,i)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(n,s.result,r)):n.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:s.result,execContext:r})):(T(n,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var M={fragmentMatcher:new O,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var F=Object.prototype.hasOwnProperty,D=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(o.__extends)(t,e),t.prototype.toObject=function(){return Object(o.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return F.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(P),L=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new k,n.silenceBroadcast=!1,n.config=Object(o.__assign)({},M,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new E:new P,n.optimisticData=n.data,n.storeReader=new C(n.cacheKeyRoot),n.storeWriter=new N;var r=n,i=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(h.wrap)(function(e){return i.call(n,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof E?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(o.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new d.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof D;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new D(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(a.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(p)},function(e,t,n){"use strict";var r,i=n(289),o=n(296),a=n(412),s=n(320),u=n(465),c=n(409),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return Object(i.__extends)(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey();if(!this.inFlightRequestObservables.get(r)){var i,o=t(e),s=new a.a(function(e){return n.subscribers.has(r)||n.subscribers.set(r,new Set),n.subscribers.get(r).add(e),i||(i=o.subscribe({next:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&(t.forEach(function(t){return t.next(e)}),t.forEach(function(e){return e.complete()}))},error:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&t.forEach(function(t){return t.error(e)})}})),function(){n.subscribers.has(r)&&(n.subscribers.get(r).delete(e),0===n.subscribers.get(r).size&&(n.inFlightRequestObservables.delete(r),i&&i.unsubscribe()))}});this.inFlightRequestObservables.set(r,s)}return this.inFlightRequestObservables.get(r)},t}(s.a),p=n(410);function h(e){return e<7}n.d(t,"a",function(){return E}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}));var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype[u.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(a.a);var f,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var n=e?e.message:"Error message not found.";t+="GraphQL error: "+n+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},y=function(e){function t(n){var r=n.graphQLErrors,i=n.networkError,o=n.errorMessage,a=n.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=r||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(i.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(f||(f={}));var m=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=o,a.queryManager=n,a.observers=[],a.subscriptionHandles=[],a}return Object(i.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r,i={next:function(n){t(n),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:function(e){n(e)}};r=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:r.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new y({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var a,s=this.queryManager.getCurrentQueryResult(this),u=s.data,c=s.partial,l=!n||n.networkStatus===r.loading,p="network-only"===this.options.fetchPolicy&&l||c&&"cache-only"!==this.options.fetchPolicy,d={data:u,loading:h(a=n?n.networkStatus:p?r.loading:r.ready),networkStatus:a};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(d.errors=n.graphQLErrors),c||(this.lastResult=Object(i.__assign)({},d,{stale:!1}),this.lastResultSnapshot=Object(o.cloneDeep)(this.lastResult)),Object(i.__assign)({},d,{partial:c})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(o.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(o.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(o.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,r=Object(i.__assign)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,r,f.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,n=this;return Object(c.b)(e.updateQuery),Promise.resolve().then(function(){var r=n.queryManager.generateQueryId();return(t=e.query?e:Object(i.__assign)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(r,t,f.normal,n.queryId)}).then(function(r){return n.updateQuery(function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})}),r})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery(function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var r=e||this.variables;return Object(o.isEqual)(r,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise(function(e){return e()}):(this.variables=r,this.options.variables=r,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(i.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,i=t.document,a=Object(o.tryFunctionOrLogError)(function(){return e(n,{variables:r})});a&&(this.queryManager.dataStore.markUpdateQueryResult(i,r,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){b(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(b(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(o.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(d);function b(e){var t=e.options.fetchPolicy;Object(c.b)("cache-first"!==t&&"cache-only"!==t)}var _=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(o.isEqual)(t.document,e.document))throw new c.a;var n,i=!1,a=null;e.storePreviousVariables&&t&&t.networkStatus!==r.loading&&(Object(o.isEqual)(t.variables,e.variables)||(i=!0,a=t.variables)),n=i?r.setVariables:e.isPoll?r.poll:e.isRefetch?r.refetch:r.loading;var s=[];t&&t.graphQLErrors&&(s=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:a,networkError:null,graphQLErrors:s,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=r.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=r.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=r.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?r.ready:r.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,n){return e[n]=Object(i.__assign)({},t.store[n],{networkStatus:r.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(o.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(o.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(i.__awaiter)(this,void 0,void 0,function(){return Object(i.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,r,o,this.fragmentMatcher,s).then(function(e){return Object(i.__assign)({},n,{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(o.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(o.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(i.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(c.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(i.__awaiter)(this,void 0,void 0,function(){return Object(i.__generator)(this,function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return Object(i.__assign)({},t,e.exportedVariables)})]:[2,Object(i.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(p.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return p.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(o.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,a,s){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(i.__awaiter)(this,void 0,void 0,function(){var u,c,l,p,h,d,f,v,y;return Object(i.__generator)(this,function(m){var b;return u=Object(o.getMainDefinition)(e),c=Object(o.getFragmentDefinitions)(e),l=Object(o.createFragmentMap)(c),p=u.operation,h=p?(b=p).charAt(0).toUpperCase()+b.slice(1):"Query",f=(d=this).cache,v=d.client,y={fragmentMap:l,context:Object(i.__assign)({},n,{cache:f,client:v}),variables:r,fragmentMatcher:a,defaultOperationType:h,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n){return Object(i.__awaiter)(this,void 0,void 0,function(){var r,a,s,u,l,p=this;return Object(i.__generator)(this,function(h){return r=n.fragmentMap,a=n.context,s=n.variables,u=[t],l=function(e){return Object(i.__awaiter)(p,void 0,void 0,function(){var l,p;return Object(i.__generator)(this,function(i){return Object(o.shouldInclude)(e,s)?Object(o.isField)(e)?[2,this.resolveField(e,t,n).then(function(t){var n;void 0!==t&&u.push(((n={})[Object(o.resultKeyNameFromField)(e)]=t,n))})]:(Object(o.isInlineFragment)(e)?l=e:(l=r[e.name.value],Object(c.b)(l)),l&&l.typeCondition&&(p=l.typeCondition.name.value,n.fragmentMatcher(t,p,a))?[2,this.resolveSelectionSet(l.selectionSet,t,n).then(function(e){u.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(o.mergeDeepArray)(u)})]})})},e.prototype.resolveField=function(e,t,n){return Object(i.__awaiter)(this,void 0,void 0,function(){var r,a,s,u,c,l,p,h,d,f=this;return Object(i.__generator)(this,function(i){return r=n.variables,a=e.name.value,s=Object(o.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(p=t.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[p])&&(d=h[u?a:s])&&(l=Promise.resolve(d(t,Object(o.argumentsObjectFromField)(e,r),n.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?f.resolveSubSelectedArray(e,t,n):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t,n):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0}))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,o=e.onBroadcast,a=void 0===o?function(){}:o,u=e.ssrMode,c=void 0!==u&&u,p=e.clientAwareness,h=void 0===p?{}:p,d=e.localState;this.mutationStore=new _,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=s.a.from([new l,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=a,this.clientAwareness=h,this.localState=d||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,a=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,p=e.awaitRefetchQueries,h=void 0!==p&&p,f=e.update,v=e.errorPolicy,m=void 0===v?"none":v,b=e.fetchPolicy,_=e.context,g=void 0===_?{}:_;return Object(i.__awaiter)(this,void 0,void 0,function(){var e,u,p,v,_,w=this;return Object(i.__generator)(this,function(O){switch(O.label){case 0:return Object(c.b)(t),Object(c.b)(!b||"no-cache"===b),e=this.generateQueryId(),u=this.dataStore.getCache(),t=u.transformDocument(t),n=Object(o.assign)({},Object(o.getDefaultValues)(Object(o.getMutationDefinition)(t)),n),this.setQuery(e,function(){return{document:t}}),p=function(){var e={};return a&&Object.keys(a).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(n){e[n]={updater:a[t],query:w.queryStore.get(n)}})}),e},Object(o.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,n,g)]:[3,2];case 1:return _=O.sent(),[3,3];case 2:_=n,O.label=3;case 3:return v=_,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:p(),update:f,optimisticResponse:r}),this.broadcastQueries(),[2,new Promise(function(n,a){var u,c,_=w.buildOperationForLink(t,v,Object(i.__assign)({},g,{optimisticResponse:r})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],n=0,i=l;n=(n||1)&&(P.queryStore.markQueryError(e,t,r),P.invalidate(!0,e,r),P.broadcastQueries()),new y({networkError:t})}),"cache-and-network"!==p)return[2,A];A.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,n){var r=this,o=!1;return function(a,s,u){return Object(i.__awaiter)(r,void 0,void 0,function(){var r,c,l,p,d,f,v,m,b,_,g,w,O,k,x,E,S,C,T,A;return Object(i.__generator)(this,function(P){switch(P.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(r=this.getQuery(e).observableQuery,"standby"===(c=r?r.options.fetchPolicy:t.fetchPolicy))return[2];if(l=r?r.options.errorPolicy:t.errorPolicy,p=r?r.getLastResult():null,d=r?r.getLastError():null,f=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(p&&a.networkStatus!==p.networkStatus),m=l&&(d&&d.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!h(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||f))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(b=new y({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,n.error)try{n.error(b)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw b},0);return[2]}P.label=1;case 1:if(P.trys.push([1,7,,8]),_=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),_=s.result,g=!s.complete||!1):p&&p.data&&!m?(_=p.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),_=O.result,g=!O.complete),k=void 0,k=g&&"cache-only"!==c?{data:p&&p.data,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:_,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(k.errors=a.graphQLErrors),!n.next)return[3,6];if(!o&&r&&!r.isDifferentFromLastResult(k))return[3,6];P.label=2;case 2:return P.trys.push([2,5,,6]),u?(x=t.query,E=t.variables,S=t.context,[4,this.localState.runResolvers({document:x,remoteResult:k,context:S,variables:E,onlyRunForcedResolvers:u})]):[3,4];case 3:C=P.sent(),k=Object(i.__assign)({},k,C),P.label=4;case 4:return n.next(k),[3,6];case 5:return T=P.sent(),setTimeout(function(){throw T},0),[3,6];case 6:return o=!1,[3,8];case 7:return A=P.sent(),o=!0,n.error&&n.error(new y({networkError:A})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(c.b)("standby"!==e.fetchPolicy);var n=Object(o.getQueryDefinition)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var r=Object(o.getDefaultValues)(n);e.variables=Object(o.assign)({},r,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(i.__assign)({},e);return new m({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(c.b)(e.query),Object(c.b)("Document"===e.query.kind),Object(c.b)(!e.returnPartialData),Object(c.b)(!e.pollInterval),new Promise(function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var n=Object(o.getQueryDefinition)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var i=Object(o.getQueryDefinition)(n.options.query),a=i.name?i.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(n.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,n){t.observableQuery&&e.push(n)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,r=e.query,a=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(r),c=Object(o.assign)({},Object(o.getDefaultValues)(Object(o.getOperationDefinition)(r)),e.variables),l=c,p=[],h=this.localState.clientQuery(u);return new d(function(e){if(p.push(e),1===p.length){var r=0,f=!1,v={next:function(e){return Object(i.__awaiter)(n,void 0,void 0,function(){var t;return Object(i.__generator)(this,function(n){switch(n.label){case 0:return r+=1,t=e,h&&Object(o.hasDirectives)(["client"],h)?[4,this.localState.runResolvers({document:h,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return a&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),p.forEach(function(e){Object(o.graphQLResultHasError)(t)&&e.error?e.error(new y({graphQLErrors:t.errors})):e.next&&e.next(t),r-=1}),0===r&&f&&v.complete(),[2]}})})},error:function(e){p.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===r&&p.forEach(function(e){e.complete&&e.complete()}),f=!0}};Object(i.__awaiter)(n,void 0,void 0,function(){var e,n,r,a;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return Object(o.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return n=i.sent(),[3,3];case 2:n=c,i.label=3;case 3:return e=n,(r=this.localState.serverQuery(u))?(a=this.buildOperationForLink(r,e),t=Object(s.b)(this.link,a).subscribe(v)):t=d.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(p=p.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(c.b)(n),t=n}else t=e;var r=t.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(n,r){n.invalidated&&n.listeners&&n.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(r),n.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach(function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),n},e.prototype.fetchRequest=function(e){var t,n,a=this,u=e.requestId,c=e.queryId,l=e.document,p=e.options,h=e.fetchMoreForQueryId,f=p.variables,v=p.context,m=p.errorPolicy,b=void 0===m?"none":m,_=p.fetchPolicy;return new Promise(function(e,p){var m,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var k=a.buildOperationForLink(O,f,Object(i.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=k.context,m=Object(s.b)(a.deduplicator,k)}else g=a.prepareContext(v),m=d.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+c,p);var x=!1,E=!0,S={next:function(e){return Object(i.__awaiter)(a,void 0,void 0,function(){var r,a;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return E=!0,r=e,a=this.getQuery(c).lastRequestId,u>=(a||1)?w&&Object(o.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:f}).catch(function(t){return E=!1,p(t),e})]:[3,2]:[3,3];case 1:r=i.sent(),i.label=2;case 2:if("no-cache"!==_)try{this.dataStore.markQueryResult(r,l,f,h,"ignore"===b||"all"===b)}catch(e){return E=!1,p(e),[2]}else this.setQuery(c,function(){return{newData:{result:r.data,complete:!0}}});this.queryStore.markQueryResult(c,r,h),this.invalidate(!0,c,h),this.broadcastQueries(),i.label=3;case 3:if(r.errors&&"none"===b)return E=!1,p(new y({graphQLErrors:r.errors})),[2];if("all"===b&&(n=r.errors),h||"no-cache"===_)t=r.data;else try{t=this.dataStore.getCache().read({variables:f,query:l,optimistic:!1})}catch(e){}return E=!1,x&&S.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+c),a.setQuery(c,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),p(e)},complete:function(){E||(a.fetchQueryRejectFns.delete("fetchRequest:"+c),a.setQuery(c,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),e({data:t,errors:n,loading:!1,networkStatus:r.ready,stale:!1})),x=!0}},C=m.subscribe(S);a.setQuery(c,function(e){return{subscriptions:e.subscriptions.concat([C])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+c),e})},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(i.__assign)({},n,t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,function(){return{invalidated:e}}),n&&this.setQuery(n,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(o.getOperationName)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(i.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==r.ready&&t.networkStatus!==r.error},e.prototype.startPollingQuery=function(e,t,n){var r=e.pollInterval;return Object(c.b)(r),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:r,lastPollTimeMs:Date.now()-10,options:Object(i.__assign)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(r)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,f.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),k=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,i){void 0===i&&(i=!1);var a=!Object(o.graphQLResultHasError)(e);i&&Object(o.graphQLResultHasError)(e)&&e.data&&(a=!0),!r&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(o.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(o.graphQLResultHasError)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(r){var i=e.updateQueries[r],a=i.query,s=i.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(o.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(o.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&n.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){n.forEach(function(t){return e.write(t)})});var r=e.update;r&&this.cache.performTransaction(function(t){Object(o.tryFunctionOrLogError)(function(){return r(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),x="2.5.1",E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,i=void 0!==r&&r,a=e.ssrForceFetchDelay,u=void 0===a?0:a,l=e.connectToDevTools,p=e.queryDeduplication,h=void 0===p||p,d=e.defaultOptions,f=e.resolvers,v=e.typeDefs,y=e.fragmentMatcher,m=e.name,b=e.version,_=e.link;if(!_&&f&&(_=s.a.empty()),!_||!n)throw new c.a;var g=new Map,O=new s.a(function(e,t){var n=g.get(e.query);return n||(n=Object(o.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,n),g.set(n,n)),e.query=n,t(e)});this.link=O.concat(_),this.cache=n,this.store=new k(n),this.disableNetworkFetches=i||u>0,this.queryDeduplication=h,this.ssrMode=i,this.defaultOptions=d||{},this.typeDefs=v,u&&setTimeout(function(){return t.disableNetworkFetches=!1},u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=x,m&&(this.clientAwareness.name=m),b&&(this.clientAwareness.version=b),this.localState=new w({cache:n,client:this,resolvers:f,fragmentMatcher:y})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(i.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(i.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(i.__assign)({},this.defaultOptions.query,e)),Object(c.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(i.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(i.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(s.b)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},function(e,t,n){"use strict";var r=n(412),i=n(320),o=n(296),a=n(568),s=n(411),u={test:function(e){return"client"===e.name.value},remove:!0},c=new Map;n.d(t,"a",function(){return d});var l,p=(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=a.graphql,d=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,n=e.cache,a=e.typeDefs,l=e.fragmentMatcher;return n&&t&&n.writeData({data:t}),new(function(i){function d(){return null!==i&&i.apply(this,arguments)||this}return p(d,i),d.prototype.writeDefaults=function(){n&&t&&n.writeData({data:t})},d.prototype.request=function(n,i){if(void 0===i&&(i=function(){return r.a.of({data:{}})}),a){var p=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(s.print)(e)}).map(function(e){return e.trim()}).join("\n")}(a);n.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:p,directives:"directive @client on FIELD"}])}})}if(!Object(o.hasDirectives)(["client"],n.query))return i(n);var d,f="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=c.get(e);if(t)return t;Object(o.checkDocument)(e);var n=Object(o.removeDirectivesFromDocument)([u],e);return c.set(e,n),n}(n.query),y=n.query,m=(d=(Object(o.getMainDefinition)(y)||{}).operation).charAt(0).toUpperCase()+d.slice(1)||"Query",b=function(e,n,r,i,o){void 0===n&&(n={});var a=o.resultKey,s=n[a],u=n[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=f[n.__typename||m];if(l){var p=l[e];if(p)return p(n,r,i,o)}return(c?s:u)||(t||{})[e]};v&&(n.query=v);var _=v&&i?i(n):r.a.of({data:{}});return new r.a(function(e){var t=!1,r=!1;_.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=n.getContext();r=!0,h(b,y,o,u,n.variables,{fragmentMatcher:l}).then(function(n){e.next({data:n,errors:a}),t&&e.complete(),r=!1}).catch(s)},error:e.error.bind(e),complete:function(){r||e.complete(),t=!0}})})},d}(i.a))}},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),p=n(276),h=n.n(p),d=n(265),f=n.n(d),v=["data","error","loading"],y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return function(e){function n(){var e;return i()(this,n),(e=u()(this,l()(n).call(this))).notifyingProps=t,e}return f()(n,e),a()(n,[{key:"notify",value:function(e,t){this.dispatchEvent(new CustomEvent("".concat(e,"-changed"),{bubbles:!0,composed:!0,detail:{value:t}}))}},{key:"update",value:function(e){var t=this;h()(l()(n.prototype),"update",this).call(this,e),this.notifyingProps.forEach(function(n){return e.has(n)&&t.notify(n,t[n])})}}]),n}(e)}(n(421).a,["called","data","error","loading"]);customElements.define("apollo-mutation",y)}])]); -//# sourceMappingURL=7.8e8bb51e4f3ff5f2af85.js.map \ No newline at end of file diff --git a/packages/ui/dist/7.8e8bb51e4f3ff5f2af85.js.LICENSE b/packages/ui/dist/7.8e8bb51e4f3ff5f2af85.js.LICENSE deleted file mode 100644 index bd1531026..000000000 --- a/packages/ui/dist/7.8e8bb51e4f3ff5f2af85.js.LICENSE +++ /dev/null @@ -1,164 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** @license ISC License (c) copyright 2016 original and current authors */ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** -@license -Copyright (c) 2015 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/** @license ISC License (c) copyright 2017 original and current authors */ - -/** - * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** - * @fileoverview - * @suppress {checkPrototypalTypes} - * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt The complete set of authors may be found - * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may - * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by - * Google as part of the polymer project is also subject to an additional IP - * rights grant found at http://polymer.github.io/PATENTS.txt - */ - -/** @license ISC License (c) copyright 2018 original and current authors */ - -/** -@license -Copyright (c) 2014 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/7.8e8bb51e4f3ff5f2af85.js.map b/packages/ui/dist/7.8e8bb51e4f3ff5f2af85.js.map deleted file mode 100644 index fafe2a3e4..000000000 --- a/packages/ui/dist/7.8e8bb51e4f3ff5f2af85.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"7.8e8bb51e4f3ff5f2af85.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/7.9de3db9a9f273aabc1db.js b/packages/ui/dist/7.9de3db9a9f273aabc1db.js deleted file mode 100644 index 85e281870..000000000 --- a/packages/ui/dist/7.9de3db9a9f273aabc1db.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 7.9de3db9a9f273aabc1db.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{374:function(e,t){!function(e){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var n=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(n.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var o=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||o&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||o&&"function"!=typeof window.Event){var r=window.Event;if(window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},r)for(var c in r)window.Event[c]=r[c];window.Event.prototype=r.prototype}if(!window.MouseEvent||o&&"function"!=typeof window.MouseEvent){var a=window.MouseEvent;if(window.MouseEvent=function(e,t){t=t||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),n},a)for(var c in a)window.MouseEvent[c]=a[c];window.MouseEvent.prototype=a.prototype}if(Array.from||(Array.from=function(e){return[].slice.call(e)}),!Object.assign){var i=function(e,t){for(var n,o=Object.getOwnPropertyNames(t),r=0;r\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()}(e)];if(t)for(var n=0;n"+e+"";for(E.body.innerHTML=e,y.bootstrap(E);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=E.body;if(t)for(var r=0;r"+this.innerHTML+""},set:function(e){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");E.body.innerHTML=e;for(var t=this.ownerDocument.createDocumentFragment();E.body.firstChild;)i.call(t,E.body.firstChild);l.call(this.parentNode,t,this)},configurable:!0})};M(y.prototype),T(y.prototype),y.bootstrap=function(e){for(var t,n=h(e,"template"),o=0,r=n.length;o]/g,_=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},F=function(e){return e.replace(C,_)},L=function(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&A[t.localName]?l:function(e){return e.replace(O,_)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}},P=function(e,t){"template"===e.localName&&(e=e.content);for(var n,o="",r=t?t(e):d.get.call(e),c=0,a=r.length;c can only be templatized once");e.__templatizeOwner=t;var r=(t?t.constructor:I)._parseTemplate(e),i=r.templatizeInstanceClass;i||(i=R(e,r,n),r.templatizeInstanceClass=i),M(e,r,n);var o=function(e){function t(){return m()(this,t),s()(this,p()(t).apply(this,arguments))}return v()(t,e),t}(i);return o.prototype._methodHost=j(e),o.prototype.__dataHost=e,o.prototype.__templatizeOwner=t,o.prototype.__hostProps=r.hostProps,o=o}function q(e,t){for(var n;t;)if(n=t.__templatizeInstance){if(n.__dataHost==e)return n;t=n.__dataHost}else t=Object(S.a)(t).parentNode;return null}var B=n(471),V=function(e){function t(){var e;if(m()(this,t),e=s()(this,p()(t).call(this)),E.f)throw new Error("strictTemplatePolicy: dom-bind not allowed");return e.root=null,e.$=null,e.__children=null,e}return v()(t,e),o()(t,null,[{key:"observedAttributes",get:function(){return["mutable-data"]}}]),o()(t,[{key:"attributeChangedCallback",value:function(){this.mutableData=!0}},{key:"connectedCallback",value:function(){this.style.display="none",this.render()}},{key:"disconnectedCallback",value:function(){this.__removeChildren()}},{key:"__insertChildren",value:function(){Object(S.a)(Object(S.a)(this).parentNode).insertBefore(this.root,this)}},{key:"__removeChildren",value:function(){if(this.__children)for(var e=0;e child");n.disconnect(),t.render()});return void n.observe(this,{childList:!0})}this.root=this._stampTemplate(e),this.$=this.root.$,this.__children=[];for(var r=this.root.firstChild;r;r=r.nextSibling)this.__children[this.__children.length]=r;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}}]),t}(Object(B.a)(x(Object(b.a)(HTMLElement))));customElements.define("dom-bind",V);var z=n(379),Q=n(309),U=n(354),H=n(376),K=n(329),$=function(e){function t(){var e;return m()(this,t),(e=s()(this,p()(t).call(this))).__instances=[],e.__limit=1/0,e.__pool=[],e.__renderDebouncer=null,e.__itemsIdxToInstIdx={},e.__chunkCount=null,e.__lastChunkTime=null,e.__sortFn=null,e.__filterFn=null,e.__observePaths=null,e.__ctor=null,e.__isDetached=!0,e.template=null,e}return v()(t,e),o()(t,null,[{key:"is",get:function(){return"dom-repeat"}},{key:"template",get:function(){return null}},{key:"properties",get:function(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!0,readOnly:!0},initialCount:{type:Number,observer:"__initializeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"}}}},{key:"observers",get:function(){return["__itemsChanged(items.*)"]}}]),o()(t,[{key:"disconnectedCallback",value:function(){d()(p()(t.prototype),"disconnectedCallback",this).call(this),this.__isDetached=!0;for(var e=0;e child");n.disconnect(),e.__render()});return n.observe(this,{childList:!0}),!1}var r={};r[this.as]=!0,r[this.indexAs]=!0,r[this.itemsIndexAs]=!0,this.__ctor=L(t,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:r,forwardHostProp:function(e,t){for(var n,r=this.__instances,i=0;i1&&void 0!==arguments[1]?arguments[1]:0;this.__renderDebouncer=Q.a.debounce(this.__renderDebouncer,t>0?K.b.after(t):K.a,e.bind(this)),Object(U.a)(this.__renderDebouncer)}},{key:"render",value:function(){this.__debounceRender(this.__render),Object(U.b)()}},{key:"__render",value:function(){this.__ensureTemplatized()&&(this.__applyFullRefresh(),this.__pool.length=0,this._setRenderedItemCount(this.__instances.length),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this.__tryRenderChunk())}},{key:"__applyFullRefresh",value:function(){for(var e=this,t=this.items||[],n=new Array(t.length),r=0;r=o;l--)this.__detachAndRemoveInstance(l)}},{key:"__detachInstance",value:function(e){for(var t=this.__instances[e],n=Object(S.a)(t.root),r=0;r child");r.disconnect(),e.__render()});return r.observe(this,{childList:!0}),!1}this.__ctor=L(n,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[Object(H.g)(e)]=!0))}})}if(this.__instance){this.__syncHostProperties();var i=this.__instance.children;if(i&&i.length)if(Object(S.a)(this).previousSibling!==i[i.length-1])for(var o,a=0;a=i.index+i.removed.length?n.set(t,e+i.addedCount-i.removed.length):n.set(t,-1))});for(var o=0;o=0&&e.linkPaths("".concat(JSCompiler_renameProperty("items",e),".").concat(n),"".concat(JSCompiler_renameProperty("selected",e),".").concat(t++))})}else this.__selectedMap.forEach(function(t){e.linkPaths(JSCompiler_renameProperty("selected",e),"".concat(JSCompiler_renameProperty("items",e),".").concat(t)),e.linkPaths(JSCompiler_renameProperty("selectedItem",e),"".concat(JSCompiler_renameProperty("items",e),".").concat(t))})}},{key:"clearSelection",value:function(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}},{key:"isSelected",value:function(e){return this.__selectedMap.has(e)}},{key:"isIndexSelected",value:function(e){return this.isSelected(this.items[e])}},{key:"__deselectChangedIdx",value:function(e){var t=this,n=this.__selectedIndexForItemIndex(e);if(n>=0){var r=0;this.__selectedMap.forEach(function(e,i){n==r++&&t.deselect(i)})}}},{key:"__selectedIndexForItemIndex",value:function(e){var t=this.__dataLinkedPaths["".concat(JSCompiler_renameProperty("items",this),".").concat(e)];if(t)return parseInt(t.slice("".concat(JSCompiler_renameProperty("selected",this),".").length),10)}},{key:"deselect",value:function(e){var t,n=this.__selectedMap.get(e);n>=0&&(this.__selectedMap.delete(e),this.multi&&(t=this.__selectedIndexForItemIndex(n)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),t,1):this.selected=this.selectedItem=null)}},{key:"deselectIndex",value:function(e){this.deselect(this.items[e])}},{key:"select",value:function(e){this.selectIndex(this.items.indexOf(e))}},{key:"selectIndex",value:function(e){var t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),t):this.selected=this.selectedItem=t)}}]),t}(Object(G.a)(e))})(z.a));customElements.define(W.is,W);var X=n(372),Z=n.n(X),ee=n(427),te=n(374),ne=n(308),re=new ee.a;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(e,t,n){},prepareTemplateDom:function(e,t){},prepareTemplateStyles:function(e,t,n){},styleSubtree:function(e,t){re.processStyles(),Object(te.c)(e,t)},styleElement:function(e){re.processStyles()},styleDocument:function(e){re.processStyles(),Object(te.c)(document.body,e)},getComputedStyleValue:function(e,t){return Object(te.b)(e,t)},flushCustomStyles:function(){},nativeCss:ne.c,nativeShadow:ne.d,cssBuild:ne.a,disableRuntime:ne.b}),window.ShadyCSS.CustomStyleInterface=re;var ie=n(468),oe=window.ShadyCSS.CustomStyleInterface,ae=function(e){function t(){var e;return m()(this,t),(e=s()(this,p()(t).call(this)))._style=null,oe.addCustomStyle(c()(e)),e}return v()(t,e),o()(t,[{key:"getStyle",value:function(){if(this._style)return this._style;var e=this.querySelector("style");if(!e)return null;this._style=e;var t=e.getAttribute("include");return t&&(e.removeAttribute("include"),e.textContent=Object(ie.a)(t)+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}]),t}(Z()(HTMLElement));window.customElements.define("custom-style",ae),k._mutablePropertyChange;Boolean;var se=n(271);n.d(t,"a",function(){return ue}),n.d(t,"b",function(){return se.a});var ue=Object(r.a)(HTMLElement).prototype},,function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},,function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(275),function(){function e(t){i()(this,e),this.value=t.toString()}return a()(e,[{key:"toString",value:function(){return this.value}}]),e}());function u(e){if(e instanceof s)return e.value;throw new Error("non-literal value passed to Polymer's htmlLiteral function: ".concat(e))}var c=function(e){for(var t=document.createElement("template"),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i=0;t--){var r=e[t];for(var i in r)this._ensureAttribute(i,r[i])}h()(l()(n.prototype),"_ensureAttributes",this).call(this)}},{key:"ready",value:function(){h()(l()(n.prototype),"ready",this).call(this);var e=o.ready;if(e)for(var t=0;t=0;i--){var o=t[i];o?Array.isArray(o)?e(o,n):n.indexOf(o)<0&&(!r||r.indexOf(o)<0)&&n.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return n}(n,null,c),s.prototype.behaviors=c?c.concat(n):r}var p=function(t){r&&function(e,t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}},w={},O={},k=n(295),x=n.n(k),E="{{lit-".concat(String(Math.random()).slice(2),"}}"),S="\x3c!--".concat(E,"--\x3e"),C=new RegExp("".concat(E,"|").concat(S)),T=function e(t,n){var r=this;i()(this,e),this.parts=[],this.element=n;var o=-1,a=0,s=[];!function e(n){for(var i=n.content,u=document.createTreeWalker(i,133,null,!1),c=0;u.nextNode();){o++;var l=u.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var p=l.attributes,h=0,d=0;d=0&&h++;for(;h-- >0;){var f=t.strings[a],v=I.exec(f)[2],y=v.toLowerCase()+"$lit$",m=l.getAttribute(y).split(C);r.parts.push({type:"attribute",index:o,name:v,strings:m}),l.removeAttribute(y),a+=m.length-1}}"TEMPLATE"===l.tagName&&e(l)}else if(3===l.nodeType){var b=l.data;if(b.indexOf(E)>=0){for(var _=l.parentNode,g=b.split(C),w=g.length-1,O=0;O=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,N=function(){function e(t,n,r){i()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return a()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var p,h=this._parts[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var d=p.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=_?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,i=0;return function t(o){for(var a=document.createTreeWalker(o,133,null,!1),s=a.nextNode();r0&&void 0!==arguments[0]?arguments[0]:this.startNode;g(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),L=function(){function e(t,n,r){if(i()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=w}}}]),e}(),q=function(e){function t(e,n,r){var o;return i()(this,t),(o=u()(this,l()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return f()(t,e),a()(t,[{key:"_createPart",value:function(){return new B(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:h()(l()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(M),B=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return f()(t,e),t}(F),V=!1;try{var z={get capture(){return V=!0,!1}};window.addEventListener("test",z,z),window.removeEventListener("test",z,z)}catch(e){}var Q=function(){function e(t,n,r){var o=this;i()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return o.handleEvent(e)}}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=U(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=w}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),U=function(e){return e&&(V?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},H=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new q(e,t.slice(1),n).parts:"@"===i?[new Q(e,t.slice(1),r.eventContext)]:"?"===i?[new L(e,t.slice(1),n)]:new M(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new D(e)}}]),e}());function K(e){var t=$.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},$.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(E);return void 0===(n=t.keyString.get(r))&&(n=new T(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var $=new Map,Y=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var J=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,G,null,!1),a=Z(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=X(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=Z(i,a);return}a=Z(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),W(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},ae=n(372),se=n.n(ae);window.JSCompiler_renameProperty=function(e,t){return e};var ue={toAttribute:function(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},ce=function(e,t){return t!==e&&(t==t||e==e)},le={attribute:!0,type:String,converter:ue,reflect:!1,hasChanged:ce},pe=Promise.resolve(!0),he=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=pe,e._hasConnectedResolver=void 0,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return f()(t,e),a()(t,[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var e=this;this.constructor._classProperties.forEach(function(t,n){if(e.hasOwnProperty(n)){var r=e[n];delete e[n],e._instanceProperties||(e._instanceProperties=new Map),e._instanceProperties.set(n,r)}})}},{key:"_applyInstanceProperties",value:function(){var e=this;this._instanceProperties.forEach(function(t,n){return e[n]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r)||le;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(e,t){var n=!0;if(void 0!==e){var r=this.constructor,i=r._classProperties.get(e)||le;r._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):n=!1}!this._hasRequestedUpdate&&n&&this._enqueueUpdate()}},{key:"requestUpdate",value:function(e,t){return this._requestUpdate(e,t),this.updateComplete}},{key:"_enqueueUpdate",value:function(){return new Promise(function(e,t){var n,r,i,o,a;n=this,this._updateState=4|this._updateState,o=this._updatePromise,this._updatePromise=new Promise(function(e,t){r=e,i=t});var s=function(){try{if(!this._hasConnected)return Promise.resolve(new Promise(function(e){return n._hasConnectedResolver=e})).then(function(e){try{return o.call(this)}catch(e){return t(e)}}.bind(this),t);function o(){var n=function(){try{return r(!this._hasRequestedUpdate),e()}catch(e){return t(e)}}.bind(this),o=function(e){try{return i(e),n()}catch(e){return t(e)}};try{if(null!=(a=this.performUpdate()))return Promise.resolve(a).then(function(e){try{return s.call(this)}catch(e){return o(e)}}.bind(this),o);function s(){return n()}return s.call(this)}catch(e){o(e)}}return o.call(this)}catch(e){return t(e)}}.bind(this),u=function(e){try{return s()}catch(e){return t(e)}};try{return Promise.resolve(o).then(function(e){try{return s()}catch(e){return u()}},u)}catch(e){u()}}.bind(this))}},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(function(e,n){return t._propertyToAttribute(n,t[n],e)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,n){return e._classProperties.set(n,t)})}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===y()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[n]},set:function(t){var r=this[e];this[n]=t,this._requestUpdate(e,r)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[].concat(x()(Object.getOwnPropertyNames(t)),x()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||ue,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ue.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach(function(n,r){var i=e._attributeNameForProperty(r,n);void 0!==i&&(e._attributeToPropertyMap.set(i,r),t.push(i))}),t}}]),t}(se()(HTMLElement));he.finalized=!0;var de="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fe=Symbol(),ve=function(){function e(t,n){if(i()(this,e),n!==fe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return a()(e,[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(de?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}]),e}(),ye=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:[],r=0,i=t.length;r1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function p(e,t){if("object"===("undefined"==typeof Reflect?"undefined":i()(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function g(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function x(e){return e&&e.__esModule?e:{default:e}}},,function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(275);var r=0;function i(){}i.prototype.__mixinApplications,i.prototype.__mixinSet;var o=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var n=r++;function i(r){var i=r.__mixinSet;if(i&&i[n])return r;var o=t,a=o.get(r);a||(a=e(r),o.set(r,a));var s=Object.create(a.__mixinSet||i||null);return s[n]=!0,a.__mixinSet=s,a}return i}},,,,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"getDirectiveInfoFromField",function(){return x}),n.d(t,"shouldInclude",function(){return E}),n.d(t,"getDirectiveNames",function(){return S}),n.d(t,"hasDirectives",function(){return C}),n.d(t,"hasClientExports",function(){return T}),n.d(t,"getFragmentQueryDocument",function(){return A}),n.d(t,"getMutationDefinition",function(){return I}),n.d(t,"checkDocument",function(){return N}),n.d(t,"getOperationDefinition",function(){return j}),n.d(t,"getOperationDefinitionOrDie",function(){return R}),n.d(t,"getOperationName",function(){return M}),n.d(t,"getFragmentDefinitions",function(){return F}),n.d(t,"getQueryDefinition",function(){return D}),n.d(t,"getFragmentDefinition",function(){return L}),n.d(t,"getMainDefinition",function(){return q}),n.d(t,"createFragmentMap",function(){return B}),n.d(t,"getDefaultValues",function(){return V}),n.d(t,"variablesInOperation",function(){return z}),n.d(t,"removeDirectivesFromDocument",function(){return $}),n.d(t,"addTypenameToDocument",function(){return Y}),n.d(t,"removeConnectionDirectiveFromDocument",function(){return G}),n.d(t,"getDirectivesFromDocument",function(){return Z}),n.d(t,"removeArgumentsFromDocument",function(){return ee}),n.d(t,"removeFragmentSpreadFromDocument",function(){return te}),n.d(t,"buildQueryFromSelectionSet",function(){return ne}),n.d(t,"removeClientSetsFromDocument",function(){return re}),n.d(t,"isScalarValue",function(){return c}),n.d(t,"isNumberValue",function(){return l}),n.d(t,"valueToObjectRepresentation",function(){return p}),n.d(t,"storeKeyNameFromField",function(){return h}),n.d(t,"getStoreKeyName",function(){return f}),n.d(t,"argumentsObjectFromField",function(){return v}),n.d(t,"resultKeyNameFromField",function(){return y}),n.d(t,"isField",function(){return m}),n.d(t,"isInlineFragment",function(){return b}),n.d(t,"isIdValue",function(){return _}),n.d(t,"toIdValue",function(){return g}),n.d(t,"isJsonValue",function(){return w}),n.d(t,"valueFromNode",function(){return k}),n.d(t,"assign",function(){return P}),n.d(t,"cloneDeep",function(){return oe}),n.d(t,"getEnv",function(){return ae}),n.d(t,"isEnv",function(){return se}),n.d(t,"isProduction",function(){return ue}),n.d(t,"isDevelopment",function(){return ce}),n.d(t,"isTest",function(){return le}),n.d(t,"tryFunctionOrLogError",function(){return pe}),n.d(t,"graphQLResultHasError",function(){return he}),n.d(t,"isEqual",function(){return de}),n.d(t,"maybeDeepFreeze",function(){return fe}),n.d(t,"mergeDeep",function(){return ye}),n.d(t,"mergeDeepArray",function(){return me}),n.d(t,"warnOnceInDevelopment",function(){return Oe}),n.d(t,"stripSymbols",function(){return ke});var r=n(281),i=n.n(r),o=n(410),a=n(409),s=n(289),u=n(569);function c(e){return["StringValue","BooleanValue","EnumValue"].indexOf(e.kind)>-1}function l(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function p(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map(function(e){return p(i,e.name,e.value,r)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return p(n,t,e,r),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new a.a;e[t.value]=null}}function h(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return p(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return p(r,n,i,t)})),f(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export"];function f(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,o={};return r.forEach(function(e){o[e]=i[e]}),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var s=Object(u.default)(t);a+="("+s+")"}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)}),a}function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,i=e.value;return p(n,r,i,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function g(e,t){return void 0===t&&(t=!1),Object(s.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function w(e){return null!=e&&"object"===i()(e)&&"json"===e.type}function O(e){throw new a.a}function k(e,t){switch(void 0===t&&(t=O),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return k(e,t)});case"ObjectValue":for(var n={},r=0,i=e.fields;r-1})}function T(e){return e&&C(["client"],e)&&C(["export"],e)}function A(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new a.a;"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&(Object(a.b)(1===r.length),n=r[0].name.value),Object(s.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}].concat(e.definitions)})}function P(e){for(var t=[],n=1;n1){var r=[];t=ge(t,r);for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(b.b)(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),C=function(){function e(t,n,r){if(h()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return f()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;Object(m.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=_.a,e(this)}if(this._pendingValue!==_.a){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=_.a}}}]),e}(),T=function(e){function t(e,n,r){var o;return h()(this,t),(o=i()(this,a()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return l()(t,e),f()(t,[{key:"_createPart",value:function(){return new A(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:u()(a()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(x),A=function(e){function t(){return h()(this,t),i()(this,a()(t).apply(this,arguments))}return l()(t,e),t}(E),P=!1;try{var I={get capture(){return P=!0,!1}};window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){}var N=function(){function e(t,n,r){var i=this;h()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return i.handleEvent(e)}}return f()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;Object(m.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=_.a,e(this)}if(this._pendingValue!==_.a){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=j(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=_.a}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),j=function(e){return e&&(P?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)}},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(298),u=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new s.e(e,t.slice(1),n).parts:"@"===i?[new s.c(e,t.slice(1),r.eventContext)]:"?"===i?[new s.b(e,t.slice(1),n)]:new s.a(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new s.d(e)}}]),e}()),c=n(342);n(381),n(318),n(382),n(384),n(359),n(383),n(304);n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c.b}),(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var l=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0&&m++;for(;m-- >0;){var _=t.strings[c],g=h.exec(_)[2],w=g.toLowerCase()+u,O=v.getAttribute(w).split(s);r.parts.push({type:"attribute",index:a,name:g,strings:O}),v.removeAttribute(w),c+=O.length-1}}"TEMPLATE"===v.tagName&&e(v)}else if(3===v.nodeType){var k=v.data;if(k.indexOf(o)>=0){for(var x=v.parentNode,E=k.split(s),S=E.length-1,C=0;C=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(275),n(291),n(329),function(){function e(){i()(this,e),this._asyncModule=null,this._callback=null,this._timer=null}return a()(e,[{key:"setConfig",value:function(e,t){var n=this;this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(function(){n._timer=null,u.delete(n),n._callback()})}},{key:"cancel",value:function(){this.isActive()&&(this._cancelAsync(),u.delete(this))}},{key:"_cancelAsync",value:function(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}},{key:"flush",value:function(){this.isActive()&&(this.cancel(),this._callback())}},{key:"isActive",value:function(){return null!=this._timer}}],[{key:"debounce",value:function(t,n,r){return t instanceof e?t._cancelAsync():t=new e,t.setConfig(n,r),t}}]),e}()),u=new Set,c=function(e){u.add(e)},l=function(){var e=Boolean(u.size);return u.forEach(function(e){try{e.flush()}catch(e){setTimeout(function(){throw e})}}),e}},function(e,t){e.exports=function(e){return"string"==typeof e}},,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return v});n(267);var r={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"},i={8:"backspace",9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"},o={shift:"shiftKey",ctrl:"ctrlKey",alt:"altKey",meta:"metaKey"},a=/[a-z0-9*]/,s=/U\+/,u=/^arrow/,c=/^space(bar)?/,l=/^escape$/;function p(e,t){var n="";if(e){var r=e.toLowerCase();" "===r||c.test(r)?n="space":l.test(r)?n="esc":1==r.length?t&&!a.test(r)||(n=r):n=u.test(r)?r.replace("arrow",""):"multiply"==r?"*":r}return n}function h(e,t){return e.key?p(e.key,t):e.detail&&e.detail.key?p(e.detail.key,t):(n=e.keyIdentifier,o="",n&&(n in r?o=r[n]:s.test(n)?(n=parseInt(n.replace("U+","0x"),16),o=String.fromCharCode(n).toLowerCase()):o=n.toLowerCase()),o||function(e){var t="";return Number(e)&&(t=e>=65&&e<=90?String.fromCharCode(32+e):e>=112&&e<=123?"f"+(e-112+1):e>=48&&e<=57?String(e-48):e>=96&&e<=105?String(e-96):i[e]),t}(e.keyCode)||"");var n,o}function d(e,t){return h(t,e.hasModifiers)===e.key&&(!e.hasModifiers||!!t.shiftKey==!!e.shiftKey&&!!t.ctrlKey==!!e.ctrlKey&&!!t.altKey==!!e.altKey&&!!t.metaKey==!!e.metaKey)}function f(e){return e.trim().split(" ").map(function(e){return function(e){return 1===e.length?{combo:e,key:e,event:"keydown"}:e.split("+").reduce(function(e,t){var n=t.split(":"),r=n[0],i=n[1];return r in o?(e[o[r]]=!0,e.hasModifiers=!0):(e.key=r,e.event=i||"keydown"),e},{combo:e.split(":").shift()})}(e)})}var v={properties:{keyEventTarget:{type:Object,value:function(){return this}},stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(e,t){this._imperativeKeyBindings[e]=t,this._prepKeyBindings(),this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={},this._prepKeyBindings(),this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(e,t){for(var n=f(t),r=0;r2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t;i!==n;){var o=i.nextSibling;e.insertBefore(i,r),i=o}},o=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}}},,function(e,t,n){"use strict";var r=n(412),i=n(289),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(n){void 0===n&&(n=o);var r=e.call(this,"number"==typeof n?o+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=o,s(r,t.prototype),r}return Object(i.__extends)(t,e),t}(Error);function c(e,t){if(!e)throw new u(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=0){if(!o[t])throw new Error("invalid async handle: "+e);o[t]=null}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});n(267),n(278);var r={properties:{focused:{type:Boolean,value:!1,notify:!0,readOnly:!0,reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:"_disabledChanged",reflectToAttribute:!0},_oldTabIndex:{type:String},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},observers:["_changedControlState(focused, disabled)"],ready:function(){this.addEventListener("focus",this._boundFocusBlurHandler,!0),this.addEventListener("blur",this._boundFocusBlurHandler,!0)},_focusBlurHandler:function(e){this._setFocused("focus"===e.type)},_disabledChanged:function(e,t){this.setAttribute("aria-disabled",e?"true":"false"),this.style.pointerEvents=e?"none":"",e?(this._oldTabIndex=this.getAttribute("tabindex"),this._setFocused(!1),this.tabIndex=-1,this.blur()):void 0!==this._oldTabIndex&&(null===this._oldTabIndex?this.removeAttribute("tabindex"):this.setAttribute("tabindex",this._oldTabIndex))},_changedControlState:function(){this._controlStateChanged&&this._controlStateChanged()}}},function(e,t,n){var r=n(280);e.exports=function(e,t){return r(t[e])||r(t["@@implements"])&&!!t["@@implements"](e)}},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(415),n(271));function a(){var e=i()(['\n\n \n'],['\n\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),p=n(265),h=n.n(p),d=n(276),f=n.n(d),v=n(300),y=n(318),m=n(304),b=133;function _(e,t){for(var n=e.element.content,r=e.parts,i=document.createTreeWalker(n,b,null,!1),o=w(r),a=r[o],s=-1,u=0,c=[],l=null;i.nextNode();){s++;var p=i.currentNode;for(p.previousSibling===l&&(l=null),t.has(p)&&(c.push(p),null===l&&(l=p)),null!==l&&u++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-u,a=r[o=w(r,o)]}c.forEach(function(e){return e.parentNode.removeChild(e)})}var g=function(e){for(var t=11===e.nodeType?0:1,n=document.createTreeWalker(e,b,null,!1);n.nextNode();)t++;return t},w=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,b,null,!1),a=w(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=g(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=w(i,a);return}a=w(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var u=new Set;u.add(i),_(t,u)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},N=n(295),j=n.n(N),R=n(281),M=n.n(R),F=n(618),D=n.n(F),L=n(372),q=n.n(L),B=function(e){return null!==e},V=function(e){return e?"":null},z=function(e,t){return t!==e&&(t==t||e==e)},Q={attribute:!0,type:String,reflect:!1,hasChanged:z},U=new Promise(function(e){return e(!0)}),H=function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=U,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return h()(t,e),a()(t,[{key:"initialize",value:function(){this.renderRoot=this.createRenderRoot(),this._saveInstanceProperties()}},{key:"_saveInstanceProperties",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this.constructor._classProperties[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=D()(r.value,1)[0];if(this.hasOwnProperty(o)){var a=this[o];delete this[o],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(o,a)}}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}}},{key:"_applyInstanceProperties",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this._instanceProperties[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=D()(r.value,2),a=o[0],s=o[1];this[a]=s}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}this._instanceProperties=void 0}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"connectedCallback",value:function(){1&this._updateState?void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this):this.requestUpdate()}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q,r=this.constructor,i=r._propertyValueToAttribute(t,n);if(void 0!==i){var o=r._attributeNameForProperty(e,n);void 0!==o&&(this._updateState=8|this._updateState,null===i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState)}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r);this[r]=n._propertyValueFromAttribute(t,i)}}}},{key:"requestUpdate",value:function(e,t){if(void 0!==e){var n=this.constructor._classProperties.get(e)||Q;return this._requestPropertyUpdate(e,t,n)}return this._invalidate()}},{key:"_requestPropertyUpdate",value:function(e,t,n){return this.constructor._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0===n.reflect&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n)),this._invalidate()):this.updateComplete}},{key:"_invalidate",value:function(){return new Promise(function(e,t){var n,r;if(!this._hasRequestedUpdate)return this._updateState=4|this._updateState,r=this._updatePromise,this._updatePromise=new Promise(function(e){return n=e}),Promise.resolve(r).then(function(e){try{return this._validate(),n(!this._hasRequestedUpdate),i.call(this)}catch(e){return t(e)}}.bind(this),t);function i(){return e(this.updateComplete)}return i.call(this)}.bind(this))}},{key:"_validate",value:function(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){if(void 0!==this._reflectingProperties&&this._reflectingProperties.size>0){var t=!0,n=!1,r=void 0;try{for(var i,o=this._reflectingProperties[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=D()(i.value,2),s=a[0],u=a[1];this._propertyToAttribute(s,this[s],u)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}this._reflectingProperties=void 0}}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"createProperty",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q;if(!this.hasOwnProperty("_classProperties")){this._classProperties=new Map;var r=Object.getPrototypeOf(this)._classProperties;void 0!==r&&r.forEach(function(e,n){return t._classProperties.set(n,e)})}if(this._classProperties.set(e,n),!this.prototype.hasOwnProperty(e)){var i="symbol"===M()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[i]},set:function(t){var r=this[e];this[i]=t,this._requestPropertyUpdate(e,r,n)},configurable:!0,enumerable:!0})}}},{key:"_finalize",value:function(){if(!this.hasOwnProperty("_finalized")||!this._finalized){var e=Object.getPrototypeOf(this);"function"==typeof e._finalize&&e._finalize(),this._finalized=!0,this._attributeToPropertyMap=new Map;var t=this.properties,n=[].concat(j()(Object.getOwnPropertyNames(t)),j()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,t[u])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=void 0!==t&&t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:z)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t&&t.type;if(void 0===n)return e;var r=n===Boolean?B:"function"==typeof n?n:n.fromAttribute;return r?r(e):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t&&void 0!==t.reflect)return(t.type===Boolean?V:t.type&&t.type.toAttribute||String)(e)}},{key:"observedAttributes",get:function(){this._finalize();var e=[],t=!0,n=!1,r=void 0;try{for(var i,o=this._classProperties[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=D()(i.value,2),s=a[0],u=a[1],c=this._attributeNameForProperty(s,u);void 0!==c&&(this._attributeToPropertyMap.set(c,s),e.push(c))}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e}}]),t}(q()(HTMLElement));H._attributeToPropertyMap=new Map,H._finalized=!0,H._classProperties=new Map,H.properties={};K(function(e,t){return e.querySelector(t)}),K(function(e,t){return e.querySelectorAll(t)});function K(e){return function(t){return function(n,r){Object.defineProperty(n,r,{get:function(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0})}}}var $=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,[{key:"update",value:function(e){f()(l()(t.prototype),"update",this).call(this,e);var n=this.render();n instanceof v.a&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this})}},{key:"render",value:function(){}}]),t}(H);$.render=function(e,t,n){var r=n.scopeName,i=O.a.has(t),o=t instanceof ShadowRoot&&C&&e instanceof E.b,a=o&&!P.has(r),s=a?document.createDocumentFragment():t;if(Object(O.b)(e,s,Object.assign({templateFactory:T(r)},n)),a){var u=O.a.get(s);O.a.delete(s),u.value instanceof x.a&&I(s,u.value.template,r),Object(y.b)(t,t.firstChild),t.appendChild(s),O.a.set(t,u)}!i&&o&&window.ShadyCSS.styleElement(t.host)};var Y=n(385);n.d(t,"a",function(){return J});var J=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"properties",get:function(){return{client:{type:Object},data:{type:Object},error:{type:Object},loading:{type:Boolean}}}}]),t}(Object(Y.a)($))},,,,,,function(e,t,n){var r=n(356);e.exports=function(e){return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},function(e,t,n){var r=n(287),i=n(280),o=n(479);e.exports=r(function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n})},function(e,t,n){"use strict";n.d(t,"b",function(){return m}),n.d(t,"a",function(){return b});var r=n(264),i=n.n(r),o=n(263),a=n.n(o),s=n(276),u=n.n(s),c=n(265),l=n.n(c),p=n(261),h=n.n(p),d=n(262),f=n.n(d),v=n(318),y=n(304),m=function(){function e(t,n,r,i){h()(this,e),this.strings=t,this.values=n,this.type=r,this.processor=i}return f()(e,[{key:"getHTML",value:function(){for(var e=this.strings.length-1,t="",n=0;n".concat(u()(a()(t.prototype),"getHTML",this).call(this),"")}},{key:"getTemplateElement",value:function(){var e=u()(a()(t.prototype),"getTemplateElement",this).call(this),n=e.content,r=n.firstChild;return n.removeChild(r),Object(v.c)(n,r.firstChild),e}}]),t}(m)},function(e,t,n){"use strict";var r,i=n(261),o=n.n(i),a=n(262),s=n.n(a),u=n(264),c=n.n(u),l=n(263),p=n.n(l),h=n(265),d=n.n(h),f=n(327),v=n.n(f),y=n(276),m=n.n(y),b=n(385),_=n(603),g=n.n(_),w=n(604),O=n.n(w),k=n(605),x=n.n(k),E=n(606),S=n.n(E),C=n(607),T=n.n(C),A=n(608),P=n.n(A),I=n(483),N=n.n(I),j=n(478),R=n.n(j),M=n(609),F=n.n(M),D=n(484),L=n.n(D),q=n(613),B=n.n(q),V=n(476),z=n.n(V),Q=n(614),U=n.n(Q),H=n(615),K=n.n(H),$=n(617),Y=n.n($),J=x()(S.a),G=B()(["type","kind"],"NonNullType"),W=U()(void 0,["variable","name","value"]),X=z()(null,"query"),Z=function(e){return L()("definitions",X(e)).map(R()(L()("variableDefinitions"))).chain(T.a).chain(P.a).map(R()(N()(G,W,K.a))).map(O()(P.a)).map(R()(J(z()(null,"variables",e)))).map(F()(g.a)).map(Y.a).option(!1)},ee=n(334),te=function(e){function t(){return o()(this,t),c()(this,p()(t).apply(this,arguments))}return d()(t,e),s()(t,[{key:"shouldUpdate",value:function(){return!!this.data||!!this.error||null!=this.loading}}],[{key:"properties",get:function(){return{networkStatus:{type:Number}}}}]),t}((r=ee.a,function(e){function t(){var e;return o()(this,t),(e=c()(this,p()(t).call(this))).nextData=e.nextData.bind(v()(e)),e.nextError=e.nextError.bind(v()(e)),e.errorPolicy="none",e.fetchPolicy="cache-first",e.fetchResults=void 0,e.pollInterval=void 0,e.notifyOnNetworkStatusChange=void 0,e.variables=void 0,e.query=void 0,e.tryFetch=void 0,e.observableQuery,e}return d()(t,e),s()(t,[{key:"query",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Query must be a gql-parsed DocumentNode")}!this.noAutoSubscribe&&e&&this.subscribe({query:e,variables:this.variables})}},{key:"variables",get:function(){return this.__variables},set:function(e){this.__variables=e;var t=this.__query;this.observableQuery?this.setVariables(e):this.subscribe({query:t,variables:e})}},{key:"options",get:function(){return this.__options},set:function(e){this.__options=e,this.observableQuery&&this.observableQuery.setOptions(e)}}]),s()(t,[{key:"connectedCallback",value:function(){m()(p()(t.prototype),"connectedCallback",this)&&m()(p()(t.prototype),"connectedCallback",this).call(this),this.query&&this.subscribe()}},{key:"setVariables",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tryFetch,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.fetchResults;return this.observableQuery&&this.observableQuery.setVariables(e,t,n)}},{key:"subscribe",value:function(){var e=arguments;return new Promise(function(t,n){var r=e.length>0&&void 0!==e[0]?e[0]:{},i=r.query,o=void 0===i?this.query:i,a=r.variables,s=void 0===a?this.variables:a;return Z({query:o,variables:s})?(this.observableQuery=this.watchQuery({query:o,variables:s}),t(this.observableQuery.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}},{key:"subscribeToMore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.document,n=e.updateQuery;return this.observableQuery&&this.observableQuery.subscribeToMore({document:t,updateQuery:n})}},{key:"executeQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.metadata,n=e.context,r=e.query,i=void 0===r?this.query:r,o=e.variables,a=void 0===o?this.variables:o,s=e.fetchPolicy,u=void 0===s?this.fetchPolicy:s,c=e.errorPolicy,l=void 0===c?this.errorPolicy:c,p=e.fetchResults,h=void 0===p?this.fetchResults:p,d=this.client.query({context:n,errorPolicy:l,fetchPolicy:u,fetchResults:h,metadata:t,query:i,variables:a}).catch(this.nextError.bind(this));return d.then(this.nextData.bind(this)),d}},{key:"fetchMore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.query,n=void 0===t?this.query:t,r=e.updateQuery,i=e.variables;return this.observableQuery&&this.observableQuery.fetchMore({query:n,updateQuery:r,variables:i})}},{key:"watchQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.context,n=void 0===t?this.context:t,r=e.errorPolicy,i=void 0===r?this.errorPolicy:r,o=e.fetchPolicy,a=void 0===o?this.fetchPolicy:o,s=e.fetchResults,u=void 0===s?this.fetchResults:s,c=e.metadata,l=void 0===c?this.metadata:c,p=e.notifyOnNetworkStatusChange,h=void 0===p?this.notifyOnNetworkStatusChange:p,d=e.pollInterval,f=void 0===d?this.pollInterval:d,v=e.query,y=void 0===v?this.query:v,m=e.variables,b=void 0===m?this.variables:m;return this.client.watchQuery({context:n,errorPolicy:i,fetchPolicy:a,fetchResults:u,metadata:l,notifyOnNetworkStatusChange:h,pollInterval:f,query:y,variables:b})}},{key:"nextData",value:function(e){var t=e.data,n=e.loading,r=e.networkStatus,i=e.stale;this.data=t,this.loading=n,this.networkStatus=r,this.stale=i}},{key:"nextError",value:function(e){this.error=e}}]),t}(Object(b.a)(r)))),ne=n(421),re=n(622),ie=n.n(re),oe=(function(e){(function(e){function t(){var e;return o()(this,t),(e=c()(this,p()(t).call(this))).nextData=e.nextData.bind(v()(e)),e.nextError=e.nextError.bind(v()(e)),e.fetchPolicy="cache-first",e.fetchResults=void 0,e.pollInterval=void 0,e.notifyOnNetworkStatusChange=void 0,e.variables=void 0,e.subscription=null,e.tryFetch=void 0,e.observable,e}d()(t,e),s()(t,[{key:"subscription",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Subscription must be a gql-parsed DocumentNode")}e&&!this.observable&&this.subscribe()}},{key:"variables",get:function(){return this.__variables},set:function(e){this.__variables=e,this.observable||this.subscribe()}}]),s()(t,[{key:"connectedCallback",value:function(){m()(p()(t.prototype),"connectedCallback",this)&&m()(p()(t.prototype),"connectedCallback",this).call(this),this.subscribe()}},{key:"subscribe",value:function(){var e=arguments;return new Promise(function(t,n){var r=e.length>0&&void 0!==e[0]?e[0]:this,i=r.fetchPolicy,o=void 0===i?this.fetchPolicy:i,a=r.query,s=void 0===a?this.subscription:a,u=r.variables,c=void 0===u?this.variables:u;return Z({query:s,variables:c})?(this.observable=this.client.subscribe({query:s,variables:c,fetchPolicy:o}),t(this.observable.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}},{key:"nextData",value:function(e){var t=e.data,n=this.client,r=this.onSubscriptionData;ie()(r)&&r({client:n,subscriptionData:{data:t}}),this.data=t,this.loading=!1,this.error=void 0}},{key:"nextError",value:function(e){this.error=e,this.loading=!1}}])})(Object(b.a)(e))}(ee.a),n(422),n(300));n.d(t,"b",function(){return te}),n.d(t,"a",function(){return ne.a}),n.d(t,"c",function(){return oe.b})},,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},,,,,,,,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(271));function a(){var e=i()(['\n\n \n\n\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content);var u=document.createElement("style");u.textContent="[hidden] { display: none !important; }",document.head.appendChild(u)},function(e,t,n){"use strict";n.d(t,"b",function(){return i});n(275);var r=n(309);n.d(t,"a",function(){return r.b});var i=function(){var e,t;do{e=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=Object(r.c)()}while(e||t)}},function(e,t){e.exports=function(e){return void 0!==e}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t,n){var r=n(593);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){var n={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e){return{type:r(e)}},type:r,typeFn:function(e,t){return"crocks/"+r(e)()+"@"+(t||0)}}},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});var r=n(304);function i(e){var t=o.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},o.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var i=e.strings.join(r.f);return void 0===(n=t.keyString.get(i))&&(n=new r.a(e,e.getTemplateElement()),t.keyString.set(i,n)),t.stringsArray.set(e.strings,n),n}var o=new Map},,,,,,,,,,,,,function(e,t,n){var r=n(263),i=n(408),o=n(565),a=n(566);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},,,function(e,t,n){"use strict";n.d(t,"c",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c});n(275);var r,i,o=/(url\()([^)]*)(\))/g,a=/(^\/)|(^#)|(^[\w-\d]*:)/;function s(e,t){if(e&&a.test(e))return e;if(void 0===r){r=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",r="http://a/c%20d"===n.href}catch(e){}}return t||(t=document.baseURI||window.location.href),r?new URL(e,t).href:(i||((i=document.implementation.createHTMLDocument("temp")).base=i.createElement("base"),i.head.appendChild(i.base),i.anchor=i.createElement("a"),i.body.appendChild(i.anchor)),i.base.href=t,i.anchor.href=e,i.anchor.href||e)}function u(e,t){return e.replace(o,function(e,n,r,i){return n+"'"+s(r.replace(/["']/g,""),t)+"'"+i})}function c(e){return e.substring(0,e.lastIndexOf("/")+1)}},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"g",function(){return i}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"i",function(){return s}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return c}),n.d(t,"a",function(){return p}),n.d(t,"h",function(){return h});n(275);function r(e){return e.indexOf(".")>=0}function i(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function o(e,t){return 0===e.indexOf(t+".")}function a(e,t){return 0===t.indexOf(e+".")}function s(e,t,n){return t+n.slice(e.length)}function u(e,t){return e===t||o(e,t)||a(e,t)}function c(e){if(Array.isArray(e)){for(var t=[],n=0;n1){for(var a=0;a-1}var b=!1;function _(e){if(!m(e)&&"touchend"!==e)return s&&b&&o.c?{passive:!0}:void 0}!function(){try{var e=Object.defineProperty({},"passive",{get:function(){b=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();var g=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/),w=[],O={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},k={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function x(e){var t=Array.prototype.slice.call(e.labels||[]);if(!t.length){t=[];var n=e.getRootNode();if(e.id)for(var r=n.querySelectorAll("label[for = ".concat(e.id,"]")),i=0;i-1;if(i[o]===T.mouse.target)return}if(r)return;e.preventDefault(),e.stopPropagation()}};function S(e){for(var t,n=g?["click"]:f,r=0;r0?t[0]:e.target}function M(e){var t,n=e.type,r=e.currentTarget[u];if(r){var i=r[n];if(i){if(!e[c]&&(e[c]={},"touch"===n.slice(0,5))){var o=(e=e).changedTouches[0];if("touchstart"===n&&1===e.touches.length&&(T.touch.id=o.identifier),T.touch.id!==o.identifier)return;s||"touchstart"!==n&&"touchmove"!==n||function(e){var t=e.changedTouches[0],n=e.type;if("touchstart"===n)T.touch.x=t.clientX,T.touch.y=t.clientY,T.touch.scrollDecided=!1;else if("touchmove"===n){if(T.touch.scrollDecided)return;T.touch.scrollDecided=!0;var r=function(e){for(var t,n="auto",r=I(e),i=0;io:"pan-y"===r&&(i=o>a)),i?e.preventDefault():V("track")}}(e)}if(!(t=e[c]).skip){for(var a,p=0;p-1&&a.reset&&a.reset();for(var h,d=0;d=h||i>=h}function U(e,t,n){if(t){var r,i=e.moves[e.moves.length-2],o=e.moves[e.moves.length-1],a=o.x-e.x,s=o.y-e.y,u=0;i&&(r=o.x-i.x,u=o.y-i.y),B(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:a,dy:s,ddx:r,ddy:u,sourceEvent:n,hover:function(){return function(e,t){for(var n=document.elementFromPoint(e,t),r=n;r&&r.shadowRoot&&!window.ShadyDOM&&r!==(r=r.shadowRoot.elementFromPoint(e,t));)r&&(n=r);return n}(n.clientX,n.clientY)}})}}function H(e,t,n){var r=Math.abs(t.clientX-e.x),i=Math.abs(t.clientY-e.y),o=R(n||t);!o||k[o.localName]&&o.hasAttribute("disabled")||(isNaN(r)||isNaN(i)||r<=p&&i<=p||function(e){if("click"===e.type){if(0===e.detail)return!0;var t=R(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;var n=t.getBoundingClientRect(),r=e.pageX,i=e.pageY;return!(r>=n.left&&r<=n.right&&i>=n.top&&i<=n.bottom)}return!1}(t))&&(e.prevent||B(o,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}L({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){P(this.info)},mousedown:function(e){if(C(e)){var t=R(e),n=this;A(this.info,function(e){C(e)||(z("up",t,e),P(n.info))},function(e){C(e)&&z("up",t,e),P(n.info)}),z("down",t,e)}},touchstart:function(e){z("down",R(e),e.changedTouches[0],e)},touchend:function(e){z("up",R(e),e.changedTouches[0],e)}}),L({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,P(this.info)},mousedown:function(e){if(C(e)){var t=R(e),n=this,r=function(e){var r=e.clientX,i=e.clientY;Q(n.info,r,i)&&(n.info.state=n.info.started?"mouseup"===e.type?"end":"track":"start","start"===n.info.state&&V("tap"),n.info.addMove({x:r,y:i}),C(e)||(n.info.state="end",P(n.info)),t&&U(n.info,t,e),n.info.started=!0)};A(this.info,r,function(e){n.info.started&&r(e),P(n.info)}),this.info.x=e.clientX,this.info.y=e.clientY}},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){var t=R(e),n=e.changedTouches[0],r=n.clientX,i=n.clientY;Q(this.info,r,i)&&("start"===this.info.state&&V("tap"),this.info.addMove({x:r,y:i}),U(this.info,t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){var t=R(e),n=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),U(this.info,t,n))}}),L({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(e){C(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click:function(e){C(e)&&H(this.info,e)},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend:function(e){H(this.info,e.changedTouches[0],e)}});var K=R,$=F},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(388),i=(n(271),Object(r.a)(HTMLElement))},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});n(267),n(330);var r=n(315),i=n(278),o={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:"aria-pressed",observer:"_ariaActiveAttributeChanged"}},listeners:{down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},observers:["_focusChanged(focused)","_activeChanged(active, ariaActiveAttribute)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_mouseEventRe:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_focusChanged:function(e){this._detectKeyboardFocus(e),e||this._setPressed(!1)},_detectKeyboardFocus:function(e){this._setReceivedFocusFromKeyboard(!this.pointerDown&&e)},_userActivate:function(e){this.active!==e&&(this.active=e,this.fire("change"))},_downHandler:function(e){this._setPointerDown(!0),this._setPressed(!0),this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1),this._setPressed(!1)},_spaceKeyDownHandler:function(e){var t=e.detail.keyboardEvent,n=Object(i.a)(t).localTarget;this.isLightDescendant(n)||(t.preventDefault(),t.stopImmediatePropagation(),this._setPressed(!0))},_spaceKeyUpHandler:function(e){var t=e.detail.keyboardEvent,n=Object(i.a)(t).localTarget;this.isLightDescendant(n)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},_asyncClick:function(){this.async(function(){this.click()},1)},_pressedChanged:function(e){this._changedButtonState()},_ariaActiveAttributeChanged:function(e,t){t&&t!=e&&this.hasAttribute(t)&&this.removeAttribute(t)},_activeChanged:function(e,t){this.toggles?this.setAttribute(this.ariaActiveAttribute,e?"true":"false"):this.removeAttribute(this.ariaActiveAttribute),this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}},a=[r.a,o]},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=new WeakMap,i=function(e){return"function"==typeof e&&r.has(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r={},i={}},function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r=n(295),i=n.n(r),o=n(261),a=n.n(o),s=n(262),u=n.n(s),c=n(318),l=n(304),p=function(){function e(t,n,r){a()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return u()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,c=!1,l=void 0;try{for(var p,h=this._parts[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var d=p.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){var e=this,t=c.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,o=0;return function t(a){for(var s=document.createTreeWalker(a,133,null,!1),u=s.nextNode();r/g,""),L()("innerText")),B=b()(S()("SCRIPT"),x()(null,"tagName"));var V=F()(T.a,O()(null),F()(R()(B,function(e){return e instanceof Element&&"application/graphql"===e.getAttribute("type")}),q,function(){return function(e){throw new TypeError(e)}('Script must be of type "application/graphql"')})),z=b()(V,function(e){return e instanceof HTMLElement&&e.querySelector('script[type="application/graphql"]')}),Q=n(281),U=n.n(Q),H=function(e){return!!(e&&"object"===U()(e)&&"kind"in e&&"definitions"in e)};n.d(t,"a",function(){return K});var K=function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,h()(t).call(this))).onElementMutation=e.onElementMutation.bind(l()(e)),e.context=void 0,e.data=void 0,e.error=void 0,e.loading=void 0,e.client=window.__APOLLO_CLIENT__,e.elementMutationObserver=new MutationObserver(e.onElementMutation),e}return y()(t,e),a()(t,[{key:"connectedCallback",value:function(){f()(h()(t.prototype),"connectedCallback",this)&&f()(h()(t.prototype),"connectedCallback",this).call(this),this.elementMutationObserver.observe(this,{characterData:!0,childList:!0,subtree:!0}),this.document=z(this)||null}},{key:"disconnectedCallback",value:function(){f()(h()(t.prototype),"disconnectedCallback",this)&&f()(h()(t.prototype),"disconnectedCallback",this).call(this),this.elementMutationObserver&&this.elementMutationObserver.disconnect(),this.elementMutationObserver=null}},{key:"onElementMutation",value:function(){var e=z(this);e&&(this.document=e)}},{key:"document",get:function(){return this.__document||null},set:function(e){if(H(e))this.__document=e;else if(e)throw new TypeError("document must be a gql-parsed DocumentNode")}}]),t}(e)}},,,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(264),a=n.n(o),s=n(262),u=n.n(s),c=n(265),l=n.n(c),p=n(263),h=n.n(p),d=n(276),f=n.n(d),v=(n(275),n(303)),y=n(291),m=n(468),b=n(375),_=n(414),g=n(429);var w=[];var O=n(470);var k=Object(y.a)(function(e){function t(e){var t=Object.getPrototypeOf(e);return t.prototype instanceof r?t:null}function n(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){var t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){var n=e.properties;n&&(t=function(e){var t={};for(var n in e){var r=e[n];t[n]="function"==typeof r?{type:r}:r}return t}(n))}e.__ownProperties=t}return e.__ownProperties}var r=function(e){function r(){return i()(this,r),a()(this,h()(r).apply(this,arguments))}return l()(r,e),u()(r,[{key:"_initializeProperties",value:function(){0,this.constructor.finalize(),f()(h()(r.prototype),"_initializeProperties",this).call(this)}},{key:"connectedCallback",value:function(){f()(h()(r.prototype),"connectedCallback",this)&&f()(h()(r.prototype),"connectedCallback",this).call(this),this._enableProperties()}},{key:"disconnectedCallback",value:function(){f()(h()(r.prototype),"disconnectedCallback",this)&&f()(h()(r.prototype),"disconnectedCallback",this).call(this)}}],[{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){var e=t(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}},{key:"_finalizeClass",value:function(){var e=n(this);e&&this.createProperties(e)}},{key:"typeForProperty",value:function(e){var t=this._properties[e];return t&&t.type}},{key:"observedAttributes",get:function(){var e,t=this;if(!this.hasOwnProperty("__observedAttributes")){e=this.prototype,w.push(e);var n=this._properties;this.__observedAttributes=n?Object.keys(n).map(function(e){return t.attributeNameForProperty(e)}):[]}return this.__observedAttributes}},{key:"_properties",get:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){var e=t(this);this.__properties=Object.assign({},e&&e._properties,n(this))}return this.__properties}}]),r}(Object(O.a)(e));return r}),x=n(297);n.d(t,"a",function(){return S});var E=window.ShadyCSS&&window.ShadyCSS.cssBuild,S=Object(y.a)(function(e){return function(e){function t(){var e;return i()(this,t),(e=a()(this,h()(t).call(this)))._template,e._importPath,e.rootPath,e.importPath,e.root,e.$,e}return l()(t,e),u()(t,null,[{key:"_finalizeClass",value:function(){f()(h()(t),"_finalizeClass",this).call(this);var e,n=((e=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",e))||(e.__ownObservers=e.hasOwnProperty(JSCompiler_renameProperty("observers",e))?e.observers:null),e.__ownObservers);n&&this.createObservers(n,this._properties),this._prepareTemplate()}},{key:"_prepareTemplate",value:function(){var e=this.template;e&&("string"==typeof e?(console.error("template getter must return HTMLTemplateElement"),e=null):v.b||(e=e.cloneNode(!0))),this.prototype._template=e}},{key:"createProperties",value:function(e){for(var t in e)n=this.prototype,r=t,i=e[t],o=e,i.computed&&(i.readOnly=!0),i.computed&&(n._hasReadOnlyEffect(r)?console.warn("Cannot redefine computed property '".concat(r,"'.")):n._createComputedProperty(r,i.computed,o)),i.readOnly&&!n._hasReadOnlyEffect(r)?n._createReadOnlyProperty(r,!i.computed):!1===i.readOnly&&n._hasReadOnlyEffect(r)&&console.warn("Cannot make readOnly property '".concat(r,"' non-readOnly.")),i.reflectToAttribute&&!n._hasReflectEffect(r)?n._createReflectedProperty(r):!1===i.reflectToAttribute&&n._hasReflectEffect(r)&&console.warn("Cannot make reflected property '".concat(r,"' non-reflected.")),i.notify&&!n._hasNotifyEffect(r)?n._createNotifyingProperty(r):!1===i.notify&&n._hasNotifyEffect(r)&&console.warn("Cannot make notify property '".concat(r,"' non-notify.")),i.observer&&n._createPropertyObserver(r,i.observer,o[i.observer]),n._addPropertyToAttributeMap(r);var n,r,i,o}},{key:"createObservers",value:function(e,t){for(var n=this.prototype,r=0;r\n \n"]);return s=function(){return e},e}var u=Object(a.a)(s());u.setAttribute("style","display: none;"),document.head.appendChild(u.content)},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,p=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&d())}function d(){if(!l){var e=s(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,c=Array.isArray(e),l=[e],p=-1,h=[],d=void 0,f=void 0,v=void 0,y=[],m=[],b=e;do{var _=++p===l.length,g=_&&0!==h.length;if(_){if(f=0===m.length?void 0:y[y.length-1],d=v,v=m.pop(),g){if(c)d=d.slice();else{for(var w={},O=Object.keys(d),k=0;k\n \n\n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},function(e,t,n){var r=n(331),i=n(597);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(358).proxy("Pred"),i=n(280),o=n(341);e.exports=function(e){return i(e)||o(r,e)}},function(e,t,n){var r=n(280);e.exports=function(e,t){return r(e)?e(t):e.runWith(t)}},function(e,t,n){var r=n(341),i=n(477),o=n(331),a=n(479),s=function(e,t){return e.valueOf()===t.valueOf()},u={Array:function(e,t){return e.length===t.length&&c(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e,t){return Object.keys(e).length===Object.keys(t).length&&c(e,t)},RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function c(e,t){for(var n in e)if(!l(e[n],t[n]))return!1;return!0}function l(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?e.equals(t):(u[a(e)]||s)(e,t))}e.exports=l},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),p=n(265),h=n.n(p),d=n(334),f=n(422),v=function(e){function t(){return i()(this,t),u()(this,l()(t).apply(this,arguments))}return h()(t,e),a()(t,null,[{key:"properties",get:function(){return{called:{type:Boolean}}}}]),t}(Object(f.a)(d.a))},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(261),i=n.n(r),o=n(264),a=n.n(o),s=n(263),u=n.n(s),c=n(262),l=n.n(c),p=n(265),h=n.n(p),d=n(385),f=function(e){return function(e){function t(){var e;return i()(this,t),(e=a()(this,u()(t).call(this))).ignoreResults=!1,e.mostRecentMutationId=0,e.onCompleted=function(){},e.onError=function(){},e.optimisticResponse=void 0,e.onUpdate=void 0,e.variables=void 0,e.__explicitlySetMutation=void 0,e}return h()(t,e),l()(t,[{key:"mutation",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Mutation must be a gql-parsed DocumentNode")}}}]),l()(t,[{key:"generateMutationId",value:function(){return this.mostRecentMutationId+=1,this.mostRecentMutationId}},{key:"isMostRecentMutation",value:function(e){return this.mostRecentMutationId===e}},{key:"mutate",value:function(){var e=arguments;return new Promise(function(t,n){var r,i,o,a,s,u,c,l,p,h,d,f,v,y,m,b,_,g,w,O,k;o=void 0===(i=(r=e.length>0&&void 0!==e[0]?e[0]:this).context)?this.context:i,s=void 0===(a=r.errorPolicy)?this.errorPolicy:a,c=void 0===(u=r.fetchPolicy)?this.fetchPolicy:u,p=void 0===(l=r.mutation)?this.mutation:l,d=void 0===(h=r.optimisticResponse)?this.optimisticResponse:h,v=void 0===(f=r.refetchQueries)?this.refetchQueries:f,m=void 0===(y=r.update)?this.onUpdate:y,_=void 0===(b=r.awaitRefetchQueries)?this.awaitRefetchQueries:b,w=void 0===(g=r.variables)?this.variables:g,O=this.generateMutationId(),this.loading=!0,this.error=void 0,this.data=void 0,this.called=!0;var x=function(e){try{return this.onMutationError(e,O),t(e)}catch(e){return n(e)}}.bind(this);try{return Promise.resolve(this.client.mutate({context:o,errorPolicy:s,fetchPolicy:c,mutation:p,optimisticResponse:d,refetchQueries:v,update:m,awaitRefetchQueries:_,variables:w})).then(function(e){try{return k=e,this.onCompletedMutation(k,O),t(k)}catch(e){return x(e)}}.bind(this),x)}catch(e){x(e)}}.bind(this))}},{key:"onCompletedMutation",value:function(e,t){var n=e.data;return this.isMostRecentMutation(t)&&!this.ignoreResults&&(this.loading=!1,this.error=null,this.data=n),this.onCompleted(n)}},{key:"onMutationError",value:function(e,t){return this.isMostRecentMutation(t)&&(this.loading=!1,this.data=null,this.error=e),this.onError(e)}}]),t}(Object(d.a)(e))}},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(267),n(272)),u=function(){function e(t){i()(this,e),e[" "](t),this.type=t&&t.type||"default",this.key=t&&t.key,t&&"value"in t&&(this.value=t.value)}return a()(e,[{key:"byKey",value:function(e){return this.key=e,this.value}},{key:"value",get:function(){var t=this.type,n=this.key;if(t&&n)return e.types[t]&&e.types[t][n]},set:function(t){var n=this.type,r=this.key;n&&r&&(n=e.types[n]=e.types[n]||{},null==t?delete n[r]:n[r]=t)}},{key:"list",get:function(){if(this.type){var t=e.types[this.type];return t?Object.keys(t).map(function(e){return c[this.type][e]},this):[]}}}]),e}();u[" "]=function(){},u.types={};var c=u.types;Object(s.a)({is:"iron-meta",properties:{type:{type:String,value:"default"},key:{type:String},value:{type:String,notify:!0},self:{type:Boolean,observer:"_selfChanged"},__meta:{type:Boolean,computed:"__computeMeta(type, key, value)"}},hostAttributes:{hidden:!0},__computeMeta:function(e,t,n){var r=new u({type:e,key:t});return void 0!==n&&n!==r.value?r.value=n:this.value!==r.value&&(this.value=r.value),r},get list(){return this.__meta&&this.__meta.list},_selfChanged:function(e){e&&(this.value=this)},byKey:function(e){return new u({type:this.type,key:e}).value}})},,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(272)),a=n(271);function s(){var e=i()(['\n \n
[[_text]]
\n']);return s=function(){return e},e}var u=Object(o.a)({_template:Object(a.a)(s()),is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},_text:{type:String,value:""}},created:function(){u.instance||(u.instance=this),document.body.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},announce:function(e){this._text="",this.async(function(){this._text=e},100)},_onIronAnnounce:function(e){e.detail&&e.detail.text&&this.announce(e.detail.text)}});u.instance=null,u.requestAvailability=function(){u.instance||(u.instance=document.createElement("iron-a11y-announcer")),document.body.appendChild(u.instance)};var c=n(490),l=n(278);function p(){var e=i()(['\n \n \n']);return p=function(){return e},e}Object(o.a)({_template:Object(a.a)(p()),is:"iron-input",behaviors:[c.a],properties:{bindValue:{type:String,value:""},value:{type:String,computed:"_computeValue(bindValue)"},allowedPattern:{type:String},autoValidate:{type:Boolean,value:!1},_inputElement:Object},observers:["_bindValueChanged(bindValue, _inputElement)"],listeners:{input:"_onInput",keypress:"_onKeypress"},created:function(){u.requestAvailability(),this._previousValidInput="",this._patternAlreadyChecked=!1},attached:function(){this._observer=Object(l.a)(this).observeNodes(function(e){this._initSlottedInput()}.bind(this))},detached:function(){this._observer&&(Object(l.a)(this).unobserveNodes(this._observer),this._observer=null)},get inputElement(){return this._inputElement},_initSlottedInput:function(){this._inputElement=this.getEffectiveChildren()[0],this.inputElement&&this.inputElement.value&&(this.bindValue=this.inputElement.value),this.fire("iron-input-ready")},get _patternRegExp(){var e;if(this.allowedPattern)e=new RegExp(this.allowedPattern);else switch(this.inputElement.type){case"number":e=/[0-9.,e-]/}return e},_bindValueChanged:function(e,t){t&&(void 0===e?t.value=null:e!==t.value&&(this.inputElement.value=e),this.autoValidate&&this.validate(),this.fire("bind-value-changed",{value:e}))},_onInput:function(){this.allowedPattern&&!this._patternAlreadyChecked&&(this._checkPatternValidity()||(this._announceInvalidCharacter("Invalid string of characters not entered."),this.inputElement.value=this._previousValidInput));this.bindValue=this._previousValidInput=this.inputElement.value,this._patternAlreadyChecked=!1},_isPrintable:function(e){var t=8==e.keyCode||9==e.keyCode||13==e.keyCode||27==e.keyCode,n=19==e.keyCode||20==e.keyCode||45==e.keyCode||46==e.keyCode||144==e.keyCode||145==e.keyCode||e.keyCode>32&&e.keyCode<41||e.keyCode>111&&e.keyCode<124;return!(t||0==e.charCode&&n)},_onKeypress:function(e){if(this.allowedPattern||"number"===this.inputElement.type){var t=this._patternRegExp;if(t&&!(e.metaKey||e.ctrlKey||e.altKey)){this._patternAlreadyChecked=!0;var n=String.fromCharCode(e.charCode);this._isPrintable(e)&&!t.test(n)&&(e.preventDefault(),this._announceInvalidCharacter("Invalid character "+n+" not entered."))}}},_checkPatternValidity:function(){var e=this._patternRegExp;if(!e)return!0;for(var t=0;t\n :host {\n display: inline-block;\n float: right;\n\n @apply --paper-font-caption;\n @apply --paper-input-char-counter;\n }\n\n :host([hidden]) {\n display: none !important;\n }\n\n :host(:dir(rtl)) {\n float: left;\n }\n \n\n [[_charCounterStr]]\n"]);return d=function(){return e},e}Object(o.a)({_template:Object(a.a)(d()),is:"paper-input-char-counter",behaviors:[h],properties:{_charCounterStr:{type:String,value:"0"}},update:function(e){if(e.inputElement){e.value=e.value||"";var t=e.value.toString().length.toString();e.inputElement.hasAttribute("maxlength")&&(t+="/"+e.inputElement.getAttribute("maxlength")),this._charCounterStr=t}}});n(353),n(332);var f=n(377);function v(){var e=i()(['\n \n\n \n\n
\n \n\n
\n \n \n
\n\n \n
\n\n
\n
\n
\n
\n\n
\n \n
\n'],['\n \n\n \n\n
\n \n\n
\n \n \n
\n\n \n
\n\n
\n
\n
\n
\n\n
\n \n
\n']);return v=function(){return e},e}function y(){var e=i()(['\n\n \n\n']);return y=function(){return e},e}var m=Object(a.a)(y());function b(){var e=i()(["\n \n\n \n"]);return b=function(){return e},e}m.setAttribute("style","display: none;"),document.head.appendChild(m.content),Object(o.a)({_template:Object(a.a)(v()),is:"paper-input-container",properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,iron-input,textarea,.paper-input-input"},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return Object(f.b)(this.attrForValue)},get _inputElement(){return Object(l.a)(this).querySelector(this._inputSelector)},get _inputElementValue(){return this._inputElement[this._propertyForValue]||this._inputElement.value},ready:function(){this.__isFirstValueUpdate=!0,this._addons||(this._addons=[]),this.addEventListener("focus",this._boundOnFocus,!0),this.addEventListener("blur",this._boundOnBlur,!0)},attached:function(){this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput),this._inputElementValue&&""!=this._inputElementValue?this._handleValueAndAutoValidate(this._inputElement):this._handleValue(this._inputElement)},_onAddonAttached:function(e){this._addons||(this._addons=[]);var t=e.target;-1===this._addons.indexOf(t)&&(this._addons.push(t),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1),this._handleValueAndAutoValidate(this._inputElement)},_onInput:function(e){this._handleValueAndAutoValidate(e.target)},_onValueChanged:function(e){var t=e.target;this.__isFirstValueUpdate&&(this.__isFirstValueUpdate=!1,void 0===t.value||""===t.value)||this._handleValueAndAutoValidate(e.target)},_handleValue:function(e){var t=this._inputElementValue;t||0===t||"number"===e.type&&!e.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1,this.updateAddons({inputElement:e,value:t,invalid:this.invalid})},_handleValueAndAutoValidate:function(e){var t;this.autoValidate&&e&&(t=e.validate?e.validate(this._inputElementValue):e.checkValidity(),this.invalid=!t);this._handleValue(e)},_onIronInputValidate:function(e){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},updateAddons:function(e){for(var t,n=0;t=this._addons[n];n++)t.update(e)},_computeInputContentClass:function(e,t,n,r,i){var o="input-content";if(e)i&&(o+=" label-is-hidden"),r&&(o+=" is-invalid");else{var a=this.querySelector("label");t||i?(o+=" label-is-floating",this.$.labelAndInputContainer.style.position="static",r?o+=" is-invalid":n&&(o+=" label-is-highlighted")):(a&&(this.$.labelAndInputContainer.style.position="relative"),r&&(o+=" is-invalid"))}return n&&(o+=" focused"),o},_computeUnderlineClass:function(e,t){var n="underline";return t?n+=" is-invalid":e&&(n+=" is-highlighted"),n},_computeAddOnContentClass:function(e,t){var n="add-on-content";return t?n+=" is-invalid":e&&(n+=" is-highlighted"),n}}),Object(o.a)({_template:Object(a.a)(b()),is:"paper-input-error",behaviors:[h],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(e){this._setInvalid(e.invalid)}});var _=n(491),g=(n(414),n(315)),w=n(330),O=n(379),k={NextLabelID:1,NextAddonID:1,NextInputID:1},x={properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1,notify:!0},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,observer:"_autofocusChanged"},inputmode:{type:String},minlength:{type:Number},maxlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},autocapitalize:{type:String,value:"none"},autocorrect:{type:String,value:"off"},autosave:{type:String},results:{type:Number},accept:{type:String},multiple:{type:Boolean},_ariaDescribedBy:{type:String,value:""},_ariaLabelledBy:{type:String,value:""},_inputId:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},keyBindings:{"shift+tab:keydown":"_onShiftTabDown"},hostAttributes:{tabindex:0},get inputElement(){return this.$||(this.$={}),this.$.input||(this._generateInputId(),this.$.input=this.$$("#"+this._inputId)),this.$.input},get _focusableElement(){return this.inputElement},created:function(){this._typesThatHaveText=["date","datetime","datetime-local","month","time","week","file"]},attached:function(){this._updateAriaLabelledBy(),!O.a&&this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.inputElement.type)&&(this.alwaysFloatLabel=!0)},_appendStringWithSpace:function(e,t){return e=e?e+" "+t:t},_onAddonAttached:function(e){var t=Object(l.a)(e).rootTarget;if(t.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,t.id);else{var n="paper-input-add-on-"+k.NextAddonID++;t.id=n,this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,n)}},validate:function(){return this.inputElement.validate()},_focusBlurHandler:function(e){w.a._focusBlurHandler.call(this,e),this.focused&&!this._shiftTabPressed&&this._focusableElement&&this._focusableElement.focus()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",t),this._shiftTabPressed=!1},1)},_handleAutoValidate:function(){this.autoValidate&&this.validate()},updateValueAndPreserveCaret:function(e){try{var t=this.inputElement.selectionStart;this.value=e,this.inputElement.selectionStart=t,this.inputElement.selectionEnd=t}catch(t){this.value=e}},_computeAlwaysFloatLabel:function(e,t){return t||e},_updateAriaLabelledBy:function(){var e,t=Object(l.a)(this.root).querySelector("label");t?(t.id?e=t.id:(e="paper-input-label-"+k.NextLabelID++,t.id=e),this._ariaLabelledBy=e):this._ariaLabelledBy=""},_generateInputId:function(){this._inputId&&""!==this._inputId||(this._inputId="input-"+k.NextInputID++)},_onChange:function(e){this.shadowRoot&&this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable})},_autofocusChanged:function(){if(this.autofocus&&this._focusableElement){var e=document.activeElement;e instanceof HTMLElement&&e!==document.body&&e!==document.documentElement||this._focusableElement.focus()}}},E=[w.a,g.a,x];function S(){var e=i()(['\n \n\n \n\n \n\n \n\n \x3c!-- Need to bind maxlength so that the paper-input-char-counter works correctly --\x3e\n \n \n \n\n \n\n \n\n \n\n \n '],['\n \n\n \n\n \n\n \n\n \x3c!-- Need to bind maxlength so that the paper-input-char-counter works correctly --\x3e\n \n \n \n\n \n\n \n\n \n\n \n ']);return S=function(){return e},e}Object(o.a)({is:"paper-input",_template:Object(a.a)(S()),behaviors:[E,_.a],properties:{value:{type:String}},get _focusableElement(){return this.inputElement._inputElement},listeners:{"iron-input-ready":"_onIronInputReady"},_onIronInputReady:function(){this.$.nativeInput||(this.$.nativeInput=this.$$("input")),this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.$.nativeInput.type)&&(this.alwaysFloatLabel=!0),this.inputElement.bindValue&&this.$.container._handleValueAndAutoValidate(this.inputElement)}})},,,,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),p=n(276),h=n.n(p),d=n(265),f=n.n(d),v=n(281),y=n.n(v),m=(n(275),n(297)),b=n(291),_=n(376),g=n(377),w=n(469),O=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),k={"dom-if":!0,"dom-repeat":!0};function x(e){var t=e.getAttribute("is");if(t&&k[t]){var n=e;for(n.removeAttribute("is"),e=n.ownerDocument.createElement(t),n.parentNode.replaceChild(e,n),e.appendChild(n);n.attributes.length;)e.setAttribute(n.attributes[0].name,n.attributes[0].value),n.removeAttribute(n.attributes[0].name)}return e}function E(e,t){var n=t.parentInfo&&E(e,t.parentInfo);if(!n)return e;O.currentNode=n;for(var r=O.firstChild(),i=0;r;r=O.nextSibling())if(t.parentIndex===i++)return r}function S(e,t,n,r){r.id&&(t[r.id]=n)}function C(e,t,n){if(n.events&&n.events.length)for(var r,i=0,o=n.events;ic.source.length&&"property"==u.kind&&!u.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[u.target]){var l=n[t];t=Object(_.i)(c.source,u.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}return"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,n,r),P.e&&(i=Object(P.e)(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[N.READ_ONLY]&&t[N.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,u,c,i.evaluator._evaluateBinding(e,c,t,n,r,o))}}function $(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;o="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=Object(_.g)(t),n.structured=Object(_.d)(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function ne(e,t,n){var r=Object(_.a)(e,n);return void 0===r&&(r=t[n]),r}function re(e,t,n,r){e.notifyPath(n+".splices",{indexSplices:r}),e.notifyPath(n+".length",t.length)}function ie(e,t,n,r,i,o){re(e,t,n,[{index:r,addedCount:i,removed:o,object:t,type:"splice"}])}var oe=Object(b.a)(function(e){return function(e){function t(){var e;return i()(this,t),(e=u()(this,l()(t).call(this))).__isPropertyEffectsClient=!0,e.__dataCounter=0,e.__dataClientsReady,e.__dataPendingClients,e.__dataToNotify,e.__dataLinkedPaths,e.__dataHasPaths,e.__dataCompoundStorage,e.__dataHost,e.__dataTemp,e.__dataClientsInitialized,e.__data,e.__dataPending,e.__dataOld,e.__computeEffects,e.__reflectEffects,e.__notifyEffects,e.__propagateEffects,e.__observeEffects,e.__readOnly,e.__templateInfo,e}return f()(t,e),a()(t,[{key:"_initializeProperties",value:function(){h()(l()(t.prototype),"_initializeProperties",this).call(this),ae.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}},{key:"_initializeProtoProperties",value:function(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}},{key:"_initializeInstanceProperties",value:function(e){var t=this[N.READ_ONLY];for(var n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}},{key:"_addPropertyEffect",value:function(e,t,n){this._createPropertyAccessor(e,t==N.READ_ONLY);var r=R(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}},{key:"_removePropertyEffect",value:function(e,t,n){var r=R(this,t)[e],i=r.indexOf(n);i>=0&&r.splice(i,1)}},{key:"_hasPropertyEffect",value:function(e,t){var n=this[t];return Boolean(n&&n[e])}},{key:"_hasReadOnlyEffect",value:function(e){return this._hasPropertyEffect(e,N.READ_ONLY)}},{key:"_hasNotifyEffect",value:function(e){return this._hasPropertyEffect(e,N.NOTIFY)}},{key:"_hasReflectEffect",value:function(e){return this._hasPropertyEffect(e,N.REFLECT)}},{key:"_hasComputedEffect",value:function(e){return this._hasPropertyEffect(e,N.COMPUTE)}},{key:"_setPendingPropertyOrPath",value:function(e,n,r,i){if(i||Object(_.g)(Array.isArray(e)?e[0]:e)!==e){if(!i){var o=Object(_.a)(this,e);if(!(e=Object(_.h)(this,e,n))||!h()(l()(t.prototype),"_shouldPropertyChange",this).call(this,e,n,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,n,r))return function(e,t,n){var r,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];Object(_.c)(o,t)?(r=Object(_.i)(o,a,t),e._setPendingPropertyOrPath(r,n,!0,!0)):Object(_.c)(a,t)&&(r=Object(_.i)(a,o,t),e._setPendingPropertyOrPath(r,n,!0,!0))}}(this,e,n),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,n,r);this[e]=n}return!1}},{key:"_setUnmanagedPropertyToNode",value:function(e,t,n){n===e[t]&&"object"!=y()(n)||(e[t]=n)}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__dataHasPaths&&Object(_.d)(e),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[N.NOTIFY]&&this[N.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}},{key:"_invalidateProperties",value:function(){this.__dataReady&&this._flushProperties()}},{key:"_enqueueClient",value:function(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}},{key:"_flushProperties",value:function(){this.__dataCounter++,h()(l()(t.prototype),"_flushProperties",this).call(this),this.__dataCounter--}},{key:"_flushClients",value:function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}},{key:"__enableOrFlushClients",value:function(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?r-3:0),o=3;o1?r-1:0),o=1;oi&&r.push({literal:e.slice(i,n.index)});var o=n[1][0],a=Boolean(n[2]),s=n[3].trim(),u=!1,c="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(c=s.substring(l+2),s=s.substring(0,l),u=!0);var p=ee(s),h=[];if(p){for(var d=p.args,f=p.methodName,v=0;va)return"[Array]";for(var n=Math.min(o,e.length),r=e.length-n,i=[],s=0;s1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>a)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n)return n}return t}(e)+"]";return"{ "+n.map(function(n){var r=u(e[n],t);return n+": "+r}).join(", ")+" }"}(e,n)}return String(e)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";var r="function"==typeof Symbol?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=r},function(e,t,n){"use strict";function r(e){for(var t=e.split(/\r\n|[\n\r]/g),n=null,r=1;r0&&o(t[0]);)t.shift();for(;t.length>0&&o(t[t.length-1]);)t.pop();return t.join("\n")}function i(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!r||o||n,s="";return!a||r&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},function(e,t,n){"use strict";n.r(t),function(e,r){var i,o=n(580);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.default=a}.call(this,n(321),n(345)(e))},function(e,t,n){"use strict";(function(e){var n=new function(){};function r(){return n}try{var i=e["eriuqer".split("").reverse().join("")]("fibers");r=function(){return i.current||n}}catch(e){}t.get=function(){var e=r();return e._optimism_local||(e._optimism_local=Object.create(null))}}).call(this,n(396)(e))},,function(e,t,n){"use strict";n.d(t,"c",function(){return f}),n.d(t,"b",function(){return v}),n.d(t,"a",function(){return m});var r=n(295),i=n.n(r),o=n(414),a=n(375),s="link[rel=import][type~=css]",u="include",c="shady-unscoped";function l(e){return o.a.import(e)}function p(e){var t=e.body?e.body:e,n=Object(a.b)(t.textContent,e.baseURI),r=document.createElement("style");return r.textContent=n,r}function h(e){for(var t=e.trim().split(/\s+/),n=[],r=0;r0||n>0;)if(0!=t)if(0!=n){var c=e[t-1][n-1],l=e[t-1][n],p=e[t][n-1],h=void 0;(h=l\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(315)),a=n(272),s=n(278),u=n(271);function c(){var e=i()(['\n \n\n
\n
\n']);return c=function(){return e},e}var l={distance:function(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)},now:window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now};function p(e){this.element=e,this.width=this.boundingRect.width,this.height=this.boundingRect.height,this.size=Math.max(this.width,this.height)}function h(e){this.element=e,this.color=window.getComputedStyle(e).color,this.wave=document.createElement("div"),this.waveContainer=document.createElement("div"),this.wave.style.backgroundColor=this.color,this.wave.classList.add("wave"),this.waveContainer.classList.add("wave-container"),Object(s.a)(this.waveContainer).appendChild(this.wave),this.resetInteractionState()}p.prototype={get boundingRect(){return this.element.getBoundingClientRect()},furthestCornerDistanceFrom:function(e,t){var n=l.distance(e,t,0,0),r=l.distance(e,t,this.width,0),i=l.distance(e,t,0,this.height),o=l.distance(e,t,this.width,this.height);return Math.max(n,r,i,o)}},h.MAX_RADIUS=300,h.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){var e;return this.mouseDownStart?(e=l.now()-this.mouseDownStart,this.mouseUpStart&&(e-=this.mouseUpElapsed),e):0},get mouseUpElapsed(){return this.mouseUpStart?l.now()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1e3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1e3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var e=this.containerMetrics.width*this.containerMetrics.width,t=this.containerMetrics.height*this.containerMetrics.height,n=1.1*Math.min(Math.sqrt(e+t),h.MAX_RADIUS)+5,r=1.1-n/h.MAX_RADIUS*.2,i=this.mouseInteractionSeconds/r,o=n*(1-Math.pow(80,-i));return Math.abs(o)},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):this.initialOpacity},get outerOpacity(){var e=.3*this.mouseUpElapsedSeconds,t=this.opacity;return Math.max(0,Math.min(e,t))},get isOpacityFullyDecayed(){return this.opacity<.01&&this.radius>=Math.min(this.maxRadius,h.MAX_RADIUS)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,h.MAX_RADIUS)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},resetInteractionState:function(){this.maxRadius=0,this.mouseDownStart=0,this.mouseUpStart=0,this.xStart=0,this.yStart=0,this.xEnd=0,this.yEnd=0,this.slideDistance=0,this.containerMetrics=new p(this.element)},draw:function(){var e,t,n;this.wave.style.opacity=this.opacity,e=this.radius/(this.containerMetrics.size/2),t=this.xNow-this.containerMetrics.width/2,n=this.yNow-this.containerMetrics.height/2,this.waveContainer.style.webkitTransform="translate("+t+"px, "+n+"px)",this.waveContainer.style.transform="translate3d("+t+"px, "+n+"px, 0)",this.wave.style.webkitTransform="scale("+e+","+e+")",this.wave.style.transform="scale3d("+e+","+e+",1)"},downAction:function(e){var t=this.containerMetrics.width/2,n=this.containerMetrics.height/2;this.resetInteractionState(),this.mouseDownStart=l.now(),this.center?(this.xStart=t,this.yStart=n,this.slideDistance=l.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)):(this.xStart=e?e.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=e?e.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2),this.recenters&&(this.xEnd=t,this.yEnd=n,this.slideDistance=l.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)),this.maxRadius=this.containerMetrics.furthestCornerDistanceFrom(this.xStart,this.yStart),this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px",this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px",this.waveContainer.style.width=this.containerMetrics.size+"px",this.waveContainer.style.height=this.containerMetrics.size+"px"},upAction:function(e){this.isMouseDown&&(this.mouseUpStart=l.now())},remove:function(){Object(s.a)(this.waveContainer.parentNode).removeChild(this.waveContainer)}},Object(a.a)({_template:Object(u.a)(c()),is:"paper-ripple",behaviors:[o.a],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},get target(){return this.keyEventTarget},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){11==this.parentNode.nodeType?this.keyEventTarget=Object(s.a)(this).getOwnerRoot().host:this.keyEventTarget=this.parentNode;var e=this.keyEventTarget;this.listen(e,"up","uiUpAction"),this.listen(e,"down","uiDownAction")},detached:function(){this.unlisten(this.keyEventTarget,"up","uiUpAction"),this.unlisten(this.keyEventTarget,"down","uiDownAction"),this.keyEventTarget=null},get shouldKeepAnimating(){for(var e=0;e0||(this.addRipple().downAction(e),this._animating||(this._animating=!0,this.animate()))},uiUpAction:function(e){this.noink||this.upAction(e)},upAction:function(e){this.holdDown||(this.ripples.forEach(function(t){t.upAction(e)}),this._animating=!0,this.animate())},onAnimationComplete:function(){this._animating=!1,this.$.background.style.backgroundColor=null,this.fire("transitionend")},addRipple:function(){var e=new h(this);return Object(s.a)(this.$.waves).appendChild(e.waveContainer),this.$.background.style.backgroundColor=e.color,this.ripples.push(e),this._setAnimating(!0),e},removeRipple:function(e){var t=this.ripples.indexOf(e);t<0||(this.ripples.splice(t,1),e.remove(),this.ripples.length||this._setAnimating(!1))},animate:function(){if(this._animating){var e,t;for(e=0;e1&&void 0!==arguments[1]?arguments[1]:"",n=Object(m.m)(e);return this.transformRules(n,t),e.textContent=Object(m.p)(n),n}},{key:"transformCustomStyle",value:function(e){var t=this,n=Object(m.m)(e);return Object(m.f)(n,function(e){":root"===e.selector&&(e.selector="html"),t.transformRule(e)}),e.textContent=Object(m.p)(n),n}},{key:"transformRules",value:function(e,t){var n=this;this._currentElement=t,Object(m.f)(e,function(e){n.transformRule(e)}),this._currentElement=null}},{key:"transformRule",value:function(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}},{key:"transformCssText",value:function(e,t){var n=this;return e=e.replace(b.g,function(e,r,i,o){return n._produceCssProperties(e,r,i,o,t)}),this._consumeCssProperties(e,t)}},{key:"_getInitialValueForProperty",value:function(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}},{key:"_fallbacksFromPreviousRules",value:function(e){for(var t=this,n=e;n.parent;)n=n.parent;var r={},i=!1;return Object(m.f)(n,function(n){(i=i||n===e)||n.selector===e.selector&&Object.assign(r,t._cssTextToMap(n.parsedCssText))}),r}},{key:"_consumeCssProperties",value:function(e,t){for(var n=null;n=b.f.exec(e);){var r=n[0],i=n[1],o=n.index,a=o+r.indexOf("@apply"),s=o+r.length,u=e.slice(0,a),c=e.slice(s),l=t?this._fallbacksFromPreviousRules(t):{};Object.assign(l,this._cssTextToMap(u));var p=this._atApplyToCssProperties(i,l);e="".concat(u).concat(p).concat(c),b.f.lastIndex=o+p.length}return e}},{key:"_atApplyToCssProperties",value:function(e,t){e=e.replace(g,"");var n=[],r=this._map.get(e);if(r||(this._map.set(e,{}),r=this._map.get(e)),r){var i,o,a;this._currentElement&&(r.dependants[this._currentElement]=!0);var s=r.properties;for(i in s)o=[i,": var(",e,"_-_",i],(a=t&&t[i])&&o.push(",",a.replace(O,"")),o.push(")"),O.test(s[i])&&o.push(" !important"),n.push(o.join(""))}return n.join("; ")}},{key:"_replaceInitialOrInherit",value:function(e,t){var n=w.exec(t);return n&&(t=n[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}},{key:"_cssTextToMap",value:function(e){for(var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e.split(";"),s={},u=0;u1&&(t=i[0].trim(),n=i.slice(1).join(":"),o&&(n=this._replaceInitialOrInherit(t,n)),s[t]=n);return s}},{key:"_invalidateMixinEntry",value:function(e){if(x)for(var t in e.dependants)t!==this._currentElement&&x(t)}},{key:"_produceCssProperties",value:function(e,t,n,r,i){var o=this;if(n&&Object(m.l)(n,function(e,t){t&&o._map.get(t)&&(r="@apply ".concat(t,";"))}),!r)return e;var a=this._consumeCssProperties(""+r,i),s=e.slice(0,e.indexOf("--")),u=this._cssTextToMap(a,!0),c=u,l=this._map.get(t),p=l&&l.properties;p?c=Object.assign(Object.create(p),u):this._map.set(t,c);var h,d,f=[],v=!1;for(h in c)void 0===(d=u[h])&&(d="initial"),!p||h in p||(v=!0),f.push("".concat(t).concat("_-_").concat(h,": ").concat(d));return v&&this._invalidateMixinEntry(l),l&&(l.properties=c),n&&(s="".concat(e,";").concat(s)),"".concat(s).concat(f.join("; "),";")}}]),e}();E.prototype.detectMixin=E.prototype.detectMixin,E.prototype.transformStyle=E.prototype.transformStyle,E.prototype.transformCustomStyle=E.prototype.transformCustomStyle,E.prototype.transformRules=E.prototype.transformRules,E.prototype.transformRule=E.prototype.transformRule,E.prototype.transformTemplate=E.prototype.transformTemplate,E.prototype._separator="_-_",Object.defineProperty(E.prototype,"invalidCallback",{get:function(){return x},set:function(e){x=e}});var S=E,C=n(413),T=n(467),A=(n(427),n(308)),P=new S,I=function(){function e(){a()(this,e),this.customStyleInterface=null,P.invalidCallback=T.a}return u()(e,[{key:"ensure",value:function(){var e=this;this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=function(e){P.transformCustomStyle(e)},this.customStyleInterface.validateCallback=function(){requestAnimationFrame(function(){e.customStyleInterface.enqueued&&e.flushCustomStyles()})})}},{key:"prepareTemplate",value:function(e,t){if(this.ensure(),!Object(m.d)(e)){C.a[t]=e;var n=P.transformTemplate(e,t);e._styleAst=n}}},{key:"flushCustomStyles",value:function(){if(this.ensure(),this.customStyleInterface){var e=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(var t=0;t-1&&z.splice(e,1)}}}]),n}(t);return n.__activateDir=!1,n});n(275);function J(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?J():window.addEventListener("DOMContentLoaded",J);var G=n(278),W=n(378),X=n(309),Z=n(329),ee=n(376),te=n(297);n.d(t,"a",function(){return re});var ne=window.ShadyCSS,re=Object(D.a)(function(e){var t=Y(Object(M.a)(Object(R.a)(e))),n={x:"pan-x",y:"pan-y",none:"none",all:"auto"},r=function(e){function t(){var e;return a()(this,t),(e=l()(this,h()(t).call(this))).isAttached,e.__boundListeners,e._debouncers,e}return y()(t,e),u()(t,[{key:"created",value:function(){}},{key:"connectedCallback",value:function(){f()(h()(t.prototype),"connectedCallback",this).call(this),this.isAttached=!0,this.attached()}},{key:"attached",value:function(){}},{key:"disconnectedCallback",value:function(){f()(h()(t.prototype),"disconnectedCallback",this).call(this),this.isAttached=!1,this.detached()}},{key:"detached",value:function(){}},{key:"attributeChangedCallback",value:function(e,n,r,i){n!==r&&(f()(h()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r,i),this.attributeChanged(e,n,r))}},{key:"attributeChanged",value:function(e,t,n){}},{key:"_initializeProperties",value:function(){var e=Object.getPrototypeOf(this);e.hasOwnProperty("__hasRegisterFinished")||(this._registered(),e.__hasRegisterFinished=!0),f()(h()(t.prototype),"_initializeProperties",this).call(this),this.root=this,this.created(),this._applyListeners()}},{key:"_registered",value:function(){}},{key:"ready",value:function(){this._ensureAttributes(),f()(h()(t.prototype),"ready",this).call(this)}},{key:"_ensureAttributes",value:function(){}},{key:"_applyListeners",value:function(){}},{key:"serialize",value:function(e){return this._serializeValue(e)}},{key:"deserialize",value:function(e,t){return this._deserializeValue(e,t)}},{key:"reflectPropertyToAttribute",value:function(e,t,n){this._propertyToAttribute(e,t,n)}},{key:"serializeValueToAttribute",value:function(e,t,n){this._valueToNodeAttribute(n||this,e,t)}},{key:"extend",value:function(e,t){if(!e||!t)return e||t;for(var n,r=Object.getOwnPropertyNames(t),i=0;i0?Z.b.after(n):Z.a,t.bind(this))}},{key:"isDebouncerActive",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];return!(!t||!t.isActive())}},{key:"flushDebouncer",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];t&&t.flush()}},{key:"cancelDebouncer",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];t&&t.cancel()}},{key:"async",value:function(e,t){return t>0?Z.b.run(e.bind(this),t):~Z.a.run(e.bind(this))}},{key:"cancelAsync",value:function(e){e<0?Z.a.cancel(~e):Z.b.cancel(e)}},{key:"create",value:function(e,t){var n=document.createElement(e);if(t)if(n.setProperties)n.setProperties(t);else for(var r in t)n[r]=t[r];return n}},{key:"elementMatches",value:function(e,t){return Object(G.b)(t||this,e)}},{key:"toggleAttribute",value:function(e,t){var n=this;return 3===arguments.length&&(n=arguments[2]),1==arguments.length&&(t=!n.hasAttribute(e)),t?(Object(te.a)(n).setAttribute(e,""),!0):(Object(te.a)(n).removeAttribute(e),!1)}},{key:"toggleClass",value:function(e,t,n){n=n||this,1==arguments.length&&(t=!n.classList.contains(e)),t?n.classList.add(e):n.classList.remove(e)}},{key:"transform",value:function(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}},{key:"translate3d",value:function(e,t,n,r){r=r||this,this.transform("translate3d("+e+","+t+","+n+")",r)}},{key:"arrayDelete",value:function(e,t){var n;if(Array.isArray(e)){if((n=e.indexOf(t))>=0)return e.splice(n,1)}else if((n=Object(ee.a)(this,e).indexOf(t))>=0)return this.splice(e,n,1);return null}},{key:"_logger",value:function(e,t){var n;switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":(n=console)[e].apply(n,i()(t))}}},{key:"_log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;r=200&&e<300},send:function(e){var t=this.xhr;if(t.readyState>0)return null;t.addEventListener("progress",function(e){this._setProgress({lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total}),this.fire("iron-request-progress-changed",{value:this.progress})}.bind(this)),t.addEventListener("error",function(t){this._setErrored(!0),this._updateStatus();var n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("timeout",function(t){this._setTimedOut(!0),this._updateStatus();var n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("abort",function(){this._setAborted(!0),this._updateStatus();var t=new Error("Request aborted."),n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("loadend",function(){if(this._updateStatus(),this._setResponse(this.parseResponse()),this.succeeded)this.resolveCompletes(this);else{var t=new Error("The request failed with status code: "+this.xhr.status),n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}}.bind(this)),this.url=e.url;var n=!1!==e.async;t.open(e.method||"GET",e.url,n);var r={json:"application/json",text:"text/plain",html:"text/html",xml:"application/xml",arraybuffer:"application/octet-stream"}[e.handleAs],i=e.headers||Object.create(null),a=Object.create(null);for(var s in i)a[s.toLowerCase()]=i[s];if(i=a,r&&!i.accept&&(i.accept=r),Object.keys(i).forEach(function(e){/[A-Z]/.test(e)&&o.a._error("Headers must be lower case, got",e),t.setRequestHeader(e,i[e])},this),n){t.timeout=e.timeout;var u=e.handleAs;!e.jsonPrefix&&u||(u="text"),t.responseType=t._responseType=u,e.jsonPrefix&&(t._jsonPrefix=e.jsonPrefix)}t.withCredentials=!!e.withCredentials;var c=this._encodeBodyObject(e.body,i["content-type"]);return t.send(c),this.completes},parseResponse:function(){var e=this.xhr,t=e.responseType||e._responseType,n=!this.xhr.responseType,r=e._jsonPrefix&&e._jsonPrefix.length||0;try{switch(t){case"json":if(n||void 0===e.response)try{return JSON.parse(e.responseText)}catch(t){return console.warn("Failed to parse JSON sent from "+e.responseURL),null}return e.response;case"xml":return e.responseXML;case"blob":case"document":case"arraybuffer":return e.response;case"text":default:if(r)try{return JSON.parse(e.responseText.substring(r))}catch(t){return console.warn("Failed to parse JSON sent from "+e.responseURL),null}return e.responseText}}catch(e){this.rejectCompletes(new Error("Could not parse response. "+e.message))}},abort:function(){this._setAborted(!0),this.xhr.abort()},_encodeBodyObject:function(e,t){if("string"==typeof e)return e;var n=e;switch(t){case"application/json":return JSON.stringify(n);case"application/x-www-form-urlencoded":return this._wwwFormUrlEncode(n)}return e},_wwwFormUrlEncode:function(e){if(!e)return"";var t=[];return Object.keys(e).forEach(function(n){t.push(this._wwwFormUrlEncodePiece(n)+"="+this._wwwFormUrlEncodePiece(e[n]))},this),t.join("&")},_wwwFormUrlEncodePiece:function(e){return null!=e&&e.toString?encodeURIComponent(e.toString().replace(/\r?\n/g,"\r\n")).replace(/%20/g,"+"):""},_updateStatus:function(){this._setStatus(this.xhr.status),this._setStatusText(void 0===this.xhr.statusText?"":this.xhr.statusText)}}),Object(u.a)({is:"iron-ajax",hostAttributes:{hidden:!0},properties:{url:{type:String},params:{type:Object,value:function(){return{}}},method:{type:String,value:"GET"},headers:{type:Object,value:function(){return{}}},contentType:{type:String,value:null},body:{type:Object,value:null},sync:{type:Boolean,value:!1},handleAs:{type:String,value:"json"},withCredentials:{type:Boolean,value:!1},timeout:{type:Number,value:0},auto:{type:Boolean,value:!1},verbose:{type:Boolean,value:!1},lastRequest:{type:Object,notify:!0,readOnly:!0},lastProgress:{type:Object,notify:!0,readOnly:!0},loading:{type:Boolean,notify:!0,readOnly:!0},lastResponse:{type:Object,notify:!0,readOnly:!0},lastError:{type:Object,notify:!0,readOnly:!0},activeRequests:{type:Array,notify:!0,readOnly:!0,value:function(){return[]}},debounceDuration:{type:Number,value:0,notify:!0},jsonPrefix:{type:String,value:""},bubbles:{type:Boolean,value:!1},rejectWithRequest:{type:Boolean,value:!1},_boundHandleResponse:{type:Function,value:function(){return this._handleResponse.bind(this)}}},observers:["_requestOptionsChanged(url, method, params.*, headers, contentType, body, sync, handleAs, jsonPrefix, withCredentials, timeout, auto)"],created:function(){this._boundOnProgressChanged=this._onProgressChanged.bind(this)},get queryString(){var e,t,n=[];for(e in this.params)if(t=this.params[e],e=window.encodeURIComponent(e),Array.isArray(t))for(var r=0;r=0?"&":"?";return t+n+e}return t},get requestHeaders(){var e,t={},n=this.contentType;if(null==n&&"string"==typeof this.body&&(n="application/x-www-form-urlencoded"),n&&(t["content-type"]=n),"object"===s()(this.headers))for(e in this.headers)t[e]=this.headers[e].toString();return t},_onProgressChanged:function(e){this._setLastProgress(e.detail.value)},toRequestOptions:function(){return{url:this.requestUrl||"",method:this.method,headers:this.requestHeaders,body:this.body,async:!this.sync,handleAs:this.handleAs,jsonPrefix:this.jsonPrefix,withCredentials:this.withCredentials,timeout:this.timeout,rejectWithRequest:this.rejectWithRequest}},generateRequest:function(){var e=document.createElement("iron-request"),t=this.toRequestOptions();return this.push("activeRequests",e),e.completes.then(this._boundHandleResponse).catch(this._handleError.bind(this,e)).then(this._discardRequest.bind(this,e)),this.fire("iron-ajax-presend",{request:e,options:t},{bubbles:this.bubbles,cancelable:!0}).defaultPrevented?(e.abort(),e.rejectCompletes(e),e):(this.lastRequest&&this.lastRequest.removeEventListener("iron-request-progress-changed",this._boundOnProgressChanged),e.addEventListener("iron-request-progress-changed",this._boundOnProgressChanged),e.send(t),this._setLastProgress(null),this._setLastRequest(e),this._setLoading(!0),this.fire("request",{request:e,options:t},{bubbles:this.bubbles,composed:!0}),this.fire("iron-ajax-request",{request:e,options:t},{bubbles:this.bubbles,composed:!0}),e)},_handleResponse:function(e){e===this.lastRequest&&(this._setLastResponse(e.response),this._setLastError(null),this._setLoading(!1)),this.fire("response",e,{bubbles:this.bubbles,composed:!0}),this.fire("iron-ajax-response",e,{bubbles:this.bubbles,composed:!0})},_handleError:function(e,t){this.verbose&&o.a._error(t),e===this.lastRequest&&(this._setLastError({request:e,error:t,status:e.xhr.status,statusText:e.xhr.statusText,response:e.xhr.response}),this._setLastResponse(null),this._setLoading(!1)),this.fire("iron-ajax-error",{request:e,error:t},{bubbles:this.bubbles,composed:!0}),this.fire("error",{request:e,error:t},{bubbles:this.bubbles,composed:!0})},_discardRequest:function(e){var t=this.activeRequests.indexOf(e);t>-1&&this.splice("activeRequests",t,1)},_requestOptionsChanged:function(){this.debounce("generate-request",function(){null!=this.url&&this.auto&&this.generateRequest()},this.debounceDuration)}});var c=n(278),l=n(271);function p(){var e=i()(['\n \n\n \x3c!-- This form is used to collect the elements that should be submitted --\x3e\n \n\n \x3c!-- This form is used for submission --\x3e\n
\n'],['\n \n\n \x3c!-- This form is used to collect the elements that should be submitted --\x3e\n \n\n \x3c!-- This form is used for submission --\x3e\n
\n']);return p=function(){return e},e}Object(u.a)({_template:Object(l.a)(p()),is:"iron-form",properties:{allowRedirect:{type:Boolean,value:!1},headers:{type:Object,value:function(){return{}}},withCredentials:{type:Boolean,value:!1}},attached:function(){this._form||(this._form=Object(c.a)(this).querySelector("form"),this._form?(this._init(),this.async(this._saveInitialValues.bind(this),1)):this._nodeObserver=Object(c.a)(this).observeNodes(function(e){for(var t=0;t-1&&(d=a[_],a=a.slice(0,_))}a&&(r.push(a),a="",c=!1);var g=""!==d&&void 0!==f&&f!==d,w="+"===b||"*"===b,O="?"===b||"*"===b,k=d||s,x=y||m;r.push({name:v||i++,prefix:d,delimiter:k,optional:O,repeat:w,partial:g,pattern:x?W(x):"[^"+G(k)+"]+?"})}}return(a||o-1;else{var h=G(p.prefix),d=p.repeat?"(?:"+p.pattern+")(?:"+h+"(?:"+p.pattern+"))*":p.pattern;t&&t.push(p),p.optional?p.partial?u+=h+"("+d+")?":u+="(?:"+h+"("+d+"))?":u+=h+"("+d+")"}}return i?(r||(u+="(?:"+o+")?"),u+="$"===s?"$":"(?="+s+")"):(r||(u+="(?:"+o+"(?="+s+"))?"),c||(u+="(?="+o+"|"+s+")")),new RegExp("^"+u,X(n))}function ee(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&"/"===t.charAt(h)&&(h+=1),a=ie(p,t.substr(h),n,o.keys,o.params)}var d=a.next(c);if(!d.done)return{done:!1,value:d.value};a=null,s++}return{done:!0}}}}function oe(e){if(N(e.route.action))return e.route.action(e)}ne.set("|false",{keys:[],pattern:/(?:)/});var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b()(this,e),Object(t)!==t)throw new TypeError("Invalid routes");this.baseUrl=n.baseUrl||"",this.errorHandler=n.errorHandler,this.resolveRoute=n.resolveRoute||oe,this.context=Object.assign({resolver:this},n.context),this.root=Array.isArray(t)?{path:"",__children:t,parent:null,__synthetic:!0}:t,this.root.parent=null}return y()(e,[{key:"getRoutes",value:function(){return f()(this.root.__children)}},{key:"setRoutes",value:function(e){T(e);var t=f()(w(e));this.root.__children=t}},{key:"addRoutes",value:function(e){var t;return T(e),(t=this.root.__children).push.apply(t,f()(w(e))),this.getRoutes()}},{key:"removeRoutes",value:function(){this.setRoutes([])}},{key:"resolve",value:function(e){var t=this,n=Object.assign({},this.context,j(e)?{pathname:e}:e),r=ie(this.root,this.__normalizePathname(n.pathname),this.baseUrl),i=this.resolveRoute,o=null,a=null,s=n;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.value.route,c=null===(arguments.length>2?arguments[2]:void 0)&&o.value.route;return o=a||r.next(c),a=null,e||!o.done&&function(e,t){for(var n=t;n;)if((n=n.parent)===e)return!0;return!1}(t,o.value.route)?o.done?Promise.reject(R(n)):(function(e,t){var n=t.route,r=t.path;if(n&&!n.__synthetic){var i={path:r,route:n};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,n)?e.chain.push(i):e.chain=[i]}}(n,o.value),s=Object.assign({},n,o.value),Promise.resolve(i(s)).then(function(n){return null!=n&&n!==M?(s.result=n.result||n,s):u(e,t,n)})):(a=o,Promise.resolve(M))}return n.next=u,Promise.resolve().then(function(){return u(!0,t.root)}).catch(function(e){var n=function(e){var t="Path '".concat(e.pathname,"' is not properly resolved due to an error."),n=(e.route||{}).path;return n&&(t+=" Resolution had failed on route: '".concat(n,"'")),t}(s);if(e?console.warn(n):e=new Error(n),e.context=e.context||s,e instanceof DOMException||(e.code=e.code||500),t.errorHandler)return s.result=t.errorHandler(e),s;throw e})}},{key:"__normalizePathname",value:function(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,n=this.constructor.__createUrl(e,t).href;return n.slice(0,t.length)===t?n.slice(t.length):void 0}},{key:"__effectiveBaseUrl",get:function(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}}],[{key:"__createUrl",value:function(e,t){return new URL(e,t)}}]),e}();ae.pathToRegexp=B;var se=ae.pathToRegexp,ue=new Map;function ce(e,t){var n=e.get(t);if(n&&n.length>1)throw new Error('Duplicate route with name "'.concat(t,'".')+" Try seting unique 'name' route properties.");return n&&n[0]}function le(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof ae))throw new TypeError("An instance of Resolver is expected");var n=new Map;return function(r,i){var o=ce(n,r);if(!(o||(n.clear(),function e(t,n,r){var i=n.name||n.component;if(i&&(t.has(i)?t.get(i).push(n):t.set(i,[n])),Array.isArray(r))for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return ke(Ee.pathToRegexp.compile(xe(l))(Object.assign({},s,e)),c)}}}function _e(e,t){var n=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:n}}}function ge(e,t,n){if(N(e))return e.apply(n,t)}function we(e,t,n){return function(r){return r&&(r.cancel||r.redirect)?r:n?ge(n[e],t,n):void 0}}function Oe(e){if(e&&e.length)for(var t=e[0].parentNode,n=0;n1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(n).then(function(r){var i=r!==n?r:e;return r.next().then(function(e){if((null===e||e===M)&&ke(xe(r.chain),r.resolver)!==r.pathname)throw R(i);return e&&e!==M?t.__fullyResolveChain(i,e):t.__amendWithOnBeforeCallbacks(i)})})}},{key:"__amendWithResolutionResult",value:function(e){var t=this,n=e.result;return n instanceof HTMLElement?Promise.resolve(e):n.redirect?this.__redirect(n.redirect,e.__redirectCount).then(function(e){return t.__amendWithResolutionResult(e)}):n instanceof Error?Promise.reject(n):Promise.reject(new Error(O('Invalid route resolution result for path "'.concat(e.pathname,'". ')+'Expected redirect object or HTML element, but got: "'.concat(function(e){if("object"!==g()(e))return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?"".concat(t," ").concat(JSON.stringify(e)):t}(n),'". ')+"Double check the action return value for the route.")))}},{key:"__amendWithOnBeforeCallbacks",value:function(e){var t=this;return this.__runOnBeforeCallbacks(e).then(function(n){return n===t.__previousContext||n===e?n:t.__fullyResolveChain(n)})}},{key:"__runOnBeforeCallbacks",value:function(e){var t=this,n=(this.__previousContext||{}).chain||[],r=e.chain,i=Promise.resolve(),o=function(){return{cancel:!0}},a=function(t){return _e(e,t)};if(e.__divergedChainIndex=0,n.length){for(var s=0;s=e.__divergedChainIndex;u--){var c=be(e);i=i.then(we("onBeforeLeave",[c,{prevent:o},this],n[u].element)).then(function(e){if(!(e||{}).redirect)return e})}}for(var l=e.__divergedChainIndex;l256)throw new Error(O("Too many redirects when rendering ".concat(e.from)));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}},{key:"__ensureOutlet",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(O("Expected router outlet to be a valid DOM Node (but got ".concat(e,")")))}},{key:"__updateBrowserHistory",value:function(e,t){if(window.location.pathname!==e){var n=t?"replaceState":"pushState";window.history[n](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}},{key:"__addAppearingContent",value:function(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var n=this.__outlet,r=0;r=e.__divergedChainIndex;n--){var r=t.chain[n].element;if(r)try{var i=be(e);ge(r.onAfterLeave,[i,{},t.resolver],r)}finally{Oe(r.children)}}}},{key:"__runOnAfterEnterCallbacks",value:function(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(n&&r&&t){var s=I(t)&&t.leave||"leaving",u=I(t)&&t.enter||"entering";i.push(ye(n,s)),i.push(ye(r,u))}return Promise.all(i).then(function(){return e})}},{key:"subscribe",value:function(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"unsubscribe",value:function(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"__onNavigationEvent",value:function(e){var t=e?e.detail.pathname:window.location.pathname;j(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}},{key:"urlForName",value:function(e,t){return this.__urlForName||(this.__urlForName=pe(this)),ke(this.__urlForName(e,t),this)}},{key:"urlForPath",value:function(e,n){return ke(t.pathToRegexp.compile(e)(n),this)}}],[{key:"setTriggers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&!Ce(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),Te(Ae),Ee.NavigationTrigger={POPSTATE:q,CLICK:D}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(289),i=n(296),o=n(570);function a(e,t,n){return r.__awaiter(this,void 0,void 0,function(){var u,c,l,p,h,d=this;return r.__generator(this,function(f){switch(f.label){case 0:return u=n.fragmentMap,c=n.contextValue,l=n.variableValues,p={},h=function(e){return r.__awaiter(d,void 0,void 0,function(){var h,d,f,v,y;return r.__generator(this,function(r){switch(r.label){case 0:return i.shouldInclude(e,l)?i.isField(e)?[4,s(e,t,n)]:[3,2]:[2];case 1:return h=r.sent(),d=i.resultKeyNameFromField(e),void 0!==h&&(void 0===p[d]?p[d]=h:o.merge(p[d],h)),[2];case 2:if(i.isInlineFragment(e))f=e;else if(!(f=u[e.name.value]))throw new Error("No fragment named "+e.name.value);return v=f.typeCondition.name.value,n.fragmentMatcher(t,v,c)?[4,a(f.selectionSet,t,n)]:[3,4];case 3:y=r.sent(),o.merge(p,y),r.label=4;case 4:return[2]}})})},[4,Promise.all(e.selections.map(h))];case 1:return f.sent(),n.resultMapper?[2,n.resultMapper(p,t)]:[2,p]}})})}function s(e,t,n){return r.__awaiter(this,void 0,void 0,function(){var o,s,c,l,p,h,d;return r.__generator(this,function(r){switch(r.label){case 0:return o=n.variableValues,s=n.contextValue,c=n.resolver,l=e.name.value,p=i.argumentsObjectFromField(e,o),h={isLeaf:!e.selectionSet,resultKey:i.resultKeyNameFromField(e),directives:i.getDirectiveInfoFromField(e,o)},[4,c(l,t,p,s,h)];case 1:return d=r.sent(),e.selectionSet?null==d?[2,d]:Array.isArray(d)?[2,u(e,d,n)]:[2,a(e.selectionSet,d,n)]:[2,d]}})})}function u(e,t,n){return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?u(e,t,n):a(e.selectionSet,t,n)}))}t.graphql=function(e,t,n,r,o,s){void 0===s&&(s={});var u=i.getMainDefinition(t),c=i.getFragmentDefinitions(t),l={fragmentMap:i.createFragmentMap(c),contextValue:r,variableValues:o,resultMapper:s.resultMapper,resolver:e,fragmentMatcher:s.fragmentMatcher||function(){return!0}};return a(u.selectionSet,n,l)}},function(e,t,n){"use strict";(function(e){var t=n(281),r=n.n(t);e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,i="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!==r()(t))return JSON.stringify(t);var n,s;if(Array.isArray(t)){for(s="[",n=0;n1,i=!1,o=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=p(t,c);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return d(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(a("iterator")&&(r=p(t,u)))return new n(function(e){v(function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,m.default.GQL_START,e))}).catch(function(e){n.unsubscribe(r),t(n.formatErrors(e))}),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,i)||i&&!l.default(i)||r&&!p.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r({},n,{query:"string"==typeof n.query?n.query:h.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,this.wsProtocols),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var n=t.data;e.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var i=t.payload.errors?r({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,i);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(321))},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);rthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},function(e,t,n){"use strict";n.r(t),n.d(t,"tuple",function(){return d}),n.d(t,"lookup",function(){return p}),n.d(t,"lookupArray",function(){return h});var r="function"==typeof Symbol&&"function"==typeof Symbol.for,i=r?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=r?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!1,configurable:!1}),n}var s=Object.freeze||function(e){return e};function u(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var c=function(){this._weakMap=null,this._strongMap=null,this.data=null};c.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},c.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},c.prototype._getMap=function(e,t){return t?u(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):u(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new c,!1);function p(){return h(arguments)}function h(e){for(var t=l,n=e.length,r=0;r0&&(t=[],e.childValues.forEach(function(n,r){w(e,r),t.push(r)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),m(e,t)}function O(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(289),i=n(412),o=n(320);var a=function(){function e(e,t,n,i){var o=this;this.operation=e,this.nextLink=t,this.delayFor=n,this.retryIf=i,this.retryCount=0,this.values=[],this.complete=!1,this.canceled=!1,this.observers=[],this.currentSubscription=null,this.onNext=function(e){o.values.push(e);for(var t=0,n=o.observers;t=i)&&(n?n(r,t):!!r)}}(i),n}return Object(r.__extends)(t,e),t.prototype.request=function(e,t){var n=new a(e,t,this.delayFor,this.retryIf);return n.start(),new i.a(function(e){return n.subscribe(e),function(){n.unsubscribe(e)}})},t}(o.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(289),i=n(320),o=n(412);function a(e){return new i.a(function(t,n){return new o.a(function(r){var i,o,a;try{i=n(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(i)},complete:function(){a||r.complete.bind(r)()}})}catch(i){e({networkError:i,operation:t,forward:n}),r.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!function(e){function t(t){var n=e.call(this)||this;return n.link=a(t),n}Object(r.__extends)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(i.a)},function(e,t,n){"use strict";(function(e){var t,r,i=n(281),o=n.n(i);t=void 0,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===o()(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(n,"\\$&").replace(r,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,c=o.length;u=N;M-=1){var F=M-1,D=n[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==A&&(R[M]|=(E[M+1]|E[M])<<1|1|E[M+1]),R[M]&T&&(S=r(t,{errors:A,currentLocation:F,expectedLocation:y,distance:c}))<=b){if(b=S,(_=F)<=y)break;N=Math.max(1,2*y-_)}}if(r(t,{errors:A+1,currentLocation:y,expectedLocation:y,distance:c})>b)break;E=R}return{isMatch:_>=0,score:0===S?.001:S,matchedIndices:i(w,v)}}},"./src/bitap/index.js":function(e,t,n){function r(e,t){for(var n=0;nn)return i(e,this.pattern,r);var a=this.options,s=a.location,u=a.distance,c=a.threshold,l=a.findAllMatches,p=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:u,threshold:c,findAllMatches:l,minMatchCharLength:p})}}])&&r(t.prototype,n),s&&r(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,n){var r=n("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,n,i){if(n){var o=n.indexOf("."),a=n,s=null;-1!==o&&(a=n.slice(0,o),s=n.slice(o+1));var u=t[a];if(null!=u)if(s||"string"!=typeof u&&"number"!=typeof u)if(r(u))for(var c=0,l=u.length;c1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,i=n.fullSearcher,o=this._search(r,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,i=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,r={},i=[];if("string"==typeof n[0]){for(var o=0,a=n.length;o1)throw new Error("Key weight has to be > 0 and <= 1");d=d.name}else s[d]={weight:1};this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:u},{resultMap:r,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,i=void 0===r?-1:r,o=e.value,a=e.record,s=e.index,c=t.tokenSearchers,l=void 0===c?[]:c,p=t.fullSearcher,h=void 0===p?[]:p,d=t.resultMap,f=void 0===d?{}:d,v=t.results,y=void 0===v?[]:v;if(null!=o){var m=!1,b=-1,_=0;if("string"==typeof o){this._log("\nKey: ".concat(""===n?"-":n));var g=h.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),O=[],k=0;k-1&&(N=(N+b)/2),this._log("Score average:",N);var j=!this.options.tokenize||!this.options.matchAllTokens||_>=l.length;if(this._log("\nCheck Matches: ".concat(j)),(m||g.isMatch)&&j){var R=f[s];R?R.output.push({key:n,arrayIndex:i,value:o,score:N,matchedIndices:g.matchedIndices}):(f[s]={item:a,output:[{key:n,arrayIndex:i,value:o,score:N,matchedIndices:g.matchedIndices}]},y.push(f[s]))}}else if(u(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;o\n :host {\n @apply --layout-inline;\n @apply --layout-center-center;\n position: relative;\n\n vertical-align: middle;\n\n fill: var(--iron-icon-fill-color, currentcolor);\n stroke: var(--iron-icon-stroke-color, none);\n\n width: var(--iron-icon-width, 24px);\n height: var(--iron-icon-height, 24px);\n @apply --iron-icon;\n }\n\n :host([hidden]) {\n display: none;\n }\n \n"]);return p=function(){return e},e}Object(u.a)({_template:Object(l.a)(p()),is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:o.a.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(e){var t=(e||"").split(":");this._iconName=t.pop(),this._iconsetName=t.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(e){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&Object(c.a)(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,Object(c.a)(this.root).appendChild(this._img))}});n(425);var h=n(330),d={properties:{sizingTarget:{type:Object,value:function(){return this}},fitInto:{type:Object,value:window},noOverlap:{type:Boolean},positionTarget:{type:Element},horizontalAlign:{type:String},verticalAlign:{type:String},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},autoFitOnAttach:{type:Boolean,value:!1},_fitInfo:{type:Object}},get _fitWidth(){return this.fitInto===window?this.fitInto.innerWidth:this.fitInto.getBoundingClientRect().width},get _fitHeight(){return this.fitInto===window?this.fitInto.innerHeight:this.fitInto.getBoundingClientRect().height},get _fitLeft(){return this.fitInto===window?0:this.fitInto.getBoundingClientRect().left},get _fitTop(){return this.fitInto===window?0:this.fitInto.getBoundingClientRect().top},get _defaultPositionTarget(){var e=Object(c.a)(this).parentNode;return e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(e=e.host),e},get _localeHorizontalAlign(){if(this._isRTL){if("right"===this.horizontalAlign)return"left";if("left"===this.horizontalAlign)return"right"}return this.horizontalAlign},get __shouldPosition(){return(this.horizontalAlign||this.verticalAlign)&&this.positionTarget},attached:function(){void 0===this._isRTL&&(this._isRTL="rtl"==window.getComputedStyle(this).direction),this.positionTarget=this.positionTarget||this._defaultPositionTarget,this.autoFitOnAttach&&("none"===window.getComputedStyle(this).display?setTimeout(function(){this.fit()}.bind(this)):(window.ShadyDOM&&ShadyDOM.flush(),this.fit()))},detached:function(){this.__deferredFit&&(clearTimeout(this.__deferredFit),this.__deferredFit=null)},fit:function(){this.position(),this.constrain(),this.center()},_discoverInfo:function(){if(!this._fitInfo){var e=window.getComputedStyle(this),t=window.getComputedStyle(this.sizingTarget);this._fitInfo={inlineStyle:{top:this.style.top||"",left:this.style.left||"",position:this.style.position||""},sizerInlineStyle:{maxWidth:this.sizingTarget.style.maxWidth||"",maxHeight:this.sizingTarget.style.maxHeight||"",boxSizing:this.sizingTarget.style.boxSizing||""},positionedBy:{vertically:"auto"!==e.top?"top":"auto"!==e.bottom?"bottom":null,horizontally:"auto"!==e.left?"left":"auto"!==e.right?"right":null},sizedBy:{height:"none"!==t.maxHeight,width:"none"!==t.maxWidth,minWidth:parseInt(t.minWidth,10)||0,minHeight:parseInt(t.minHeight,10)||0},margin:{top:parseInt(e.marginTop,10)||0,right:parseInt(e.marginRight,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0}}}},resetFit:function(){var e=this._fitInfo||{};for(var t in e.sizerInlineStyle)this.sizingTarget.style[t]=e.sizerInlineStyle[t];for(var t in e.inlineStyle)this.style[t]=e.inlineStyle[t];this._fitInfo=null},refit:function(){var e=this.sizingTarget.scrollLeft,t=this.sizingTarget.scrollTop;this.resetFit(),this.fit(),this.sizingTarget.scrollLeft=e,this.sizingTarget.scrollTop=t},position:function(){if(this.__shouldPosition){this._discoverInfo(),this.style.position="fixed",this.sizingTarget.style.boxSizing="border-box",this.style.left="0px",this.style.top="0px";var e=this.getBoundingClientRect(),t=this.__getNormalizedRect(this.positionTarget),n=this.__getNormalizedRect(this.fitInto),r=this._fitInfo.margin,i={width:e.width+r.left+r.right,height:e.height+r.top+r.bottom},o=this.__getPosition(this._localeHorizontalAlign,this.verticalAlign,i,e,t,n),a=o.left+r.left,s=o.top+r.top,u=Math.min(n.right-r.right,a+e.width),c=Math.min(n.bottom-r.bottom,s+e.height);a=Math.max(n.left+r.left,Math.min(a,u-this._fitInfo.sizedBy.minWidth)),s=Math.max(n.top+r.top,Math.min(s,c-this._fitInfo.sizedBy.minHeight)),this.sizingTarget.style.maxWidth=Math.max(u-a,this._fitInfo.sizedBy.minWidth)+"px",this.sizingTarget.style.maxHeight=Math.max(c-s,this._fitInfo.sizedBy.minHeight)+"px",this.style.left=a-e.left+"px",this.style.top=s-e.top+"px"}},constrain:function(){if(!this.__shouldPosition){this._discoverInfo();var e=this._fitInfo;e.positionedBy.vertically||(this.style.position="fixed",this.style.top="0px"),e.positionedBy.horizontally||(this.style.position="fixed",this.style.left="0px"),this.sizingTarget.style.boxSizing="border-box";var t=this.getBoundingClientRect();e.sizedBy.height||this.__sizeDimension(t,e.positionedBy.vertically,"top","bottom","Height"),e.sizedBy.width||this.__sizeDimension(t,e.positionedBy.horizontally,"left","right","Width")}},_sizeDimension:function(e,t,n,r,i){this.__sizeDimension(e,t,n,r,i)},__sizeDimension:function(e,t,n,r,i){var o=this._fitInfo,a=this.__getNormalizedRect(this.fitInto),s="Width"===i?a.width:a.height,u=t===r,c=u?s-e[r]:e[n],l=o.margin[u?n:r],p="offset"+i,h=this[p]-this.sizingTarget[p];this.sizingTarget.style["max"+i]=s-l-c-h+"px"},center:function(){if(!this.__shouldPosition){this._discoverInfo();var e=this._fitInfo.positionedBy;if(!e.vertically||!e.horizontally){this.style.position="fixed",e.vertically||(this.style.top="0px"),e.horizontally||(this.style.left="0px");var t=this.getBoundingClientRect(),n=this.__getNormalizedRect(this.fitInto);if(!e.vertically){var r=n.top-t.top+(n.height-t.height)/2;this.style.top=r+"px"}if(!e.horizontally){var i=n.left-t.left+(n.width-t.width)/2;this.style.left=i+"px"}}}},__getNormalizedRect:function(e){return e===document.documentElement||e===window?{top:0,left:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect()},__getOffscreenArea:function(e,t,n){var r=Math.min(0,e.top)+Math.min(0,n.bottom-(e.top+t.height)),i=Math.min(0,e.left)+Math.min(0,n.right-(e.left+t.width));return Math.abs(r)*t.width+Math.abs(i)*t.height},__getPosition:function(e,t,n,r,i,o){var a,s=[{verticalAlign:"top",horizontalAlign:"left",top:i.top+this.verticalOffset,left:i.left+this.horizontalOffset},{verticalAlign:"top",horizontalAlign:"right",top:i.top+this.verticalOffset,left:i.right-n.width-this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"left",top:i.bottom-n.height-this.verticalOffset,left:i.left+this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"right",top:i.bottom-n.height-this.verticalOffset,left:i.right-n.width-this.horizontalOffset}];if(this.noOverlap){for(var u=0,c=s.length;u-1&&(this._interestedResizables.splice(t,1),this._unsubscribeIronResize(e))},_subscribeIronResize:function(e){e.addEventListener("iron-resize",this._boundOnDescendantIronResize)},_unsubscribeIronResize:function(e){e.removeEventListener("iron-resize",this._boundOnDescendantIronResize)},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(e){this._notifyingDescendant?e.stopPropagation():f.h||this._fireResize()},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var t=Object(c.a)(e).rootTarget;t!==this&&(t.assignParentResizable(this),this._notifyDescendant(t),e.stopPropagation())},_parentResizableChanged:function(e){e&&window.removeEventListener("resize",this._boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)},_requestResizeNotifications:function(){if(this.isAttached)if("loading"===document.readyState){var e=this._requestResizeNotifications.bind(this);document.addEventListener("readystatechange",function t(){document.removeEventListener("readystatechange",t),e()})}else this._findParent(),this._parentResizable?this._parentResizable._interestedResizables.forEach(function(e){e!==this&&e._findParent()},this):(v.forEach(function(e){e!==this&&e._findParent()},this),window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},_findParent:function(){this.assignParentResizable(null),this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable?v.delete(this):v.add(this)}},m=Element.prototype,b=m.matches||m.matchesSelector||m.mozMatchesSelector||m.msMatchesSelector||m.oMatchesSelector||m.webkitMatchesSelector,_={getTabbableNodes:function(e){var t=[];return this._collectTabbableNodes(e,t)?this._sortByTabIndex(t):t},isFocusable:function(e){return b.call(e,"input, select, textarea, button, object")?b.call(e,":not([disabled])"):b.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")},isTabbable:function(e){return this.isFocusable(e)&&b.call(e,':not([tabindex="-1"])')&&this._isVisible(e)},_normalizedTabIndex:function(e){if(this.isFocusable(e)){var t=e.getAttribute("tabindex")||0;return Number(t)}return-1},_collectTabbableNodes:function(e,t){if(e.nodeType!==Node.ELEMENT_NODE||!this._isVisible(e))return!1;var n,r=e,i=this._normalizedTabIndex(r),o=i>0;i>=0&&t.push(r),n="content"===r.localName||"slot"===r.localName?Object(c.a)(r).getDistributedNodes():Object(c.a)(r.root||r).children;for(var a=0;a0&&t.length>0;)this._hasLowerTabOrder(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return n.concat(e,t)},_hasLowerTabOrder:function(e,t){var n=Math.max(e.tabIndex,0),r=Math.max(t.tabIndex,0);return 0===n||0===r?r>n:n>r}};function g(){var e=i()(["\n \n\n \n"]);return g=function(){return e},e}Object(u.a)({_template:Object(l.a)(g()),is:"iron-overlay-backdrop",properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:"_openedChanged"}},listeners:{transitionend:"_onTransitionend"},created:function(){this.__openedRaf=null},attached:function(){this.opened&&this._openedChanged(this.opened)},prepare:function(){this.opened&&!this.parentNode&&Object(c.a)(document.body).appendChild(this)},open:function(){this.opened=!0},close:function(){this.opened=!1},complete:function(){this.opened||this.parentNode!==document.body||Object(c.a)(this.parentNode).removeChild(this)},_onTransitionend:function(e){e&&e.target===this&&this.complete()},_openedChanged:function(e){if(e)this.prepare();else{var t=window.getComputedStyle(this);"0s"!==t.transitionDuration&&0!=t.opacity||this.complete()}this.isAttached&&(this.__openedRaf&&(window.cancelAnimationFrame(this.__openedRaf),this.__openedRaf=null),this.scrollTop=this.scrollTop,this.__openedRaf=window.requestAnimationFrame(function(){this.__openedRaf=null,this.toggleClass("opened",this.opened)}.bind(this)))}});var w=n(378),O=function(){this._overlays=[],this._minimumZ=101,this._backdropElement=null,w.a(document.documentElement,"tap",function(){}),document.addEventListener("tap",this._onCaptureClick.bind(this),!0),document.addEventListener("focus",this._onCaptureFocus.bind(this),!0),document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)};O.prototype={constructor:O,get backdropElement(){return this._backdropElement||(this._backdropElement=document.createElement("iron-overlay-backdrop")),this._backdropElement},get deepActiveElement(){var e=document.activeElement;for(e&&e instanceof Element!=!1||(e=document.body);e.root&&Object(c.a)(e.root).activeElement;)e=Object(c.a)(e.root).activeElement;return e},_bringOverlayAtIndexToFront:function(e){var t=this._overlays[e];if(t){var n=this._overlays.length-1,r=this._overlays[n];if(r&&this._shouldBeBehindOverlay(t,r)&&n--,!(e>=n)){var i=Math.max(this.currentOverlayZ(),this._minimumZ);for(this._getZ(t)<=i&&this._applyOverlayZ(t,i);e=0)return this._bringOverlayAtIndexToFront(t),void this.trackBackdrop();var n=this._overlays.length,r=this._overlays[n-1],i=Math.max(this._getZ(r),this._minimumZ),o=this._getZ(e);if(r&&this._shouldBeBehindOverlay(e,r)){this._applyOverlayZ(r,i),n--;var a=this._overlays[n-1];i=Math.max(this._getZ(a),this._minimumZ)}o<=i&&this._applyOverlayZ(e,i),this._overlays.splice(n,0,e),this.trackBackdrop()},removeOverlay:function(e){var t=this._overlays.indexOf(e);-1!==t&&(this._overlays.splice(t,1),this.trackBackdrop())},currentOverlay:function(){var e=this._overlays.length-1;return this._overlays[e]},currentOverlayZ:function(){return this._getZ(this.currentOverlay())},ensureMinimumZ:function(e){this._minimumZ=Math.max(this._minimumZ,e)},focusOverlay:function(){var e=this.currentOverlay();e&&e._applyFocus()},trackBackdrop:function(){var e=this._overlayWithBackdrop();(e||this._backdropElement)&&(this.backdropElement.style.zIndex=this._getZ(e)-1,this.backdropElement.opened=!!e,this.backdropElement.prepare())},getBackdrops:function(){for(var e=[],t=0;t=0;e--)if(this._overlays[e].withBackdrop)return this._overlays[e]},_getZ:function(e){var t=this._minimumZ;if(e){var n=Number(e.style.zIndex||window.getComputedStyle(e).zIndex);n==n&&(t=n)}return t},_setZ:function(e,t){e.style.zIndex=t},_applyOverlayZ:function(e,t){this._setZ(e,t+2)},_overlayInPath:function(e){e=e||[];for(var t=0;t=0||(0===N.length&&function(){k=k||function(e){e.cancelable&&function(e){var t=Object(c.a)(e).rootTarget;"touchmove"!==e.type&&C!==t&&(C=t,T=function(e){for(var t=[],n=e.indexOf(x),r=0;r<=n;r++)if(e[r].nodeType===Node.ELEMENT_NODE){var i=e[r],o=i.style;"scroll"!==o.overflow&&"auto"!==o.overflow&&(o=window.getComputedStyle(i)),"scroll"!==o.overflow&&"auto"!==o.overflow||t.push(i)}return t}(Object(c.a)(e).path));if(!T.length)return!0;if("touchstart"===e.type)return!1;var n=function(e){var t={deltaX:e.deltaX,deltaY:e.deltaY};if("deltaX"in e);else if("wheelDeltaX"in e&&"wheelDeltaY"in e)t.deltaX=-e.wheelDeltaX,t.deltaY=-e.wheelDeltaY;else if("wheelDelta"in e)t.deltaX=0,t.deltaY=-e.wheelDelta;else if("axis"in e)t.deltaX=1===e.axis?e.detail:0,t.deltaY=2===e.axis?e.detail:0;else if(e.targetTouches){var n=e.targetTouches[0];t.deltaX=S.pageX-n.pageX,t.deltaY=S.pageY-n.pageY}return t}(e);return!function(e,t,n){if(!t&&!n)return;for(var r=Math.abs(n)>=Math.abs(t),i=0;i0:o.scrollTop0:o.scrollLeft=0))switch(this.scrollAction){case"lock":this.__restoreScrollPosition();break;case"refit":this.__deraf("refit",this.refit);break;case"cancel":this.cancel(e)}},__saveScrollPosition:function(){document.scrollingElement?(this.__scrollTop=document.scrollingElement.scrollTop,this.__scrollLeft=document.scrollingElement.scrollLeft):(this.__scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this.__scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft))},__restoreScrollPosition:function(){document.scrollingElement?(document.scrollingElement.scrollTop=this.__scrollTop,document.scrollingElement.scrollLeft=this.__scrollLeft):(document.documentElement.scrollTop=document.body.scrollTop=this.__scrollTop,document.documentElement.scrollLeft=document.body.scrollLeft=this.__scrollLeft)}},R=[d,y,j],M=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(e,t){for(var n in t)e[n]=t[n]},_cloneConfig:function(e){var t={isClone:!0};return this._copyProperties(t,e),t},_getAnimationConfigRecursive:function(e,t,n){var r;if(this.animationConfig)if(this.animationConfig.value&&"function"==typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else if(r=e?this.animationConfig[e]:this.animationConfig,Array.isArray(r)||(r=[r]),r)for(var i,o=0;i=r[o];o++)if(i.animatable)i.animatable._getAnimationConfigRecursive(i.type||e,t,n);else if(i.id){var a=t[i.id];a?(a.isClone||(t[i.id]=this._cloneConfig(a),a=t[i.id]),this._copyProperties(a,i)):t[i.id]=i}else n.push(i)},getAnimationConfig:function(e){var t={},n=[];for(var r in this._getAnimationConfigRecursive(e,t,n),t)n.push(t[r]);return n}},{_configureAnimations:function(e){var t=[],n=[];if(e.length>0)for(var r,i=0;r=e[i];i++){var o=document.createElement(r.name);if(o.isNeonAnimation){var a;o.configure||(o.configure=function(e){return null}),a=o.configure(r),n.push({result:a,config:r,neonAnimation:o})}else console.warn(this.is+":",r.name,"not found!")}for(var s=0;s\n :host {\n position: fixed;\n }\n\n #contentWrapper ::slotted(*) {\n overflow: auto;\n }\n\n #contentWrapper.animating ::slotted(*) {\n overflow: hidden;\n pointer-events: none;\n }\n \n\n
\n \n
\n']);return F=function(){return e},e}Object(u.a)({_template:Object(l.a)(F()),is:"iron-dropdown",behaviors:[h.a,a.a,R,M],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:"_allowOutsideScrollChanged"}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],get containedElement(){for(var e=Object(c.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t\n :host {\n display: inline-block;\n position: relative;\n padding: 8px;\n outline: none;\n\n @apply --paper-menu-button;\n }\n\n :host([disabled]) {\n cursor: auto;\n color: var(--disabled-text-color);\n\n @apply --paper-menu-button-disabled;\n }\n\n iron-dropdown {\n @apply --paper-menu-button-dropdown;\n }\n\n .dropdown-content {\n @apply --shadow-elevation-2dp;\n\n position: relative;\n border-radius: 2px;\n background-color: var(--paper-menu-button-dropdown-background, var(--primary-background-color));\n\n @apply --paper-menu-button-content;\n }\n\n :host([vertical-align="top"]) .dropdown-content {\n margin-bottom: 20px;\n margin-top: -10px;\n top: 10px;\n }\n\n :host([vertical-align="bottom"]) .dropdown-content {\n bottom: 10px;\n margin-bottom: -10px;\n margin-top: 20px;\n }\n\n #trigger {\n cursor: pointer;\n }\n \n\n
\n \n
\n\n \n \n \n']);return L=function(){return e},e}Object(u.a)({is:"paper-menu-grow-height-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this._effect=new KeyframeEffect(t,[{height:n/2+"px"},{height:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(u.a)({is:"paper-menu-grow-width-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n/2+"px"},{width:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(u.a)({is:"paper-menu-shrink-width-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n+"px"},{width:n-n/20+"px"}],this.timingFromConfig(e)),this._effect}}),Object(u.a)({is:"paper-menu-shrink-height-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this.setPrefixedProperty(t,"transformOrigin","0 0"),this._effect=new KeyframeEffect(t,[{height:n+"px",transform:"translateY(0)"},{height:n/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(e)),this._effect}});var q={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400},B=Object(u.a)({_template:Object(l.a)(L()),is:"paper-menu-button",behaviors:[a.a,h.a],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:q.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:q.ANIMATION_CUBIC_BEZIER}}]}},closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:q.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get contentElement(){for(var e=Object(c.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t-1&&e.preventDefault()}});Object.keys(q).forEach(function(e){B[e]=q[e]});n(474);Object(u.a)({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1},useGlobalRtlAttribute:{type:Boolean,value:!1}},created:function(){this._meta=new s.a({type:"iconset",key:null,value:null})},attached:function(){this.style.display="none"},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map(function(e){return this.name+":"+e},this)},applyIcon:function(e,t){this.removeIcon(e);var n=this._cloneIcon(t,this.rtlMirroring&&this._targetIsRTL(e));if(n){var r=Object(c.a)(e.root||e);return r.insertBefore(n,r.childNodes[0]),e._svgIcon=n}return null},removeIcon:function(e){e._svgIcon&&(Object(c.a)(e.root||e).removeChild(e._svgIcon),e._svgIcon=null)},_targetIsRTL:function(e){if(null==this.__targetIsRTL)if(this.useGlobalRtlAttribute){var t=document.body&&document.body.hasAttribute("dir")?document.body:document.documentElement;this.__targetIsRTL="rtl"===t.getAttribute("dir")}else e&&e.nodeType!==Node.ELEMENT_NODE&&(e=e.host),this.__targetIsRTL=e&&"rtl"===window.getComputedStyle(e).direction;return this.__targetIsRTL},_nameChanged:function(){this._meta.value=null,this._meta.key=this.name,this._meta.value=this,this.async(function(){this.fire("iron-iconset-added",this,{node:window})})},_createIconMap:function(){var e=Object.create(null);return Object(c.a)(this).querySelectorAll("[id]").forEach(function(t){e[t.id]=t}),e},_cloneIcon:function(e,t){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size,t)},_prepareSvgClone:function(e,t,n){if(e){var r=e.cloneNode(!0),i=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=r.getAttribute("viewBox")||"0 0 "+t+" "+t,a="pointer-events: none; display: block; width: 100%; height: 100%;";return n&&r.hasAttribute("mirror-in-rtl")&&(a+="-webkit-transform:scale(-1,1);transform:scale(-1,1);transform-origin:center;"),i.setAttribute("viewBox",o),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),i.style.cssText=a,i.appendChild(r).removeAttribute("id"),i}return null}});var V=document.createElement("template");V.setAttribute("style","display: none;"),V.innerHTML='\n\n\n\n',document.head.appendChild(V.content);var z=document.createElement("template");z.setAttribute("style","display: none;"),z.innerHTML='\n \n',document.head.appendChild(z.content);var Q=n(380),U=n(491),H=n(490);function K(){var e=i()(['\n \n\n \x3c!-- this div fulfills an a11y requirement for combobox, do not remove --\x3e\n \n \n \x3c!-- support hybrid mode: user might be using paper-menu-button 1.x which distributes via --\x3e\n \n \n \n']);return K=function(){return e},e}Object(u.a)({_template:Object(l.a)(K()),is:"paper-dropdown-menu",behaviors:[Q.a,h.a,U.a,H.a],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},hostAttributes:{role:"combobox","aria-autocomplete":"none","aria-haspopup":"true"},observers:["_selectedItemChanged(selectedItem)"],attached:function(){var e=this.contentElement;e&&e.selectedItem&&this._setSelectedItem(e.selectedItem)},get contentElement(){for(var e=Object(c.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,u=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function c(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function _(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}function g(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function w(e){return isNaN(e)?b.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function O(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i=i)return new g(b.EOF,i,i,a,s,t);var u=r.charCodeAt(o);switch(u){case 33:return new g(b.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new g(b.COMMENT,t,s,n,r,i,a.slice(t+1,s))}(n,o,a,s,t);case 36:return new g(b.DOLLAR,o,o+1,a,s,t);case 38:return new g(b.AMP,o,o+1,a,s,t);case 40:return new g(b.PAREN_L,o,o+1,a,s,t);case 41:return new g(b.PAREN_R,o,o+1,a,s,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new g(b.SPREAD,o,o+3,a,s,t);break;case 58:return new g(b.COLON,o,o+1,a,s,t);case 61:return new g(b.EQUALS,o,o+1,a,s,t);case 64:return new g(b.AT,o,o+1,a,s,t);case 91:return new g(b.BRACKET_L,o,o+1,a,s,t);case 93:return new g(b.BRACKET_R,o,o+1,a,s,t);case 123:return new g(b.BRACE_L,o,o+1,a,s,t);case 124:return new g(b.PIPE,o,o+1,a,s,t);case 125:return new g(b.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,u=0;for(;s!==a&&!isNaN(u=o.charCodeAt(s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new g(b.NAME,t,s,n,r,i,o.slice(t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,u=t,c=!1;45===s&&(s=a.charCodeAt(++u));if(48===s){if((s=a.charCodeAt(++u))>=48&&s<=57)throw d(e,u,"Invalid number, unexpected digit after 0: ".concat(w(s),"."))}else u=k(e,u,s),s=a.charCodeAt(u);46===s&&(c=!0,s=a.charCodeAt(++u),u=k(e,u,s),s=a.charCodeAt(u));69!==s&&101!==s||(c=!0,43!==(s=a.charCodeAt(++u))&&45!==s||(s=a.charCodeAt(++u)),u=k(e,u,s));return new g(c?b.FLOAT:b.INT,t,u,r,i,o,a.slice(t,u))}(n,o,u,a,s,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,u=s,c=0,l="";for(;s=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw d(e,i,"Invalid number, expected digit but got: ".concat(w(o),"."))}function x(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(g,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var E=n(464),S=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function C(e,t){var n="string"==typeof e?new u(e):e;if(!(n instanceof u))throw new TypeError("Must provide Source. Received: ".concat(Object(r.a)(n)));return function(e){var t=e.token;return{kind:E.a.DOCUMENT,definitions:we(e,b.SOF,I,b.EOF),loc:he(e,t)}}(v(n,t||{}))}function T(e,t){var n=v("string"==typeof e?new u(e):e,t||{});ve(n,b.SOF);var r=U(n,!1);return ve(n,b.EOF),r}function A(e,t){var n=v("string"==typeof e?new u(e):e,t||{});ve(n,b.SOF);var r=G(n);return ve(n,b.EOF),r}function P(e){var t=ve(e,b.NAME);return{kind:E.a.NAME,value:t.value,loc:he(e,t)}}function I(e){if(fe(e,b.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return N(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return X(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===b.NAME)switch(t.value){case"schema":return function(e){var t=e.token;me(e,"extend"),me(e,"schema");var n=Y(e,!0),r=fe(e,b.BRACE_L)?we(e,b.BRACE_L,te,b.BRACE_R):[];if(0===n.length&&0===r.length)throw _e(e);return{kind:E.a.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:he(e,t)}}(e);case"scalar":return function(e){var t=e.token;me(e,"extend"),me(e,"scalar");var n=P(e),r=Y(e,!0);if(0===r.length)throw _e(e);return{kind:E.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:he(e,t)}}(e);case"type":return function(e){var t=e.token;me(e,"extend"),me(e,"type");var n=P(e),r=ne(e),i=Y(e,!0),o=re(e);if(0===r.length&&0===i.length&&0===o.length)throw _e(e);return{kind:E.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:he(e,t)}}(e);case"interface":return function(e){var t=e.token;me(e,"extend"),me(e,"interface");var n=P(e),r=Y(e,!0),i=re(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:he(e,t)}}(e);case"union":return function(e){var t=e.token;me(e,"extend"),me(e,"union");var n=P(e),r=Y(e,!0),i=se(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:he(e,t)}}(e);case"enum":return function(e){var t=e.token;me(e,"extend"),me(e,"enum");var n=P(e),r=Y(e,!0),i=ue(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:he(e,t)}}(e);case"input":return function(e){var t=e.token;me(e,"extend"),me(e,"input");var n=P(e),r=Y(e,!0),i=le(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:he(e,t)}}(e)}throw _e(e,t)}(e)}else{if(fe(e,b.BRACE_L))return N(e);if(Z(e))return X(e)}throw _e(e)}function N(e){if(fe(e,b.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return j(e);case"fragment":return function(e){var t=e.token;if(me(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:E.a.FRAGMENT_DEFINITION,name:Q(e),variableDefinitions:M(e),typeCondition:(me(e,"on"),W(e)),directives:Y(e,!1),selectionSet:L(e),loc:he(e,t)};return{kind:E.a.FRAGMENT_DEFINITION,name:Q(e),typeCondition:(me(e,"on"),W(e)),directives:Y(e,!1),selectionSet:L(e),loc:he(e,t)}}(e)}else if(fe(e,b.BRACE_L))return j(e);throw _e(e)}function j(e){var t=e.token;if(fe(e,b.BRACE_L))return{kind:E.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:L(e),loc:he(e,t)};var n,r=R(e);return fe(e,b.NAME)&&(n=P(e)),{kind:E.a.OPERATION_DEFINITION,operation:r,name:n,variableDefinitions:M(e),directives:Y(e,!1),selectionSet:L(e),loc:he(e,t)}}function R(e){var t=ve(e,b.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw _e(e,t)}function M(e){return fe(e,b.PAREN_L)?we(e,b.PAREN_L,F,b.PAREN_R):[]}function F(e){var t=e.token;return{kind:E.a.VARIABLE_DEFINITION,variable:D(e),type:(ve(e,b.COLON),G(e)),defaultValue:ye(e,b.EQUALS)?U(e,!0):void 0,directives:Y(e,!0),loc:he(e,t)}}function D(e){var t=e.token;return ve(e,b.DOLLAR),{kind:E.a.VARIABLE,name:P(e),loc:he(e,t)}}function L(e){var t=e.token;return{kind:E.a.SELECTION_SET,selections:we(e,b.BRACE_L,q,b.BRACE_R),loc:he(e,t)}}function q(e){return fe(e,b.SPREAD)?function(e){var t=e.token;ve(e,b.SPREAD);var n=be(e,"on");if(!n&&fe(e,b.NAME))return{kind:E.a.FRAGMENT_SPREAD,name:Q(e),directives:Y(e,!1),loc:he(e,t)};return{kind:E.a.INLINE_FRAGMENT,typeCondition:n?W(e):void 0,directives:Y(e,!1),selectionSet:L(e),loc:he(e,t)}}(e):function(e){var t,n,r=e.token,i=P(e);ye(e,b.COLON)?(t=i,n=P(e)):n=i;return{kind:E.a.FIELD,alias:t,name:n,arguments:B(e,!1),directives:Y(e,!1),selectionSet:fe(e,b.BRACE_L)?L(e):void 0,loc:he(e,r)}}(e)}function B(e,t){var n=t?z:V;return fe(e,b.PAREN_L)?we(e,b.PAREN_L,n,b.PAREN_R):[]}function V(e){var t=e.token,n=P(e);return ve(e,b.COLON),{kind:E.a.ARGUMENT,name:n,value:U(e,!1),loc:he(e,t)}}function z(e){var t=e.token;return{kind:E.a.ARGUMENT,name:P(e),value:(ve(e,b.COLON),K(e)),loc:he(e,t)}}function Q(e){if("on"===e.token.value)throw _e(e);return P(e)}function U(e,t){var n=e.token;switch(n.kind){case b.BRACKET_L:return function(e,t){var n=e.token,r=t?K:$;return{kind:E.a.LIST,values:ge(e,b.BRACKET_L,r,b.BRACKET_R),loc:he(e,n)}}(e,t);case b.BRACE_L:return function(e,t){var n=e.token;return{kind:E.a.OBJECT,fields:ge(e,b.BRACE_L,function(){return function(e,t){var n=e.token,r=P(e);return ve(e,b.COLON),{kind:E.a.OBJECT_FIELD,name:r,value:U(e,t),loc:he(e,n)}}(e,t)},b.BRACE_R),loc:he(e,n)}}(e,t);case b.INT:return e.advance(),{kind:E.a.INT,value:n.value,loc:he(e,n)};case b.FLOAT:return e.advance(),{kind:E.a.FLOAT,value:n.value,loc:he(e,n)};case b.STRING:case b.BLOCK_STRING:return H(e);case b.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:E.a.BOOLEAN,value:"true"===n.value,loc:he(e,n)}):"null"===n.value?(e.advance(),{kind:E.a.NULL,loc:he(e,n)}):(e.advance(),{kind:E.a.ENUM,value:n.value,loc:he(e,n)});case b.DOLLAR:if(!t)return D(e)}throw _e(e)}function H(e){var t=e.token;return e.advance(),{kind:E.a.STRING,value:t.value,block:t.kind===b.BLOCK_STRING,loc:he(e,t)}}function K(e){return U(e,!0)}function $(e){return U(e,!1)}function Y(e,t){for(var n=[];fe(e,b.AT);)n.push(J(e,t));return n}function J(e,t){var n=e.token;return ve(e,b.AT),{kind:E.a.DIRECTIVE,name:P(e),arguments:B(e,t),loc:he(e,n)}}function G(e){var t,n=e.token;return ye(e,b.BRACKET_L)?(t=G(e),ve(e,b.BRACKET_R),t={kind:E.a.LIST_TYPE,type:t,loc:he(e,n)}):t=W(e),ye(e,b.BANG)?{kind:E.a.NON_NULL_TYPE,type:t,loc:he(e,n)}:t}function W(e){var t=e.token;return{kind:E.a.NAMED_TYPE,name:P(e),loc:he(e,t)}}function X(e){var t=Z(e)?e.lookahead():e.token;if(t.kind===b.NAME)switch(t.value){case"schema":return function(e){var t=e.token;me(e,"schema");var n=Y(e,!0),r=we(e,b.BRACE_L,te,b.BRACE_R);return{kind:E.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:he(e,t)}}(e);case"scalar":return function(e){var t=e.token,n=ee(e);me(e,"scalar");var r=P(e),i=Y(e,!0);return{kind:E.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:he(e,t)}}(e);case"type":return function(e){var t=e.token,n=ee(e);me(e,"type");var r=P(e),i=ne(e),o=Y(e,!0),a=re(e);return{kind:E.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a,loc:he(e,t)}}(e);case"interface":return function(e){var t=e.token,n=ee(e);me(e,"interface");var r=P(e),i=Y(e,!0),o=re(e);return{kind:E.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:he(e,t)}}(e);case"union":return function(e){var t=e.token,n=ee(e);me(e,"union");var r=P(e),i=Y(e,!0),o=se(e);return{kind:E.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:he(e,t)}}(e);case"enum":return function(e){var t=e.token,n=ee(e);me(e,"enum");var r=P(e),i=Y(e,!0),o=ue(e);return{kind:E.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:he(e,t)}}(e);case"input":return function(e){var t=e.token,n=ee(e);me(e,"input");var r=P(e),i=Y(e,!0),o=le(e);return{kind:E.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:he(e,t)}}(e);case"directive":return function(e){var t=e.token,n=ee(e);me(e,"directive"),ve(e,b.AT);var r=P(e),i=oe(e);me(e,"on");var o=function(e){ye(e,b.PIPE);var t=[];do{t.push(pe(e))}while(ye(e,b.PIPE));return t}(e);return{kind:E.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:he(e,t)}}(e)}throw _e(e,t)}function Z(e){return fe(e,b.STRING)||fe(e,b.BLOCK_STRING)}function ee(e){if(Z(e))return H(e)}function te(e){var t=e.token,n=R(e);ve(e,b.COLON);var r=W(e);return{kind:E.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:he(e,t)}}function ne(e){var t=[];if(be(e,"implements")){ye(e,b.AMP);do{t.push(W(e))}while(ye(e,b.AMP)||e.options.allowLegacySDLImplementsInterfaces&&fe(e,b.NAME))}return t}function re(e){return e.options.allowLegacySDLEmptyFields&&fe(e,b.BRACE_L)&&e.lookahead().kind===b.BRACE_R?(e.advance(),e.advance(),[]):fe(e,b.BRACE_L)?we(e,b.BRACE_L,ie,b.BRACE_R):[]}function ie(e){var t=e.token,n=ee(e),r=P(e),i=oe(e);ve(e,b.COLON);var o=G(e),a=Y(e,!0);return{kind:E.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a,loc:he(e,t)}}function oe(e){return fe(e,b.PAREN_L)?we(e,b.PAREN_L,ae,b.PAREN_R):[]}function ae(e){var t=e.token,n=ee(e),r=P(e);ve(e,b.COLON);var i,o=G(e);ye(e,b.EQUALS)&&(i=K(e));var a=Y(e,!0);return{kind:E.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:i,directives:a,loc:he(e,t)}}function se(e){var t=[];if(ye(e,b.EQUALS)){ye(e,b.PIPE);do{t.push(W(e))}while(ye(e,b.PIPE))}return t}function ue(e){return fe(e,b.BRACE_L)?we(e,b.BRACE_L,ce,b.BRACE_R):[]}function ce(e){var t=e.token,n=ee(e),r=P(e),i=Y(e,!0);return{kind:E.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:he(e,t)}}function le(e){return fe(e,b.BRACE_L)?we(e,b.BRACE_L,ae,b.BRACE_R):[]}function pe(e){var t=e.token,n=P(e);if(S.hasOwnProperty(n.value))return n;throw _e(e,t)}function he(e,t){if(!e.options.noLocation)return new de(t,e.lastToken,e.source)}function de(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function fe(e,t){return e.token.kind===t}function ve(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw d(e.source,n.start,"Expected ".concat(t,", found ").concat(_(n)))}function ye(e,t){var n=e.token;if(n.kind===t)return e.advance(),n}function me(e,t){var n=e.token;if(n.kind===b.NAME&&n.value===t)return e.advance(),n;throw d(e.source,n.start,'Expected "'.concat(t,'", found ').concat(_(n)))}function be(e,t){var n=e.token;if(n.kind===b.NAME&&n.value===t)return e.advance(),n}function _e(e,t){var n=t||e.token;return d(e.source,n.start,"Unexpected ".concat(_(n)))}function ge(e,t,n,r){ve(e,t);for(var i=[];!ye(e,r);)i.push(n(e));return i}function we(e,t,n,r){ve(e,t);for(var i=[n(e)];!ye(e,r);)i.push(n(e));return i}n.d(t,"parse",function(){return C}),n.d(t,"parseValue",function(){return T}),n.d(t,"parseType",function(){return A}),n.d(t,"parseConstValue",function(){return K}),n.d(t,"parseTypeReference",function(){return G}),n.d(t,"parseNamedType",function(){return W}),o(de,function(){return{start:this.start,end:this.end}})},,,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(332),n(315)),a=n(278),s=n(377),u=n(261),c=n.n(u),l=n(262),p=n.n(l),h=function(){function e(t){c()(this,e),this.selection=[],this.selectCallback=t}return p()(e,[{key:"get",value:function(){return this.multi?this.selection.slice():this.selection[0]}},{key:"clear",value:function(e){this.selection.slice().forEach(function(t){(!e||e.indexOf(t)<0)&&this.setItemSelected(t,!1)},this)}},{key:"isSelected",value:function(e){return this.selection.indexOf(e)>=0}},{key:"setItemSelected",value:function(e,t){if(null!=e&&t!==this.isSelected(e)){if(t)this.selection.push(e);else{var n=this.selection.indexOf(e);n>=0&&this.selection.splice(n,1)}this.selectCallback&&this.selectCallback(e,t)}}},{key:"select",value:function(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))}},{key:"toggle",value:function(e){this.setItemSelected(e,!this.isSelected(e))}}]),e}(),d={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1,"dom-bind":1,"dom-if":1,"dom-repeat":1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new h(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._addListener(this.activateEvent)},detached:function(){this._observer&&Object(a.a)(this).unobserveNodes(this._observer),this._removeListener(this.activateEvent)},indexOf:function(e){return this.items?this.items.indexOf(e):-1},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=e-1;void 0!==this.selected&&(t=(Number(this._valueToIndex(this.selected))-1+e)%e),this.selected=this._indexToValue(t)},selectNext:function(){var e=0;void 0!==this.selected&&(e=(Number(this._valueToIndex(this.selected))+1)%this.items.length),this.selected=this._indexToValue(e)},selectIndex:function(e){this.select(this._indexToValue(e))},forceSynchronousItemUpdate:function(){this._observer&&"function"==typeof this._observer.flush?this._observer.flush():this._updateItems()},get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){this.unlisten(this,e,"_activateHandler")},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateItems:function(){var e=Object(a.a)(this).queryDistributedElements(this.selectable||"*");e=Array.prototype.filter.call(e,this._bindFilterItem),this._setItems(e)},_updateAttrForSelected:function(){this.selectedItem&&(this.selected=this._valueForItem(this.selectedItem))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){if(this.items){var t=this._valueToItem(this.selected);t?this._selection.select(t):this._selection.clear(),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)}},_filterItem:function(e){return!this._excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,n=0;t=this.items[n];n++)if(this._valueForItem(t)==e)return n},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){if(!e)return null;if(!this.attrForSelected){var t=this.indexOf(e);return-1===t?null:t}var n=e[Object(s.b)(this.attrForSelected)];return null!=n?n:e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeItems:function(e){return Object(a.a)(e).observeNodes(function(e){this._updateItems(),this._updateSelected(),this.fire("iron-items-changed",e,{bubbles:!1,cancelable:!1})})},_activateHandler:function(e){for(var t=e.target,n=this.items;t&&t!=this;){var r=n.indexOf(t);if(r>=0){var i=this._indexToValue(r);return void this._itemActivate(i,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}},f={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0,value:function(){return[]}},selectedItems:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}}},observers:["_updateSelected(selectedValues.splices)"],select:function(e){this.multi?this._toggleSelected(e):this.selected=e},multiChanged:function(e){this._selection.multi=e,this._updateSelected()},get _shouldUpdateSelection(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi?this.selectedItems&&this.selectedItems.length>0&&(this.selectedValues=this.selectedItems.map(function(e){return this._indexToValue(this.indexOf(e))},this).filter(function(e){return null!=e},this)):d._updateAttrForSelected.apply(this)},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){e=e||[];var t=(this._valuesToItems(e)||[]).filter(function(e){return null!=e});this._selection.clear(t);for(var n=0;n\n :host {\n display: block;\n padding: 8px 0;\n\n background: var(--paper-listbox-background-color, var(--primary-background-color));\n color: var(--paper-listbox-color, var(--primary-text-color));\n\n @apply --paper-listbox;\n }\n \n\n \n"]);return _=function(){return e},e}Object(m.a)({_template:Object(b.a)(_()),is:"paper-listbox",behaviors:[y],hostAttributes:{role:"listbox"}})},,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(353),n(267)),a=(n(473),n(271));function s(){var e=i()(['\n\n \n']);return s=function(){return e},e}var u=Object(a.a)(s());u.setAttribute("style","display: none;"),document.head.appendChild(u.content);var c=n(380),l=n(330),p=(n(474),n(278)),h={properties:{noink:{type:Boolean,observer:"_noinkChanged"},_rippleContainer:{type:Object}},_buttonStateChanged:function(){this.focused&&this.ensureRipple()},_downHandler:function(e){c.b._downHandler.call(this,e),this.pressed&&this.ensureRipple(e)},ensureRipple:function(e){if(!this.hasRipple()){this._ripple=this._createRipple(),this._ripple.noink=this.noink;var t=this._rippleContainer||this.root;if(t&&Object(p.a)(t).appendChild(this._ripple),e){var n=Object(p.a)(this._rippleContainer||this),r=Object(p.a)(e).rootTarget;n.deepContains(r)&&this._ripple.uiDownAction(e)}}},getRipple:function(){return this.ensureRipple(),this._ripple},hasRipple:function(){return Boolean(this._ripple)},_createRipple:function(){return document.createElement("paper-ripple")},_noinkChanged:function(e){this.hasRipple()&&(this._ripple.noink=e)}},d={properties:{elevation:{type:Number,reflectToAttribute:!0,readOnly:!0}},observers:["_calculateElevation(focused, disabled, active, pressed, receivedFocusFromKeyboard)","_computeKeyboardClass(receivedFocusFromKeyboard)"],hostAttributes:{role:"button",tabindex:"0",animated:!0},_calculateElevation:function(){var e=1;this.disabled?e=0:this.active||this.pressed?e=4:this.receivedFocusFromKeyboard&&(e=3),this._setElevation(e)},_computeKeyboardClass:function(e){this.toggleClass("keyboard-focus",e)},_spaceKeyDownHandler:function(e){c.b._spaceKeyDownHandler.call(this,e),this.hasRipple()&&this.getRipple().ripples.length<1&&this._ripple.uiDownAction()},_spaceKeyUpHandler:function(e){c.b._spaceKeyUpHandler.call(this,e),this.hasRipple()&&this._ripple.uiUpAction()}},f=[c.a,l.a,h,d],v=n(272);function y(){var e=i()(['\n \n\n ']);return y=function(){return e},e}var m=Object(o.b)(y());m.setAttribute("strip-whitespace",""),Object(v.a)({_template:m,is:"paper-button",behaviors:[f],properties:{raised:{type:Boolean,reflectToAttribute:!0,value:!1,observer:"_calculateElevation"}},_calculateElevation:function(){this.raised?d._calculateElevation.apply(this):this._setElevation(0)}})},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(353),n(415),n(332),n(390),document.createElement("template"));o.setAttribute("style","display: none;"),o.innerHTML="\n \n",document.head.appendChild(o.content);var a=n(272),s=n(271),u=n(380),c=n(330),l=[u.a,c.a,{hostAttributes:{role:"option",tabindex:"0"}}];function p(){var e=i()(['\n \n \n']);return p=function(){return e},e}Object(a.a)({_template:Object(s.a)(p()),is:"paper-item",behaviors:[l]})},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(415),document.createElement("template"));o.setAttribute("style","display: none;"),o.innerHTML="\n \n",document.head.appendChild(o.content);var a=n(272),s=n(271),u={properties:{active:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"__activeChanged"},alt:{type:String,value:"loading",observer:"__altChanged"},__coolingDown:{type:Boolean,value:!1}},__computeContainerClasses:function(e,t){return[e||t?"active":"",t?"cooldown":""].join(" ")},__activeChanged:function(e,t){this.__setAriaHidden(!e),this.__coolingDown=!e&&t},__altChanged:function(e){"loading"===e?this.alt=this.getAttribute("aria-label")||e:(this.__setAriaHidden(""===e),this.setAttribute("aria-label",e))},__setAriaHidden:function(e){e?this.setAttribute("aria-hidden","true"):this.removeAttribute("aria-hidden")},__reset:function(){this.active=!1,this.__coolingDown=!1}};function c(){var e=i()(['\n \n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n']);return c=function(){return e},e}var l=Object(s.a)(c());l.setAttribute("strip-whitespace",""),Object(a.a)({_template:l,is:"paper-spinner",behaviors:[u]})},function(e,t,n){"use strict";var r=n(289),i=n(320),o=n(412),a=n(411),s="Invariant Violation",u=Object.setPrototypeOf,c=void 0===u?function(e,t){return e.__proto__=t,e}:u,l=function(e){function t(n){void 0===n&&(n=s);var r=e.call(this,"number"==typeof n?s+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=s,c(r,t.prototype),r}return Object(r.__extends)(t,e),t}(Error);function p(e,t){if(!e)throw new l(t)}!function(e){e.warn=function(){for(var e=[],t=0;t=300&&d(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||d(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName)+"'."),t})})).then(function(e){return n.next(e),n.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))}),function(){b&&b.abort()}})})};var y=function(e){function t(t){return e.call(this,v(t).request)||this}return Object(r.__extends)(t,e),t}(i.a)},,,,,,,function(e,t,n){"use strict";var r=n(281),i=n.n(r),o=n(289),a=n(296);function s(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(e)}]}}function u(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return u(e[0]);var t=[];return Object.keys(e).forEach(function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:u(e[n])||void 0};t.push(r)}),{kind:"SelectionSet",selections:t}}var c,l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},p=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:l})}catch(e){}var a=o&&o.__typename||"__ClientData",c=Object.assign({__typename:a},i);this.writeFragment({id:r,fragment:(t=c,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:u(t)}]}),data:c})}else this.writeQuery({query:s(i),data:i})},e}();c||(c={});var h=n(584),d=n(409);n.d(t,"a",function(){return L});var f=new Map;if(f.set(1,2)!==f){var v=f.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return y&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new d.a}),i&&Object(a.isEqual)(i,v.result)&&(v.result=i),{result:v.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,s=void 0===o?A:o,u=Object(a.getMainDefinition)(t),c=Object(a.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(a.createFragmentMap)(c),contextValue:r,variableValues:i,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:n,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,i=e.execContext,s=i.fragmentMap,u=i.contextValue,c=i.variableValues,l={result:null},p=[],h=u.store.get(r.id),f=h&&h.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach(function(e){var n;if(Object(a.shouldInclude)(e,c))if(Object(a.isField)(e)){var l=v(t.executeField(h,f,e,i));void 0!==l&&p.push(((n={})[Object(a.resultKeyNameFromField)(e)]=l,n))}else{var y=void 0;if(Object(a.isInlineFragment)(e))y=e;else if(!(y=s[e.name.value]))throw new d.a;var m=y.typeCondition.name.value,b=i.fragmentMatcher(r,m,u);if(b){var _=t.executeSelectionSet({selectionSet:y.selectionSet,rootValue:r,execContext:i});"heuristic"===b&&_.missing&&(_=Object(o.__assign)({},_,{missing:_.missing.map(function(e){return Object(o.__assign)({},e,{tolerable:!0})})})),p.push(v(_))}}}),l.result=Object(a.mergeDeepArray)(p),l},e.prototype.executeField=function(e,t,n,r){var i=r.variableValues,o=r.contextValue,s=function(e,t,n,r,i,o){o.resultKey;var s=o.directives,u=n;(r||s)&&(u=Object(a.getStoreKeyName)(u,r,s));var c=void 0;if(e&&void 0===(c=e[u])&&i.cacheRedirects&&"string"==typeof t){var l=i.cacheRedirects[t];if(l){var p=l[n];p&&(c=p(e,r,{getCacheKey:function(e){return Object(a.toIdValue)({id:i.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===c)return{result:c,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(a.isJsonValue)(c)&&(c=c.json);return{result:c}}(e,t,n.name.value,Object(a.argumentsObjectFromField)(n,i),o,{resultKey:Object(a.resultKeyNameFromField)(n),directives:Object(a.getDirectiveInfoFromField)(n,i)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(n,s.result,r)):n.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:s.result,execContext:r})):(T(n,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var M={fragmentMatcher:new O,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var F=Object.prototype.hasOwnProperty,D=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(o.__extends)(t,e),t.prototype.toObject=function(){return Object(o.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return F.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(P),L=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new k,n.silenceBroadcast=!1,n.config=Object(o.__assign)({},M,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new E:new P,n.optimisticData=n.data,n.storeReader=new C(n.cacheKeyRoot),n.storeWriter=new N;var r=n,i=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(h.wrap)(function(e){return i.call(n,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof E?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(o.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new d.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof D;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new D(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(a.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(p)},function(e,t,n){"use strict";var r,i=n(289),o=n(296),a=n(412),s=n(320),u=n(465),c=n(409),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return Object(i.__extends)(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey();if(!this.inFlightRequestObservables.get(r)){var i,o=t(e),s=new a.a(function(e){return n.subscribers.has(r)||n.subscribers.set(r,new Set),n.subscribers.get(r).add(e),i||(i=o.subscribe({next:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&(t.forEach(function(t){return t.next(e)}),t.forEach(function(e){return e.complete()}))},error:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&t.forEach(function(t){return t.error(e)})}})),function(){n.subscribers.has(r)&&(n.subscribers.get(r).delete(e),0===n.subscribers.get(r).size&&(n.inFlightRequestObservables.delete(r),i&&i.unsubscribe()))}});this.inFlightRequestObservables.set(r,s)}return this.inFlightRequestObservables.get(r)},t}(s.a),p=n(410);function h(e){return e<7}n.d(t,"a",function(){return E}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}));var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype[u.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(a.a);var f,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var n=e?e.message:"Error message not found.";t+="GraphQL error: "+n+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},y=function(e){function t(n){var r=n.graphQLErrors,i=n.networkError,o=n.errorMessage,a=n.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=r||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(i.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(f||(f={}));var m=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=o,a.queryManager=n,a.observers=[],a.subscriptionHandles=[],a}return Object(i.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r,i={next:function(n){t(n),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:function(e){n(e)}};r=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:r.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new y({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var a,s=this.queryManager.getCurrentQueryResult(this),u=s.data,c=s.partial,l=!n||n.networkStatus===r.loading,p="network-only"===this.options.fetchPolicy&&l||c&&"cache-only"!==this.options.fetchPolicy,d={data:u,loading:h(a=n?n.networkStatus:p?r.loading:r.ready),networkStatus:a};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(d.errors=n.graphQLErrors),c||(this.lastResult=Object(i.__assign)({},d,{stale:!1}),this.lastResultSnapshot=Object(o.cloneDeep)(this.lastResult)),Object(i.__assign)({},d,{partial:c})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(o.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(o.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(o.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,r=Object(i.__assign)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,r,f.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,n=this;return Object(c.b)(e.updateQuery),Promise.resolve().then(function(){var r=n.queryManager.generateQueryId();return(t=e.query?e:Object(i.__assign)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(r,t,f.normal,n.queryId)}).then(function(r){return n.updateQuery(function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})}),r})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery(function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var r=e||this.variables;return Object(o.isEqual)(r,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise(function(e){return e()}):(this.variables=r,this.options.variables=r,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(i.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,i=t.document,a=Object(o.tryFunctionOrLogError)(function(){return e(n,{variables:r})});a&&(this.queryManager.dataStore.markUpdateQueryResult(i,r,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){b(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(b(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(o.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(d);function b(e){var t=e.options.fetchPolicy;Object(c.b)("cache-first"!==t&&"cache-only"!==t)}var _=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(o.isEqual)(t.document,e.document))throw new c.a;var n,i=!1,a=null;e.storePreviousVariables&&t&&t.networkStatus!==r.loading&&(Object(o.isEqual)(t.variables,e.variables)||(i=!0,a=t.variables)),n=i?r.setVariables:e.isPoll?r.poll:e.isRefetch?r.refetch:r.loading;var s=[];t&&t.graphQLErrors&&(s=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:a,networkError:null,graphQLErrors:s,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=r.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=r.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=r.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?r.ready:r.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,n){return e[n]=Object(i.__assign)({},t.store[n],{networkStatus:r.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(o.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(o.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(i.__awaiter)(this,void 0,void 0,function(){return Object(i.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,r,o,this.fragmentMatcher,s).then(function(e){return Object(i.__assign)({},n,{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(o.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(o.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(i.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(c.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(i.__awaiter)(this,void 0,void 0,function(){return Object(i.__generator)(this,function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return Object(i.__assign)({},t,e.exportedVariables)})]:[2,Object(i.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(p.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return p.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(o.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,a,s){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(i.__awaiter)(this,void 0,void 0,function(){var u,c,l,p,h,d,f,v,y;return Object(i.__generator)(this,function(m){var b;return u=Object(o.getMainDefinition)(e),c=Object(o.getFragmentDefinitions)(e),l=Object(o.createFragmentMap)(c),p=u.operation,h=p?(b=p).charAt(0).toUpperCase()+b.slice(1):"Query",f=(d=this).cache,v=d.client,y={fragmentMap:l,context:Object(i.__assign)({},n,{cache:f,client:v}),variables:r,fragmentMatcher:a,defaultOperationType:h,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n){return Object(i.__awaiter)(this,void 0,void 0,function(){var r,a,s,u,l,p=this;return Object(i.__generator)(this,function(h){return r=n.fragmentMap,a=n.context,s=n.variables,u=[t],l=function(e){return Object(i.__awaiter)(p,void 0,void 0,function(){var l,p;return Object(i.__generator)(this,function(i){return Object(o.shouldInclude)(e,s)?Object(o.isField)(e)?[2,this.resolveField(e,t,n).then(function(t){var n;void 0!==t&&u.push(((n={})[Object(o.resultKeyNameFromField)(e)]=t,n))})]:(Object(o.isInlineFragment)(e)?l=e:(l=r[e.name.value],Object(c.b)(l)),l&&l.typeCondition&&(p=l.typeCondition.name.value,n.fragmentMatcher(t,p,a))?[2,this.resolveSelectionSet(l.selectionSet,t,n).then(function(e){u.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(o.mergeDeepArray)(u)})]})})},e.prototype.resolveField=function(e,t,n){return Object(i.__awaiter)(this,void 0,void 0,function(){var r,a,s,u,c,l,p,h,d,f=this;return Object(i.__generator)(this,function(i){return r=n.variables,a=e.name.value,s=Object(o.resultKeyNameFromField)(e),u=a!==s,c=t[s]||t[a],l=Promise.resolve(c),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(p=t.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[p])&&(d=h[u?a:s])&&(l=Promise.resolve(d(t,Object(o.argumentsObjectFromField)(e,r),n.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?f.resolveSubSelectedArray(e,t,n):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t,n):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0}))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,o=e.onBroadcast,a=void 0===o?function(){}:o,u=e.ssrMode,c=void 0!==u&&u,p=e.clientAwareness,h=void 0===p?{}:p,d=e.localState;this.mutationStore=new _,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=s.a.from([new l,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=a,this.clientAwareness=h,this.localState=d||new w({cache:i.getCache()}),this.ssrMode=c}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,a=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,p=e.awaitRefetchQueries,h=void 0!==p&&p,f=e.update,v=e.errorPolicy,m=void 0===v?"none":v,b=e.fetchPolicy,_=e.context,g=void 0===_?{}:_;return Object(i.__awaiter)(this,void 0,void 0,function(){var e,u,p,v,_,w=this;return Object(i.__generator)(this,function(O){switch(O.label){case 0:return Object(c.b)(t),Object(c.b)(!b||"no-cache"===b),e=this.generateQueryId(),u=this.dataStore.getCache(),t=u.transformDocument(t),n=Object(o.assign)({},Object(o.getDefaultValues)(Object(o.getMutationDefinition)(t)),n),this.setQuery(e,function(){return{document:t}}),p=function(){var e={};return a&&Object.keys(a).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(n){e[n]={updater:a[t],query:w.queryStore.get(n)}})}),e},Object(o.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,n,g)]:[3,2];case 1:return _=O.sent(),[3,3];case 2:_=n,O.label=3;case 3:return v=_,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:p(),update:f,optimisticResponse:r}),this.broadcastQueries(),[2,new Promise(function(n,a){var u,c,_=w.buildOperationForLink(t,v,Object(i.__assign)({},g,{optimisticResponse:r})),O=function(){if(c&&w.mutationStore.markMutationError(e,c),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),w.broadcastQueries(),c)return Promise.reject(c);"function"==typeof l&&(l=l(u));for(var t=[],n=0,i=l;n=(n||1)&&(P.queryStore.markQueryError(e,t,r),P.invalidate(!0,e,r),P.broadcastQueries()),new y({networkError:t})}),"cache-and-network"!==p)return[2,A];A.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,n){var r=this,o=!1;return function(a,s,u){return Object(i.__awaiter)(r,void 0,void 0,function(){var r,c,l,p,d,f,v,m,b,_,g,w,O,k,x,E,S,C,T,A;return Object(i.__generator)(this,function(P){switch(P.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(r=this.getQuery(e).observableQuery,"standby"===(c=r?r.options.fetchPolicy:t.fetchPolicy))return[2];if(l=r?r.options.errorPolicy:t.errorPolicy,p=r?r.getLastResult():null,d=r?r.getLastError():null,f=!s&&null!=a.previousVariables||"cache-only"===c||"cache-and-network"===c,v=Boolean(p&&a.networkStatus!==p.networkStatus),m=l&&(d&&d.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!h(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||f))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(b=new y({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,n.error)try{n.error(b)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw b},0);return[2]}P.label=1;case 1:if(P.trys.push([1,7,,8]),_=void 0,g=void 0,s?("no-cache"!==c&&"network-only"!==c&&this.setQuery(e,function(){return{newData:null}}),_=s.result,g=!s.complete||!1):p&&p.data&&!m?(_=p.data,g=!1):(w=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),_=O.result,g=!O.complete),k=void 0,k=g&&"cache-only"!==c?{data:p&&p.data,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:_,loading:h(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(k.errors=a.graphQLErrors),!n.next)return[3,6];if(!o&&r&&!r.isDifferentFromLastResult(k))return[3,6];P.label=2;case 2:return P.trys.push([2,5,,6]),u?(x=t.query,E=t.variables,S=t.context,[4,this.localState.runResolvers({document:x,remoteResult:k,context:S,variables:E,onlyRunForcedResolvers:u})]):[3,4];case 3:C=P.sent(),k=Object(i.__assign)({},k,C),P.label=4;case 4:return n.next(k),[3,6];case 5:return T=P.sent(),setTimeout(function(){throw T},0),[3,6];case 6:return o=!1,[3,8];case 7:return A=P.sent(),o=!0,n.error&&n.error(new y({networkError:A})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(c.b)("standby"!==e.fetchPolicy);var n=Object(o.getQueryDefinition)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var r=Object(o.getDefaultValues)(n);e.variables=Object(o.assign)({},r,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(i.__assign)({},e);return new m({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(c.b)(e.query),Object(c.b)("Document"===e.query.kind),Object(c.b)(!e.returnPartialData),Object(c.b)(!e.pollInterval),new Promise(function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var n=Object(o.getQueryDefinition)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var i=Object(o.getQueryDefinition)(n.options.query),a=i.name?i.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(n.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,n){t.observableQuery&&e.push(n)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,r=e.query,a=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(r),c=Object(o.assign)({},Object(o.getDefaultValues)(Object(o.getOperationDefinition)(r)),e.variables),l=c,p=[],h=this.localState.clientQuery(u);return new d(function(e){if(p.push(e),1===p.length){var r=0,f=!1,v={next:function(e){return Object(i.__awaiter)(n,void 0,void 0,function(){var t;return Object(i.__generator)(this,function(n){switch(n.label){case 0:return r+=1,t=e,h&&Object(o.hasDirectives)(["client"],h)?[4,this.localState.runResolvers({document:h,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return a&&(this.dataStore.markSubscriptionResult(t,u,l),this.broadcastQueries()),p.forEach(function(e){Object(o.graphQLResultHasError)(t)&&e.error?e.error(new y({graphQLErrors:t.errors})):e.next&&e.next(t),r-=1}),0===r&&f&&v.complete(),[2]}})})},error:function(e){p.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===r&&p.forEach(function(e){e.complete&&e.complete()}),f=!0}};Object(i.__awaiter)(n,void 0,void 0,function(){var e,n,r,a;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return Object(o.hasClientExports)(u)?[4,this.localState.addExportedVariables(u,c)]:[3,2];case 1:return n=i.sent(),[3,3];case 2:n=c,i.label=3;case 3:return e=n,(r=this.localState.serverQuery(u))?(a=this.buildOperationForLink(r,e),t=Object(s.b)(this.link,a).subscribe(v)):t=d.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(p=p.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(c.b)(n),t=n}else t=e;var r=t.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(n,r){n.invalidated&&n.listeners&&n.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(r),n.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach(function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),n},e.prototype.fetchRequest=function(e){var t,n,a=this,u=e.requestId,c=e.queryId,l=e.document,p=e.options,h=e.fetchMoreForQueryId,f=p.variables,v=p.context,m=p.errorPolicy,b=void 0===m?"none":m,_=p.fetchPolicy;return new Promise(function(e,p){var m,g={},w=a.localState.clientQuery(l),O=a.localState.serverQuery(l);if(O){var k=a.buildOperationForLink(O,f,Object(i.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=k.context,m=Object(s.b)(a.deduplicator,k)}else g=a.prepareContext(v),m=d.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+c,p);var x=!1,E=!0,S={next:function(e){return Object(i.__awaiter)(a,void 0,void 0,function(){var r,a;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return E=!0,r=e,a=this.getQuery(c).lastRequestId,u>=(a||1)?w&&Object(o.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:f}).catch(function(t){return E=!1,p(t),e})]:[3,2]:[3,3];case 1:r=i.sent(),i.label=2;case 2:if("no-cache"!==_)try{this.dataStore.markQueryResult(r,l,f,h,"ignore"===b||"all"===b)}catch(e){return E=!1,p(e),[2]}else this.setQuery(c,function(){return{newData:{result:r.data,complete:!0}}});this.queryStore.markQueryResult(c,r,h),this.invalidate(!0,c,h),this.broadcastQueries(),i.label=3;case 3:if(r.errors&&"none"===b)return E=!1,p(new y({graphQLErrors:r.errors})),[2];if("all"===b&&(n=r.errors),h||"no-cache"===_)t=r.data;else try{t=this.dataStore.getCache().read({variables:f,query:l,optimistic:!1})}catch(e){}return E=!1,x&&S.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+c),a.setQuery(c,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),p(e)},complete:function(){E||(a.fetchQueryRejectFns.delete("fetchRequest:"+c),a.setQuery(c,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),e({data:t,errors:n,loading:!1,networkStatus:r.ready,stale:!1})),x=!0}},C=m.subscribe(S);a.setQuery(c,function(e){return{subscriptions:e.subscriptions.concat([C])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+c),e})},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(i.__assign)({},n,t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,function(){return{invalidated:e}}),n&&this.setQuery(n,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(o.getOperationName)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(i.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==r.ready&&t.networkStatus!==r.error},e.prototype.startPollingQuery=function(e,t,n){var r=e.pollInterval;return Object(c.b)(r),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:r,lastPollTimeMs:Date.now()-10,options:Object(i.__assign)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(r)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,f.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),k=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,i){void 0===i&&(i=!1);var a=!Object(o.graphQLResultHasError)(e);i&&Object(o.graphQLResultHasError)(e)&&e.data&&(a=!0),!r&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(o.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(o.graphQLResultHasError)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(r){var i=e.updateQueries[r],a=i.query,s=i.updater,u=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=u.result;if(u.complete){var l=Object(o.tryFunctionOrLogError)(function(){return s(c,{mutationResult:e.result,queryName:Object(o.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&n.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){n.forEach(function(t){return e.write(t)})});var r=e.update;r&&this.cache.performTransaction(function(t){Object(o.tryFunctionOrLogError)(function(){return r(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),x="2.5.1",E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,i=void 0!==r&&r,a=e.ssrForceFetchDelay,u=void 0===a?0:a,l=e.connectToDevTools,p=e.queryDeduplication,h=void 0===p||p,d=e.defaultOptions,f=e.resolvers,v=e.typeDefs,y=e.fragmentMatcher,m=e.name,b=e.version,_=e.link;if(!_&&f&&(_=s.a.empty()),!_||!n)throw new c.a;var g=new Map,O=new s.a(function(e,t){var n=g.get(e.query);return n||(n=Object(o.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,n),g.set(n,n)),e.query=n,t(e)});this.link=O.concat(_),this.cache=n,this.store=new k(n),this.disableNetworkFetches=i||u>0,this.queryDeduplication=h,this.ssrMode=i,this.defaultOptions=d||{},this.typeDefs=v,u&&setTimeout(function(){return t.disableNetworkFetches=!1},u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=x,m&&(this.clientAwareness.name=m),b&&(this.clientAwareness.version=b),this.localState=new w({cache:n,client:this,resolvers:f,fragmentMatcher:y})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(i.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(i.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(i.__assign)({},this.defaultOptions.query,e)),Object(c.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(i.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(i.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(s.b)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},function(e,t,n){"use strict";var r=n(412),i=n(320),o=n(296),a=n(568),s=n(411),u={test:function(e){return"client"===e.name.value},remove:!0},c=new Map;n.d(t,"a",function(){return d});var l,p=(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=a.graphql,d=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,n=e.cache,a=e.typeDefs,l=e.fragmentMatcher;return n&&t&&n.writeData({data:t}),new(function(i){function d(){return null!==i&&i.apply(this,arguments)||this}return p(d,i),d.prototype.writeDefaults=function(){n&&t&&n.writeData({data:t})},d.prototype.request=function(n,i){if(void 0===i&&(i=function(){return r.a.of({data:{}})}),a){var p=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(s.print)(e)}).map(function(e){return e.trim()}).join("\n")}(a);n.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:p,directives:"directive @client on FIELD"}])}})}if(!Object(o.hasDirectives)(["client"],n.query))return i(n);var d,f="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=c.get(e);if(t)return t;Object(o.checkDocument)(e);var n=Object(o.removeDirectivesFromDocument)([u],e);return c.set(e,n),n}(n.query),y=n.query,m=(d=(Object(o.getMainDefinition)(y)||{}).operation).charAt(0).toUpperCase()+d.slice(1)||"Query",b=function(e,n,r,i,o){void 0===n&&(n={});var a=o.resultKey,s=n[a],u=n[e],c=a!==e;if(void 0!==s||void 0!==u)return s||u;var l=f[n.__typename||m];if(l){var p=l[e];if(p)return p(n,r,i,o)}return(c?s:u)||(t||{})[e]};v&&(n.query=v);var _=v&&i?i(n):r.a.of({data:{}});return new r.a(function(e){var t=!1,r=!1;_.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),u=n.getContext();r=!0,h(b,y,o,u,n.variables,{fragmentMatcher:l}).then(function(n){e.next({data:n,errors:a}),t&&e.complete(),r=!1}).catch(s)},error:e.error.bind(e),complete:function(){r||e.complete(),t=!0}})})},d}(i.a))}},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),u=n.n(s),c=n(263),l=n.n(c),p=n(276),h=n.n(p),d=n(265),f=n.n(d),v=["data","error","loading"],y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return function(e){function n(){var e;return i()(this,n),(e=u()(this,l()(n).call(this))).notifyingProps=t,e}return f()(n,e),a()(n,[{key:"notify",value:function(e,t){this.dispatchEvent(new CustomEvent("".concat(e,"-changed"),{bubbles:!0,composed:!0,detail:{value:t}}))}},{key:"update",value:function(e){var t=this;h()(l()(n.prototype),"update",this).call(this,e),this.notifyingProps.forEach(function(n){return e.has(n)&&t.notify(n,t[n])})}}]),n}(e)}(n(421).a,["called","data","error","loading"]);customElements.define("apollo-mutation",y)}])]); -//# sourceMappingURL=7.a20086e260d00e367a3d.js.map \ No newline at end of file diff --git a/packages/ui/dist/7.a20086e260d00e367a3d.js.LICENSE b/packages/ui/dist/7.a20086e260d00e367a3d.js.LICENSE deleted file mode 100644 index bd1531026..000000000 --- a/packages/ui/dist/7.a20086e260d00e367a3d.js.LICENSE +++ /dev/null @@ -1,164 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** @license ISC License (c) copyright 2016 original and current authors */ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** -@license -Copyright (c) 2015 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/** @license ISC License (c) copyright 2017 original and current authors */ - -/** - * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** - * @fileoverview - * @suppress {checkPrototypalTypes} - * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt The complete set of authors may be found - * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may - * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by - * Google as part of the polymer project is also subject to an additional IP - * rights grant found at http://polymer.github.io/PATENTS.txt - */ - -/** @license ISC License (c) copyright 2018 original and current authors */ - -/** -@license -Copyright (c) 2014 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/*! - * Fuse.js v3.4.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*!********************************************!*\ - !*** ./src/bitap/bitap_matched_indices.js ***! - \********************************************/ - -/*! no static exports found */ - -/*!*********************************************!*\ - !*** ./src/bitap/bitap_pattern_alphabet.js ***! - \*********************************************/ - -/*!*****************************************!*\ - !*** ./src/bitap/bitap_regex_search.js ***! - \*****************************************/ - -/*!**********************************!*\ - !*** ./src/bitap/bitap_score.js ***! - \**********************************/ - -/*!***********************************!*\ - !*** ./src/bitap/bitap_search.js ***! - \***********************************/ - -/*! ./bitap_score */ - -/*! ./bitap_matched_indices */ - -/*!****************************!*\ - !*** ./src/bitap/index.js ***! - \****************************/ - -/*! ./bitap_regex_search */ - -/*! ./bitap_search */ - -/*! ./bitap_pattern_alphabet */ - -/*!***********************************!*\ - !*** ./src/helpers/deep_value.js ***! - \***********************************/ - -/*! ./is_array */ - -/*!*********************************!*\ - !*** ./src/helpers/is_array.js ***! - \*********************************/ - -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ - -/*! ./bitap */ - -/*! ./helpers/deep_value */ - -/*! ./helpers/is_array */ - -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/7.a20086e260d00e367a3d.js.map b/packages/ui/dist/7.a20086e260d00e367a3d.js.map deleted file mode 100644 index 3b83fbc43..000000000 --- a/packages/ui/dist/7.a20086e260d00e367a3d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"7.a20086e260d00e367a3d.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js b/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js deleted file mode 100644 index 6686baf83..000000000 --- a/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 7.cc2d92a6e6f9c67bfcde.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],Array(263).concat([function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(274),i=n(330);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t,n){var r=n(414);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},,function(e,t,n){"use strict";var r=n(512),i=(n(272),n(262)),o=n.n(i),a=n(264),s=n.n(a),c=n(330),u=n.n(c),l=n(263),h=n.n(l),p=n(277),d=n.n(p),f=n(265),v=n.n(f),y=n(261),m=n.n(y),b=(n(276),n(443)),_=n(274),g=n.n(_),w=n(292);function k(e,t,n,r,i){var o;i&&(o="object"===g()(n)&&null!==n)&&(r=e.__dataTemp[t]);var a=r!==n&&(r==r||n==n);return o&&a&&(e.__dataTemp[t]=n),a}var O=Object(w.a)(function(e){return function(e){function t(){return m()(this,t),s()(this,h()(t).apply(this,arguments))}return v()(t,e),o()(t,[{key:"_shouldPropertyChange",value:function(e,t,n){return k(this,e,t,n,!0)}}]),t}(e)}),x=Object(w.a)(function(e){return function(e){function t(){return m()(this,t),s()(this,h()(t).apply(this,arguments))}return v()(t,e),o()(t,[{key:"_shouldPropertyChange",value:function(e,t,n){return k(this,e,t,n,this.mutableData)}}],[{key:"properties",get:function(){return{mutableData:Boolean}}}]),t}(e)});O._mutablePropertyChange=k;var E=n(303),S=n(297),C=null;function T(){return C}T.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:T,writable:!0}});var A=Object(b.a)(T),P=O(A);var I=function(e){function t(e){var n;m()(this,t),(n=s()(this,h()(t).call(this)))._configureProperties(e),n.root=n._stampTemplate(n.__dataHost);for(var r=n.children=[],i=n.root.firstChild;i;i=i.nextSibling)r.push(i),i.__templatizeInstance=u()(n);n.__templatizeOwner&&n.__templatizeOwner.__hideTemplateChildren__&&n._showHideChildren(!0);var o=n.__templatizeOptions;return(e&&o.instanceProps||!o.instanceProps)&&n._enableProperties(),n}return v()(t,e),o()(t,[{key:"_configureProperties",value:function(e){if(this.__templatizeOptions.forwardHostProp)for(var t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(var n in e)this._setPendingProperty(n,e[n])}},{key:"forwardHostProp",value:function(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}},{key:"_addEventListenerToNode",value:function(e,t,n){var r=this;if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(e,t,function(e){e.model=r,n(e)});else{var i=this.__dataHost.__dataHost;i&&i._addEventListenerToNode(e,t,n)}}},{key:"_showHideChildren",value:function(e){for(var t=this.children,n=0;n can only be templatized once");e.__templatizeOwner=t;var r=(t?t.constructor:I)._parseTemplate(e),i=r.templatizeInstanceClass;i||(i=R(e,r,n),r.templatizeInstanceClass=i),M(e,r,n);var o=function(e){function t(){return m()(this,t),s()(this,h()(t).apply(this,arguments))}return v()(t,e),t}(i);return o.prototype._methodHost=j(e),o.prototype.__dataHost=e,o.prototype.__templatizeOwner=t,o.prototype.__hostProps=r.hostProps,o=o}function q(e,t){for(var n;t;)if(n=t.__templatizeInstance){if(n.__dataHost==e)return n;t=n.__dataHost}else t=Object(S.a)(t).parentNode;return null}var B=n(485),V=function(e){function t(){var e;if(m()(this,t),e=s()(this,h()(t).call(this)),E.f)throw new Error("strictTemplatePolicy: dom-bind not allowed");return e.root=null,e.$=null,e.__children=null,e}return v()(t,e),o()(t,null,[{key:"observedAttributes",get:function(){return["mutable-data"]}}]),o()(t,[{key:"attributeChangedCallback",value:function(){this.mutableData=!0}},{key:"connectedCallback",value:function(){this.style.display="none",this.render()}},{key:"disconnectedCallback",value:function(){this.__removeChildren()}},{key:"__insertChildren",value:function(){Object(S.a)(Object(S.a)(this).parentNode).insertBefore(this.root,this)}},{key:"__removeChildren",value:function(){if(this.__children)for(var e=0;e child");n.disconnect(),t.render()});return void n.observe(this,{childList:!0})}this.root=this._stampTemplate(e),this.$=this.root.$,this.__children=[];for(var r=this.root.firstChild;r;r=r.nextSibling)this.__children[this.__children.length]=r;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}}]),t}(Object(B.a)(x(Object(b.a)(HTMLElement))));customElements.define("dom-bind",V);var z=n(383),Q=n(309),U=n(356),H=n(380),K=n(332),$=function(e){function t(){var e;return m()(this,t),(e=s()(this,h()(t).call(this))).__instances=[],e.__limit=1/0,e.__pool=[],e.__renderDebouncer=null,e.__itemsIdxToInstIdx={},e.__chunkCount=null,e.__lastChunkTime=null,e.__sortFn=null,e.__filterFn=null,e.__observePaths=null,e.__ctor=null,e.__isDetached=!0,e.template=null,e}return v()(t,e),o()(t,null,[{key:"is",get:function(){return"dom-repeat"}},{key:"template",get:function(){return null}},{key:"properties",get:function(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!0,readOnly:!0},initialCount:{type:Number,observer:"__initializeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"}}}},{key:"observers",get:function(){return["__itemsChanged(items.*)"]}}]),o()(t,[{key:"disconnectedCallback",value:function(){d()(h()(t.prototype),"disconnectedCallback",this).call(this),this.__isDetached=!0;for(var e=0;e child");n.disconnect(),e.__render()});return n.observe(this,{childList:!0}),!1}var r={};r[this.as]=!0,r[this.indexAs]=!0,r[this.itemsIndexAs]=!0,this.__ctor=L(t,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:r,forwardHostProp:function(e,t){for(var n,r=this.__instances,i=0;i1&&void 0!==arguments[1]?arguments[1]:0;this.__renderDebouncer=Q.a.debounce(this.__renderDebouncer,t>0?K.b.after(t):K.a,e.bind(this)),Object(U.a)(this.__renderDebouncer)}},{key:"render",value:function(){this.__debounceRender(this.__render),Object(U.b)()}},{key:"__render",value:function(){this.__ensureTemplatized()&&(this.__applyFullRefresh(),this.__pool.length=0,this._setRenderedItemCount(this.__instances.length),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this.__tryRenderChunk())}},{key:"__applyFullRefresh",value:function(){for(var e=this,t=this.items||[],n=new Array(t.length),r=0;r=o;l--)this.__detachAndRemoveInstance(l)}},{key:"__detachInstance",value:function(e){for(var t=this.__instances[e],n=Object(S.a)(t.root),r=0;r child");r.disconnect(),e.__render()});return r.observe(this,{childList:!0}),!1}this.__ctor=L(n,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[Object(H.g)(e)]=!0))}})}if(this.__instance){this.__syncHostProperties();var i=this.__instance.children;if(i&&i.length)if(Object(S.a)(this).previousSibling!==i[i.length-1])for(var o,a=0;a=i.index+i.removed.length?n.set(t,e+i.addedCount-i.removed.length):n.set(t,-1))});for(var o=0;o=0&&e.linkPaths("".concat(JSCompiler_renameProperty("items",e),".").concat(n),"".concat(JSCompiler_renameProperty("selected",e),".").concat(t++))})}else this.__selectedMap.forEach(function(t){e.linkPaths(JSCompiler_renameProperty("selected",e),"".concat(JSCompiler_renameProperty("items",e),".").concat(t)),e.linkPaths(JSCompiler_renameProperty("selectedItem",e),"".concat(JSCompiler_renameProperty("items",e),".").concat(t))})}},{key:"clearSelection",value:function(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}},{key:"isSelected",value:function(e){return this.__selectedMap.has(e)}},{key:"isIndexSelected",value:function(e){return this.isSelected(this.items[e])}},{key:"__deselectChangedIdx",value:function(e){var t=this,n=this.__selectedIndexForItemIndex(e);if(n>=0){var r=0;this.__selectedMap.forEach(function(e,i){n==r++&&t.deselect(i)})}}},{key:"__selectedIndexForItemIndex",value:function(e){var t=this.__dataLinkedPaths["".concat(JSCompiler_renameProperty("items",this),".").concat(e)];if(t)return parseInt(t.slice("".concat(JSCompiler_renameProperty("selected",this),".").length),10)}},{key:"deselect",value:function(e){var t,n=this.__selectedMap.get(e);n>=0&&(this.__selectedMap.delete(e),this.multi&&(t=this.__selectedIndexForItemIndex(n)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),t,1):this.selected=this.selectedItem=null)}},{key:"deselectIndex",value:function(e){this.deselect(this.items[e])}},{key:"select",value:function(e){this.selectIndex(this.items.indexOf(e))}},{key:"selectIndex",value:function(e){var t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),t):this.selected=this.selectedItem=t)}}]),t}(Object(Y.a)(e))})(z.a));customElements.define(G.is,G);var X=n(376),Z=n.n(X),ee=n(442),te=n(378),ne=n(308),re=new ee.a;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(e,t,n){},prepareTemplateDom:function(e,t){},prepareTemplateStyles:function(e,t,n){},styleSubtree:function(e,t){re.processStyles(),Object(te.c)(e,t)},styleElement:function(e){re.processStyles()},styleDocument:function(e){re.processStyles(),Object(te.c)(document.body,e)},getComputedStyleValue:function(e,t){return Object(te.b)(e,t)},flushCustomStyles:function(){},nativeCss:ne.c,nativeShadow:ne.d,cssBuild:ne.a,disableRuntime:ne.b}),window.ShadyCSS.CustomStyleInterface=re;var ie=n(482),oe=window.ShadyCSS.CustomStyleInterface,ae=function(e){function t(){var e;return m()(this,t),(e=s()(this,h()(t).call(this)))._style=null,oe.addCustomStyle(u()(e)),e}return v()(t,e),o()(t,[{key:"getStyle",value:function(){if(this._style)return this._style;var e=this.querySelector("style");if(!e)return null;this._style=e;var t=e.getAttribute("include");return t&&(e.removeAttribute("include"),e.textContent=Object(ie.a)(t)+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}]),t}(Z()(HTMLElement));window.customElements.define("custom-style",ae),O._mutablePropertyChange;Boolean;var se=n(271);n.d(t,"a",function(){return ce}),n.d(t,"b",function(){return se.a});var ce=Object(r.a)(HTMLElement).prototype},,function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},,function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(276),function(){function e(t){i()(this,e),this.value=t.toString()}return a()(e,[{key:"toString",value:function(){return this.value}}]),e}());function c(e){if(e instanceof s)return e.value;throw new Error("non-literal value passed to Polymer's htmlLiteral function: ".concat(e))}var u=function(e){for(var t=document.createElement("template"),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i=0;t--){var r=e[t];for(var i in r)this._ensureAttribute(i,r[i])}p()(l()(n.prototype),"_ensureAttributes",this).call(this)}},{key:"ready",value:function(){p()(l()(n.prototype),"ready",this).call(this);var e=o.ready;if(e)for(var t=0;t=0;i--){var o=t[i];o?Array.isArray(o)?e(o,n):n.indexOf(o)<0&&(!r||r.indexOf(o)<0)&&n.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return n}(n,null,u),s.prototype.behaviors=u?u.concat(n):r}var h=function(t){r&&function(e,t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}},w={},k={},O=n(291),x=n.n(O),E="{{lit-".concat(String(Math.random()).slice(2),"}}"),S="\x3c!--".concat(E,"--\x3e"),C=new RegExp("".concat(E,"|").concat(S)),T=function e(t,n){var r=this;i()(this,e),this.parts=[],this.element=n;var o=-1,a=0,s=[];!function e(n){for(var i=n.content,c=document.createTreeWalker(i,133,null,!1),u=0;c.nextNode();){o++;var l=c.currentNode;if(1===l.nodeType){if(l.hasAttributes()){for(var h=l.attributes,p=0,d=0;d=0&&p++;for(;p-- >0;){var f=t.strings[a],v=I.exec(f)[2],y=v.toLowerCase()+"$lit$",m=l.getAttribute(y).split(C);r.parts.push({type:"attribute",index:o,name:v,strings:m}),l.removeAttribute(y),a+=m.length-1}}"TEMPLATE"===l.tagName&&e(l)}else if(3===l.nodeType){var b=l.data;if(b.indexOf(E)>=0){for(var _=l.parentNode,g=b.split(C),w=g.length-1,k=0;k=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,N=function(){function e(t,n,r){i()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return a()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var c=!0,u=!1,l=void 0;try{for(var h,p=this._parts[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;void 0!==d&&d.commit()}}catch(e){u=!0,l=e}finally{try{c||null==p.return||p.return()}finally{if(u)throw l}}}},{key:"_clone",value:function(){var e=this,t=_?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,i=0;return function t(o){for(var a=document.createTreeWalker(o,133,null,!1),s=a.nextNode();r0&&void 0!==arguments[0]?arguments[0]:this.startNode;g(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),L=function(){function e(t,n,r){if(i()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=w}}}]),e}(),q=function(e){function t(e,n,r){var o;return i()(this,t),(o=c()(this,l()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return f()(t,e),a()(t,[{key:"_createPart",value:function(){return new B(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:p()(l()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(M),B=function(e){function t(){return i()(this,t),c()(this,l()(t).apply(this,arguments))}return f()(t,e),t}(F),V=!1;try{var z={get capture(){return V=!0,!1}};window.addEventListener("test",z,z),window.removeEventListener("test",z,z)}catch(e){}var Q=function(){function e(t,n,r){var o=this;i()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return o.handleEvent(e)}}return a()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;b(this._pendingValue);){var e=this._pendingValue;this._pendingValue=w,e(this)}if(this._pendingValue!==w){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=U(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=w}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),U=function(e){return e&&(V?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},H=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new q(e,t.slice(1),n).parts:"@"===i?[new Q(e,t.slice(1),r.eventContext)]:"?"===i?[new L(e,t.slice(1),n)]:new M(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new D(e)}}]),e}());function K(e){var t=$.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},$.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(E);return void 0===(n=t.keyString.get(r))&&(n=new T(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var $=new Map,W=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var J=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,Y,null,!1),a=Z(i),s=0,c=-1;o.nextNode();)for(c++,o.currentNode===n&&(s=X(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===c;){if(s>0){for(;-1!==a;)i[a].index+=s,a=Z(i,a);return}a=Z(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var c=new Set;c.add(i),G(t,c)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},ae=n(376),se=n.n(ae);window.JSCompiler_renameProperty=function(e,t){return e};var ce={toAttribute:function(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},ue=function(e,t){return t!==e&&(t==t||e==e)},le={attribute:!0,type:String,converter:ce,reflect:!1,hasChanged:ue},he=Promise.resolve(!0),pe=function(e){function t(){var e;return i()(this,t),(e=c()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=he,e._hasConnectedResolver=void 0,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return f()(t,e),a()(t,[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var e=this;this.constructor._classProperties.forEach(function(t,n){if(e.hasOwnProperty(n)){var r=e[n];delete e[n],e._instanceProperties||(e._instanceProperties=new Map),e._instanceProperties.set(n,r)}})}},{key:"_applyInstanceProperties",value:function(){var e=this;this._instanceProperties.forEach(function(t,n){return e[n]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r)||le;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(e,t){var n=!0;if(void 0!==e){var r=this.constructor,i=r._classProperties.get(e)||le;r._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):n=!1}!this._hasRequestedUpdate&&n&&this._enqueueUpdate()}},{key:"requestUpdate",value:function(e,t){return this._requestUpdate(e,t),this.updateComplete}},{key:"_enqueueUpdate",value:function(){return new Promise(function(e,t){var n,r,i,o,a;n=this,this._updateState=4|this._updateState,o=this._updatePromise,this._updatePromise=new Promise(function(e,t){r=e,i=t});var s=function(){try{if(!this._hasConnected)return Promise.resolve(new Promise(function(e){return n._hasConnectedResolver=e})).then(function(e){try{return o.call(this)}catch(e){return t(e)}}.bind(this),t);function o(){var n=function(){try{return r(!this._hasRequestedUpdate),e()}catch(e){return t(e)}}.bind(this),o=function(e){try{return i(e),n()}catch(e){return t(e)}};try{if(null!=(a=this.performUpdate()))return Promise.resolve(a).then(function(e){try{return s.call(this)}catch(e){return o(e)}}.bind(this),o);function s(){return n()}return s.call(this)}catch(e){o(e)}}return o.call(this)}catch(e){return t(e)}}.bind(this),c=function(e){try{return s()}catch(e){return t(e)}};try{return Promise.resolve(o).then(function(e){try{return s()}catch(e){return c()}},c)}catch(e){c()}}.bind(this))}},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(function(e,n){return t._propertyToAttribute(n,t[n],e)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,n){return e._classProperties.set(n,t)})}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===y()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[n]},set:function(t){var r=this[e];this[n]=t,this._requestUpdate(e,r)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var e=Object.getPrototypeOf(this);if("function"==typeof e.finalize&&e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[].concat(x()(Object.getOwnPropertyNames(t)),x()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;this.createProperty(c,t[c])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:ue)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||ce,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ce.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach(function(n,r){var i=e._attributeNameForProperty(r,n);void 0!==i&&(e._attributeToPropertyMap.set(i,r),t.push(i))}),t}}]),t}(se()(HTMLElement));pe.finalized=!0;var de="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fe=Symbol(),ve=function(){function e(t,n){if(i()(this,e),n!==fe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return a()(e,[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(de?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}]),e}(),ye=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:[],r=0,i=t.length;r1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length=0;c--)(o=e[c])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function h(e,t){if("object"===("undefined"==typeof Reflect?"undefined":i()(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}c((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(c,u):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function g(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function x(e){return e&&e.__esModule?e:{default:e}}},,,function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(276);var r=0;function i(){}i.prototype.__mixinApplications,i.prototype.__mixinSet;var o=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var n=r++;function i(r){var i=r.__mixinSet;if(i&&i[n])return r;var o=t,a=o.get(r);a||(a=e(r),o.set(r,a));var s=Object.create(a.__mixinSet||i||null);return s[n]=!0,a.__mixinSet=s,a}return i}},,,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"getDirectiveInfoFromField",function(){return x}),n.d(t,"shouldInclude",function(){return E}),n.d(t,"getDirectiveNames",function(){return S}),n.d(t,"hasDirectives",function(){return C}),n.d(t,"hasClientExports",function(){return T}),n.d(t,"getFragmentQueryDocument",function(){return A}),n.d(t,"getMutationDefinition",function(){return I}),n.d(t,"checkDocument",function(){return N}),n.d(t,"getOperationDefinition",function(){return j}),n.d(t,"getOperationDefinitionOrDie",function(){return R}),n.d(t,"getOperationName",function(){return M}),n.d(t,"getFragmentDefinitions",function(){return F}),n.d(t,"getQueryDefinition",function(){return D}),n.d(t,"getFragmentDefinition",function(){return L}),n.d(t,"getMainDefinition",function(){return q}),n.d(t,"createFragmentMap",function(){return B}),n.d(t,"getDefaultValues",function(){return V}),n.d(t,"variablesInOperation",function(){return z}),n.d(t,"removeDirectivesFromDocument",function(){return $}),n.d(t,"addTypenameToDocument",function(){return W}),n.d(t,"removeConnectionDirectiveFromDocument",function(){return Y}),n.d(t,"getDirectivesFromDocument",function(){return Z}),n.d(t,"removeArgumentsFromDocument",function(){return ee}),n.d(t,"removeFragmentSpreadFromDocument",function(){return te}),n.d(t,"buildQueryFromSelectionSet",function(){return ne}),n.d(t,"removeClientSetsFromDocument",function(){return re}),n.d(t,"isScalarValue",function(){return u}),n.d(t,"isNumberValue",function(){return l}),n.d(t,"valueToObjectRepresentation",function(){return h}),n.d(t,"storeKeyNameFromField",function(){return p}),n.d(t,"getStoreKeyName",function(){return f}),n.d(t,"argumentsObjectFromField",function(){return v}),n.d(t,"resultKeyNameFromField",function(){return y}),n.d(t,"isField",function(){return m}),n.d(t,"isInlineFragment",function(){return b}),n.d(t,"isIdValue",function(){return _}),n.d(t,"toIdValue",function(){return g}),n.d(t,"isJsonValue",function(){return w}),n.d(t,"valueFromNode",function(){return O}),n.d(t,"assign",function(){return P}),n.d(t,"cloneDeep",function(){return oe}),n.d(t,"getEnv",function(){return ae}),n.d(t,"isEnv",function(){return se}),n.d(t,"isProduction",function(){return ce}),n.d(t,"isDevelopment",function(){return ue}),n.d(t,"isTest",function(){return le}),n.d(t,"tryFunctionOrLogError",function(){return he}),n.d(t,"graphQLResultHasError",function(){return pe}),n.d(t,"isEqual",function(){return de}),n.d(t,"maybeDeepFreeze",function(){return fe}),n.d(t,"mergeDeep",function(){return ye}),n.d(t,"mergeDeepArray",function(){return me}),n.d(t,"warnOnceInDevelopment",function(){return ke}),n.d(t,"stripSymbols",function(){return Oe});var r=n(274),i=n.n(r),o=n(416),a=n(415),s=n(289),c=n(583);function u(e){return["StringValue","BooleanValue","EnumValue"].indexOf(e.kind)>-1}function l(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function h(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map(function(e){return h(i,e.name,e.value,r)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return h(n,t,e,r),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new a.a;e[t.value]=null}}function p(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return h(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return h(r,n,i,t)})),f(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export"];function f(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i=t,o={};return r.forEach(function(e){o[e]=i[e]}),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var a=e;if(t){var s=Object(c.default)(t);a+="("+s+")"}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)}),a}function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,i=e.value;return h(n,r,i,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}function _(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function g(e,t){return void 0===t&&(t=!1),Object(s.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function w(e){return null!=e&&"object"===i()(e)&&"json"===e.type}function k(e){throw new a.a}function O(e,t){switch(void 0===t&&(t=k),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return O(e,t)});case"ObjectValue":for(var n={},r=0,i=e.fields;r-1})}function T(e){return e&&C(["client"],e)&&C(["export"],e)}function A(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new a.a;"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&(Object(a.b)(1===r.length),n=r[0].name.value),Object(s.__assign)({},e,{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}].concat(e.definitions)})}function P(e){for(var t=[],n=1;n1){var r=[];t=ge(t,r);for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(b.b)(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),C=function(){function e(t,n,r){if(p()(this,e),this.value=void 0,this._pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return f()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;Object(m.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=_.a,e(this)}if(this._pendingValue!==_.a){var t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=_.a}}}]),e}(),T=function(e){function t(e,n,r){var o;return p()(this,t),(o=i()(this,a()(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return l()(t,e),f()(t,[{key:"_createPart",value:function(){return new A(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:c()(a()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(x),A=function(e){function t(){return p()(this,t),i()(this,a()(t).apply(this,arguments))}return l()(t,e),t}(E),P=!1;try{var I={get capture(){return P=!0,!1}};window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){}var N=function(){function e(t,n,r){var i=this;p()(this,e),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this._boundHandleEvent=function(e){return i.handleEvent(e)}}return f()(e,[{key:"setValue",value:function(e){this._pendingValue=e}},{key:"commit",value:function(){for(;Object(m.a)(this._pendingValue);){var e=this._pendingValue;this._pendingValue=_.a,e(this)}if(this._pendingValue!==_.a){var t=this._pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=j(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=_.a}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),j=function(e){return e&&(P?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)}},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(298),c=new(function(){function e(){i()(this,e)}return a()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];return"."===i?new s.e(e,t.slice(1),n).parts:"@"===i?[new s.c(e,t.slice(1),r.eventContext)]:"?"===i?[new s.b(e,t.slice(1),n)]:new s.a(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new s.d(e)}}]),e}()),u=n(344);n(384),n(323),n(385),n(387),n(362),n(386),n(304);n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u.b}),(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");var l=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0&&m++;for(;m-- >0;){var _=t.strings[u],g=p.exec(_)[2],w=g.toLowerCase()+c,k=v.getAttribute(w).split(s);r.parts.push({type:"attribute",index:a,name:g,strings:k}),v.removeAttribute(w),u+=k.length-1}}"TEMPLATE"===v.tagName&&e(v)}else if(3===v.nodeType){var O=v.data;if(O.indexOf(o)>=0){for(var x=v.parentNode,E=O.split(s),S=E.length-1,C=0;C=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return l});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(276),n(292),n(332),function(){function e(){i()(this,e),this._asyncModule=null,this._callback=null,this._timer=null}return a()(e,[{key:"setConfig",value:function(e,t){var n=this;this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(function(){n._timer=null,c.delete(n),n._callback()})}},{key:"cancel",value:function(){this.isActive()&&(this._cancelAsync(),c.delete(this))}},{key:"_cancelAsync",value:function(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}},{key:"flush",value:function(){this.isActive()&&(this.cancel(),this._callback())}},{key:"isActive",value:function(){return null!=this._timer}}],[{key:"debounce",value:function(t,n,r){return t instanceof e?t._cancelAsync():t=new e,t.setConfig(n,r),t}}]),e}()),c=new Set,u=function(e){c.add(e)},l=function(){var e=Boolean(c.size);return c.forEach(function(e){try{e.flush()}catch(e){setTimeout(function(){throw e})}}),e}},function(e,t){e.exports=function(e){return"string"==typeof e}},,,,,,,,function(e,t,n){"use strict";n.d(t,"c",function(){return u}),n.d(t,"d",function(){return v}),n.d(t,"a",function(){return m}),n.d(t,"b",function(){return b});var r=n(418),i=n(587),o=n(289),a=n(417),s=n(296);!function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}Object(o.__extends)(t,e)}(Error);function c(e){return e.request.length<=1}function u(e){return new r.a(function(t){t.error(e)})}function l(e,t){var n=Object(o.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?Object(o.__assign)({},n,e(n)):Object(o.__assign)({},n,e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return Object(o.__assign)({},n)}}),Object.defineProperty(t,"toKey",{enumerable:!1,value:function(){return function(e){return Object(a.print)(e.query)+"|"+JSON.stringify(e.variables)+"|"+e.operationName}(t)}}),t}function h(e,t){return t?t(e):r.a.of()}function p(e){return"function"==typeof e?new m(e):e}function d(){return new m(function(){return r.a.of()})}function f(e){return 0===e.length?d():e.map(p).reduce(function(e,t){return e.concat(t)})}function v(e,t,n){var i=p(t),o=p(n||new m(h));return c(i)&&c(o)?new m(function(t){return e(t)?i.request(t)||r.a.of():o.request(t)||r.a.of()}):new m(function(t,n){return e(t)?i.request(t,n)||r.a.of():o.request(t,n)||r.a.of()})}var y=function(e,t){var n=p(e);if(c(n))return n;var i=p(t);return c(i)?new m(function(e){return n.request(e,function(e){return i.request(e)||r.a.of()})||r.a.of()}):new m(function(e,t){return n.request(e,function(e){return i.request(e,t)||r.a.of()})||r.a.of()})},m=function(){function e(e){e&&(this.request=e)}return e.prototype.split=function(t,n,r){return this.concat(v(t,n,r||new e(h)))},e.prototype.concat=function(e){return y(this,e)},e.prototype.request=function(e,t){throw new i.a(1)},e.empty=d,e.from=f,e.split=v,e.execute=b,e}();function b(e,t){return e.request(l(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?Object(s.getOperationName)(t.query):""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n=65&&e<=90?String.fromCharCode(32+e):e>=112&&e<=123?"f"+(e-112+1):e>=48&&e<=57?String(e-48):e>=96&&e<=105?String(e-96):i[e]),t}(e.keyCode)||"");var n,o}function d(e,t){return p(t,e.hasModifiers)===e.key&&(!e.hasModifiers||!!t.shiftKey==!!e.shiftKey&&!!t.ctrlKey==!!e.ctrlKey&&!!t.altKey==!!e.altKey&&!!t.metaKey==!!e.metaKey)}function f(e){return e.trim().split(" ").map(function(e){return function(e){return 1===e.length?{combo:e,key:e,event:"keydown"}:e.split("+").reduce(function(e,t){var n=t.split(":"),r=n[0],i=n[1];return r in o?(e[o[r]]=!0,e.hasModifiers=!0):(e.key=r,e.event=i||"keydown"),e},{combo:e.split(":").shift()})}(e)})}var v={properties:{keyEventTarget:{type:Object,value:function(){return this}},stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(e,t){this._imperativeKeyBindings[e]=t,this._prepKeyBindings(),this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={},this._prepKeyBindings(),this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(e,t){for(var n=f(t),r=0;r2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t;i!==n;){var o=i.nextSibling;e.insertBefore(i,r),i=o}},o=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t;r!==n;){var i=r.nextSibling;e.removeChild(r),r=i}}},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(422),n(271));function a(){var e=i()(['\n\n \n'],['\n\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,h=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):h=-1,u.length&&d())}function d(){if(!l){var e=s(p);l=!0;for(var t=u.length;t;){for(c=u,u=[];++h1)for(var n=1;n=0){if(!o[t])throw new Error("invalid async handle: "+e);o[t]=null}}}},function(e,t,n){var r=n(281);e.exports=function(e,t){return r(t[e])||r(t["@@implements"])&&!!t["@@implements"](e)}},,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),c=n.n(s),u=n(263),l=n.n(u),h=n(265),p=n.n(h),d=n(277),f=n.n(d),v=n(300),y=n(323),m=n(304),b=133;function _(e,t){for(var n=e.element.content,r=e.parts,i=document.createTreeWalker(n,b,null,!1),o=w(r),a=r[o],s=-1,c=0,u=[],l=null;i.nextNode();){s++;var h=i.currentNode;for(h.previousSibling===l&&(l=null),t.has(h)&&(u.push(h),null===l&&(l=h)),null!==l&&c++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-c,a=r[o=w(r,o)]}u.forEach(function(e){return e.parentNode.removeChild(e)})}var g=function(e){for(var t=11===e.nodeType?0:1,n=document.createTreeWalker(e,b,null,!1);n.nextNode();)t++;return t},w=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,b,null,!1),a=w(i),s=0,c=-1;o.nextNode();)for(c++,o.currentNode===n&&(s=g(t),n.parentNode.insertBefore(t,n));-1!==a&&i[a].index===c;){if(s>0){for(;-1!==a;)i[a].index+=s,a=w(i,a);return}a=w(i,a)}else r.appendChild(t)}(t,i,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){var s=t.element.content.querySelector("style");e.insertBefore(s.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(i,t.element.content.firstChild);var c=new Set;c.add(i),_(t,c)}}else window.ShadyCSS.prepareTemplateStyles(t.element,n)},N=n(291),j=n.n(N),R=n(274),M=n.n(R),F=n(634),D=n.n(F),L=n(376),q=n.n(L),B=function(e){return null!==e},V=function(e){return e?"":null},z=function(e,t){return t!==e&&(t==t||e==e)},Q={attribute:!0,type:String,reflect:!1,hasChanged:z},U=new Promise(function(e){return e(!0)}),H=function(e){function t(){var e;return i()(this,t),(e=c()(this,l()(t).call(this)))._updateState=0,e._instanceProperties=void 0,e._updatePromise=U,e._changedProperties=new Map,e._reflectingProperties=void 0,e.initialize(),e}return p()(t,e),a()(t,[{key:"initialize",value:function(){this.renderRoot=this.createRenderRoot(),this._saveInstanceProperties()}},{key:"_saveInstanceProperties",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this.constructor._classProperties[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=D()(r.value,1)[0];if(this.hasOwnProperty(o)){var a=this[o];delete this[o],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(o,a)}}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}}},{key:"_applyInstanceProperties",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this._instanceProperties[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=D()(r.value,2),a=o[0],s=o[1];this[a]=s}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}this._instanceProperties=void 0}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"connectedCallback",value:function(){1&this._updateState?void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this):this.requestUpdate()}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q,r=this.constructor,i=r._propertyValueToAttribute(t,n);if(void 0!==i){var o=r._attributeNameForProperty(e,n);void 0!==o&&(this._updateState=8|this._updateState,null===i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState)}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n._classProperties.get(r);this[r]=n._propertyValueFromAttribute(t,i)}}}},{key:"requestUpdate",value:function(e,t){if(void 0!==e){var n=this.constructor._classProperties.get(e)||Q;return this._requestPropertyUpdate(e,t,n)}return this._invalidate()}},{key:"_requestPropertyUpdate",value:function(e,t,n){return this.constructor._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0===n.reflect&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n)),this._invalidate()):this.updateComplete}},{key:"_invalidate",value:function(){return new Promise(function(e,t){var n,r;if(!this._hasRequestedUpdate)return this._updateState=4|this._updateState,r=this._updatePromise,this._updatePromise=new Promise(function(e){return n=e}),Promise.resolve(r).then(function(e){try{return this._validate(),n(!this._hasRequestedUpdate),i.call(this)}catch(e){return t(e)}}.bind(this),t);function i(){return e(this.updateComplete)}return i.call(this)}.bind(this))}},{key:"_validate",value:function(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){var e=this._changedProperties;this.update(e),this._markUpdated(),1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e)}else this._markUpdated()}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){if(void 0!==this._reflectingProperties&&this._reflectingProperties.size>0){var t=!0,n=!1,r=void 0;try{for(var i,o=this._reflectingProperties[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=D()(i.value,2),s=a[0],c=a[1];this._propertyToAttribute(s,this[s],c)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}this._reflectingProperties=void 0}}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"createProperty",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q;if(!this.hasOwnProperty("_classProperties")){this._classProperties=new Map;var r=Object.getPrototypeOf(this)._classProperties;void 0!==r&&r.forEach(function(e,n){return t._classProperties.set(n,e)})}if(this._classProperties.set(e,n),!this.prototype.hasOwnProperty(e)){var i="symbol"===M()(e)?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get:function(){return this[i]},set:function(t){var r=this[e];this[i]=t,this._requestPropertyUpdate(e,r,n)},configurable:!0,enumerable:!0})}}},{key:"_finalize",value:function(){if(!this.hasOwnProperty("_finalized")||!this._finalized){var e=Object.getPrototypeOf(this);"function"==typeof e._finalize&&e._finalize(),this._finalized=!0,this._attributeToPropertyMap=new Map;var t=this.properties,n=[].concat(j()(Object.getOwnPropertyNames(t)),j()("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;this.createProperty(c,t[c])}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=void 0!==t&&t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:z)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t&&t.type;if(void 0===n)return e;var r=n===Boolean?B:"function"==typeof n?n:n.fromAttribute;return r?r(e):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t&&void 0!==t.reflect)return(t.type===Boolean?V:t.type&&t.type.toAttribute||String)(e)}},{key:"observedAttributes",get:function(){this._finalize();var e=[],t=!0,n=!1,r=void 0;try{for(var i,o=this._classProperties[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=D()(i.value,2),s=a[0],c=a[1],u=this._attributeNameForProperty(s,c);void 0!==u&&(this._attributeToPropertyMap.set(u,s),e.push(u))}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e}}]),t}(q()(HTMLElement));H._attributeToPropertyMap=new Map,H._finalized=!0,H._classProperties=new Map,H.properties={};K(function(e,t){return e.querySelector(t)}),K(function(e,t){return e.querySelectorAll(t)});function K(e){return function(t){return function(n,r){Object.defineProperty(n,r,{get:function(){return e(this.renderRoot,t)},enumerable:!0,configurable:!0})}}}var $=function(e){function t(){return i()(this,t),c()(this,l()(t).apply(this,arguments))}return p()(t,e),a()(t,[{key:"update",value:function(e){f()(l()(t.prototype),"update",this).call(this,e);var n=this.render();n instanceof v.a&&this.constructor.render(n,this.renderRoot,{scopeName:this.localName,eventContext:this})}},{key:"render",value:function(){}}]),t}(H);$.render=function(e,t,n){var r=n.scopeName,i=k.a.has(t),o=t instanceof ShadowRoot&&C&&e instanceof E.b,a=o&&!P.has(r),s=a?document.createDocumentFragment():t;if(Object(k.b)(e,s,Object.assign({templateFactory:T(r)},n)),a){var c=k.a.get(s);k.a.delete(s),c.value instanceof x.a&&I(s,c.value.template,r),Object(y.b)(t,t.firstChild),t.appendChild(s),k.a.set(t,c)}!i&&o&&window.ShadyCSS.styleElement(t.host)};var W=n(388);n.d(t,"a",function(){return J});var J=function(e){function t(){return i()(this,t),c()(this,l()(t).apply(this,arguments))}return p()(t,e),a()(t,null,[{key:"properties",get:function(){return{client:{type:Object},data:{type:Object},error:{type:Object},loading:{type:Boolean}}}}]),t}(Object(W.a)($))},,,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},,,,function(e,t,n){var r=n(359);e.exports=function(e){return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},function(e,t,n){var r=n(287),i=n(281),o=n(494);e.exports=r(function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n})},function(e,t,n){"use strict";n.d(t,"b",function(){return m}),n.d(t,"a",function(){return b});var r=n(264),i=n.n(r),o=n(263),a=n.n(o),s=n(277),c=n.n(s),u=n(265),l=n.n(u),h=n(261),p=n.n(h),d=n(262),f=n.n(d),v=n(323),y=n(304),m=function(){function e(t,n,r,i){p()(this,e),this.strings=t,this.values=n,this.type=r,this.processor=i}return f()(e,[{key:"getHTML",value:function(){for(var e=this.strings.length-1,t="",n=0;n".concat(c()(a()(t.prototype),"getHTML",this).call(this),"")}},{key:"getTemplateElement",value:function(){var e=c()(a()(t.prototype),"getTemplateElement",this).call(this),n=e.content,r=n.firstChild;return n.removeChild(r),Object(v.c)(n,r.firstChild),e}}]),t}(m)},function(e,t,n){"use strict";var r,i=n(261),o=n.n(i),a=n(262),s=n.n(a),c=n(264),u=n.n(c),l=n(263),h=n.n(l),p=n(265),d=n.n(p),f=n(330),v=n.n(f),y=n(277),m=n.n(y),b=n(388),_=n(619),g=n.n(_),w=n(620),k=n.n(w),O=n(621),x=n.n(O),E=n(622),S=n.n(E),C=n(623),T=n.n(C),A=n(624),P=n.n(A),I=n(498),N=n.n(I),j=n(493),R=n.n(j),M=n(625),F=n.n(M),D=n(499),L=n.n(D),q=n(629),B=n.n(q),V=n(491),z=n.n(V),Q=n(630),U=n.n(Q),H=n(631),K=n.n(H),$=n(633),W=n.n($),J=x()(S.a),Y=B()(["type","kind"],"NonNullType"),G=U()(void 0,["variable","name","value"]),X=z()(null,"query"),Z=function(e){return L()("definitions",X(e)).map(R()(L()("variableDefinitions"))).chain(T.a).chain(P.a).map(R()(N()(Y,G,K.a))).map(k()(P.a)).map(R()(J(z()(null,"variables",e)))).map(F()(g.a)).map(W.a).option(!1)},ee=n(335),te=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return d()(t,e),s()(t,[{key:"shouldUpdate",value:function(){return!!this.data||!!this.error||null!=this.loading}}],[{key:"properties",get:function(){return{networkStatus:{type:Number}}}}]),t}((r=ee.a,function(e){function t(){var e;return o()(this,t),(e=u()(this,h()(t).call(this))).nextData=e.nextData.bind(v()(e)),e.nextError=e.nextError.bind(v()(e)),e.errorPolicy="none",e.fetchPolicy="cache-first",e.fetchResults=void 0,e.pollInterval=void 0,e.notifyOnNetworkStatusChange=void 0,e.variables=void 0,e.query=void 0,e.tryFetch=void 0,e.observableQuery,e}return d()(t,e),s()(t,[{key:"query",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Query must be a gql-parsed DocumentNode")}!this.noAutoSubscribe&&e&&this.subscribe({query:e,variables:this.variables})}},{key:"variables",get:function(){return this.__variables},set:function(e){this.__variables=e;var t=this.__query;this.observableQuery?this.setVariables(e):this.subscribe({query:t,variables:e})}},{key:"options",get:function(){return this.__options},set:function(e){this.__options=e,this.observableQuery&&this.observableQuery.setOptions(e)}}]),s()(t,[{key:"connectedCallback",value:function(){m()(h()(t.prototype),"connectedCallback",this)&&m()(h()(t.prototype),"connectedCallback",this).call(this),this.query&&this.subscribe()}},{key:"setVariables",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tryFetch,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.fetchResults;return this.observableQuery&&this.observableQuery.setVariables(e,t,n)}},{key:"subscribe",value:function(){var e=arguments;return new Promise(function(t,n){var r=e.length>0&&void 0!==e[0]?e[0]:{},i=r.query,o=void 0===i?this.query:i,a=r.variables,s=void 0===a?this.variables:a;return Z({query:o,variables:s})?(this.observableQuery=this.watchQuery({query:o,variables:s}),t(this.observableQuery.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}},{key:"subscribeToMore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.document,n=e.updateQuery;return this.observableQuery&&this.observableQuery.subscribeToMore({document:t,updateQuery:n})}},{key:"executeQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.metadata,n=e.context,r=e.query,i=void 0===r?this.query:r,o=e.variables,a=void 0===o?this.variables:o,s=e.fetchPolicy,c=void 0===s?this.fetchPolicy:s,u=e.errorPolicy,l=void 0===u?this.errorPolicy:u,h=e.fetchResults,p=void 0===h?this.fetchResults:h,d=this.client.query({context:n,errorPolicy:l,fetchPolicy:c,fetchResults:p,metadata:t,query:i,variables:a}).catch(this.nextError.bind(this));return d.then(this.nextData.bind(this)),d}},{key:"fetchMore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.query,n=void 0===t?this.query:t,r=e.updateQuery,i=e.variables;return this.observableQuery&&this.observableQuery.fetchMore({query:n,updateQuery:r,variables:i})}},{key:"watchQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=e.context,n=void 0===t?this.context:t,r=e.errorPolicy,i=void 0===r?this.errorPolicy:r,o=e.fetchPolicy,a=void 0===o?this.fetchPolicy:o,s=e.fetchResults,c=void 0===s?this.fetchResults:s,u=e.metadata,l=void 0===u?this.metadata:u,h=e.notifyOnNetworkStatusChange,p=void 0===h?this.notifyOnNetworkStatusChange:h,d=e.pollInterval,f=void 0===d?this.pollInterval:d,v=e.query,y=void 0===v?this.query:v,m=e.variables,b=void 0===m?this.variables:m;return this.client.watchQuery({context:n,errorPolicy:i,fetchPolicy:a,fetchResults:c,metadata:l,notifyOnNetworkStatusChange:p,pollInterval:f,query:y,variables:b})}},{key:"nextData",value:function(e){var t=e.data,n=e.loading,r=e.networkStatus,i=e.stale;this.data=t,this.loading=n,this.networkStatus=r,this.stale=i}},{key:"nextError",value:function(e){this.error=e}}]),t}(Object(b.a)(r)))),ne=n(428),re=n(638),ie=n.n(re),oe=(function(e){(function(e){function t(){var e;return o()(this,t),(e=u()(this,h()(t).call(this))).nextData=e.nextData.bind(v()(e)),e.nextError=e.nextError.bind(v()(e)),e.fetchPolicy="cache-first",e.fetchResults=void 0,e.pollInterval=void 0,e.notifyOnNetworkStatusChange=void 0,e.variables=void 0,e.subscription=null,e.tryFetch=void 0,e.observable,e}d()(t,e),s()(t,[{key:"subscription",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Subscription must be a gql-parsed DocumentNode")}e&&!this.observable&&this.subscribe()}},{key:"variables",get:function(){return this.__variables},set:function(e){this.__variables=e,this.observable||this.subscribe()}}]),s()(t,[{key:"connectedCallback",value:function(){m()(h()(t.prototype),"connectedCallback",this)&&m()(h()(t.prototype),"connectedCallback",this).call(this),this.subscribe()}},{key:"subscribe",value:function(){var e=arguments;return new Promise(function(t,n){var r=e.length>0&&void 0!==e[0]?e[0]:this,i=r.fetchPolicy,o=void 0===i?this.fetchPolicy:i,a=r.query,s=void 0===a?this.subscription:a,c=r.variables,u=void 0===c?this.variables:c;return Z({query:s,variables:u})?(this.observable=this.client.subscribe({query:s,variables:u,fetchPolicy:o}),t(this.observable.subscribe({next:this.nextData,error:this.nextError}))):t()}.bind(this))}},{key:"nextData",value:function(e){var t=e.data,n=this.client,r=this.onSubscriptionData;ie()(r)&&r({client:n,subscriptionData:{data:t}}),this.data=t,this.loading=!1,this.error=void 0}},{key:"nextError",value:function(e){this.error=e,this.loading=!1}}])})(Object(b.a)(e))}(ee.a),n(429),n(300));n.d(t,"b",function(){return te}),n.d(t,"a",function(){return ne.a}),n.d(t,"c",function(){return oe.b})},,,,,,,,,,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(271));function a(){var e=i()(['\n\n \n\n\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content);var c=document.createElement("style");c.textContent="[hidden] { display: none !important; }",document.head.appendChild(c)},function(e,t,n){"use strict";n.d(t,"b",function(){return i});n(276);var r=n(309);n.d(t,"a",function(){return r.b});var i=function(){var e,t;do{e=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=Object(r.c)()}while(e||t)}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});n(267),n(319);var r=n(320),i=n(278),o={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:"aria-pressed",observer:"_ariaActiveAttributeChanged"}},listeners:{down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},observers:["_focusChanged(focused)","_activeChanged(active, ariaActiveAttribute)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_mouseEventRe:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_focusChanged:function(e){this._detectKeyboardFocus(e),e||this._setPressed(!1)},_detectKeyboardFocus:function(e){this._setReceivedFocusFromKeyboard(!this.pointerDown&&e)},_userActivate:function(e){this.active!==e&&(this.active=e,this.fire("change"))},_downHandler:function(e){this._setPointerDown(!0),this._setPressed(!0),this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1),this._setPressed(!1)},_spaceKeyDownHandler:function(e){var t=e.detail.keyboardEvent,n=Object(i.a)(t).localTarget;this.isLightDescendant(n)||(t.preventDefault(),t.stopImmediatePropagation(),this._setPressed(!0))},_spaceKeyUpHandler:function(e){var t=e.detail.keyboardEvent,n=Object(i.a)(t).localTarget;this.isLightDescendant(n)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},_asyncClick:function(){this.async(function(){this.click()},1)},_pressedChanged:function(e){this._changedButtonState()},_ariaActiveAttributeChanged:function(e,t){t&&t!=e&&this.hasAttribute(t)&&this.removeAttribute(t)},_activeChanged:function(e,t){this.toggles?this.setAttribute(this.ariaActiveAttribute,e?"true":"false"):this.removeAttribute(this.ariaActiveAttribute),this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}},a=[r.a,o]},function(e,t){e.exports=function(e){return void 0!==e}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t,n){var r=n(609);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){var n={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e){return{type:r(e)}},type:r,typeFn:function(e,t){return"crocks/"+r(e)()+"@"+(t||0)}}},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});var r=n(304);function i(e){var t=o.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},o.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var i=e.strings.join(r.f);return void 0===(n=t.keyString.get(i))&&(n=new r.a(e,e.getTemplateElement()),t.keyString.set(i,n)),t.stringsArray.set(e.strings,n),n}var o=new Map},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(272)),a=n(271);function s(){var e=i()(['\n \n
[[_text]]
\n']);return s=function(){return e},e}var c=Object(o.a)({_template:Object(a.a)(s()),is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},_text:{type:String,value:""}},created:function(){c.instance||(c.instance=this),document.body.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},announce:function(e){this._text="",this.async(function(){this._text=e},100)},_onIronAnnounce:function(e){e.detail&&e.detail.text&&this.announce(e.detail.text)}});c.instance=null,c.requestAvailability=function(){c.instance||(c.instance=document.createElement("iron-a11y-announcer")),document.body.appendChild(c.instance)};var u=n(430),l=n(278);function h(){var e=i()(['\n \n \n']);return h=function(){return e},e}Object(o.a)({_template:Object(a.a)(h()),is:"iron-input",behaviors:[u.a],properties:{bindValue:{type:String,value:""},value:{type:String,computed:"_computeValue(bindValue)"},allowedPattern:{type:String},autoValidate:{type:Boolean,value:!1},_inputElement:Object},observers:["_bindValueChanged(bindValue, _inputElement)"],listeners:{input:"_onInput",keypress:"_onKeypress"},created:function(){c.requestAvailability(),this._previousValidInput="",this._patternAlreadyChecked=!1},attached:function(){this._observer=Object(l.a)(this).observeNodes(function(e){this._initSlottedInput()}.bind(this))},detached:function(){this._observer&&(Object(l.a)(this).unobserveNodes(this._observer),this._observer=null)},get inputElement(){return this._inputElement},_initSlottedInput:function(){this._inputElement=this.getEffectiveChildren()[0],this.inputElement&&this.inputElement.value&&(this.bindValue=this.inputElement.value),this.fire("iron-input-ready")},get _patternRegExp(){var e;if(this.allowedPattern)e=new RegExp(this.allowedPattern);else switch(this.inputElement.type){case"number":e=/[0-9.,e-]/}return e},_bindValueChanged:function(e,t){t&&(void 0===e?t.value=null:e!==t.value&&(this.inputElement.value=e),this.autoValidate&&this.validate(),this.fire("bind-value-changed",{value:e}))},_onInput:function(){this.allowedPattern&&!this._patternAlreadyChecked&&(this._checkPatternValidity()||(this._announceInvalidCharacter("Invalid string of characters not entered."),this.inputElement.value=this._previousValidInput));this.bindValue=this._previousValidInput=this.inputElement.value,this._patternAlreadyChecked=!1},_isPrintable:function(e){var t=8==e.keyCode||9==e.keyCode||13==e.keyCode||27==e.keyCode,n=19==e.keyCode||20==e.keyCode||45==e.keyCode||46==e.keyCode||144==e.keyCode||145==e.keyCode||e.keyCode>32&&e.keyCode<41||e.keyCode>111&&e.keyCode<124;return!(t||0==e.charCode&&n)},_onKeypress:function(e){if(this.allowedPattern||"number"===this.inputElement.type){var t=this._patternRegExp;if(t&&!(e.metaKey||e.ctrlKey||e.altKey)){this._patternAlreadyChecked=!0;var n=String.fromCharCode(e.charCode);this._isPrintable(e)&&!t.test(n)&&(e.preventDefault(),this._announceInvalidCharacter("Invalid character "+n+" not entered."))}}},_checkPatternValidity:function(){var e=this._patternRegExp;if(!e)return!0;for(var t=0;t\n :host {\n display: inline-block;\n float: right;\n\n @apply --paper-font-caption;\n @apply --paper-input-char-counter;\n }\n\n :host([hidden]) {\n display: none !important;\n }\n\n :host(:dir(rtl)) {\n float: left;\n }\n \n\n [[_charCounterStr]]\n"]);return d=function(){return e},e}Object(o.a)({_template:Object(a.a)(d()),is:"paper-input-char-counter",behaviors:[p],properties:{_charCounterStr:{type:String,value:"0"}},update:function(e){if(e.inputElement){e.value=e.value||"";var t=e.value.toString().length.toString();e.inputElement.hasAttribute("maxlength")&&(t+="/"+e.inputElement.getAttribute("maxlength")),this._charCounterStr=t}}});n(355),n(324);var f=n(381);function v(){var e=i()(['\n \n\n \n\n
\n \n\n
\n \n \n
\n\n \n
\n\n
\n
\n
\n
\n\n
\n \n
\n']);return v=function(){return e},e}function y(){var e=i()(['\n\n \n\n']);return y=function(){return e},e}var m=Object(a.a)(y());function b(){var e=i()(['\n \n\n \x3c!--\n If the paper-input-error element is directly referenced by an\n `aria-describedby` attribute, such as when used as a paper-input add-on,\n then applying `visibility: hidden;` to the paper-input-error element itself\n does not hide the error.\n\n For more information, see:\n https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description\n --\x3e\n
\n \n
\n'],['\n \n\n \x3c!--\n If the paper-input-error element is directly referenced by an\n \\`aria-describedby\\` attribute, such as when used as a paper-input add-on,\n then applying \\`visibility: hidden;\\` to the paper-input-error element itself\n does not hide the error.\n\n For more information, see:\n https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description\n --\x3e\n
\n \n
\n']);return b=function(){return e},e}m.setAttribute("style","display: none;"),document.head.appendChild(m.content),Object(o.a)({_template:Object(a.a)(v()),is:"paper-input-container",properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,iron-input,textarea,.paper-input-input"},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return Object(f.b)(this.attrForValue)},get _inputElement(){return Object(l.a)(this).querySelector(this._inputSelector)},get _inputElementValue(){return this._inputElement[this._propertyForValue]||this._inputElement.value},ready:function(){this.__isFirstValueUpdate=!0,this._addons||(this._addons=[]),this.addEventListener("focus",this._boundOnFocus,!0),this.addEventListener("blur",this._boundOnBlur,!0)},attached:function(){this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput),this._inputElementValue&&""!=this._inputElementValue?this._handleValueAndAutoValidate(this._inputElement):this._handleValue(this._inputElement)},_onAddonAttached:function(e){this._addons||(this._addons=[]);var t=e.target;-1===this._addons.indexOf(t)&&(this._addons.push(t),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1),this._handleValueAndAutoValidate(this._inputElement)},_onInput:function(e){this._handleValueAndAutoValidate(e.target)},_onValueChanged:function(e){var t=e.target;this.__isFirstValueUpdate&&(this.__isFirstValueUpdate=!1,void 0===t.value||""===t.value)||this._handleValueAndAutoValidate(e.target)},_handleValue:function(e){var t=this._inputElementValue;t||0===t||"number"===e.type&&!e.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1,this.updateAddons({inputElement:e,value:t,invalid:this.invalid})},_handleValueAndAutoValidate:function(e){var t;this.autoValidate&&e&&(t=e.validate?e.validate(this._inputElementValue):e.checkValidity(),this.invalid=!t);this._handleValue(e)},_onIronInputValidate:function(e){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},updateAddons:function(e){for(var t,n=0;t=this._addons[n];n++)t.update(e)},_computeInputContentClass:function(e,t,n,r,i){var o="input-content";if(e)i&&(o+=" label-is-hidden"),r&&(o+=" is-invalid");else{var a=this.querySelector("label");t||i?(o+=" label-is-floating",this.$.labelAndInputContainer.style.position="static",r?o+=" is-invalid":n&&(o+=" label-is-highlighted")):(a&&(this.$.labelAndInputContainer.style.position="relative"),r&&(o+=" is-invalid"))}return n&&(o+=" focused"),o},_computeUnderlineClass:function(e,t){var n="underline";return t?n+=" is-invalid":e&&(n+=" is-highlighted"),n},_computeAddOnContentClass:function(e,t){var n="add-on-content";return t?n+=" is-invalid":e&&(n+=" is-highlighted"),n}}),Object(o.a)({_template:Object(a.a)(b()),is:"paper-input-error",behaviors:[p],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(e){this._setInvalid(e.invalid)}});var _=n(432),g=(n(420),n(320)),w=n(319),k=n(383),O={NextLabelID:1,NextAddonID:1,NextInputID:1},x={properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1,notify:!0},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,observer:"_autofocusChanged"},inputmode:{type:String},minlength:{type:Number},maxlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},autocapitalize:{type:String,value:"none"},autocorrect:{type:String,value:"off"},autosave:{type:String},results:{type:Number},accept:{type:String},multiple:{type:Boolean},_ariaDescribedBy:{type:String,value:""},_ariaLabelledBy:{type:String,value:""},_inputId:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},keyBindings:{"shift+tab:keydown":"_onShiftTabDown"},hostAttributes:{tabindex:0},get inputElement(){return this.$||(this.$={}),this.$.input||(this._generateInputId(),this.$.input=this.$$("#"+this._inputId)),this.$.input},get _focusableElement(){return this.inputElement},created:function(){this._typesThatHaveText=["date","datetime","datetime-local","month","time","week","file"]},attached:function(){this._updateAriaLabelledBy(),!k.a&&this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.inputElement.type)&&(this.alwaysFloatLabel=!0)},_appendStringWithSpace:function(e,t){return e=e?e+" "+t:t},_onAddonAttached:function(e){var t=Object(l.a)(e).rootTarget;if(t.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,t.id);else{var n="paper-input-add-on-"+O.NextAddonID++;t.id=n,this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,n)}},validate:function(){return this.inputElement.validate()},_focusBlurHandler:function(e){w.a._focusBlurHandler.call(this,e),this.focused&&!this._shiftTabPressed&&this._focusableElement&&this._focusableElement.focus()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",t),this._shiftTabPressed=!1},1)},_handleAutoValidate:function(){this.autoValidate&&this.validate()},updateValueAndPreserveCaret:function(e){try{var t=this.inputElement.selectionStart;this.value=e,this.inputElement.selectionStart=t,this.inputElement.selectionEnd=t}catch(t){this.value=e}},_computeAlwaysFloatLabel:function(e,t){return t||e},_updateAriaLabelledBy:function(){var e,t=Object(l.a)(this.root).querySelector("label");t?(t.id?e=t.id:(e="paper-input-label-"+O.NextLabelID++,t.id=e),this._ariaLabelledBy=e):this._ariaLabelledBy=""},_generateInputId:function(){this._inputId&&""!==this._inputId||(this._inputId="input-"+O.NextInputID++)},_onChange:function(e){this.shadowRoot&&this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable})},_autofocusChanged:function(){if(this.autofocus&&this._focusableElement){var e=document.activeElement;e instanceof HTMLElement&&e!==document.body&&e!==document.documentElement||this._focusableElement.focus()}}},E=[w.a,g.a,x];function S(){var e=i()(['\n \n\n \n\n \n\n \n\n \x3c!-- Need to bind maxlength so that the paper-input-char-counter works correctly --\x3e\n \n \n \n\n \n\n \n\n \n\n \n ']);return S=function(){return e},e}Object(o.a)({is:"paper-input",_template:Object(a.a)(S()),behaviors:[E,_.a],properties:{value:{type:String}},get _focusableElement(){return this.inputElement._inputElement},listeners:{"iron-input-ready":"_onIronInputReady"},_onIronInputReady:function(){this.$.nativeInput||(this.$.nativeInput=this.$$("input")),this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.$.nativeInput.type)&&(this.alwaysFloatLabel=!0),this.inputElement.bindValue&&this.$.container._handleValueAndAutoValidate(this.inputElement)}})},,,,,,,,,,,,,function(e,t,n){var r=n(263),i=n(414),o=n(579),a=n(580);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},,,function(e,t,n){"use strict";n.d(t,"c",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u});n(276);var r,i,o=/(url\()([^)]*)(\))/g,a=/(^\/)|(^#)|(^[\w-\d]*:)/;function s(e,t){if(e&&a.test(e))return e;if(void 0===r){r=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",r="http://a/c%20d"===n.href}catch(e){}}return t||(t=document.baseURI||window.location.href),r?new URL(e,t).href:(i||((i=document.implementation.createHTMLDocument("temp")).base=i.createElement("base"),i.head.appendChild(i.base),i.anchor=i.createElement("a"),i.body.appendChild(i.anchor)),i.base.href=t,i.anchor.href=e,i.anchor.href||e)}function c(e,t){return e.replace(o,function(e,n,r,i){return n+"'"+s(r.replace(/["']/g,""),t)+"'"+i})}function u(e){return e.substring(0,e.lastIndexOf("/")+1)}},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"g",function(){return i}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"i",function(){return s}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return u}),n.d(t,"a",function(){return h}),n.d(t,"h",function(){return p});n(276);function r(e){return e.indexOf(".")>=0}function i(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function o(e,t){return 0===e.indexOf(t+".")}function a(e,t){return 0===t.indexOf(e+".")}function s(e,t,n){return t+n.slice(e.length)}function c(e,t){return e===t||o(e,t)||a(e,t)}function u(e){if(Array.isArray(e)){for(var t=[],n=0;n1){for(var a=0;a-1}var b=!1;function _(e){if(!m(e)&&"touchend"!==e)return s&&b&&o.c?{passive:!0}:void 0}!function(){try{var e=Object.defineProperty({},"passive",{get:function(){b=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();var g=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/),w=[],k={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},O={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function x(e){var t=Array.prototype.slice.call(e.labels||[]);if(!t.length){t=[];var n=e.getRootNode();if(e.id)for(var r=n.querySelectorAll("label[for = ".concat(e.id,"]")),i=0;i-1;if(i[o]===T.mouse.target)return}if(r)return;e.preventDefault(),e.stopPropagation()}};function S(e){for(var t,n=g?["click"]:f,r=0;r0?t[0]:e.target}function M(e){var t,n=e.type,r=e.currentTarget[c];if(r){var i=r[n];if(i){if(!e[u]&&(e[u]={},"touch"===n.slice(0,5))){var o=(e=e).changedTouches[0];if("touchstart"===n&&1===e.touches.length&&(T.touch.id=o.identifier),T.touch.id!==o.identifier)return;s||"touchstart"!==n&&"touchmove"!==n||function(e){var t=e.changedTouches[0],n=e.type;if("touchstart"===n)T.touch.x=t.clientX,T.touch.y=t.clientY,T.touch.scrollDecided=!1;else if("touchmove"===n){if(T.touch.scrollDecided)return;T.touch.scrollDecided=!0;var r=function(e){for(var t,n="auto",r=I(e),i=0;io:"pan-y"===r&&(i=o>a)),i?e.preventDefault():V("track")}}(e)}if(!(t=e[u]).skip){for(var a,h=0;h-1&&a.reset&&a.reset();for(var p,d=0;d=p||i>=p}function U(e,t,n){if(t){var r,i=e.moves[e.moves.length-2],o=e.moves[e.moves.length-1],a=o.x-e.x,s=o.y-e.y,c=0;i&&(r=o.x-i.x,c=o.y-i.y),B(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:a,dy:s,ddx:r,ddy:c,sourceEvent:n,hover:function(){return function(e,t){for(var n=document.elementFromPoint(e,t),r=n;r&&r.shadowRoot&&!window.ShadyDOM&&r!==(r=r.shadowRoot.elementFromPoint(e,t));)r&&(n=r);return n}(n.clientX,n.clientY)}})}}function H(e,t,n){var r=Math.abs(t.clientX-e.x),i=Math.abs(t.clientY-e.y),o=R(n||t);!o||O[o.localName]&&o.hasAttribute("disabled")||(isNaN(r)||isNaN(i)||r<=h&&i<=h||function(e){if("click"===e.type){if(0===e.detail)return!0;var t=R(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;var n=t.getBoundingClientRect(),r=e.pageX,i=e.pageY;return!(r>=n.left&&r<=n.right&&i>=n.top&&i<=n.bottom)}return!1}(t))&&(e.prevent||B(o,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}L({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){P(this.info)},mousedown:function(e){if(C(e)){var t=R(e),n=this;A(this.info,function(e){C(e)||(z("up",t,e),P(n.info))},function(e){C(e)&&z("up",t,e),P(n.info)}),z("down",t,e)}},touchstart:function(e){z("down",R(e),e.changedTouches[0],e)},touchend:function(e){z("up",R(e),e.changedTouches[0],e)}}),L({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,P(this.info)},mousedown:function(e){if(C(e)){var t=R(e),n=this,r=function(e){var r=e.clientX,i=e.clientY;Q(n.info,r,i)&&(n.info.state=n.info.started?"mouseup"===e.type?"end":"track":"start","start"===n.info.state&&V("tap"),n.info.addMove({x:r,y:i}),C(e)||(n.info.state="end",P(n.info)),t&&U(n.info,t,e),n.info.started=!0)};A(this.info,r,function(e){n.info.started&&r(e),P(n.info)}),this.info.x=e.clientX,this.info.y=e.clientY}},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){var t=R(e),n=e.changedTouches[0],r=n.clientX,i=n.clientY;Q(this.info,r,i)&&("start"===this.info.state&&V("tap"),this.info.addMove({x:r,y:i}),U(this.info,t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){var t=R(e),n=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),U(this.info,t,n))}}),L({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(e){C(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click:function(e){C(e)&&H(this.info,e)},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend:function(e){H(this.info,e.changedTouches[0],e)}});var K=R,$=F},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(393),i=(n(271),Object(r.a)(HTMLElement))},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=new WeakMap,i=function(e){return"function"==typeof e&&r.has(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r={},i={}},function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n(291),i=n.n(r),o=n(261),a=n.n(o),s=n(262),c=n.n(s),u=n(323),l=n(304),h=function(){function e(t,n,r){a()(this,e),this._parts=[],this.template=t,this.processor=n,this.options=r}return c()(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var c=!0,u=!1,l=void 0;try{for(var h,p=this._parts[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;void 0!==d&&d.commit()}}catch(e){u=!0,l=e}finally{try{c||null==p.return||p.return()}finally{if(u)throw l}}}},{key:"_clone",value:function(){var e=this,t=u.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=this.template.parts,r=0,o=0;return function t(a){for(var s=document.createTreeWalker(a,133,null,!1),c=s.nextNode();r/g,""),L()("innerText")),B=b()(S()("SCRIPT"),x()(null,"tagName"));var V=F()(T.a,k()(null),F()(R()(B,function(e){return e instanceof Element&&"application/graphql"===e.getAttribute("type")}),q,function(){return function(e){throw new TypeError(e)}('Script must be of type "application/graphql"')})),z=b()(V,function(e){return e instanceof HTMLElement&&e.querySelector('script[type="application/graphql"]')}),Q=n(274),U=n.n(Q),H=function(e){return!!(e&&"object"===U()(e)&&"kind"in e&&"definitions"in e)};n.d(t,"a",function(){return K});var K=function(e){return function(e){function t(){var e;return i()(this,t),(e=c()(this,p()(t).call(this))).onElementMutation=e.onElementMutation.bind(l()(e)),e.context=void 0,e.data=void 0,e.error=void 0,e.loading=void 0,e.client=window.__APOLLO_CLIENT__,e.elementMutationObserver=new MutationObserver(e.onElementMutation),e}return y()(t,e),a()(t,[{key:"connectedCallback",value:function(){f()(p()(t.prototype),"connectedCallback",this)&&f()(p()(t.prototype),"connectedCallback",this).call(this),this.elementMutationObserver.observe(this,{characterData:!0,childList:!0,subtree:!0}),this.document=z(this)||null}},{key:"disconnectedCallback",value:function(){f()(p()(t.prototype),"disconnectedCallback",this)&&f()(p()(t.prototype),"disconnectedCallback",this).call(this),this.elementMutationObserver&&this.elementMutationObserver.disconnect(),this.elementMutationObserver=null}},{key:"onElementMutation",value:function(){var e=z(this);e&&(this.document=e)}},{key:"document",get:function(){return this.__document||null},set:function(e){if(H(e))this.__document=e;else if(e)throw new TypeError("document must be a gql-parsed DocumentNode")}}]),t}(e)}},,,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=n(267),a=n(274),s=n.n(a),c=n(272);Object(c.a)({is:"iron-request",hostAttributes:{hidden:!0},properties:{xhr:{type:Object,notify:!0,readOnly:!0,value:function(){return new XMLHttpRequest}},response:{type:Object,notify:!0,readOnly:!0,value:function(){return null}},status:{type:Number,notify:!0,readOnly:!0,value:0},statusText:{type:String,notify:!0,readOnly:!0,value:""},completes:{type:Object,readOnly:!0,notify:!0,value:function(){return new Promise(function(e,t){this.resolveCompletes=e,this.rejectCompletes=t}.bind(this))}},progress:{type:Object,notify:!0,readOnly:!0,value:function(){return{}}},aborted:{type:Boolean,notify:!0,readOnly:!0,value:!1},errored:{type:Boolean,notify:!0,readOnly:!0,value:!1},timedOut:{type:Boolean,notify:!0,readOnly:!0,value:!1}},get succeeded(){if(this.errored||this.aborted||this.timedOut)return!1;var e=this.xhr.status||0;return 0===e||e>=200&&e<300},send:function(e){var t=this.xhr;if(t.readyState>0)return null;t.addEventListener("progress",function(e){this._setProgress({lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total}),this.fire("iron-request-progress-changed",{value:this.progress})}.bind(this)),t.addEventListener("error",function(t){this._setErrored(!0),this._updateStatus();var n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("timeout",function(t){this._setTimedOut(!0),this._updateStatus();var n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("abort",function(){this._setAborted(!0),this._updateStatus();var t=new Error("Request aborted."),n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("loadend",function(){if(this._updateStatus(),this._setResponse(this.parseResponse()),this.succeeded)this.resolveCompletes(this);else{var t=new Error("The request failed with status code: "+this.xhr.status),n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}}.bind(this)),this.url=e.url;var n=!1!==e.async;t.open(e.method||"GET",e.url,n);var r={json:"application/json",text:"text/plain",html:"text/html",xml:"application/xml",arraybuffer:"application/octet-stream"}[e.handleAs],i=e.headers||Object.create(null),a=Object.create(null);for(var s in i)a[s.toLowerCase()]=i[s];if(i=a,r&&!i.accept&&(i.accept=r),Object.keys(i).forEach(function(e){/[A-Z]/.test(e)&&o.a._error("Headers must be lower case, got",e),t.setRequestHeader(e,i[e])},this),n){t.timeout=e.timeout;var c=e.handleAs;!e.jsonPrefix&&c||(c="text"),t.responseType=t._responseType=c,e.jsonPrefix&&(t._jsonPrefix=e.jsonPrefix)}t.withCredentials=!!e.withCredentials;var u=this._encodeBodyObject(e.body,i["content-type"]);return t.send(u),this.completes},parseResponse:function(){var e=this.xhr,t=e.responseType||e._responseType,n=!this.xhr.responseType,r=e._jsonPrefix&&e._jsonPrefix.length||0;try{switch(t){case"json":if(n||void 0===e.response)try{return JSON.parse(e.responseText)}catch(t){return console.warn("Failed to parse JSON sent from "+e.responseURL),null}return e.response;case"xml":return e.responseXML;case"blob":case"document":case"arraybuffer":return e.response;case"text":default:if(r)try{return JSON.parse(e.responseText.substring(r))}catch(t){return console.warn("Failed to parse JSON sent from "+e.responseURL),null}return e.responseText}}catch(e){this.rejectCompletes(new Error("Could not parse response. "+e.message))}},abort:function(){this._setAborted(!0),this.xhr.abort()},_encodeBodyObject:function(e,t){if("string"==typeof e)return e;var n=e;switch(t){case"application/json":return JSON.stringify(n);case"application/x-www-form-urlencoded":return this._wwwFormUrlEncode(n)}return e},_wwwFormUrlEncode:function(e){if(!e)return"";var t=[];return Object.keys(e).forEach(function(n){t.push(this._wwwFormUrlEncodePiece(n)+"="+this._wwwFormUrlEncodePiece(e[n]))},this),t.join("&")},_wwwFormUrlEncodePiece:function(e){return null!=e&&e.toString?encodeURIComponent(e.toString().replace(/\r?\n/g,"\r\n")).replace(/%20/g,"+"):""},_updateStatus:function(){this._setStatus(this.xhr.status),this._setStatusText(void 0===this.xhr.statusText?"":this.xhr.statusText)}}),Object(c.a)({is:"iron-ajax",hostAttributes:{hidden:!0},properties:{url:{type:String},params:{type:Object,value:function(){return{}}},method:{type:String,value:"GET"},headers:{type:Object,value:function(){return{}}},contentType:{type:String,value:null},body:{type:Object,value:null},sync:{type:Boolean,value:!1},handleAs:{type:String,value:"json"},withCredentials:{type:Boolean,value:!1},timeout:{type:Number,value:0},auto:{type:Boolean,value:!1},verbose:{type:Boolean,value:!1},lastRequest:{type:Object,notify:!0,readOnly:!0},lastProgress:{type:Object,notify:!0,readOnly:!0},loading:{type:Boolean,notify:!0,readOnly:!0},lastResponse:{type:Object,notify:!0,readOnly:!0},lastError:{type:Object,notify:!0,readOnly:!0},activeRequests:{type:Array,notify:!0,readOnly:!0,value:function(){return[]}},debounceDuration:{type:Number,value:0,notify:!0},jsonPrefix:{type:String,value:""},bubbles:{type:Boolean,value:!1},rejectWithRequest:{type:Boolean,value:!1},_boundHandleResponse:{type:Function,value:function(){return this._handleResponse.bind(this)}}},observers:["_requestOptionsChanged(url, method, params.*, headers, contentType, body, sync, handleAs, jsonPrefix, withCredentials, timeout, auto)"],created:function(){this._boundOnProgressChanged=this._onProgressChanged.bind(this)},get queryString(){var e,t,n=[];for(e in this.params)if(t=this.params[e],e=window.encodeURIComponent(e),Array.isArray(t))for(var r=0;r=0?"&":"?";return t+n+e}return t},get requestHeaders(){var e,t={},n=this.contentType;if(null==n&&"string"==typeof this.body&&(n="application/x-www-form-urlencoded"),n&&(t["content-type"]=n),"object"===s()(this.headers))for(e in this.headers)t[e]=this.headers[e].toString();return t},_onProgressChanged:function(e){this._setLastProgress(e.detail.value)},toRequestOptions:function(){return{url:this.requestUrl||"",method:this.method,headers:this.requestHeaders,body:this.body,async:!this.sync,handleAs:this.handleAs,jsonPrefix:this.jsonPrefix,withCredentials:this.withCredentials,timeout:this.timeout,rejectWithRequest:this.rejectWithRequest}},generateRequest:function(){var e=document.createElement("iron-request"),t=this.toRequestOptions();return this.push("activeRequests",e),e.completes.then(this._boundHandleResponse).catch(this._handleError.bind(this,e)).then(this._discardRequest.bind(this,e)),this.fire("iron-ajax-presend",{request:e,options:t},{bubbles:this.bubbles,cancelable:!0}).defaultPrevented?(e.abort(),e.rejectCompletes(e),e):(this.lastRequest&&this.lastRequest.removeEventListener("iron-request-progress-changed",this._boundOnProgressChanged),e.addEventListener("iron-request-progress-changed",this._boundOnProgressChanged),e.send(t),this._setLastProgress(null),this._setLastRequest(e),this._setLoading(!0),this.fire("request",{request:e,options:t},{bubbles:this.bubbles,composed:!0}),this.fire("iron-ajax-request",{request:e,options:t},{bubbles:this.bubbles,composed:!0}),e)},_handleResponse:function(e){e===this.lastRequest&&(this._setLastResponse(e.response),this._setLastError(null),this._setLoading(!1)),this.fire("response",e,{bubbles:this.bubbles,composed:!0}),this.fire("iron-ajax-response",e,{bubbles:this.bubbles,composed:!0})},_handleError:function(e,t){this.verbose&&o.a._error(t),e===this.lastRequest&&(this._setLastError({request:e,error:t,status:e.xhr.status,statusText:e.xhr.statusText,response:e.xhr.response}),this._setLastResponse(null),this._setLoading(!1)),this.fire("iron-ajax-error",{request:e,error:t},{bubbles:this.bubbles,composed:!0}),this.fire("error",{request:e,error:t},{bubbles:this.bubbles,composed:!0})},_discardRequest:function(e){var t=this.activeRequests.indexOf(e);t>-1&&this.splice("activeRequests",t,1)},_requestOptionsChanged:function(){this.debounce("generate-request",function(){null!=this.url&&this.auto&&this.generateRequest()},this.debounceDuration)}});var u=n(278),l=n(271);function h(){var e=i()(['\n \n\n \x3c!-- This form is used to collect the elements that should be submitted --\x3e\n \n\n \x3c!-- This form is used for submission --\x3e\n
\n'],['\n \n\n \x3c!-- This form is used to collect the elements that should be submitted --\x3e\n \n\n \x3c!-- This form is used for submission --\x3e\n
\n']);return h=function(){return e},e}Object(c.a)({_template:Object(l.a)(h()),is:"iron-form",properties:{allowRedirect:{type:Boolean,value:!1},headers:{type:Object,value:function(){return{}}},withCredentials:{type:Boolean,value:!1}},attached:function(){this._form||(this._form=Object(u.a)(this).querySelector("form"),this._form?(this._init(),this.async(this._saveInitialValues.bind(this),1)):this._nodeObserver=Object(u.a)(this).observeNodes(function(e){for(var t=0;t\n \n"]);return s=function(){return e},e}var c=Object(a.a)(s());c.setAttribute("style","display: none;"),document.head.appendChild(c.content)},,,,,,,,,,,,,,,,,,,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c});var r=n(289),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(n){void 0===n&&(n=i);var r=e.call(this,n)||this;return r.framesToPop=1,r.name=i,a(r,t.prototype),r}return Object(r.__extends)(t,e),t}(Error);function c(e,t){if(!e)throw new s(t)}!function(e){e.warn=function(){for(var e=[],t=0;t2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,u=Array.isArray(e),l=[e],h=-1,p=[],d=void 0,f=void 0,v=void 0,y=[],m=[],b=e;do{var _=++h===l.length,g=_&&0!==p.length;if(_){if(f=0===m.length?void 0:y[y.length-1],d=v,v=m.pop(),g){if(u)d=d.slice();else{for(var w={},k=Object.keys(d),O=0;O\n \n\n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},function(e,t,n){var r=n(333),i=n(613);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(361).proxy("Pred"),i=n(281),o=n(343);e.exports=function(e){return i(e)||o(r,e)}},function(e,t,n){var r=n(281);e.exports=function(e,t){return r(e)?e(t):e.runWith(t)}},function(e,t,n){var r=n(343),i=n(492),o=n(333),a=n(494),s=function(e,t){return e.valueOf()===t.valueOf()},c={Array:function(e,t){return e.length===t.length&&u(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e,t){return Object.keys(e).length===Object.keys(t).length&&u(e,t)}),RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function u(e,t){for(var n in e)if(!l(e[n],t[n]))return!1;return!0}function l(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?e.equals(t):(c[a(e)]||s)(e,t))}e.exports=l},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),c=n.n(s),u=n(263),l=n.n(u),h=n(265),p=n.n(h),d=n(335),f=n(429),v=function(e){function t(){return i()(this,t),c()(this,l()(t).apply(this,arguments))}return p()(t,e),a()(t,null,[{key:"properties",get:function(){return{called:{type:Boolean}}}}]),t}(Object(f.a)(d.a))},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(261),i=n.n(r),o=n(264),a=n.n(o),s=n(263),c=n.n(s),u=n(262),l=n.n(u),h=n(265),p=n.n(h),d=n(388),f=function(e){return function(e){function t(){var e;return i()(this,t),(e=a()(this,c()(t).call(this))).ignoreResults=!1,e.mostRecentMutationId=0,e.onCompleted=function(){},e.onError=function(){},e.optimisticResponse=void 0,e.onUpdate=void 0,e.variables=void 0,e.__explicitlySetMutation=void 0,e}return p()(t,e),l()(t,[{key:"mutation",get:function(){return this.document},set:function(e){try{this.document=e}catch(e){throw new TypeError("Mutation must be a gql-parsed DocumentNode")}}}]),l()(t,[{key:"generateMutationId",value:function(){return this.mostRecentMutationId+=1,this.mostRecentMutationId}},{key:"isMostRecentMutation",value:function(e){return this.mostRecentMutationId===e}},{key:"mutate",value:function(){var e=arguments;return new Promise(function(t,n){var r,i,o,a,s,c,u,l,h,p,d,f,v,y,m,b,_,g,w,k,O;o=void 0===(i=(r=e.length>0&&void 0!==e[0]?e[0]:this).context)?this.context:i,s=void 0===(a=r.errorPolicy)?this.errorPolicy:a,u=void 0===(c=r.fetchPolicy)?this.fetchPolicy:c,h=void 0===(l=r.mutation)?this.mutation:l,d=void 0===(p=r.optimisticResponse)?this.optimisticResponse:p,v=void 0===(f=r.refetchQueries)?this.refetchQueries:f,m=void 0===(y=r.update)?this.onUpdate:y,_=void 0===(b=r.awaitRefetchQueries)?this.awaitRefetchQueries:b,w=void 0===(g=r.variables)?this.variables:g,k=this.generateMutationId(),this.loading=!0,this.error=void 0,this.data=void 0,this.called=!0;var x=function(e){try{return this.onMutationError(e,k),t(e)}catch(e){return n(e)}}.bind(this);try{return Promise.resolve(this.client.mutate({context:o,errorPolicy:s,fetchPolicy:u,mutation:h,optimisticResponse:d,refetchQueries:v,update:m,awaitRefetchQueries:_,variables:w})).then(function(e){try{return O=e,this.onCompletedMutation(O,k),t(O)}catch(e){return x(e)}}.bind(this),x)}catch(e){x(e)}}.bind(this))}},{key:"onCompletedMutation",value:function(e,t){var n=e.data;return this.isMostRecentMutation(t)&&!this.ignoreResults&&(this.loading=!1,this.error=null,this.data=n),this.onCompleted(n)}},{key:"onMutationError",value:function(e,t){return this.isMostRecentMutation(t)&&(this.loading=!1,this.data=null,this.error=e),this.onError(e)}}]),t}(Object(d.a)(e))}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(267);var r=n(431),i=null,o={properties:{validator:{type:String},invalid:{notify:!0,reflectToAttribute:!0,type:Boolean,value:!1,observer:"_invalidChanged"}},registered:function(){i=new r.a({type:"validator"})},_invalidChanged:function(){this.invalid?this.setAttribute("aria-invalid","true"):this.removeAttribute("aria-invalid")},get _validator(){return i&&i.byKey(this.validator)},hasValidator:function(){return null!=this._validator},validate:function(e){return void 0===e&&void 0!==this.value?this.invalid=!this._getValidity(this.value):this.invalid=!this._getValidity(e),!this.invalid},_getValidity:function(e){return!this.hasValidator()||this._validator.validate(e)}}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=(n(267),n(272)),c=function(){function e(t){i()(this,e),e[" "](t),this.type=t&&t.type||"default",this.key=t&&t.key,t&&"value"in t&&(this.value=t.value)}return a()(e,[{key:"byKey",value:function(e){return this.key=e,this.value}},{key:"value",get:function(){var t=this.type,n=this.key;if(t&&n)return e.types[t]&&e.types[t][n]},set:function(t){var n=this.type,r=this.key;n&&r&&(n=e.types[n]=e.types[n]||{},null==t?delete n[r]:n[r]=t)}},{key:"list",get:function(){if(this.type){var t=e.types[this.type];return t?Object.keys(t).map(function(e){return u[this.type][e]},this):[]}}}]),e}();c[" "]=function(){},c.types={};var u=c.types;Object(s.a)({is:"iron-meta",properties:{type:{type:String,value:"default"},key:{type:String},value:{type:String,notify:!0},self:{type:Boolean,observer:"_selfChanged"},__meta:{type:Boolean,computed:"__computeMeta(type, key, value)"}},hostAttributes:{hidden:!0},__computeMeta:function(e,t,n){var r=new c({type:e,key:t});return void 0!==n&&n!==r.value?r.value=n:this.value!==r.value&&(this.value=r.value),r},get list(){return this.__meta&&this.__meta.list},_selfChanged:function(e){e&&(this.value=this)},byKey:function(e){return new c({type:this.type,key:e}).value}})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});n(267);var r={properties:{name:{type:String},value:{notify:!0,type:String},required:{type:Boolean,value:!1}},attached:function(){},detached:function(){}}},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=n(267),a=n(320),s=(n(355),n(431)),c=n(272),u=n(278),l=n(271);function h(){var e=i()(["\n \n"]);return h=function(){return e},e}Object(c.a)({_template:Object(l.a)(h()),is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:o.a.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(e){var t=(e||"").split(":");this._iconName=t.pop(),this._iconsetName=t.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(e){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&Object(u.a)(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,Object(u.a)(this.root).appendChild(this._img))}});n(363);var p=n(319),d={properties:{sizingTarget:{type:Object,value:function(){return this}},fitInto:{type:Object,value:window},noOverlap:{type:Boolean},positionTarget:{type:Element},horizontalAlign:{type:String},verticalAlign:{type:String},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},autoFitOnAttach:{type:Boolean,value:!1},_fitInfo:{type:Object}},get _fitWidth(){return this.fitInto===window?this.fitInto.innerWidth:this.fitInto.getBoundingClientRect().width},get _fitHeight(){return this.fitInto===window?this.fitInto.innerHeight:this.fitInto.getBoundingClientRect().height},get _fitLeft(){return this.fitInto===window?0:this.fitInto.getBoundingClientRect().left},get _fitTop(){return this.fitInto===window?0:this.fitInto.getBoundingClientRect().top},get _defaultPositionTarget(){var e=Object(u.a)(this).parentNode;return e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(e=e.host),e},get _localeHorizontalAlign(){if(this._isRTL){if("right"===this.horizontalAlign)return"left";if("left"===this.horizontalAlign)return"right"}return this.horizontalAlign},get __shouldPosition(){return(this.horizontalAlign||this.verticalAlign)&&this.positionTarget},attached:function(){void 0===this._isRTL&&(this._isRTL="rtl"==window.getComputedStyle(this).direction),this.positionTarget=this.positionTarget||this._defaultPositionTarget,this.autoFitOnAttach&&("none"===window.getComputedStyle(this).display?setTimeout(function(){this.fit()}.bind(this)):(window.ShadyDOM&&ShadyDOM.flush(),this.fit()))},detached:function(){this.__deferredFit&&(clearTimeout(this.__deferredFit),this.__deferredFit=null)},fit:function(){this.position(),this.constrain(),this.center()},_discoverInfo:function(){if(!this._fitInfo){var e=window.getComputedStyle(this),t=window.getComputedStyle(this.sizingTarget);this._fitInfo={inlineStyle:{top:this.style.top||"",left:this.style.left||"",position:this.style.position||""},sizerInlineStyle:{maxWidth:this.sizingTarget.style.maxWidth||"",maxHeight:this.sizingTarget.style.maxHeight||"",boxSizing:this.sizingTarget.style.boxSizing||""},positionedBy:{vertically:"auto"!==e.top?"top":"auto"!==e.bottom?"bottom":null,horizontally:"auto"!==e.left?"left":"auto"!==e.right?"right":null},sizedBy:{height:"none"!==t.maxHeight,width:"none"!==t.maxWidth,minWidth:parseInt(t.minWidth,10)||0,minHeight:parseInt(t.minHeight,10)||0},margin:{top:parseInt(e.marginTop,10)||0,right:parseInt(e.marginRight,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0}}}},resetFit:function(){var e=this._fitInfo||{};for(var t in e.sizerInlineStyle)this.sizingTarget.style[t]=e.sizerInlineStyle[t];for(var t in e.inlineStyle)this.style[t]=e.inlineStyle[t];this._fitInfo=null},refit:function(){var e=this.sizingTarget.scrollLeft,t=this.sizingTarget.scrollTop;this.resetFit(),this.fit(),this.sizingTarget.scrollLeft=e,this.sizingTarget.scrollTop=t},position:function(){if(this.__shouldPosition){this._discoverInfo(),this.style.position="fixed",this.sizingTarget.style.boxSizing="border-box",this.style.left="0px",this.style.top="0px";var e=this.getBoundingClientRect(),t=this.__getNormalizedRect(this.positionTarget),n=this.__getNormalizedRect(this.fitInto),r=this._fitInfo.margin,i={width:e.width+r.left+r.right,height:e.height+r.top+r.bottom},o=this.__getPosition(this._localeHorizontalAlign,this.verticalAlign,i,e,t,n),a=o.left+r.left,s=o.top+r.top,c=Math.min(n.right-r.right,a+e.width),u=Math.min(n.bottom-r.bottom,s+e.height);a=Math.max(n.left+r.left,Math.min(a,c-this._fitInfo.sizedBy.minWidth)),s=Math.max(n.top+r.top,Math.min(s,u-this._fitInfo.sizedBy.minHeight)),this.sizingTarget.style.maxWidth=Math.max(c-a,this._fitInfo.sizedBy.minWidth)+"px",this.sizingTarget.style.maxHeight=Math.max(u-s,this._fitInfo.sizedBy.minHeight)+"px",this.style.left=a-e.left+"px",this.style.top=s-e.top+"px"}},constrain:function(){if(!this.__shouldPosition){this._discoverInfo();var e=this._fitInfo;e.positionedBy.vertically||(this.style.position="fixed",this.style.top="0px"),e.positionedBy.horizontally||(this.style.position="fixed",this.style.left="0px"),this.sizingTarget.style.boxSizing="border-box";var t=this.getBoundingClientRect();e.sizedBy.height||this.__sizeDimension(t,e.positionedBy.vertically,"top","bottom","Height"),e.sizedBy.width||this.__sizeDimension(t,e.positionedBy.horizontally,"left","right","Width")}},_sizeDimension:function(e,t,n,r,i){this.__sizeDimension(e,t,n,r,i)},__sizeDimension:function(e,t,n,r,i){var o=this._fitInfo,a=this.__getNormalizedRect(this.fitInto),s="Width"===i?a.width:a.height,c=t===r,u=c?s-e[r]:e[n],l=o.margin[c?n:r],h="offset"+i,p=this[h]-this.sizingTarget[h];this.sizingTarget.style["max"+i]=s-l-u-p+"px"},center:function(){if(!this.__shouldPosition){this._discoverInfo();var e=this._fitInfo.positionedBy;if(!e.vertically||!e.horizontally){this.style.position="fixed",e.vertically||(this.style.top="0px"),e.horizontally||(this.style.left="0px");var t=this.getBoundingClientRect(),n=this.__getNormalizedRect(this.fitInto);if(!e.vertically){var r=n.top-t.top+(n.height-t.height)/2;this.style.top=r+"px"}if(!e.horizontally){var i=n.left-t.left+(n.width-t.width)/2;this.style.left=i+"px"}}}},__getNormalizedRect:function(e){return e===document.documentElement||e===window?{top:0,left:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect()},__getOffscreenArea:function(e,t,n){var r=Math.min(0,e.top)+Math.min(0,n.bottom-(e.top+t.height)),i=Math.min(0,e.left)+Math.min(0,n.right-(e.left+t.width));return Math.abs(r)*t.width+Math.abs(i)*t.height},__getPosition:function(e,t,n,r,i,o){var a,s=[{verticalAlign:"top",horizontalAlign:"left",top:i.top+this.verticalOffset,left:i.left+this.horizontalOffset},{verticalAlign:"top",horizontalAlign:"right",top:i.top+this.verticalOffset,left:i.right-n.width-this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"left",top:i.bottom-n.height-this.verticalOffset,left:i.left+this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"right",top:i.bottom-n.height-this.verticalOffset,left:i.right-n.width-this.horizontalOffset}];if(this.noOverlap){for(var c=0,u=s.length;c-1&&(this._interestedResizables.splice(t,1),this._unsubscribeIronResize(e))},_subscribeIronResize:function(e){e.addEventListener("iron-resize",this._boundOnDescendantIronResize)},_unsubscribeIronResize:function(e){e.removeEventListener("iron-resize",this._boundOnDescendantIronResize)},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(e){this._notifyingDescendant?e.stopPropagation():f.h||this._fireResize()},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var t=Object(u.a)(e).rootTarget;t!==this&&(t.assignParentResizable(this),this._notifyDescendant(t),e.stopPropagation())},_parentResizableChanged:function(e){e&&window.removeEventListener("resize",this._boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)},_requestResizeNotifications:function(){if(this.isAttached)if("loading"===document.readyState){var e=this._requestResizeNotifications.bind(this);document.addEventListener("readystatechange",function t(){document.removeEventListener("readystatechange",t),e()})}else this._findParent(),this._parentResizable?this._parentResizable._interestedResizables.forEach(function(e){e!==this&&e._findParent()},this):(v.forEach(function(e){e!==this&&e._findParent()},this),window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},_findParent:function(){this.assignParentResizable(null),this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable?v.delete(this):v.add(this)}},m=Element.prototype,b=m.matches||m.matchesSelector||m.mozMatchesSelector||m.msMatchesSelector||m.oMatchesSelector||m.webkitMatchesSelector,_={getTabbableNodes:function(e){var t=[];return this._collectTabbableNodes(e,t)?this._sortByTabIndex(t):t},isFocusable:function(e){return b.call(e,"input, select, textarea, button, object")?b.call(e,":not([disabled])"):b.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")},isTabbable:function(e){return this.isFocusable(e)&&b.call(e,':not([tabindex="-1"])')&&this._isVisible(e)},_normalizedTabIndex:function(e){if(this.isFocusable(e)){var t=e.getAttribute("tabindex")||0;return Number(t)}return-1},_collectTabbableNodes:function(e,t){if(e.nodeType!==Node.ELEMENT_NODE||!this._isVisible(e))return!1;var n,r=e,i=this._normalizedTabIndex(r),o=i>0;i>=0&&t.push(r),n="content"===r.localName||"slot"===r.localName?Object(u.a)(r).getDistributedNodes():Object(u.a)(r.root||r).children;for(var a=0;a0&&t.length>0;)this._hasLowerTabOrder(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return n.concat(e,t)},_hasLowerTabOrder:function(e,t){var n=Math.max(e.tabIndex,0),r=Math.max(t.tabIndex,0);return 0===n||0===r?r>n:n>r}};function g(){var e=i()(["\n \n\n \n"]);return g=function(){return e},e}Object(c.a)({_template:Object(l.a)(g()),is:"iron-overlay-backdrop",properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:"_openedChanged"}},listeners:{transitionend:"_onTransitionend"},created:function(){this.__openedRaf=null},attached:function(){this.opened&&this._openedChanged(this.opened)},prepare:function(){this.opened&&!this.parentNode&&Object(u.a)(document.body).appendChild(this)},open:function(){this.opened=!0},close:function(){this.opened=!1},complete:function(){this.opened||this.parentNode!==document.body||Object(u.a)(this.parentNode).removeChild(this)},_onTransitionend:function(e){e&&e.target===this&&this.complete()},_openedChanged:function(e){if(e)this.prepare();else{var t=window.getComputedStyle(this);"0s"!==t.transitionDuration&&0!=t.opacity||this.complete()}this.isAttached&&(this.__openedRaf&&(window.cancelAnimationFrame(this.__openedRaf),this.__openedRaf=null),this.scrollTop=this.scrollTop,this.__openedRaf=window.requestAnimationFrame(function(){this.__openedRaf=null,this.toggleClass("opened",this.opened)}.bind(this)))}});var w=n(382),k=function(){this._overlays=[],this._minimumZ=101,this._backdropElement=null,w.a(document.documentElement,"tap",function(){}),document.addEventListener("tap",this._onCaptureClick.bind(this),!0),document.addEventListener("focus",this._onCaptureFocus.bind(this),!0),document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)};k.prototype={constructor:k,get backdropElement(){return this._backdropElement||(this._backdropElement=document.createElement("iron-overlay-backdrop")),this._backdropElement},get deepActiveElement(){var e=document.activeElement;for(e&&e instanceof Element!=!1||(e=document.body);e.root&&Object(u.a)(e.root).activeElement;)e=Object(u.a)(e.root).activeElement;return e},_bringOverlayAtIndexToFront:function(e){var t=this._overlays[e];if(t){var n=this._overlays.length-1,r=this._overlays[n];if(r&&this._shouldBeBehindOverlay(t,r)&&n--,!(e>=n)){var i=Math.max(this.currentOverlayZ(),this._minimumZ);for(this._getZ(t)<=i&&this._applyOverlayZ(t,i);e=0)return this._bringOverlayAtIndexToFront(t),void this.trackBackdrop();var n=this._overlays.length,r=this._overlays[n-1],i=Math.max(this._getZ(r),this._minimumZ),o=this._getZ(e);if(r&&this._shouldBeBehindOverlay(e,r)){this._applyOverlayZ(r,i),n--;var a=this._overlays[n-1];i=Math.max(this._getZ(a),this._minimumZ)}o<=i&&this._applyOverlayZ(e,i),this._overlays.splice(n,0,e),this.trackBackdrop()},removeOverlay:function(e){var t=this._overlays.indexOf(e);-1!==t&&(this._overlays.splice(t,1),this.trackBackdrop())},currentOverlay:function(){var e=this._overlays.length-1;return this._overlays[e]},currentOverlayZ:function(){return this._getZ(this.currentOverlay())},ensureMinimumZ:function(e){this._minimumZ=Math.max(this._minimumZ,e)},focusOverlay:function(){var e=this.currentOverlay();e&&e._applyFocus()},trackBackdrop:function(){var e=this._overlayWithBackdrop();(e||this._backdropElement)&&(this.backdropElement.style.zIndex=this._getZ(e)-1,this.backdropElement.opened=!!e,this.backdropElement.prepare())},getBackdrops:function(){for(var e=[],t=0;t=0;e--)if(this._overlays[e].withBackdrop)return this._overlays[e]},_getZ:function(e){var t=this._minimumZ;if(e){var n=Number(e.style.zIndex||window.getComputedStyle(e).zIndex);n==n&&(t=n)}return t},_setZ:function(e,t){e.style.zIndex=t},_applyOverlayZ:function(e,t){this._setZ(e,t+2)},_overlayInPath:function(e){e=e||[];for(var t=0;t=0||(0===N.length&&function(){O=O||function(e){e.cancelable&&function(e){var t=Object(u.a)(e).rootTarget;"touchmove"!==e.type&&C!==t&&(C=t,T=function(e){for(var t=[],n=e.indexOf(x),r=0;r<=n;r++)if(e[r].nodeType===Node.ELEMENT_NODE){var i=e[r],o=i.style;"scroll"!==o.overflow&&"auto"!==o.overflow&&(o=window.getComputedStyle(i)),"scroll"!==o.overflow&&"auto"!==o.overflow||t.push(i)}return t}(Object(u.a)(e).path));if(!T.length)return!0;if("touchstart"===e.type)return!1;var n=function(e){var t={deltaX:e.deltaX,deltaY:e.deltaY};if("deltaX"in e);else if("wheelDeltaX"in e&&"wheelDeltaY"in e)t.deltaX=-e.wheelDeltaX,t.deltaY=-e.wheelDeltaY;else if("wheelDelta"in e)t.deltaX=0,t.deltaY=-e.wheelDelta;else if("axis"in e)t.deltaX=1===e.axis?e.detail:0,t.deltaY=2===e.axis?e.detail:0;else if(e.targetTouches){var n=e.targetTouches[0];t.deltaX=S.pageX-n.pageX,t.deltaY=S.pageY-n.pageY}return t}(e);return!function(e,t,n){if(!t&&!n)return;for(var r=Math.abs(n)>=Math.abs(t),i=0;i0:o.scrollTop0:o.scrollLeft=0))switch(this.scrollAction){case"lock":this.__restoreScrollPosition();break;case"refit":this.__deraf("refit",this.refit);break;case"cancel":this.cancel(e)}},__saveScrollPosition:function(){document.scrollingElement?(this.__scrollTop=document.scrollingElement.scrollTop,this.__scrollLeft=document.scrollingElement.scrollLeft):(this.__scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this.__scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft))},__restoreScrollPosition:function(){document.scrollingElement?(document.scrollingElement.scrollTop=this.__scrollTop,document.scrollingElement.scrollLeft=this.__scrollLeft):(document.documentElement.scrollTop=document.body.scrollTop=this.__scrollTop,document.documentElement.scrollLeft=document.body.scrollLeft=this.__scrollLeft)}},R=[d,y,j],M=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(e,t){for(var n in t)e[n]=t[n]},_cloneConfig:function(e){var t={isClone:!0};return this._copyProperties(t,e),t},_getAnimationConfigRecursive:function(e,t,n){var r;if(this.animationConfig)if(this.animationConfig.value&&"function"==typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else if(r=e?this.animationConfig[e]:this.animationConfig,Array.isArray(r)||(r=[r]),r)for(var i,o=0;i=r[o];o++)if(i.animatable)i.animatable._getAnimationConfigRecursive(i.type||e,t,n);else if(i.id){var a=t[i.id];a?(a.isClone||(t[i.id]=this._cloneConfig(a),a=t[i.id]),this._copyProperties(a,i)):t[i.id]=i}else n.push(i)},getAnimationConfig:function(e){var t={},n=[];for(var r in this._getAnimationConfigRecursive(e,t,n),t)n.push(t[r]);return n}},{_configureAnimations:function(e){var t=[],n=[];if(e.length>0)for(var r,i=0;r=e[i];i++){var o=document.createElement(r.name);if(o.isNeonAnimation){var a;o.configure||(o.configure=function(e){return null}),a=o.configure(r),n.push({result:a,config:r,neonAnimation:o})}else console.warn(this.is+":",r.name,"not found!")}for(var s=0;s\n :host {\n position: fixed;\n }\n\n #contentWrapper ::slotted(*) {\n overflow: auto;\n }\n\n #contentWrapper.animating ::slotted(*) {\n overflow: hidden;\n pointer-events: none;\n }\n \n\n
\n \n
\n']);return F=function(){return e},e}Object(c.a)({_template:Object(l.a)(F()),is:"iron-dropdown",behaviors:[p.a,a.a,R,M],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:"_allowOutsideScrollChanged"}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],get containedElement(){for(var e=Object(u.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t\n :host {\n display: inline-block;\n position: relative;\n padding: 8px;\n outline: none;\n\n @apply --paper-menu-button;\n }\n\n :host([disabled]) {\n cursor: auto;\n color: var(--disabled-text-color);\n\n @apply --paper-menu-button-disabled;\n }\n\n iron-dropdown {\n @apply --paper-menu-button-dropdown;\n }\n\n .dropdown-content {\n @apply --shadow-elevation-2dp;\n\n position: relative;\n border-radius: 2px;\n background-color: var(--paper-menu-button-dropdown-background, var(--primary-background-color));\n\n @apply --paper-menu-button-content;\n }\n\n :host([vertical-align="top"]) .dropdown-content {\n margin-bottom: 20px;\n margin-top: -10px;\n top: 10px;\n }\n\n :host([vertical-align="bottom"]) .dropdown-content {\n bottom: 10px;\n margin-bottom: -10px;\n margin-top: 20px;\n }\n\n #trigger {\n cursor: pointer;\n }\n \n\n
\n \n
\n\n \n \n \n']);return L=function(){return e},e}Object(c.a)({is:"paper-menu-grow-height-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this._effect=new KeyframeEffect(t,[{height:n/2+"px"},{height:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(c.a)({is:"paper-menu-grow-width-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n/2+"px"},{width:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(c.a)({is:"paper-menu-shrink-width-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n+"px"},{width:n-n/20+"px"}],this.timingFromConfig(e)),this._effect}}),Object(c.a)({is:"paper-menu-shrink-height-animation",behaviors:[D],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this.setPrefixedProperty(t,"transformOrigin","0 0"),this._effect=new KeyframeEffect(t,[{height:n+"px",transform:"translateY(0)"},{height:n/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(e)),this._effect}});var q={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400},B=Object(c.a)({_template:Object(l.a)(L()),is:"paper-menu-button",behaviors:[a.a,p.a],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:q.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:q.ANIMATION_CUBIC_BEZIER}}]}},closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:q.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get contentElement(){for(var e=Object(u.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t-1&&e.preventDefault()}});Object.keys(q).forEach(function(e){B[e]=q[e]});n(489);Object(c.a)({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1},useGlobalRtlAttribute:{type:Boolean,value:!1}},created:function(){this._meta=new s.a({type:"iconset",key:null,value:null})},attached:function(){this.style.display="none"},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map(function(e){return this.name+":"+e},this)},applyIcon:function(e,t){this.removeIcon(e);var n=this._cloneIcon(t,this.rtlMirroring&&this._targetIsRTL(e));if(n){var r=Object(u.a)(e.root||e);return r.insertBefore(n,r.childNodes[0]),e._svgIcon=n}return null},removeIcon:function(e){e._svgIcon&&(Object(u.a)(e.root||e).removeChild(e._svgIcon),e._svgIcon=null)},_targetIsRTL:function(e){if(null==this.__targetIsRTL)if(this.useGlobalRtlAttribute){var t=document.body&&document.body.hasAttribute("dir")?document.body:document.documentElement;this.__targetIsRTL="rtl"===t.getAttribute("dir")}else e&&e.nodeType!==Node.ELEMENT_NODE&&(e=e.host),this.__targetIsRTL=e&&"rtl"===window.getComputedStyle(e).direction;return this.__targetIsRTL},_nameChanged:function(){this._meta.value=null,this._meta.key=this.name,this._meta.value=this,this.async(function(){this.fire("iron-iconset-added",this,{node:window})})},_createIconMap:function(){var e=Object.create(null);return Object(u.a)(this).querySelectorAll("[id]").forEach(function(t){e[t.id]=t}),e},_cloneIcon:function(e,t){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size,t)},_prepareSvgClone:function(e,t,n){if(e){var r=e.cloneNode(!0),i=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=r.getAttribute("viewBox")||"0 0 "+t+" "+t,a="pointer-events: none; display: block; width: 100%; height: 100%;";return n&&r.hasAttribute("mirror-in-rtl")&&(a+="-webkit-transform:scale(-1,1);transform:scale(-1,1);transform-origin:center;"),i.setAttribute("viewBox",o),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),i.style.cssText=a,i.appendChild(r).removeAttribute("id"),i}return null}});var V=document.createElement("template");V.setAttribute("style","display: none;"),V.innerHTML='\n\n\n\n',document.head.appendChild(V.content);var z=document.createElement("template");z.setAttribute("style","display: none;"),z.innerHTML='\n \n',document.head.appendChild(z.content);var Q=n(357),U=n(432),H=n(430);function K(){var e=i()(['\n \n\n \x3c!-- this div fulfills an a11y requirement for combobox, do not remove --\x3e\n \n \n \x3c!-- support hybrid mode: user might be using paper-menu-button 1.x which distributes via --\x3e\n \n \n \n']);return K=function(){return e},e}Object(c.a)({_template:Object(l.a)(K()),is:"paper-dropdown-menu",behaviors:[Q.a,p.a,U.a,H.a],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},hostAttributes:{role:"combobox","aria-autocomplete":"none","aria-haspopup":"true"},observers:["_selectedItemChanged(selectedItem)"],attached:function(){var e=this.contentElement;e&&e.selectedItem&&this._setSelectedItem(e.selectedItem)},get contentElement(){for(var e=Object(u.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t=0}},{key:"setItemSelected",value:function(e,t){if(null!=e&&t!==this.isSelected(e)){if(t)this.selection.push(e);else{var n=this.selection.indexOf(e);n>=0&&this.selection.splice(n,1)}this.selectCallback&&this.selectCallback(e,t)}}},{key:"select",value:function(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))}},{key:"toggle",value:function(e){this.setItemSelected(e,!this.isSelected(e))}}]),e}(),d={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1,"dom-bind":1,"dom-if":1,"dom-repeat":1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new p(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._addListener(this.activateEvent)},detached:function(){this._observer&&Object(a.a)(this).unobserveNodes(this._observer),this._removeListener(this.activateEvent)},indexOf:function(e){return this.items?this.items.indexOf(e):-1},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=e-1;void 0!==this.selected&&(t=(Number(this._valueToIndex(this.selected))-1+e)%e),this.selected=this._indexToValue(t)},selectNext:function(){var e=0;void 0!==this.selected&&(e=(Number(this._valueToIndex(this.selected))+1)%this.items.length),this.selected=this._indexToValue(e)},selectIndex:function(e){this.select(this._indexToValue(e))},forceSynchronousItemUpdate:function(){this._observer&&"function"==typeof this._observer.flush?this._observer.flush():this._updateItems()},get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){this.unlisten(this,e,"_activateHandler")},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateItems:function(){var e=Object(a.a)(this).queryDistributedElements(this.selectable||"*");e=Array.prototype.filter.call(e,this._bindFilterItem),this._setItems(e)},_updateAttrForSelected:function(){this.selectedItem&&(this.selected=this._valueForItem(this.selectedItem))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){if(this.items){var t=this._valueToItem(this.selected);t?this._selection.select(t):this._selection.clear(),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)}},_filterItem:function(e){return!this._excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,n=0;t=this.items[n];n++)if(this._valueForItem(t)==e)return n},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){if(!e)return null;if(!this.attrForSelected){var t=this.indexOf(e);return-1===t?null:t}var n=e[Object(s.b)(this.attrForSelected)];return null!=n?n:e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeItems:function(e){return Object(a.a)(e).observeNodes(function(e){this._updateItems(),this._updateSelected(),this.fire("iron-items-changed",e,{bubbles:!1,cancelable:!1})})},_activateHandler:function(e){for(var t=e.target,n=this.items;t&&t!=this;){var r=n.indexOf(t);if(r>=0){var i=this._indexToValue(r);return void this._itemActivate(i,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}},f={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0,value:function(){return[]}},selectedItems:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}}},observers:["_updateSelected(selectedValues.splices)"],select:function(e){this.multi?this._toggleSelected(e):this.selected=e},multiChanged:function(e){this._selection.multi=e,this._updateSelected()},get _shouldUpdateSelection(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi?this.selectedItems&&this.selectedItems.length>0&&(this.selectedValues=this.selectedItems.map(function(e){return this._indexToValue(this.indexOf(e))},this).filter(function(e){return null!=e},this)):d._updateAttrForSelected.apply(this)},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){e=e||[];var t=(this._valuesToItems(e)||[]).filter(function(e){return null!=e});this._selection.clear(t);for(var n=0;n\n :host {\n display: block;\n padding: 8px 0;\n\n background: var(--paper-listbox-background-color, var(--primary-background-color));\n color: var(--paper-listbox-color, var(--primary-text-color));\n\n @apply --paper-listbox;\n }\n \n\n \n"]);return _=function(){return e},e}Object(m.a)({_template:Object(b.a)(_()),is:"paper-listbox",behaviors:[y],hostAttributes:{role:"listbox"}})},,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(324),n(432)),a=n(430),s={properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0,reflectToAttribute:!0},value:{type:String,value:"on",observer:"_valueChanged"}},observers:["_requiredChanged(required)"],created:function(){this._hasIronCheckedElementBehavior=!0},_getValidity:function(e){return this.disabled||!this.required||this.checked},_requiredChanged:function(){this.required?this.setAttribute("aria-required","true"):this.removeAttribute("aria-required")},_checkedChanged:function(){this.active=this.checked,this.fire("iron-change")},_valueChanged:function(){void 0!==this.value&&null!==this.value||(this.value="on")}},c=[o.a,a.a,s],u=n(357),l=n(319),h=n(421),p={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(e){e&&this.ensureRipple(),this.hasRipple()&&(this._ripple.holdDown=e)},_createRipple:function(){var e=h.a._createRipple();return e.id="ink",e.setAttribute("center",""),e.classList.add("circle"),e}},d=[[u.a,l.a,h.a,p],c,{_checkedChanged:function(){s._checkedChanged.call(this),this.hasRipple()&&(this.checked?this._ripple.setAttribute("checked",""):this._ripple.removeAttribute("checked"))},_buttonStateChanged:function(){h.a._buttonStateChanged.call(this),this.disabled||this.isAttached&&(this.checked=this.active)}}],f=n(272),v=n(271),y=n(486);function m(){var e=i()(['\n\n
\n
\n
\n
\n
\n\n
'],['\n\n
\n
\n
\n
\n
\n\n
']);return m=function(){return e},e}var b=Object(v.a)(m());b.setAttribute("strip-whitespace",""),Object(f.a)({_template:b,is:"paper-checkbox",behaviors:[d],hostAttributes:{role:"checkbox","aria-checked":!1,tabindex:0},properties:{ariaActiveAttribute:{type:String,value:"aria-checked"}},attached:function(){Object(y.a)(this,function(){if("-1px"===this.getComputedStyleValue("--calculated-paper-checkbox-ink-size").trim()){var e=this.getComputedStyleValue("--calculated-paper-checkbox-size").trim(),t="px",n=e.match(/[A-Za-z]+$/);null!==n&&(t=n[0]);var r=parseFloat(e),i=8/3*r;"px"===t&&(i=Math.floor(i))%2!=r%2&&i++,this.updateStyles({"--paper-checkbox-ink-size":i+t})}})},_computeCheckboxClass:function(e,t){var n="";return e&&(n+="checked "),t&&(n+="invalid"),n},_computeCheckmarkClass:function(e){return e?"":"hidden"},_createRipple:function(){return this._rippleContainer=this.$.checkboxContainer,p._createRipple.call(this)}})},,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(355),n(422),n(324),n(395),document.createElement("template"));o.setAttribute("style","display: none;"),o.innerHTML="\n \n",document.head.appendChild(o.content);var a=n(272),s=n(271),c=n(357),u=n(319),l=[c.a,u.a,{hostAttributes:{role:"option",tabindex:"0"}}];function h(){var e=i()(['\n \n \n']);return h=function(){return e},e}Object(a.a)({_template:Object(s.a)(h()),is:"paper-item",behaviors:[l]})},,,,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),c=n.n(s),u=n(263),l=n.n(u),h=n(277),p=n.n(h),d=n(265),f=n.n(d),v=n(274),y=n.n(v),m=(n(276),n(297)),b=n(292),_=n(380),g=n(381),w=n(483),k=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),O={"dom-if":!0,"dom-repeat":!0};function x(e){var t=e.getAttribute("is");if(t&&O[t]){var n=e;for(n.removeAttribute("is"),e=n.ownerDocument.createElement(t),n.parentNode.replaceChild(e,n),e.appendChild(n);n.attributes.length;)e.setAttribute(n.attributes[0].name,n.attributes[0].value),n.removeAttribute(n.attributes[0].name)}return e}function E(e,t){var n=t.parentInfo&&E(e,t.parentInfo);if(!n)return e;k.currentNode=n;for(var r=k.firstChild(),i=0;r;r=k.nextSibling())if(t.parentIndex===i++)return r}function S(e,t,n,r){r.id&&(t[r.id]=n)}function C(e,t,n){if(n.events&&n.events.length)for(var r,i=0,o=n.events;iu.source.length&&"property"==c.kind&&!c.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[c.target]){var l=n[t];t=Object(_.i)(u.source,c.target,t),s._setPendingPropertyOrPath(t,l,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}return"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,n,r),P.e&&(i=Object(P.e)(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[N.READ_ONLY]&&t[N.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,c,u,i.evaluator._evaluateBinding(e,u,t,n,r,o))}}function $(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;o="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=Object(_.g)(t),n.structured=Object(_.d)(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function ne(e,t,n){var r=Object(_.a)(e,n);return void 0===r&&(r=t[n]),r}function re(e,t,n,r){e.notifyPath(n+".splices",{indexSplices:r}),e.notifyPath(n+".length",t.length)}function ie(e,t,n,r,i,o){re(e,t,n,[{index:r,addedCount:i,removed:o,object:t,type:"splice"}])}var oe=Object(b.a)(function(e){return function(e){function t(){var e;return i()(this,t),(e=c()(this,l()(t).call(this))).__isPropertyEffectsClient=!0,e.__dataCounter=0,e.__dataClientsReady,e.__dataPendingClients,e.__dataToNotify,e.__dataLinkedPaths,e.__dataHasPaths,e.__dataCompoundStorage,e.__dataHost,e.__dataTemp,e.__dataClientsInitialized,e.__data,e.__dataPending,e.__dataOld,e.__computeEffects,e.__reflectEffects,e.__notifyEffects,e.__propagateEffects,e.__observeEffects,e.__readOnly,e.__templateInfo,e}return f()(t,e),a()(t,[{key:"_initializeProperties",value:function(){p()(l()(t.prototype),"_initializeProperties",this).call(this),ae.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}},{key:"_initializeProtoProperties",value:function(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}},{key:"_initializeInstanceProperties",value:function(e){var t=this[N.READ_ONLY];for(var n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}},{key:"_addPropertyEffect",value:function(e,t,n){this._createPropertyAccessor(e,t==N.READ_ONLY);var r=R(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}},{key:"_removePropertyEffect",value:function(e,t,n){var r=R(this,t)[e],i=r.indexOf(n);i>=0&&r.splice(i,1)}},{key:"_hasPropertyEffect",value:function(e,t){var n=this[t];return Boolean(n&&n[e])}},{key:"_hasReadOnlyEffect",value:function(e){return this._hasPropertyEffect(e,N.READ_ONLY)}},{key:"_hasNotifyEffect",value:function(e){return this._hasPropertyEffect(e,N.NOTIFY)}},{key:"_hasReflectEffect",value:function(e){return this._hasPropertyEffect(e,N.REFLECT)}},{key:"_hasComputedEffect",value:function(e){return this._hasPropertyEffect(e,N.COMPUTE)}},{key:"_setPendingPropertyOrPath",value:function(e,n,r,i){if(i||Object(_.g)(Array.isArray(e)?e[0]:e)!==e){if(!i){var o=Object(_.a)(this,e);if(!(e=Object(_.h)(this,e,n))||!p()(l()(t.prototype),"_shouldPropertyChange",this).call(this,e,n,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,n,r))return function(e,t,n){var r,i=e.__dataLinkedPaths;if(i)for(var o in i){var a=i[o];Object(_.c)(o,t)?(r=Object(_.i)(o,a,t),e._setPendingPropertyOrPath(r,n,!0,!0)):Object(_.c)(a,t)&&(r=Object(_.i)(a,o,t),e._setPendingPropertyOrPath(r,n,!0,!0))}}(this,e,n),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,n,r);this[e]=n}return!1}},{key:"_setUnmanagedPropertyToNode",value:function(e,t,n){n===e[t]&&"object"!=y()(n)||(e[t]=n)}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__dataHasPaths&&Object(_.d)(e),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[N.NOTIFY]&&this[N.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}},{key:"_invalidateProperties",value:function(){this.__dataReady&&this._flushProperties()}},{key:"_enqueueClient",value:function(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}},{key:"_flushProperties",value:function(){this.__dataCounter++,p()(l()(t.prototype),"_flushProperties",this).call(this),this.__dataCounter--}},{key:"_flushClients",value:function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}},{key:"__enableOrFlushClients",value:function(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?i-1:0),a=1;a3?r-3:0),o=3;o1?r-1:0),o=1;oi&&r.push({literal:e.slice(i,n.index)});var o=n[1][0],a=Boolean(n[2]),s=n[3].trim(),c=!1,u="",l=-1;"{"==o&&(l=s.indexOf("::"))>0&&(u=s.substring(l+2),s=s.substring(0,l),c=!0);var h=ee(s),p=[];if(h){for(var d=h.args,f=h.methodName,v=0;va)return"[Array]";for(var n=Math.min(o,e.length),r=e.length-n,i=[],s=0;s1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>a)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n)return n}return t}(e)+"]";return"{ "+n.map(function(n){var r=c(e[n],t);return n+": "+r}).join(", ")+" }"}(e,n)}return String(e)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";var r="function"==typeof Symbol?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=r},function(e,t,n){"use strict";function r(e){for(var t=e.split(/\r\n|[\n\r]/g),n=null,r=1;r0&&o(t[0]);)t.shift();for(;t.length>0&&o(t[t.length-1]);)t.pop();return t.join("\n")}function i(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!r||o||n,s="";return!a||r&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},function(e,t,n){"use strict";n.r(t),function(e,r){var i,o=n(596);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.default=a}.call(this,n(326),n(338)(e))},function(e,t,n){"use strict";n.r(t),function(e){var t=n(274),r=n.n(t),i=new function(){};function o(){return i}if("object"===r()(e))try{var a=e["eriuqer".split("").reverse().join("")]("fibers");o=function(){return a.current||i}}catch(e){}exports.get=function(){var e=o();return e._optimism_local||(e._optimism_local=Object.create(null))}}.call(this,n(338)(e))},,function(e,t,n){"use strict";n.d(t,"c",function(){return f}),n.d(t,"b",function(){return v}),n.d(t,"a",function(){return m});var r=n(291),i=n.n(r),o=n(420),a=n(379),s="link[rel=import][type~=css]",c="include",u="shady-unscoped";function l(e){return o.a.import(e)}function h(e){var t=e.body?e.body:e,n=Object(a.b)(t.textContent,e.baseURI),r=document.createElement("style");return r.textContent=n,r}function p(e){for(var t=e.trim().split(/\s+/),n=[],r=0;r0||n>0;)if(0!=t)if(0!=n){var u=e[t-1][n-1],l=e[t-1][n],h=e[t][n-1],p=void 0;(p=l\n \n']);return a=function(){return e},e}var s=Object(o.a)(a());s.setAttribute("style","display: none;"),document.head.appendChild(s.content)},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(320)),a=n(272),s=n(278),c=n(271);function u(){var e=i()(['\n \n\n
\n
\n']);return u=function(){return e},e}var l={distance:function(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)},now:window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now};function h(e){this.element=e,this.width=this.boundingRect.width,this.height=this.boundingRect.height,this.size=Math.max(this.width,this.height)}function p(e){this.element=e,this.color=window.getComputedStyle(e).color,this.wave=document.createElement("div"),this.waveContainer=document.createElement("div"),this.wave.style.backgroundColor=this.color,this.wave.classList.add("wave"),this.waveContainer.classList.add("wave-container"),Object(s.a)(this.waveContainer).appendChild(this.wave),this.resetInteractionState()}h.prototype={get boundingRect(){return this.element.getBoundingClientRect()},furthestCornerDistanceFrom:function(e,t){var n=l.distance(e,t,0,0),r=l.distance(e,t,this.width,0),i=l.distance(e,t,0,this.height),o=l.distance(e,t,this.width,this.height);return Math.max(n,r,i,o)}},p.MAX_RADIUS=300,p.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){var e;return this.mouseDownStart?(e=l.now()-this.mouseDownStart,this.mouseUpStart&&(e-=this.mouseUpElapsed),e):0},get mouseUpElapsed(){return this.mouseUpStart?l.now()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1e3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1e3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var e=this.containerMetrics.width*this.containerMetrics.width,t=this.containerMetrics.height*this.containerMetrics.height,n=1.1*Math.min(Math.sqrt(e+t),p.MAX_RADIUS)+5,r=1.1-n/p.MAX_RADIUS*.2,i=this.mouseInteractionSeconds/r,o=n*(1-Math.pow(80,-i));return Math.abs(o)},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):this.initialOpacity},get outerOpacity(){var e=.3*this.mouseUpElapsedSeconds,t=this.opacity;return Math.max(0,Math.min(e,t))},get isOpacityFullyDecayed(){return this.opacity<.01&&this.radius>=Math.min(this.maxRadius,p.MAX_RADIUS)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,p.MAX_RADIUS)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},resetInteractionState:function(){this.maxRadius=0,this.mouseDownStart=0,this.mouseUpStart=0,this.xStart=0,this.yStart=0,this.xEnd=0,this.yEnd=0,this.slideDistance=0,this.containerMetrics=new h(this.element)},draw:function(){var e,t,n;this.wave.style.opacity=this.opacity,e=this.radius/(this.containerMetrics.size/2),t=this.xNow-this.containerMetrics.width/2,n=this.yNow-this.containerMetrics.height/2,this.waveContainer.style.webkitTransform="translate("+t+"px, "+n+"px)",this.waveContainer.style.transform="translate3d("+t+"px, "+n+"px, 0)",this.wave.style.webkitTransform="scale("+e+","+e+")",this.wave.style.transform="scale3d("+e+","+e+",1)"},downAction:function(e){var t=this.containerMetrics.width/2,n=this.containerMetrics.height/2;this.resetInteractionState(),this.mouseDownStart=l.now(),this.center?(this.xStart=t,this.yStart=n,this.slideDistance=l.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)):(this.xStart=e?e.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=e?e.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2),this.recenters&&(this.xEnd=t,this.yEnd=n,this.slideDistance=l.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)),this.maxRadius=this.containerMetrics.furthestCornerDistanceFrom(this.xStart,this.yStart),this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px",this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px",this.waveContainer.style.width=this.containerMetrics.size+"px",this.waveContainer.style.height=this.containerMetrics.size+"px"},upAction:function(e){this.isMouseDown&&(this.mouseUpStart=l.now())},remove:function(){Object(s.a)(this.waveContainer.parentNode).removeChild(this.waveContainer)}},Object(a.a)({_template:Object(c.a)(u()),is:"paper-ripple",behaviors:[o.a],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},get target(){return this.keyEventTarget},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){11==this.parentNode.nodeType?this.keyEventTarget=Object(s.a)(this).getOwnerRoot().host:this.keyEventTarget=this.parentNode;var e=this.keyEventTarget;this.listen(e,"up","uiUpAction"),this.listen(e,"down","uiDownAction")},detached:function(){this.unlisten(this.keyEventTarget,"up","uiUpAction"),this.unlisten(this.keyEventTarget,"down","uiDownAction"),this.keyEventTarget=null},get shouldKeepAnimating(){for(var e=0;e0||(this.addRipple().downAction(e),this._animating||(this._animating=!0,this.animate()))},uiUpAction:function(e){this.noink||this.upAction(e)},upAction:function(e){this.holdDown||(this.ripples.forEach(function(t){t.upAction(e)}),this._animating=!0,this.animate())},onAnimationComplete:function(){this._animating=!1,this.$.background.style.backgroundColor=null,this.fire("transitionend")},addRipple:function(){var e=new p(this);return Object(s.a)(this.$.waves).appendChild(e.waveContainer),this.$.background.style.backgroundColor=e.color,this.ripples.push(e),this._setAnimating(!0),e},removeRipple:function(e){var t=this.ripples.indexOf(e);t<0||(this.ripples.splice(t,1),e.remove(),this.ripples.length||this._setAnimating(!1))},animate:function(){if(this._animating){var e,t;for(e=0;e1&&void 0!==arguments[1]?arguments[1]:"",n=Object(m.m)(e);return this.transformRules(n,t),e.textContent=Object(m.p)(n),n}},{key:"transformCustomStyle",value:function(e){var t=this,n=Object(m.m)(e);return Object(m.f)(n,function(e){":root"===e.selector&&(e.selector="html"),t.transformRule(e)}),e.textContent=Object(m.p)(n),n}},{key:"transformRules",value:function(e,t){var n=this;this._currentElement=t,Object(m.f)(e,function(e){n.transformRule(e)}),this._currentElement=null}},{key:"transformRule",value:function(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}},{key:"transformCssText",value:function(e,t){var n=this;return e=e.replace(b.g,function(e,r,i,o){return n._produceCssProperties(e,r,i,o,t)}),this._consumeCssProperties(e,t)}},{key:"_getInitialValueForProperty",value:function(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}},{key:"_fallbacksFromPreviousRules",value:function(e){for(var t=this,n=e;n.parent;)n=n.parent;var r={},i=!1;return Object(m.f)(n,function(n){(i=i||n===e)||n.selector===e.selector&&Object.assign(r,t._cssTextToMap(n.parsedCssText))}),r}},{key:"_consumeCssProperties",value:function(e,t){for(var n=null;n=b.f.exec(e);){var r=n[0],i=n[1],o=n.index,a=o+r.indexOf("@apply"),s=o+r.length,c=e.slice(0,a),u=e.slice(s),l=t?this._fallbacksFromPreviousRules(t):{};Object.assign(l,this._cssTextToMap(c));var h=this._atApplyToCssProperties(i,l);e="".concat(c).concat(h).concat(u),b.f.lastIndex=o+h.length}return e}},{key:"_atApplyToCssProperties",value:function(e,t){e=e.replace(g,"");var n=[],r=this._map.get(e);if(r||(this._map.set(e,{}),r=this._map.get(e)),r){var i,o,a;this._currentElement&&(r.dependants[this._currentElement]=!0);var s=r.properties;for(i in s)o=[i,": var(",e,"_-_",i],(a=t&&t[i])&&o.push(",",a.replace(k,"")),o.push(")"),k.test(s[i])&&o.push(" !important"),n.push(o.join(""))}return n.join("; ")}},{key:"_replaceInitialOrInherit",value:function(e,t){var n=w.exec(t);return n&&(t=n[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}},{key:"_cssTextToMap",value:function(e){for(var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e.split(";"),s={},c=0;c1&&(t=i[0].trim(),n=i.slice(1).join(":"),o&&(n=this._replaceInitialOrInherit(t,n)),s[t]=n);return s}},{key:"_invalidateMixinEntry",value:function(e){if(x)for(var t in e.dependants)t!==this._currentElement&&x(t)}},{key:"_produceCssProperties",value:function(e,t,n,r,i){var o=this;if(n&&Object(m.l)(n,function(e,t){t&&o._map.get(t)&&(r="@apply ".concat(t,";"))}),!r)return e;var a=this._consumeCssProperties(""+r,i),s=e.slice(0,e.indexOf("--")),c=this._cssTextToMap(a,!0),u=c,l=this._map.get(t),h=l&&l.properties;h?u=Object.assign(Object.create(h),c):this._map.set(t,u);var p,d,f=[],v=!1;for(p in u)void 0===(d=c[p])&&(d="initial"),!h||p in h||(v=!0),f.push("".concat(t).concat("_-_").concat(p,": ").concat(d));return v&&this._invalidateMixinEntry(l),l&&(l.properties=u),n&&(s="".concat(e,";").concat(s)),"".concat(s).concat(f.join("; "),";")}}]),e}();E.prototype.detectMixin=E.prototype.detectMixin,E.prototype.transformStyle=E.prototype.transformStyle,E.prototype.transformCustomStyle=E.prototype.transformCustomStyle,E.prototype.transformRules=E.prototype.transformRules,E.prototype.transformRule=E.prototype.transformRule,E.prototype.transformTemplate=E.prototype.transformTemplate,E.prototype._separator="_-_",Object.defineProperty(E.prototype,"invalidCallback",{get:function(){return x},set:function(e){x=e}});var S=E,C=n(419),T=n(481),A=(n(442),n(308)),P=new S,I=function(){function e(){a()(this,e),this.customStyleInterface=null,P.invalidCallback=T.a}return c()(e,[{key:"ensure",value:function(){var e=this;this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=function(e){P.transformCustomStyle(e)},this.customStyleInterface.validateCallback=function(){requestAnimationFrame(function(){e.customStyleInterface.enqueued&&e.flushCustomStyles()})})}},{key:"prepareTemplate",value:function(e,t){if(this.ensure(),!Object(m.d)(e)){C.a[t]=e;var n=P.transformTemplate(e,t);e._styleAst=n}}},{key:"flushCustomStyles",value:function(){if(this.ensure(),this.customStyleInterface){var e=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(var t=0;t-1&&z.splice(e,1)}}}]),n}(t);return n.__activateDir=!1,n});n(486);function J(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?J():window.addEventListener("DOMContentLoaded",J);var Y=n(278),G=n(382),X=n(309),Z=n(332),ee=n(380),te=n(297);n.d(t,"a",function(){return re});var ne=window.ShadyCSS,re=Object(D.a)(function(e){var t=W(Object(M.a)(Object(R.a)(e))),n={x:"pan-x",y:"pan-y",none:"none",all:"auto"},r=function(e){function t(){var e;return a()(this,t),(e=l()(this,p()(t).call(this))).isAttached,e.__boundListeners,e._debouncers,e}return y()(t,e),c()(t,[{key:"created",value:function(){}},{key:"connectedCallback",value:function(){f()(p()(t.prototype),"connectedCallback",this).call(this),this.isAttached=!0,this.attached()}},{key:"attached",value:function(){}},{key:"disconnectedCallback",value:function(){f()(p()(t.prototype),"disconnectedCallback",this).call(this),this.isAttached=!1,this.detached()}},{key:"detached",value:function(){}},{key:"attributeChangedCallback",value:function(e,n,r,i){n!==r&&(f()(p()(t.prototype),"attributeChangedCallback",this).call(this,e,n,r,i),this.attributeChanged(e,n,r))}},{key:"attributeChanged",value:function(e,t,n){}},{key:"_initializeProperties",value:function(){var e=Object.getPrototypeOf(this);e.hasOwnProperty("__hasRegisterFinished")||(this._registered(),e.__hasRegisterFinished=!0),f()(p()(t.prototype),"_initializeProperties",this).call(this),this.root=this,this.created(),this._applyListeners()}},{key:"_registered",value:function(){}},{key:"ready",value:function(){this._ensureAttributes(),f()(p()(t.prototype),"ready",this).call(this)}},{key:"_ensureAttributes",value:function(){}},{key:"_applyListeners",value:function(){}},{key:"serialize",value:function(e){return this._serializeValue(e)}},{key:"deserialize",value:function(e,t){return this._deserializeValue(e,t)}},{key:"reflectPropertyToAttribute",value:function(e,t,n){this._propertyToAttribute(e,t,n)}},{key:"serializeValueToAttribute",value:function(e,t,n){this._valueToNodeAttribute(n||this,e,t)}},{key:"extend",value:function(e,t){if(!e||!t)return e||t;for(var n,r=Object.getOwnPropertyNames(t),i=0;i0?Z.b.after(n):Z.a,t.bind(this))}},{key:"isDebouncerActive",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];return!(!t||!t.isActive())}},{key:"flushDebouncer",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];t&&t.flush()}},{key:"cancelDebouncer",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];t&&t.cancel()}},{key:"async",value:function(e,t){return t>0?Z.b.run(e.bind(this),t):~Z.a.run(e.bind(this))}},{key:"cancelAsync",value:function(e){e<0?Z.a.cancel(~e):Z.b.cancel(e)}},{key:"create",value:function(e,t){var n=document.createElement(e);if(t)if(n.setProperties)n.setProperties(t);else for(var r in t)n[r]=t[r];return n}},{key:"elementMatches",value:function(e,t){return Object(Y.b)(t||this,e)}},{key:"toggleAttribute",value:function(e,t){var n=this;return 3===arguments.length&&(n=arguments[2]),1==arguments.length&&(t=!n.hasAttribute(e)),t?(Object(te.a)(n).setAttribute(e,""),!0):(Object(te.a)(n).removeAttribute(e),!1)}},{key:"toggleClass",value:function(e,t,n){n=n||this,1==arguments.length&&(t=!n.classList.contains(e)),t?n.classList.add(e):n.classList.remove(e)}},{key:"transform",value:function(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}},{key:"translate3d",value:function(e,t,n,r){r=r||this,this.transform("translate3d("+e+","+t+","+n+")",r)}},{key:"arrayDelete",value:function(e,t){var n;if(Array.isArray(e)){if((n=e.indexOf(t))>=0)return e.splice(n,1)}else if((n=Object(ee.a)(this,e).indexOf(t))>=0)return this.splice(e,n,1);return null}},{key:"_logger",value:function(e,t){var n;switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":(n=console)[e].apply(n,i()(t))}}},{key:"_log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;r-1&&(d=a[_],a=a.slice(0,_))}a&&(r.push(a),a="",u=!1);var g=""!==d&&void 0!==f&&f!==d,w="+"===b||"*"===b,k="?"===b||"*"===b,O=d||s,x=y||m;r.push({name:v||i++,prefix:d,delimiter:O,optional:k,repeat:w,partial:g,pattern:x?G(x):"[^"+Y(O)+"]+?"})}}return(a||o-1;else{var p=Y(h.prefix),d=h.repeat?"(?:"+h.pattern+")(?:"+p+"(?:"+h.pattern+"))*":h.pattern;t&&t.push(h),h.optional?h.partial?c+=p+"("+d+")?":c+="(?:"+p+"("+d+"))?":c+=p+"("+d+")"}}return i?(r||(c+="(?:"+o+")?"),c+="$"===s?"$":"(?="+s+")"):(r||(c+="(?:"+o+"(?="+s+"))?"),u||(c+="(?="+o+"|"+s+")")),new RegExp("^"+c,X(n))}function ee(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&"/"===t.charAt(p)&&(p+=1),a=ie(h,t.substr(p),n,o.keys,o.params)}var d=a.next(u);if(!d.done)return{done:!1,value:d.value};a=null,s++}return{done:!0}}}}function oe(e){if(N(e.route.action))return e.route.action(e)}ne.set("|false",{keys:[],pattern:/(?:)/});var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b()(this,e),Object(t)!==t)throw new TypeError("Invalid routes");this.baseUrl=n.baseUrl||"",this.errorHandler=n.errorHandler,this.resolveRoute=n.resolveRoute||oe,this.context=Object.assign({resolver:this},n.context),this.root=Array.isArray(t)?{path:"",__children:t,parent:null,__synthetic:!0}:t,this.root.parent=null}return y()(e,[{key:"getRoutes",value:function(){return f()(this.root.__children)}},{key:"setRoutes",value:function(e){T(e);var t=f()(w(e));this.root.__children=t}},{key:"addRoutes",value:function(e){var t;return T(e),(t=this.root.__children).push.apply(t,f()(w(e))),this.getRoutes()}},{key:"removeRoutes",value:function(){this.setRoutes([])}},{key:"resolve",value:function(e){var t=this,n=Object.assign({},this.context,j(e)?{pathname:e}:e),r=ie(this.root,this.__normalizePathname(n.pathname),this.baseUrl),i=this.resolveRoute,o=null,a=null,s=n;function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.value.route,u=null===(arguments.length>2?arguments[2]:void 0)&&o.value.route;return o=a||r.next(u),a=null,e||!o.done&&function(e,t){for(var n=t;n;)if((n=n.parent)===e)return!0;return!1}(t,o.value.route)?o.done?Promise.reject(R(n)):(function(e,t){var n=t.route,r=t.path;if(n&&!n.__synthetic){var i={path:r,route:n};!function(e,t){return!t.parent||!e||!e.length||e[e.length-1].route!==t.parent}(e.chain,n)?e.chain.push(i):e.chain=[i]}}(n,o.value),s=Object.assign({},n,o.value),Promise.resolve(i(s)).then(function(n){return null!=n&&n!==M?(s.result=n.result||n,s):c(e,t,n)})):(a=o,Promise.resolve(M))}return n.next=c,Promise.resolve().then(function(){return c(!0,t.root)}).catch(function(e){var n=function(e){var t="Path '".concat(e.pathname,"' is not properly resolved due to an error."),n=(e.route||{}).path;return n&&(t+=" Resolution had failed on route: '".concat(n,"'")),t}(s);if(e?console.warn(n):e=new Error(n),e.context=e.context||s,e instanceof DOMException||(e.code=e.code||500),t.errorHandler)return s.result=t.errorHandler(e),s;throw e})}},{key:"__normalizePathname",value:function(e){if(!this.baseUrl)return e;var t=this.__effectiveBaseUrl,n=this.constructor.__createUrl(e,t).href;return n.slice(0,t.length)===t?n.slice(t.length):void 0}},{key:"__effectiveBaseUrl",get:function(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}}],[{key:"__createUrl",value:function(e,t){return new URL(e,t)}}]),e}();ae.pathToRegexp=B;var se=ae.pathToRegexp,ce=new Map;function ue(e,t){var n=e.get(t);if(n&&n.length>1)throw new Error('Duplicate route with name "'.concat(t,'".')+" Try seting unique 'name' route properties.");return n&&n[0]}function le(e){var t=e.path;return void 0!==(t=Array.isArray(t)?t[0]:t)?t:""}function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e instanceof ae))throw new TypeError("An instance of Resolver is expected");var n=new Map;return function(r,i){var o=ue(n,r);if(!(o||(n.clear(),function e(t,n,r){var i=n.name||n.component;if(i&&(t.has(i)?t.get(i).push(n):t.set(i,[n])),Array.isArray(r))for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return Oe(Ee.pathToRegexp.compile(xe(l))(Object.assign({},s,e)),u)}}}function _e(e,t){var n=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:n}}}function ge(e,t,n){if(N(e))return e.apply(n,t)}function we(e,t,n){return function(r){return r&&(r.cancel||r.redirect)?r:n?ge(n[e],t,n):void 0}}function ke(e){if(e&&e.length)for(var t=e[0].parentNode,n=0;n1&&void 0!==arguments[1]?arguments[1]:e;return this.__amendWithResolutionResult(n).then(function(r){var i=r!==n?r:e;return r.next().then(function(e){if((null===e||e===M)&&Oe(xe(r.chain),r.resolver)!==r.pathname)throw R(i);return e&&e!==M?t.__fullyResolveChain(i,e):t.__amendWithOnBeforeCallbacks(i)})})}},{key:"__amendWithResolutionResult",value:function(e){var t=this,n=e.result;return n instanceof HTMLElement?Promise.resolve(e):n.redirect?this.__redirect(n.redirect,e.__redirectCount).then(function(e){return t.__amendWithResolutionResult(e)}):n instanceof Error?Promise.reject(n):Promise.reject(new Error(k('Invalid route resolution result for path "'.concat(e.pathname,'". ')+'Expected redirect object or HTML element, but got: "'.concat(function(e){if("object"!==g()(e))return String(e);var t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?"".concat(t," ").concat(JSON.stringify(e)):t}(n),'". ')+"Double check the action return value for the route.")))}},{key:"__amendWithOnBeforeCallbacks",value:function(e){var t=this;return this.__runOnBeforeCallbacks(e).then(function(n){return n===t.__previousContext||n===e?n:t.__fullyResolveChain(n)})}},{key:"__runOnBeforeCallbacks",value:function(e){var t=this,n=(this.__previousContext||{}).chain||[],r=e.chain,i=Promise.resolve(),o=function(){return{cancel:!0}},a=function(t){return _e(e,t)};if(e.__divergedChainIndex=0,n.length){for(var s=0;s=e.__divergedChainIndex;c--){var u=be(e);i=i.then(we("onBeforeLeave",[u,{prevent:o},this],n[c].element)).then(function(e){if(!(e||{}).redirect)return e})}}for(var l=e.__divergedChainIndex;l256)throw new Error(k("Too many redirects when rendering ".concat(e.from)));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1})}},{key:"__ensureOutlet",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.__outlet;if(!(e instanceof Node))throw new TypeError(k("Expected router outlet to be a valid DOM Node (but got ".concat(e,")")))}},{key:"__updateBrowserHistory",value:function(e,t){if(window.location.pathname!==e){var n=t?"replaceState":"pushState";window.history[n](null,document.title,e),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}},{key:"__addAppearingContent",value:function(e,t){this.__ensureOutlet(),this.__removeAppearingContent();for(var n=this.__outlet,r=0;r=e.__divergedChainIndex;n--){var r=t.chain[n].element;if(r)try{var i=be(e);ge(r.onAfterLeave,[i,{},t.resolver],r)}finally{ke(r.children)}}}},{key:"__runOnAfterEnterCallbacks",value:function(e){for(var t=e.__divergedChainIndex;t0;a--)if(o[a-1].route.animate){t=o[a-1].route.animate;break}if(n&&r&&t){var s=I(t)&&t.leave||"leaving",c=I(t)&&t.enter||"entering";i.push(ye(n,s)),i.push(ye(r,c))}return Promise.all(i).then(function(){return e})}},{key:"subscribe",value:function(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"unsubscribe",value:function(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}},{key:"__onNavigationEvent",value:function(e){var t=e?e.detail.pathname:window.location.pathname;j(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render(t,!0))}},{key:"urlForName",value:function(e,t){return this.__urlForName||(this.__urlForName=he(this)),Oe(this.__urlForName(e,t),this)}},{key:"urlForPath",value:function(e,n){return Oe(t.pathToRegexp.compile(e)(n),this)}}],[{key:"setTriggers",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&!Ce(function(){return!0})&&!function(){if(window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients){var e=Object.keys(window.Vaadin.Flow.clients).map(function(e){return window.Vaadin.Flow.clients[e]}).filter(function(e){return e.productionMode});if(e.length>0)return!0}return!1}()}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.2.0"}),Te(Ae),Ee.NavigationTrigger={POPSTATE:q,CLICK:D}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(289),i=n(296),o=n(584);function a(e,t,n){return r.__awaiter(this,void 0,void 0,function(){var c,u,l,h,p,d=this;return r.__generator(this,function(f){switch(f.label){case 0:return c=n.fragmentMap,u=n.contextValue,l=n.variableValues,h={},p=function(e){return r.__awaiter(d,void 0,void 0,function(){var p,d,f,v,y;return r.__generator(this,function(r){switch(r.label){case 0:return i.shouldInclude(e,l)?i.isField(e)?[4,s(e,t,n)]:[3,2]:[2];case 1:return p=r.sent(),d=i.resultKeyNameFromField(e),void 0!==p&&(void 0===h[d]?h[d]=p:o.merge(h[d],p)),[2];case 2:if(i.isInlineFragment(e))f=e;else if(!(f=c[e.name.value]))throw new Error("No fragment named "+e.name.value);return v=f.typeCondition.name.value,n.fragmentMatcher(t,v,u)?[4,a(f.selectionSet,t,n)]:[3,4];case 3:y=r.sent(),o.merge(h,y),r.label=4;case 4:return[2]}})})},[4,Promise.all(e.selections.map(p))];case 1:return f.sent(),n.resultMapper?[2,n.resultMapper(h,t)]:[2,h]}})})}function s(e,t,n){return r.__awaiter(this,void 0,void 0,function(){var o,s,u,l,h,p,d;return r.__generator(this,function(r){switch(r.label){case 0:return o=n.variableValues,s=n.contextValue,u=n.resolver,l=e.name.value,h=i.argumentsObjectFromField(e,o),p={isLeaf:!e.selectionSet,resultKey:i.resultKeyNameFromField(e),directives:i.getDirectiveInfoFromField(e,o)},[4,u(l,t,h,s,p)];case 1:return d=r.sent(),e.selectionSet?null==d?[2,d]:Array.isArray(d)?[2,c(e,d,n)]:[2,a(e.selectionSet,d,n)]:[2,d]}})})}function c(e,t,n){return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?c(e,t,n):a(e.selectionSet,t,n)}))}t.graphql=function(e,t,n,r,o,s){void 0===s&&(s={});var c=i.getMainDefinition(t),u=i.getFragmentDefinitions(t),l={fragmentMap:i.createFragmentMap(u),contextValue:r,variableValues:o,resultMapper:s.resultMapper,resolver:e,fragmentMatcher:s.fragmentMatcher||function(){return!0}};return a(c.selectionSet,n,l)}},function(e,t,n){"use strict";(function(e){var t=n(274),r=n.n(t);e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,i="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!==r()(t))return JSON.stringify(t);var n,s;if(Array.isArray(t)){for(s="[",n=0;n1,i=!1,o=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:h,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=d(t,h);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return v(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(c("iterator")&&(r=d(t,l)))return new n(function(e){m(function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value;if(e.next(c),e.closed)return}}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new n(function(e){m(function(){if(!e.closed){for(var n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()})},e.prototype.use=function(e){var t=this;return e.map(function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)}),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise(function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)})}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then(function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,m.default.GQL_START,e))}).catch(function(e){n.unsubscribe(r),t(n.formatErrors(e))}),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new c({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(e.operations).length&&e.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,i)||i&&!l.default(i)||r&&!h.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r({},n,{query:"string"==typeof n.query?n.query:p.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){e.connect()},t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach(function(t){e.sendMessageRaw(t)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,this.wsProtocols),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,function(){var e,t;return o(this,function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var n=t.data;e.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var i=t.payload.errors?r({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,i);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(326))},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},u.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);rthis.max;)this.delete(this.oldest.key)},i.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),"function"==typeof this.dispose&&this.dispose(e,t.value),!0)}},function(e,t,n){"use strict";n.r(t),n.d(t,"tuple",function(){return d}),n.d(t,"lookup",function(){return h}),n.d(t,"lookupArray",function(){return p});var r="function"==typeof Symbol&&"function"==typeof Symbol.for,i=r?Symbol.for("immutable-tuple"):"@@__IMMUTABLE_TUPLE__@@",o=r?Symbol.for("immutable-tuple-root"):"@@__IMMUTABLE_TUPLE_ROOT__@@";function a(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!1,configurable:!1}),n}var s=Object.freeze||function(e){return e};function c(e){switch(typeof e){case"object":if(null===e)return!1;case"function":return!0;default:return!1}}var u=function(){this._weakMap=null,this._strongMap=null,this.data=null};u.prototype.get=function(e){var t=this._getMap(e,!1);if(t)return t.get(e)},u.prototype.set=function(e,t){return this._getMap(e,!0).set(e,t),t},u.prototype._getMap=function(e,t){return t?c(e)?this._weakMap||(this._weakMap=new WeakMap):this._strongMap||(this._strongMap=new Map):c(e)?this._weakMap:this._strongMap};var l=Array[o]||a(Array,o,new u,!1);function h(){return p(arguments)}function p(e){for(var t=l,n=e.length,r=0;r0&&(t=[],e.childValues.forEach(function(n,r){w(e,r),t.push(r)})),s(null===e.dirtyChildren),t}function w(e,t){t.parents.delete(e),e.childValues.delete(t),m(e,t)}function k(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=null,t())}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(289),i=n(418),o=n(318);var a=function(){function e(e,t,n,i){var o=this;this.operation=e,this.nextLink=t,this.delayFor=n,this.retryIf=i,this.retryCount=0,this.values=[],this.complete=!1,this.canceled=!1,this.observers=[],this.currentSubscription=null,this.onNext=function(e){o.values.push(e);for(var t=0,n=o.observers;t=i)&&(n?n(r,t):!!r)}}(i),n}return Object(r.__extends)(t,e),t.prototype.request=function(e,t){var n=new a(e,t,this.delayFor,this.retryIf);return n.start(),new i.a(function(e){return n.subscribe(e),function(){n.unsubscribe(e)}})},t}(o.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(289),i=n(318),o=n(418);function a(e){return new i.a(function(t,n){return new o.a(function(r){var i,o,a;try{i=n(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:n}))?o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(i)},complete:function(){a||r.complete.bind(r)()}})}catch(i){e({networkError:i,operation:t,forward:n}),r.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!function(e){function t(t){var n=e.call(this)||this;return n.link=a(t),n}Object(r.__extends)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(i.a)},function(e,t,n){"use strict";(function(e){var t,r,i=n(274),o=n.n(i);t=void 0,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==o()(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==o()(Symbol.iterator)?function(e){return o()(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o()(e)})(e)}function i(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,i=n.fullSearcher,o=this._search(r,i),a=o.weights,s=o.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,i=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,r={},i=[];if("string"==typeof n[0]){for(var o=0,a=n.length;o1)throw new Error("Key weight has to be > 0 and <= 1");d=d.name}else s[d]={weight:1};this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:c},{resultMap:r,results:i,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:i}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,i=void 0===r?-1:r,o=e.value,a=e.record,s=e.index,u=t.tokenSearchers,l=void 0===u?[]:u,h=t.fullSearcher,p=void 0===h?[]:h,d=t.resultMap,f=void 0===d?{}:d,v=t.results,y=void 0===v?[]:v;if(null!=o){var m=!1,b=-1,_=0;if("string"==typeof o){this._log("\nKey: ".concat(""===n?"-":n));var g=p.search(o);if(this._log('Full text: "'.concat(o,'", score: ').concat(g.score)),this.options.tokenize){for(var w=o.split(this.options.tokenSeparator),k=[],O=0;O-1&&(N=(N+b)/2),this._log("Score average:",N);var j=!this.options.tokenize||!this.options.matchAllTokens||_>=l.length;if(this._log("\nCheck Matches: ".concat(j)),(m||g.isMatch)&&j){var R=f[s];R?R.output.push({key:n,arrayIndex:i,value:o,score:N,matchedIndices:g.matchedIndices}):(f[s]={item:a,output:[{key:n,arrayIndex:i,value:o,score:N,matchedIndices:g.matchedIndices}]},y.push(f[s]))}}else if(c(o))for(var M=0,F=o.length;M-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&i.push(function(e,t){t.score=e.score});for(var o=0,a=e.length;on)return i(e,this.pattern,r);var a=this.options,s=a.location,c=a.distance,u=a.threshold,l=a.findAllMatches,h=a.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:s,distance:c,threshold:u,findAllMatches:l,minMatchCharLength:h})}}])&&r(t.prototype,n),e}();e.exports=s},function(e,t){var n=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e.exports=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(n,"\\$&").replace(r,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var c=0,u=o.length;c=N;M-=1){var F=M-1,D=n[e.charAt(F)];if(D&&(w[F]=1),R[M]=(R[M+1]<<1|1)&D,0!==A&&(R[M]|=(E[M+1]|E[M])<<1|1|E[M+1]),R[M]&T&&(S=r(t,{errors:A,currentLocation:F,expectedLocation:y,distance:u}))<=b){if(b=S,(_=F)<=y)break;N=Math.max(1,2*y-_)}}if(r(t,{errors:A+1,currentLocation:y,expectedLocation:y,distance:u})>b)break;E=R}return{isMatch:_>=0,score:0===S?.001:S,matchedIndices:i(w,v)}}},function(e,t){e.exports=function(e,t){var n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,a=t.expectedLocation,s=void 0===a?0:a,c=t.distance,u=void 0===c?100:c,l=r/e.length,h=Math.abs(s-o);return u?l+h/u:h?1:l}},function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}},function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e,t){if(!e)throw new Error(t)}var s,c=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||a(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||a(0,"column in locationOffset is 1-indexed and must be positive")};function u(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function _(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}function g(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function w(e){return isNaN(e)?b.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function k(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i=i)return new g(b.EOF,i,i,a,s,t);var c=r.charCodeAt(o);switch(c){case 33:return new g(b.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new g(b.COMMENT,t,s,n,r,i,a.slice(t+1,s))}(n,o,a,s,t);case 36:return new g(b.DOLLAR,o,o+1,a,s,t);case 38:return new g(b.AMP,o,o+1,a,s,t);case 40:return new g(b.PAREN_L,o,o+1,a,s,t);case 41:return new g(b.PAREN_R,o,o+1,a,s,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new g(b.SPREAD,o,o+3,a,s,t);break;case 58:return new g(b.COLON,o,o+1,a,s,t);case 61:return new g(b.EQUALS,o,o+1,a,s,t);case 64:return new g(b.AT,o,o+1,a,s,t);case 91:return new g(b.BRACKET_L,o,o+1,a,s,t);case 93:return new g(b.BRACKET_R,o,o+1,a,s,t);case 123:return new g(b.BRACE_L,o,o+1,a,s,t);case 124:return new g(b.PIPE,o,o+1,a,s,t);case 125:return new g(b.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,c=0;for(;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new g(b.NAME,t,s,n,r,i,o.slice(t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,c=t,u=!1;45===s&&(s=a.charCodeAt(++c));if(48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw d(e,c,"Invalid number, unexpected digit after 0: ".concat(w(s),"."))}else c=O(e,c,s),s=a.charCodeAt(c);46===s&&(u=!0,s=a.charCodeAt(++c),c=O(e,c,s),s=a.charCodeAt(c));69!==s&&101!==s||(u=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=O(e,c,s));return new g(u?b.FLOAT:b.INT,t,c,r,i,o,a.slice(t,c))}(n,o,c,a,s,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,c=s,u=0,l="";for(;s=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw d(e,i,"Invalid number, expected digit but got: ".concat(w(o),"."))}function x(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}o(g,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}});var E=n(478),S=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function C(e,t){var n="string"==typeof e?new c(e):e;if(!(n instanceof c))throw new TypeError("Must provide Source. Received: ".concat(Object(r.a)(n)));return function(e){var t=e.token;return{kind:E.a.DOCUMENT,definitions:we(e,b.SOF,I,b.EOF),loc:pe(e,t)}}(v(n,t||{}))}function T(e,t){var n=v("string"==typeof e?new c(e):e,t||{});ve(n,b.SOF);var r=U(n,!1);return ve(n,b.EOF),r}function A(e,t){var n=v("string"==typeof e?new c(e):e,t||{});ve(n,b.SOF);var r=Y(n);return ve(n,b.EOF),r}function P(e){var t=ve(e,b.NAME);return{kind:E.a.NAME,value:t.value,loc:pe(e,t)}}function I(e){if(fe(e,b.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return N(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return X(e);case"extend":return function(e){var t=e.lookahead();if(t.kind===b.NAME)switch(t.value){case"schema":return function(e){var t=e.token;me(e,"extend"),me(e,"schema");var n=W(e,!0),r=fe(e,b.BRACE_L)?we(e,b.BRACE_L,te,b.BRACE_R):[];if(0===n.length&&0===r.length)throw _e(e);return{kind:E.a.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:pe(e,t)}}(e);case"scalar":return function(e){var t=e.token;me(e,"extend"),me(e,"scalar");var n=P(e),r=W(e,!0);if(0===r.length)throw _e(e);return{kind:E.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:pe(e,t)}}(e);case"type":return function(e){var t=e.token;me(e,"extend"),me(e,"type");var n=P(e),r=ne(e),i=W(e,!0),o=re(e);if(0===r.length&&0===i.length&&0===o.length)throw _e(e);return{kind:E.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:pe(e,t)}}(e);case"interface":return function(e){var t=e.token;me(e,"extend"),me(e,"interface");var n=P(e),r=W(e,!0),i=re(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:pe(e,t)}}(e);case"union":return function(e){var t=e.token;me(e,"extend"),me(e,"union");var n=P(e),r=W(e,!0),i=se(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:pe(e,t)}}(e);case"enum":return function(e){var t=e.token;me(e,"extend"),me(e,"enum");var n=P(e),r=W(e,!0),i=ce(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:pe(e,t)}}(e);case"input":return function(e){var t=e.token;me(e,"extend"),me(e,"input");var n=P(e),r=W(e,!0),i=le(e);if(0===r.length&&0===i.length)throw _e(e);return{kind:E.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:pe(e,t)}}(e)}throw _e(e,t)}(e)}else{if(fe(e,b.BRACE_L))return N(e);if(Z(e))return X(e)}throw _e(e)}function N(e){if(fe(e,b.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return j(e);case"fragment":return function(e){var t=e.token;if(me(e,"fragment"),e.options.experimentalFragmentVariables)return{kind:E.a.FRAGMENT_DEFINITION,name:Q(e),variableDefinitions:M(e),typeCondition:(me(e,"on"),G(e)),directives:W(e,!1),selectionSet:L(e),loc:pe(e,t)};return{kind:E.a.FRAGMENT_DEFINITION,name:Q(e),typeCondition:(me(e,"on"),G(e)),directives:W(e,!1),selectionSet:L(e),loc:pe(e,t)}}(e)}else if(fe(e,b.BRACE_L))return j(e);throw _e(e)}function j(e){var t=e.token;if(fe(e,b.BRACE_L))return{kind:E.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:L(e),loc:pe(e,t)};var n,r=R(e);return fe(e,b.NAME)&&(n=P(e)),{kind:E.a.OPERATION_DEFINITION,operation:r,name:n,variableDefinitions:M(e),directives:W(e,!1),selectionSet:L(e),loc:pe(e,t)}}function R(e){var t=ve(e,b.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw _e(e,t)}function M(e){return fe(e,b.PAREN_L)?we(e,b.PAREN_L,F,b.PAREN_R):[]}function F(e){var t=e.token;return{kind:E.a.VARIABLE_DEFINITION,variable:D(e),type:(ve(e,b.COLON),Y(e)),defaultValue:ye(e,b.EQUALS)?U(e,!0):void 0,directives:W(e,!0),loc:pe(e,t)}}function D(e){var t=e.token;return ve(e,b.DOLLAR),{kind:E.a.VARIABLE,name:P(e),loc:pe(e,t)}}function L(e){var t=e.token;return{kind:E.a.SELECTION_SET,selections:we(e,b.BRACE_L,q,b.BRACE_R),loc:pe(e,t)}}function q(e){return fe(e,b.SPREAD)?function(e){var t=e.token;ve(e,b.SPREAD);var n=be(e,"on");if(!n&&fe(e,b.NAME))return{kind:E.a.FRAGMENT_SPREAD,name:Q(e),directives:W(e,!1),loc:pe(e,t)};return{kind:E.a.INLINE_FRAGMENT,typeCondition:n?G(e):void 0,directives:W(e,!1),selectionSet:L(e),loc:pe(e,t)}}(e):function(e){var t,n,r=e.token,i=P(e);ye(e,b.COLON)?(t=i,n=P(e)):n=i;return{kind:E.a.FIELD,alias:t,name:n,arguments:B(e,!1),directives:W(e,!1),selectionSet:fe(e,b.BRACE_L)?L(e):void 0,loc:pe(e,r)}}(e)}function B(e,t){var n=t?z:V;return fe(e,b.PAREN_L)?we(e,b.PAREN_L,n,b.PAREN_R):[]}function V(e){var t=e.token,n=P(e);return ve(e,b.COLON),{kind:E.a.ARGUMENT,name:n,value:U(e,!1),loc:pe(e,t)}}function z(e){var t=e.token;return{kind:E.a.ARGUMENT,name:P(e),value:(ve(e,b.COLON),K(e)),loc:pe(e,t)}}function Q(e){if("on"===e.token.value)throw _e(e);return P(e)}function U(e,t){var n=e.token;switch(n.kind){case b.BRACKET_L:return function(e,t){var n=e.token,r=t?K:$;return{kind:E.a.LIST,values:ge(e,b.BRACKET_L,r,b.BRACKET_R),loc:pe(e,n)}}(e,t);case b.BRACE_L:return function(e,t){var n=e.token;return{kind:E.a.OBJECT,fields:ge(e,b.BRACE_L,function(){return function(e,t){var n=e.token,r=P(e);return ve(e,b.COLON),{kind:E.a.OBJECT_FIELD,name:r,value:U(e,t),loc:pe(e,n)}}(e,t)},b.BRACE_R),loc:pe(e,n)}}(e,t);case b.INT:return e.advance(),{kind:E.a.INT,value:n.value,loc:pe(e,n)};case b.FLOAT:return e.advance(),{kind:E.a.FLOAT,value:n.value,loc:pe(e,n)};case b.STRING:case b.BLOCK_STRING:return H(e);case b.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:E.a.BOOLEAN,value:"true"===n.value,loc:pe(e,n)}):"null"===n.value?(e.advance(),{kind:E.a.NULL,loc:pe(e,n)}):(e.advance(),{kind:E.a.ENUM,value:n.value,loc:pe(e,n)});case b.DOLLAR:if(!t)return D(e)}throw _e(e)}function H(e){var t=e.token;return e.advance(),{kind:E.a.STRING,value:t.value,block:t.kind===b.BLOCK_STRING,loc:pe(e,t)}}function K(e){return U(e,!0)}function $(e){return U(e,!1)}function W(e,t){for(var n=[];fe(e,b.AT);)n.push(J(e,t));return n}function J(e,t){var n=e.token;return ve(e,b.AT),{kind:E.a.DIRECTIVE,name:P(e),arguments:B(e,t),loc:pe(e,n)}}function Y(e){var t,n=e.token;return ye(e,b.BRACKET_L)?(t=Y(e),ve(e,b.BRACKET_R),t={kind:E.a.LIST_TYPE,type:t,loc:pe(e,n)}):t=G(e),ye(e,b.BANG)?{kind:E.a.NON_NULL_TYPE,type:t,loc:pe(e,n)}:t}function G(e){var t=e.token;return{kind:E.a.NAMED_TYPE,name:P(e),loc:pe(e,t)}}function X(e){var t=Z(e)?e.lookahead():e.token;if(t.kind===b.NAME)switch(t.value){case"schema":return function(e){var t=e.token;me(e,"schema");var n=W(e,!0),r=we(e,b.BRACE_L,te,b.BRACE_R);return{kind:E.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:pe(e,t)}}(e);case"scalar":return function(e){var t=e.token,n=ee(e);me(e,"scalar");var r=P(e),i=W(e,!0);return{kind:E.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:pe(e,t)}}(e);case"type":return function(e){var t=e.token,n=ee(e);me(e,"type");var r=P(e),i=ne(e),o=W(e,!0),a=re(e);return{kind:E.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a,loc:pe(e,t)}}(e);case"interface":return function(e){var t=e.token,n=ee(e);me(e,"interface");var r=P(e),i=W(e,!0),o=re(e);return{kind:E.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:pe(e,t)}}(e);case"union":return function(e){var t=e.token,n=ee(e);me(e,"union");var r=P(e),i=W(e,!0),o=se(e);return{kind:E.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:pe(e,t)}}(e);case"enum":return function(e){var t=e.token,n=ee(e);me(e,"enum");var r=P(e),i=W(e,!0),o=ce(e);return{kind:E.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:pe(e,t)}}(e);case"input":return function(e){var t=e.token,n=ee(e);me(e,"input");var r=P(e),i=W(e,!0),o=le(e);return{kind:E.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:pe(e,t)}}(e);case"directive":return function(e){var t=e.token,n=ee(e);me(e,"directive"),ve(e,b.AT);var r=P(e),i=oe(e);me(e,"on");var o=function(e){ye(e,b.PIPE);var t=[];do{t.push(he(e))}while(ye(e,b.PIPE));return t}(e);return{kind:E.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:pe(e,t)}}(e)}throw _e(e,t)}function Z(e){return fe(e,b.STRING)||fe(e,b.BLOCK_STRING)}function ee(e){if(Z(e))return H(e)}function te(e){var t=e.token,n=R(e);ve(e,b.COLON);var r=G(e);return{kind:E.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:pe(e,t)}}function ne(e){var t=[];if(be(e,"implements")){ye(e,b.AMP);do{t.push(G(e))}while(ye(e,b.AMP)||e.options.allowLegacySDLImplementsInterfaces&&fe(e,b.NAME))}return t}function re(e){return e.options.allowLegacySDLEmptyFields&&fe(e,b.BRACE_L)&&e.lookahead().kind===b.BRACE_R?(e.advance(),e.advance(),[]):fe(e,b.BRACE_L)?we(e,b.BRACE_L,ie,b.BRACE_R):[]}function ie(e){var t=e.token,n=ee(e),r=P(e),i=oe(e);ve(e,b.COLON);var o=Y(e),a=W(e,!0);return{kind:E.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a,loc:pe(e,t)}}function oe(e){return fe(e,b.PAREN_L)?we(e,b.PAREN_L,ae,b.PAREN_R):[]}function ae(e){var t=e.token,n=ee(e),r=P(e);ve(e,b.COLON);var i,o=Y(e);ye(e,b.EQUALS)&&(i=K(e));var a=W(e,!0);return{kind:E.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:i,directives:a,loc:pe(e,t)}}function se(e){var t=[];if(ye(e,b.EQUALS)){ye(e,b.PIPE);do{t.push(G(e))}while(ye(e,b.PIPE))}return t}function ce(e){return fe(e,b.BRACE_L)?we(e,b.BRACE_L,ue,b.BRACE_R):[]}function ue(e){var t=e.token,n=ee(e),r=P(e),i=W(e,!0);return{kind:E.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:pe(e,t)}}function le(e){return fe(e,b.BRACE_L)?we(e,b.BRACE_L,ae,b.BRACE_R):[]}function he(e){var t=e.token,n=P(e);if(S.hasOwnProperty(n.value))return n;throw _e(e,t)}function pe(e,t){if(!e.options.noLocation)return new de(t,e.lastToken,e.source)}function de(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function fe(e,t){return e.token.kind===t}function ve(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw d(e.source,n.start,"Expected ".concat(t,", found ").concat(_(n)))}function ye(e,t){var n=e.token;if(n.kind===t)return e.advance(),n}function me(e,t){var n=e.token;if(n.kind===b.NAME&&n.value===t)return e.advance(),n;throw d(e.source,n.start,'Expected "'.concat(t,'", found ').concat(_(n)))}function be(e,t){var n=e.token;if(n.kind===b.NAME&&n.value===t)return e.advance(),n}function _e(e,t){var n=t||e.token;return d(e.source,n.start,"Unexpected ".concat(_(n)))}function ge(e,t,n,r){ve(e,t);for(var i=[];!ye(e,r);)i.push(n(e));return i}function we(e,t,n,r){ve(e,t);for(var i=[n(e)];!ye(e,r);)i.push(n(e));return i}n.d(t,"parse",function(){return C}),n.d(t,"parseValue",function(){return T}),n.d(t,"parseType",function(){return A}),n.d(t,"parseConstValue",function(){return K}),n.d(t,"parseTypeReference",function(){return Y}),n.d(t,"parseNamedType",function(){return G}),o(de,function(){return{start:this.start,end:this.end}})},,,function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(267),n(422),document.createElement("template"));o.setAttribute("style","display: none;"),o.innerHTML="\n \n",document.head.appendChild(o.content);var a=n(272),s=n(271),c={properties:{active:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"__activeChanged"},alt:{type:String,value:"loading",observer:"__altChanged"},__coolingDown:{type:Boolean,value:!1}},__computeContainerClasses:function(e,t){return[e||t?"active":"",t?"cooldown":""].join(" ")},__activeChanged:function(e,t){this.__setAriaHidden(!e),this.__coolingDown=!e&&t},__altChanged:function(e){"loading"===e?this.alt=this.getAttribute("aria-label")||e:(this.__setAriaHidden(""===e),this.setAttribute("aria-label",e))},__setAriaHidden:function(e){e?this.setAttribute("aria-hidden","true"):this.removeAttribute("aria-hidden")},__reset:function(){this.active=!1,this.__coolingDown=!1}};function u(){var e=i()(['\n \n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n']);return u=function(){return e},e}var l=Object(s.a)(u());l.setAttribute("strip-whitespace",""),Object(a.a)({_template:l,is:"paper-spinner",behaviors:[c]})},function(e,t,n){"use strict";var r=n(269),i=n.n(r),o=(n(355),n(267)),a=(n(488),n(271));function s(){var e=i()(['\n\n \n']);return s=function(){return e},e}var c=Object(a.a)(s());c.setAttribute("style","display: none;"),document.head.appendChild(c.content);var u=n(357),l=n(319),h=n(421),p={properties:{elevation:{type:Number,reflectToAttribute:!0,readOnly:!0}},observers:["_calculateElevation(focused, disabled, active, pressed, receivedFocusFromKeyboard)","_computeKeyboardClass(receivedFocusFromKeyboard)"],hostAttributes:{role:"button",tabindex:"0",animated:!0},_calculateElevation:function(){var e=1;this.disabled?e=0:this.active||this.pressed?e=4:this.receivedFocusFromKeyboard&&(e=3),this._setElevation(e)},_computeKeyboardClass:function(e){this.toggleClass("keyboard-focus",e)},_spaceKeyDownHandler:function(e){u.b._spaceKeyDownHandler.call(this,e),this.hasRipple()&&this.getRipple().ripples.length<1&&this._ripple.uiDownAction()},_spaceKeyUpHandler:function(e){u.b._spaceKeyUpHandler.call(this,e),this.hasRipple()&&this._ripple.uiUpAction()}},d=[u.a,l.a,h.a,p],f=n(272);function v(){var e=i()(['\n \n\n ']);return v=function(){return e},e}var y=Object(o.b)(v());y.setAttribute("strip-whitespace",""),Object(f.a)({_template:y,is:"paper-button",behaviors:[d],properties:{raised:{type:Boolean,reflectToAttribute:!0,value:!1,observer:"_calculateElevation"}},_calculateElevation:function(){this.raised?p._calculateElevation.apply(this):this._setElevation(0)}})},,function(e,t,n){"use strict";var r,i=n(289),o=n(296),a=n(418),s=n(318),c=n(479),u=n(415),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return Object(i.__extends)(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey();if(!this.inFlightRequestObservables.get(r)){var i,o=t(e),s=new a.a(function(e){return n.subscribers.has(r)||n.subscribers.set(r,new Set),n.subscribers.get(r).add(e),i||(i=o.subscribe({next:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&(t.forEach(function(t){return t.next(e)}),t.forEach(function(e){return e.complete()}))},error:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&t.forEach(function(t){return t.error(e)})}})),function(){n.subscribers.has(r)&&(n.subscribers.get(r).delete(e),0===n.subscribers.get(r).size&&(n.inFlightRequestObservables.delete(r),i&&i.unsubscribe()))}});this.inFlightRequestObservables.set(r,s)}return this.inFlightRequestObservables.get(r)},t}(s.a),h=n(416);function p(e){return e<7}n.d(t,"a",function(){return E}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}));var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype[c.default]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(a.a);var f,v=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var n=e?e.message:"Error message not found.";t+="GraphQL error: "+n+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},y=function(e){function t(n){var r=n.graphQLErrors,i=n.networkError,o=n.errorMessage,a=n.extraInfo,s=e.call(this,o)||this;return s.graphQLErrors=r||[],s.networkError=i||null,s.message=o||v(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(i.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(f||(f={}));var m=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,o=void 0===i||i,a=e.call(this,function(e){return a.onSubscribe(e)})||this;return a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=o,a.queryManager=n,a.observers=[],a.subscriptionHandles=[],a}return Object(i.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r,i={next:function(n){t(n),e.observers.some(function(e){return e!==i})||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:function(e){n(e)}};r=e.subscribe(i)})},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:r.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new y({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var a,s=this.queryManager.getCurrentQueryResult(this),c=s.data,u=s.partial,l=!n||n.networkStatus===r.loading,h="network-only"===this.options.fetchPolicy&&l||u&&"cache-only"!==this.options.fetchPolicy,d={data:c,loading:p(a=n?n.networkStatus:h?r.loading:r.ready),networkStatus:a};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(d.errors=n.graphQLErrors),u||(this.lastResult=Object(i.__assign)({},d,{stale:!1}),this.lastResultSnapshot=Object(o.cloneDeep)(this.lastResult)),Object(i.__assign)({},d,{partial:u})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(o.isEqual)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(o.isEqual)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(o.isEqual)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,r=Object(i.__assign)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,r,f.refetch).then(function(e){return e})},t.prototype.fetchMore=function(e){var t,n=this;return Object(u.b)(e.updateQuery),Promise.resolve().then(function(){var r=n.queryManager.generateQueryId();return(t=e.query?e:Object(i.__assign)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(r,t,f.normal,n.queryId)}).then(function(r){return n.updateQuery(function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})}),r})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery(function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})})},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var r=e||this.variables;return Object(o.isEqual)(r,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise(function(e){return e()}):(this.variables=r,this.options.variables=r,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,Object(i.__assign)({},this.options,{variables:this.variables})).then(function(e){return e}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,i=t.document,a=Object(o.tryFunctionOrLogError)(function(){return e(n,{variables:r})});a&&(this.queryManager.dataStore.markUpdateQueryResult(i,r,a),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){b(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(b(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(o.cloneDeep)(t),e.observers.forEach(function(e){return e.next&&e.next(t)})},error:function(t){e.lastError=t,e.observers.forEach(function(e){return e.error&&e.error(t)})}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(d);function b(e){var t=e.options.fetchPolicy;Object(u.b)("cache-first"!==t&&"cache-only"!==t)}var _=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),g=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(o.isEqual)(t.document,e.document))throw new u.a;var n,i=!1,a=null;e.storePreviousVariables&&t&&t.networkStatus!==r.loading&&(Object(o.isEqual)(t.variables,e.variables)||(i=!0,a=t.variables)),n=i?r.setVariables:e.isPoll?r.poll:e.isRefetch?r.refetch:r.loading;var s=[];t&&t.graphQLErrors&&(s=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:a,networkError:null,graphQLErrors:s,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=r.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=r.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=r.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?r.ready:r.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,n){return e[n]=Object(i.__assign)({},t.store[n],{networkStatus:r.loading}),e},{})},e}();var w=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=Object(o.mergeDeep)(t.resolvers,e)}):this.resolvers=Object(o.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(i.__awaiter)(this,void 0,void 0,function(){return Object(i.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,r,o,this.fragmentMatcher,s).then(function(e){return Object(i.__assign)({},n,{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(o.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(o.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(i.__assign)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(u.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(i.__awaiter)(this,void 0,void 0,function(){return Object(i.__generator)(this,function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return Object(i.__assign)({},t,e.exportedVariables)})]:[2,Object(i.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(h.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return h.a}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(o.buildQueryFromSelectionSet)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,a,s){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===a&&(a=function(){return!0}),void 0===s&&(s=!1),Object(i.__awaiter)(this,void 0,void 0,function(){var c,u,l,h,p,d,f,v,y;return Object(i.__generator)(this,function(m){var b;return c=Object(o.getMainDefinition)(e),u=Object(o.getFragmentDefinitions)(e),l=Object(o.createFragmentMap)(u),h=c.operation,p=h?(b=h).charAt(0).toUpperCase()+b.slice(1):"Query",f=(d=this).cache,v=d.client,y={fragmentMap:l,context:Object(i.__assign)({},n,{cache:f,client:v}),variables:r,fragmentMatcher:a,defaultOperationType:p,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(c.selectionSet,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n){return Object(i.__awaiter)(this,void 0,void 0,function(){var r,a,s,c,l,h=this;return Object(i.__generator)(this,function(p){return r=n.fragmentMap,a=n.context,s=n.variables,c=[t],l=function(e){return Object(i.__awaiter)(h,void 0,void 0,function(){var l,h;return Object(i.__generator)(this,function(i){return Object(o.shouldInclude)(e,s)?Object(o.isField)(e)?[2,this.resolveField(e,t,n).then(function(t){var n;void 0!==t&&c.push(((n={})[Object(o.resultKeyNameFromField)(e)]=t,n))})]:(Object(o.isInlineFragment)(e)?l=e:(l=r[e.name.value],Object(u.b)(l)),l&&l.typeCondition&&(h=l.typeCondition.name.value,n.fragmentMatcher(t,h,a))?[2,this.resolveSelectionSet(l.selectionSet,t,n).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Object(o.mergeDeepArray)(c)})]})})},e.prototype.resolveField=function(e,t,n){return Object(i.__awaiter)(this,void 0,void 0,function(){var r,a,s,c,u,l,h,p,d,f=this;return Object(i.__generator)(this,function(i){return r=n.variables,a=e.name.value,s=Object(o.resultKeyNameFromField)(e),c=a!==s,u=t[s]||t[a],l=Promise.resolve(u),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(h=t.__typename||n.defaultOperationType,(p=this.resolvers&&this.resolvers[h])&&(d=p[c?a:s])&&(l=Promise.resolve(d(t,Object(o.argumentsObjectFromField)(e,r),n.context,{field:e})))),[2,l.then(function(t){return void 0===t&&(t=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)})}),e.selectionSet?null==t?t:Array.isArray(t)?f.resolveSubSelectedArray(e,t,n):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t,n):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0}))},e}(),k=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,o=e.onBroadcast,a=void 0===o?function(){}:o,c=e.ssrMode,u=void 0!==c&&c,h=e.clientAwareness,p=void 0===h?{}:h,d=e.localState;this.mutationStore=new _,this.queryStore=new g,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=s.a.from([new l,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=a,this.clientAwareness=p,this.localState=d||new w({cache:i.getCache()}),this.ssrMode=u}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.fetchQueryRejectFns.forEach(function(e){e(new Error("QueryManager stopped while query was in flight"))})},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,a=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,h=e.awaitRefetchQueries,p=void 0!==h&&h,f=e.update,v=e.errorPolicy,m=void 0===v?"none":v,b=e.fetchPolicy,_=e.context,g=void 0===_?{}:_;return Object(i.__awaiter)(this,void 0,void 0,function(){var e,c,h,v,_,w=this;return Object(i.__generator)(this,function(k){switch(k.label){case 0:return Object(u.b)(t),Object(u.b)(!b||"no-cache"===b),e=this.generateQueryId(),c=this.dataStore.getCache(),t=c.transformDocument(t),n=Object(o.assign)({},Object(o.getDefaultValues)(Object(o.getMutationDefinition)(t)),n),this.setQuery(e,function(){return{document:t}}),h=function(){var e={};return a&&Object.keys(a).forEach(function(t){return(w.queryIdsByName[t]||[]).forEach(function(n){e[n]={updater:a[t],query:w.queryStore.get(n)}})}),e},Object(o.hasClientExports)(t)?[4,this.localState.addExportedVariables(t,n,g)]:[3,2];case 1:return _=k.sent(),[3,3];case 2:_=n,k.label=3;case 3:return v=_,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:h(),update:f,optimisticResponse:r}),this.broadcastQueries(),[2,new Promise(function(n,a){var c,u,_=w.buildOperationForLink(t,v,Object(i.__assign)({},g,{optimisticResponse:r})),k=function(){if(u&&w.mutationStore.markMutationError(e,u),w.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),w.broadcastQueries(),u)return Promise.reject(u);"function"==typeof l&&(l=l(c));for(var t=[],n=0,i=l;n=(n||1)&&(P.queryStore.markQueryError(e,t,r),P.invalidate(!0,e,r),P.broadcastQueries()),new y({networkError:t})}),"cache-and-network"!==h)return[2,A];A.catch(function(){})}return[2,Promise.resolve({data:w})]}})})},e.prototype.queryListenerForObserver=function(e,t,n){var r=this,o=!1;return function(a,s,c){return Object(i.__awaiter)(r,void 0,void 0,function(){var r,u,l,h,d,f,v,m,b,_,g,w,k,O,x,E,S,C,T,A;return Object(i.__generator)(this,function(P){switch(P.label){case 0:if(this.invalidate(!1,e),!a)return[2];if(r=this.getQuery(e).observableQuery,"standby"===(u=r?r.options.fetchPolicy:t.fetchPolicy))return[2];if(l=r?r.options.errorPolicy:t.errorPolicy,h=r?r.getLastResult():null,d=r?r.getLastError():null,f=!s&&null!=a.previousVariables||"cache-only"===u||"cache-and-network"===u,v=Boolean(h&&a.networkStatus!==h.networkStatus),m=l&&(d&&d.graphQLErrors)!==a.graphQLErrors&&"none"!==l,!(!p(a.networkStatus)||v&&t.notifyOnNetworkStatusChange||f))return[3,8];if((!l||"none"===l)&&a.graphQLErrors&&a.graphQLErrors.length>0||a.networkError){if(b=new y({graphQLErrors:a.graphQLErrors,networkError:a.networkError}),o=!0,n.error)try{n.error(b)}catch(e){setTimeout(function(){throw e},0)}else setTimeout(function(){throw b},0);return[2]}P.label=1;case 1:if(P.trys.push([1,7,,8]),_=void 0,g=void 0,s?("no-cache"!==u&&"network-only"!==u&&this.setQuery(e,function(){return{newData:null}}),_=s.result,g=!s.complete||!1):h&&h.data&&!m?(_=h.data,g=!1):(w=this.getQuery(e).document,k=this.dataStore.getCache().diff({query:w,variables:a.previousVariables||a.variables,optimistic:!0}),_=k.result,g=!k.complete),O=void 0,O=g&&"cache-only"!==u?{data:h&&h.data,loading:p(a.networkStatus),networkStatus:a.networkStatus,stale:!0}:{data:_,loading:p(a.networkStatus),networkStatus:a.networkStatus,stale:!1},"all"===l&&a.graphQLErrors&&a.graphQLErrors.length>0&&(O.errors=a.graphQLErrors),!n.next)return[3,6];if(!o&&r&&!r.isDifferentFromLastResult(O))return[3,6];P.label=2;case 2:return P.trys.push([2,5,,6]),c?(x=t.query,E=t.variables,S=t.context,[4,this.localState.runResolvers({document:x,remoteResult:O,context:S,variables:E,onlyRunForcedResolvers:c})]):[3,4];case 3:C=P.sent(),O=Object(i.__assign)({},O,C),P.label=4;case 4:return n.next(O),[3,6];case 5:return T=P.sent(),setTimeout(function(){throw T},0),[3,6];case 6:return o=!1,[3,8];case 7:return A=P.sent(),o=!0,n.error&&n.error(new y({networkError:A})),[2];case 8:return[2]}})})}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(u.b)("standby"!==e.fetchPolicy);var n=Object(o.getQueryDefinition)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var r=Object(o.getDefaultValues)(n);e.variables=Object(o.assign)({},r,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var a=Object(i.__assign)({},e);return new m({queryManager:this,options:a,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(u.b)(e.query),Object(u.b)("Document"===e.query.kind),Object(u.b)(!e.returnPartialData),Object(u.b)(!e.pollInterval),new Promise(function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then(function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)})})},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}})},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,function(){return{invalidated:!0,newData:t}})}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,function(){return{observableQuery:t}});var n=Object(o.getQueryDefinition)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var i=Object(o.getQueryDefinition)(n.options.query),a=i.name?i.name.value:null;this.setQuery(e,function(){return{observableQuery:null}}),a&&(this.queryIdsByName[a]=this.queryIdsByName[a].filter(function(e){return!(n.queryId===e)}))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach(function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))});var e=[];return this.queries.forEach(function(t,n){t.observableQuery&&e.push(n)}),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then(function(){return e.reFetchObservableQueries()})},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch(function(){}),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,r=e.query,a=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),c=this.dataStore.getCache().transformDocument(r),u=Object(o.assign)({},Object(o.getDefaultValues)(Object(o.getOperationDefinition)(r)),e.variables),l=u,h=[],p=this.localState.clientQuery(c);return new d(function(e){if(h.push(e),1===h.length){var r=0,f=!1,v={next:function(e){return Object(i.__awaiter)(n,void 0,void 0,function(){var t;return Object(i.__generator)(this,function(n){switch(n.label){case 0:return r+=1,t=e,p&&Object(o.hasDirectives)(["client"],p)?[4,this.localState.runResolvers({document:p,remoteResult:e,context:{},variables:l})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return a&&(this.dataStore.markSubscriptionResult(t,c,l),this.broadcastQueries()),h.forEach(function(e){Object(o.graphQLResultHasError)(t)&&e.error?e.error(new y({graphQLErrors:t.errors})):e.next&&e.next(t),r-=1}),0===r&&f&&v.complete(),[2]}})})},error:function(e){h.forEach(function(t){t.error&&t.error(e)})},complete:function(){0===r&&h.forEach(function(e){e.complete&&e.complete()}),f=!0}};Object(i.__awaiter)(n,void 0,void 0,function(){var e,n,r,a;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return Object(o.hasClientExports)(c)?[4,this.localState.addExportedVariables(c,u)]:[3,2];case 1:return n=i.sent(),[3,3];case 2:n=u,i.label=3;case 3:return e=n,(r=this.localState.serverQuery(c))?(a=this.buildOperationForLink(r,e),t=Object(s.b)(this.link,a).subscribe(v)):t=d.of({data:{}}).subscribe(v),[2]}})})}return function(){0===(h=h.filter(function(t){return t!==e})).length&&t&&t.unsubscribe()}})},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach(function(e){return e.unsubscribe()}),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,o=n.fetchPolicy,a=e.getLastResult(),s=this.getQuery(e.queryId).newData;if(s&&s.complete)return{data:s.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:a?a.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(u.b)(n),t=n}else t=e;var r=t.options,i=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:o}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach(function(n,r){n.invalidated&&n.listeners&&n.listeners.filter(function(e){return!!e}).forEach(function(i){i(t.queryStore.get(r),n.newData,e)})})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach(function(r,i){var o=r.observableQuery;if(o){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(o.refetch()),t.setQuery(i,function(){return{newData:null}}),t.invalidate(!0,i)}}),n},e.prototype.fetchRequest=function(e){var t,n,a=this,c=e.requestId,u=e.queryId,l=e.document,h=e.options,p=e.fetchMoreForQueryId,f=h.variables,v=h.context,m=h.errorPolicy,b=void 0===m?"none":m,_=h.fetchPolicy;return new Promise(function(e,h){var m,g={},w=a.localState.clientQuery(l),k=a.localState.serverQuery(l);if(k){var O=a.buildOperationForLink(k,f,Object(i.__assign)({},v,{forceFetch:!a.queryDeduplication}));g=O.context,m=Object(s.b)(a.deduplicator,O)}else g=a.prepareContext(v),m=d.of({data:{}});a.fetchQueryRejectFns.set("fetchRequest:"+u,h);var x=!1,E=!0,S={next:function(e){return Object(i.__awaiter)(a,void 0,void 0,function(){var r,a;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return E=!0,r=e,a=this.getQuery(u).lastRequestId,c>=(a||1)?w&&Object(o.hasDirectives)(["client"],w)?[4,this.localState.runResolvers({document:w,remoteResult:e,context:g,variables:f}).catch(function(t){return E=!1,h(t),e})]:[3,2]:[3,3];case 1:r=i.sent(),i.label=2;case 2:if("no-cache"!==_)try{this.dataStore.markQueryResult(r,l,f,p,"ignore"===b||"all"===b)}catch(e){return E=!1,h(e),[2]}else this.setQuery(u,function(){return{newData:{result:r.data,complete:!0}}});this.queryStore.markQueryResult(u,r,p),this.invalidate(!0,u,p),this.broadcastQueries(),i.label=3;case 3:if(r.errors&&"none"===b)return E=!1,h(new y({graphQLErrors:r.errors})),[2];if("all"===b&&(n=r.errors),p||"no-cache"===_)t=r.data;else try{t=this.dataStore.getCache().read({variables:f,query:l,optimistic:!1})}catch(e){}return E=!1,x&&S.complete(),[2]}})})},error:function(e){a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),h(e)},complete:function(){E||(a.fetchQueryRejectFns.delete("fetchRequest:"+u),a.setQuery(u,function(e){return{subscriptions:e.subscriptions.filter(function(e){return e!==C})}}),e({data:t,errors:n,loading:!1,networkStatus:r.ready,stale:!1})),x=!0}},C=m.subscribe(S);a.setQuery(u,function(e){return{subscriptions:e.subscriptions.concat([C])}})}).catch(function(e){throw a.fetchQueryRejectFns.delete("fetchRequest:"+u),e})},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map(function(e){return t.getQuery(e).observableQuery}).filter(function(e){return!!e}).map(function(e){return e.refetch()}))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(i.__assign)({},n,t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,function(){return{invalidated:e}}),n&&this.setQuery(n,function(){return{invalidated:e}})},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(o.getOperationName)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(i.__assign)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==r.ready&&t.networkStatus!==r.error},e.prototype.startPollingQuery=function(e,t,n){var r=e.pollInterval;return Object(u.b)(r),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:r,lastPollTimeMs:Date.now()-10,options:Object(i.__assign)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(r)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,f.poll).then(i,i)}}),isFinite(e)&&t.schedulePoll(e)},e)}},e}(),O=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,i){void 0===i&&(i=!1);var a=!Object(o.graphQLResultHasError)(e);i&&Object(o.graphQLResultHasError)(e)&&e.data&&(a=!0),!r&&a&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(o.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction(function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}},e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(o.graphQLResultHasError)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter(function(t){return e.updateQueries[t]}).forEach(function(r){var i=e.updateQueries[r],a=i.query,s=i.updater,c=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),u=c.result;if(c.complete){var l=Object(o.tryFunctionOrLogError)(function(){return s(u,{mutationResult:e.result,queryName:Object(o.getOperationName)(a.document)||void 0,queryVariables:a.variables})});l&&n.push({result:l,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}}),this.cache.performTransaction(function(e){n.forEach(function(t){return e.write(t)})});var r=e.update;r&&this.cache.performTransaction(function(t){Object(o.tryFunctionOrLogError)(function(){return r(t,e.result)})})}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),x="2.5.1",E=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,i=void 0!==r&&r,a=e.ssrForceFetchDelay,c=void 0===a?0:a,l=e.connectToDevTools,h=e.queryDeduplication,p=void 0===h||h,d=e.defaultOptions,f=e.resolvers,v=e.typeDefs,y=e.fragmentMatcher,m=e.name,b=e.version,_=e.link;if(!_&&f&&(_=s.a.empty()),!_||!n)throw new u.a;var g=new Map,k=new s.a(function(e,t){var n=g.get(e.query);return n||(n=Object(o.removeConnectionDirectiveFromDocument)(e.query),g.set(e.query,n),g.set(n,n)),e.query=n,t(e)});this.link=k.concat(_),this.cache=n,this.store=new O(n),this.disableNetworkFetches=i||c>0,this.queryDeduplication=p,this.ssrMode=i,this.defaultOptions=d||{},this.typeDefs=v,c&&setTimeout(function(){return t.disableNetworkFetches=!1},c),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==l&&(l&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version=x,m&&(this.clientAwareness.name=m),b&&(this.clientAwareness.version=b),this.localState=new w({cache:n,client:this,resolvers:f,fragmentMatcher:y})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(i.__assign)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(i.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(i.__assign)({},this.defaultOptions.query,e)),Object(u.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(i.__assign)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(i.__assign)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(s.b)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new k({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)})},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))}).then(function(){return t?t.clearStore():Promise.resolve(null)})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}()},function(e,t,n){"use strict";var r=n(418),i=n(318),o=n(296),a=n(582),s=n(417),c={test:function(e){return"client"===e.name.value},remove:!0},u=new Map;n.d(t,"a",function(){return d});var l,h=(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=a.graphql,d=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,n=e.cache,a=e.typeDefs,l=e.fragmentMatcher;return n&&t&&n.writeData({data:t}),new(function(i){function d(){return null!==i&&i.apply(this,arguments)||this}return h(d,i),d.prototype.writeDefaults=function(){n&&t&&n.writeData({data:t})},d.prototype.request=function(n,i){if(void 0===i&&(i=function(){return r.a.of({data:{}})}),a){var h=function(e){return(Array.isArray(e)?e:[e]).map(function(e){return"string"==typeof e?e:Object(s.print)(e)}).map(function(e){return e.trim()}).join("\n")}(a);n.setContext(function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:h,directives:"directive @client on FIELD"}])}})}if(!Object(o.hasDirectives)(["client"],n.query))return i(n);var d,f="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=u.get(e);if(t)return t;Object(o.checkDocument)(e);var n=Object(o.removeDirectivesFromDocument)([c],e);return u.set(e,n),n}(n.query),y=n.query,m=(d=(Object(o.getMainDefinition)(y)||{}).operation).charAt(0).toUpperCase()+d.slice(1)||"Query",b=function(e,n,r,i,o){void 0===n&&(n={});var a=o.resultKey,s=n[a],c=n[e],u=a!==e;if(void 0!==s||void 0!==c)return s||c;var l=f[n.__typename||m];if(l){var h=l[e];if(h)return h(n,r,i,o)}return(u?s:c)||(t||{})[e]};v&&(n.query=v);var _=v&&i?i(n):r.a.of({data:{}});return new r.a(function(e){var t=!1,r=!1;_.subscribe({next:function(i){var o=i.data,a=i.errors,s=e.error.bind(e),c=n.getContext();r=!0,p(b,y,o,c,n.variables,{fragmentMatcher:l}).then(function(n){e.next({data:n,errors:a}),t&&e.complete(),r=!1}).catch(s)},error:e.error.bind(e),complete:function(){r||e.complete(),t=!0}})})},d}(i.a))}},function(e,t,n){"use strict";var r=n(289),i=n(318),o=n(418),a=n(417),s=n(588),c={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},u=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},l=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=new s.a(2);throw r.parseError=e,r}return n};n.d(t,"a",function(){return p});var h=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,h=e.fetch,p=e.includeExtensions,d=e.useGETForQueries,f=Object(r.__rest)(e,["uri","fetch","includeExtensions","useGETForQueries"]);!function(e){if(!e&&"undefined"==typeof fetch)throw new s.a(1)}(h),h||(h=fetch);var v={http:{includeExtensions:p},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new i.a(function(e){var t=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}(e,n),s=e.getContext(),p={};if(s.clientAwareness){var f=s.clientAwareness,y=f.name,m=f.version;y&&(p["apollographql-client-name"]=y),m&&(p["apollographql-client-version"]=m)}var b,_=Object(r.__assign)({},p,s.headers),g={http:s.http,options:s.fetchOptions,credentials:s.credentials,headers:_},w=function(e,t){for(var n=[],i=2;i=300&&u(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||u(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName)+"'."),t})})).then(function(e){return n.next(e),n.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))}),function(){b&&b.abort()}})})};var p=function(e){function t(t){return e.call(this,h(t).request)||this}return Object(r.__extends)(t,e),t}(i.a)},,,,,function(e,t,n){"use strict";var r=n(261),i=n.n(r),o=n(262),a=n.n(o),s=n(264),c=n.n(s),u=n(263),l=n.n(u),h=n(277),p=n.n(h),d=n(265),f=n.n(d),v=["data","error","loading"],y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return function(e){function n(){var e;return i()(this,n),(e=c()(this,l()(n).call(this))).notifyingProps=t,e}return f()(n,e),a()(n,[{key:"notify",value:function(e,t){this.dispatchEvent(new CustomEvent("".concat(e,"-changed"),{bubbles:!0,composed:!0,detail:{value:t}}))}},{key:"update",value:function(e){var t=this;p()(l()(n.prototype),"update",this).call(this,e),this.notifyingProps.forEach(function(n){return e.has(n)&&t.notify(n,t[n])})}}]),n}(e)}(n(428).a,["called","data","error","loading"]);customElements.define("apollo-mutation",y)},,function(e,t,n){"use strict";var r=n(274),i=n.n(r),o=n(289),a=n(296);function s(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:c(e)}]}}function c(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return c(e[0]);var t=[];return Object.keys(e).forEach(function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:c(e[n])||void 0};t.push(r)}),{kind:"SelectionSet",selections:t}}var u,l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},h=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(a.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:l})}catch(e){}var a=o&&o.__typename||"__ClientData",u=Object.assign({__typename:a},i);this.writeFragment({id:r,fragment:(t=u,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:c(t)}]}),data:u})}else this.writeQuery({query:s(i),data:i})},e}();u||(u={});var p=n(600),d=n(415);n.d(t,"a",function(){return L});var f=new Map;if(f.set(1,2)!==f){var v=f.set;Map.prototype.set=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach(function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map(function(e){return e.name}))}),t}}(),function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t0;return y&&!s&&v.missing.forEach(function(e){if(!e.tolerable)throw new d.a}),i&&Object(a.isEqual)(i,v.result)&&(v.result=i),{result:v.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,o=e.fragmentMatcher,s=void 0===o?A:o,c=Object(a.getMainDefinition)(t),u=Object(a.getFragmentDefinitions)(t),l={query:t,fragmentMap:Object(a.createFragmentMap)(u),contextValue:r,variableValues:i,fragmentMatcher:s};return this.executeSelectionSet({selectionSet:c.selectionSet,rootValue:n,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,i=e.execContext,s=i.fragmentMap,c=i.contextValue,u=i.variableValues,l={result:null},h=[],p=c.store.get(r.id),f=p&&p.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function v(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach(function(e){var n;if(Object(a.shouldInclude)(e,u))if(Object(a.isField)(e)){var l=v(t.executeField(p,f,e,i));void 0!==l&&h.push(((n={})[Object(a.resultKeyNameFromField)(e)]=l,n))}else{var y=void 0;if(Object(a.isInlineFragment)(e))y=e;else if(!(y=s[e.name.value]))throw new d.a;var m=y.typeCondition.name.value,b=i.fragmentMatcher(r,m,c);if(b){var _=t.executeSelectionSet({selectionSet:y.selectionSet,rootValue:r,execContext:i});"heuristic"===b&&_.missing&&(_=Object(o.__assign)({},_,{missing:_.missing.map(function(e){return Object(o.__assign)({},e,{tolerable:!0})})})),h.push(v(_))}}}),l.result=Object(a.mergeDeepArray)(h),l},e.prototype.executeField=function(e,t,n,r){var i=r.variableValues,o=r.contextValue,s=function(e,t,n,r,i,o){o.resultKey;var s=o.directives,c=n;(r||s)&&(c=Object(a.getStoreKeyName)(c,r,s));var u=void 0;if(e&&void 0===(u=e[c])&&i.cacheRedirects&&"string"==typeof t){var l=i.cacheRedirects[t];if(l){var h=l[n];h&&(u=h(e,r,{getCacheKey:function(e){return Object(a.toIdValue)({id:i.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===u)return{result:u,missing:[{object:e,fieldName:c,tolerable:!1}]};Object(a.isJsonValue)(u)&&(u=u.json);return{result:u}}(e,t,n.name.value,Object(a.argumentsObjectFromField)(n,i),o,{resultKey:Object(a.resultKeyNameFromField)(n),directives:Object(a.getDirectiveInfoFromField)(n,i)});return Array.isArray(s.result)?this.combineExecResults(s,this.executeSubSelectedArray(n,s.result,r)):n.selectionSet?null==s.result?s:this.combineExecResults(s,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:s.result,execContext:r})):(T(n,s.result),s)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var M={fragmentMatcher:new k,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0};var F=Object.prototype.hasOwnProperty,D=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(o.__extends)(t,e),t.prototype.toObject=function(){return Object(o.__assign)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return F.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(P),L=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new O,n.silenceBroadcast=!1,n.config=Object(o.__assign)({},M,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new E:new P,n.optimisticData=n.data,n.storeReader=new C(n.cacheKeyRoot),n.storeWriter=new N;var r=n,i=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(p.wrap)(function(e){return i.call(n,e)},{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof E?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(o.__extends)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new d.a},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof D;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new D(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(a.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach(function(t){return e.maybeBroadcastWatch(t)})},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(h)}])]); -//# sourceMappingURL=7.cc2d92a6e6f9c67bfcde.js.map \ No newline at end of file diff --git a/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js.LICENSE b/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js.LICENSE deleted file mode 100644 index 700ad9f0a..000000000 --- a/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js.LICENSE +++ /dev/null @@ -1,109 +0,0 @@ -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** @license ISC License (c) copyright 2016 original and current authors */ - -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** -@license -Copyright (c) 2015 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/** @license ISC License (c) copyright 2017 original and current authors */ - -/** - * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ - -/** - * @fileoverview - * @suppress {checkPrototypalTypes} - * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt The complete set of authors may be found - * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may - * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by - * Google as part of the polymer project is also subject to an additional IP - * rights grant found at http://polymer.github.io/PATENTS.txt - */ - -/** @license ISC License (c) copyright 2018 original and current authors */ - -/** -@license -Copyright (c) 2017 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ - -/** -@license -Copyright (c) 2016 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt -The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt -Code distributed by Google as part of the polymer project is also -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/ - -/** -@license -Copyright (c) 2014 The Polymer Project Authors. All rights reserved. -This code may only be used under the BSD style license found at -http://polymer.github.io/LICENSE.txt The complete set of authors may be found at -http://polymer.github.io/AUTHORS.txt The complete set of contributors may be -found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as -part of the polymer project is also subject to an additional IP rights grant -found at http://polymer.github.io/PATENTS.txt -*/ diff --git a/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js.map b/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js.map deleted file mode 100644 index 72cd015ae..000000000 --- a/packages/ui/dist/7.cc2d92a6e6f9c67bfcde.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"7.cc2d92a6e6f9c67bfcde.js","sourceRoot":""} \ No newline at end of file diff --git a/packages/ui/dist/7.e14a7a1ab320814830cb.js b/packages/ui/dist/7.e14a7a1ab320814830cb.js deleted file mode 100644 index 75581f0d5..000000000 --- a/packages/ui/dist/7.e14a7a1ab320814830cb.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 7.e14a7a1ab320814830cb.js.LICENSE */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{530:function(e,t){!function(e){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var n=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(n.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var o=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||o&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||o&&"function"!=typeof window.Event){var r=window.Event;if(window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},r)for(var c in r)window.Event[c]=r[c];window.Event.prototype=r.prototype}if(!window.MouseEvent||o&&"function"!=typeof window.MouseEvent){var a=window.MouseEvent;if(window.MouseEvent=function(e,t){t=t||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),n},a)for(var c in a)window.MouseEvent[c]=a[c];window.MouseEvent.prototype=a.prototype}if(Array.from||(Array.from=function(e){return[].slice.call(e)}),!Object.assign){var i=function(e,t){for(var n,o=Object.getOwnPropertyNames(t),r=0;r\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()}(e)];if(t)for(var n=0;n"+e+"";for(E.body.innerHTML=e,y.bootstrap(E);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=E.body;if(t)for(var r=0;r"+this.innerHTML+""},set:function(e){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");E.body.innerHTML=e;for(var t=this.ownerDocument.createDocumentFragment();E.body.firstChild;)i.call(t,E.body.firstChild);l.call(this.parentNode,t,this)},configurable:!0})};M(y.prototype),T(y.prototype),y.bootstrap=function(e){for(var t,n=h(e,"template"),o=0,r=n.length;o]/g,_=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},F=function(e){return e.replace(C,_)},L=function(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&A[t.localName]?l:function(e){return e.replace(O,_)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}},P=function(e,t){"template"===e.localName&&(e=e.content);for(var n,o="",r=t?t(e):d.get.call(e),c=0,a=r.length;c\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()}(e)];if(t)for(var n=0;n"+e+"";for(E.body.innerHTML=e,y.bootstrap(E);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=E.body;if(t)for(var r=0;r"+this.innerHTML+""},set:function(e){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");E.body.innerHTML=e;for(var t=this.ownerDocument.createDocumentFragment();E.body.firstChild;)i.call(t,E.body.firstChild);l.call(this.parentNode,t,this)},configurable:!0})};M(y.prototype),T(y.prototype),y.bootstrap=function(e){for(var t,n=h(e,"template"),o=0,r=n.length;o]/g,_=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},F=function(e){return e.replace(C,_)},L=function(e){for(var t={},n=0;n";case Node.TEXT_NODE:var l=e.data;return t&&A[t.localName]?l:function(e){return e.replace(O,_)}(l);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw window.console.error(e),new Error("not implemented")}},P=function(e,t){"template"===e.localName&&(e=e.content);for(var n,o="",r=t?t(e):d.get.call(e),c=0,a=r.length;c{return class extends e{_shouldPropertyChange(e,t,n){return a(this,e,t,n,!0)}}}),c=Object(o.a)(e=>{return class extends e{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(e,t,n){return a(this,e,t,n,this.mutableData)}}});s._mutablePropertyChange=a;var l=n(301),u=n(293),p=null;function h(){return p}h.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:h,writable:!0}});var d=Object(i.a)(h),f=s(d);var v=Object(i.a)(class{});class y extends v{constructor(e){super(),this._configureProperties(e),this.root=this._stampTemplate(this.__dataHost);for(var t=this.children=[],n=this.root.firstChild;n;n=n.nextSibling)t.push(n),n.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);var r=this.__templatizeOptions;(e&&r.instanceProps||!r.instanceProps)&&this._enableProperties()}_configureProperties(e){if(this.__templatizeOptions.forwardHostProp)for(var t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(var n in e)this._setPendingProperty(n,e[n])}forwardHostProp(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(e,t,n){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(e,t,e=>{e.model=this,n(e)});else{var r=this.__dataHost.__dataHost;r&&r._addEventListenerToNode(e,t,n)}}_showHideChildren(e){for(var t=this.children,n=0;n can only be templatized once");e.__templatizeOwner=t;var r=(t?t.constructor:y)._parseTemplate(e),i=r.templatizeInstanceClass;i||(i=_(e,r,n),r.templatizeInstanceClass=i),g(e,r,n);var o=class extends i{};return o.prototype._methodHost=b(e),o.prototype.__dataHost=e,o.prototype.__templatizeOwner=t,o.prototype.__hostProps=r.hostProps,o=o}function E(e,t){for(var n;t;)if(n=t.__templatizeInstance){if(n.__dataHost==e)return n;t=n.__dataHost}else t=Object(u.a)(t).parentNode;return null}var S=n(440),C=Object(S.a)(c(Object(i.a)(HTMLElement)));customElements.define("dom-bind",class extends C{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),l.f)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(){this.mutableData=!0}connectedCallback(){this.style.display="none",this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){Object(u.a)(Object(u.a)(this).parentNode).insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(var e=0;e{if(!(e=this.querySelector("template")))throw new Error("dom-bind requires a