Remove bower

- Build webcomponents from node_modules
- Remove `refresh-bower` gulp task
- Update closure to latest
This commit is contained in:
Daniel Freedman
2017-08-14 14:46:17 -07:00
parent d5b7ca6514
commit 862f0b62f3
24 changed files with 1925 additions and 2012 deletions

View File

@@ -19,13 +19,6 @@
"license": "BSD-3-Clause",
"ignore": [],
"devDependencies": {
"web-component-tester": "^v6.0.0",
"custom-elements": "webcomponents/custom-elements#^v1.0.0",
"es6-promise": "stefanpenner/es6-promise#^4.0.0",
"html-imports": "webcomponents/html-imports#^v1.0.0",
"shadydom": "webcomponents/shadydom#^v1.0.0",
"shadycss": "webcomponents/shadycss#^v1.0.0",
"template": "webcomponents/template#^v1.0.0",
"webcomponents-platform": "webcomponents/webcomponents-platform#^v1.0.0"
"web-component-tester": "^v6.0.0"
}
}

View File

@@ -13,4 +13,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* Polyfills loaded: Custom Elements ES5 Shim
*/
import '../bower_components/custom-elements/src/native-shim.js'
import '../node_modules/@webcomponents/custom-elements/src/native-shim.js';

View File

@@ -14,8 +14,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* Used in: Safari 10, Firefox once SD is shipped
*/
import '../bower_components/html-imports/src/html-imports.js'
import '../bower_components/custom-elements/src/custom-elements.js'
import '../node_modules/@webcomponents/html-imports/src/html-imports.js';
import '../node_modules/@webcomponents/custom-elements/src/custom-elements.js';
import '../src/post-polyfill.js'
import '../src/unresolved.js'
import '../src/post-polyfill.js';
import '../src/unresolved.js';

View File

@@ -14,7 +14,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* Used in: Safari Tech Preview
*/
import '../bower_components/html-imports/src/html-imports.js'
import '../node_modules/@webcomponents/html-imports/src/html-imports.js';
import '../src/post-polyfill.js'
import '../src/unresolved.js'
import '../src/post-polyfill.js';
import '../src/unresolved.js';

View File

@@ -14,9 +14,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* Used in: Safari 9, Firefox, Edge
*/
import '../bower_components/html-imports/src/html-imports.js'
import '../bower_components/shadydom/src/shadydom.js'
import '../bower_components/custom-elements/src/custom-elements.js'
import '../bower_components/shadycss/entrypoints/scoping-shim.js'
import '../src/post-polyfill.js'
import '../src/unresolved.js'
import '../node_modules/@webcomponents/html-imports/src/html-imports.js';
import '../node_modules/@webcomponents/shadydom/src/shadydom.js';
import '../node_modules/@webcomponents/custom-elements/src/custom-elements.js';
import '../node_modules/@webcomponents/shadycss/entrypoints/scoping-shim.js';
import '../src/post-polyfill.js';
import '../src/unresolved.js';

View File

@@ -14,13 +14,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* Used in: IE 11
*/
import '../bower_components/webcomponents-platform/webcomponents-platform.js'
import '../bower_components/template/template.js'
import '../bower_components/es6-promise/dist/es6-promise.auto.min.js'
import '../bower_components/html-imports/src/html-imports.js'
import '../src/pre-polyfill.js'
import '../bower_components/shadydom/src/shadydom.js'
import '../bower_components/custom-elements/src/custom-elements.js'
import '../bower_components/shadycss/entrypoints/scoping-shim.js'
import '../src/post-polyfill.js'
import '../src/unresolved.js'
import '../node_modules/@webcomponents/webcomponents-platform/webcomponents-platform.js';
import '../node_modules/@webcomponents/template/template.js';
import '../node_modules/es6-promise/lib/es6-promise.auto.js';
import '../node_modules/@webcomponents/html-imports/src/html-imports.js';
import '../src/pre-polyfill.js';
import '../node_modules/@webcomponents/shadydom/src/shadydom.js';
import '../node_modules/@webcomponents/custom-elements/src/custom-elements.js';
import '../node_modules/@webcomponents/shadycss/entrypoints/scoping-shim.js';
import '../src/post-polyfill.js';
import '../src/unresolved.js';

View File

@@ -14,32 +14,29 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* Used in: Safari 9, Firefox, Edge
*/
import '../bower_components/shadydom/src/shadydom.js'
import '../bower_components/custom-elements/src/custom-elements.js'
import '../bower_components/shadycss/entrypoints/scoping-shim.js'
import '../node_modules/@webcomponents/shadydom/src/shadydom.js';
import '../node_modules/@webcomponents/custom-elements/src/custom-elements.js';
import '../node_modules/@webcomponents/shadycss/entrypoints/scoping-shim.js';
// NOTE: this is a load-bearing IIFE for Closure
(function() {
let document = window.document;
// global for (1) existence means `WebComponentsReady` will file,
// (2) WebComponents.ready == true means event has fired.
window.WebComponents = window.WebComponents || {};
let document = window.document;
// global for (1) existence means `WebComponentsReady` will file,
// (2) WebComponents.ready == true means event has fired.
window.WebComponents = window.WebComponents || {};
function fire() {
requestAnimationFrame(() => {
window.WebComponents.ready = true;
window.document.dispatchEvent(new CustomEvent('WebComponentsReady', { bubbles: true }));
})
}
function fire() {
requestAnimationFrame(() => {
window.WebComponents.ready = true;
window.document.dispatchEvent(new CustomEvent('WebComponentsReady', { bubbles: true }));
})
}
function wait() {
fire();
document.removeEventListener('readystatechange', wait);
}
function wait() {
fire();
document.removeEventListener('readystatechange', wait);
}
if (document.readyState !== 'loading') {
fire();
} else {
document.addEventListener('readystatechange', wait);
}
})();
if (document.readyState !== 'loading') {
fire();
} else {
document.addEventListener('readystatechange', wait);
}

View File

@@ -20,7 +20,6 @@ const rename = require('gulp-rename');
const rollup = require('rollup-stream');
const source = require('vinyl-source-stream');
const del = require('del');
const bower = require('bower');
const runseq = require('run-sequence');
const closure = require('google-closure-compiler').gulp();
const babel = require('rollup-plugin-babel');
@@ -60,10 +59,10 @@ function closurify(sourceName, fileName) {
rewrite_polyfills: false,
externs: [
'externs/webcomponents.js',
'bower_components/custom-elements/externs/custom-elements.js',
'bower_components/html-imports/externs/html-imports.js',
'bower_components/shadycss/externs/shadycss-externs.js',
'bower_components/shadydom/externs/shadydom.js'
'node_modules/@webcomponents/custom-elements/externs/custom-elements.js',
'node_modules/@webcomponents/html-imports/externs/html-imports.js',
'node_modules/@webcomponents/shadycss/externs/shadycss-externs.js',
'node_modules/@webcomponents/shadydom/externs/shadydom.js'
]
};
@@ -138,7 +137,7 @@ function singleLicenseComment() {
}
const babelOptions = {
presets: 'babili',
presets: 'minify',
shouldPrintComment: singleLicenseComment()
};
@@ -146,17 +145,7 @@ gulp.task('debugify-ce-es5-adapter', () => {
return debugify('custom-elements-es5-adapter', '', {plugins: [babel(babelOptions)]});
});
gulp.task('refresh-bower', () => {
return del('bower_components').then(() => {
return new Promise((resolve, reject) => {
bower.commands.install().on('end', () => resolve()).on('error', (e) => reject(e));
});
});
});
gulp.task('default', (cb) => {
runseq('refresh-bower', 'closure', cb);
});
gulp.task('default', ['closure']);
gulp.task('clean-builds', () => {
return del(['custom-elements-es5-adapter.js{,.map}', 'webcomponents*.js{,.map}', '!webcomponents-loader.js']);

View File

@@ -33,12 +33,11 @@
"@webcomponents/shadydom": "^1.0.0",
"@webcomponents/template": "^1.0.0",
"@webcomponents/webcomponents-platform": "^1.0.0",
"babel-preset-babili": "^0.1.4",
"bower": "^1.8.0",
"babel-preset-minify": "^0.2.0",
"del": "^3.0.0",
"es6-promise": "^4.1.1",
"eslint": "^3.16.1",
"google-closure-compiler": "^20170626.0.0",
"eslint": "^4.4.1",
"google-closure-compiler": "^20170806.0.0",
"gulp": "^3.8.8",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^2.4.1",

View File

@@ -8,54 +8,50 @@
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
(function() {
'use strict';
'use strict';
let customElements = window['customElements'];
let HTMLImports = window['HTMLImports'];
// global for (1) existence means `WebComponentsReady` will file,
// (2) WebComponents.ready == true means event has fired.
window.WebComponents = window.WebComponents || {};
var customElements = window['customElements'];
var HTMLImports = window['HTMLImports'];
// global for (1) existence means `WebComponentsReady` will file,
// (2) WebComponents.ready == true means event has fired.
window.WebComponents = window.WebComponents || {};
if (customElements && customElements['polyfillWrapFlushCallback']) {
// Here we ensure that the public `HTMLImports.whenReady`
// always comes *after* custom elements have upgraded.
var flushCallback;
var runAndClearCallback = function runAndClearCallback() {
if (flushCallback) {
var cb = flushCallback;
flushCallback = null;
cb();
return true;
}
if (customElements && customElements['polyfillWrapFlushCallback']) {
// Here we ensure that the public `HTMLImports.whenReady`
// always comes *after* custom elements have upgraded.
let flushCallback;
let runAndClearCallback = function runAndClearCallback() {
if (flushCallback) {
let cb = flushCallback;
flushCallback = null;
cb();
return true;
}
var origWhenReady = HTMLImports['whenReady'];
customElements['polyfillWrapFlushCallback'](function(cb) {
flushCallback = cb;
origWhenReady(runAndClearCallback);
});
HTMLImports['whenReady'] = function(cb) {
origWhenReady(function() {
// custom element code may add dynamic imports
// to match processing of native custom elements before
// domContentLoaded, we wait for these imports to resolve first.
if (runAndClearCallback()) {
HTMLImports['whenReady'](cb);
} else {
cb();
}
});
}
}
HTMLImports['whenReady'](function() {
requestAnimationFrame(function() {
window.WebComponents.ready = true;
document.dispatchEvent(new CustomEvent('WebComponentsReady', {bubbles: true}));
});
let origWhenReady = HTMLImports['whenReady'];
customElements['polyfillWrapFlushCallback'](function(cb) {
flushCallback = cb;
origWhenReady(runAndClearCallback);
});
})();
HTMLImports['whenReady'] = function(cb) {
origWhenReady(function() {
// custom element code may add dynamic imports
// to match processing of native custom elements before
// domContentLoaded, we wait for these imports to resolve first.
if (runAndClearCallback()) {
HTMLImports['whenReady'](cb);
} else {
cb();
}
});
}
}
HTMLImports['whenReady'](function() {
requestAnimationFrame(function() {
window.WebComponents.ready = true;
document.dispatchEvent(new CustomEvent('WebComponentsReady', {bubbles: true}));
});
});

View File

@@ -8,60 +8,56 @@
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
(function() {
'use strict';
'use strict';
// Establish scope.
window['WebComponents'] = window['WebComponents'] || {'flags':{}};
// Establish scope.
window['WebComponents'] = window['WebComponents'] || {'flags':{}};
// loading script
let file = 'webcomponents-lite.js';
let script = document.querySelector('script[src*="' + file + '"]');
let flagMatcher = /wc-(.+)/;
// loading script
var file = 'webcomponents-lite.js';
var script = document.querySelector('script[src*="' + file + '"]');
var flagMatcher = /wc-(.+)/;
// Flags. Convert url arguments to flags
var flags = {};
if (!flags['noOpts']) {
// from url
location.search.slice(1).split('&').forEach(function(option) {
var parts = option.split('=');
var match;
if (parts[0] && (match = parts[0].match(flagMatcher))) {
flags[match[1]] = parts[1] || true;
// Flags. Convert url arguments to flags
let flags = {};
if (!flags['noOpts']) {
// from url
location.search.slice(1).split('&').forEach(function(option) {
let parts = option.split('=');
let match;
if (parts[0] && (match = parts[0].match(flagMatcher))) {
flags[match[1]] = parts[1] || true;
}
});
// from script
if (script) {
for (let i=0, a; (a=script.attributes[i]); i++) {
if (a.name !== 'src') {
flags[a.name] = a.value || true;
}
}
}
// log flags
if (flags['log'] && flags['log']['split']) {
let parts = flags['log'].split(',');
flags['log'] = {};
parts.forEach(function(f) {
flags['log'][f] = true;
});
// from script
if (script) {
for (var i=0, a; (a=script.attributes[i]); i++) {
if (a.name !== 'src') {
flags[a.name] = a.value || true;
}
}
}
// log flags
if (flags['log'] && flags['log']['split']) {
var parts = flags['log'].split(',');
flags['log'] = {};
parts.forEach(function(f) {
flags['log'][f] = true;
});
} else {
flags['log'] = {};
}
} else {
flags['log'] = {};
}
}
// exports
window['WebComponents']['flags'] = flags;
var forceShady = flags['shadydom'];
if (forceShady) {
window['ShadyDOM'] = window['ShadyDOM'] || {};
window['ShadyDOM']['force'] = forceShady;
}
// exports
window['WebComponents']['flags'] = flags;
let forceShady = flags['shadydom'];
if (forceShady) {
window['ShadyDOM'] = window['ShadyDOM'] || {};
window['ShadyDOM']['force'] = forceShady;
}
var forceCE = flags['register'] || flags['ce'];
if (forceCE && window['customElements']) {
window['customElements']['forcePolyfill'] = forceCE;
}
})();
let forceCE = flags['register'] || flags['ce'];
if (forceCE && window['customElements']) {
window['customElements']['forcePolyfill'] = forceCE;
}

View File

@@ -8,27 +8,24 @@
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
(function() {
'use strict';
// It's desireable to provide a default stylesheet
// that's convenient for styling unresolved elements, but
// it's cumbersome to have to include this manually in every page.
// It would make sense to put inside some HTMLImport but
// the HTMLImports polyfill does not allow loading of stylesheets
// that block rendering. Therefore this injection is tolerated here.
//
// NOTE: position: relative fixes IE's failure to inherit opacity
// when a child is not statically positioned.
var style = document.createElement('style');
style.textContent = ''
+ 'body {'
+ 'transition: opacity ease-in 0.2s;'
+ ' } \n'
+ 'body[unresolved] {'
+ 'opacity: 0; display: block; overflow: hidden; position: relative;'
+ ' } \n'
;
var head = document.querySelector('head');
head.insertBefore(style, head.firstChild);
})();
'use strict';
// It's desireable to provide a default stylesheet
// that's convenient for styling unresolved elements, but
// it's cumbersome to have to include this manually in every page.
// It would make sense to put inside some HTMLImport but
// the HTMLImports polyfill does not allow loading of stylesheets
// that block rendering. Therefore this injection is tolerated here.
//
// NOTE: position: relative fixes IE's failure to inherit opacity
// when a child is not statically positioned.
let style = document.createElement('style');
style.textContent = ''
+ 'body {'
+ 'transition: opacity ease-in 0.2s;'
+ ' } \n'
+ 'body[unresolved] {'
+ 'opacity: 0; display: block; overflow: hidden; position: relative;'
+ ' } \n'
;
let head = document.querySelector('head');
head.insertBefore(style, head.firstChild);

View File

@@ -11,8 +11,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<html>
<head>
<title>Template with HTMLImports Test</title>
<script src="../../template/template.js"></script>
<script src="../../custom-elements/custom-elements.min.js"></script>
<script src="../node_modules/@webcomponents/template/template.js"></script>
<script src="../node_modules/@webcomponents/custom-elements/custom-elements.min.js"></script>
<script src="../../web-component-tester/browser.js"></script>
</head>
<body>

View File

@@ -21,49 +21,48 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
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
*/
'use strict';(function(){function T(b){function a(a,e){Object.defineProperty(a,"innerHTML",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(a){var f=this,d=void 0;g(this)&&(d=[],r(this,function(b){b!==f&&d.push(b)}));e.set.call(this,a);if(d)for(var c=0;c<d.length;c++){var k=d[c];1===k.__CE_state&&b.disconnectedCallback(k)}this.ownerDocument.__CE_hasRegistry?b.f(this):b.l(this);return a}})}function d(a,e){l(a,"insertAdjacentElement",function(a,f){var d=g(f);a=e.call(this,a,f);d&&b.a(f);
g(a)&&b.b(f);return a})}F?l(Element.prototype,"attachShadow",function(b){return this.__CE_shadowRoot=b=F.call(this,b)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(v&&v.get)a(Element.prototype,v);else if(u&&u.get)a(HTMLElement.prototype,u);else{var c=w.call(document,"div");b.s(function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return G.call(this,!0).innerHTML},set:function(b){var a="template"===this.localName?this.content:this;for(c.innerHTML=b;0<a.childNodes.length;)A.call(a,
a.childNodes[0]);for(;0<c.childNodes.length;)x.call(a,c.childNodes[0])}})})}l(Element.prototype,"setAttribute",function(a,e){if(1!==this.__CE_state)return H.call(this,a,e);var f=B.call(this,a);H.call(this,a,e);e=B.call(this,a);b.attributeChangedCallback(this,a,f,e,null)});l(Element.prototype,"setAttributeNS",function(a,e,d){if(1!==this.__CE_state)return I.call(this,a,e,d);var f=y.call(this,a,e);I.call(this,a,e,d);d=y.call(this,a,e);b.attributeChangedCallback(this,e,f,d,a)});l(Element.prototype,"removeAttribute",
function(a){if(1!==this.__CE_state)return J.call(this,a);var d=B.call(this,a);J.call(this,a);null!==d&&b.attributeChangedCallback(this,a,d,null,null)});l(Element.prototype,"removeAttributeNS",function(a,d){if(1!==this.__CE_state)return K.call(this,a,d);var f=y.call(this,a,d);K.call(this,a,d);var e=y.call(this,a,d);f!==e&&b.attributeChangedCallback(this,d,f,e,a)});L?d(HTMLElement.prototype,L):M?d(Element.prototype,M):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");
N(b,Element.prototype,{B:U,append:V});W(b,{I:X,H:Y,K:Z,remove:aa})}function W(b,a){var d=Element.prototype;d.before=function(d){for(var f=[],e=0;e<arguments.length;++e)f[e-0]=arguments[e];e=f.filter(function(b){return b instanceof Node&&g(b)});a.I.apply(this,f);for(var c=0;c<e.length;c++)b.a(e[c]);if(g(this))for(e=0;e<f.length;e++)c=f[e],c instanceof Element&&b.b(c)};d.after=function(d){for(var f=[],e=0;e<arguments.length;++e)f[e-0]=arguments[e];e=f.filter(function(b){return b instanceof Node&&g(b)});
a.H.apply(this,f);for(var c=0;c<e.length;c++)b.a(e[c]);if(g(this))for(e=0;e<f.length;e++)c=f[e],c instanceof Element&&b.b(c)};d.replaceWith=function(d){for(var f=[],e=0;e<arguments.length;++e)f[e-0]=arguments[e];e=f.filter(function(b){return b instanceof Node&&g(b)});var c=g(this);a.K.apply(this,f);for(var t=0;t<e.length;t++)b.a(e[t]);if(c)for(b.a(this),e=0;e<f.length;e++)c=f[e],c instanceof Element&&b.b(c)};d.remove=function(){var d=g(this);a.remove.call(this);d&&b.a(this)}}function ba(b){function a(a,
c){Object.defineProperty(a,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,a);else{var d=void 0;if(this.firstChild){var f=this.childNodes,t=f.length;if(0<t&&g(this)){d=Array(t);for(var m=0;m<t;m++)d[m]=f[m]}}c.set.call(this,a);if(d)for(a=0;a<d.length;a++)b.a(d[a])}}})}l(Node.prototype,"insertBefore",function(a,c){if(a instanceof DocumentFragment){var d=Array.prototype.slice.apply(a.childNodes);a=O.call(this,a,c);if(g(this))for(c=
0;c<d.length;c++)b.b(d[c]);return a}d=g(a);c=O.call(this,a,c);d&&b.a(a);g(this)&&b.b(a);return c});l(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var d=Array.prototype.slice.apply(a.childNodes);a=x.call(this,a);if(g(this))for(var f=0;f<d.length;f++)b.b(d[f]);return a}d=g(a);f=x.call(this,a);d&&b.a(a);g(this)&&b.b(a);return f});l(Node.prototype,"cloneNode",function(a){a=G.call(this,a);this.ownerDocument.__CE_hasRegistry?b.f(a):b.l(a);return a});l(Node.prototype,"removeChild",
function(a){var d=g(a),f=A.call(this,a);d&&b.a(a);return f});l(Node.prototype,"replaceChild",function(a,c){if(a instanceof DocumentFragment){var d=Array.prototype.slice.apply(a.childNodes);a=P.call(this,a,c);if(g(this))for(b.a(c),c=0;c<d.length;c++)b.b(d[c]);return a}d=g(a);var e=P.call(this,a,c),k=g(this);k&&b.a(c);d&&b.a(a);k&&b.b(a);return e});C&&C.get?a(Node.prototype,C):b.s(function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);
return a.join("")},set:function(a){for(;this.firstChild;)A.call(this,this.firstChild);x.call(this,document.createTextNode(a))}})})}function ca(b){l(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var d=b.c(a);if(d)return new d.constructor}a=w.call(this,a);b.g(a);return a});l(Document.prototype,"importNode",function(a,d){a=da.call(this,a,d);this.__CE_hasRegistry?b.f(a):b.l(a);return a});l(Document.prototype,"createElementNS",function(a,d){if(this.__CE_hasRegistry&&(null===
a||"http://www.w3.org/1999/xhtml"===a)){var c=b.c(d);if(c)return new c.constructor}a=ea.call(this,a,d);b.g(a);return a});N(b,Document.prototype,{B:fa,append:ha})}function N(b,a,d){a.prepend=function(a){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];e=c.filter(function(a){return a instanceof Node&&g(a)});d.B.apply(this,c);for(var k=0;k<e.length;k++)b.a(e[k]);if(g(this))for(e=0;e<c.length;e++)k=c[e],k instanceof Element&&b.b(k)};a.append=function(a){for(var c=[],e=0;e<arguments.length;++e)c[e-
0]=arguments[e];e=c.filter(function(a){return a instanceof Node&&g(a)});d.append.apply(this,c);for(var k=0;k<e.length;k++)b.a(e[k]);if(g(this))for(e=0;e<c.length;e++)k=c[e],k instanceof Element&&b.b(k)}}function ia(b){window.HTMLElement=function(){function a(){var a=this.constructor,c=b.L(a);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var f=c.constructionStack;if(!f.length)return f=w.call(document,c.localName),Object.setPrototypeOf(f,a.prototype),
f.__CE_state=1,f.__CE_definition=c,b.g(f),f;c=f.length-1;var e=f[c];if(e===Q)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");f[c]=Q;Object.setPrototypeOf(e,a.prototype);b.g(e);return e}a.prototype=ja.prototype;return a}()}function h(b){this.c=!1;this.a=b;this.h=new Map;this.f=function(a){return a()};this.b=!1;this.g=[];this.i=new D(b,document)}function R(){var b=this;this.b=this.a=void 0;this.f=new Promise(function(a){b.b=a;b.a&&
a(b.a)})}function D(b,a){this.c=b;this.a=a;this.b=void 0;this.c.f(this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.g.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function n(){this.o=new Map;this.m=new Map;this.j=[];this.h=!1}function S(b){var a=ka.has(b);b=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(b);return!a&&b}function g(b){var a=b.isConnected;if(void 0!==a)return a;for(;b&&!(b.__CE_isImportDocument||b instanceof Document);)b=b.parentNode||(window.ShadowRoot&&
b instanceof ShadowRoot?b.host:void 0);return!(!b||!(b.__CE_isImportDocument||b instanceof Document))}function E(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null}function r(b,a,d){d=d?d:new Set;for(var c=b;c;){if(c.nodeType===Node.ELEMENT_NODE){var f=c;a(f);var e=f.localName;if("link"===e&&"import"===f.getAttribute("rel")){c=f.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)r(c,a,d);c=E(b,f);continue}else if("template"===e){c=
E(b,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)r(f,a,d)}c=c.firstChild?c.firstChild:E(b,c)}}function l(b,a,d){b[a]=d}(function(b){function a(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function d(a){if(l)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=
b.closest("link[rel=import]");else for(;!g(b)&&(b=b.parentNode););a.__importDoc=b}return b}function c(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;c?h(b,function(b){return k(b,function(){--c||a()})}):a()}function f(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function e(a){f(function(){return c(function(){return a&&a()})})}function k(a,
b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);u&&"style"===a.localName||a.addEventListener("error",c)}}function g(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function m(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.l(b)});this.f.observe(document.head,
{childList:!0,subtree:!0});this.c(document)}function h(a,b,c){var d=a?a.length:0,e=c?-1:1;for(c=c?d-1:0;c<d&&0<=c;c+=e)b(a[c],c)}var l="import"in document.createElement("link"),n=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return n||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var q=/(^\/)|(^#)|(^[\w-\d]*:)/,r=/(url\()([^)]*)(\))/g,x=/(@import[\s]+(?!url\())([^;]*)(;)/g,y=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,
p={J:function(a,b){a.href&&a.setAttribute("href",p.v(a.getAttribute("href"),b));a.src&&a.setAttribute("src",p.v(a.getAttribute("src"),b));if("style"===a.localName){var c=p.C(a.textContent,b,r);a.textContent=p.C(c,b,x)}},C:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=p.D(a,b));return c+"'"+a+"'"+e})},v:function(a,b){return a&&q.test(a)?a:p.D(a,b)},D:function(a,b){if(void 0===p.u){p.u=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";p.u="http://a/c%20d"===
c.href}catch(ma){}}if(p.u)return(new URL(a,b)).href;c=p.G;c||(c=document.implementation.createHTMLDocument("temp"),p.G=c,c.A=c.createElement("base"),c.head.appendChild(c.A),c.w=c.createElement("a"));c.A.href=b;c.w.href=a;return c.w.href||a}},v={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1];d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,v.async);e.onload=function(){var a=e.responseURL||e.getResponseHeader("Location");
a&&!a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},u=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);m.prototype.c=function(a){var b=this;h(a.querySelectorAll("link[rel=import]"),function(a){return b.h(a)})};m.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];
d&&d.__loaded&&(a.import=d,this.g(a))}else this.b++,this.a[c]="pending",v.load(c,function(a,d){a=b.m(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};m.prototype.m=function(a,b){if(!a)return document.createDocumentFragment();u&&(a=a.replace(y,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);
if(c=a.querySelector("base"))b=p.v(c.getAttribute("href"),b),c.removeAttribute("href");var d=0;h(a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),function(a){k(a);p.J(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+
encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),a.textContent="",d++)});return a};m.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.s(function(){c=!0;d()});this.o(function(){b=!0;d()})}};m.prototype.flatten=function(a){var b=this;h(a.querySelectorAll("link[rel=import]"),function(a){var c=b.a[a.href];(a.import=
c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.import=a,b.flatten(c),a.appendChild(c))})};m.prototype.o=function(a){function b(e){if(e<d){var f=c[e],g=document.createElement("script");f.removeAttribute("import-dependency");h(f.attributes,function(a){return g.setAttribute(a.name,a.value)});n=g;f.parentNode.replaceChild(g,f);k(g,function(){n=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};m.prototype.s=function(a){var b=
document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),c=b.length;if(c){var e=u&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");h(b,function(b){k(b,function(){b.removeAttribute("import-dependency");--c||a()});if(e&&b.parentNode!==document.head){var f=document.createElement(b.localName);f.__appliedElement=b;f.setAttribute("type","import-placeholder");b.parentNode.insertBefore(f,b.nextSibling);for(f=d(b);f&&d(f);)f=d(f);f.parentNode!==
document.head&&(f=null);document.head.insertBefore(b,f);b.removeAttribute("type")}})}else a()};m.prototype.j=function(){var a=this;h(document.querySelectorAll("link[rel=import]"),function(b){return a.g(b)},!0)};m.prototype.g=function(b){b.__loaded||(b.__loaded=!0,b.import&&(b.import.readyState="complete"),b.dispatchEvent(a(b.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};m.prototype.l=function(a){var b=this;h(a,function(a){return h(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&
(g(a)?b.h(a):b.c(a))})})};if(l){h(document.querySelectorAll("link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});var w=function(a){a=a.target;g(a)&&(a.__loaded=!0)};document.addEventListener("load",w,!0);document.addEventListener("error",w,!0)}else{var z=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!z||z.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=g(this)?this:d(this);return a?a.href:z&&z.get?z.get.call(this):
(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});f(function(){return new m})}e(function(){return document.dispatchEvent(a("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});b.useNative=l;b.whenReady=e;b.importForElement=d})(window.HTMLImports=window.HTMLImports||{});var ka=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));n.prototype.M=function(b,a){this.o.set(b,
a);this.m.set(a.constructor,a)};n.prototype.c=function(b){return this.o.get(b)};n.prototype.L=function(b){return this.m.get(b)};n.prototype.s=function(b){this.h=!0;this.j.push(b)};n.prototype.l=function(b){var a=this;this.h&&r(b,function(b){return a.g(b)})};n.prototype.g=function(b){if(this.h&&!b.__CE_patched){b.__CE_patched=!0;for(var a=0;a<this.j.length;a++)this.j[a](b)}};n.prototype.b=function(b){var a=[];r(b,function(b){return a.push(b)});for(b=0;b<a.length;b++){var d=a[b];1===d.__CE_state?this.connectedCallback(d):
this.i(d)}};n.prototype.a=function(b){var a=[];r(b,function(b){return a.push(b)});for(b=0;b<a.length;b++){var d=a[b];1===d.__CE_state&&this.disconnectedCallback(d)}};n.prototype.f=function(b,a){var d=this;a=a?a:{};var c=a.N||new Set,f=a.F||function(a){return d.i(a)},e=[];r(b,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var b=a.import;b instanceof Node&&"complete"===b.readyState?(b.__CE_isImportDocument=!0,b.__CE_hasRegistry=!0):a.addEventListener("load",function(){var b=
a.import;b.__CE_documentLoadHandled||(b.__CE_documentLoadHandled=!0,b.__CE_isImportDocument=!0,b.__CE_hasRegistry=!0,c.delete(b),d.f(b,{N:c,F:f}))})}else e.push(a)},c);if(this.h)for(b=0;b<e.length;b++)this.g(e[b]);for(b=0;b<e.length;b++)f(e[b])};n.prototype.i=function(b){if(void 0===b.__CE_state){var a=this.c(b.localName);if(a){a.constructionStack.push(b);var d=a.constructor;try{try{if(new d!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{a.constructionStack.pop()}}catch(e){throw b.__CE_state=
2,e;}b.__CE_state=1;b.__CE_definition=a;if(a.attributeChangedCallback)for(a=a.observedAttributes,d=0;d<a.length;d++){var c=a[d],f=b.getAttribute(c);null!==f&&this.attributeChangedCallback(b,c,null,f,null)}g(b)&&this.connectedCallback(b)}}};n.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};n.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)};n.prototype.attributeChangedCallback=
function(b,a,d,c,f){var e=b.__CE_definition;e.attributeChangedCallback&&-1<e.observedAttributes.indexOf(a)&&e.attributeChangedCallback.call(b,a,d,c,f)};D.prototype.f=function(){this.b&&this.b.disconnect()};D.prototype.g=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||this.f();for(a=0;a<b.length;a++)for(var d=b[a].addedNodes,c=0;c<d.length;c++)this.c.f(d[c])};R.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};h.prototype.define=
function(b,a){var d=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!S(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(this.a.c(b))throw Error("A custom element with name '"+b+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var c=function(a){var b=f[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},
f=a.prototype;if(!(f instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var e=c("connectedCallback");var g=c("disconnectedCallback");var h=c("adoptedCallback");var m=c("attributeChangedCallback");var l=a.observedAttributes||[]}catch(la){return}finally{this.c=!1}a={localName:b,constructor:a,connectedCallback:e,disconnectedCallback:g,adoptedCallback:h,attributeChangedCallback:m,observedAttributes:l,constructionStack:[]};this.a.M(b,a);this.g.push(a);
this.b||(this.b=!0,this.f(function(){return d.j()}))};h.prototype.j=function(){var b=this;if(!1!==this.b){this.b=!1;for(var a=this.g,d=[],c=new Map,f=0;f<a.length;f++)c.set(a[f].localName,[]);this.a.f(document,{F:function(a){if(void 0===a.__CE_state){var e=a.localName,f=c.get(e);f?f.push(a):b.a.c(e)&&d.push(a)}}});for(f=0;f<d.length;f++)this.a.i(d[f]);for(;0<a.length;){var e=a.shift();f=e.localName;e=c.get(e.localName);for(var g=0;g<e.length;g++)this.a.i(e[g]);(f=this.h.get(f))&&f.c()}}};h.prototype.get=
function(b){if(b=this.a.c(b))return b.constructor};h.prototype.whenDefined=function(b){if(!S(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.h.get(b);if(a)return a.f;a=new R;this.h.set(b,a);this.a.c(b)&&!this.g.some(function(a){return a.localName===b})&&a.c();return a.f};h.prototype.l=function(b){this.i.f();var a=this.f;this.f=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=h;h.prototype.define=h.prototype.define;h.prototype.get=
h.prototype.get;h.prototype.whenDefined=h.prototype.whenDefined;h.prototype.polyfillWrapFlushCallback=h.prototype.l;var w=window.Document.prototype.createElement,ea=window.Document.prototype.createElementNS,da=window.Document.prototype.importNode,fa=window.Document.prototype.prepend,ha=window.Document.prototype.append,G=window.Node.prototype.cloneNode,x=window.Node.prototype.appendChild,O=window.Node.prototype.insertBefore,A=window.Node.prototype.removeChild,P=window.Node.prototype.replaceChild,C=
Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),F=window.Element.prototype.attachShadow,v=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),B=window.Element.prototype.getAttribute,H=window.Element.prototype.setAttribute,J=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,I=window.Element.prototype.setAttributeNS,K=window.Element.prototype.removeAttributeNS,M=window.Element.prototype.insertAdjacentElement,U=window.Element.prototype.prepend,
V=window.Element.prototype.append,X=window.Element.prototype.before,Y=window.Element.prototype.after,Z=window.Element.prototype.replaceWith,aa=window.Element.prototype.remove,ja=window.HTMLElement,u=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),L=window.HTMLElement.prototype.insertAdjacentElement,Q=new function(){},q=window.customElements;if(!q||q.forcePolyfill||"function"!=typeof q.define||"function"!=typeof q.get)q=new n,ia(q),ca(q),ba(q),T(q),document.__CE_hasRegistry=
!0,q=new h(q),Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:q});(function(){var b=window.customElements,a=window.HTMLImports;window.WebComponents=window.WebComponents||{};if(b&&b.polyfillWrapFlushCallback){var d,c=function(){if(d){var a=d;d=null;a();return!0}},f=a.whenReady;b.polyfillWrapFlushCallback(function(a){d=a;f(c)});a.whenReady=function(b){f(function(){c()?a.whenReady(b):b()})}}a.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=
!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var b=document.createElement("style");b.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var a=document.querySelector("head");a.insertBefore(b,a.firstChild)})()})();}).call(this);
'use strict';(function(){function X(b){function a(f,a){Object.defineProperty(f,"innerHTML",{enumerable:a.enumerable,configurable:!0,get:a.get,set:function(f){var e=this,d=void 0;h(this)&&(d=[],q(this,function(b){b!==e&&d.push(b)}));a.set.call(this,f);if(d)for(var c=0;c<d.length;c++){var k=d[c];1===k.__CE_state&&b.disconnectedCallback(k)}this.ownerDocument.__CE_hasRegistry?b.c(this):b.j(this);return f}})}function d(f,a){m(f,"insertAdjacentElement",function(f,e){var d=h(e);f=a.call(this,f,e);d&&b.a(e);
h(f)&&b.b(e);return f})}G?m(Element.prototype,"attachShadow",function(b){return this.__CE_shadowRoot=b=G.call(this,b)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(t&&t.get)a(Element.prototype,t);else if(v&&v.get)a(HTMLElement.prototype,v);else{var c=A.call(document,"div");b.o(function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return H.call(this,!0).innerHTML},set:function(b){var a="template"===this.localName?this.content:this;for(c.innerHTML=b;0<a.childNodes.length;)B.call(a,
a.childNodes[0]);for(;0<c.childNodes.length;)w.call(a,c.childNodes[0])}})})}m(Element.prototype,"setAttribute",function(a,e){if(1!==this.__CE_state)return I.call(this,a,e);var f=C.call(this,a);I.call(this,a,e);e=C.call(this,a);b.attributeChangedCallback(this,a,f,e,null)});m(Element.prototype,"setAttributeNS",function(a,e,d){if(1!==this.__CE_state)return J.call(this,a,e,d);var f=x.call(this,a,e);J.call(this,a,e,d);d=x.call(this,a,e);b.attributeChangedCallback(this,e,f,d,a)});m(Element.prototype,"removeAttribute",
function(a){if(1!==this.__CE_state)return K.call(this,a);var f=C.call(this,a);K.call(this,a);null!==f&&b.attributeChangedCallback(this,a,f,null,null)});m(Element.prototype,"removeAttributeNS",function(a,d){if(1!==this.__CE_state)return L.call(this,a,d);var f=x.call(this,a,d);L.call(this,a,d);var e=x.call(this,a,d);f!==e&&b.attributeChangedCallback(this,d,f,e,a)});M?d(HTMLElement.prototype,M):N?d(Element.prototype,N):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");
O(b,Element.prototype,{B:Y,append:Z});aa(b,{H:ba,G:ca,replaceWith:da,remove:ea})}function aa(b,a){var d=Element.prototype;d.before=function(d){for(var f=[],e=0;e<arguments.length;++e)f[e-0]=arguments[e];e=f.filter(function(b){return b instanceof Node&&h(b)});a.H.apply(this,f);for(var c=0;c<e.length;c++)b.a(e[c]);if(h(this))for(e=0;e<f.length;e++)c=f[e],c instanceof Element&&b.b(c)};d.after=function(d){for(var f=[],e=0;e<arguments.length;++e)f[e-0]=arguments[e];e=f.filter(function(b){return b instanceof
Node&&h(b)});a.G.apply(this,f);for(var c=0;c<e.length;c++)b.a(e[c]);if(h(this))for(e=0;e<f.length;e++)c=f[e],c instanceof Element&&b.b(c)};d.replaceWith=function(d){for(var f=[],c=0;c<arguments.length;++c)f[c-0]=arguments[c];c=f.filter(function(b){return b instanceof Node&&h(b)});var k=h(this);a.replaceWith.apply(this,f);for(var r=0;r<c.length;r++)b.a(c[r]);if(k)for(b.a(this),c=0;c<f.length;c++)k=f[c],k instanceof Element&&b.b(k)};d.remove=function(){var d=h(this);a.remove.call(this);d&&b.a(this)}}
function fa(b){function a(a,c){Object.defineProperty(a,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,a);else{var d=void 0;if(this.firstChild){var f=this.childNodes,r=f.length;if(0<r&&h(this)){d=Array(r);for(var g=0;g<r;g++)d[g]=f[g]}}c.set.call(this,a);if(d)for(a=0;a<d.length;a++)b.a(d[a])}}})}m(Node.prototype,"insertBefore",function(a,c){if(a instanceof DocumentFragment){var d=Array.prototype.slice.apply(a.childNodes);
a=P.call(this,a,c);if(h(this))for(c=0;c<d.length;c++)b.b(d[c]);return a}d=h(a);c=P.call(this,a,c);d&&b.a(a);h(this)&&b.b(a);return c});m(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=w.call(this,a);if(h(this))for(var d=0;d<c.length;d++)b.b(c[d]);return a}c=h(a);d=w.call(this,a);c&&b.a(a);h(this)&&b.b(a);return d});m(Node.prototype,"cloneNode",function(a){a=H.call(this,a);this.ownerDocument.__CE_hasRegistry?b.c(a):b.j(a);
return a});m(Node.prototype,"removeChild",function(a){var c=h(a),d=B.call(this,a);c&&b.a(a);return d});m(Node.prototype,"replaceChild",function(a,c){if(a instanceof DocumentFragment){var d=Array.prototype.slice.apply(a.childNodes);a=Q.call(this,a,c);if(h(this))for(b.a(c),c=0;c<d.length;c++)b.b(d[c]);return a}d=h(a);var e=Q.call(this,a,c),k=h(this);k&&b.a(c);d&&b.a(a);k&&b.b(a);return e});D&&D.get?a(Node.prototype,D):b.o(function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=
0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)B.call(this,this.firstChild);w.call(this,document.createTextNode(a))}})})}function ha(b){m(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var d=b.f(a);if(d)return new d.constructor}a=A.call(this,a);b.g(a);return a});m(Document.prototype,"importNode",function(a,d){a=ia.call(this,a,d);this.__CE_hasRegistry?b.c(a):b.j(a);return a});m(Document.prototype,
"createElementNS",function(a,d){if(this.__CE_hasRegistry&&(null===a||"http://www.w3.org/1999/xhtml"===a)){var c=b.f(d);if(c)return new c.constructor}a=ja.call(this,a,d);b.g(a);return a});O(b,Document.prototype,{B:ka,append:la})}function O(b,a,d){a.prepend=function(a){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];e=c.filter(function(a){return a instanceof Node&&h(a)});d.B.apply(this,c);for(var k=0;k<e.length;k++)b.a(e[k]);if(h(this))for(e=0;e<c.length;e++)k=c[e],k instanceof Element&&
b.b(k)};a.append=function(a){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];e=c.filter(function(a){return a instanceof Node&&h(a)});d.append.apply(this,c);for(var k=0;k<e.length;k++)b.a(e[k]);if(h(this))for(e=0;e<c.length;e++)k=c[e],k instanceof Element&&b.b(k)}}function ma(b){window.HTMLElement=function(){function a(){var a=this.constructor,c=b.J(a);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var f=c.constructionStack;if(0===f.length)return f=
A.call(document,c.localName),Object.setPrototypeOf(f,a.prototype),f.__CE_state=1,f.__CE_definition=c,b.g(f),f;c=f.length-1;var e=f[c];if(e===R)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");f[c]=R;Object.setPrototypeOf(e,a.prototype);b.g(e);return e}a.prototype=na.prototype;return a}()}function l(b){this.f=!1;this.a=b;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=[];this.i=new E(b,document)}function S(){var b=
this;this.b=this.a=void 0;this.f=new Promise(function(a){b.b=a;b.a&&a(b.a)})}function E(b,a){this.c=b;this.a=a;this.b=void 0;this.c.c(this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.g.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function n(){this.m=new Map;this.l=new Map;this.i=[];this.h=!1}function T(b){var a=oa.has(b);b=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(b);return!a&&b}function h(b){var a=b.isConnected;if(void 0!==a)return a;for(;b&&!(b.__CE_isImportDocument||
b instanceof Document);)b=b.parentNode||(window.ShadowRoot&&b instanceof ShadowRoot?b.host:void 0);return!(!b||!(b.__CE_isImportDocument||b instanceof Document))}function F(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null}function q(b,a,d){d=d?d:new Set;for(var c=b;c;){if(c.nodeType===Node.ELEMENT_NODE){var f=c;a(f);var e=f.localName;if("link"===e&&"import"===f.getAttribute("rel")){c=f.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)q(c,
a,d);c=F(b,f);continue}else if("template"===e){c=F(b,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)q(f,a,d)}c=c.firstChild?c.firstChild:F(b,c)}}function m(b,a,d){b[a]=d}(function(b){function a(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function d(a){if(m)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&
a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function c(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;c?l(b,function(b){return k(b,function(){0===--c&&a()})}):a()}function f(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function e(a){f(function(){return c(function(){return a&&
a()})})}function k(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);t&&"style"===a.localName||a.addEventListener("error",c)}}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function g(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.l(b)});this.f.observe(document.head,
{childList:!0,subtree:!0});this.c(document)}function l(a,b,c){var d=a?a.length:0,e=c?-1:1;for(c=c?d-1:0;c<d&&0<=c;c+=e)b(a[c],c)}var m="import"in document.createElement("link"),n=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return n||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var q=/(^\/)|(^#)|(^[\w-\d]*:)/,w=/(url\()([^)]*)(\))/g,x=/(@import[\s]+(?!url\())([^;]*)(;)/g,y=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,
p={I:function(a,b){a.href&&a.setAttribute("href",p.v(a.getAttribute("href"),b));a.src&&a.setAttribute("src",p.v(a.getAttribute("src"),b));if("style"===a.localName){var c=p.C(a.textContent,b,w);a.textContent=p.C(c,b,x)}},C:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=p.D(a,b));return c+"'"+a+"'"+e})},v:function(a,b){return a&&q.test(a)?a:p.D(a,b)},D:function(a,b){if(void 0===p.u){p.u=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";p.u="http://a/c%20d"===
c.href}catch(qa){}}if(p.u)return(new URL(a,b)).href;c=p.F;c||(c=document.implementation.createHTMLDocument("temp"),p.F=c,c.A=c.createElement("base"),c.head.appendChild(c.A),c.w=c.createElement("a"));c.A.href=b;c.w.href=a;return c.w.href||a}},u={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1];d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,u.async);e.onload=function(){var a=e.responseURL||e.getResponseHeader("Location");
a&&0===a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||0===e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},t=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);g.prototype.c=function(a){var b=this;l(a.querySelectorAll("link[rel=import]"),function(a){return b.h(a)})};g.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];
d&&d.__loaded&&(a.import=d,this.g(a))}else this.b++,this.a[c]="pending",u.load(c,function(a,d){a=b.m(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};g.prototype.m=function(a,b){if(!a)return document.createDocumentFragment();t&&(a=a.replace(y,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);
if(c=a.querySelector("base"))b=p.v(c.getAttribute("href"),b),c.removeAttribute("href");var d=0;l(a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),function(a){k(a);p.I(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+
encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),a.textContent="",d++)});return a};g.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.s(function(){c=!0;d()});this.o(function(){b=!0;d()})}};g.prototype.flatten=function(a){var b=this;l(a.querySelectorAll("link[rel=import]"),function(a){var c=b.a[a.href];(a.import=
c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.import=a,b.flatten(c),a.appendChild(c))})};g.prototype.o=function(a){function b(e){if(e<d){var f=c[e],g=document.createElement("script");f.removeAttribute("import-dependency");l(f.attributes,function(a){return g.setAttribute(a.name,a.value)});n=g;f.parentNode.replaceChild(g,f);k(g,function(){n=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};g.prototype.s=function(a){var b=
document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),c=b.length;if(c){var e=t&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");l(b,function(b){k(b,function(){b.removeAttribute("import-dependency");0===--c&&a()});if(e&&b.parentNode!==document.head){var f=document.createElement(b.localName);f.__appliedElement=b;f.setAttribute("type","import-placeholder");b.parentNode.insertBefore(f,b.nextSibling);for(f=d(b);f&&d(f);)f=d(f);f.parentNode!==
document.head&&(f=null);document.head.insertBefore(b,f);b.removeAttribute("type")}})}else a()};g.prototype.j=function(){var a=this;l(document.querySelectorAll("link[rel=import]"),function(b){return a.g(b)},!0)};g.prototype.g=function(b){b.__loaded||(b.__loaded=!0,b.import&&(b.import.readyState="complete"),b.dispatchEvent(a(b.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};g.prototype.l=function(a){var b=this;l(a,function(a){return l(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&
(h(a)?b.h(a):b.c(a))})})};if(m){l(document.querySelectorAll("link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});var v=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",v,!0);document.addEventListener("error",v,!0)}else{var z=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!z||z.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:d(this);return a?a.href:z&&z.get?z.get.call(this):
(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});f(function(){return new g})}e(function(){return document.dispatchEvent(a("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});b.useNative=m;b.whenReady=e;b.importForElement=d})(window.HTMLImports=window.HTMLImports||{});var oa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));n.prototype.K=function(b,a){this.m.set(b,
a);this.l.set(a.constructor,a)};n.prototype.f=function(b){return this.m.get(b)};n.prototype.J=function(b){return this.l.get(b)};n.prototype.o=function(b){this.h=!0;this.i.push(b)};n.prototype.j=function(b){var a=this;this.h&&q(b,function(b){return a.g(b)})};n.prototype.g=function(b){if(this.h&&!b.__CE_patched){b.__CE_patched=!0;for(var a=0;a<this.i.length;a++)this.i[a](b)}};n.prototype.b=function(b){var a=[];q(b,function(b){return a.push(b)});for(b=0;b<a.length;b++){var d=a[b];1===d.__CE_state?this.connectedCallback(d):
this.s(d)}};n.prototype.a=function(b){var a=[];q(b,function(b){return a.push(b)});for(b=0;b<a.length;b++){var d=a[b];1===d.__CE_state&&this.disconnectedCallback(d)}};n.prototype.c=function(b,a){var d=this;a=a?a:new Set;var c=[];q(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var e=b.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):b.addEventListener("load",function(){var c=b.import;c.__CE_documentLoadHandled||(c.__CE_documentLoadHandled=
!0,c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0,a.delete(c),d.c(c,a))})}else c.push(b)},a);if(this.h)for(b=0;b<c.length;b++)this.g(c[b]);for(b=0;b<c.length;b++)this.s(c[b])};n.prototype.s=function(b){if(void 0===b.__CE_state){var a=this.f(b.localName);if(a){a.constructionStack.push(b);var d=a.constructor;try{try{if(new d!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{a.constructionStack.pop()}}catch(e){throw b.__CE_state=2,e;}b.__CE_state=
1;b.__CE_definition=a;if(a.attributeChangedCallback)for(a=a.observedAttributes,d=0;d<a.length;d++){var c=a[d],f=b.getAttribute(c);null!==f&&this.attributeChangedCallback(b,c,null,f,null)}h(b)&&this.connectedCallback(b)}}};n.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};n.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)};n.prototype.attributeChangedCallback=function(b,
a,d,c,f){var e=b.__CE_definition;e.attributeChangedCallback&&-1<e.observedAttributes.indexOf(a)&&e.attributeChangedCallback.call(b,a,d,c,f)};E.prototype.f=function(){this.b&&this.b.disconnect()};E.prototype.g=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||this.f();for(a=0;a<b.length;a++)for(var d=b[a].addedNodes,c=0;c<d.length;c++)this.c.c(d[c])};S.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};l.prototype.define=function(b,
a){var d=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!T(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(this.a.f(b))throw Error("A custom element with name '"+b+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;try{var c=function(a){var b=f[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},f=a.prototype;
if(!(f instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var e=c("connectedCallback");var g=c("disconnectedCallback");var h=c("adoptedCallback");var l=c("attributeChangedCallback");var m=a.observedAttributes||[]}catch(pa){return}finally{this.f=!1}this.a.K(b,{localName:b,constructor:a,connectedCallback:e,disconnectedCallback:g,adoptedCallback:h,attributeChangedCallback:l,observedAttributes:m,constructionStack:[]});this.c.push(b);this.b||(this.b=
!0,this.g(function(){return d.j()}))};l.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var b=this.c.shift();(b=this.h.get(b))&&b.c()}};l.prototype.get=function(b){if(b=this.a.f(b))return b.constructor};l.prototype.whenDefined=function(b){if(!T(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.h.get(b);if(a)return a.f;a=new S;this.h.set(b,a);this.a.f(b)&&-1===this.c.indexOf(b)&&a.c();return a.f};l.prototype.l=
function(b){this.i.f();var a=this.g;this.g=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=l;l.prototype.define=l.prototype.define;l.prototype.get=l.prototype.get;l.prototype.whenDefined=l.prototype.whenDefined;l.prototype.polyfillWrapFlushCallback=l.prototype.l;var A=window.Document.prototype.createElement,ja=window.Document.prototype.createElementNS,ia=window.Document.prototype.importNode,ka=window.Document.prototype.prepend,la=window.Document.prototype.append,H=window.Node.prototype.cloneNode,
w=window.Node.prototype.appendChild,P=window.Node.prototype.insertBefore,B=window.Node.prototype.removeChild,Q=window.Node.prototype.replaceChild,D=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),G=window.Element.prototype.attachShadow,t=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),C=window.Element.prototype.getAttribute,I=window.Element.prototype.setAttribute,K=window.Element.prototype.removeAttribute,x=window.Element.prototype.getAttributeNS,J=window.Element.prototype.setAttributeNS,
L=window.Element.prototype.removeAttributeNS,N=window.Element.prototype.insertAdjacentElement,Y=window.Element.prototype.prepend,Z=window.Element.prototype.append,ba=window.Element.prototype.before,ca=window.Element.prototype.after,da=window.Element.prototype.replaceWith,ea=window.Element.prototype.remove,na=window.HTMLElement,v=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),M=window.HTMLElement.prototype.insertAdjacentElement,R=new function(){},g=window.customElements;
if(!g||g.forcePolyfill||"function"!=typeof g.define||"function"!=typeof g.get)g=new n,ma(g),ha(g),fa(g),X(g),document.__CE_hasRegistry=!0,g=new l(g),Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:g});g=window.customElements;var y=window.HTMLImports;window.WebComponents=window.WebComponents||{};if(g&&g.polyfillWrapFlushCallback){var u,U=function(){if(u){var b=u;u=null;b();return!0}},V=y.whenReady;g.polyfillWrapFlushCallback(function(b){u=b;V(U)});y.whenReady=function(b){V(function(){U()?
y.whenReady(b):b()})}}y.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});g=document.createElement("style");g.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var W=document.querySelector("head");W.insertBefore(g,W.firstChild)})();}).call(this);
//# sourceMappingURL=webcomponents-hi-ce.js.map

File diff suppressed because one or more lines are too long

View File

@@ -28,144 +28,144 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
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
*/
'use strict';var gb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new sa;b.rules=[];this.h=t.set(this.g,new t(b));this.i=!1;this.b=this.a=null;hb(function(){a.c()})}function C(){this.customStyles=[];this.enqueued=!1}function ib(){}function aa(a){this.cache={};this.c=void 0===a?100:a}function p(){}function t(a,b,c,d,e){this.D=a||null;this.b=b||null;this.ja=c||[];this.L=null;this.T=e||"";this.a=this.w=this.H=null}function r(){}function sa(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Pc(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;n(this)&&(e=[],K(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.f(this):a.l(this);
return b}})}function c(b,c){y(b,"insertAdjacentElement",function(b,d){var e=n(d);b=c.call(this,b,d);e&&a.a(d);n(b)&&a.b(d);return b})}kb?y(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=kb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(ta&&ta.get)b(Element.prototype,ta);else if(ua&&ua.get)b(HTMLElement.prototype,ua);else{var d=va.call(document,"div");a.s(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return lb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)wa.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ba.call(b,d.childNodes[0])}})})}y(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return mb.call(this,b,c);var d=xa.call(this,b);mb.call(this,b,c);c=xa.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});y(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return nb.call(this,
b,c,d);var e=ca.call(this,b,c);nb.call(this,b,c,d);d=ca.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});y(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return ob.call(this,b);var c=xa.call(this,b);ob.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});y(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return pb.call(this,b,c);var d=ca.call(this,b,c);pb.call(this,b,c);var e=ca.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});qb?c(HTMLElement.prototype,qb):rb?c(Element.prototype,rb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");sb(a,Element.prototype,{Ba:Qc,append:Rc});Sc(a,{Ya:Tc,Xa:Uc,ib:Vc,remove:Wc})}function Sc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.Ya.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.Xa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});var g=n(this);b.ib.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=n(this);b.remove.call(this);c&&a.a(this)}}function Xc(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&n(this)){c=Array(h);for(var m=0;m<h;m++)c[m]=e[m]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
y(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=tb.call(this,b,d);if(n(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);d=tb.call(this,b,d);c&&a.a(b);n(this)&&a.b(b);return d});y(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ba.call(this,b);if(n(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=n(b);e=ba.call(this,b);c&&a.a(b);n(this)&&
a.b(b);return e});y(Node.prototype,"cloneNode",function(b){b=lb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.f(b):a.l(b);return b});y(Node.prototype,"removeChild",function(b){var c=n(b),e=wa.call(this,b);c&&a.a(b);return e});y(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ub.call(this,b,d);if(n(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);var f=ub.call(this,b,d),g=n(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});ya&&ya.get?b(Node.prototype,ya):a.s(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)wa.call(this,this.firstChild);ba.call(this,document.createTextNode(a))}})})}function Yc(a){y(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.c(b);if(c)return new c.constructor}b=va.call(this,b);a.g(b);return b});
y(Document.prototype,"importNode",function(b,c){b=Zc.call(this,b,c);this.__CE_hasRegistry?a.f(b):a.l(b);return b});y(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.c(c);if(d)return new d.constructor}b=$c.call(this,b,c);a.g(b);return b});sb(a,Document.prototype,{Ba:ad,append:bd})}function sb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&n(a)});c.Ba.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function cd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.A(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=va.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;d=e.length-1;var f=e[d];if(f===vb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=vb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=dd.prototype;return b}()}function q(a){this.c=!1;this.a=a;this.h=new Map;this.f=function(a){return a()};this.b=!1;this.g=
[];this.i=new za(a,document)}function wb(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function za(a,b){this.b=a;this.a=b;this.K=void 0;this.b.f(this.a);"loading"===this.a.readyState&&(this.K=new MutationObserver(this.f.bind(this)),this.K.observe(this.a,{childList:!0,subtree:!0}))}function v(){this.o=new Map;this.m=new Map;this.j=[];this.h=!1}function l(a,b,c){if(a!==xb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
l.prototype;a.B(b,c);return a}function da(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Aa(a);a.__shady.lastChild=Ba(a);yb(a);for(var b=a.__shady.childNodes=O(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,zb(d)}}function ed(a){var b=a&&a.K;b&&(b.W.delete(a.Sa),b.W.size||(a.Ta.__shady.R=null))}function fd(a,b){a.__shady=a.__shady||{};a.__shady.R||
(a.__shady.R=new ea);a.__shady.R.W.add(b);var c=a.__shady.R;return{Sa:b,K:c,Ta:a,takeRecords:function(){return c.takeRecords()}}}function ea(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.W=new Set}function P(a){return a.__shady&&void 0!==a.__shady.firstChild}function E(a){return"ShadyRoot"===a.Na}function U(a){a=a.getRootNode();if(E(a))return a}function Ca(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length&&(e=c[d]);d++){var f=Object.getOwnPropertyDescriptor(b,e);f&&
Object.defineProperty(a,e,f)}}function Da(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Ca(a,c[d]);return a}function gd(a,b){for(var c in b)a[c]=b[c]}function Ab(a){Ea.push(a);Fa.textContent=Bb++}function Cb(a){Ga||(Ga=!0,Ab(fa));V.push(a)}function fa(){Ga=!1;for(var a=!!V.length;V.length;)V.shift()();return a}function hd(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Db(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Eb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ha(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){a:{var h=
g;var m=a;var jb=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,l="<"+k,n=h.attributes,p=0;m=n[p];p++)l+=" "+m.name+'="'+m.value.replace(id,Db)+'"';l+=">";h=jd[k]?l:l+Ha(h,jb)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&kd[m.localName]?h:h.replace(ld,Db);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function Q(a){w.currentNode=a;return w.parentNode()}function Aa(a){w.currentNode=
a;return w.firstChild()}function Ba(a){w.currentNode=a;return w.lastChild()}function Fb(a){w.currentNode=a;return w.previousSibling()}function Gb(a){w.currentNode=a;return w.nextSibling()}function O(a){var b=[];w.currentNode=a;for(a=w.firstChild();a;)b.push(a),a=w.nextSibling();return b}function Hb(a){A.currentNode=a;return A.parentNode()}function Ib(a){A.currentNode=a;return A.firstChild()}function Jb(a){A.currentNode=a;return A.lastChild()}function Kb(a){A.currentNode=a;return A.previousSibling()}
function Lb(a){A.currentNode=a;return A.nextSibling()}function Mb(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Nb(a){return Ha(a,function(a){return O(a)})}function Ob(a){switch(a.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b;default:return a.nodeValue}}function H(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,
d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function L(a){H(a,Pb);H(a,Ia);H(a,Ja)}function Qb(a,b,c){zb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&
(b.__shady.firstChild=a):(b.__shady.lastChild=a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Ka(a,b,c){if(b===a)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&Q(c)!==a)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(c===b)return b;b.parentNode&&
La(b.parentNode,b);d=U(a);var e;if(e=d)a:{if(!b.__noInsertionPoint){var f;"slot"===b.localName?f=[b]:b.querySelectorAll&&(f=b.querySelectorAll("slot"));if(f&&f.length){e=f;break a}}e=void 0}f=e;d&&("slot"===a.localName||f)&&d.J();if(P(a)){e=c;yb(a);a.__shady=a.__shady||{};void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Qb(g[h],a,e);b.__shady=b.__shady||{};e=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
b.__shady.lastChild=e;b.__shady.childNodes=e}else Qb(b,a,e);if(Ma(a)){a.__shady.root.J();var m=!0}else a.__shady.root&&(m=!0)}m||(m=E(a)?a.host:a,c?(c=Rb(c),Na.call(m,b,c)):Sb.call(m,b));Tb(a,b);f&&d.Ra(f);return b}function La(a,b){if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var c=U(b);if(P(a)){b.__shady=b.__shady||{};a.__shady=a.__shady||{};b===a.__shady.firstChild&&(a.__shady.firstChild=b.__shady.nextSibling);b===a.__shady.lastChild&&(a.__shady.lastChild=
b.__shady.previousSibling);var d=b.__shady.previousSibling;var e=b.__shady.nextSibling;d&&(d.__shady=d.__shady||{},d.__shady.nextSibling=e);e&&(e.__shady=e.__shady||{},e.__shady.previousSibling=d);b.__shady.parentNode=b.__shady.previousSibling=b.__shady.nextSibling=void 0;void 0!==a.__shady.childNodes&&(a.__shady.childNodes=null);if(Ma(a)){a.__shady.root.J();var f=!0}}Ub(b);c&&((e=a&&"slot"===a.localName)&&(f=!0),((d=c.Ua(b))||e)&&c.J());f||(f=E(a)?a.host:a,(!a.__shady.root&&"slot"!==b.localName||
f===Q(b))&&W.call(f,b));Tb(a,null,b);return b}function Ub(a){if(a.__shady&&void 0!==a.__shady.ka)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Ub(e);a.__shady&&(a.__shady.ka=void 0)}function Rb(a){var b=a;a&&"slot"===a.localName&&(b=(b=a.__shady&&a.__shady.O)&&b.length?b[0]:Rb(a.nextSibling));return b}function Ma(a){return(a=a&&a.__shady&&a.__shady.root)&&a.sa()}function Vb(a,b){"slot"===b?(a=a.parentNode,Ma(a)&&a.__shady.root.J()):"slot"===a.localName&&"name"===b&&(b=U(a))&&(b.Wa(a),
b.J())}function Tb(a,b,c){if(a=a.__shady&&a.__shady.R)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),a.kb()}function Wb(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.ka;void 0===b&&(E(a)?b=a:b=(b=a.parentNode)?Wb(b):a,document.documentElement.contains(a)&&(a.__shady.ka=b));return b}}function ha(a,b,c){var d=[];Xb(a.childNodes,b,c,d);return d}function Xb(a,b,c,d){for(var e=0,f=a.length,g;e<f&&(g=a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var m=b,k=c,l=d,n=m(h);n&&l.push(h);
k&&k(n)?h=n:(Xb(h.childNodes,m,k,l),h=void 0)}if(h)break}}function Yb(a){a=a.getRootNode();E(a)&&a.ua()}function Zb(a,b,c){ia||(ia=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ia&&"class"===b?ia.setElementClass(a,c):($b.call(a,b,c),Vb(a,b))}function ac(a,b){if(a.ownerDocument!==document)return Oa.call(document,a,b);var c=Oa.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=ac(a[b],!0),c.appendChild(d)}return c}function Pa(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),
d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;c[c.length-1]===document&&c.push(window);return c}function bc(a,b){if(!E)return a;a=Pa(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Qa(a){function b(b,d){b=new a(b,d);b.da=d&&!!d.composed;return b}gd(b,a);b.prototype=a.prototype;return b}function cc(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&
b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.La);d++);}function md(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];cc(a,d,"capture");if(a.ea)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=d.__shady&&d.__shady.root;if(!c||f&&f===e)if(cc(a,d,"bubble"),d!==window&&(e=d.getRootNode()),
a.ea)break}}function dc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],m=h.type,k=h.capture,l=h.once,n=h.passive;if(b===h.node&&c===m&&d===k&&e===l&&f===n)return g}return-1}function ec(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.fa||this,h=b.U;if(h){if(-1<dc(h,g,a,d,e,f))return}else b.U=[];h=function(d){e&&this.removeEventListener(a,b,c);d.__target||fc(d);if(g!==this){var f=Object.getOwnPropertyDescriptor(d,"currentTarget");
Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.U.push({node:this,type:a,capture:d,
once:e,passive:f,ob:h});Ra[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][d?"capture":"bubble"].push(h)):(this instanceof Window?gc:hc).call(this,a,h,c)}}function ic(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.fa||this,h=void 0;var m=null;try{m=b.U}catch(jb){}m&&(e=dc(m,g,a,d,e,f),-1<e&&(h=m.splice(e,1)[0].ob,m.length||(b.U=void 0)));(this instanceof Window?
jc:kc).call(this,a,h||b,c);h&&Ra[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function nd(){for(var a in Ra)window.addEventListener(a,function(a){a.__target||(fc(a),md(a))},!0)}function fc(a){a.__target=a.target;a.qa=a.relatedTarget;if(B.P){var b=lc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.qb=c;Ca(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Ca(a,lc)}function X(a,
b){return{index:a,S:[],V:b}}function od(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){h=a.length;for(var k=c.length,l=0;l<m-g&&pd(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=X(e,0);f<d;)b.S.push(c[f++]);return[b]}if(f==d)return[X(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+
l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)m?g?(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l)):(a.push(3),m--):(a.push(2),g--);a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=X(e,0));b.V++;e++;b.S.push(c[f]);f++;break;case 2:b||
(b=X(e,0));b.V++;e++;break;case 3:b||(b=X(e,0)),b.S.push(c[f]),f++}b&&m.push(b);return m}function pd(a,b){return a===b}function mc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}function nc(a){Yb(a);return a.__shady&&a.__shady.assignedSlot||null}function I(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function qd(){var a=window.customElements&&window.customElements.nativeHTMLElement||
HTMLElement;I(window.Node.prototype,rd);I(window.Window.prototype,sd);I(window.Text.prototype,td);I(window.DocumentFragment.prototype,Sa);I(window.Element.prototype,oc);I(window.Document.prototype,pc);window.HTMLSlotElement&&I(window.HTMLSlotElement.prototype,qc);I(a.prototype,ud);B.P&&(L(window.Node.prototype),L(window.Text.prototype),L(window.DocumentFragment.prototype),L(window.Element.prototype),L(a.prototype),L(window.Document.prototype),window.HTMLSlotElement&&L(window.HTMLSlotElement.prototype))}
function rc(a){var b=vd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function n(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function Ta(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function K(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===
Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)K(d,b,c);d=Ta(a,e);continue}else if("template"===f){d=Ta(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)K(e,b,c)}d=d.firstChild?d.firstChild:Ta(a,d)}}function y(a,b,c){a[b]=c}function Ua(a){a=a.replace(D.$a,"").replace(D.port,"");var b=sc,c=a,d=new sa;d.start=0;d.end=c.length;for(var e=
d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,k=h.rules[h.rules.length-1]||null;e=new sa;e.start=f+1;e.parent=h;e.previous=k;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function sc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=wd(c),c=c.replace(D.Aa," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),
a.atRule)?c.indexOf("@media")?c.match(D.fb)&&(a.type=G.ca,a.keyframesName=a.selector.split(D.Aa).pop()):a.type=G.MEDIA_RULE:a.type=c.indexOf("--")?G.STYLE_RULE:G.ma);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)sc(f,b);return a}function wd(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function tc(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));
if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=tc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(D.va,"").replace(D.za,""),b=b.replace(D.gb,"").replace(D.mb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function uc(a){z=a&&a.shimcssproperties?!1:x||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}function R(a,b){if(!a)return"";"string"===
typeof a&&(a=Ua(a));b&&S(a,b);return tc(a,z)}function ja(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ua(a.textContent));return a.__cssRules||null}function vc(a){return!!a.parent&&a.parent.type===G.ca}function S(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===G.MEDIA_RULE){var g=a.selector.match(xd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===G.STYLE_RULE?b(a):c&&f===G.ca?c(a):f===G.ma&&(e=!0);if((a=a.rules)&&!e){e=0;f=a.length;for(var h;e<f&&(h=a[e]);e++)S(h,b,c,d)}}}function Va(a,b,c,d){var e=
document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;wc(e,c,d);return e}function wc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);M?a.compareDocumentPosition(M)===Node.DOCUMENT_POSITION_PRECEDING&&(M=a):M=a}function xc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");a:{var d=0;var e=c+3;for(var f=a.length;e<f;e++)if("("===a[e])d++;else if(")"===a[e]&&!--d)break a;e=-1}d=a.substring(c+4,e);c=a.substring(0,c);a=xc(a.substring(e+1),b);
e=d.indexOf(",");return-1===e?b(c,d.trim(),"",a):b(c,d.substring(0,e).trim(),d.substring(e+1).trim(),a)}function ka(a,b){x?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function N(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,T:c}}function yc(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=
c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode();var g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=N(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function yd(a){if(a=la[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=
a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function zc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function zd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Ad.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function hb(a){requestAnimationFrame(function(){Ac?Ac(a):(Wa||(Wa=new Promise(function(a){Xa=a}),"complete"===document.readyState?Xa():document.addEventListener("readystatechange",
function(){"complete"===document.readyState&&Xa()})),Wa.then(function(){a&&a()}))})}(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function c(a){if(n)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!h(b)&&
(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;c?l(b,function(b){return g(b,function(){--c||a()})}):a()}function e(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function f(a){e(function(){return d(function(){return a&&a()})})}function g(a,b){if(a.__loaded)b&&b();else if("script"===
'use strict';var lb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new va;b.rules=[];this.h=t.set(this.g,new t(b));this.i=!1;this.b=this.a=null;mb(function(){a.c()})}function C(){this.customStyles=[];this.enqueued=!1}function nb(){}function aa(a){this.cache={};this.c=void 0===a?100:a}function p(){}function t(a,b,c,d,e){this.D=a||null;this.b=b||null;this.ja=c||[];this.L=null;this.U=e||"";this.a=this.w=this.H=null}function r(){}function va(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Xc(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;n(this)&&(e=[],K(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
return b}})}function c(b,c){y(b,"insertAdjacentElement",function(b,d){var e=n(d);b=c.call(this,b,d);e&&a.a(d);n(b)&&a.b(d);return b})}ob?y(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=ob.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(wa&&wa.get)b(Element.prototype,wa);else if(xa&&xa.get)b(HTMLElement.prototype,xa);else{var d=ya.call(document,"div");a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return pb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)za.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ca.call(b,d.childNodes[0])}})})}y(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return qb.call(this,b,c);var d=Aa.call(this,b);qb.call(this,b,c);c=Aa.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});y(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return rb.call(this,
b,c,d);var e=da.call(this,b,c);rb.call(this,b,c,d);d=da.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});y(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return sb.call(this,b);var c=Aa.call(this,b);sb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});y(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return tb.call(this,b,c);var d=da.call(this,b,c);tb.call(this,b,c);var e=da.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});ub?c(HTMLElement.prototype,ub):vb?c(Element.prototype,vb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");wb(a,Element.prototype,{Ba:Yc,append:Zc});$c(a,{Xa:ad,Wa:bd,replaceWith:cd,remove:dd})}function $c(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.Xa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=
d[f],g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.Wa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});var g=n(this);b.replaceWith.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=n(this);b.remove.call(this);c&&a.a(this)}}function ed(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&n(this)){c=Array(h);for(var m=0;m<h;m++)c[m]=e[m]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
y(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=xb.call(this,b,d);if(n(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);d=xb.call(this,b,d);c&&a.a(b);n(this)&&a.b(b);return d});y(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ca.call(this,b);if(n(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=n(b);e=ca.call(this,b);c&&a.a(b);n(this)&&
a.b(b);return e});y(Node.prototype,"cloneNode",function(b){b=pb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});y(Node.prototype,"removeChild",function(b){var c=n(b),e=za.call(this,b);c&&a.a(b);return e});y(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=yb.call(this,b,d);if(n(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);var f=yb.call(this,b,d),g=n(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});Ba&&Ba.get?b(Node.prototype,Ba):a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)za.call(this,this.firstChild);ca.call(this,document.createTextNode(a))}})})}function fd(a){y(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=ya.call(this,b);a.g(b);return b});
y(Document.prototype,"importNode",function(b,c){b=gd.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});y(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=hd.call(this,b,c);a.g(b);return b});wb(a,Document.prototype,{Ba:id,append:jd})}function wb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&n(a)});c.Ba.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function kd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.A(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(0===e.length)return e=ya.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;d=e.length-1;var f=e[d];if(f===zb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=zb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=ld.prototype;return b}()}function q(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;
this.c=[];this.i=new Ca(a,document)}function Ab(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function Ca(a,b){this.b=a;this.a=b;this.K=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.K=new MutationObserver(this.f.bind(this)),this.K.observe(this.a,{childList:!0,subtree:!0}))}function v(){this.m=new Map;this.l=new Map;this.i=[];this.h=!1}function l(a,b,c){if(a!==Bb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
l.prototype;a.B(b,c);return a}function ea(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Da(a);a.__shady.lastChild=Ea(a);Cb(a);for(var b=a.__shady.childNodes=O(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,Db(d)}}function md(a){var b=a&&a.K;b&&(b.X.delete(a.Ra),b.X.size||(a.Sa.__shady.S=null))}function nd(a,b){a.__shady=a.__shady||{};a.__shady.S||
(a.__shady.S=new fa);a.__shady.S.X.add(b);var c=a.__shady.S;return{Ra:b,K:c,Sa:a,takeRecords:function(){return c.takeRecords()}}}function fa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.X=new Set}function P(a){return a.__shady&&void 0!==a.__shady.firstChild}function E(a){return"ShadyRoot"===a.Ma}function U(a){a=a.getRootNode();if(E(a))return a}function Fa(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length&&(e=c[d]);d++){var f=Object.getOwnPropertyDescriptor(b,e);f&&
Object.defineProperty(a,e,f)}}function Ga(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Fa(a,c[d]);return a}function od(a,b){for(var c in b)a[c]=b[c]}function Eb(a){Ha.push(a);Ia.textContent=Fb++}function Gb(a){Ja||(Ja=!0,Eb(ha));V.push(a)}function ha(){Ja=!1;for(var a=!!V.length;V.length;)V.shift()();return a}function pd(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Hb(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Ib(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ka(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){a:{var h=
g;var m=a;var k=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var ba=h.localName,l="<"+ba,n=h.attributes,p=0;m=n[p];p++)l+=" "+m.name+'="'+m.value.replace(qd,Hb)+'"';l+=">";h=rd[ba]?l:l+Ka(h,k)+"</"+ba+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&sd[m.localName]?h:h.replace(td,Hb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function Q(a){w.currentNode=a;return w.parentNode()}function Da(a){w.currentNode=
a;return w.firstChild()}function Ea(a){w.currentNode=a;return w.lastChild()}function Jb(a){w.currentNode=a;return w.previousSibling()}function Kb(a){w.currentNode=a;return w.nextSibling()}function O(a){var b=[];w.currentNode=a;for(a=w.firstChild();a;)b.push(a),a=w.nextSibling();return b}function Lb(a){A.currentNode=a;return A.parentNode()}function Mb(a){A.currentNode=a;return A.firstChild()}function Nb(a){A.currentNode=a;return A.lastChild()}function Ob(a){A.currentNode=a;return A.previousSibling()}
function Pb(a){A.currentNode=a;return A.nextSibling()}function Qb(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Rb(a){return Ka(a,function(a){return O(a)})}function Sb(a){switch(a.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b;default:return a.nodeValue}}function H(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,
d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function L(a){H(a,Tb);H(a,La);H(a,Ma)}function Ub(a,b,c){Db(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&
(b.__shady.firstChild=a):(b.__shady.lastChild=a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Na(a,b,c){if(b===a)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&Q(c)!==a)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(c===b)return b;b.parentNode&&
Oa(b.parentNode,b);d=U(a);var e;if(e=d)a:{if(!b.__noInsertionPoint){var f;"slot"===b.localName?f=[b]:b.querySelectorAll&&(f=b.querySelectorAll("slot"));if(f&&f.length){e=f;break a}}e=void 0}f=e;d&&("slot"===a.localName||f)&&d.J();if(P(a)){e=c;Cb(a);a.__shady=a.__shady||{};void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Ub(g[h],a,e);b.__shady=b.__shady||{};e=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
b.__shady.lastChild=e;b.__shady.childNodes=e}else Ub(b,a,e);if(Pa(a)){a.__shady.root.J();var m=!0}else a.__shady.root&&(m=!0)}m||(m=E(a)?a.host:a,c?(c=Vb(c),Qa.call(m,b,c)):Wb.call(m,b));Xb(a,b);f&&d.Qa(f);return b}function Oa(a,b){if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var c=U(b);if(P(a)){b.__shady=b.__shady||{};a.__shady=a.__shady||{};b===a.__shady.firstChild&&(a.__shady.firstChild=b.__shady.nextSibling);b===a.__shady.lastChild&&(a.__shady.lastChild=
b.__shady.previousSibling);var d=b.__shady.previousSibling;var e=b.__shady.nextSibling;d&&(d.__shady=d.__shady||{},d.__shady.nextSibling=e);e&&(e.__shady=e.__shady||{},e.__shady.previousSibling=d);b.__shady.parentNode=b.__shady.previousSibling=b.__shady.nextSibling=void 0;void 0!==a.__shady.childNodes&&(a.__shady.childNodes=null);if(Pa(a)){a.__shady.root.J();var f=!0}}Yb(b);c&&((e=a&&"slot"===a.localName)&&(f=!0),((d=c.Ta(b))||e)&&c.J());f||(f=E(a)?a.host:a,(!a.__shady.root&&"slot"!==b.localName||
f===Q(b))&&W.call(f,b));Xb(a,null,b);return b}function Yb(a){if(a.__shady&&void 0!==a.__shady.ka)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Yb(e);a.__shady&&(a.__shady.ka=void 0)}function Vb(a){var b=a;a&&"slot"===a.localName&&(b=(b=a.__shady.P)&&b.length?b[0]:Vb(a.nextSibling));return b}function Pa(a){return(a=a&&a.__shady&&a.__shady.root)&&a.sa()}function Zb(a,b){"slot"===b?(a=a.parentNode,Pa(a)&&a.__shady.root.J()):"slot"===a.localName&&"name"===b&&(b=U(a))&&(b.Va(a),b.J())}function Xb(a,
b,c){if(a=a.__shady&&a.__shady.S)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),a.ib()}function $b(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.ka;void 0===b&&(E(a)?b=a:b=(b=a.parentNode)?$b(b):a,document.documentElement.contains(a)&&(a.__shady.ka=b));return b}}function ia(a,b,c){var d=[];ac(a.childNodes,b,c,d);return d}function ac(a,b,c,d){for(var e=0,f=a.length,g;e<f&&(g=a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var m=b,k=c,l=d,n=m(h);n&&l.push(h);k&&k(n)?h=n:
(ac(h.childNodes,m,k,l),h=void 0)}if(h)break}}function bc(a){a=a.getRootNode();E(a)&&a.ua()}function cc(a,b,c){ja||(ja=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ja&&"class"===b?ja.setElementClass(a,c):(dc.call(a,b,c),Zb(a,b))}function ec(a,b){if(a.ownerDocument!==document)return Ra.call(document,a,b);var c=Ra.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=ec(a[b],!0),c.appendChild(d)}return c}function Sa(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),
d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;c[c.length-1]===document&&c.push(window);return c}function fc(a,b){if(!E)return a;a=Sa(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Ta(a){function b(b,d){b=new a(b,d);b.da=d&&!!d.composed;return b}od(b,a);b.prototype=a.prototype;return b}function gc(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&
b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.Ka);d++);}function ud(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];gc(a,d,"capture");if(a.ea)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=d.__shady&&d.__shady.root;if(0===c||f&&f===e)if(gc(a,d,"bubble"),d!==window&&(e=
d.getRootNode()),a.ea)break}}function hc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],m=h.type,k=h.capture,l=h.once,n=h.passive;if(b===h.node&&c===m&&d===k&&e===l&&f===n)return g}return-1}function ic(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.fa||this,h=b.V;if(h){if(-1<hc(h,g,a,d,e,f))return}else b.V=[];h=function(d){e&&this.removeEventListener(a,b,c);d.__target||jc(d);if(g!==this){var f=Object.getOwnPropertyDescriptor(d,
"currentTarget");Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.V.push({node:this,
type:a,capture:d,once:e,passive:f,lb:h});Ua[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][d?"capture":"bubble"].push(h)):(this instanceof Window?kc:lc).call(this,a,h,c)}}function mc(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.fa||this,h=void 0;var m=null;try{m=b.V}catch(de){}m&&(e=hc(m,g,a,d,e,f),-1<e&&(h=m.splice(e,1)[0].lb,m.length||(b.V=void 0)));(this instanceof
Window?nc:oc).call(this,a,h||b,c);h&&Ua[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function vd(){for(var a in Ua)window.addEventListener(a,function(a){a.__target||(jc(a),ud(a))},!0)}function jc(a){a.__target=a.target;a.qa=a.relatedTarget;if(B.R){var b=pc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.nb=c;Fa(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Fa(a,pc)}function X(a,
b){return{index:a,T:[],W:b}}function wd(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){h=a.length;for(var k=c.length,l=0;l<m-g&&xd(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(0==b-e&&0==d-f)return[];if(e==b){for(b=X(e,0);f<d;)b.T.push(c[f++]);return[b]}if(f==d)return[X(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+
l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)0==m?(a.push(2),g--):0==g?(a.push(3),m--):(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l));a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=X(e,0));b.W++;e++;b.T.push(c[f]);f++;break;
case 2:b||(b=X(e,0));b.W++;e++;break;case 3:b||(b=X(e,0)),b.T.push(c[f]),f++}b&&m.push(b);return m}function xd(a,b){return a===b}function qc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}function rc(a){bc(a);return a.__shady&&a.__shady.assignedSlot||null}function I(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function yd(){var a=window.customElements&&window.customElements.nativeHTMLElement||
HTMLElement;I(window.Node.prototype,zd);I(window.Window.prototype,Ad);I(window.Text.prototype,Bd);I(window.DocumentFragment.prototype,Va);I(window.Element.prototype,sc);I(window.Document.prototype,tc);window.HTMLSlotElement&&I(window.HTMLSlotElement.prototype,uc);I(a.prototype,Cd);B.R&&(L(window.Node.prototype),L(window.Text.prototype),L(window.DocumentFragment.prototype),L(window.Element.prototype),L(a.prototype),L(window.Document.prototype),window.HTMLSlotElement&&L(window.HTMLSlotElement.prototype))}
function vc(a){var b=Dd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function n(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function Wa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function K(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===
Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)K(d,b,c);d=Wa(a,e);continue}else if("template"===f){d=Wa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)K(e,b,c)}d=d.firstChild?d.firstChild:Wa(a,d)}}function y(a,b,c){a[b]=c}function Xa(a){a=a.replace(D.Za,"").replace(D.port,"");var b=wc,c=a,d=new va;d.start=0;d.end=c.length;for(var e=
d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,k=h.rules[h.rules.length-1]||null;e=new va;e.start=f+1;e.parent=h;e.previous=k;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function wc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&(c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=Ed(c),c=c.replace(D.Aa," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===
c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=G.MEDIA_RULE:c.match(D.eb)&&(a.type=G.ca,a.keyframesName=a.selector.split(D.Aa).pop()):a.type=0===c.indexOf("--")?G.ma:G.STYLE_RULE);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)wc(f,b);return a}function Ed(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function xc(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===
f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=xc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(D.va,"").replace(D.za,""),b=b.replace(D.fb,"").replace(D.kb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function yc(a){z=a&&a.shimcssproperties?!1:x||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}function R(a,b){if(!a)return"";
"string"===typeof a&&(a=Xa(a));b&&S(a,b);return xc(a,z)}function ka(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Xa(a.textContent));return a.__cssRules||null}function zc(a){return!!a.parent&&a.parent.type===G.ca}function S(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===G.MEDIA_RULE){var g=a.selector.match(Fd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===G.STYLE_RULE?b(a):c&&f===G.ca?c(a):f===G.ma&&(e=!0);if((a=a.rules)&&!e){e=0;f=a.length;for(var h;e<f&&(h=a[e]);e++)S(h,b,c,d)}}}function Ya(a,b,
c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Ac(e,c,d);return e}function Ac(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);M?a.compareDocumentPosition(M)===Node.DOCUMENT_POSITION_PRECEDING&&(M=a):M=a}function Bc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");a:{var d=0;var e=c+3;for(var f=a.length;e<f;e++)if("("===a[e])d++;else if(")"===a[e]&&0===--d)break a;e=-1}d=a.substring(c+4,e);c=a.substring(0,c);a=Bc(a.substring(e+
1),b);e=d.indexOf(",");return-1===e?b(c,d.trim(),"",a):b(c,d.substring(0,e).trim(),d.substring(e+1).trim(),a)}function la(a,b){x?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function N(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,U:c}}function Cc(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=
c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode();var g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=N(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function Gd(a){if(a=ma[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=
a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Dc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Hd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Id.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function mb(a){requestAnimationFrame(function(){Ec?Ec(a):(Za||(Za=new Promise(function(a){$a=a}),"complete"===document.readyState?$a():document.addEventListener("readystatechange",
function(){"complete"===document.readyState&&$a()})),Za.then(function(){a&&a()}))})}(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function c(a){if(n)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!h(b)&&
(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;c?l(b,function(b){return g(b,function(){0===--c&&a()})}):a()}function e(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function f(a){e(function(){return d(function(){return a&&a()})})}function g(a,b){if(a.__loaded)b&&b();else if("script"===
a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);y&&"style"===a.localName||a.addEventListener("error",c)}}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function k(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.l(b)});this.f.observe(document.head,{childList:!0,subtree:!0});this.c(document)}
function l(a,b,c){var d=a?a.length:0,e=c?-1:1;for(c=c?d-1:0;c<d&&0<=c;c+=e)b(a[c],c)}var n="import"in document.createElement("link"),p=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return p||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var r=/(^\/)|(^#)|(^[\w-\d]*:)/,t=/(url\()([^)]*)(\))/g,u=/(@import[\s]+(?!url\())([^;]*)(;)/g,x=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,q={ab:function(a,
b){a.href&&a.setAttribute("href",q.la(a.getAttribute("href"),b));a.src&&a.setAttribute("src",q.la(a.getAttribute("src"),b));if("style"===a.localName){var c=q.Ca(a.textContent,b,t);a.textContent=q.Ca(c,b,u)}},Ca:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=q.Da(a,b));return c+"'"+a+"'"+e})},la:function(a,b){return a&&r.test(a)?a:q.Da(a,b)},Da:function(a,b){if(void 0===q.ga){q.ga=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";q.ga="http://a/c%20d"===c.href}catch(Yd){}}if(q.ga)return(new URL(a,
b)).href;c=q.Qa;c||(c=document.implementation.createHTMLDocument("temp"),q.Qa=c,c.oa=c.createElement("base"),c.head.appendChild(c.oa),c.na=c.createElement("a"));c.oa.href=b;c.na.href=a;return c.na.href||a}},z={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1];d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,z.async);e.onload=function(){var a=e.responseURL||e.getResponseHeader("Location");a&&!a.indexOf("/")&&
(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},y=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.c=function(a){var b=this;a=a.querySelectorAll("link[rel=import]");l(a,function(a){return b.h(a)})};k.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];d&&d.__loaded&&
function l(a,b,c){var d=a?a.length:0,e=c?-1:1;for(c=c?d-1:0;c<d&&0<=c;c+=e)b(a[c],c)}var n="import"in document.createElement("link"),p=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return p||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var r=/(^\/)|(^#)|(^[\w-\d]*:)/,t=/(url\()([^)]*)(\))/g,u=/(@import[\s]+(?!url\())([^;]*)(;)/g,x=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,q={$a:function(a,
b){a.href&&a.setAttribute("href",q.la(a.getAttribute("href"),b));a.src&&a.setAttribute("src",q.la(a.getAttribute("src"),b));if("style"===a.localName){var c=q.Ca(a.textContent,b,t);a.textContent=q.Ca(c,b,u)}},Ca:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=q.Da(a,b));return c+"'"+a+"'"+e})},la:function(a,b){return a&&r.test(a)?a:q.Da(a,b)},Da:function(a,b){if(void 0===q.ga){q.ga=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";q.ga="http://a/c%20d"===c.href}catch(ee){}}if(q.ga)return(new URL(a,
b)).href;c=q.Pa;c||(c=document.implementation.createHTMLDocument("temp"),q.Pa=c,c.oa=c.createElement("base"),c.head.appendChild(c.oa),c.na=c.createElement("a"));c.oa.href=b;c.na.href=a;return c.na.href||a}},z={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1];d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,z.async);e.onload=function(){var a=e.responseURL||e.getResponseHeader("Location");a&&0===a.indexOf("/")&&
(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||0===e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},y=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.c=function(a){var b=this;a=a.querySelectorAll("link[rel=import]");l(a,function(a){return b.h(a)})};k.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];d&&d.__loaded&&
(a.import=d,this.g(a))}else this.b++,this.a[c]="pending",z.load(c,function(a,d){a=b.m(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};k.prototype.m=function(a,b){if(!a)return document.createDocumentFragment();y&&(a=a.replace(x,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=
a.querySelector("base"))b=q.la(c.getAttribute("href"),b),c.removeAttribute("href");c=a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]');var d=0;l(c,function(a){g(a);q.ab(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+
a.querySelector("base"))b=q.la(c.getAttribute("href"),b),c.removeAttribute("href");c=a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]');var d=0;l(c,function(a){g(a);q.$a(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+
encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),a.textContent="",d++)});return a};k.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.s(function(){c=!0;d()});this.o(function(){b=!0;d()})}};k.prototype.flatten=function(a){var b=this;a=a.querySelectorAll("link[rel=import]");l(a,function(a){var c=b.a[a.href];(a.import=
c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.import=a,b.flatten(c),a.appendChild(c))})};k.prototype.o=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");l(f.attributes,function(a){return h.setAttribute(a.name,a.value)});p=h;f.parentNode.replaceChild(h,f);g(h,function(){p=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};k.prototype.s=function(a){var b=
document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d){var e=y&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");l(b,function(b){g(b,function(){b.removeAttribute("import-dependency");--d||a()});if(e&&b.parentNode!==document.head){var f=document.createElement(b.localName);f.__appliedElement=b;f.setAttribute("type","import-placeholder");b.parentNode.insertBefore(f,b.nextSibling);for(f=c(b);f&&c(f);)f=c(f);f.parentNode!==
document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d){var e=y&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");l(b,function(b){g(b,function(){b.removeAttribute("import-dependency");0===--d&&a()});if(e&&b.parentNode!==document.head){var f=document.createElement(b.localName);f.__appliedElement=b;f.setAttribute("type","import-placeholder");b.parentNode.insertBefore(f,b.nextSibling);for(f=c(b);f&&c(f);)f=c(f);f.parentNode!==
document.head&&(f=null);document.head.insertBefore(b,f);b.removeAttribute("type")}})}else a()};k.prototype.j=function(){var a=this,b=document.querySelectorAll("link[rel=import]");l(b,function(b){return a.g(b)},!0)};k.prototype.g=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(b(a.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};k.prototype.l=function(a){var b=this;l(a,function(a){return l(a.addedNodes,function(a){a&&a.nodeType===
Node.ELEMENT_NODE&&(h(a)?b.h(a):b.c(a))})})};if(n){var v=document.querySelectorAll("link[rel=import]");l(v,function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});v=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",v,!0);document.addEventListener("error",v,!0)}else{var w=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!w||w.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?
a.href:w&&w.get?w.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=n;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});var B=window.ShadyDOM||{};B.bb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Ya=Object.getOwnPropertyDescriptor(Node.prototype,
"firstChild");B.P=!!(Ya&&Ya.configurable&&Ya.get);B.ya=B.force||!B.bb;var T=Element.prototype,Bc=T.matches||T.matchesSelector||T.mozMatchesSelector||T.msMatchesSelector||T.oMatchesSelector||T.webkitMatchesSelector,Fa=document.createTextNode(""),Bb=0,Ea=[];(new MutationObserver(function(){for(;Ea.length;)try{Ea.shift()()}catch(a){throw Fa.textContent=Bb++,a;}})).observe(Fa,{characterData:!0});var V=[],Ga;fa.list=V;ea.prototype.kb=function(){var a=this;this.a||(this.a=!0,Ab(function(){a.b()}))};ea.prototype.b=
function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.W.forEach(function(b){b(a)})}};ea.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var Sb=Element.prototype.appendChild,Na=Element.prototype.insertBefore,W=Element.prototype.removeChild,$b=Element.prototype.setAttribute,Cc=Element.prototype.removeAttribute,Za=Element.prototype.cloneNode,
Oa=Document.prototype.importNode,hc=Element.prototype.addEventListener,kc=Element.prototype.removeEventListener,gc=Window.prototype.addEventListener,jc=Window.prototype.removeEventListener,$a=Element.prototype.dispatchEvent,Bd=Object.freeze({appendChild:Sb,insertBefore:Na,removeChild:W,setAttribute:$b,removeAttribute:Cc,cloneNode:Za,importNode:Oa,addEventListener:hc,removeEventListener:kc,ub:gc,vb:jc,dispatchEvent:$a,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll}),
id=/[&\u00A0"]/g,ld=/[&\u00A0<>]/g,jd=Eb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),kd=Eb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),w=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),A=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Cd=Object.freeze({parentNode:Q,firstChild:Aa,lastChild:Ba,previousSibling:Fb,nextSibling:Gb,childNodes:O,parentElement:Hb,firstElementChild:Ib,lastElementChild:Jb,
previousElementSibling:Kb,nextElementSibling:Lb,children:Mb,innerHTML:Nb,textContent:Ob}),ab=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ma=document.implementation.createHTMLDocument("inert").createElement("div"),bb=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Pb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==
a?a:Hb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:Q(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Gb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Fb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",
a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Lb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Kb(this)},configurable:!0}},Ia={childNodes:{get:function(){if(P(this)){if(!this.__shady.childNodes){this.__shady.childNodes=
[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}var b=this.__shady.childNodes}else b=O(this);b.item=function(a){return b[a]};return b},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:Aa(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Ba(this)},configurable:!0},textContent:{get:function(){if(P(this)){for(var a=
[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return Ob(this)},set:function(a){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=
a.nextSibling;return a}return Ib(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Jb(this)},configurable:!0},children:{get:function(){var a;P(this)?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Mb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a=
"template"===this.localName?this.content:this;return P(this)?Ha(a):Nb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(ab&&ab.set?ab.set.call(ma,a):ma.innerHTML=a;ma.firstChild;)b.appendChild(ma.firstChild)},configurable:!0}},Dc={shadowRoot:{get:function(){return this.__shady&&this.__shady.hb||null},configurable:!0}},Ja={activeElement:{get:function(){var a=bb&&bb.get?bb.get.call(document):B.P?void 0:document.activeElement;if(a&&
a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=U(a);b&&b!==this;)a=b.host,b=U(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},zb=B.P?function(){}:function(a){a.__shady&&a.__shady.Oa||(a.__shady=a.__shady||{},a.__shady.Oa=!0,H(a,Pb,!0))},yb=B.P?function(){}:function(a){a.__shady&&a.__shady.Ma||(a.__shady=a.__shady||{},a.__shady.Ma=!0,H(a,Ia,!0),H(a,Dc,!0))},ia=null,Dd={blur:!0,focus:!0,
a.href:w&&w.get?w.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=n;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});var B=window.ShadyDOM||{};B.ab=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ab=Object.getOwnPropertyDescriptor(Node.prototype,
"firstChild");B.R=!!(ab&&ab.configurable&&ab.get);B.ya=B.force||!B.ab;var T=Element.prototype,Fc=T.matches||T.matchesSelector||T.mozMatchesSelector||T.msMatchesSelector||T.oMatchesSelector||T.webkitMatchesSelector,Ia=document.createTextNode(""),Fb=0,Ha=[];(new MutationObserver(function(){for(;Ha.length;)try{Ha.shift()()}catch(a){throw Ia.textContent=Fb++,a;}})).observe(Ia,{characterData:!0});var V=[],Ja;ha.list=V;fa.prototype.ib=function(){var a=this;this.a||(this.a=!0,Eb(function(){a.b()}))};fa.prototype.b=
function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.X.forEach(function(b){b(a)})}};fa.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var Wb=Element.prototype.appendChild,Qa=Element.prototype.insertBefore,W=Element.prototype.removeChild,dc=Element.prototype.setAttribute,Gc=Element.prototype.removeAttribute,bb=Element.prototype.cloneNode,
Ra=Document.prototype.importNode,lc=Element.prototype.addEventListener,oc=Element.prototype.removeEventListener,kc=Window.prototype.addEventListener,nc=Window.prototype.removeEventListener,cb=Element.prototype.dispatchEvent,Jd=Object.freeze({appendChild:Wb,insertBefore:Qa,removeChild:W,setAttribute:dc,removeAttribute:Gc,cloneNode:bb,importNode:Ra,addEventListener:lc,removeEventListener:oc,rb:kc,sb:nc,dispatchEvent:cb,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll}),
qd=/[&\u00A0"]/g,td=/[&\u00A0<>]/g,rd=Ib("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),sd=Ib("style script xmp iframe noembed noframes plaintext noscript".split(" ")),w=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),A=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Kd=Object.freeze({parentNode:Q,firstChild:Da,lastChild:Ea,previousSibling:Jb,nextSibling:Kb,childNodes:O,parentElement:Lb,firstElementChild:Mb,lastElementChild:Nb,
previousElementSibling:Ob,nextElementSibling:Pb,children:Qb,innerHTML:Rb,textContent:Sb}),db=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),na=document.implementation.createHTMLDocument("inert").createElement("div"),eb=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Tb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==
a?a:Lb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:Q(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Kb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Jb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",
a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Pb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Ob(this)},configurable:!0}},La={childNodes:{get:function(){if(P(this)){if(!this.__shady.childNodes){this.__shady.childNodes=
[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}var b=this.__shady.childNodes}else b=O(this);b.item=function(a){return b[a]};return b},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:Da(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Ea(this)},configurable:!0},textContent:{get:function(){if(P(this)){for(var a=
[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return Sb(this)},set:function(a){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=
a.nextSibling;return a}return Mb(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Nb(this)},configurable:!0},children:{get:function(){var a;P(this)?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Qb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a=
"template"===this.localName?this.content:this;return P(this)?Ka(a):Rb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(db&&db.set?db.set.call(na,a):na.innerHTML=a;na.firstChild;)b.appendChild(na.firstChild)},configurable:!0}},Hc={shadowRoot:{get:function(){return this.__shady&&this.__shady.gb||null},configurable:!0}},Ma={activeElement:{get:function(){var a=eb&&eb.get?eb.get.call(document):B.R?void 0:document.activeElement;if(a&&
a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=U(a);b&&b!==this;)a=b.host,b=U(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},Db=B.R?function(){}:function(a){a.__shady&&a.__shady.Na||(a.__shady=a.__shady||{},a.__shady.Na=!0,H(a,Tb,!0))},Cb=B.R?function(){}:function(a){a.__shady&&a.__shady.La||(a.__shady=a.__shady||{},a.__shady.La=!0,H(a,La,!0),H(a,Hc,!0))},ja=null,Ld={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},lc={get composed(){!1!==this.isTrusted&&void 0===this.da&&(this.da=Dd[this.type]);return this.da||!1},composedPath:function(){this.pa||(this.pa=Pa(this.__target,this.composed));return this.pa},get target(){return bc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.qa)return null;this.ra||(this.ra=Pa(this.qa,!0));return bc(this.currentTarget,this.ra)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);
this.ea=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ea=this.La=!0}},Ra={focus:!0,blur:!0},Ed=Qa(window.Event),Fd=Qa(window.CustomEvent),Gd=Qa(window.MouseEvent),xb={};l.prototype=Object.create(DocumentFragment.prototype);l.prototype.B=function(a,b){this.Na="ShadyRoot";da(a);da(this);this.host=a;this.I=b&&b.mode;a.__shady=a.__shady||{};a.__shady.root=this;a.__shady.hb="closed"!==this.I?this:null;this.N=!1;this.b=[];this.a=null;b=O(a);for(var c=0,
d=b.length;c<d;c++)W.call(a,b[c])};l.prototype.J=function(){var a=this;this.N||(this.N=!0,Cb(function(){return a.ua()}))};l.prototype.A=function(){for(var a=this,b=this;b;)b.N&&(a=b),b=b.Va();return a};l.prototype.Va=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.h(d))return a};l.prototype.ua=function(){this.N&&this.A()._renderRoot()};l.prototype._renderRoot=function(){this.N=!1;this.s();this.m()};l.prototype.s=function(){for(var a=
0,b;a<this.b.length;a++)b=this.b[a],this.l(b);for(b=this.host.firstChild;b;b=b.nextSibling)this.f(b);for(a=0;a<this.b.length;a++){b=this.b[a];if(!b.__shady.assignedNodes.length)for(var c=b.firstChild;c;c=c.nextSibling)this.f(c,b);c=b.parentNode;(c=c.__shady&&c.__shady.root)&&c.sa()&&c._renderRoot();this.c(b.__shady.O,b.__shady.assignedNodes);if(c=b.__shady.ta){for(var d=0;d<c.length;d++)c[d].__shady.ha=null;b.__shady.ta=null;c.length>b.__shady.assignedNodes.length&&(b.__shady.ia=!0)}b.__shady.ia&&
(b.__shady.ia=!1,this.g(b))}};l.prototype.f=function(a,b){a.__shady=a.__shady||{};var c=a.__shady.ha;a.__shady.ha=null;b||(b=(b=this.a[a.slot||"__catchall"])&&b[0]);b?(b.__shady.assignedNodes.push(a),a.__shady.assignedSlot=b):a.__shady.assignedSlot=void 0;c!==a.__shady.assignedSlot&&a.__shady.assignedSlot&&(a.__shady.assignedSlot.__shady.ia=!0)};l.prototype.l=function(a){var b=a.__shady.assignedNodes;a.__shady.assignedNodes=[];a.__shady.O=[];if(a.__shady.ta=b)for(var c=0;c<b.length;c++){var d=b[c];
d.__shady.ha=d.__shady.assignedSlot;d.__shady.assignedSlot===a&&(d.__shady.assignedSlot=null)}};l.prototype.c=function(a,b){for(var c=0,d;c<b.length&&(d=b[c]);c++)"slot"==d.localName?this.c(a,d.__shady.assignedNodes):a.push(b[c])};l.prototype.g=function(a){$a.call(a,new Event("slotchange"));a.__shady.assignedSlot&&this.g(a.__shady.assignedSlot)};l.prototype.m=function(){for(var a=this.b,b=[],c=0;c<a.length;c++){var d=a[c].parentNode;d.__shady&&d.__shady.root||!(0>b.indexOf(d))||b.push(d)}for(a=0;a<
b.length;a++)c=b[a],this.G(c===this?this.host:c,this.o(c))};l.prototype.o=function(a){var b=[];a=a.childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.h(d)){d=d.__shady.O;for(var e=0;e<d.length;e++)b.push(d[e])}else b.push(d)}return b};l.prototype.h=function(a){return"slot"==a.localName};l.prototype.G=function(a,b){for(var c=O(a),d=od(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.S.length&&(k=g.S[h]);h++)Q(k)===a&&W.call(a,k),c.splice(g.index+f,1);f-=g.V}for(e=
0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.V;h++)k=b[h],Na.call(a,k,f),c.splice(h,0,k)};l.prototype.Ra=function(a){this.a=this.a||{};this.b=this.b||[];for(var b=0;b<a.length;b++){var c=a[b];c.__shady=c.__shady||{};da(c);da(c.parentNode);var d=this.i(c);if(this.a[d]){var e=e||{};e[d]=!0;this.a[d].push(c)}else this.a[d]=[c];this.b.push(c)}if(e)for(var f in e)this.a[f]=this.j(this.a[f])};l.prototype.i=function(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.Pa=b};
l.prototype.j=function(a){return a.sort(function(a,c){a=mc(a);for(var b=mc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})};l.prototype.Ua=function(a){this.a=this.a||{};this.b=this.b||[];var b=this.a,c;for(c in b)for(var d=b[c],e=0;e<d.length;e++){var f=d[e],g;a:{for(g=f;g;){if(g==a){g=!0;break a}g=g.parentNode}g=void 0}if(g){d.splice(e,1);var h=this.b.indexOf(f);0<=h&&this.b.splice(h,1);e--;this.F(f);h=!0}}return h};l.prototype.Wa=
function(a){var b=a.Pa,c=this.i(a);if(c!==b){b=this.a[b];var d=b.indexOf(a);0<=d&&b.splice(d,1);b=this.a[c]||(this.a[c]=[]);b.push(a);1<b.length&&(this.a[c]=this.j(b))}};l.prototype.F=function(a){if(a=a.__shady.O)for(var b=0;b<a.length;b++){var c=a[b],d=Q(c);d&&W.call(d,c)}};l.prototype.sa=function(){return!!this.b.length};l.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.fa=this;this.host.addEventListener(a,b,c)};l.prototype.removeEventListener=function(a,b,c){"object"!==
typeof c&&(c={capture:!!c});c.fa=this;this.host.removeEventListener(a,b,c)};l.prototype.getElementById=function(a){return ha(this,function(b){return b.id==a},function(a){return!!a})[0]||null};(function(a){H(a,Ia,!0);H(a,Ja,!0)})(l.prototype);var sd={addEventListener:ec.bind(window),removeEventListener:ic.bind(window)},rd={addEventListener:ec,removeEventListener:ic,appendChild:function(a){return Ka(this,a)},insertBefore:function(a,b){return Ka(this,a,b)},removeChild:function(a){return La(this,a)},
replaceChild:function(a,b){Ka(this,a,b);La(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=Za.call(this,a);else if(b=Za.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Wb(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof
l?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){fa();return $a.call(this,a)}},td={get assignedSlot(){return nc(this)}},Sa={querySelector:function(a){return ha(this,function(b){return Bc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return ha(this,function(b){return Bc.call(b,a)})}},qc={assignedNodes:function(a){if("slot"===this.localName)return Yb(this),this.__shady?(a&&a.flatten?this.__shady.O:this.__shady.assignedNodes)||[]:[]}},oc=Da({setAttribute:function(a,
b){Zb(this,a,b)},removeAttribute:function(a){Cc.call(this,a);Vb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new l(xb,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){Zb(this,"slot",a)},get assignedSlot(){return nc(this)}},Sa,qc);Object.defineProperties(oc,Dc);var pc=Da({importNode:function(a,b){return ac(a,b)},getElementById:function(a){return ha(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},
Sa);Object.defineProperties(pc,{_activeElement:Ja.activeElement});var Hd=HTMLElement.prototype.blur,ud=Da({blur:function(){var a=this.__shady&&this.__shady.root;(a=a&&a.activeElement)?a.blur():Hd.call(this)}});B.ya&&(window.ShadyDOM={inUse:B.ya,patch:function(a){return a},isShadyRoot:E,enqueue:Cb,flush:fa,settings:B,filterMutations:hd,observeChildren:fd,unobserveChildren:ed,nativeMethods:Bd,nativeTree:Cd},window.Event=Ed,window.CustomEvent=Fd,window.MouseEvent=Gd,nd(),qd(),window.ShadowRoot=l);var vd=
new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));v.prototype.B=function(a,b){this.o.set(a,b);this.m.set(b.constructor,b)};v.prototype.c=function(a){return this.o.get(a)};v.prototype.A=function(a){return this.m.get(a)};v.prototype.s=function(a){this.h=!0;this.j.push(a)};v.prototype.l=function(a){var b=this;this.h&&K(a,function(a){return b.g(a)})};v.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=
!0;for(var b=0;b<this.j.length;b++)this.j[b](a)}};v.prototype.b=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.i(c)}};v.prototype.a=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};v.prototype.f=function(a,b){var c=this;b=b?b:{};var d=b.nb||new Set,e=b.Ea||function(a){return c.i(a)},f=[];K(a,function(a){if("link"===a.localName&&
"import"===a.getAttribute("rel")){var b=a.import;b instanceof Node&&"complete"===b.readyState?(b.__CE_isImportDocument=!0,b.__CE_hasRegistry=!0):a.addEventListener("load",function(){var b=a.import;b.__CE_documentLoadHandled||(b.__CE_documentLoadHandled=!0,b.__CE_isImportDocument=!0,b.__CE_hasRegistry=!0,d.delete(b),c.f(b,{nb:d,Ea:e}))})}else f.push(a)},d);if(this.h)for(a=0;a<f.length;a++)this.g(f[a]);for(a=0;a<f.length;a++)e(f[a])};v.prototype.i=function(a){if(void 0===a.__CE_state){var b=this.c(a.localName);
if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}n(a)&&this.connectedCallback(a)}}};v.prototype.connectedCallback=function(a){var b=
a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};v.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};v.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};za.prototype.c=function(){this.K&&this.K.disconnect()};za.prototype.f=function(a){var b=this.a.readyState;"interactive"!==
b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.f(c[d])};wb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};q.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!rc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.c(a))throw Error("A custom element with name '"+a+"' has already been defined.");
if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=d("connectedCallback");var g=d("disconnectedCallback");var h=d("adoptedCallback");var k=d("attributeChangedCallback");var l=b.observedAttributes||[]}catch(Xd){return}finally{this.c=
!1}b={localName:a,constructor:b,connectedCallback:f,disconnectedCallback:g,adoptedCallback:h,attributeChangedCallback:k,observedAttributes:l,constructionStack:[]};this.a.B(a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return c.j()}))};q.prototype.j=function(){var a=this;if(!1!==this.b){this.b=!1;for(var b=this.g,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);this.a.f(document,{Ea:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.a.c(e)&&c.push(b)}}});
for(e=0;e<c.length;e++)this.a.i(c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var g=0;g<f.length;g++)this.a.i(f[g]);(e=this.h.get(e))&&e.c()}}};q.prototype.get=function(a){if(a=this.a.c(a))return a.constructor};q.prototype.whenDefined=function(a){if(!rc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new wb;this.h.set(a,b);this.a.c(a)&&!this.g.some(function(b){return b.localName===a})&&
b.c();return b.f};q.prototype.l=function(a){this.i.c();var b=this.f;this.f=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=q;q.prototype.define=q.prototype.define;q.prototype.get=q.prototype.get;q.prototype.whenDefined=q.prototype.whenDefined;q.prototype.polyfillWrapFlushCallback=q.prototype.l;var va=window.Document.prototype.createElement,$c=window.Document.prototype.createElementNS,Zc=window.Document.prototype.importNode,ad=window.Document.prototype.prepend,bd=window.Document.prototype.append,
lb=window.Node.prototype.cloneNode,ba=window.Node.prototype.appendChild,tb=window.Node.prototype.insertBefore,wa=window.Node.prototype.removeChild,ub=window.Node.prototype.replaceChild,ya=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),kb=window.Element.prototype.attachShadow,ta=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),xa=window.Element.prototype.getAttribute,mb=window.Element.prototype.setAttribute,ob=window.Element.prototype.removeAttribute,ca=window.Element.prototype.getAttributeNS,
nb=window.Element.prototype.setAttributeNS,pb=window.Element.prototype.removeAttributeNS,rb=window.Element.prototype.insertAdjacentElement,Qc=window.Element.prototype.prepend,Rc=window.Element.prototype.append,Tc=window.Element.prototype.before,Uc=window.Element.prototype.after,Vc=window.Element.prototype.replaceWith,Wc=window.Element.prototype.remove,dd=window.HTMLElement,ua=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),qb=window.HTMLElement.prototype.insertAdjacentElement,
vb=new function(){},na=window.customElements;if(!na||na.forcePolyfill||"function"!=typeof na.define||"function"!=typeof na.get){var Y=new v;cd(Y);Yc(Y);Xc(Y);Pc(Y);document.__CE_hasRegistry=!0;var Id=new q(Y);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Id})}var G={STYLE_RULE:1,ca:7,MEDIA_RULE:4,ma:1E3},D={$a:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,va:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,za:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,
gb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,mb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,fb:/^@[^\s]*keyframes/,Aa:/\s+/g},x=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var z=window.ShadyCSS.nativeCss;else window.ShadyCSS?(uc(window.ShadyCSS),window.ShadyCSS=void 0):uc(window.WebComponents&&window.WebComponents.flags);var oa=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,
pa=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Jd=/(--[\w-]+)\s*([:,;)]|$)/gi,Kd=/(animation\s*:)|(animation-name\s*:)/,xd=/@media\s(.*)/,Ld=/\{[^}]*\}/g,M=null;r.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};r.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.s(a,b,c);if(a="template"===a.localName?(a.content||a.rb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};r.prototype.s=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),
a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Md);c?d&&(b=d.replace("style-scope","").replace(b,""),ka(a,b)):ka(a,(d?d+" ":"")+"style-scope "+b)}};r.prototype.b=function(a,b,c){var d=a.__cssBuild;x||"shady"===d?b=R(b,c):(a=N(a),b=this.F(b,a.is,a.T,c)+"\n\n");return b.trim()};r.prototype.F=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return R(a,function(a){a.c||(f.M(a,b,e),a.c=!0);d&&d(a,b,e)})};r.prototype.h=function(a){return a?
Nd+a:""};r.prototype.f=function(a,b){return b?"[is="+a+"]":a};r.prototype.M=function(a,b,c){this.j(a,this.g,b,c)};r.prototype.j=function(a,b,c,d){a.selector=a.v=this.l(a,b,c,d)};r.prototype.l=function(a,b,c,d){var e=a.selector.split(Ec);if(!vc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Ec)};r.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Od,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Pd,cb+" $1");return a=a.replace(Qd,
function(a,g,h){e||(a=d.A(h,g,b,c),e=e||a.stop,g=a.Za,h=a.value);return g+h})};r.prototype.A=function(a,b,c,d){var e=a.indexOf(db);0<=a.indexOf(cb)?a=this.I(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(Rd,function(a,b){return" > "+b}))}a=a.replace(Sd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,Za:b,stop:f}};r.prototype.m=function(a,b){a=a.split(Fc);a[0]+=b;return a.join(Fc)};r.prototype.I=function(a,b){var c=a.match(Gc);
return(c=c&&c[2].trim()||"")?c[0].match(Hc)?a.replace(Gc,function(a,c,f){return b+f}):c.split(Hc)[0]===b?c:Td:a.replace(cb,b)};r.prototype.G=function(a){a.selector=a.parsedSelector;this.o(a);this.j(a,this.B)};r.prototype.o=function(a){a.selector===Ud&&(a.selector="html")};r.prototype.B=function(a){return a.match(db)?this.g(a,Ic):this.m(a.trim(),Ic)};gb.Object.defineProperties(r.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Od=/:(nth[-\w]+)\(([^)]+)\)/,Ic=":not(.style-scope)",
Ec=",",Qd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Hc=/[[.:#*]/,cb=":host",Ud=":root",db="::slotted",Pd=new RegExp("^("+db+")"),Gc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Rd=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Sd=/(.*):dir\((?:(ltr|rtl))\)/,Nd=".",Fc=":",Md="class",Td="should_not_match",u=new r;t.get=function(a){return a?a.__styleInfo:null};t.set=function(a,b){return a.__styleInfo=b};t.prototype.c=function(){return this.D};t.prototype._getStyleRules=t.prototype.c;var Jc=function(a){return a.matches||
a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Vd=navigator.userAgent.match("Trident");p.prototype.M=function(a){var b=this,c={},d=[],e=0;S(a,function(a){b.c(a);a.index=e++;b.G(a.u.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};p.prototype.c=function(a){if(!a.u){var b={},c={};this.b(a,c)&&(b.C=c,a.rules=null);b.cssText=this.F(a);a.u=b}};p.prototype.b=function(a,b){var c=a.u;if(c){if(c.C)return Object.assign(b,
c.C),!0}else{c=a.parsedCssText;for(var d;a=oa.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.F=function(a){return this.I(a.parsedCssText)};p.prototype.I=function(a){return a.replace(Ld,"").replace(oa,"")};p.prototype.G=function(a,b){for(var c;c=Jd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.$=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=
a.indexOf(";"))a=this.f(a,b);else{var c=this;a=xc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};p.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){pa.lastIndex=0;if(e=pa.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e);f=f.trim();f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?
d.slice(0,-1):d||""}return a.join(";")};p.prototype.B=function(a,b){var c="";a.u||this.c(a);a.u.cssText&&(c=this.f(a.u.cssText,b));a.cssText=c};p.prototype.A=function(a,b){var c=a.cssText,d=a.cssText;null==a.xa&&(a.xa=Kd.test(c));if(a.xa)if(null==a.X){a.X=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.X.push(e))}else{for(e=0;e<a.X.length;++e)d=b[a.X[e]],c=d(c);d=c}a.cssText=d};p.prototype.Z=function(a,b){var c={},d=this,e=[];S(a,function(a){a.u||d.c(a);var f=a.v||a.parsedSelector;b&&a.u.C&&f&&Jc.call(b,
f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{C:c,key:e}};p.prototype.ba=function(a,b,c,d){b.u||this.c(b);if(b.u.C){var e=N(a);a=e.is;e=e.T;e=a?u.f(a,e):"html";var f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(x&&!b.v&&(b.v=u.l(b,u.g,u.h(a),e)),c=b.v||e),d({lb:c,eb:h,tb:g})}};p.prototype.Y=
function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;S(b,function(b){e.ba(a,b,f,function(f){Jc.call(a.sb||a,f.lb)&&(f.eb?e.b(b,c):e.b(b,d))})},null,!0);return{jb:d,cb:c}};p.prototype.aa=function(a,b,c){var d=this,e=N(a),f=u.f(e.is,e.T),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])");e=t.get(a).D;var h=this.h(e,c);return u.b(a,e,function(a){d.B(a,b);x||vc(a)||!a.cssText||(d.A(a,h),d.l(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!x&&a)for(var d=
dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},pc={get composed(){!1!==this.isTrusted&&void 0===this.da&&(this.da=Ld[this.type]);return this.da||!1},composedPath:function(){this.pa||(this.pa=Sa(this.__target,this.composed));return this.pa},get target(){return fc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.qa)return null;this.ra||(this.ra=Sa(this.qa,!0));return fc(this.currentTarget,this.ra)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);
this.ea=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ea=this.Ka=!0}},Ua={focus:!0,blur:!0},Md=Ta(window.Event),Nd=Ta(window.CustomEvent),Od=Ta(window.MouseEvent),Bb={};l.prototype=Object.create(DocumentFragment.prototype);l.prototype.B=function(a,b){this.Ma="ShadyRoot";ea(a);ea(this);this.host=a;this.I=b&&b.mode;a.__shady=a.__shady||{};a.__shady.root=this;a.__shady.gb="closed"!==this.I?this:null;this.O=!1;this.b=[];this.a=null;b=O(a);for(var c=0,
d=b.length;c<d;c++)W.call(a,b[c])};l.prototype.J=function(){var a=this;this.O||(this.O=!0,Gb(function(){return a.ua()}))};l.prototype.A=function(){for(var a=this,b=this;b;)b.O&&(a=b),b=b.Ua();return a};l.prototype.Ua=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.h(d))return a};l.prototype.ua=function(){this.O&&this.A()._renderRoot()};l.prototype._renderRoot=function(){this.O=!1;this.s();this.m()};l.prototype.s=function(){for(var a=
0,b;a<this.b.length;a++)b=this.b[a],this.l(b);for(b=this.host.firstChild;b;b=b.nextSibling)this.f(b);for(a=0;a<this.b.length;a++){b=this.b[a];if(!b.__shady.assignedNodes.length)for(var c=b.firstChild;c;c=c.nextSibling)this.f(c,b);c=b.parentNode;(c=c.__shady&&c.__shady.root)&&c.sa()&&c._renderRoot();this.c(b.__shady.P,b.__shady.assignedNodes);if(c=b.__shady.ta){for(var d=0;d<c.length;d++)c[d].__shady.ha=null;b.__shady.ta=null;c.length>b.__shady.assignedNodes.length&&(b.__shady.ia=!0)}b.__shady.ia&&
(b.__shady.ia=!1,this.g(b))}};l.prototype.f=function(a,b){a.__shady=a.__shady||{};var c=a.__shady.ha;a.__shady.ha=null;b||(b=(b=this.a[a.slot||"__catchall"])&&b[0]);b?(b.__shady.assignedNodes.push(a),a.__shady.assignedSlot=b):a.__shady.assignedSlot=void 0;c!==a.__shady.assignedSlot&&a.__shady.assignedSlot&&(a.__shady.assignedSlot.__shady.ia=!0)};l.prototype.l=function(a){var b=a.__shady.assignedNodes;a.__shady.assignedNodes=[];a.__shady.P=[];if(a.__shady.ta=b)for(var c=0;c<b.length;c++){var d=b[c];
d.__shady.ha=d.__shady.assignedSlot;d.__shady.assignedSlot===a&&(d.__shady.assignedSlot=null)}};l.prototype.c=function(a,b){for(var c=0,d;c<b.length&&(d=b[c]);c++)"slot"==d.localName?this.c(a,d.__shady.assignedNodes):a.push(b[c])};l.prototype.g=function(a){cb.call(a,new Event("slotchange"));a.__shady.assignedSlot&&this.g(a.__shady.assignedSlot)};l.prototype.m=function(){for(var a=this.b,b=[],c=0;c<a.length;c++){var d=a[c].parentNode;d.__shady&&d.__shady.root||!(0>b.indexOf(d))||b.push(d)}for(a=0;a<
b.length;a++)c=b[a],this.G(c===this?this.host:c,this.o(c))};l.prototype.o=function(a){var b=[];a=a.childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.h(d)){d=d.__shady.P;for(var e=0;e<d.length;e++)b.push(d[e])}else b.push(d)}return b};l.prototype.h=function(a){return"slot"==a.localName};l.prototype.G=function(a,b){for(var c=O(a),d=wd(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.T.length&&(k=g.T[h]);h++)Q(k)===a&&W.call(a,k),c.splice(g.index+f,1);f-=g.W}for(e=
0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.W;h++)k=b[h],Qa.call(a,k,f),c.splice(h,0,k)};l.prototype.Qa=function(a){this.a=this.a||{};this.b=this.b||[];for(var b=0;b<a.length;b++){var c=a[b];c.__shady=c.__shady||{};ea(c);ea(c.parentNode);var d=this.i(c);if(this.a[d]){var e=e||{};e[d]=!0;this.a[d].push(c)}else this.a[d]=[c];this.b.push(c)}if(e)for(var f in e)this.a[f]=this.j(this.a[f])};l.prototype.i=function(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.Oa=b};
l.prototype.j=function(a){return a.sort(function(a,c){a=qc(a);for(var b=qc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})};l.prototype.Ta=function(a){this.a=this.a||{};this.b=this.b||[];var b=this.a,c;for(c in b)for(var d=b[c],e=0;e<d.length;e++){var f=d[e],g;a:{for(g=f;g;){if(g==a){g=!0;break a}g=g.parentNode}g=void 0}if(g){d.splice(e,1);var h=this.b.indexOf(f);0<=h&&this.b.splice(h,1);e--;this.F(f);h=!0}}return h};l.prototype.Va=
function(a){var b=a.Oa,c=this.i(a);if(c!==b){b=this.a[b];var d=b.indexOf(a);0<=d&&b.splice(d,1);b=this.a[c]||(this.a[c]=[]);b.push(a);1<b.length&&(this.a[c]=this.j(b))}};l.prototype.F=function(a){if(a=a.__shady.P)for(var b=0;b<a.length;b++){var c=a[b],d=Q(c);d&&W.call(d,c)}};l.prototype.sa=function(){return!!this.b.length};l.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.fa=this;this.host.addEventListener(a,b,c)};l.prototype.removeEventListener=function(a,b,c){"object"!==
typeof c&&(c={capture:!!c});c.fa=this;this.host.removeEventListener(a,b,c)};l.prototype.getElementById=function(a){return ia(this,function(b){return b.id==a},function(a){return!!a})[0]||null};(function(a){H(a,La,!0);H(a,Ma,!0)})(l.prototype);var Ad={addEventListener:ic.bind(window),removeEventListener:mc.bind(window)},zd={addEventListener:ic,removeEventListener:mc,appendChild:function(a){return Na(this,a)},insertBefore:function(a,b){return Na(this,a,b)},removeChild:function(a){return Oa(this,a)},
replaceChild:function(a,b){Na(this,a,b);Oa(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=bb.call(this,a);else if(b=bb.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return $b(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof
l?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){ha();return cb.call(this,a)}},Bd={get assignedSlot(){return rc(this)}},Va={querySelector:function(a){return ia(this,function(b){return Fc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return ia(this,function(b){return Fc.call(b,a)})}},uc={assignedNodes:function(a){if("slot"===this.localName)return bc(this),this.__shady?(a&&a.flatten?this.__shady.P:this.__shady.assignedNodes)||[]:[]}},sc=Ga({setAttribute:function(a,
b){cc(this,a,b)},removeAttribute:function(a){Gc.call(this,a);Zb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new l(Bb,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){cc(this,"slot",a)},get assignedSlot(){return rc(this)}},Va,uc);Object.defineProperties(sc,Hc);var tc=Ga({importNode:function(a,b){return ec(a,b)},getElementById:function(a){return ia(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},
Va);Object.defineProperties(tc,{_activeElement:Ma.activeElement});var Pd=HTMLElement.prototype.blur,Cd=Ga({blur:function(){var a=this.__shady&&this.__shady.root;(a=a&&a.activeElement)?a.blur():Pd.call(this)}});B.ya&&(window.ShadyDOM={inUse:B.ya,patch:function(a){return a},isShadyRoot:E,enqueue:Gb,flush:ha,settings:B,filterMutations:pd,observeChildren:nd,unobserveChildren:md,nativeMethods:Jd,nativeTree:Kd},window.Event=Md,window.CustomEvent=Nd,window.MouseEvent=Od,vd(),yd(),window.ShadowRoot=l);var Dd=
new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));v.prototype.B=function(a,b){this.m.set(a,b);this.l.set(b.constructor,b)};v.prototype.f=function(a){return this.m.get(a)};v.prototype.A=function(a){return this.l.get(a)};v.prototype.o=function(a){this.h=!0;this.i.push(a)};v.prototype.j=function(a){var b=this;this.h&&K(a,function(a){return b.g(a)})};v.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=
!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};v.prototype.b=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.s(c)}};v.prototype.a=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};v.prototype.c=function(a,b){var c=this;b=b?b:new Set;var d=[];K(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=
a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.s(d[a])};v.prototype.s=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);
var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}n(a)&&this.connectedCallback(a)}}};v.prototype.connectedCallback=function(a){var b=a.__CE_definition;
b.connectedCallback&&b.connectedCallback.call(a)};v.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};v.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};Ca.prototype.c=function(){this.K&&this.K.disconnect()};Ca.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==
b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};Ab.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};q.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!vc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");
if(this.f)throw Error("A custom element is already being defined.");this.f=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=d("connectedCallback");var g=d("disconnectedCallback");var h=d("adoptedCallback");var k=d("attributeChangedCallback");var l=b.observedAttributes||[]}catch(ba){return}finally{this.f=
!1}this.a.B(a,{localName:a,constructor:b,connectedCallback:f,disconnectedCallback:g,adoptedCallback:h,attributeChangedCallback:k,observedAttributes:l,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};q.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};q.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};q.prototype.whenDefined=function(a){if(!vc(a))return Promise.reject(new SyntaxError("'"+
a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new Ab;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};q.prototype.l=function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=q;q.prototype.define=q.prototype.define;q.prototype.get=q.prototype.get;q.prototype.whenDefined=q.prototype.whenDefined;q.prototype.polyfillWrapFlushCallback=q.prototype.l;var ya=window.Document.prototype.createElement,
hd=window.Document.prototype.createElementNS,gd=window.Document.prototype.importNode,id=window.Document.prototype.prepend,jd=window.Document.prototype.append,pb=window.Node.prototype.cloneNode,ca=window.Node.prototype.appendChild,xb=window.Node.prototype.insertBefore,za=window.Node.prototype.removeChild,yb=window.Node.prototype.replaceChild,Ba=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ob=window.Element.prototype.attachShadow,wa=Object.getOwnPropertyDescriptor(window.Element.prototype,
"innerHTML"),Aa=window.Element.prototype.getAttribute,qb=window.Element.prototype.setAttribute,sb=window.Element.prototype.removeAttribute,da=window.Element.prototype.getAttributeNS,rb=window.Element.prototype.setAttributeNS,tb=window.Element.prototype.removeAttributeNS,vb=window.Element.prototype.insertAdjacentElement,Yc=window.Element.prototype.prepend,Zc=window.Element.prototype.append,ad=window.Element.prototype.before,bd=window.Element.prototype.after,cd=window.Element.prototype.replaceWith,
dd=window.Element.prototype.remove,ld=window.HTMLElement,xa=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ub=window.HTMLElement.prototype.insertAdjacentElement,zb=new function(){},oa=window.customElements;if(!oa||oa.forcePolyfill||"function"!=typeof oa.define||"function"!=typeof oa.get){var Y=new v;kd(Y);fd(Y);ed(Y);Xc(Y);document.__CE_hasRegistry=!0;var Qd=new q(Y);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Qd})}var G={STYLE_RULE:1,
ca:7,MEDIA_RULE:4,ma:1E3},D={Za:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,va:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,za:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,fb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,kb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,eb:/^@[^\s]*keyframes/,Aa:/\s+/g},x=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var z=window.ShadyCSS.nativeCss;else window.ShadyCSS?(yc(window.ShadyCSS),
window.ShadyCSS=void 0):yc(window.WebComponents&&window.WebComponents.flags);var pa=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,qa=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Rd=/(--[\w-]+)\s*([:,;)]|$)/gi,Sd=/(animation\s*:)|(animation-name\s*:)/,Fd=/@media\s(.*)/,Td=/\{[^}]*\}/g,M=null;r.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};r.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&
this.A(a,b,c);if(a="template"===a.localName?(a.content||a.ob).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};r.prototype.A=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Ud);c?d&&(b=d.replace("style-scope","").replace(b,""),la(a,b)):la(a,(d?d+" ":"")+"style-scope "+b)}};r.prototype.b=function(a,b,c){var d=a.__cssBuild;x||
"shady"===d?b=R(b,c):(a=N(a),b=this.G(b,a.is,a.U,c)+"\n\n");return b.trim()};r.prototype.G=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return R(a,function(a){a.c||(f.N(a,b,e),a.c=!0);d&&d(a,b,e)})};r.prototype.h=function(a){return a?Vd+a:""};r.prototype.f=function(a,b){return b?"[is="+a+"]":a};r.prototype.N=function(a,b,c){this.j(a,this.g,b,c)};r.prototype.j=function(a,b,c,d){a.selector=a.v=this.l(a,b,c,d)};r.prototype.l=function(a,b,c,d){var e=a.selector.split(Ic);if(!zc(a)){a=0;for(var f=
e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Ic)};r.prototype.o=function(a){return a.replace(fb,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})};r.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();var f=fb.test(a);f&&(a=a.replace(fb,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=this.o(a));a=a.replace(Wd,gb+" $1");a=a.replace(Xd,function(a,f,k){e||(a=d.B(k,f,b,c),e=e||a.stop,f=
a.Ya,k=a.value);return f+k});f&&(a=this.o(a));return a};r.prototype.B=function(a,b,c,d){var e=a.indexOf(hb);0<=a.indexOf(gb)?a=this.F(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(Yd,function(a,b){return" > "+b}))}a=a.replace(Zd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,Ya:b,stop:f}};r.prototype.m=function(a,b){a=a.split(Jc);a[0]+=b;return a.join(Jc)};r.prototype.F=function(a,b){var c=a.match(Kc);return(c=c&&c[2].trim()||
"")?c[0].match(Lc)?a.replace(Kc,function(a,c,f){return b+f}):c.split(Lc)[0]===b?c:$d:a.replace(gb,b)};r.prototype.M=function(a){a.selector=a.parsedSelector;this.s(a);this.j(a,this.I)};r.prototype.s=function(a){a.selector===ae&&(a.selector="html")};r.prototype.I=function(a){return a.match(hb)?this.g(a,Mc):this.m(a.trim(),Mc)};lb.Object.defineProperties(r.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var fb=/:(nth[-\w]+)\(([^)]+)\)/,Mc=":not(.style-scope)",Ic=",",
Xd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Lc=/[[.:#*]/,gb=":host",ae=":root",hb="::slotted",Wd=new RegExp("^("+hb+")"),Kc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Yd=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Zd=/(.*):dir\((?:(ltr|rtl))\)/,Vd=".",Jc=":",Ud="class",$d="should_not_match",u=new r;t.get=function(a){return a?a.__styleInfo:null};t.set=function(a,b){return a.__styleInfo=b};t.prototype.c=function(){return this.D};t.prototype._getStyleRules=t.prototype.c;var Nc=function(a){return a.matches||
a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),be=navigator.userAgent.match("Trident");p.prototype.M=function(a){var b=this,c={},d=[],e=0;S(a,function(a){b.c(a);a.index=e++;b.G(a.u.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};p.prototype.c=function(a){if(!a.u){var b={},c={};this.b(a,c)&&(b.C=c,a.rules=null);b.cssText=this.F(a);a.u=b}};p.prototype.b=function(a,b){var c=a.u;if(c){if(c.C)return Object.assign(b,
c.C),!0}else{c=a.parsedCssText;for(var d;a=pa.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.F=function(a){return this.I(a.parsedCssText)};p.prototype.I=function(a){return a.replace(Td,"").replace(pa,"")};p.prototype.G=function(a,b){for(var c;c=Rd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.$=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=
a.indexOf(";"))a=this.f(a,b);else{var c=this;a=Bc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};p.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){qa.lastIndex=0;if(e=qa.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e);f=f.trim();f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?
d.slice(0,-1):d||""}return a.join(";")};p.prototype.B=function(a,b){var c="";a.u||this.c(a);a.u.cssText&&(c=this.f(a.u.cssText,b));a.cssText=c};p.prototype.A=function(a,b){var c=a.cssText,d=a.cssText;null==a.xa&&(a.xa=Sd.test(c));if(a.xa)if(null==a.Y){a.Y=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.Y.push(e))}else{for(e=0;e<a.Y.length;++e)d=b[a.Y[e]],c=d(c);d=c}a.cssText=d};p.prototype.Z=function(a,b){var c={},d=this,e=[];S(a,function(a){a.u||d.c(a);var f=a.v||a.parsedSelector;b&&a.u.C&&f&&Nc.call(b,
f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{C:c,key:e}};p.prototype.ba=function(a,b,c,d){b.u||this.c(b);if(b.u.C){var e=N(a);a=e.is;e=e.U;e=a?u.f(a,e):"html";var f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(x&&!b.v&&(b.v=u.l(b,u.g,u.h(a),e)),c=b.v||e),d({jb:c,cb:h,qb:g})}};p.prototype.N=
function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;S(b,function(b){e.ba(a,b,f,function(f){Nc.call(a.pb||a,f.jb)&&(f.cb?e.b(b,c):e.b(b,d))})},null,!0);return{hb:d,bb:c}};p.prototype.aa=function(a,b,c){var d=this,e=N(a),f=u.f(e.is,e.U),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])");e=t.get(a).D;var h=this.h(e,c);return u.b(a,e,function(a){d.B(a,b);x||zc(a)||!a.cssText||(d.A(a,h),d.l(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!x&&a)for(var d=
0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};p.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};p.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.v=a.v||a.selector;a.selector=a.v.replace(a.keyframesName,a.a)};p.prototype.l=function(a,b,c,d){a.v=a.v||a.selector;d="."+d;for(var e=a.v.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};p.prototype.o=
function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ka(a,e)};p.prototype.s=function(a,b,c,d){b=d?d.textContent||"":this.aa(a,b,c);var e=t.get(a),f=e.a;f&&!x&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));x?e.a?(e.a.textContent=b,d=e.a):b&&(d=Va(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Vd&&-1<b.indexOf("@media")&&(d.textContent=b),wc(d,null,e.b)):b&&(d=Va(b,c,null,
e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.m=function(a,b){var c=ja(a),d=this;a.textContent=R(c,function(a){var c=a.cssText=a.parsedCssText;a.u&&a.u.cssText&&(c=c.replace(D.va,"").replace(D.za,""),a.cssText=d.f(c,b))})};gb.Object.defineProperties(p.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var J=new p,eb={},qa=window.customElements;if(qa&&!x){var Wd=qa.define;qa.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+
a+" "),e=document.head;e.insertBefore(d,(M?M.nextSibling:null)||e.firstChild);M=d;eb[a]=d;return Wd.call(qa,a,b,c)}}aa.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.C[e]!==b[e])return!1}return!0};aa.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({C:b,styleElement:c,w:d});e.length>this.c&&e.shift();this.cache[a]=e};aa.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!x){var Kc=new MutationObserver(yc),
Lc=function(a){Kc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Lc(document);else{var fb=function(){Lc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(fb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){fb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else fb()})}ib=function(){yc(Kc.takeRecords())}}var la={},Ad=Promise.resolve(),
Wa=null,Ac=window.HTMLImports&&window.HTMLImports.whenReady||null,Xa,ra=null,Z=null;C.prototype.wa=function(){!this.enqueued&&Z&&(this.enqueued=!0,hb(Z))};C.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.wa())};C.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};C.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);d&&
(d=d.__appliedElement||d,ra&&ra(d),c.__shadyCSSCachedStyle=d)}}return a};C.prototype.addCustomStyle=C.prototype.b;C.prototype.getStyleForCustomStyle=C.prototype.a;C.prototype.processStyles=C.prototype.c;Object.defineProperties(C.prototype,{transformCallback:{get:function(){return ra},set:function(a){ra=a}},validateCallback:{get:function(){return Z},set:function(a){var b=!1;Z||(b=!0);Z=a;b&&this.wa()}}});var Mc=new aa;k.prototype.A=function(){ib()};k.prototype.Y=function(a){var b=this.m[a]=(this.m[a]||
0)+1;return a+"-"+b};k.prototype.Ia=function(a){return ja(a)};k.prototype.Ka=function(a){return R(a)};k.prototype.M=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.$=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;la[b]=a;var d=this.$(a),e=this.M(a);
c={is:b,extends:c,pb:d};x||u.a(a.content,b);this.c();var f=pa.test(e)||oa.test(e);pa.lastIndex=0;oa.lastIndex=0;e=Ua(e);f&&z&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.g=d;d=[];z||(d=J.M(a._styleAst));if(!d.length||z)b=this.Z(c,a._styleAst,x?a.content:null,eb[b]),a.a=b;a.c=d}};k.prototype.Z=function(a,b,c,d){b=u.b(a,b);if(b.length)return Va(b,a.is,c,d)};k.prototype.ba=function(a){var b=N(a),c=b.is;b=b.T;var d=eb[c];c=la[c];if(c){var e=c._styleAst;var f=c.c}return t.set(a,new t(e,d,f,0,b))};
k.prototype.F=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=yd)};k.prototype.G=function(){var a=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(b){a.s(b)},this.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.i)&&a.f()})})};k.prototype.c=function(){this.F();this.G()};k.prototype.f=function(){this.c();
if(this.b){var a=this.b.processStyles();this.b.enqueued&&(z?this.Ga(a):(this.o(this.g,this.h),this.B(a)),this.b.enqueued=!1,this.i&&!z&&this.styleDocument())}};k.prototype.styleElement=function(a,b){var c=N(a).is,d=t.get(a);d||(d=this.ba(a));this.j(a)||(this.i=!0);b&&(d.L=d.L||{},Object.assign(d.L,b));if(z){if(d.L){b=d.L;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=la[c])||this.j(a))&&e&&e.a&&!zc(e)){if(zc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),
this.a&&this.a.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.D),zd(e);x&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.D));d.D=e._styleAst}}else this.o(a,d),d.ja&&d.ja.length&&this.I(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?t.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.I=function(a,b){var c=N(a).is,d=Mc.fetch(c,b.H,b.ja),e=d?d.styleElement:null,f=b.w;b.w=d&&d.w||this.Y(c);e=J.s(a,b.H,b.w,e);x||J.o(a,b.w,f);d||
Mc.b(c,b.H,e,b.w)};k.prototype.o=function(a,b){var c=this.l(a),d=t.get(c);c=Object.create(d.H||null);var e=J.Y(a,b.D);a=J.Z(d.D,a).C;Object.assign(c,e.cb,a,e.jb);this.aa(c,b.L);J.$(c);b.H=c};k.prototype.aa=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);
else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Ga=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&this.Fa(c)}};k.prototype.B=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&J.m(c,this.h.H)}};k.prototype.s=function(a){var b=this,c=ja(a);S(c,function(a){x?u.o(a):u.G(a);z&&(b.c(),b.a&&b.a.transformRule(a))});z?a.textContent=R(c):this.h.D.rules.push(c)};k.prototype.Fa=function(a){if(z&&
this.a){var b=ja(a);this.c();this.a.transformRules(b);a.textContent=R(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;z||(c=(t.get(a)||t.get(this.l(a))).H[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.Ja=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}}c&&b.push(u.c,c);z||(c=t.get(a))&&c.w&&b.push(J.g,
c.w);ka(a,b.join(" "))};k.prototype.Ha=function(a){return t.get(a)};k.prototype.flush=k.prototype.A;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Ja;k.prototype._styleInfoForNode=k.prototype.Ha;k.prototype.transformCustomStyleForDocument=
k.prototype.s;k.prototype.getStyleAst=k.prototype.Ia;k.prototype.styleAstToString=k.prototype.Ka;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return x}},nativeCss:{get:function(){return z}}});var F=new k;if(window.ShadyCSS){var Nc=window.ShadyCSS.ApplyShim;var Oc=window.ShadyCSS.CustomStyleInterface}window.ShadyCSS={ScopingShim:F,prepareTemplate:function(a,b,c){F.f();F.prepareTemplate(a,b,c)},styleSubtree:function(a,b){F.f();F.styleSubtree(a,
b)},styleElement:function(a){F.f();F.styleElement(a)},styleDocument:function(a){F.f();F.styleDocument(a)},getComputedStyleValue:function(a,b){return F.getComputedStyleValue(a,b)},nativeCss:z,nativeShadow:x};Nc&&(window.ShadyCSS.ApplyShim=Nc);Oc&&(window.ShadyCSS.CustomStyleInterface=Oc);(function(){var a=window.customElements,b=window.HTMLImports;window.WebComponents=window.WebComponents||{};if(a&&a.polyfillWrapFlushCallback){var c,d=function(){if(c){var a=c;c=null;a();return!0}},e=b.whenReady;a.polyfillWrapFlushCallback(function(a){c=
a;e(d)});b.whenReady=function(a){e(function(){d()?b.whenReady(a):a()})}}b.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var a=document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var b=document.querySelector("head");b.insertBefore(a,b.firstChild)})()})();}).call(this);
function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&la(a,e)};p.prototype.s=function(a,b,c,d){b=d?d.textContent||"":this.aa(a,b,c);var e=t.get(a),f=e.a;f&&!x&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));x?e.a?(e.a.textContent=b,d=e.a):b&&(d=Ya(b,c,a.shadowRoot,e.b)):d?d.parentNode||(be&&-1<b.indexOf("@media")&&(d.textContent=b),Ac(d,null,e.b)):b&&(d=Ya(b,c,null,
e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.m=function(a,b){var c=ka(a),d=this;a.textContent=R(c,function(a){var c=a.cssText=a.parsedCssText;a.u&&a.u.cssText&&(c=c.replace(D.va,"").replace(D.za,""),a.cssText=d.f(c,b))})};lb.Object.defineProperties(p.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var J=new p,ib={},ra=window.customElements;if(ra&&!x){var ce=ra.define;ra.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+
a+" "),e=document.head;e.insertBefore(d,(M?M.nextSibling:null)||e.firstChild);M=d;ib[a]=d;return ce.call(ra,a,b,c)}}aa.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.C[e]!==b[e])return!1}return!0};aa.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({C:b,styleElement:c,w:d});e.length>this.c&&e.shift();this.cache[a]=e};aa.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!x){var Oc=new MutationObserver(Cc),
Pc=function(a){Oc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Pc(document);else{var jb=function(){Pc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(jb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){jb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else jb()})}nb=function(){Cc(Oc.takeRecords())}}var ma={},Id=Promise.resolve(),
Za=null,Ec=window.HTMLImports&&window.HTMLImports.whenReady||null,$a,sa=null,Z=null;C.prototype.wa=function(){!this.enqueued&&Z&&(this.enqueued=!0,mb(Z))};C.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.wa())};C.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};C.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);d&&
(d=d.__appliedElement||d,sa&&sa(d),c.__shadyCSSCachedStyle=d)}}return a};C.prototype.addCustomStyle=C.prototype.b;C.prototype.getStyleForCustomStyle=C.prototype.a;C.prototype.processStyles=C.prototype.c;Object.defineProperties(C.prototype,{transformCallback:{get:function(){return sa},set:function(a){sa=a}},validateCallback:{get:function(){return Z},set:function(a){var b=!1;Z||(b=!0);Z=a;b&&this.wa()}}});var Qc=new aa;k.prototype.A=function(){nb()};k.prototype.N=function(a){var b=this.m[a]=(this.m[a]||
0)+1;return a+"-"+b};k.prototype.Ha=function(a){return ka(a)};k.prototype.Ja=function(a){return R(a)};k.prototype.M=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.$=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ma[b]=a;var d=this.$(a),e=this.M(a);
c={is:b,extends:c,mb:d};x||u.a(a.content,b);this.c();var f=qa.test(e)||pa.test(e);qa.lastIndex=0;pa.lastIndex=0;e=Xa(e);f&&z&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.g=d;d=[];z||(d=J.M(a._styleAst));if(!d.length||z)b=this.Z(c,a._styleAst,x?a.content:null,ib[b]),a.a=b;a.c=d}};k.prototype.Z=function(a,b,c,d){b=u.b(a,b);if(b.length)return Ya(b,a.is,c,d)};k.prototype.ba=function(a){var b=N(a),c=b.is;b=b.U;var d=ib[c];c=ma[c];if(c){var e=c._styleAst;var f=c.c}return t.set(a,new t(e,d,f,0,b))};
k.prototype.F=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=Gd)};k.prototype.G=function(){var a=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(b){a.s(b)},this.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.i)&&a.f()})})};k.prototype.c=function(){this.F();this.G()};k.prototype.f=function(){this.c();
if(this.b){var a=this.b.processStyles();this.b.enqueued&&(z?this.Fa(a):(this.o(this.g,this.h),this.B(a)),this.b.enqueued=!1,this.i&&!z&&this.styleDocument())}};k.prototype.styleElement=function(a,b){var c=N(a).is,d=t.get(a);d||(d=this.ba(a));this.j(a)||(this.i=!0);b&&(d.L=d.L||{},Object.assign(d.L,b));if(z){if(d.L){b=d.L;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ma[c])||this.j(a))&&e&&e.a&&!Dc(e)){if(Dc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),
this.a&&this.a.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.D),Hd(e);x&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.D));d.D=e._styleAst}}else this.o(a,d),d.ja&&d.ja.length&&this.I(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?t.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.I=function(a,b){var c=N(a).is,d=Qc.fetch(c,b.H,b.ja),e=d?d.styleElement:null,f=b.w;b.w=d&&d.w||this.N(c);e=J.s(a,b.H,b.w,e);x||J.o(a,b.w,f);d||
Qc.b(c,b.H,e,b.w)};k.prototype.o=function(a,b){var c=this.l(a),d=t.get(c);c=Object.create(d.H||null);var e=J.N(a,b.D);a=J.Z(d.D,a).C;Object.assign(c,e.bb,a,e.hb);this.aa(c,b.L);J.$(c);b.H=c};k.prototype.aa=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);
else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Fa=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&this.Ea(c)}};k.prototype.B=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&J.m(c,this.h.H)}};k.prototype.s=function(a){var b=this,c=ka(a);S(c,function(a){x?u.s(a):u.M(a);z&&(b.c(),b.a&&b.a.transformRule(a))});z?a.textContent=R(c):this.h.D.rules.push(c)};k.prototype.Ea=function(a){if(z&&
this.a){var b=ka(a);this.c();this.a.transformRules(b);a.textContent=R(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;z||(c=(t.get(a)||t.get(this.l(a))).H[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.Ia=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}}c&&b.push(u.c,c);z||(c=t.get(a))&&c.w&&b.push(J.g,
c.w);la(a,b.join(" "))};k.prototype.Ga=function(a){return t.get(a)};k.prototype.flush=k.prototype.A;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Ia;k.prototype._styleInfoForNode=k.prototype.Ga;k.prototype.transformCustomStyleForDocument=
k.prototype.s;k.prototype.getStyleAst=k.prototype.Ha;k.prototype.styleAstToString=k.prototype.Ja;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return x}},nativeCss:{get:function(){return z}}});var F=new k;if(window.ShadyCSS){var Rc=window.ShadyCSS.ApplyShim;var Sc=window.ShadyCSS.CustomStyleInterface}window.ShadyCSS={ScopingShim:F,prepareTemplate:function(a,b,c){F.f();F.prepareTemplate(a,b,c)},styleSubtree:function(a,b){F.f();F.styleSubtree(a,
b)},styleElement:function(a){F.f();F.styleElement(a)},styleDocument:function(a){F.f();F.styleDocument(a)},getComputedStyleValue:function(a,b){return F.getComputedStyleValue(a,b)},nativeCss:z,nativeShadow:x};Rc&&(window.ShadyCSS.ApplyShim=Rc);Sc&&(window.ShadyCSS.CustomStyleInterface=Sc);var kb=window.customElements,ta=window.HTMLImports;window.WebComponents=window.WebComponents||{};if(kb&&kb.polyfillWrapFlushCallback){var ua,Tc=function(){if(ua){var a=ua;ua=null;a();return!0}},Uc=ta.whenReady;kb.polyfillWrapFlushCallback(function(a){ua=
a;Uc(Tc)});ta.whenReady=function(a){Uc(function(){Tc()?ta.whenReady(a):a()})}}ta.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var Vc=document.createElement("style");Vc.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Wc=document.querySelector("head");Wc.insertBefore(Vc,Wc.firstChild)})();}).call(this);
//# sourceMappingURL=webcomponents-hi-sd-ce.js.map

File diff suppressed because one or more lines are too long

View File

@@ -21,21 +21,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
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
*/
'use strict';(function(l){function m(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function g(a){if(w)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!t(b)&&(b=b.parentNode););a.__importDoc=b}return b}function u(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),
c=b.length;c?k(b,function(b){return v(b,function(){--c||a()})}):a()}function q(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function n(a){q(function(){return u(function(){return a&&a()})})}function v(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var c=function(e){a.removeEventListener(e.type,
c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);x&&"style"===a.localName||a.addEventListener("error",c)}}function t(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function h(){var a=this;this.a={};this.b=0;this.g=new MutationObserver(function(b){return a.B(b)});this.g.observe(document.head,{childList:!0,subtree:!0});this.c(document)}function k(a,b,c){var e=a?a.length:0,f=c?-1:1;for(c=c?e-1:0;c<e&&0<=c;c+=f)b(a[c],c)}var w="import"in document.createElement("link"),
y=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return y||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var D=/(^\/)|(^#)|(^[\w-\d]*:)/,E=/(url\()([^)]*)(\))/g,F=/(@import[\s]+(?!url\())([^;]*)(;)/g,G=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,d={w:function(a,b){a.href&&a.setAttribute("href",d.h(a.getAttribute("href"),b));a.src&&a.setAttribute("src",d.h(a.getAttribute("src"),b));
if("style"===a.localName){var c=d.s(a.textContent,b,E);a.textContent=d.s(c,b,F)}},s:function(a,b,c){return a.replace(c,function(a,c,p,h){a=p.replace(/["']/g,"");b&&(a=d.u(a,b));return c+"'"+a+"'"+h})},h:function(a,b){return a&&D.test(a)?a:d.u(a,b)},u:function(a,b){if(void 0===d.f){d.f=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";d.f="http://a/c%20d"===c.href}catch(e){}}if(d.f)return(new URL(a,b)).href;c=d.v;c||(c=document.implementation.createHTMLDocument("temp"),d.v=c,c.j=c.createElement("base"),
c.head.appendChild(c.j),c.i=c.createElement("a"));c.j.href=b;c.i.href=a;return c.i.href||a}},z={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var e=a[1];e=-1<a[0].indexOf(";base64")?atob(e):decodeURIComponent(e);b(e)}else{var f=new XMLHttpRequest;f.open("GET",a,z.async);f.onload=function(){var a=f.responseURL||f.getResponseHeader("Location");a&&!a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var e=f.response||f.responseText;304===f.status||
!f.status||200<=f.status&&300>f.status?b(e,a):c(e)};f.send()}else c("error: href must be specified")}},x=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);h.prototype.c=function(a){var b=this;k(a.querySelectorAll("link[rel=import]"),function(a){return b.m(a)})};h.prototype.m=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var e=this.a[c];e&&e.__loaded&&(a.import=e,this.l(a))}else this.b++,this.a[c]="pending",z.load(c,function(a,e){a=b.C(a,e||c);b.a[c]=a;b.b--;b.c(a);
b.o()},function(){b.a[c]=null;b.b--;b.o()})};h.prototype.C=function(a,b){if(!a)return document.createDocumentFragment();x&&(a=a.replace(G,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=d.h(c.getAttribute("href"),b),c.removeAttribute("href");var e=0;k(a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),
function(a){v(a);d.w(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(e?"-"+e:"")+".js\n"))),a.textContent="",e++)});return a};h.prototype.o=function(){var a=this;if(!this.b){this.g.disconnect();this.flatten(document);var b=!1,c=!1,e=function(){c&&b&&(a.c(document),a.b||(a.g.observe(document.head,{childList:!0,subtree:!0}),a.A()))};this.F(function(){c=
!0;e()});this.D(function(){b=!0;e()})}};h.prototype.flatten=function(a){var b=this;k(a.querySelectorAll("link[rel=import]"),function(a){var c=b.a[a.href];(a.import=c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.import=a,b.flatten(c),a.appendChild(c))})};h.prototype.D=function(a){function b(f){if(f<e){var p=c[f],d=document.createElement("script");p.removeAttribute("import-dependency");k(p.attributes,function(a){return d.setAttribute(a.name,a.value)});y=d;p.parentNode.replaceChild(d,
p);v(d,function(){y=null;b(f+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),e=c.length;b(0)};h.prototype.F=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),c=b.length;if(c){var e=x&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");k(b,function(b){v(b,function(){b.removeAttribute("import-dependency");--c||a()});if(e&&b.parentNode!==document.head){var d=document.createElement(b.localName);
d.__appliedElement=b;d.setAttribute("type","import-placeholder");b.parentNode.insertBefore(d,b.nextSibling);for(d=g(b);d&&g(d);)d=g(d);d.parentNode!==document.head&&(d=null);document.head.insertBefore(b,d);b.removeAttribute("type")}})}else a()};h.prototype.A=function(){var a=this;k(document.querySelectorAll("link[rel=import]"),function(b){return a.l(b)},!0)};h.prototype.l=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(m(a.import?"load":"error",{bubbles:!1,
cancelable:!1,detail:void 0})))};h.prototype.B=function(a){var b=this;k(a,function(a){return k(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(t(a)?b.m(a):b.c(a))})})};if(w){k(document.querySelectorAll("link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});var A=function(a){a=a.target;t(a)&&(a.__loaded=!0)};document.addEventListener("load",A,!0);document.addEventListener("error",A,!0)}else{var r=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");
Object.defineProperty((!r||r.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=t(this)?this:g(this);return a?a.href:r&&r.get?r.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});q(function(){return new h})}n(function(){return document.dispatchEvent(m("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});l.useNative=w;l.whenReady=n;l.importForElement=g})(window.HTMLImports=window.HTMLImports||{});
(function(){var l=window.customElements,m=window.HTMLImports;window.WebComponents=window.WebComponents||{};if(l&&l.polyfillWrapFlushCallback){var g,u=function(){if(g){var n=g;g=null;n();return!0}},q=m.whenReady;l.polyfillWrapFlushCallback(function(n){g=n;q(u)});m.whenReady=function(g){q(function(){u()?m.whenReady(g):g()})}}m.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();var B=document.createElement("style");
B.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var C=document.querySelector("head");C.insertBefore(B,C.firstChild);}).call(this);
'use strict';(function(){(function(h){function l(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function q(a){if(y)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!u(b)&&(b=b.parentNode););a.__importDoc=b}return b}function p(a){var b=
document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;c?k(b,function(b){return v(b,function(){0===--c&&a()})}):a()}function m(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function t(a){m(function(){return p(function(){return a&&a()})})}function v(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=
!0,b&&b();else{var c=function(e){a.removeEventListener(e.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);z&&"style"===a.localName||a.addEventListener("error",c)}}function u(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function g(){var a=this;this.a={};this.b=0;this.g=new MutationObserver(function(b){return a.B(b)});this.g.observe(document.head,{childList:!0,subtree:!0});this.c(document)}function k(a,b,c){var e=a?a.length:0,f=c?-1:1;for(c=c?e-1:0;c<e&&
0<=c;c+=f)b(a[c],c)}var y="import"in document.createElement("link"),A=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return A||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var w=/(^\/)|(^#)|(^[\w-\d]*:)/,x=/(url\()([^)]*)(\))/g,D=/(@import[\s]+(?!url\())([^;]*)(;)/g,E=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,d={w:function(a,b){a.href&&a.setAttribute("href",d.h(a.getAttribute("href"),
b));a.src&&a.setAttribute("src",d.h(a.getAttribute("src"),b));if("style"===a.localName){var c=d.s(a.textContent,b,x);a.textContent=d.s(c,b,D)}},s:function(a,b,c){return a.replace(c,function(a,c,n,g){a=n.replace(/["']/g,"");b&&(a=d.u(a,b));return c+"'"+a+"'"+g})},h:function(a,b){return a&&w.test(a)?a:d.u(a,b)},u:function(a,b){if(void 0===d.f){d.f=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";d.f="http://a/c%20d"===c.href}catch(e){}}if(d.f)return(new URL(a,b)).href;c=d.v;c||(c=document.implementation.createHTMLDocument("temp"),
d.v=c,c.j=c.createElement("base"),c.head.appendChild(c.j),c.i=c.createElement("a"));c.j.href=b;c.i.href=a;return c.i.href||a}},B={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var e=a[1];e=-1<a[0].indexOf(";base64")?atob(e):decodeURIComponent(e);b(e)}else{var f=new XMLHttpRequest;f.open("GET",a,B.async);f.onload=function(){var a=f.responseURL||f.getResponseHeader("Location");a&&0===a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var e=f.response||
f.responseText;304===f.status||0===f.status||200<=f.status&&300>f.status?b(e,a):c(e)};f.send()}else c("error: href must be specified")}},z=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);g.prototype.c=function(a){var b=this;k(a.querySelectorAll("link[rel=import]"),function(a){return b.m(a)})};g.prototype.m=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var e=this.a[c];e&&e.__loaded&&(a.import=e,this.l(a))}else this.b++,this.a[c]="pending",B.load(c,function(a,e){a=
b.C(a,e||c);b.a[c]=a;b.b--;b.c(a);b.o()},function(){b.a[c]=null;b.b--;b.o()})};g.prototype.C=function(a,b){if(!a)return document.createDocumentFragment();z&&(a=a.replace(E,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=d.h(c.getAttribute("href"),b),c.removeAttribute("href");
var e=0;k(a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),function(a){v(a);d.w(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(e?"-"+e:"")+
".js\n"))),a.textContent="",e++)});return a};g.prototype.o=function(){var a=this;if(!this.b){this.g.disconnect();this.flatten(document);var b=!1,c=!1,e=function(){c&&b&&(a.c(document),a.b||(a.g.observe(document.head,{childList:!0,subtree:!0}),a.A()))};this.F(function(){c=!0;e()});this.D(function(){b=!0;e()})}};g.prototype.flatten=function(a){var b=this;k(a.querySelectorAll("link[rel=import]"),function(a){var c=b.a[a.href];(a.import=c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState=
"loading",a.import=a,b.flatten(c),a.appendChild(c))})};g.prototype.D=function(a){function b(f){if(f<e){var n=c[f],d=document.createElement("script");n.removeAttribute("import-dependency");k(n.attributes,function(a){return d.setAttribute(a.name,a.value)});A=d;n.parentNode.replaceChild(d,n);v(d,function(){A=null;b(f+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),e=c.length;b(0)};g.prototype.F=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),
c=b.length;if(c){var e=z&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");k(b,function(b){v(b,function(){b.removeAttribute("import-dependency");0===--c&&a()});if(e&&b.parentNode!==document.head){var d=document.createElement(b.localName);d.__appliedElement=b;d.setAttribute("type","import-placeholder");b.parentNode.insertBefore(d,b.nextSibling);for(d=q(b);d&&q(d);)d=q(d);d.parentNode!==document.head&&(d=null);document.head.insertBefore(b,d);b.removeAttribute("type")}})}else a()};
g.prototype.A=function(){var a=this;k(document.querySelectorAll("link[rel=import]"),function(b){return a.l(b)},!0)};g.prototype.l=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(l(a.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};g.prototype.B=function(a){var b=this;k(a,function(a){return k(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(u(a)?b.m(a):b.c(a))})})};if(y){k(document.querySelectorAll("link[rel=import]"),
function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});var C=function(a){a=a.target;u(a)&&(a.__loaded=!0)};document.addEventListener("load",C,!0);document.addEventListener("error",C,!0)}else{var r=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!r||r.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=u(this)?this:q(this);return a?a.href:r&&r.get?r.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,
enumerable:!0});m(function(){return new g})}t(function(){return document.dispatchEvent(l("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});h.useNative=y;h.whenReady=t;h.importForElement=q})(window.HTMLImports=window.HTMLImports||{});var l=window.customElements,p=window.HTMLImports;window.WebComponents=window.WebComponents||{};if(l&&l.polyfillWrapFlushCallback){var m,t=function(){if(m){var h=m;m=null;h();return!0}},w=p.whenReady;l.polyfillWrapFlushCallback(function(h){m=h;w(t)});p.whenReady=
function(h){w(function(){t()?p.whenReady(h):h()})}}p.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});l=document.createElement("style");l.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var x=document.querySelector("head");x.insertBefore(l,x.firstChild)})();}).call(this);
//# sourceMappingURL=webcomponents-hi.js.map

File diff suppressed because one or more lines are too long

View File

@@ -28,165 +28,165 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
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
*/
'use strict';var nb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.s={};this.g=document.documentElement;var b=new za;b.rules=[];this.h=y.set(this.g,new y(b));this.i=!1;this.b=this.a=null;ob(function(){a.c()})}function F(){this.customStyles=[];this.enqueued=!1}function pb(){}function ha(a){this.cache={};this.c=void 0===a?100:a}function p(){}function y(a,b,c,d,e){this.G=a||null;this.b=b||null;this.sa=c||[];this.P=null;this.Y=e||"";this.a=this.B=this.K=null}function r(){}function za(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function $c(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;n(this)&&(e=[],M(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.f(this):a.l(this);
return b}})}function c(b,c){t(b,"insertAdjacentElement",function(b,d){var e=n(d);b=c.call(this,b,d);e&&a.a(d);n(b)&&a.b(d);return b})}qb?t(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=qb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(Aa&&Aa.get)b(Element.prototype,Aa);else if(Ba&&Ba.get)b(HTMLElement.prototype,Ba);else{var d=Ca.call(document,"div");a.v(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return rb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)Da.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ja.call(b,d.childNodes[0])}})})}t(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return sb.call(this,b,c);var d=Ea.call(this,b);sb.call(this,b,c);c=Ea.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});t(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return tb.call(this,
b,c,d);var e=ka.call(this,b,c);tb.call(this,b,c,d);d=ka.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});t(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return ub.call(this,b);var c=Ea.call(this,b);ub.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});t(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return vb.call(this,b,c);var d=ka.call(this,b,c);vb.call(this,b,c);var e=ka.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});wb?c(HTMLElement.prototype,wb):xb?c(Element.prototype,xb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");yb(a,Element.prototype,{La:ad,append:bd});cd(a,{lb:dd,kb:ed,vb:fd,remove:gd})}function cd(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.lb.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.kb.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});var g=n(this);b.vb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=n(this);b.remove.call(this);c&&a.a(this)}}function hd(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&n(this)){c=Array(h);for(var m=0;m<h;m++)c[m]=e[m]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
t(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=zb.call(this,b,d);if(n(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);d=zb.call(this,b,d);c&&a.a(b);n(this)&&a.b(b);return d});t(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ja.call(this,b);if(n(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=n(b);e=ja.call(this,b);c&&a.a(b);n(this)&&
a.b(b);return e});t(Node.prototype,"cloneNode",function(b){b=rb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.f(b):a.l(b);return b});t(Node.prototype,"removeChild",function(b){var c=n(b),e=Da.call(this,b);c&&a.a(b);return e});t(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=Ab.call(this,b,d);if(n(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);var f=Ab.call(this,b,d),g=n(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});Fa&&Fa.get?b(Node.prototype,Fa):a.v(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)Da.call(this,this.firstChild);ja.call(this,document.createTextNode(a))}})})}function id(a){t(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.c(b);if(c)return new c.constructor}b=Ca.call(this,b);a.g(b);return b});
t(Document.prototype,"importNode",function(b,c){b=jd.call(this,b,c);this.__CE_hasRegistry?a.f(b):a.l(b);return b});t(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.c(c);if(d)return new d.constructor}b=kd.call(this,b,c);a.g(b);return b});yb(a,Document.prototype,{La:ld,append:md})}function yb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&n(a)});c.La.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function nd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.C(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=Ca.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;d=e.length-1;var f=e[d];if(f===Bb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=Bb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=od.prototype;return b}()}function q(a){this.c=!1;this.a=a;this.h=new Map;this.f=function(a){return a()};this.b=!1;this.g=
[];this.i=new Ga(a,document)}function Cb(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function Ga(a,b){this.b=a;this.a=b;this.N=void 0;this.b.f(this.a);"loading"===this.a.readyState&&(this.N=new MutationObserver(this.f.bind(this)),this.N.observe(this.a,{childList:!0,subtree:!0}))}function A(){this.u=new Map;this.s=new Map;this.j=[];this.h=!1}function l(a,b,c){if(a!==Db)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
l.prototype;a.D(b,c);return a}function la(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Ha(a);a.__shady.lastChild=Ia(a);Eb(a);for(var b=a.__shady.childNodes=S(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,Fb(d)}}function pd(a){var b=a&&a.N;b&&(b.ba.delete(a.bb),b.ba.size||(a.gb.__shady.W=null))}function qd(a,b){a.__shady=a.__shady||{};a.__shady.W||
(a.__shady.W=new ma);a.__shady.W.ba.add(b);var c=a.__shady.W;return{bb:b,N:c,gb:a,takeRecords:function(){return c.takeRecords()}}}function ma(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.ba=new Set}function T(a){return a.__shady&&void 0!==a.__shady.firstChild}function B(a){return"ShadyRoot"===a.Xa}function Z(a){a=a.getRootNode();if(B(a))return a}function Ja(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length&&(e=c[d]);d++){var f=Object.getOwnPropertyDescriptor(b,e);f&&
Object.defineProperty(a,e,f)}}function Ka(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Ja(a,c[d]);return a}function rd(a,b){for(var c in b)a[c]=b[c]}function Gb(a){La.push(a);Ma.textContent=Hb++}function Ib(a){Na||(Na=!0,Gb(na));aa.push(a)}function na(){Na=!1;for(var a=!!aa.length;aa.length;)aa.shift()();return a}function sd(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Jb(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Kb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Oa(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){a:{var h=
g;var m=a;var Q=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,ia="<"+k,l=h.attributes,n=0;m=l[n];n++)ia+=" "+m.name+'="'+m.value.replace(td,Jb)+'"';ia+=">";h=ud[k]?ia:ia+Oa(h,Q)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&vd[m.localName]?h:h.replace(wd,Jb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function U(a){v.currentNode=a;return v.parentNode()}function Ha(a){v.currentNode=
a;return v.firstChild()}function Ia(a){v.currentNode=a;return v.lastChild()}function Lb(a){v.currentNode=a;return v.previousSibling()}function Mb(a){v.currentNode=a;return v.nextSibling()}function S(a){var b=[];v.currentNode=a;for(a=v.firstChild();a;)b.push(a),a=v.nextSibling();return b}function Nb(a){C.currentNode=a;return C.parentNode()}function Ob(a){C.currentNode=a;return C.firstChild()}function Pb(a){C.currentNode=a;return C.lastChild()}function Qb(a){C.currentNode=a;return C.previousSibling()}
function Rb(a){C.currentNode=a;return C.nextSibling()}function Sb(a){var b=[];C.currentNode=a;for(a=C.firstChild();a;)b.push(a),a=C.nextSibling();return b}function Tb(a){return Oa(a,function(a){return S(a)})}function Ub(a){switch(a.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b;default:return a.nodeValue}}function G(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,
d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function O(a){G(a,Vb);G(a,Pa);G(a,Qa)}function Wb(a,b,c){Fb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&
(b.__shady.firstChild=a):(b.__shady.lastChild=a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Ra(a,b,c){if(b===a)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&U(c)!==a)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(c===b)return b;b.parentNode&&
Sa(b.parentNode,b);d=Z(a);var e;if(e=d)a:{if(!b.__noInsertionPoint){var f;"slot"===b.localName?f=[b]:b.querySelectorAll&&(f=b.querySelectorAll("slot"));if(f&&f.length){e=f;break a}}e=void 0}f=e;d&&("slot"===a.localName||f)&&d.M();if(T(a)){e=c;Eb(a);a.__shady=a.__shady||{};void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Wb(g[h],a,e);b.__shady=b.__shady||{};e=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
b.__shady.lastChild=e;b.__shady.childNodes=e}else Wb(b,a,e);if(Ta(a)){a.__shady.root.M();var m=!0}else a.__shady.root&&(m=!0)}m||(m=B(a)?a.host:a,c?(c=Xb(c),Ua.call(m,b,c)):Yb.call(m,b));Zb(a,b);f&&d.ab(f);return b}function Sa(a,b){if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var c=Z(b);if(T(a)){b.__shady=b.__shady||{};a.__shady=a.__shady||{};b===a.__shady.firstChild&&(a.__shady.firstChild=b.__shady.nextSibling);b===a.__shady.lastChild&&(a.__shady.lastChild=
b.__shady.previousSibling);var d=b.__shady.previousSibling;var e=b.__shady.nextSibling;d&&(d.__shady=d.__shady||{},d.__shady.nextSibling=e);e&&(e.__shady=e.__shady||{},e.__shady.previousSibling=d);b.__shady.parentNode=b.__shady.previousSibling=b.__shady.nextSibling=void 0;void 0!==a.__shady.childNodes&&(a.__shady.childNodes=null);if(Ta(a)){a.__shady.root.M();var f=!0}}$b(b);c&&((e=a&&"slot"===a.localName)&&(f=!0),((d=c.hb(b))||e)&&c.M());f||(f=B(a)?a.host:a,(!a.__shady.root&&"slot"!==b.localName||
f===U(b))&&ba.call(f,b));Zb(a,null,b);return b}function $b(a){if(a.__shady&&void 0!==a.__shady.ta)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)$b(e);a.__shady&&(a.__shady.ta=void 0)}function Xb(a){var b=a;a&&"slot"===a.localName&&(b=(b=a.__shady&&a.__shady.U)&&b.length?b[0]:Xb(a.nextSibling));return b}function Ta(a){return(a=a&&a.__shady&&a.__shady.root)&&a.Ba()}function ac(a,b){"slot"===b?(a=a.parentNode,Ta(a)&&a.__shady.root.M()):"slot"===a.localName&&"name"===b&&(b=Z(a))&&(b.jb(a),
b.M())}function Zb(a,b,c){if(a=a.__shady&&a.__shady.W)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),a.xb()}function bc(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.ta;void 0===b&&(B(a)?b=a:b=(b=a.parentNode)?bc(b):a,document.documentElement.contains(a)&&(a.__shady.ta=b));return b}}function oa(a,b,c){var d=[];cc(a.childNodes,b,c,d);return d}function cc(a,b,c,d){for(var e=0,f=a.length,g;e<f&&(g=a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var m=b,Q=c,k=d,l=m(h);l&&k.push(h);
Q&&Q(l)?h=l:(cc(h.childNodes,m,Q,k),h=void 0)}if(h)break}}function dc(a){a=a.getRootNode();B(a)&&a.Ea()}function ec(a,b,c){pa||(pa=window.ShadyCSS&&window.ShadyCSS.ScopingShim);pa&&"class"===b?pa.setElementClass(a,c):(fc.call(a,b,c),ac(a,b))}function gc(a,b){if(a.ownerDocument!==document)return Va.call(document,a,b);var c=Va.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=gc(a[b],!0),c.appendChild(d)}return c}function Wa(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),
d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;c[c.length-1]===document&&c.push(window);return c}function hc(a,b){if(!B)return a;a=Wa(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!B(f)||-1<g)return d}function Xa(a){function b(b,d){b=new a(b,d);b.ja=d&&!!d.composed;return b}rd(b,a);b.prototype=a.prototype;return b}function ic(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&
b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.Va);d++);}function xd(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];ic(a,d,"capture");if(a.ka)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=d.__shady&&d.__shady.root;if(!c||f&&f===e)if(ic(a,d,"bubble"),d!==window&&(e=d.getRootNode()),
a.ka)break}}function jc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],m=h.type,Q=h.capture,k=h.once,l=h.passive;if(b===h.node&&c===m&&d===Q&&e===k&&f===l)return g}return-1}function kc(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.la||this,h=b.Z;if(h){if(-1<jc(h,g,a,d,e,f))return}else b.Z=[];h=function(d){e&&this.removeEventListener(a,b,c);d.__target||lc(d);if(g!==this){var f=Object.getOwnPropertyDescriptor(d,"currentTarget");
Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.Z.push({node:this,type:a,capture:d,
once:e,passive:f,Bb:h});Ya[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][d?"capture":"bubble"].push(h)):(this instanceof Window?mc:nc).call(this,a,h,c)}}function oc(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.la||this,h=void 0;var m=null;try{m=b.Z}catch(Q){}m&&(e=jc(m,g,a,d,e,f),-1<e&&(h=m.splice(e,1)[0].Bb,m.length||(b.Z=void 0)));(this instanceof Window?
pc:qc).call(this,a,h||b,c);h&&Ya[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function yd(){for(var a in Ya)window.addEventListener(a,function(a){a.__target||(lc(a),xd(a))},!0)}function lc(a){a.__target=a.target;a.za=a.relatedTarget;if(D.V){var b=rc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.Db=c;Ja(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Ja(a,rc)}function ca(a,
b){return{index:a,X:[],aa:b}}function zd(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){h=a.length;for(var k=c.length,l=0;l<m-g&&Ad(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=ca(e,0);f<d;)b.X.push(c[f++]);return[b]}if(f==d)return[ca(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+
l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)m?g?(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l)):(a.push(3),m--):(a.push(2),g--);a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=ca(e,0));b.aa++;e++;b.X.push(c[f]);f++;break;
case 2:b||(b=ca(e,0));b.aa++;e++;break;case 3:b||(b=ca(e,0)),b.X.push(c[f]),f++}b&&m.push(b);return m}function Ad(a,b){return a===b}function sc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}function tc(a){dc(a);return a.__shady&&a.__shady.assignedSlot||null}function I(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function Bd(){var a=window.customElements&&window.customElements.nativeHTMLElement||
HTMLElement;I(window.Node.prototype,Cd);I(window.Window.prototype,Dd);I(window.Text.prototype,Ed);I(window.DocumentFragment.prototype,Za);I(window.Element.prototype,uc);I(window.Document.prototype,vc);window.HTMLSlotElement&&I(window.HTMLSlotElement.prototype,wc);I(a.prototype,Fd);D.V&&(O(window.Node.prototype),O(window.Text.prototype),O(window.DocumentFragment.prototype),O(window.Element.prototype),O(a.prototype),O(window.Document.prototype),window.HTMLSlotElement&&O(window.HTMLSlotElement.prototype))}
function xc(a){var b=Gd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function n(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function $a(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function M(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===
Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)M(d,b,c);d=$a(a,e);continue}else if("template"===f){d=$a(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)M(e,b,c)}d=d.firstChild?d.firstChild:$a(a,d)}}function t(a,b,c){a[b]=c}function ab(a){a=a.replace(J.nb,"").replace(J.port,"");var b=yc,c=a,d=new za;d.start=0;d.end=c.length;for(var e=
d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,m=h.rules[h.rules.length-1]||null;e=new za;e.start=f+1;e.parent=h;e.previous=m;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function yc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=Hd(c),c=c.replace(J.Ka," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),
a.atRule)?c.indexOf("@media")?c.match(J.sb)&&(a.type=K.ia,a.keyframesName=a.selector.split(J.Ka).pop()):a.type=K.MEDIA_RULE:a.type=c.indexOf("--")?K.STYLE_RULE:K.va);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)yc(f,b);return a}function Hd(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function zc(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));
if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=zc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(J.Fa,"").replace(J.Ja,""),b=b.replace(J.tb,"").replace(J.zb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function Ac(a){w=a&&a.shimcssproperties?!1:u||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}function V(a,b){if(!a)return"";"string"===
typeof a&&(a=ab(a));b&&W(a,b);return zc(a,w)}function qa(a){!a.__cssRules&&a.textContent&&(a.__cssRules=ab(a.textContent));return a.__cssRules||null}function Bc(a){return!!a.parent&&a.parent.type===K.ia}function W(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===K.MEDIA_RULE){var g=a.selector.match(Id);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===K.STYLE_RULE?b(a):c&&f===K.ia?c(a):f===K.va&&(e=!0);if((a=a.rules)&&!e){e=0;f=a.length;for(var h;e<f&&(h=a[e]);e++)W(h,b,c,d)}}}function bb(a,b,c,d){var e=
document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Cc(e,c,d);return e}function Cc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);P?a.compareDocumentPosition(P)===Node.DOCUMENT_POSITION_PRECEDING&&(P=a):P=a}function Dc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");a:{var d=0;var e=c+3;for(var f=a.length;e<f;e++)if("("===a[e])d++;else if(")"===a[e]&&!--d)break a;e=-1}d=a.substring(c+4,e);c=a.substring(0,c);a=Dc(a.substring(e+1),b);
e=d.indexOf(",");return-1===e?b(c,d.trim(),"",a):b(c,d.substring(0,e).trim(),d.substring(e+1).trim(),a)}function ra(a,b){u?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function R(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,Y:c}}function Ec(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=
c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode();var g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(x.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?x.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=R(f).is,g!==f&&(g&&x.a(e,g,!0),x.a(e,f)))}}}}function Jd(a){if(a=sa[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=
a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Fc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Kd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Ld.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function ob(a){requestAnimationFrame(function(){Gc?Gc(a):(cb||(cb=new Promise(function(a){db=a}),"complete"===document.readyState?db():document.addEventListener("readystatechange",
function(){"complete"===document.readyState&&db()})),cb.then(function(){a&&a()}))})}(function(){if(!function(){var a=document.createEvent("Event");a.initEvent("foo",!0,!0);a.preventDefault();return a.defaultPrevented}()){var a=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(a.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var b=/Trident/.test(navigator.userAgent);if(!window.CustomEvent||b&&"function"!==
typeof window.CustomEvent)window.CustomEvent=function(a,b){b=b||{};var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c},window.CustomEvent.prototype=window.Event.prototype;if(!window.Event||b&&"function"!==typeof window.Event){var c=window.Event;window.Event=function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};if(c)for(var d in c)window.Event[d]=c[d];window.Event.prototype=c.prototype}if(!window.MouseEvent||
b&&"function"!==typeof window.MouseEvent){b=window.MouseEvent;window.MouseEvent=function(a,b){b=b||{};var c=document.createEvent("MouseEvent");c.initMouseEvent(a,!!b.bubbles,!!b.cancelable,b.view||window,b.detail,b.screenX,b.screenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};if(b)for(d in b)window.MouseEvent[d]=b[d];window.MouseEvent.prototype=b.prototype}Array.from||(Array.from=function(a){return[].slice.call(a)});Object.assign||(Object.assign=
function(a,b){for(var c=[].slice.call(arguments,1),d=0,e;d<c.length;d++)if(e=c[d])for(var f=a,k=e,l=Object.getOwnPropertyNames(k),n=0;n<l.length;n++)e=l[n],f[e]=k[e];return a})})(window.WebComponents);(function(){function a(){}var b="undefined"===typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&function(){var a=Document.prototype.importNode;Document.prototype.importNode=function(){var b=a.apply(this,arguments);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var c=this.createDocumentFragment();
c.appendChild(b);return c}return b}}();var c=Node.prototype.cloneNode,d=Document.prototype.createElement,e=Document.prototype.importNode,f=function(){if(!b){var a=document.createElement("template"),c=document.createElement("template");c.content.appendChild(document.createElement("div"));a.content.appendChild(c);a=a.cloneNode(!0);return 0===a.content.childNodes.length||0===a.content.firstChild.content.childNodes.length||!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment)}}();
if(b){var g=function(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case "\u00a0":return"&nbsp;"}},h=function(b){Object.defineProperty(b,"innerHTML",{get:function(){for(var a="",b=this.content.firstChild;b;b=b.nextSibling)a+=b.outerHTML||b.data.replace(r,g);return a},set:function(b){m.body.innerHTML=b;for(a.b(m);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;m.body.firstChild;)this.content.appendChild(m.body.firstChild)},configurable:!0})},
m=document.implementation.createHTMLDocument("template"),k=!0,l=document.createElement("style");l.textContent="template{display:none;}";var n=document.head;n.insertBefore(l,n.firstElementChild);a.prototype=Object.create(HTMLElement.prototype);var p=!document.createElement("div").hasOwnProperty("innerHTML");a.O=function(b){if(!b.content){b.content=m.createDocumentFragment();for(var c;c=b.firstChild;)b.content.appendChild(c);if(p)b.__proto__=a.prototype;else if(b.cloneNode=function(b){return a.a(this,
b)},k)try{h(b)}catch(z){k=!1}a.b(b.content)}};h(a.prototype);a.b=function(b){b=b.querySelectorAll("template");for(var c=0,d=b.length,e;c<d&&(e=b[c]);c++)a.O(e)};document.addEventListener("DOMContentLoaded",function(){a.b(document)});Document.prototype.createElement=function(){var b=d.apply(this,arguments);"template"===b.localName&&a.O(b);return b};var r=/[&\u00A0<>]/g}if(b||f)a.a=function(a,b){var d=c.call(a,!1);this.O&&this.O(d);b&&(d.content.appendChild(c.call(a.content,!0)),this.ra(d.content,a.content));
return d},a.prototype.cloneNode=function(b){return a.a(this,b)},a.ra=function(a,b){if(b.querySelectorAll){b=b.querySelectorAll("template");a=a.querySelectorAll("template");for(var c=0,d=a.length,e,f;c<d;c++)f=b[c],e=a[c],this.O&&this.O(f),e.parentNode.replaceChild(f.cloneNode(!0),e)}},Node.prototype.cloneNode=function(b){if(this instanceof DocumentFragment)if(b)var d=this.ownerDocument.importNode(this,!0);else return this.ownerDocument.createDocumentFragment();else d=c.call(this,b);b&&a.ra(d,this);
return d},Document.prototype.importNode=function(b,c){if("template"===b.localName)return a.a(b,c);var d=e.call(this,b,c);c&&a.ra(d,b);return d},f&&(window.HTMLTemplateElement.prototype.cloneNode=function(b){return a.a(this,b)});b&&(window.HTMLTemplateElement=a)})();!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.Gb?define(b):a.ES6Promise=b()}(window,function(){function a(a,b){B[v]=a;B[v+1]=b;v+=2;2===v&&(D?D(g):N())}function b(){return function(){return process.Jb(g)}}
function c(){return"undefined"!=typeof C?function(){C(g)}:f()}function d(){var a=0,b=new J(g),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function e(){var a=new MessageChannel;return a.port1.onmessage=g,function(){return a.port2.postMessage(0)}}function f(){var a=setTimeout;return function(){return a(g,1)}}function g(){for(var a=0;a<v;a+=2)(0,B[a])(B[a+1]),B[a]=void 0,B[a+1]=void 0;v=0}function h(){try{var a=require("vertx");return C=a.Lb||a.Kb,
c()}catch(Hc){return f()}}function m(b,c){var d=arguments,e=this,f=new this.constructor(l);void 0===f[K]&&Ic(f);var g=e.o;return g?!function(){var b=d[g-1];a(function(){return Jc(g,f,b,e.m)})}():w(e,f,b,c),f}function k(a){if(a&&"object"==typeof a&&a.constructor===this)return a;var b=new this(l);return z(b,a),b}function l(){}function n(a){try{return a.then}catch(Hc){return M.error=Hc,M}}function p(a,b,c,d){try{a.call(b,c,d)}catch(Od){return Od}}function r(b,c,d){a(function(a){var b=!1,e=p(d,c,function(d){b||
(b=!0,c!==d?z(a,d):q(a,d))},function(c){b||(b=!0,L(a,c))});!b&&e&&(b=!0,L(a,e))},b)}function y(a,b){b.o===I?q(a,b.m):b.o===H?L(a,b.m):w(b,void 0,function(b){return z(a,b)},function(b){return L(a,b)})}function x(a,b,c){b.constructor===a.constructor&&c===m&&b.constructor.resolve===k?y(a,b):c===M?(L(a,M.error),M.error=null):void 0===c?q(a,b):"function"==typeof c?r(a,b,c):q(a,b)}function z(a,b){if(a===b)L(a,new TypeError("You cannot resolve a promise with itself"));else{var c=typeof b;null===b||"object"!==
c&&"function"!==c?q(a,b):x(a,b,n(b))}}function u(a){a.Ca&&a.Ca(a.m);X(a)}function q(b,c){b.o===G&&(b.m=c,b.o=I,0!==b.T.length&&a(X,b))}function L(b,c){b.o===G&&(b.o=H,b.m=c,a(u,b))}function w(b,c,d,e){var f=b.T,g=f.length;b.Ca=null;f[g]=c;f[g+I]=d;f[g+H]=e;0===g&&b.o&&a(X,b)}function X(a){var b=a.T,c=a.o;if(0!==b.length){for(var d,e,f=a.m,g=0;g<b.length;g+=3)d=b[g],e=b[g+c],d?Jc(c,d,e,f):e(f);a.T.length=0}}function Kc(){this.error=null}function Jc(a,b,c,d){var e="function"==typeof c,f=void 0,g=void 0,
h=void 0,X=void 0;if(e){try{var k=c(d)}catch(Pd){k=(O.error=Pd,O)}if(f=k,f===O?(X=!0,g=f.error,f.error=null):h=!0,b===f)return void L(b,new TypeError("A promises callback cannot return that same promise."))}else f=d,h=!0;b.o!==G||(e&&h?z(b,f):X?L(b,g):a===I?q(b,f):a===H&&L(b,f))}function Lc(a,b){try{b(function(b){z(a,b)},function(b){L(a,b)})}catch(Md){L(a,Md)}}function Ic(a){a[K]=P++;a.o=void 0;a.m=void 0;a.T=[]}function da(a,b){this.fb=a;this.J=new a(l);this.J[K]||Ic(this.J);A(b)?(this.length=b.length,
this.$=b.length,this.m=Array(this.length),0===this.length?q(this.J,this.m):(this.length=this.length||0,this.eb(b),0===this.$&&q(this.J,this.m))):L(this.J,Error("Array Methods must be provided an Array"))}function E(a){this[K]=P++;this.m=this.o=void 0;this.T=[];if(l!==a){if("function"!=typeof a)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(this instanceof E)Lc(this,a);else throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
}}var t=void 0,A=t=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},v=0,C=void 0,D=void 0,F=(t="undefined"!=typeof window?window:void 0)||{},J=F.MutationObserver||F.WebKitMutationObserver;F="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;var B=Array(1E3),N=void 0;N="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?b():J?d():F?e():t||"function"!=
typeof require?f():h();var K=Math.random().toString(36).substring(16),G=void 0,I=1,H=2,M=new Kc,O=new Kc,P=0;return da.prototype.eb=function(a){for(var b=0;this.o===G&&b<a.length;b++)this.cb(a[b],b)},da.prototype.cb=function(a,b){var c=this.fb,d=c.resolve;d===k?(d=n(a),d===m&&a.o!==G?this.oa(a.o,b,a.m):"function"!=typeof d?(this.$--,this.m[b]=a):c===E?(c=new c(l),x(c,a,d),this.pa(c,b)):this.pa(new c(function(b){return b(a)}),b)):this.pa(d(a),b)},da.prototype.oa=function(a,b,c){var d=this.J;d.o===
G&&(this.$--,a===H?L(d,c):this.m[b]=c);0===this.$&&q(d,this.m)},da.prototype.pa=function(a,b){var c=this;w(a,void 0,function(a){return c.oa(I,b,a)},function(a){return c.oa(H,b,a)})},E.g=function(a){return(new da(this,a)).J},E.h=function(a){var b=this;return new b(A(a)?function(c,d){for(var e=a.length,f=0;f<e;f++)b.resolve(a[f]).then(c,d)}:function(a,b){return b(new TypeError("You must pass an array to race."))})},E.resolve=k,E.i=function(a){var b=new this(l);return L(b,a),b},E.f=function(a){D=a},
E.c=function(b){a=b},E.b=a,E.prototype={constructor:E,then:m,"catch":function(a){return this.then(null,a)}},E.a=function(){var a=void 0;if("undefined"!=typeof global)a=global;else if("undefined"!=typeof self)a=self;else try{a=Function("return this")()}catch(Nd){throw Error("polyfill failed because global object is unavailable in this environment");}var b=a.Promise;if(b){var c=null;try{c=Object.prototype.toString.call(b.resolve())}catch(Nd){}if("[object Promise]"===c&&!b.Hb)return}a.Promise=E},E.Promise=
E,E.a(),E});(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function c(a){if(n)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),
c=b.length;c?l(b,function(b){return g(b,function(){--c||a()})}):a()}function e(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function f(a){e(function(){return d(function(){return a&&a()})})}function g(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var c=function(d){a.removeEventListener(d.type,
c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);w&&"style"===a.localName||a.addEventListener("error",c)}}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function k(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.l(b)});this.f.observe(document.head,{childList:!0,subtree:!0});this.c(document)}function l(a,b,c){var d=a?a.length:0,e=c?-1:1;for(c=c?d-1:0;c<d&&0<=c;c+=e)b(a[c],c)}var n="import"in document.createElement("link"),
p=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return p||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var q=/(^\/)|(^#)|(^[\w-\d]*:)/,r=/(url\()([^)]*)(\))/g,x=/(@import[\s]+(?!url\())([^;]*)(;)/g,y=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,z={ob:function(a,b){a.href&&a.setAttribute("href",z.ua(a.getAttribute("href"),b));a.src&&a.setAttribute("src",z.ua(a.getAttribute("src"),b));
if("style"===a.localName){var c=z.Ma(a.textContent,b,r);a.textContent=z.Ma(c,b,x)}},Ma:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=z.Na(a,b));return c+"'"+a+"'"+e})},ua:function(a,b){return a&&q.test(a)?a:z.Na(a,b)},Na:function(a,b){if(void 0===z.ma){z.ma=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";z.ma="http://a/c%20d"===c.href}catch(Lc){}}if(z.ma)return(new URL(a,b)).href;c=z.$a;c||(c=document.implementation.createHTMLDocument("temp"),z.$a=c,c.xa=
c.createElement("base"),c.head.appendChild(c.xa),c.wa=c.createElement("a"));c.xa.href=b;c.wa.href=a;return c.wa.href||a}},v={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1];d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,v.async);e.onload=function(){var a=e.responseURL||e.getResponseHeader("Location");a&&!a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;
304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},w=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.c=function(a){var b=this;a=a.querySelectorAll("link[rel=import]");l(a,function(a){return b.h(a)})};k.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];d&&d.__loaded&&(a.import=d,this.g(a))}else this.b++,this.a[c]="pending",v.load(c,function(a,d){a=b.s(a,d||c);
b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};k.prototype.s=function(a,b){if(!a)return document.createDocumentFragment();w&&(a=a.replace(y,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=z.ua(c.getAttribute("href"),b),c.removeAttribute("href");c=a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]');
var d=0;l(c,function(a){g(a);z.ob(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),a.textContent="",d++)});return a};k.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};
this.v(function(){c=!0;d()});this.u(function(){b=!0;d()})}};k.prototype.flatten=function(a){var b=this;a=a.querySelectorAll("link[rel=import]");l(a,function(a){var c=b.a[a.href];(a.import=c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.import=a,b.flatten(c),a.appendChild(c))})};k.prototype.u=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");l(f.attributes,function(a){return h.setAttribute(a.name,
a.value)});p=h;f.parentNode.replaceChild(h,f);g(h,function(){p=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};k.prototype.v=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d){var e=w&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");l(b,function(b){g(b,function(){b.removeAttribute("import-dependency");--d||a()});if(e&&b.parentNode!==document.head){var f=
document.createElement(b.localName);f.__appliedElement=b;f.setAttribute("type","import-placeholder");b.parentNode.insertBefore(f,b.nextSibling);for(f=c(b);f&&c(f);)f=c(f);f.parentNode!==document.head&&(f=null);document.head.insertBefore(b,f);b.removeAttribute("type")}})}else a()};k.prototype.j=function(){var a=this,b=document.querySelectorAll("link[rel=import]");l(b,function(b){return a.g(b)},!0)};k.prototype.g=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(b(a.import?
"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};k.prototype.l=function(a){var b=this;l(a,function(a){return l(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(h(a)?b.h(a):b.c(a))})})};if(n){var u=document.querySelectorAll("link[rel=import]");l(u,function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});u=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",u,!0);document.addEventListener("error",u,!0)}else{var t=Object.getOwnPropertyDescriptor(Node.prototype,
"baseURI");Object.defineProperty((!t||t.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:t&&t.get?t.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=n;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});(function(){window.WebComponents=
window.WebComponents||{flags:{}};var a=document.querySelector('script[src*="webcomponents-lite.js"]'),b=/wc-(.+)/,c={};if(!c.noOpts){location.search.slice(1).split("&").forEach(function(a){a=a.split("=");var d;a[0]&&(d=a[0].match(b))&&(c[d[1]]=a[1]||!0)});if(a)for(var d=0,e;e=a.attributes[d];d++)"src"!==e.name&&(c[e.name]=e.value||!0);c.log&&c.log.split?(a=c.log.split(","),c.log={},a.forEach(function(a){c.log[a]=!0})):c.log={}}window.WebComponents.flags=c;if(a=c.shadydom)window.ShadyDOM=window.ShadyDOM||
{},window.ShadyDOM.force=a;(a=c.register||c.ce)&&window.customElements&&(window.customElements.forcePolyfill=a)})();var D=window.ShadyDOM||{};D.pb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var eb=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");D.V=!!(eb&&eb.configurable&&eb.get);D.Ia=D.force||!D.pb;var Y=Element.prototype,Mc=Y.matches||Y.matchesSelector||Y.mozMatchesSelector||Y.msMatchesSelector||Y.oMatchesSelector||Y.webkitMatchesSelector,Ma=document.createTextNode(""),
Hb=0,La=[];(new MutationObserver(function(){for(;La.length;)try{La.shift()()}catch(a){throw Ma.textContent=Hb++,a;}})).observe(Ma,{characterData:!0});var aa=[],Na;na.list=aa;ma.prototype.xb=function(){var a=this;this.a||(this.a=!0,Gb(function(){a.b()}))};ma.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.ba.forEach(function(b){b(a)})}};ma.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];
this.addedNodes=[];this.removedNodes=[];return a}return[]};var Yb=Element.prototype.appendChild,Ua=Element.prototype.insertBefore,ba=Element.prototype.removeChild,fc=Element.prototype.setAttribute,Nc=Element.prototype.removeAttribute,fb=Element.prototype.cloneNode,Va=Document.prototype.importNode,nc=Element.prototype.addEventListener,qc=Element.prototype.removeEventListener,mc=Window.prototype.addEventListener,pc=Window.prototype.removeEventListener,gb=Element.prototype.dispatchEvent,Qd=Object.freeze({appendChild:Yb,
insertBefore:Ua,removeChild:ba,setAttribute:fc,removeAttribute:Nc,cloneNode:fb,importNode:Va,addEventListener:nc,removeEventListener:qc,Mb:mc,Nb:pc,dispatchEvent:gb,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll}),td=/[&\u00A0"]/g,wd=/[&\u00A0<>]/g,ud=Kb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),vd=Kb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),v=document.createTreeWalker(document,
NodeFilter.SHOW_ALL,null,!1),C=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Rd=Object.freeze({parentNode:U,firstChild:Ha,lastChild:Ia,previousSibling:Lb,nextSibling:Mb,childNodes:S,parentElement:Nb,firstElementChild:Ob,lastElementChild:Pb,previousElementSibling:Qb,nextElementSibling:Rb,children:Sb,innerHTML:Tb,textContent:Ub}),hb=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ta=document.implementation.createHTMLDocument("inert").createElement("div"),
ib=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Vb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:Nb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:U(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Mb(this)},configurable:!0},previousSibling:{get:function(){var a=
this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Lb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Rb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=
this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Qb(this)},configurable:!0}},Pa={childNodes:{get:function(){if(T(this)){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}var b=this.__shady.childNodes}else b=S(this);b.item=function(a){return b[a]};return b},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=
this.__shady&&this.__shady.firstChild;return void 0!==a?a:Ha(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Ia(this)},configurable:!0},textContent:{get:function(){if(T(this)){for(var a=[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return Ub(this)},set:function(a){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);
this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Ob(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Pb(this)},configurable:!0},
children:{get:function(){var a;T(this)?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Sb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return T(this)?Oa(a):Tb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(hb&&hb.set?hb.set.call(ta,a):ta.innerHTML=a;ta.firstChild;)b.appendChild(ta.firstChild)},
configurable:!0}},Oc={shadowRoot:{get:function(){return this.__shady&&this.__shady.ub||null},configurable:!0}},Qa={activeElement:{get:function(){var a=ib&&ib.get?ib.get.call(document):D.V?void 0:document.activeElement;if(a&&a.nodeType){var b=!!B(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=Z(a);b&&b!==this;)a=b.host,b=Z(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},Fb=D.V?function(){}:function(a){a.__shady&&
a.__shady.Ya||(a.__shady=a.__shady||{},a.__shady.Ya=!0,G(a,Vb,!0))},Eb=D.V?function(){}:function(a){a.__shady&&a.__shady.Wa||(a.__shady=a.__shady||{},a.__shady.Wa=!0,G(a,Pa,!0),G(a,Oc,!0))},pa=null,Sd={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},rc={get composed(){!1!==this.isTrusted&&void 0===this.ja&&(this.ja=Sd[this.type]);return this.ja||!1},composedPath:function(){this.ya||(this.ya=Wa(this.__target,this.composed));return this.ya},
get target(){return hc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.za)return null;this.Aa||(this.Aa=Wa(this.za,!0));return hc(this.currentTarget,this.Aa)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ka=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ka=this.Va=!0}},Ya={focus:!0,blur:!0},Td=Xa(window.Event),Ud=Xa(window.CustomEvent),Vd=Xa(window.MouseEvent),Db={};l.prototype=Object.create(DocumentFragment.prototype);
l.prototype.D=function(a,b){this.Xa="ShadyRoot";la(a);la(this);this.host=a;this.L=b&&b.mode;a.__shady=a.__shady||{};a.__shady.root=this;a.__shady.ub="closed"!==this.L?this:null;this.S=!1;this.b=[];this.a=null;b=S(a);for(var c=0,d=b.length;c<d;c++)ba.call(a,b[c])};l.prototype.M=function(){var a=this;this.S||(this.S=!0,Ib(function(){return a.Ea()}))};l.prototype.C=function(){for(var a=this,b=this;b;)b.S&&(a=b),b=b.ib();return a};l.prototype.ib=function(){var a=this.host.getRootNode();if(B(a))for(var b=
this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.h(d))return a};l.prototype.Ea=function(){this.S&&this.C()._renderRoot()};l.prototype._renderRoot=function(){this.S=!1;this.v();this.s()};l.prototype.v=function(){for(var a=0,b;a<this.b.length;a++)b=this.b[a],this.l(b);for(b=this.host.firstChild;b;b=b.nextSibling)this.f(b);for(a=0;a<this.b.length;a++){b=this.b[a];if(!b.__shady.assignedNodes.length)for(var c=b.firstChild;c;c=c.nextSibling)this.f(c,b);c=b.parentNode;(c=c.__shady&&c.__shady.root)&&
c.Ba()&&c._renderRoot();this.c(b.__shady.U,b.__shady.assignedNodes);if(c=b.__shady.Da){for(var d=0;d<c.length;d++)c[d].__shady.na=null;b.__shady.Da=null;c.length>b.__shady.assignedNodes.length&&(b.__shady.qa=!0)}b.__shady.qa&&(b.__shady.qa=!1,this.g(b))}};l.prototype.f=function(a,b){a.__shady=a.__shady||{};var c=a.__shady.na;a.__shady.na=null;b||(b=(b=this.a[a.slot||"__catchall"])&&b[0]);b?(b.__shady.assignedNodes.push(a),a.__shady.assignedSlot=b):a.__shady.assignedSlot=void 0;c!==a.__shady.assignedSlot&&
a.__shady.assignedSlot&&(a.__shady.assignedSlot.__shady.qa=!0)};l.prototype.l=function(a){var b=a.__shady.assignedNodes;a.__shady.assignedNodes=[];a.__shady.U=[];if(a.__shady.Da=b)for(var c=0;c<b.length;c++){var d=b[c];d.__shady.na=d.__shady.assignedSlot;d.__shady.assignedSlot===a&&(d.__shady.assignedSlot=null)}};l.prototype.c=function(a,b){for(var c=0,d;c<b.length&&(d=b[c]);c++)"slot"==d.localName?this.c(a,d.__shady.assignedNodes):a.push(b[c])};l.prototype.g=function(a){gb.call(a,new Event("slotchange"));
a.__shady.assignedSlot&&this.g(a.__shady.assignedSlot)};l.prototype.s=function(){for(var a=this.b,b=[],c=0;c<a.length;c++){var d=a[c].parentNode;d.__shady&&d.__shady.root||!(0>b.indexOf(d))||b.push(d)}for(a=0;a<b.length;a++)c=b[a],this.I(c===this?this.host:c,this.u(c))};l.prototype.u=function(a){var b=[];a=a.childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.h(d)){d=d.__shady.U;for(var e=0;e<d.length;e++)b.push(d[e])}else b.push(d)}return b};l.prototype.h=function(a){return"slot"==a.localName};
l.prototype.I=function(a,b){for(var c=S(a),d=zd(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.X.length&&(k=g.X[h]);h++)U(k)===a&&ba.call(a,k),c.splice(g.index+f,1);f-=g.aa}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.aa;h++)k=b[h],Ua.call(a,k,f),c.splice(h,0,k)};l.prototype.ab=function(a){this.a=this.a||{};this.b=this.b||[];for(var b=0;b<a.length;b++){var c=a[b];c.__shady=c.__shady||{};la(c);la(c.parentNode);var d=this.i(c);if(this.a[d]){var e=
e||{};e[d]=!0;this.a[d].push(c)}else this.a[d]=[c];this.b.push(c)}if(e)for(var f in e)this.a[f]=this.j(this.a[f])};l.prototype.i=function(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.Za=b};l.prototype.j=function(a){return a.sort(function(a,c){a=sc(a);for(var b=sc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})};l.prototype.hb=function(a){this.a=this.a||{};this.b=this.b||[];var b=this.a,c;for(c in b)for(var d=
b[c],e=0;e<d.length;e++){var f=d[e],g;a:{for(g=f;g;){if(g==a){g=!0;break a}g=g.parentNode}g=void 0}if(g){d.splice(e,1);var h=this.b.indexOf(f);0<=h&&this.b.splice(h,1);e--;this.H(f);h=!0}}return h};l.prototype.jb=function(a){var b=a.Za,c=this.i(a);if(c!==b){b=this.a[b];var d=b.indexOf(a);0<=d&&b.splice(d,1);b=this.a[c]||(this.a[c]=[]);b.push(a);1<b.length&&(this.a[c]=this.j(b))}};l.prototype.H=function(a){if(a=a.__shady.U)for(var b=0;b<a.length;b++){var c=a[b],d=U(c);d&&ba.call(d,c)}};l.prototype.Ba=
function(){return!!this.b.length};l.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.la=this;this.host.addEventListener(a,b,c)};l.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.la=this;this.host.removeEventListener(a,b,c)};l.prototype.getElementById=function(a){return oa(this,function(b){return b.id==a},function(a){return!!a})[0]||null};(function(a){G(a,Pa,!0);G(a,Qa,!0)})(l.prototype);var Dd={addEventListener:kc.bind(window),
removeEventListener:oc.bind(window)},Cd={addEventListener:kc,removeEventListener:oc,appendChild:function(a){return Ra(this,a)},insertBefore:function(a,b){return Ra(this,a,b)},removeChild:function(a){return Sa(this,a)},replaceChild:function(a,b){Ra(this,a,b);Sa(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=fb.call(this,a);else if(b=fb.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return bc(this)},
get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof l?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){na();return gb.call(this,a)}},Ed={get assignedSlot(){return tc(this)}},Za={querySelector:function(a){return oa(this,function(b){return Mc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return oa(this,
function(b){return Mc.call(b,a)})}},wc={assignedNodes:function(a){if("slot"===this.localName)return dc(this),this.__shady?(a&&a.flatten?this.__shady.U:this.__shady.assignedNodes)||[]:[]}},uc=Ka({setAttribute:function(a,b){ec(this,a,b)},removeAttribute:function(a){Nc.call(this,a);ac(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new l(Db,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){ec(this,"slot",a)},get assignedSlot(){return tc(this)}},
Za,wc);Object.defineProperties(uc,Oc);var vc=Ka({importNode:function(a,b){return gc(a,b)},getElementById:function(a){return oa(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},Za);Object.defineProperties(vc,{_activeElement:Qa.activeElement});var Wd=HTMLElement.prototype.blur,Fd=Ka({blur:function(){var a=this.__shady&&this.__shady.root;(a=a&&a.activeElement)?a.blur():Wd.call(this)}});D.Ia&&(window.ShadyDOM={inUse:D.Ia,patch:function(a){return a},isShadyRoot:B,enqueue:Ib,flush:na,
settings:D,filterMutations:sd,observeChildren:qd,unobserveChildren:pd,nativeMethods:Qd,nativeTree:Rd},window.Event=Td,window.CustomEvent=Ud,window.MouseEvent=Vd,yd(),Bd(),window.ShadowRoot=l);var Gd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));A.prototype.D=function(a,b){this.u.set(a,b);this.s.set(b.constructor,b)};A.prototype.c=function(a){return this.u.get(a)};A.prototype.C=function(a){return this.s.get(a)};
A.prototype.v=function(a){this.h=!0;this.j.push(a)};A.prototype.l=function(a){var b=this;this.h&&M(a,function(a){return b.g(a)})};A.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.j.length;b++)this.j[b](a)}};A.prototype.b=function(a){var b=[];M(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.i(c)}};A.prototype.a=function(a){var b=[];M(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=
b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};A.prototype.f=function(a,b){var c=this;b=b?b:{};var d=b.Ab||new Set,e=b.Oa||function(a){return c.i(a)},f=[];M(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var b=a.import;b instanceof Node&&"complete"===b.readyState?(b.__CE_isImportDocument=!0,b.__CE_hasRegistry=!0):a.addEventListener("load",function(){var b=a.import;b.__CE_documentLoadHandled||(b.__CE_documentLoadHandled=!0,b.__CE_isImportDocument=!0,b.__CE_hasRegistry=
!0,d.delete(b),c.f(b,{Ab:d,Oa:e}))})}else f.push(a)},d);if(this.h)for(a=0;a<f.length;a++)this.g(f[a]);for(a=0;a<f.length;a++)e(f[a])};A.prototype.i=function(a){if(void 0===a.__CE_state){var b=this.c(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=
b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}n(a)&&this.connectedCallback(a)}}};A.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};A.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};A.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&
-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};Ga.prototype.c=function(){this.N&&this.N.disconnect()};Ga.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.f(c[d])};Cb.prototype.resolve=function(a){if(this.a)throw Error("Already resolved.");this.a=a;this.b&&this.b(a)};q.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");
if(!xc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.c(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");
var f=d("connectedCallback");var g=d("disconnectedCallback");var h=d("adoptedCallback");var k=d("attributeChangedCallback");var l=b.observedAttributes||[]}catch(le){return}finally{this.c=!1}b={localName:a,constructor:b,connectedCallback:f,disconnectedCallback:g,adoptedCallback:h,attributeChangedCallback:k,observedAttributes:l,constructionStack:[]};this.a.D(a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return c.j()}))};q.prototype.j=function(){var a=this;if(!1!==this.b){this.b=!1;for(var b=
this.g,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);this.a.f(document,{Oa:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.a.c(e)&&c.push(b)}}});for(e=0;e<c.length;e++)this.a.i(c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var g=0;g<f.length;g++)this.a.i(f[g]);(e=this.h.get(e))&&e.resolve(void 0)}}};q.prototype.get=function(a){if(a=this.a.c(a))return a.constructor};q.prototype.whenDefined=function(a){if(!xc(a))return Promise.reject(new SyntaxError("'"+
a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.c;b=new Cb;this.h.set(a,b);this.a.c(a)&&!this.g.some(function(b){return b.localName===a})&&b.resolve(void 0);return b.c};q.prototype.l=function(a){this.i.c();var b=this.f;this.f=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=q;q.prototype.define=q.prototype.define;q.prototype.get=q.prototype.get;q.prototype.whenDefined=q.prototype.whenDefined;q.prototype.polyfillWrapFlushCallback=q.prototype.l;
var Ca=window.Document.prototype.createElement,kd=window.Document.prototype.createElementNS,jd=window.Document.prototype.importNode,ld=window.Document.prototype.prepend,md=window.Document.prototype.append,rb=window.Node.prototype.cloneNode,ja=window.Node.prototype.appendChild,zb=window.Node.prototype.insertBefore,Da=window.Node.prototype.removeChild,Ab=window.Node.prototype.replaceChild,Fa=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),qb=window.Element.prototype.attachShadow,
Aa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Ea=window.Element.prototype.getAttribute,sb=window.Element.prototype.setAttribute,ub=window.Element.prototype.removeAttribute,ka=window.Element.prototype.getAttributeNS,tb=window.Element.prototype.setAttributeNS,vb=window.Element.prototype.removeAttributeNS,xb=window.Element.prototype.insertAdjacentElement,ad=window.Element.prototype.prepend,bd=window.Element.prototype.append,dd=window.Element.prototype.before,ed=window.Element.prototype.after,
fd=window.Element.prototype.replaceWith,gd=window.Element.prototype.remove,od=window.HTMLElement,Ba=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),wb=window.HTMLElement.prototype.insertAdjacentElement,Bb=new function(){},ua=window.customElements;if(!ua||ua.forcePolyfill||"function"!=typeof ua.define||"function"!=typeof ua.get){var ea=new A;nd(ea);id(ea);hd(ea);$c(ea);document.__CE_hasRegistry=!0;var Xd=new q(ea);Object.defineProperty(window,"customElements",{configurable:!0,
enumerable:!0,value:Xd})}var K={STYLE_RULE:1,ia:7,MEDIA_RULE:4,va:1E3},J={nb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Fa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ja:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,tb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,zb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,sb:/^@[^\s]*keyframes/,Ka:/\s+/g},u=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var w=window.ShadyCSS.nativeCss;
else window.ShadyCSS?(Ac(window.ShadyCSS),window.ShadyCSS=void 0):Ac(window.WebComponents&&window.WebComponents.flags);var va=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,wa=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Yd=/(--[\w-]+)\s*([:,;)]|$)/gi,Zd=/(animation\s*:)|(animation-name\s*:)/,Id=/@media\s(.*)/,$d=/\{[^}]*\}/g,P=null;r.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};r.prototype.i=
function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.v(a,b,c);if(a="template"===a.localName?(a.content||a.Eb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};r.prototype.v=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(ae);c?d&&(b=d.replace("style-scope","").replace(b,""),ra(a,b)):ra(a,(d?d+" ":"")+"style-scope "+b)}};r.prototype.b=
function(a,b,c){var d=a.__cssBuild;u||"shady"===d?b=V(b,c):(a=R(a),b=this.H(b,a.is,a.Y,c)+"\n\n");return b.trim()};r.prototype.H=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return V(a,function(a){a.c||(f.R(a,b,e),a.c=!0);d&&d(a,b,e)})};r.prototype.h=function(a){return a?be+a:""};r.prototype.f=function(a,b){return b?"[is="+a+"]":a};r.prototype.R=function(a,b,c){this.j(a,this.g,b,c)};r.prototype.j=function(a,b,c,d){a.selector=a.A=this.l(a,b,c,d)};r.prototype.l=function(a,b,c,d){var e=
a.selector.split(Pc);if(!Bc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Pc)};r.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(ce,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(de,jb+" $1");return a=a.replace(ee,function(a,g,h){e||(a=d.C(h,g,b,c),e=e||a.stop,g=a.mb,h=a.value);return g+h})};r.prototype.C=function(a,b,c,d){var e=a.indexOf(kb);0<=a.indexOf(jb)?a=this.L(a,d):0!==e&&(a=c?this.s(a,c):a);c=!1;0<=e&&(b="",
c=!0);if(c){var f=!0;c&&(a=a.replace(fe,function(a,b){return" > "+b}))}a=a.replace(ge,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,mb:b,stop:f}};r.prototype.s=function(a,b){a=a.split(Qc);a[0]+=b;return a.join(Qc)};r.prototype.L=function(a,b){var c=a.match(Rc);return(c=c&&c[2].trim()||"")?c[0].match(Sc)?a.replace(Rc,function(a,c,f){return b+f}):c.split(Sc)[0]===b?c:he:a.replace(jb,b)};r.prototype.I=function(a){a.selector=a.parsedSelector;this.u(a);this.j(a,this.D)};
r.prototype.u=function(a){a.selector===ie&&(a.selector="html")};r.prototype.D=function(a){return a.match(kb)?this.g(a,Tc):this.s(a.trim(),Tc)};nb.Object.defineProperties(r.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var ce=/:(nth[-\w]+)\(([^)]+)\)/,Tc=":not(.style-scope)",Pc=",",ee=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Sc=/[[.:#*]/,jb=":host",ie=":root",kb="::slotted",de=new RegExp("^("+kb+")"),Rc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,fe=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,
ge=/(.*):dir\((?:(ltr|rtl))\)/,be=".",Qc=":",ae="class",he="should_not_match",x=new r;y.get=function(a){return a?a.__styleInfo:null};y.set=function(a,b){return a.__styleInfo=b};y.prototype.c=function(){return this.G};y.prototype._getStyleRules=y.prototype.c;var Uc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),je=navigator.userAgent.match("Trident");p.prototype.R=function(a){var b=this,
c={},d=[],e=0;W(a,function(a){b.c(a);a.index=e++;b.I(a.w.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};p.prototype.c=function(a){if(!a.w){var b={},c={};this.b(a,c)&&(b.F=c,a.rules=null);b.cssText=this.H(a);a.w=b}};p.prototype.b=function(a,b){var c=a.w;if(c){if(c.F)return Object.assign(b,c.F),!0}else{c=a.parsedCssText;for(var d;a=va.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.H=function(a){return this.L(a.parsedCssText)};
p.prototype.L=function(a){return a.replace($d,"").replace(va,"")};p.prototype.I=function(a,b){for(var c;c=Yd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.fa=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=Dc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+
g})}return a&&a.trim()||""};p.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){wa.lastIndex=0;if(e=wa.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e);f=f.trim();f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};p.prototype.D=function(a,b){var c="";a.w||this.c(a);a.w.cssText&&(c=this.f(a.w.cssText,b));a.cssText=c};p.prototype.C=function(a,b){var c=a.cssText,d=a.cssText;
null==a.Ha&&(a.Ha=Zd.test(c));if(a.Ha)if(null==a.ca){a.ca=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ca.push(e))}else{for(e=0;e<a.ca.length;++e)d=b[a.ca[e]],c=d(c);d=c}a.cssText=d};p.prototype.ea=function(a,b){var c={},d=this,e=[];W(a,function(a){a.w||d.c(a);var f=a.A||a.parsedSelector;b&&a.w.F&&f&&Uc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{F:c,key:e}};p.prototype.ha=function(a,b,c,d){b.w||this.c(b);if(b.w.F){var e=R(a);a=e.is;e=e.Y;e=a?x.f(a,
e):"html";var f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(u&&!b.A&&(b.A=x.l(b,x.g,x.h(a),e)),c=b.A||e),d({yb:c,rb:h,Ib:g})}};p.prototype.da=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;W(b,function(b){e.ha(a,b,f,function(f){Uc.call(a.Fb||a,f.yb)&&(f.rb?e.b(b,c):e.b(b,d))})},null,!0);return{wb:d,qb:c}};p.prototype.ga=
function(a,b,c){var d=this,e=R(a),f=x.f(e.is,e.Y),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])");e=y.get(a).G;var h=this.h(e,c);return x.b(a,e,function(a){d.D(a,b);u||Bc(a)||!a.cssText||(d.C(a,h),d.l(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!u&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};p.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};p.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,
"g");a.a=a.keyframesName+"-"+b;a.A=a.A||a.selector;a.selector=a.A.replace(a.keyframesName,a.a)};p.prototype.l=function(a,b,c,d){a.A=a.A||a.selector;d="."+d;for(var e=a.A.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};p.prototype.u=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ra(a,e)};p.prototype.v=function(a,b,c,d){b=d?d.textContent||
"":this.ga(a,b,c);var e=y.get(a),f=e.a;f&&!u&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));u?e.a?(e.a.textContent=b,d=e.a):b&&(d=bb(b,c,a.shadowRoot,e.b)):d?d.parentNode||(je&&-1<b.indexOf("@media")&&(d.textContent=b),Cc(d,null,e.b)):b&&(d=bb(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.s=function(a,b){var c=qa(a),d=this;a.textContent=V(c,function(a){var c=a.cssText=a.parsedCssText;a.w&&a.w.cssText&&(c=c.replace(J.Fa,
"").replace(J.Ja,""),a.cssText=d.f(c,b))})};nb.Object.defineProperties(p.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var H=new p,lb={},xa=window.customElements;if(xa&&!u){var ke=xa.define;xa.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(P?P.nextSibling:null)||e.firstChild);P=d;lb[a]=d;return ke.call(xa,a,b,c)}}ha.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.F[e]!==
b[e])return!1}return!0};ha.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({F:b,styleElement:c,B:d});e.length>this.c&&e.shift();this.cache[a]=e};ha.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!u){var Vc=new MutationObserver(Ec),Wc=function(a){Vc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Wc(document);else{var mb=function(){Wc(document.body)};
window.HTMLImports?window.HTMLImports.whenReady(mb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){mb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else mb()})}pb=function(){Ec(Vc.takeRecords())}}var sa={},Ld=Promise.resolve(),cb=null,Gc=window.HTMLImports&&window.HTMLImports.whenReady||null,db,ya=null,fa=null;F.prototype.Ga=function(){!this.enqueued&&fa&&(this.enqueued=!0,ob(fa))};F.prototype.b=function(a){a.__seenByShadyCSS||
(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Ga())};F.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};F.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);d&&(d=d.__appliedElement||d,ya&&ya(d),c.__shadyCSSCachedStyle=d)}}return a};F.prototype.addCustomStyle=F.prototype.b;F.prototype.getStyleForCustomStyle=F.prototype.a;F.prototype.processStyles=F.prototype.c;
Object.defineProperties(F.prototype,{transformCallback:{get:function(){return ya},set:function(a){ya=a}},validateCallback:{get:function(){return fa},set:function(a){var b=!1;fa||(b=!0);fa=a;b&&this.Ga()}}});var Xc=new ha;k.prototype.C=function(){pb()};k.prototype.da=function(a){var b=this.s[a]=(this.s[a]||0)+1;return a+"-"+b};k.prototype.Sa=function(a){return qa(a)};k.prototype.Ua=function(a){return V(a)};k.prototype.R=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=
a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.fa=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;sa[b]=a;var d=this.fa(a),e=this.R(a);c={is:b,extends:c,Cb:d};u||x.a(a.content,b);this.c();var f=wa.test(e)||va.test(e);wa.lastIndex=0;va.lastIndex=0;e=ab(e);f&&w&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.g=d;d=[];w||(d=H.R(a._styleAst));
if(!d.length||w)b=this.ea(c,a._styleAst,u?a.content:null,lb[b]),a.a=b;a.c=d}};k.prototype.ea=function(a,b,c,d){b=x.b(a,b);if(b.length)return bb(b,a.is,c,d)};k.prototype.ha=function(a){var b=R(a),c=b.is;b=b.Y;var d=lb[c];c=sa[c];if(c){var e=c._styleAst;var f=c.c}return y.set(a,new y(e,d,f,0,b))};k.prototype.H=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=Jd)};k.prototype.I=function(){var a=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&
(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(b){a.v(b)},this.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.i)&&a.f()})})};k.prototype.c=function(){this.H();this.I()};k.prototype.f=function(){this.c();if(this.b){var a=this.b.processStyles();this.b.enqueued&&(w?this.Qa(a):(this.u(this.g,this.h),this.D(a)),this.b.enqueued=!1,this.i&&!w&&this.styleDocument())}};k.prototype.styleElement=function(a,b){var c=R(a).is,d=y.get(a);d||(d=this.ha(a));
this.j(a)||(this.i=!0);b&&(d.P=d.P||{},Object.assign(d.P,b));if(w){if(d.P){b=d.P;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=sa[c])||this.j(a))&&e&&e.a&&!Fc(e)){if(Fc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.a&&this.a.transformRules(e._styleAst,c),e.a.textContent=x.b(a,d.G),Kd(e);u&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=x.b(a,d.G));d.G=e._styleAst}}else this.u(a,d),d.sa&&d.sa.length&&this.L(a,d)};k.prototype.l=
function(a){return(a=a.getRootNode().host)?y.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.L=function(a,b){var c=R(a).is,d=Xc.fetch(c,b.K,b.sa),e=d?d.styleElement:null,f=b.B;b.B=d&&d.B||this.da(c);e=H.v(a,b.K,b.B,e);u||H.u(a,b.B,f);d||Xc.b(c,b.K,e,b.B)};k.prototype.u=function(a,b){var c=this.l(a),d=y.get(c);c=Object.create(d.K||null);var e=H.da(a,b.G);a=H.ea(d.G,a).F;Object.assign(c,e.qb,a,e.wb);this.ga(c,b.P);H.fa(c);b.K=c};k.prototype.ga=function(a,b){for(var c in b){var d=
b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Qa=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&this.Pa(c)}};k.prototype.D=function(a){for(var b=
0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&H.s(c,this.h.K)}};k.prototype.v=function(a){var b=this,c=qa(a);W(c,function(a){u?x.u(a):x.I(a);w&&(b.c(),b.a&&b.a.transformRule(a))});w?a.textContent=V(c):this.h.G.rules.push(c)};k.prototype.Pa=function(a){if(w&&this.a){var b=qa(a);this.c();this.a.transformRules(b);a.textContent=V(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;w||(c=(y.get(a)||y.get(this.l(a))).K[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?
c.trim():""};k.prototype.Ta=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===x.c){c=d[e+1];break}}}c&&b.push(x.c,c);w||(c=y.get(a))&&c.B&&b.push(H.g,c.B);ra(a,b.join(" "))};k.prototype.Ra=function(a){return y.get(a)};k.prototype.flush=k.prototype.C;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=
k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Ta;k.prototype._styleInfoForNode=k.prototype.Ra;k.prototype.transformCustomStyleForDocument=k.prototype.v;k.prototype.getStyleAst=k.prototype.Sa;k.prototype.styleAstToString=k.prototype.Ua;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return u}},nativeCss:{get:function(){return w}}});
var N=new k;if(window.ShadyCSS){var Yc=window.ShadyCSS.ApplyShim;var Zc=window.ShadyCSS.CustomStyleInterface}window.ShadyCSS={ScopingShim:N,prepareTemplate:function(a,b,c){N.f();N.prepareTemplate(a,b,c)},styleSubtree:function(a,b){N.f();N.styleSubtree(a,b)},styleElement:function(a){N.f();N.styleElement(a)},styleDocument:function(a){N.f();N.styleDocument(a)},getComputedStyleValue:function(a,b){return N.getComputedStyleValue(a,b)},nativeCss:w,nativeShadow:u};Yc&&(window.ShadyCSS.ApplyShim=Yc);Zc&&(window.ShadyCSS.CustomStyleInterface=
Zc);(function(){var a=window.customElements,b=window.HTMLImports;window.WebComponents=window.WebComponents||{};if(a&&a.polyfillWrapFlushCallback){var c,d=function(){if(c){var a=c;c=null;a();return!0}},e=b.whenReady;a.polyfillWrapFlushCallback(function(a){c=a;e(d)});b.whenReady=function(a){e(function(){d()?b.whenReady(a):a()})}}b.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var a=
document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var b=document.querySelector("head");b.insertBefore(a,b.firstChild)})()})();}).call(this);
'use strict';var Ib="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.s={};this.g=document.documentElement;var b=new Ja;b.rules=[];this.h=t.set(this.g,new t(b));this.i=!1;this.b=this.a=null;Jb(function(){a.c()})}function F(){this.customStyles=[];this.enqueued=!1}function Kb(){}function oa(a){this.cache={};this.c=void 0===a?100:a}function p(){}function t(a,b,c,d,e){this.G=a||null;this.b=b||null;this.sa=c||[];this.P=null;this.Z=e||"";this.a=this.B=this.K=null}function r(){}function Ja(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Hd(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;n(this)&&(e=[],P(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
return b}})}function c(b,c){w(b,"insertAdjacentElement",function(b,d){var e=n(d);b=c.call(this,b,d);e&&a.a(d);n(b)&&a.b(d);return b})}Lb?w(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=Lb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(Ka&&Ka.get)b(Element.prototype,Ka);else if(La&&La.get)b(HTMLElement.prototype,La);else{var d=Ma.call(document,"div");a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return Mb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)Na.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)pa.call(b,d.childNodes[0])}})})}w(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return Nb.call(this,b,c);var d=Oa.call(this,b);Nb.call(this,b,c);c=Oa.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});w(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return Ob.call(this,
b,c,d);var e=qa.call(this,b,c);Ob.call(this,b,c,d);d=qa.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});w(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return Pb.call(this,b);var c=Oa.call(this,b);Pb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});w(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return Qb.call(this,b,c);var d=qa.call(this,b,c);Qb.call(this,b,c);var e=qa.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});Rb?c(HTMLElement.prototype,Rb):Sb?c(Element.prototype,Sb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");Tb(a,Element.prototype,{La:Id,append:Jd});Kd(a,{kb:Ld,jb:Md,replaceWith:Nd,remove:Od})}function Kd(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.kb.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=
d[f],g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.jb.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});var g=n(this);b.replaceWith.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=n(this);b.remove.call(this);c&&a.a(this)}}function Pd(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&n(this)){c=Array(h);for(var m=0;m<h;m++)c[m]=e[m]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
w(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=Ub.call(this,b,d);if(n(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);d=Ub.call(this,b,d);c&&a.a(b);n(this)&&a.b(b);return d});w(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=pa.call(this,b);if(n(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=n(b);e=pa.call(this,b);c&&a.a(b);n(this)&&
a.b(b);return e});w(Node.prototype,"cloneNode",function(b){b=Mb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});w(Node.prototype,"removeChild",function(b){var c=n(b),e=Na.call(this,b);c&&a.a(b);return e});w(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=Vb.call(this,b,d);if(n(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);var f=Vb.call(this,b,d),g=n(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});Pa&&Pa.get?b(Node.prototype,Pa):a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)Na.call(this,this.firstChild);pa.call(this,document.createTextNode(a))}})})}function Qd(a){w(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=Ma.call(this,b);a.g(b);return b});
w(Document.prototype,"importNode",function(b,c){b=Rd.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});w(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=Sd.call(this,b,c);a.g(b);return b});Tb(a,Document.prototype,{La:Td,append:Ud})}function Tb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&n(a)});c.La.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function Vd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.C(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(0===e.length)return e=Ma.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;d=e.length-1;var f=e[d];if(f===Wb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=Wb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=Wd.prototype;return b}()}function z(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;
this.c=[];this.i=new Qa(a,document)}function Xb(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function Qa(a,b){this.b=a;this.a=b;this.N=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.N=new MutationObserver(this.f.bind(this)),this.N.observe(this.a,{childList:!0,subtree:!0}))}function u(){this.s=new Map;this.l=new Map;this.i=[];this.h=!1}function l(a,b,c){if(a!==Yb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
l.prototype;a.D(b,c);return a}function ra(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Ra(a);a.__shady.lastChild=Sa(a);Zb(a);for(var b=a.__shady.childNodes=U(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,$b(d)}}function Xd(a){var b=a&&a.N;b&&(b.ca.delete(a.ab),b.ca.size||(a.fb.__shady.X=null))}function Yd(a,b){a.__shady=a.__shady||{};a.__shady.X||
(a.__shady.X=new sa);a.__shady.X.ca.add(b);var c=a.__shady.X;return{ab:b,N:c,fb:a,takeRecords:function(){return c.takeRecords()}}}function sa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.ca=new Set}function Q(a,b){V[W]=a;V[W+1]=b;W+=2;2===W&&(Ta?Ta(X):Zd())}function $d(){return function(){return process.Fb(X)}}function ae(){return"undefined"!==typeof Ua?function(){Ua(X)}:Va()}function be(){var a=0,b=new ac(X),c=document.createTextNode("");b.observe(c,{characterData:!0});return function(){c.data=
a=++a%2}}function ce(){var a=new MessageChannel;a.port1.onmessage=X;return function(){return a.port2.postMessage(0)}}function Va(){var a=setTimeout;return function(){return a(X,1)}}function X(){for(var a=0;a<W;a+=2)(0,V[a])(V[a+1]),V[a]=void 0,V[a+1]=void 0;W=0}function de(){try{var a=require("vertx");Ua=a.Hb||a.Gb;return ae()}catch(b){return Va()}}function Wa(a,b){var c=this,d=new this.constructor(Y);void 0===d[ta]&&bc(d);var e=c.o;if(e){var f=arguments[e-1];Q(function(){return cc(e,d,f,c.m)})}else Xa(c,
d,a,b);return d}function Ya(a){if(a&&"object"===typeof a&&a.constructor===this)return a;var b=new this(Y);ea(b,a);return b}function Y(){}function dc(a){try{return a.then}catch(b){return fa.error=b,fa}}function ee(a,b,c,d){try{a.call(b,c,d)}catch(e){return e}}function fe(a,b,c){Q(function(a){var d=!1,f=ee(c,b,function(c){d||(d=!0,b!==c?ea(a,c):J(a,c))},function(b){d||(d=!0,A(a,b))});!d&&f&&(d=!0,A(a,f))},a)}function ge(a,b){1===b.o?J(a,b.m):2===b.o?A(a,b.m):Xa(b,void 0,function(b){return ea(a,b)},
function(b){return A(a,b)})}function ec(a,b,c){b.constructor===a.constructor&&c===Wa&&b.constructor.resolve===Ya?ge(a,b):c===fa?(A(a,fa.error),fa.error=null):void 0===c?J(a,b):"function"===typeof c?fe(a,b,c):J(a,b)}function ea(a,b){if(a===b)A(a,new TypeError("You cannot resolve a promise with itself"));else{var c=typeof b;null===b||"object"!==c&&"function"!==c?J(a,b):ec(a,b,dc(b))}}function he(a){a.Ca&&a.Ca(a.m);Za(a)}function J(a,b){void 0===a.o&&(a.m=b,a.o=1,0!==a.U.length&&Q(Za,a))}function A(a,
b){void 0===a.o&&(a.o=2,a.m=b,Q(he,a))}function Xa(a,b,c,d){var e=a.U,f=e.length;a.Ca=null;e[f]=b;e[f+1]=c;e[f+2]=d;0===f&&a.o&&Q(Za,a)}function Za(a){var b=a.U,c=a.o;if(0!==b.length){for(var d,e,f=a.m,g=0;g<b.length;g+=3)d=b[g],e=b[g+c],d?cc(c,d,e,f):e(f);a.U.length=0}}function fc(){this.error=null}function cc(a,b,c,d){var e="function"===typeof c;if(e){try{var f=c(d)}catch(L){$a.error=L,f=$a}if(f===$a){var g=!0;var h=f.error;f.error=null}else var m=!0;if(b===f){A(b,new TypeError("A promises callback cannot return that same promise."));
return}}else f=d,m=!0;void 0===b.o&&(e&&m?ea(b,f):g?A(b,h):1===a?J(b,f):2===a&&A(b,f))}function ie(a,b){try{b(function(b){ea(a,b)},function(b){A(a,b)})}catch(c){A(a,c)}}function bc(a){a[ta]=gc++;a.o=void 0;a.m=void 0;a.U=[]}function ha(a,b){this.eb=a;this.J=new a(Y);this.J[ta]||bc(this.J);hc(b)?(this.aa=this.length=b.length,this.m=Array(this.length),0===this.length?J(this.J,this.m):(this.length=this.length||0,this.cb(b),0===this.aa&&J(this.J,this.m))):A(this.J,Error("Array Methods must be provided an Array"))}
function q(a){this[ta]=gc++;this.m=this.o=void 0;this.U=[];if(Y!==a){if("function"!==typeof a)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(this instanceof q)ie(this,a);else throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");}}function Z(a){return a.__shady&&void 0!==a.__shady.firstChild}function H(a){return"ShadyRoot"===a.Wa}function ia(a){a=a.getRootNode();
if(H(a))return a}function ab(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length&&(e=c[d]);d++){var f=Object.getOwnPropertyDescriptor(b,e);f&&Object.defineProperty(a,e,f)}}function bb(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)ab(a,c[d]);return a}function je(a,b){for(var c in b)a[c]=b[c]}function ic(a){cb.push(a);db.textContent=jc++}function kc(a){eb||(eb=!0,ic(ua));ja.push(a)}function ua(){eb=!1;for(var a=!!ja.length;ja.length;)ja.shift()();
return a}function ke(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function lc(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}
function mc(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function fb(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){a:{var h=g;var m=a;var L=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,l="<"+k,n=h.attributes,p=0;m=n[p];p++)l+=" "+m.name+'="'+m.value.replace(le,lc)+'"';l+=">";h=me[k]?l:l+fb(h,L)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&ne[m.localName]?h:h.replace(oe,lc);break a;case Node.COMMENT_NODE:h=
"\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function aa(a){B.currentNode=a;return B.parentNode()}function Ra(a){B.currentNode=a;return B.firstChild()}function Sa(a){B.currentNode=a;return B.lastChild()}function nc(a){B.currentNode=a;return B.previousSibling()}function oc(a){B.currentNode=a;return B.nextSibling()}function U(a){var b=[];B.currentNode=a;for(a=B.firstChild();a;)b.push(a),a=B.nextSibling();return b}function pc(a){C.currentNode=
a;return C.parentNode()}function qc(a){C.currentNode=a;return C.firstChild()}function rc(a){C.currentNode=a;return C.lastChild()}function sc(a){C.currentNode=a;return C.previousSibling()}function tc(a){C.currentNode=a;return C.nextSibling()}function uc(a){var b=[];C.currentNode=a;for(a=C.firstChild();a;)b.push(a),a=C.nextSibling();return b}function vc(a){return fb(a,function(a){return U(a)})}function wc(a){switch(a.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:a=document.createTreeWalker(a,
NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b;default:return a.nodeValue}}function M(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function R(a){M(a,xc);M(a,gb);M(a,hb)}function yc(a,b,c){$b(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;
var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function ib(a,b,c){if(b===a)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&
d!==a||void 0===d&&aa(c)!==a)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(c===b)return b;b.parentNode&&jb(b.parentNode,b);d=ia(a);var e;if(e=d)a:{if(!b.__noInsertionPoint){var f;"slot"===b.localName?f=[b]:b.querySelectorAll&&(f=b.querySelectorAll("slot"));if(f&&f.length){e=f;break a}}e=void 0}f=e;d&&("slot"===a.localName||f)&&d.M();if(Z(a)){e=c;Zb(a);a.__shady=a.__shady||{};void 0!==a.__shady.firstChild&&
(a.__shady.childNodes=null);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)yc(g[h],a,e);b.__shady=b.__shady||{};e=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=b.__shady.lastChild=e;b.__shady.childNodes=e}else yc(b,a,e);if(kb(a)){a.__shady.root.M();var m=!0}else a.__shady.root&&(m=!0)}m||(m=H(a)?a.host:a,c?(c=zc(c),lb.call(m,b,c)):Ac.call(m,b));Bc(a,b);f&&d.$a(f);return b}function jb(a,b){if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+
b);var c=ia(b);if(Z(a)){b.__shady=b.__shady||{};a.__shady=a.__shady||{};b===a.__shady.firstChild&&(a.__shady.firstChild=b.__shady.nextSibling);b===a.__shady.lastChild&&(a.__shady.lastChild=b.__shady.previousSibling);var d=b.__shady.previousSibling;var e=b.__shady.nextSibling;d&&(d.__shady=d.__shady||{},d.__shady.nextSibling=e);e&&(e.__shady=e.__shady||{},e.__shady.previousSibling=d);b.__shady.parentNode=b.__shady.previousSibling=b.__shady.nextSibling=void 0;void 0!==a.__shady.childNodes&&(a.__shady.childNodes=
null);if(kb(a)){a.__shady.root.M();var f=!0}}Cc(b);c&&((e=a&&"slot"===a.localName)&&(f=!0),((d=c.gb(b))||e)&&c.M());f||(f=H(a)?a.host:a,(!a.__shady.root&&"slot"!==b.localName||f===aa(b))&&ka.call(f,b));Bc(a,null,b);return b}function Cc(a){if(a.__shady&&void 0!==a.__shady.ta)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Cc(e);a.__shady&&(a.__shady.ta=void 0)}function zc(a){var b=a;a&&"slot"===a.localName&&(b=(b=a.__shady.V)&&b.length?b[0]:zc(a.nextSibling));return b}function kb(a){return(a=
a&&a.__shady&&a.__shady.root)&&a.Ba()}function Dc(a,b){"slot"===b?(a=a.parentNode,kb(a)&&a.__shady.root.M()):"slot"===a.localName&&"name"===b&&(b=ia(a))&&(b.ib(a),b.M())}function Bc(a,b,c){if(a=a.__shady&&a.__shady.X)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),a.vb()}function Ec(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.ta;void 0===b&&(H(a)?b=a:b=(b=a.parentNode)?Ec(b):a,document.documentElement.contains(a)&&(a.__shady.ta=b));return b}}function va(a,b,c){var d=[];Fc(a.childNodes,
b,c,d);return d}function Fc(a,b,c,d){for(var e=0,f=a.length,g;e<f&&(g=a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var m=b,L=c,k=d,l=m(h);l&&k.push(h);L&&L(l)?h=l:(Fc(h.childNodes,m,L,k),h=void 0)}if(h)break}}function Gc(a){a=a.getRootNode();H(a)&&a.Ea()}function Hc(a,b,c){wa||(wa=window.ShadyCSS&&window.ShadyCSS.ScopingShim);wa&&"class"===b?wa.setElementClass(a,c):(Ic.call(a,b,c),Dc(a,b))}function Jc(a,b){if(a.ownerDocument!==document)return mb.call(document,a,b);var c=mb.call(document,
a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=Jc(a[b],!0),c.appendChild(d)}return c}function nb(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;c[c.length-1]===document&&c.push(window);return c}function Kc(a,b){if(!H)return a;a=nb(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!H(f)||
-1<g)return d}function ob(a){function b(b,d){b=new a(b,d);b.ja=d&&!!d.composed;return b}je(b,a);b.prototype=a.prototype;return b}function Lc(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.Ua);d++);}function pe(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];Lc(a,d,"capture");if(a.ka)return}Object.defineProperty(a,
"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=d.__shady&&d.__shady.root;if(0===c||f&&f===e)if(Lc(a,d,"bubble"),d!==window&&(e=d.getRootNode()),a.ka)break}}function Mc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],m=h.type,k=h.capture,l=h.once,n=h.passive;if(b===h.node&&c===m&&d===k&&e===l&&f===n)return g}return-1}function Nc(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.la||
this,h=b.$;if(h){if(-1<Mc(h,g,a,d,e,f))return}else b.$=[];h=function(d){e&&this.removeEventListener(a,b,c);d.__target||Oc(d);if(g!==this){var f=Object.getOwnPropertyDescriptor(d,"currentTarget");Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===
typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.$.push({node:this,type:a,capture:d,once:e,passive:f,yb:h});pb[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][d?"capture":"bubble"].push(h)):(this instanceof Window?Pc:Qc).call(this,a,h,c)}}function Rc(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=
!!c.passive}else d=!!c,f=e=!1;var g=c&&c.la||this,h=void 0;var m=null;try{m=b.$}catch(L){}m&&(e=Mc(m,g,a,d,e,f),-1<e&&(h=m.splice(e,1)[0].yb,m.length||(b.$=void 0)));(this instanceof Window?Sc:Tc).call(this,a,h||b,c);h&&pb[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function qe(){for(var a in pb)window.addEventListener(a,function(a){a.__target||(Oc(a),pe(a))},!0)}function Oc(a){a.__target=a.target;a.za=a.relatedTarget;if(D.W){var b=
Uc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.Ab=c;ab(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else ab(a,Uc)}function la(a,b){return{index:a,Y:[],ba:b}}function re(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){h=a.length;for(var k=c.length,l=0;l<m-g&&se(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(0==b-e&&0==d-f)return[];if(e==b){for(b=la(e,0);f<d;)b.Y.push(c[f++]);
return[b]}if(f==d)return[la(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)0==m?(a.push(2),g--):0==g?(a.push(3),m--):(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),
g--,d=l));a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=la(e,0));b.ba++;e++;b.Y.push(c[f]);f++;break;case 2:b||(b=la(e,0));b.ba++;e++;break;case 3:b||(b=la(e,0)),b.Y.push(c[f]),f++}b&&m.push(b);return m}function se(a,b){return a===b}function Vc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}function Wc(a){Gc(a);return a.__shady&&a.__shady.assignedSlot||null}function N(a,b){for(var c=Object.getOwnPropertyNames(b),
d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function te(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;N(window.Node.prototype,ue);N(window.Window.prototype,ve);N(window.Text.prototype,we);N(window.DocumentFragment.prototype,qb);N(window.Element.prototype,Xc);N(window.Document.prototype,Yc);window.HTMLSlotElement&&N(window.HTMLSlotElement.prototype,Zc);N(a.prototype,xe);D.W&&(R(window.Node.prototype),
R(window.Text.prototype),R(window.DocumentFragment.prototype),R(window.Element.prototype),R(a.prototype),R(window.Document.prototype),window.HTMLSlotElement&&R(window.HTMLSlotElement.prototype))}function $c(a){var b=ye.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function n(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||
a instanceof Document))}function rb(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function P(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)P(d,b,c);d=rb(a,e);continue}else if("template"===f){d=rb(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)P(e,
b,c)}d=d.firstChild?d.firstChild:rb(a,d)}}function w(a,b,c){a[b]=c}function sb(a){a=a.replace(G.mb,"").replace(G.port,"");var b=ad,c=a,d=new Ja;d.start=0;d.end=c.length;for(var e=d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,m=h.rules[h.rules.length-1]||null;e=new Ja;e.start=f+1;e.parent=h;e.previous=m;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function ad(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&(c=b.substring(a.previous?
a.previous.end:a.parent.start,a.start-1),c=ze(c),c=c.replace(G.Ka," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=K.MEDIA_RULE:c.match(G.rb)&&(a.type=K.ia,a.keyframesName=a.selector.split(G.Ka).pop()):a.type=0===c.indexOf("--")?K.va:K.STYLE_RULE);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)ad(f,b);return a}function ze(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-
a.length;c--;)a="0"+a;return"\\"+a})}function bd(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=bd(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(G.Fa,"").replace(G.Ja,""),b=b.replace(G.sb,"").replace(G.xb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function cd(a){x=a&&a.shimcssproperties?
!1:y||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}function ba(a,b){if(!a)return"";"string"===typeof a&&(a=sb(a));b&&ca(a,b);return bd(a,x)}function xa(a){!a.__cssRules&&a.textContent&&(a.__cssRules=sb(a.textContent));return a.__cssRules||null}function dd(a){return!!a.parent&&a.parent.type===K.ia}function ca(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===K.MEDIA_RULE){var g=a.selector.match(Ae);g&&(window.matchMedia(g[1]).matches||
(e=!0))}f===K.STYLE_RULE?b(a):c&&f===K.ia?c(a):f===K.va&&(e=!0);if((a=a.rules)&&!e){e=0;f=a.length;for(var h;e<f&&(h=a[e]);e++)ca(h,b,c,d)}}}function tb(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;ed(e,c,d);return e}function ed(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);S?a.compareDocumentPosition(S)===Node.DOCUMENT_POSITION_PRECEDING&&(S=a):S=a}function fd(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");a:{var d=
0;var e=c+3;for(var f=a.length;e<f;e++)if("("===a[e])d++;else if(")"===a[e]&&0===--d)break a;e=-1}d=a.substring(c+4,e);c=a.substring(0,c);a=fd(a.substring(e+1),b);e=d.indexOf(",");return-1===e?b(c,d.trim(),"",a):b(c,d.substring(0,e).trim(),d.substring(e+1).trim(),a)}function ya(a,b){y?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function T(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);
return{is:b,Z:c}}function gd(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode();var g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(v.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?v.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&
(f=f.host)&&(f=T(f).is,g!==f&&(g&&v.a(e,g,!0),v.a(e,f)))}}}}function Be(a){if(a=za[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function hd(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Ce(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,De.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function Jb(a){requestAnimationFrame(function(){id?
id(a):(ub||(ub=new Promise(function(a){vb=a}),"complete"===document.readyState?vb():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&vb()})),ub.then(function(){a&&a()}))})}(function(){if(!function(){var a=document.createEvent("Event");a.initEvent("foo",!0,!0);a.preventDefault();return a.defaultPrevented}()){var a=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(a.call(this),Object.defineProperty(this,"defaultPrevented",
{get:function(){return!0},configurable:!0}))}}var b=/Trident/.test(navigator.userAgent);if(!window.CustomEvent||b&&"function"!==typeof window.CustomEvent)window.CustomEvent=function(a,b){b=b||{};var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c},window.CustomEvent.prototype=window.Event.prototype;if(!window.Event||b&&"function"!==typeof window.Event){var c=window.Event;window.Event=function(a,b){b=b||{};var c=document.createEvent("Event");
c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};if(c)for(var d in c)window.Event[d]=c[d];window.Event.prototype=c.prototype}if(!window.MouseEvent||b&&"function"!==typeof window.MouseEvent){b=window.MouseEvent;window.MouseEvent=function(a,b){b=b||{};var c=document.createEvent("MouseEvent");c.initMouseEvent(a,!!b.bubbles,!!b.cancelable,b.view||window,b.detail,b.screenX,b.screenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};if(b)for(d in b)window.MouseEvent[d]=
b[d];window.MouseEvent.prototype=b.prototype}Array.from||(Array.from=function(a){return[].slice.call(a)});Object.assign||(Object.assign=function(a,b){for(var c=[].slice.call(arguments,1),d=0,e;d<c.length;d++)if(e=c[d])for(var f=a,k=e,l=Object.getOwnPropertyNames(k),n=0;n<l.length;n++)e=l[n],f[e]=k[e];return a})})(window.WebComponents);(function(){function a(){}var b="undefined"===typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&function(){var a=Document.prototype.importNode;Document.prototype.importNode=
function(){var b=a.apply(this,arguments);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var c=this.createDocumentFragment();c.appendChild(b);return c}return b}}();var c=Node.prototype.cloneNode,d=Document.prototype.createElement,e=Document.prototype.importNode,f=function(){if(!b){var a=document.createElement("template"),c=document.createElement("template");c.content.appendChild(document.createElement("div"));a.content.appendChild(c);a=a.cloneNode(!0);return 0===a.content.childNodes.length||0===a.content.firstChild.content.childNodes.length||
!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment)}}();if(b){var g=function(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case "\u00a0":return"&nbsp;"}},h=function(b){Object.defineProperty(b,"innerHTML",{get:function(){for(var a="",b=this.content.firstChild;b;b=b.nextSibling)a+=b.outerHTML||b.data.replace(r,g);return a},set:function(b){m.body.innerHTML=b;for(a.b(m);this.content.firstChild;)this.content.removeChild(this.content.firstChild);
for(;m.body.firstChild;)this.content.appendChild(m.body.firstChild)},configurable:!0})},m=document.implementation.createHTMLDocument("template"),k=!0,l=document.createElement("style");l.textContent="template{display:none;}";var n=document.head;n.insertBefore(l,n.firstElementChild);a.prototype=Object.create(HTMLElement.prototype);var p=!document.createElement("div").hasOwnProperty("innerHTML");a.O=function(b){if(!b.content){b.content=m.createDocumentFragment();for(var c;c=b.firstChild;)b.content.appendChild(c);
if(p)b.__proto__=a.prototype;else if(b.cloneNode=function(b){return a.a(this,b)},k)try{h(b)}catch(cf){k=!1}a.b(b.content)}};h(a.prototype);a.b=function(b){b=b.querySelectorAll("template");for(var c=0,d=b.length,e;c<d&&(e=b[c]);c++)a.O(e)};document.addEventListener("DOMContentLoaded",function(){a.b(document)});Document.prototype.createElement=function(){var b=d.apply(this,arguments);"template"===b.localName&&a.O(b);return b};var r=/[&\u00A0<>]/g}if(b||f)a.a=function(a,b){var d=c.call(a,!1);this.O&&
this.O(d);b&&(d.content.appendChild(c.call(a.content,!0)),this.ra(d.content,a.content));return d},a.prototype.cloneNode=function(b){return a.a(this,b)},a.ra=function(a,b){if(b.querySelectorAll){b=b.querySelectorAll("template");a=a.querySelectorAll("template");for(var c=0,d=a.length,e,f;c<d;c++)f=b[c],e=a[c],this.O&&this.O(f),e.parentNode.replaceChild(f.cloneNode(!0),e)}},Node.prototype.cloneNode=function(b){if(this instanceof DocumentFragment)if(b)var d=this.ownerDocument.importNode(this,!0);else return this.ownerDocument.createDocumentFragment();
else d=c.call(this,b);b&&a.ra(d,this);return d},Document.prototype.importNode=function(b,c){if("template"===b.localName)return a.a(b,c);var d=e.call(this,b,c);c&&a.ra(d,b);return d},f&&(window.HTMLTemplateElement.prototype.cloneNode=function(b){return a.a(this,b)});b&&(window.HTMLTemplateElement=a)})();var wb;Array.isArray?wb=Array.isArray:wb=function(a){return"[object Array]"===Object.prototype.toString.call(a)};var hc=wb,W=0,Ua,Ta,jd="undefined"!==typeof window?window:void 0,kd=jd||{},ac=kd.MutationObserver||
kd.WebKitMutationObserver,Ee="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel,V=Array(1E3);var Zd="undefined"===typeof self&&"undefined"!==typeof process&&"[object process]"==={}.toString.call(process)?$d():ac?be():Ee?ce():jd||"function"!==typeof require?Va():de();var ta=Math.random().toString(36).substring(16),fa=new fc,$a=new fc,gc=0;ha.prototype.cb=function(a){for(var b=0;void 0===this.o&&b<a.length;b++)this.bb(a[b],b)};ha.prototype.bb=
function(a,b){var c=this.eb,d=c.resolve;d===Ya?(d=dc(a),d===Wa&&void 0!==a.o?this.oa(a.o,b,a.m):"function"!==typeof d?(this.aa--,this.m[b]=a):c===q?(c=new c(Y),ec(c,a,d),this.pa(c,b)):this.pa(new c(function(b){return b(a)}),b)):this.pa(d(a),b)};ha.prototype.oa=function(a,b,c){var d=this.J;void 0===d.o&&(this.aa--,2===a?A(d,c):this.m[b]=c);0===this.aa&&J(d,this.m)};ha.prototype.pa=function(a,b){var c=this;Xa(a,void 0,function(a){return c.oa(1,b,a)},function(a){return c.oa(2,b,a)})};q.g=function(a){return(new ha(this,
a)).J};q.h=function(a){var b=this;return hc(a)?new b(function(c,d){for(var e=a.length,f=0;f<e;f++)b.resolve(a[f]).then(c,d)}):new b(function(a,b){return b(new TypeError("You must pass an array to race."))})};q.resolve=Ya;q.i=function(a){var b=new this(Y);A(b,a);return b};q.f=function(a){Ta=a};q.c=function(a){Q=a};q.b=Q;q.prototype={constructor:q,then:Wa};q.a=function(){if("undefined"!==typeof global)var a=global;else if("undefined"!==typeof self)a=self;else try{a=Function("return this")()}catch(d){throw Error("polyfill failed because global object is unavailable in this environment");
}var b=a.Promise;if(b){var c=null;try{c=Object.prototype.toString.call(b.resolve())}catch(d){}if("[object Promise]"===c&&!b.Db)return}a.Promise=q};q.Promise=q;q.a();(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function c(a){if(n)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;
if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;c?l(b,function(b){return g(b,function(){0===--c&&a()})}):a()}function e(a){function b(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",b),a())}document.addEventListener("readystatechange",b);b()}function f(a){e(function(){return d(function(){return a&&
a()})})}function g(a,b){if(a.__loaded)b&&b();else if("script"===a.localName&&!a.src||"style"===a.localName&&!a.firstChild)a.__loaded=!0,b&&b();else{var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);x&&"style"===a.localName||a.addEventListener("error",c)}}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function k(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.l(b)});this.f.observe(document.head,
{childList:!0,subtree:!0});this.c(document)}function l(a,b,c){var d=a?a.length:0,e=c?-1:1;for(c=c?d-1:0;c<d&&0<=c;c+=e)b(a[c],c)}var n="import"in document.createElement("link"),p=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return p||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var r=/(^\/)|(^#)|(^[\w-\d]*:)/,t=/(url\()([^)]*)(\))/g,v=/(@import[\s]+(?!url\())([^;]*)(;)/g,y=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,
q={nb:function(a,b){a.href&&a.setAttribute("href",q.ua(a.getAttribute("href"),b));a.src&&a.setAttribute("src",q.ua(a.getAttribute("src"),b));if("style"===a.localName){var c=q.Ma(a.textContent,b,t);a.textContent=q.Ma(c,b,v)}},Ma:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=q.Na(a,b));return c+"'"+a+"'"+e})},ua:function(a,b){return a&&r.test(a)?a:q.Na(a,b)},Na:function(a,b){if(void 0===q.ma){q.ma=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";q.ma="http://a/c%20d"===
c.href}catch(df){}}if(q.ma)return(new URL(a,b)).href;c=q.Za;c||(c=document.implementation.createHTMLDocument("temp"),q.Za=c,c.xa=c.createElement("base"),c.head.appendChild(c.xa),c.wa=c.createElement("a"));c.xa.href=b;c.wa.href=a;return c.wa.href||a}},z={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1];d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,z.async);e.onload=function(){var a=e.responseURL||e.getResponseHeader("Location");
a&&0===a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||0===e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},x=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.c=function(a){var b=this;a=a.querySelectorAll("link[rel=import]");l(a,function(a){return b.h(a)})};k.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=
this.a[c];d&&d.__loaded&&(a.import=d,this.g(a))}else this.b++,this.a[c]="pending",z.load(c,function(a,d){a=b.s(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};k.prototype.s=function(a,b){if(!a)return document.createDocumentFragment();x&&(a=a.replace(y,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);
if(c=a.querySelector("base"))b=q.ua(c.getAttribute("href"),b),c.removeAttribute("href");c=a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]');var d=0;l(c,function(a){g(a);q.nb(a,b);a.setAttribute("import-dependency","");"script"===a.localName&&!a.src&&a.textContent&&(a.setAttribute("src","data:text/javascript;charset=utf-8,"+
encodeURIComponent(a.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),a.textContent="",d++)});return a};k.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.v(function(){c=!0;d()});this.u(function(){b=!0;d()})}};k.prototype.flatten=function(a){var b=this;a=a.querySelectorAll("link[rel=import]");l(a,function(a){var c=b.a[a.href];(a.import=
c)&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(b.a[a.href]=a,a.readyState="loading",a.import=a,b.flatten(c),a.appendChild(c))})};k.prototype.u=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");l(f.attributes,function(a){return h.setAttribute(a.name,a.value)});p=h;f.parentNode.replaceChild(h,f);g(h,function(){p=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};k.prototype.v=function(a){var b=
document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d){var e=x&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");l(b,function(b){g(b,function(){b.removeAttribute("import-dependency");0===--d&&a()});if(e&&b.parentNode!==document.head){var f=document.createElement(b.localName);f.__appliedElement=b;f.setAttribute("type","import-placeholder");b.parentNode.insertBefore(f,b.nextSibling);for(f=c(b);f&&c(f);)f=c(f);f.parentNode!==
document.head&&(f=null);document.head.insertBefore(b,f);b.removeAttribute("type")}})}else a()};k.prototype.j=function(){var a=this,b=document.querySelectorAll("link[rel=import]");l(b,function(b){return a.g(b)},!0)};k.prototype.g=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(b(a.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};k.prototype.l=function(a){var b=this;l(a,function(a){return l(a.addedNodes,function(a){a&&a.nodeType===
Node.ELEMENT_NODE&&(h(a)?b.h(a):b.c(a))})})};if(n){var w=document.querySelectorAll("link[rel=import]");l(w,function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)});w=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",w,!0);document.addEventListener("error",w,!0)}else{var u=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!u||u.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?
a.href:u&&u.get?u.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=n;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});window.WebComponents=window.WebComponents||{flags:{}};var ld=document.querySelector('script[src*="webcomponents-lite.js"]'),Fe=/wc-(.+)/,E={};if(!E.noOpts){location.search.slice(1).split("&").forEach(function(a){a=
a.split("=");var b;a[0]&&(b=a[0].match(Fe))&&(E[b[1]]=a[1]||!0)});if(ld)for(var md=0,Aa;Aa=ld.attributes[md];md++)"src"!==Aa.name&&(E[Aa.name]=Aa.value||!0);if(E.log&&E.log.split){var Ge=E.log.split(",");E.log={};Ge.forEach(function(a){E.log[a]=!0})}else E.log={}}window.WebComponents.flags=E;var nd=E.shadydom;nd&&(window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=nd);var od=E.register||E.ce;od&&window.customElements&&(window.customElements.forcePolyfill=od);var D=window.ShadyDOM||{};D.ob=
!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var xb=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");D.W=!!(xb&&xb.configurable&&xb.get);D.Ia=D.force||!D.ob;var da=Element.prototype,pd=da.matches||da.matchesSelector||da.mozMatchesSelector||da.msMatchesSelector||da.oMatchesSelector||da.webkitMatchesSelector,db=document.createTextNode(""),jc=0,cb=[];(new MutationObserver(function(){for(;cb.length;)try{cb.shift()()}catch(a){throw db.textContent=jc++,a;}})).observe(db,{characterData:!0});
var ja=[],eb;ua.list=ja;sa.prototype.vb=function(){var a=this;this.a||(this.a=!0,ic(function(){a.b()}))};sa.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.ca.forEach(function(b){b(a)})}};sa.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var Ac=Element.prototype.appendChild,lb=Element.prototype.insertBefore,
ka=Element.prototype.removeChild,Ic=Element.prototype.setAttribute,qd=Element.prototype.removeAttribute,yb=Element.prototype.cloneNode,mb=Document.prototype.importNode,Qc=Element.prototype.addEventListener,Tc=Element.prototype.removeEventListener,Pc=Window.prototype.addEventListener,Sc=Window.prototype.removeEventListener,zb=Element.prototype.dispatchEvent,He=Object.freeze({appendChild:Ac,insertBefore:lb,removeChild:ka,setAttribute:Ic,removeAttribute:qd,cloneNode:yb,importNode:mb,addEventListener:Qc,
removeEventListener:Tc,Ib:Pc,Jb:Sc,dispatchEvent:zb,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll}),le=/[&\u00A0"]/g,oe=/[&\u00A0<>]/g,me=mc("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ne=mc("style script xmp iframe noembed noframes plaintext noscript".split(" ")),B=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),C=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,
!1),Ie=Object.freeze({parentNode:aa,firstChild:Ra,lastChild:Sa,previousSibling:nc,nextSibling:oc,childNodes:U,parentElement:pc,firstElementChild:qc,lastElementChild:rc,previousElementSibling:sc,nextElementSibling:tc,children:uc,innerHTML:vc,textContent:wc}),Ab=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),Ba=document.implementation.createHTMLDocument("inert").createElement("div"),Bb=Object.getOwnPropertyDescriptor(Document.prototype,
"activeElement"),xc={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:pc(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:aa(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:oc(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;
return void 0!==a?a:nc(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return tc(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&
a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return sc(this)},configurable:!0}},gb={childNodes:{get:function(){if(Z(this)){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}var b=this.__shady.childNodes}else b=U(this);b.item=function(a){return b[a]};return b},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=this.__shady&&
this.__shady.firstChild;return void 0!==a?a:Ra(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Sa(this)},configurable:!0},textContent:{get:function(){if(Z(this)){for(var a=[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return wc(this)},set:function(a){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);
this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return qc(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return rc(this)},configurable:!0},
children:{get:function(){var a;Z(this)?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=uc(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return Z(this)?fb(a):vc(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(Ab&&Ab.set?Ab.set.call(Ba,a):Ba.innerHTML=a;Ba.firstChild;)b.appendChild(Ba.firstChild)},
configurable:!0}},rd={shadowRoot:{get:function(){return this.__shady&&this.__shady.tb||null},configurable:!0}},hb={activeElement:{get:function(){var a=Bb&&Bb.get?Bb.get.call(document):D.W?void 0:document.activeElement;if(a&&a.nodeType){var b=!!H(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=ia(a);b&&b!==this;)a=b.host,b=ia(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},$b=D.W?function(){}:function(a){a.__shady&&
a.__shady.Xa||(a.__shady=a.__shady||{},a.__shady.Xa=!0,M(a,xc,!0))},Zb=D.W?function(){}:function(a){a.__shady&&a.__shady.Va||(a.__shady=a.__shady||{},a.__shady.Va=!0,M(a,gb,!0),M(a,rd,!0))},wa=null,Je={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},Uc={get composed(){!1!==this.isTrusted&&void 0===this.ja&&(this.ja=Je[this.type]);return this.ja||!1},composedPath:function(){this.ya||(this.ya=nb(this.__target,this.composed));return this.ya},
get target(){return Kc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.za)return null;this.Aa||(this.Aa=nb(this.za,!0));return Kc(this.currentTarget,this.Aa)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ka=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ka=this.Ua=!0}},pb={focus:!0,blur:!0},Ke=ob(window.Event),Le=ob(window.CustomEvent),Me=ob(window.MouseEvent),Yb={};l.prototype=Object.create(DocumentFragment.prototype);
l.prototype.D=function(a,b){this.Wa="ShadyRoot";ra(a);ra(this);this.host=a;this.L=b&&b.mode;a.__shady=a.__shady||{};a.__shady.root=this;a.__shady.tb="closed"!==this.L?this:null;this.T=!1;this.b=[];this.a=null;b=U(a);for(var c=0,d=b.length;c<d;c++)ka.call(a,b[c])};l.prototype.M=function(){var a=this;this.T||(this.T=!0,kc(function(){return a.Ea()}))};l.prototype.C=function(){for(var a=this,b=this;b;)b.T&&(a=b),b=b.hb();return a};l.prototype.hb=function(){var a=this.host.getRootNode();if(H(a))for(var b=
this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.h(d))return a};l.prototype.Ea=function(){this.T&&this.C()._renderRoot()};l.prototype._renderRoot=function(){this.T=!1;this.v();this.s()};l.prototype.v=function(){for(var a=0,b;a<this.b.length;a++)b=this.b[a],this.l(b);for(b=this.host.firstChild;b;b=b.nextSibling)this.f(b);for(a=0;a<this.b.length;a++){b=this.b[a];if(!b.__shady.assignedNodes.length)for(var c=b.firstChild;c;c=c.nextSibling)this.f(c,b);c=b.parentNode;(c=c.__shady&&c.__shady.root)&&
c.Ba()&&c._renderRoot();this.c(b.__shady.V,b.__shady.assignedNodes);if(c=b.__shady.Da){for(var d=0;d<c.length;d++)c[d].__shady.na=null;b.__shady.Da=null;c.length>b.__shady.assignedNodes.length&&(b.__shady.qa=!0)}b.__shady.qa&&(b.__shady.qa=!1,this.g(b))}};l.prototype.f=function(a,b){a.__shady=a.__shady||{};var c=a.__shady.na;a.__shady.na=null;b||(b=(b=this.a[a.slot||"__catchall"])&&b[0]);b?(b.__shady.assignedNodes.push(a),a.__shady.assignedSlot=b):a.__shady.assignedSlot=void 0;c!==a.__shady.assignedSlot&&
a.__shady.assignedSlot&&(a.__shady.assignedSlot.__shady.qa=!0)};l.prototype.l=function(a){var b=a.__shady.assignedNodes;a.__shady.assignedNodes=[];a.__shady.V=[];if(a.__shady.Da=b)for(var c=0;c<b.length;c++){var d=b[c];d.__shady.na=d.__shady.assignedSlot;d.__shady.assignedSlot===a&&(d.__shady.assignedSlot=null)}};l.prototype.c=function(a,b){for(var c=0,d;c<b.length&&(d=b[c]);c++)"slot"==d.localName?this.c(a,d.__shady.assignedNodes):a.push(b[c])};l.prototype.g=function(a){zb.call(a,new Event("slotchange"));
a.__shady.assignedSlot&&this.g(a.__shady.assignedSlot)};l.prototype.s=function(){for(var a=this.b,b=[],c=0;c<a.length;c++){var d=a[c].parentNode;d.__shady&&d.__shady.root||!(0>b.indexOf(d))||b.push(d)}for(a=0;a<b.length;a++)c=b[a],this.I(c===this?this.host:c,this.u(c))};l.prototype.u=function(a){var b=[];a=a.childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.h(d)){d=d.__shady.V;for(var e=0;e<d.length;e++)b.push(d[e])}else b.push(d)}return b};l.prototype.h=function(a){return"slot"==a.localName};
l.prototype.I=function(a,b){for(var c=U(a),d=re(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.Y.length&&(k=g.Y[h]);h++)aa(k)===a&&ka.call(a,k),c.splice(g.index+f,1);f-=g.ba}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.ba;h++)k=b[h],lb.call(a,k,f),c.splice(h,0,k)};l.prototype.$a=function(a){this.a=this.a||{};this.b=this.b||[];for(var b=0;b<a.length;b++){var c=a[b];c.__shady=c.__shady||{};ra(c);ra(c.parentNode);var d=this.i(c);if(this.a[d]){var e=
e||{};e[d]=!0;this.a[d].push(c)}else this.a[d]=[c];this.b.push(c)}if(e)for(var f in e)this.a[f]=this.j(this.a[f])};l.prototype.i=function(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.Ya=b};l.prototype.j=function(a){return a.sort(function(a,c){a=Vc(a);for(var b=Vc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})};l.prototype.gb=function(a){this.a=this.a||{};this.b=this.b||[];var b=this.a,c;for(c in b)for(var d=
b[c],e=0;e<d.length;e++){var f=d[e],g;a:{for(g=f;g;){if(g==a){g=!0;break a}g=g.parentNode}g=void 0}if(g){d.splice(e,1);var h=this.b.indexOf(f);0<=h&&this.b.splice(h,1);e--;this.H(f);h=!0}}return h};l.prototype.ib=function(a){var b=a.Ya,c=this.i(a);if(c!==b){b=this.a[b];var d=b.indexOf(a);0<=d&&b.splice(d,1);b=this.a[c]||(this.a[c]=[]);b.push(a);1<b.length&&(this.a[c]=this.j(b))}};l.prototype.H=function(a){if(a=a.__shady.V)for(var b=0;b<a.length;b++){var c=a[b],d=aa(c);d&&ka.call(d,c)}};l.prototype.Ba=
function(){return!!this.b.length};l.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.la=this;this.host.addEventListener(a,b,c)};l.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.la=this;this.host.removeEventListener(a,b,c)};l.prototype.getElementById=function(a){return va(this,function(b){return b.id==a},function(a){return!!a})[0]||null};(function(a){M(a,gb,!0);M(a,hb,!0)})(l.prototype);var ve={addEventListener:Nc.bind(window),
removeEventListener:Rc.bind(window)},ue={addEventListener:Nc,removeEventListener:Rc,appendChild:function(a){return ib(this,a)},insertBefore:function(a,b){return ib(this,a,b)},removeChild:function(a){return jb(this,a)},replaceChild:function(a,b){ib(this,a,b);jb(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=yb.call(this,a);else if(b=yb.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Ec(this)},
get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof l?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){ua();return zb.call(this,a)}},we={get assignedSlot(){return Wc(this)}},qb={querySelector:function(a){return va(this,function(b){return pd.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return va(this,
function(b){return pd.call(b,a)})}},Zc={assignedNodes:function(a){if("slot"===this.localName)return Gc(this),this.__shady?(a&&a.flatten?this.__shady.V:this.__shady.assignedNodes)||[]:[]}},Xc=bb({setAttribute:function(a,b){Hc(this,a,b)},removeAttribute:function(a){qd.call(this,a);Dc(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new l(Yb,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){Hc(this,"slot",a)},get assignedSlot(){return Wc(this)}},
qb,Zc);Object.defineProperties(Xc,rd);var Yc=bb({importNode:function(a,b){return Jc(a,b)},getElementById:function(a){return va(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},qb);Object.defineProperties(Yc,{_activeElement:hb.activeElement});var Ne=HTMLElement.prototype.blur,xe=bb({blur:function(){var a=this.__shady&&this.__shady.root;(a=a&&a.activeElement)?a.blur():Ne.call(this)}});D.Ia&&(window.ShadyDOM={inUse:D.Ia,patch:function(a){return a},isShadyRoot:H,enqueue:kc,flush:ua,
settings:D,filterMutations:ke,observeChildren:Yd,unobserveChildren:Xd,nativeMethods:He,nativeTree:Ie},window.Event=Ke,window.CustomEvent=Le,window.MouseEvent=Me,qe(),te(),window.ShadowRoot=l);var ye=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));u.prototype.D=function(a,b){this.s.set(a,b);this.l.set(b.constructor,b)};u.prototype.f=function(a){return this.s.get(a)};u.prototype.C=function(a){return this.l.get(a)};
u.prototype.u=function(a){this.h=!0;this.i.push(a)};u.prototype.j=function(a){var b=this;this.h&&P(a,function(a){return b.g(a)})};u.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};u.prototype.b=function(a){var b=[];P(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.v(c)}};u.prototype.a=function(a){var b=[];P(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=
b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};u.prototype.c=function(a,b){var c=this;b=b?b:new Set;var d=[];P(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},
b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.v(d[a])};u.prototype.v=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=
b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}n(a)&&this.connectedCallback(a)}}};u.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};u.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};u.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&
f.attributeChangedCallback.call(a,b,c,d,e)};Qa.prototype.c=function(){this.N&&this.N.disconnect()};Qa.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};Xb.prototype.resolve=function(a){if(this.a)throw Error("Already resolved.");this.a=a;this.b&&this.b(a)};z.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");
if(!$c(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");
var f=d("connectedCallback");var g=d("disconnectedCallback");var h=d("adoptedCallback");var k=d("attributeChangedCallback");var l=b.observedAttributes||[]}catch(bf){return}finally{this.f=!1}this.a.D(a,{localName:a,constructor:b,connectedCallback:f,disconnectedCallback:g,adoptedCallback:h,attributeChangedCallback:k,observedAttributes:l,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};z.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<
this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.resolve(void 0)}};z.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};z.prototype.whenDefined=function(a){if(!$c(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.c;b=new Xb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.resolve(void 0);return b.c};z.prototype.l=function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};
window.CustomElementRegistry=z;z.prototype.define=z.prototype.define;z.prototype.get=z.prototype.get;z.prototype.whenDefined=z.prototype.whenDefined;z.prototype.polyfillWrapFlushCallback=z.prototype.l;var Ma=window.Document.prototype.createElement,Sd=window.Document.prototype.createElementNS,Rd=window.Document.prototype.importNode,Td=window.Document.prototype.prepend,Ud=window.Document.prototype.append,Mb=window.Node.prototype.cloneNode,pa=window.Node.prototype.appendChild,Ub=window.Node.prototype.insertBefore,
Na=window.Node.prototype.removeChild,Vb=window.Node.prototype.replaceChild,Pa=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Lb=window.Element.prototype.attachShadow,Ka=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Oa=window.Element.prototype.getAttribute,Nb=window.Element.prototype.setAttribute,Pb=window.Element.prototype.removeAttribute,qa=window.Element.prototype.getAttributeNS,Ob=window.Element.prototype.setAttributeNS,Qb=window.Element.prototype.removeAttributeNS,
Sb=window.Element.prototype.insertAdjacentElement,Id=window.Element.prototype.prepend,Jd=window.Element.prototype.append,Ld=window.Element.prototype.before,Md=window.Element.prototype.after,Nd=window.Element.prototype.replaceWith,Od=window.Element.prototype.remove,Wd=window.HTMLElement,La=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Rb=window.HTMLElement.prototype.insertAdjacentElement,Wb=new function(){},Ca=window.customElements;if(!Ca||Ca.forcePolyfill||"function"!=
typeof Ca.define||"function"!=typeof Ca.get){var ma=new u;Vd(ma);Qd(ma);Pd(ma);Hd(ma);document.__CE_hasRegistry=!0;var Oe=new z(ma);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Oe})}var K={STYLE_RULE:1,ia:7,MEDIA_RULE:4,va:1E3},G={mb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Fa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ja:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,sb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,xb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,
rb:/^@[^\s]*keyframes/,Ka:/\s+/g},y=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var x=window.ShadyCSS.nativeCss;else window.ShadyCSS?(cd(window.ShadyCSS),window.ShadyCSS=void 0):cd(window.WebComponents&&window.WebComponents.flags);var Da=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Ea=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Pe=/(--[\w-]+)\s*([:,;)]|$)/gi,Qe=/(animation\s*:)|(animation-name\s*:)/,
Ae=/@media\s(.*)/,Re=/\{[^}]*\}/g,S=null;r.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};r.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.C(a,b,c);if(a="template"===a.localName?(a.content||a.Bb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};r.prototype.C=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=
a.getAttribute(Se);c?d&&(b=d.replace("style-scope","").replace(b,""),ya(a,b)):ya(a,(d?d+" ":"")+"style-scope "+b)}};r.prototype.b=function(a,b,c){var d=a.__cssBuild;y||"shady"===d?b=ba(b,c):(a=T(a),b=this.I(b,a.is,a.Z,c)+"\n\n");return b.trim()};r.prototype.I=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return ba(a,function(a){a.c||(f.S(a,b,e),a.c=!0);d&&d(a,b,e)})};r.prototype.h=function(a){return a?Te+a:""};r.prototype.f=function(a,b){return b?"[is="+a+"]":a};r.prototype.S=function(a,
b,c){this.j(a,this.g,b,c)};r.prototype.j=function(a,b,c,d){a.selector=a.A=this.l(a,b,c,d)};r.prototype.l=function(a,b,c,d){var e=a.selector.split(sd);if(!dd(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(sd)};r.prototype.u=function(a){return a.replace(Cb,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})};r.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();var f=Cb.test(a);f&&
(a=a.replace(Cb,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=this.u(a));a=a.replace(Ue,Db+" $1");a=a.replace(Ve,function(a,f,k){e||(a=d.D(k,f,b,c),e=e||a.stop,f=a.lb,k=a.value);return f+k});f&&(a=this.u(a));return a};r.prototype.D=function(a,b,c,d){var e=a.indexOf(Eb);0<=a.indexOf(Db)?a=this.H(a,d):0!==e&&(a=c?this.s(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(We,function(a,b){return" > "+b}))}a=a.replace(Xe,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+
c+'"]'});return{value:a,lb:b,stop:f}};r.prototype.s=function(a,b){a=a.split(td);a[0]+=b;return a.join(td)};r.prototype.H=function(a,b){var c=a.match(ud);return(c=c&&c[2].trim()||"")?c[0].match(vd)?a.replace(ud,function(a,c,f){return b+f}):c.split(vd)[0]===b?c:Ye:a.replace(Db,b)};r.prototype.R=function(a){a.selector=a.parsedSelector;this.v(a);this.j(a,this.L)};r.prototype.v=function(a){a.selector===Ze&&(a.selector="html")};r.prototype.L=function(a){return a.match(Eb)?this.g(a,wd):this.s(a.trim(),wd)};
Ib.Object.defineProperties(r.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Cb=/:(nth[-\w]+)\(([^)]+)\)/,wd=":not(.style-scope)",sd=",",Ve=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,vd=/[[.:#*]/,Db=":host",Ze=":root",Eb="::slotted",Ue=new RegExp("^("+Eb+")"),ud=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,We=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Xe=/(.*):dir\((?:(ltr|rtl))\)/,Te=".",td=":",Se="class",Ye="should_not_match",v=new r;t.get=function(a){return a?
a.__styleInfo:null};t.set=function(a,b){return a.__styleInfo=b};t.prototype.c=function(){return this.G};t.prototype._getStyleRules=t.prototype.c;var xd=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),$e=navigator.userAgent.match("Trident");p.prototype.R=function(a){var b=this,c={},d=[],e=0;ca(a,function(a){b.c(a);a.index=e++;b.I(a.w.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);
return a};p.prototype.c=function(a){if(!a.w){var b={},c={};this.b(a,c)&&(b.F=c,a.rules=null);b.cssText=this.H(a);a.w=b}};p.prototype.b=function(a,b){var c=a.w;if(c){if(c.F)return Object.assign(b,c.F),!0}else{c=a.parsedCssText;for(var d;a=Da.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.H=function(a){return this.L(a.parsedCssText)};p.prototype.L=function(a){return a.replace(Re,"").replace(Da,"")};p.prototype.I=function(a,b){for(var c;c=Pe.exec(a);){var d=
c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.fa=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=fd(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};p.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Ea.lastIndex=
0;if(e=Ea.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e);f=f.trim();f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};p.prototype.D=function(a,b){var c="";a.w||this.c(a);a.w.cssText&&(c=this.f(a.w.cssText,b));a.cssText=c};p.prototype.C=function(a,b){var c=a.cssText,d=a.cssText;null==a.Ha&&(a.Ha=Qe.test(c));if(a.Ha)if(null==a.da){a.da=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.da.push(e))}else{for(e=
0;e<a.da.length;++e)d=b[a.da[e]],c=d(c);d=c}a.cssText=d};p.prototype.ea=function(a,b){var c={},d=this,e=[];ca(a,function(a){a.w||d.c(a);var f=a.A||a.parsedSelector;b&&a.w.F&&f&&xd.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{F:c,key:e}};p.prototype.ha=function(a,b,c,d){b.w||this.c(b);if(b.w.F){var e=T(a);a=e.is;e=e.Z;e=a?v.f(a,e):"html";var f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||
-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(y&&!b.A&&(b.A=v.l(b,v.g,v.h(a),e)),c=b.A||e),d({wb:c,qb:h,Eb:g})}};p.prototype.S=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;ca(b,function(b){e.ha(a,b,f,function(f){xd.call(a.Cb||a,f.wb)&&(f.qb?e.b(b,c):e.b(b,d))})},null,!0);return{ub:d,pb:c}};p.prototype.ga=function(a,b,c){var d=this,e=T(a),f=v.f(e.is,e.Z),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+
"($|[.:[\\s>+~])");e=t.get(a).G;var h=this.h(e,c);return v.b(a,e,function(a){d.D(a,b);y||dd(a)||!a.cssText||(d.C(a,h),d.l(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!y&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};p.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};p.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.A=a.A||a.selector;a.selector=a.A.replace(a.keyframesName,a.a)};
p.prototype.l=function(a,b,c,d){a.A=a.A||a.selector;d="."+d;for(var e=a.A.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};p.prototype.u=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ya(a,e)};p.prototype.v=function(a,b,c,d){b=d?d.textContent||"":this.ga(a,b,c);var e=t.get(a),f=e.a;f&&!y&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&
f.parentNode.removeChild(f));y?e.a?(e.a.textContent=b,d=e.a):b&&(d=tb(b,c,a.shadowRoot,e.b)):d?d.parentNode||($e&&-1<b.indexOf("@media")&&(d.textContent=b),ed(d,null,e.b)):b&&(d=tb(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.s=function(a,b){var c=xa(a),d=this;a.textContent=ba(c,function(a){var c=a.cssText=a.parsedCssText;a.w&&a.w.cssText&&(c=c.replace(G.Fa,"").replace(G.Ja,""),a.cssText=d.f(c,b))})};Ib.Object.defineProperties(p.prototype,{g:{configurable:!0,
enumerable:!0,get:function(){return"x-scope"}}});var O=new p,Fb={},Fa=window.customElements;if(Fa&&!y){var af=Fa.define;Fa.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(S?S.nextSibling:null)||e.firstChild);S=d;Fb[a]=d;return af.call(Fa,a,b,c)}}oa.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.F[e]!==b[e])return!1}return!0};oa.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({F:b,styleElement:c,
B:d});e.length>this.c&&e.shift();this.cache[a]=e};oa.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!y){var yd=new MutationObserver(gd),zd=function(a){yd.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)zd(document);else{var Gb=function(){zd(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Gb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=
function(){Gb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else Gb()})}Kb=function(){gd(yd.takeRecords())}}var za={},De=Promise.resolve(),ub=null,id=window.HTMLImports&&window.HTMLImports.whenReady||null,vb,Ga=null,na=null;F.prototype.Ga=function(){!this.enqueued&&na&&(this.enqueued=!0,Jb(na))};F.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Ga())};F.prototype.a=function(a){return a.__shadyCSSCachedStyle?
a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};F.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);d&&(d=d.__appliedElement||d,Ga&&Ga(d),c.__shadyCSSCachedStyle=d)}}return a};F.prototype.addCustomStyle=F.prototype.b;F.prototype.getStyleForCustomStyle=F.prototype.a;F.prototype.processStyles=F.prototype.c;Object.defineProperties(F.prototype,{transformCallback:{get:function(){return Ga},set:function(a){Ga=a}},validateCallback:{get:function(){return na},
set:function(a){var b=!1;na||(b=!0);na=a;b&&this.Ga()}}});var Ad=new oa;k.prototype.C=function(){Kb()};k.prototype.S=function(a){var b=this.s[a]=(this.s[a]||0)+1;return a+"-"+b};k.prototype.Ra=function(a){return xa(a)};k.prototype.Ta=function(a){return ba(a)};k.prototype.R=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.fa=function(a){return(a=a.content.querySelector("style"))?
a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;za[b]=a;var d=this.fa(a),e=this.R(a);c={is:b,extends:c,zb:d};y||v.a(a.content,b);this.c();var f=Ea.test(e)||Da.test(e);Ea.lastIndex=0;Da.lastIndex=0;e=sb(e);f&&x&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.g=d;d=[];x||(d=O.R(a._styleAst));if(!d.length||x)b=this.ea(c,a._styleAst,y?a.content:null,Fb[b]),a.a=b;a.c=d}};k.prototype.ea=function(a,b,c,d){b=v.b(a,b);if(b.length)return tb(b,
a.is,c,d)};k.prototype.ha=function(a){var b=T(a),c=b.is;b=b.Z;var d=Fb[c];c=za[c];if(c){var e=c._styleAst;var f=c.c}return t.set(a,new t(e,d,f,0,b))};k.prototype.H=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=Be)};k.prototype.I=function(){var a=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(b){a.v(b)},this.b.validateCallback=
function(){requestAnimationFrame(function(){(a.b.enqueued||a.i)&&a.f()})})};k.prototype.c=function(){this.H();this.I()};k.prototype.f=function(){this.c();if(this.b){var a=this.b.processStyles();this.b.enqueued&&(x?this.Pa(a):(this.u(this.g,this.h),this.D(a)),this.b.enqueued=!1,this.i&&!x&&this.styleDocument())}};k.prototype.styleElement=function(a,b){var c=T(a).is,d=t.get(a);d||(d=this.ha(a));this.j(a)||(this.i=!0);b&&(d.P=d.P||{},Object.assign(d.P,b));if(x){if(d.P){b=d.P;for(var e in b)null===e?
a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=za[c])||this.j(a))&&e&&e.a&&!hd(e)){if(hd(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.a&&this.a.transformRules(e._styleAst,c),e.a.textContent=v.b(a,d.G),Ce(e);y&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=v.b(a,d.G));d.G=e._styleAst}}else this.u(a,d),d.sa&&d.sa.length&&this.L(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?t.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===
this.g};k.prototype.L=function(a,b){var c=T(a).is,d=Ad.fetch(c,b.K,b.sa),e=d?d.styleElement:null,f=b.B;b.B=d&&d.B||this.S(c);e=O.v(a,b.K,b.B,e);y||O.u(a,b.B,f);d||Ad.b(c,b.K,e,b.B)};k.prototype.u=function(a,b){var c=this.l(a),d=t.get(c);c=Object.create(d.K||null);var e=O.S(a,b.G);a=O.ea(d.G,a).F;Object.assign(c,e.pb,a,e.ub);this.ga(c,b.P);O.fa(c);b.K=c};k.prototype.ga=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=
function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Pa=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&this.Oa(c)}};k.prototype.D=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&O.s(c,this.h.K)}};k.prototype.v=function(a){var b=this,
c=xa(a);ca(c,function(a){y?v.v(a):v.R(a);x&&(b.c(),b.a&&b.a.transformRule(a))});x?a.textContent=ba(c):this.h.G.rules.push(c)};k.prototype.Oa=function(a){if(x&&this.a){var b=xa(a);this.c();this.a.transformRules(b);a.textContent=ba(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;x||(c=(t.get(a)||t.get(this.l(a))).K[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.Sa=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;
if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===v.c){c=d[e+1];break}}}c&&b.push(v.c,c);x||(c=t.get(a))&&c.B&&b.push(O.g,c.B);ya(a,b.join(" "))};k.prototype.Qa=function(a){return t.get(a)};k.prototype.flush=k.prototype.C;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=
k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Sa;k.prototype._styleInfoForNode=k.prototype.Qa;k.prototype.transformCustomStyleForDocument=k.prototype.v;k.prototype.getStyleAst=k.prototype.Ra;k.prototype.styleAstToString=k.prototype.Ta;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return y}},nativeCss:{get:function(){return x}}});var I=new k;if(window.ShadyCSS){var Bd=window.ShadyCSS.ApplyShim;var Cd=window.ShadyCSS.CustomStyleInterface}window.ShadyCSS=
{ScopingShim:I,prepareTemplate:function(a,b,c){I.f();I.prepareTemplate(a,b,c)},styleSubtree:function(a,b){I.f();I.styleSubtree(a,b)},styleElement:function(a){I.f();I.styleElement(a)},styleDocument:function(a){I.f();I.styleDocument(a)},getComputedStyleValue:function(a,b){return I.getComputedStyleValue(a,b)},nativeCss:x,nativeShadow:y};Bd&&(window.ShadyCSS.ApplyShim=Bd);Cd&&(window.ShadyCSS.CustomStyleInterface=Cd);var Hb=window.customElements,Ha=window.HTMLImports;window.WebComponents=window.WebComponents||
{};if(Hb&&Hb.polyfillWrapFlushCallback){var Ia,Dd=function(){if(Ia){var a=Ia;Ia=null;a();return!0}},Ed=Ha.whenReady;Hb.polyfillWrapFlushCallback(function(a){Ia=a;Ed(Dd)});Ha.whenReady=function(a){Ed(function(){Dd()?Ha.whenReady(a):a()})}}Ha.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var Fd=document.createElement("style");Fd.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";
var Gd=document.querySelector("head");Gd.insertBefore(Fd,Gd.firstChild)})();}).call(this);
//# sourceMappingURL=webcomponents-lite.js.map

File diff suppressed because one or more lines are too long

View File

@@ -21,129 +21,129 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
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
*/
'use strict';var hb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new ta;b.rules=[];this.h=r.set(this.g,new r(b));this.i=!1;this.b=this.a=null;ib(function(){a.c()})}function C(){this.customStyles=[];this.enqueued=!1}function jb(){}function aa(a){this.cache={};this.c=void 0===a?100:a}function p(){}function r(a,b,c,d,e){this.D=a||null;this.b=b||null;this.ia=c||[];this.L=null;this.T=e||"";this.a=this.w=this.H=null}function q(){}function ta(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Pc(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;n(this)&&(e=[],K(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.f(this):a.l(this);
return b}})}function c(b,c){x(b,"insertAdjacentElement",function(b,d){var e=n(d);b=c.call(this,b,d);e&&a.a(d);n(b)&&a.b(d);return b})}kb?x(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=kb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(ua&&ua.get)b(Element.prototype,ua);else if(va&&va.get)b(HTMLElement.prototype,va);else{var d=wa.call(document,"div");a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return lb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)xa.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ca.call(b,d.childNodes[0])}})})}x(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return mb.call(this,b,c);var d=ya.call(this,b);mb.call(this,b,c);c=ya.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});x(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return nb.call(this,
b,c,d);var e=da.call(this,b,c);nb.call(this,b,c,d);d=da.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});x(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return ob.call(this,b);var c=ya.call(this,b);ob.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});x(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return pb.call(this,b,c);var d=da.call(this,b,c);pb.call(this,b,c);var e=da.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});qb?c(HTMLElement.prototype,qb):rb?c(Element.prototype,rb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");sb(a,Element.prototype,{xa:Qc,append:Rc});Sc(a,{Ra:Tc,Qa:Uc,$a:Vc,remove:Wc})}function Sc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.Ra.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.Qa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});var g=n(this);b.$a.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=n(this);b.remove.call(this);c&&a.a(this)}}function Xc(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&n(this)){c=Array(h);for(var m=0;m<h;m++)c[m]=e[m]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
x(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=tb.call(this,b,d);if(n(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);d=tb.call(this,b,d);c&&a.a(b);n(this)&&a.b(b);return d});x(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ca.call(this,b);if(n(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=n(b);e=ca.call(this,b);c&&a.a(b);n(this)&&
a.b(b);return e});x(Node.prototype,"cloneNode",function(b){b=lb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.f(b):a.l(b);return b});x(Node.prototype,"removeChild",function(b){var c=n(b),e=xa.call(this,b);c&&a.a(b);return e});x(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ub.call(this,b,d);if(n(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);var f=ub.call(this,b,d),g=n(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});za&&za.get?b(Node.prototype,za):a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)xa.call(this,this.firstChild);ca.call(this,document.createTextNode(a))}})})}function Yc(a){x(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.c(b);if(c)return new c.constructor}b=wa.call(this,b);a.g(b);return b});
x(Document.prototype,"importNode",function(b,c){b=Zc.call(this,b,c);this.__CE_hasRegistry?a.f(b):a.l(b);return b});x(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.c(c);if(d)return new d.constructor}b=$c.call(this,b,c);a.g(b);return b});sb(a,Document.prototype,{xa:ad,append:bd})}function sb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&n(a)});c.xa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function cd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.A(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=wa.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;d=e.length-1;var f=e[d];if(f===vb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=vb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=dd.prototype;return b}()}function v(a){this.c=!1;this.a=a;this.h=new Map;this.f=function(a){return a()};this.b=!1;this.g=
[];this.i=new Aa(a,document)}function wb(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function Aa(a,b){this.b=a;this.a=b;this.K=void 0;this.b.f(this.a);"loading"===this.a.readyState&&(this.K=new MutationObserver(this.f.bind(this)),this.K.observe(this.a,{childList:!0,subtree:!0}))}function y(){this.o=new Map;this.m=new Map;this.j=[];this.h=!1}function l(a,b,c){if(a!==xb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
l.prototype;a.B(b,c);return a}function ea(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Ba(a);a.__shady.lastChild=Ca(a);yb(a);for(var b=a.__shady.childNodes=O(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,zb(d)}}function ed(a){var b=a&&a.K;b&&(b.W.delete(a.La),b.W.size||(a.Ma.__shady.R=null))}function fd(a,b){a.__shady=a.__shady||{};a.__shady.R||
(a.__shady.R=new fa);a.__shady.R.W.add(b);var c=a.__shady.R;return{La:b,K:c,Ma:a,takeRecords:function(){return c.takeRecords()}}}function fa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.W=new Set}function P(a){return a.__shady&&void 0!==a.__shady.firstChild}function E(a){return"ShadyRoot"===a.Ha}function U(a){a=a.getRootNode();if(E(a))return a}function Da(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length&&(e=c[d]);d++){var f=Object.getOwnPropertyDescriptor(b,e);f&&
Object.defineProperty(a,e,f)}}function Ea(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Da(a,c[d]);return a}function gd(a,b){for(var c in b)a[c]=b[c]}function Ab(a){Fa.push(a);Ga.textContent=Bb++}function Cb(a){Ha||(Ha=!0,Ab(ha));V.push(a)}function ha(){Ha=!1;for(var a=!!V.length;V.length;)V.shift()();return a}function hd(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Db(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Eb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ia(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){a:{var h=
g;var m=a;var k=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var ba=h.localName,l="<"+ba,n=h.attributes,p=0;m=n[p];p++)l+=" "+m.name+'="'+m.value.replace(id,Db)+'"';l+=">";h=jd[ba]?l:l+Ia(h,k)+"</"+ba+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&kd[m.localName]?h:h.replace(ld,Db);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function Q(a){z.currentNode=a;return z.parentNode()}function Ba(a){z.currentNode=
a;return z.firstChild()}function Ca(a){z.currentNode=a;return z.lastChild()}function Fb(a){z.currentNode=a;return z.previousSibling()}function Gb(a){z.currentNode=a;return z.nextSibling()}function O(a){var b=[];z.currentNode=a;for(a=z.firstChild();a;)b.push(a),a=z.nextSibling();return b}function Hb(a){A.currentNode=a;return A.parentNode()}function Ib(a){A.currentNode=a;return A.firstChild()}function Jb(a){A.currentNode=a;return A.lastChild()}function Kb(a){A.currentNode=a;return A.previousSibling()}
function Lb(a){A.currentNode=a;return A.nextSibling()}function Mb(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Nb(a){return Ia(a,function(a){return O(a)})}function Ob(a){switch(a.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b;default:return a.nodeValue}}function H(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,
d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function L(a){H(a,Pb);H(a,Ja);H(a,Ka)}function Qb(a,b,c){zb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&
'use strict';var jb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new ta;b.rules=[];this.h=r.set(this.g,new r(b));this.i=!1;this.b=this.a=null;kb(function(){a.c()})}function C(){this.customStyles=[];this.enqueued=!1}function lb(){}function aa(a){this.cache={};this.c=void 0===a?100:a}function p(){}function r(a,b,c,d,e){this.D=a||null;this.b=b||null;this.ia=c||[];this.L=null;this.U=e||"";this.a=this.w=this.H=null}function q(){}function ta(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Tc(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;n(this)&&(e=[],K(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
return b}})}function c(b,c){x(b,"insertAdjacentElement",function(b,d){var e=n(d);b=c.call(this,b,d);e&&a.a(d);n(b)&&a.b(d);return b})}mb?x(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=mb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(ua&&ua.get)b(Element.prototype,ua);else if(va&&va.get)b(HTMLElement.prototype,va);else{var d=wa.call(document,"div");a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return nb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)xa.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ca.call(b,d.childNodes[0])}})})}x(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return ob.call(this,b,c);var d=ya.call(this,b);ob.call(this,b,c);c=ya.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});x(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return pb.call(this,
b,c,d);var e=da.call(this,b,c);pb.call(this,b,c,d);d=da.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});x(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return qb.call(this,b);var c=ya.call(this,b);qb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});x(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return rb.call(this,b,c);var d=da.call(this,b,c);rb.call(this,b,c);var e=da.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});sb?c(HTMLElement.prototype,sb):tb?c(Element.prototype,tb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");ub(a,Element.prototype,{xa:Uc,append:Vc});Wc(a,{Qa:Xc,Pa:Yc,replaceWith:Zc,remove:$c})}function Wc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.Qa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=
d[f],g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.Pa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});var g=n(this);b.replaceWith.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=n(this);b.remove.call(this);c&&a.a(this)}}function ad(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&n(this)){c=Array(h);for(var m=0;m<h;m++)c[m]=e[m]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
x(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=vb.call(this,b,d);if(n(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);d=vb.call(this,b,d);c&&a.a(b);n(this)&&a.b(b);return d});x(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ca.call(this,b);if(n(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=n(b);e=ca.call(this,b);c&&a.a(b);n(this)&&
a.b(b);return e});x(Node.prototype,"cloneNode",function(b){b=nb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Node.prototype,"removeChild",function(b){var c=n(b),e=xa.call(this,b);c&&a.a(b);return e});x(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=wb.call(this,b,d);if(n(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);var f=wb.call(this,b,d),g=n(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});za&&za.get?b(Node.prototype,za):a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)xa.call(this,this.firstChild);ca.call(this,document.createTextNode(a))}})})}function bd(a){x(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=wa.call(this,b);a.g(b);return b});
x(Document.prototype,"importNode",function(b,c){b=cd.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=dd.call(this,b,c);a.g(b);return b});ub(a,Document.prototype,{xa:ed,append:fd})}function ub(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&n(a)});c.xa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function gd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.A(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(0===e.length)return e=wa.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;d=e.length-1;var f=e[d];if(f===xb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=xb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=hd.prototype;return b}()}function v(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;
this.c=[];this.i=new Aa(a,document)}function yb(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function Aa(a,b){this.b=a;this.a=b;this.K=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.K=new MutationObserver(this.f.bind(this)),this.K.observe(this.a,{childList:!0,subtree:!0}))}function y(){this.m=new Map;this.l=new Map;this.i=[];this.h=!1}function l(a,b,c){if(a!==zb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
l.prototype;a.B(b,c);return a}function ea(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Ba(a);a.__shady.lastChild=Ca(a);Ab(a);for(var b=a.__shady.childNodes=O(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,Bb(d)}}function id(a){var b=a&&a.K;b&&(b.X.delete(a.Ka),b.X.size||(a.La.__shady.S=null))}function jd(a,b){a.__shady=a.__shady||{};a.__shady.S||
(a.__shady.S=new fa);a.__shady.S.X.add(b);var c=a.__shady.S;return{Ka:b,K:c,La:a,takeRecords:function(){return c.takeRecords()}}}function fa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.X=new Set}function P(a){return a.__shady&&void 0!==a.__shady.firstChild}function E(a){return"ShadyRoot"===a.Ga}function U(a){a=a.getRootNode();if(E(a))return a}function Da(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length&&(e=c[d]);d++){var f=Object.getOwnPropertyDescriptor(b,e);f&&
Object.defineProperty(a,e,f)}}function Ea(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Da(a,c[d]);return a}function kd(a,b){for(var c in b)a[c]=b[c]}function Cb(a){Fa.push(a);Ga.textContent=Db++}function Eb(a){Ha||(Ha=!0,Cb(ha));V.push(a)}function ha(){Ha=!1;for(var a=!!V.length;V.length;)V.shift()();return a}function ld(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Fb(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Gb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ia(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){a:{var h=
g;var m=a;var k=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var ba=h.localName,l="<"+ba,n=h.attributes,p=0;m=n[p];p++)l+=" "+m.name+'="'+m.value.replace(md,Fb)+'"';l+=">";h=nd[ba]?l:l+Ia(h,k)+"</"+ba+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&od[m.localName]?h:h.replace(pd,Fb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function Q(a){z.currentNode=a;return z.parentNode()}function Ba(a){z.currentNode=
a;return z.firstChild()}function Ca(a){z.currentNode=a;return z.lastChild()}function Hb(a){z.currentNode=a;return z.previousSibling()}function Ib(a){z.currentNode=a;return z.nextSibling()}function O(a){var b=[];z.currentNode=a;for(a=z.firstChild();a;)b.push(a),a=z.nextSibling();return b}function Jb(a){A.currentNode=a;return A.parentNode()}function Kb(a){A.currentNode=a;return A.firstChild()}function Lb(a){A.currentNode=a;return A.lastChild()}function Mb(a){A.currentNode=a;return A.previousSibling()}
function Nb(a){A.currentNode=a;return A.nextSibling()}function Ob(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Pb(a){return Ia(a,function(a){return O(a)})}function Qb(a){switch(a.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b;default:return a.nodeValue}}function H(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,
d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function L(a){H(a,Rb);H(a,Ja);H(a,Ka)}function Sb(a,b,c){Bb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&
(b.__shady.firstChild=a):(b.__shady.lastChild=a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function La(a,b,c){if(b===a)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&Q(c)!==a)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(c===b)return b;b.parentNode&&
Ma(b.parentNode,b);d=U(a);var e;if(e=d)a:{if(!b.__noInsertionPoint){var f;"slot"===b.localName?f=[b]:b.querySelectorAll&&(f=b.querySelectorAll("slot"));if(f&&f.length){e=f;break a}}e=void 0}f=e;d&&("slot"===a.localName||f)&&d.J();if(P(a)){e=c;yb(a);a.__shady=a.__shady||{};void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Qb(g[h],a,e);b.__shady=b.__shady||{};e=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
b.__shady.lastChild=e;b.__shady.childNodes=e}else Qb(b,a,e);if(Na(a)){a.__shady.root.J();var m=!0}else a.__shady.root&&(m=!0)}m||(m=E(a)?a.host:a,c?(c=Rb(c),Oa.call(m,b,c)):Sb.call(m,b));Tb(a,b);f&&d.Ka(f);return b}function Ma(a,b){if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var c=U(b);if(P(a)){b.__shady=b.__shady||{};a.__shady=a.__shady||{};b===a.__shady.firstChild&&(a.__shady.firstChild=b.__shady.nextSibling);b===a.__shady.lastChild&&(a.__shady.lastChild=
b.__shady.previousSibling);var d=b.__shady.previousSibling;var e=b.__shady.nextSibling;d&&(d.__shady=d.__shady||{},d.__shady.nextSibling=e);e&&(e.__shady=e.__shady||{},e.__shady.previousSibling=d);b.__shady.parentNode=b.__shady.previousSibling=b.__shady.nextSibling=void 0;void 0!==a.__shady.childNodes&&(a.__shady.childNodes=null);if(Na(a)){a.__shady.root.J();var f=!0}}Ub(b);c&&((e=a&&"slot"===a.localName)&&(f=!0),((d=c.Na(b))||e)&&c.J());f||(f=E(a)?a.host:a,(!a.__shady.root&&"slot"!==b.localName||
f===Q(b))&&W.call(f,b));Tb(a,null,b);return b}function Ub(a){if(a.__shady&&void 0!==a.__shady.ja)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Ub(e);a.__shady&&(a.__shady.ja=void 0)}function Rb(a){var b=a;a&&"slot"===a.localName&&(b=(b=a.__shady&&a.__shady.O)&&b.length?b[0]:Rb(a.nextSibling));return b}function Na(a){return(a=a&&a.__shady&&a.__shady.root)&&a.oa()}function Vb(a,b){"slot"===b?(a=a.parentNode,Na(a)&&a.__shady.root.J()):"slot"===a.localName&&"name"===b&&(b=U(a))&&(b.Pa(a),
b.J())}function Tb(a,b,c){if(a=a.__shady&&a.__shady.R)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),a.bb()}function Wb(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.ja;void 0===b&&(E(a)?b=a:b=(b=a.parentNode)?Wb(b):a,document.documentElement.contains(a)&&(a.__shady.ja=b));return b}}function ia(a,b,c){var d=[];Xb(a.childNodes,b,c,d);return d}function Xb(a,b,c,d){for(var e=0,f=a.length,g;e<f&&(g=a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var m=b,k=c,l=d,n=m(h);n&&l.push(h);
k&&k(n)?h=n:(Xb(h.childNodes,m,k,l),h=void 0)}if(h)break}}function Yb(a){a=a.getRootNode();E(a)&&a.qa()}function Zb(a,b,c){ja||(ja=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ja&&"class"===b?ja.setElementClass(a,c):($b.call(a,b,c),Vb(a,b))}function ac(a,b){if(a.ownerDocument!==document)return Pa.call(document,a,b);var c=Pa.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=ac(a[b],!0),c.appendChild(d)}return c}function Qa(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),
d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;c[c.length-1]===document&&c.push(window);return c}function bc(a,b){if(!E)return a;a=Qa(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Ra(a){function b(b,d){b=new a(b,d);b.da=d&&!!d.composed;return b}gd(b,a);b.prototype=a.prototype;return b}function cc(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&
b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.Fa);d++);}function md(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];cc(a,d,"capture");if(a.ea)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=d.__shady&&d.__shady.root;if(!c||f&&f===e)if(cc(a,d,"bubble"),d!==window&&(e=d.getRootNode()),
a.ea)break}}function dc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],m=h.type,k=h.capture,l=h.once,n=h.passive;if(b===h.node&&c===m&&d===k&&e===l&&f===n)return g}return-1}function ec(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.fa||this,h=b.U;if(h){if(-1<dc(h,g,a,d,e,f))return}else b.U=[];h=function(d){e&&this.removeEventListener(a,b,c);d.__target||fc(d);if(g!==this){var f=Object.getOwnPropertyDescriptor(d,"currentTarget");
Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.U.push({node:this,type:a,capture:d,
once:e,passive:f,gb:h});Sa[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][d?"capture":"bubble"].push(h)):(this instanceof Window?gc:hc).call(this,a,h,c)}}function ic(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.fa||this,h=void 0;var m=null;try{m=b.U}catch(Xd){}m&&(e=dc(m,g,a,d,e,f),-1<e&&(h=m.splice(e,1)[0].gb,m.length||(b.U=void 0)));(this instanceof Window?
jc:kc).call(this,a,h||b,c);h&&Sa[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function nd(){for(var a in Sa)window.addEventListener(a,function(a){a.__target||(fc(a),md(a))},!0)}function fc(a){a.__target=a.target;a.ma=a.relatedTarget;if(B.P){var b=lc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.ib=c;Da(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Da(a,lc)}function X(a,
b){return{index:a,S:[],V:b}}function od(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){h=a.length;for(var k=c.length,l=0;l<m-g&&pd(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=X(e,0);f<d;)b.S.push(c[f++]);return[b]}if(f==d)return[X(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+
l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)m?g?(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l)):(a.push(3),m--):(a.push(2),g--);a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=X(e,0));b.V++;e++;b.S.push(c[f]);f++;break;case 2:b||
(b=X(e,0));b.V++;e++;break;case 3:b||(b=X(e,0)),b.S.push(c[f]),f++}b&&m.push(b);return m}function pd(a,b){return a===b}function mc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}function nc(a){Yb(a);return a.__shady&&a.__shady.assignedSlot||null}function I(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function qd(){var a=window.customElements&&window.customElements.nativeHTMLElement||
HTMLElement;I(window.Node.prototype,rd);I(window.Window.prototype,sd);I(window.Text.prototype,td);I(window.DocumentFragment.prototype,Ta);I(window.Element.prototype,oc);I(window.Document.prototype,pc);window.HTMLSlotElement&&I(window.HTMLSlotElement.prototype,qc);I(a.prototype,ud);B.P&&(L(window.Node.prototype),L(window.Text.prototype),L(window.DocumentFragment.prototype),L(window.Element.prototype),L(a.prototype),L(window.Document.prototype),window.HTMLSlotElement&&L(window.HTMLSlotElement.prototype))}
function rc(a){var b=vd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function n(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function Ua(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function K(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===
Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)K(d,b,c);d=Ua(a,e);continue}else if("template"===f){d=Ua(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)K(e,b,c)}d=d.firstChild?d.firstChild:Ua(a,d)}}function x(a,b,c){a[b]=c}function Va(a){a=a.replace(D.Ta,"").replace(D.port,"");var b=sc,c=a,d=new ta;d.start=0;d.end=c.length;for(var e=
d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,k=h.rules[h.rules.length-1]||null;e=new ta;e.start=f+1;e.parent=h;e.previous=k;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function sc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=wd(c),c=c.replace(D.wa," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),
a.atRule)?c.indexOf("@media")?c.match(D.Xa)&&(a.type=G.ca,a.keyframesName=a.selector.split(D.wa).pop()):a.type=G.MEDIA_RULE:a.type=c.indexOf("--")?G.STYLE_RULE:G.ka);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)sc(f,b);return a}function wd(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function tc(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));
if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=tc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(D.ra,"").replace(D.va,""),b=b.replace(D.Ya,"").replace(D.eb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function uc(a){w=a&&a.shimcssproperties?!1:u||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}function R(a,b){if(!a)return"";"string"===
typeof a&&(a=Va(a));b&&S(a,b);return tc(a,w)}function ka(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Va(a.textContent));return a.__cssRules||null}function vc(a){return!!a.parent&&a.parent.type===G.ca}function S(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===G.MEDIA_RULE){var g=a.selector.match(xd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===G.STYLE_RULE?b(a):c&&f===G.ca?c(a):f===G.ka&&(e=!0);if((a=a.rules)&&!e){e=0;f=a.length;for(var h;e<f&&(h=a[e]);e++)S(h,b,c,d)}}}function Wa(a,b,c,d){var e=
document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;wc(e,c,d);return e}function wc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);M?a.compareDocumentPosition(M)===Node.DOCUMENT_POSITION_PRECEDING&&(M=a):M=a}function xc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");a:{var d=0;var e=c+3;for(var f=a.length;e<f;e++)if("("===a[e])d++;else if(")"===a[e]&&!--d)break a;e=-1}d=a.substring(c+4,e);c=a.substring(0,c);a=xc(a.substring(e+1),b);
e=d.indexOf(",");return-1===e?b(c,d.trim(),"",a):b(c,d.substring(0,e).trim(),d.substring(e+1).trim(),a)}function la(a,b){u?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function N(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,T:c}}function yc(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=
c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode();var g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(t.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?t.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=N(f).is,g!==f&&(g&&t.a(e,g,!0),t.a(e,f)))}}}}function yd(a){if(a=ma[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=
a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function zc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function zd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Ad.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function ib(a){requestAnimationFrame(function(){Ac?Ac(a):(Xa||(Xa=new Promise(function(a){Ya=a}),"complete"===document.readyState?Ya():document.addEventListener("readystatechange",
function(){"complete"===document.readyState&&Ya()})),Xa.then(function(){a&&a()}))})}var B=window.ShadyDOM||{};B.Ua=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Za=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");B.P=!!(Za&&Za.configurable&&Za.get);B.ua=B.force||!B.Ua;var T=Element.prototype,Bc=T.matches||T.matchesSelector||T.mozMatchesSelector||T.msMatchesSelector||T.oMatchesSelector||T.webkitMatchesSelector,Ga=document.createTextNode(""),Bb=0,Fa=[];(new MutationObserver(function(){for(;Fa.length;)try{Fa.shift()()}catch(a){throw Ga.textContent=
Bb++,a;}})).observe(Ga,{characterData:!0});var V=[],Ha;ha.list=V;fa.prototype.bb=function(){var a=this;this.a||(this.a=!0,Ab(function(){a.b()}))};fa.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.W.forEach(function(b){b(a)})}};fa.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var Sb=Element.prototype.appendChild,
Oa=Element.prototype.insertBefore,W=Element.prototype.removeChild,$b=Element.prototype.setAttribute,Cc=Element.prototype.removeAttribute,$a=Element.prototype.cloneNode,Pa=Document.prototype.importNode,hc=Element.prototype.addEventListener,kc=Element.prototype.removeEventListener,gc=Window.prototype.addEventListener,jc=Window.prototype.removeEventListener,ab=Element.prototype.dispatchEvent,Bd=Object.freeze({appendChild:Sb,insertBefore:Oa,removeChild:W,setAttribute:$b,removeAttribute:Cc,cloneNode:$a,
importNode:Pa,addEventListener:hc,removeEventListener:kc,mb:gc,nb:jc,dispatchEvent:ab,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll}),id=/[&\u00A0"]/g,ld=/[&\u00A0<>]/g,jd=Eb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),kd=Eb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),z=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),A=document.createTreeWalker(document,
NodeFilter.SHOW_ELEMENT,null,!1),Cd=Object.freeze({parentNode:Q,firstChild:Ba,lastChild:Ca,previousSibling:Fb,nextSibling:Gb,childNodes:O,parentElement:Hb,firstElementChild:Ib,lastElementChild:Jb,previousElementSibling:Kb,nextElementSibling:Lb,children:Mb,innerHTML:Nb,textContent:Ob}),bb=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),na=document.implementation.createHTMLDocument("inert").createElement("div"),cb=Object.getOwnPropertyDescriptor(Document.prototype,
"activeElement"),Pb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:Hb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:Q(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Gb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;
return void 0!==a?a:Fb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Lb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&
a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Kb(this)},configurable:!0}},Ja={childNodes:{get:function(){if(P(this)){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}var b=this.__shady.childNodes}else b=O(this);b.item=function(a){return b[a]};return b},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=this.__shady&&
this.__shady.firstChild;return void 0!==a?a:Ba(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Ca(this)},configurable:!0},textContent:{get:function(){if(P(this)){for(var a=[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return Ob(this)},set:function(a){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);
this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Ib(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Jb(this)},configurable:!0},
children:{get:function(){var a;P(this)?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Mb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return P(this)?Ia(a):Nb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(bb&&bb.set?bb.set.call(na,a):na.innerHTML=a;na.firstChild;)b.appendChild(na.firstChild)},
configurable:!0}},Dc={shadowRoot:{get:function(){return this.__shady&&this.__shady.Za||null},configurable:!0}},Ka={activeElement:{get:function(){var a=cb&&cb.get?cb.get.call(document):B.P?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=U(a);b&&b!==this;)a=b.host,b=U(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},zb=B.P?function(){}:function(a){a.__shady&&
a.__shady.Ia||(a.__shady=a.__shady||{},a.__shady.Ia=!0,H(a,Pb,!0))},yb=B.P?function(){}:function(a){a.__shady&&a.__shady.Ga||(a.__shady=a.__shady||{},a.__shady.Ga=!0,H(a,Ja,!0),H(a,Dc,!0))},ja=null,Dd={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},lc={get composed(){!1!==this.isTrusted&&void 0===this.da&&(this.da=Dd[this.type]);return this.da||!1},composedPath:function(){this.la||(this.la=Qa(this.__target,this.composed));return this.la},
get target(){return bc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.ma)return null;this.na||(this.na=Qa(this.ma,!0));return bc(this.currentTarget,this.na)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ea=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ea=this.Fa=!0}},Sa={focus:!0,blur:!0},Ed=Ra(window.Event),Fd=Ra(window.CustomEvent),Gd=Ra(window.MouseEvent),xb={};l.prototype=Object.create(DocumentFragment.prototype);
l.prototype.B=function(a,b){this.Ha="ShadyRoot";ea(a);ea(this);this.host=a;this.I=b&&b.mode;a.__shady=a.__shady||{};a.__shady.root=this;a.__shady.Za="closed"!==this.I?this:null;this.N=!1;this.b=[];this.a=null;b=O(a);for(var c=0,d=b.length;c<d;c++)W.call(a,b[c])};l.prototype.J=function(){var a=this;this.N||(this.N=!0,Cb(function(){return a.qa()}))};l.prototype.A=function(){for(var a=this,b=this;b;)b.N&&(a=b),b=b.Oa();return a};l.prototype.Oa=function(){var a=this.host.getRootNode();if(E(a))for(var b=
this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.h(d))return a};l.prototype.qa=function(){this.N&&this.A()._renderRoot()};l.prototype._renderRoot=function(){this.N=!1;this.u();this.m()};l.prototype.u=function(){for(var a=0,b;a<this.b.length;a++)b=this.b[a],this.l(b);for(b=this.host.firstChild;b;b=b.nextSibling)this.f(b);for(a=0;a<this.b.length;a++){b=this.b[a];if(!b.__shady.assignedNodes.length)for(var c=b.firstChild;c;c=c.nextSibling)this.f(c,b);c=b.parentNode;(c=c.__shady&&c.__shady.root)&&
c.oa()&&c._renderRoot();this.c(b.__shady.O,b.__shady.assignedNodes);if(c=b.__shady.pa){for(var d=0;d<c.length;d++)c[d].__shady.ga=null;b.__shady.pa=null;c.length>b.__shady.assignedNodes.length&&(b.__shady.ha=!0)}b.__shady.ha&&(b.__shady.ha=!1,this.g(b))}};l.prototype.f=function(a,b){a.__shady=a.__shady||{};var c=a.__shady.ga;a.__shady.ga=null;b||(b=(b=this.a[a.slot||"__catchall"])&&b[0]);b?(b.__shady.assignedNodes.push(a),a.__shady.assignedSlot=b):a.__shady.assignedSlot=void 0;c!==a.__shady.assignedSlot&&
a.__shady.assignedSlot&&(a.__shady.assignedSlot.__shady.ha=!0)};l.prototype.l=function(a){var b=a.__shady.assignedNodes;a.__shady.assignedNodes=[];a.__shady.O=[];if(a.__shady.pa=b)for(var c=0;c<b.length;c++){var d=b[c];d.__shady.ga=d.__shady.assignedSlot;d.__shady.assignedSlot===a&&(d.__shady.assignedSlot=null)}};l.prototype.c=function(a,b){for(var c=0,d;c<b.length&&(d=b[c]);c++)"slot"==d.localName?this.c(a,d.__shady.assignedNodes):a.push(b[c])};l.prototype.g=function(a){ab.call(a,new Event("slotchange"));
a.__shady.assignedSlot&&this.g(a.__shady.assignedSlot)};l.prototype.m=function(){for(var a=this.b,b=[],c=0;c<a.length;c++){var d=a[c].parentNode;d.__shady&&d.__shady.root||!(0>b.indexOf(d))||b.push(d)}for(a=0;a<b.length;a++)c=b[a],this.G(c===this?this.host:c,this.o(c))};l.prototype.o=function(a){var b=[];a=a.childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.h(d)){d=d.__shady.O;for(var e=0;e<d.length;e++)b.push(d[e])}else b.push(d)}return b};l.prototype.h=function(a){return"slot"==a.localName};
l.prototype.G=function(a,b){for(var c=O(a),d=od(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.S.length&&(k=g.S[h]);h++)Q(k)===a&&W.call(a,k),c.splice(g.index+f,1);f-=g.V}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.V;h++)k=b[h],Oa.call(a,k,f),c.splice(h,0,k)};l.prototype.Ka=function(a){this.a=this.a||{};this.b=this.b||[];for(var b=0;b<a.length;b++){var c=a[b];c.__shady=c.__shady||{};ea(c);ea(c.parentNode);var d=this.i(c);if(this.a[d]){var e=
e||{};e[d]=!0;this.a[d].push(c)}else this.a[d]=[c];this.b.push(c)}if(e)for(var f in e)this.a[f]=this.j(this.a[f])};l.prototype.i=function(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.Ja=b};l.prototype.j=function(a){return a.sort(function(a,c){a=mc(a);for(var b=mc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})};l.prototype.Na=function(a){this.a=this.a||{};this.b=this.b||[];var b=this.a,c;for(c in b)for(var d=
b[c],e=0;e<d.length;e++){var f=d[e],g;a:{for(g=f;g;){if(g==a){g=!0;break a}g=g.parentNode}g=void 0}if(g){d.splice(e,1);var h=this.b.indexOf(f);0<=h&&this.b.splice(h,1);e--;this.F(f);h=!0}}return h};l.prototype.Pa=function(a){var b=a.Ja,c=this.i(a);if(c!==b){b=this.a[b];var d=b.indexOf(a);0<=d&&b.splice(d,1);b=this.a[c]||(this.a[c]=[]);b.push(a);1<b.length&&(this.a[c]=this.j(b))}};l.prototype.F=function(a){if(a=a.__shady.O)for(var b=0;b<a.length;b++){var c=a[b],d=Q(c);d&&W.call(d,c)}};l.prototype.oa=
function(){return!!this.b.length};l.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.fa=this;this.host.addEventListener(a,b,c)};l.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.fa=this;this.host.removeEventListener(a,b,c)};l.prototype.getElementById=function(a){return ia(this,function(b){return b.id==a},function(a){return!!a})[0]||null};(function(a){H(a,Ja,!0);H(a,Ka,!0)})(l.prototype);var sd={addEventListener:ec.bind(window),
removeEventListener:ic.bind(window)},rd={addEventListener:ec,removeEventListener:ic,appendChild:function(a){return La(this,a)},insertBefore:function(a,b){return La(this,a,b)},removeChild:function(a){return Ma(this,a)},replaceChild:function(a,b){La(this,a,b);Ma(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=$a.call(this,a);else if(b=$a.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Wb(this)},
get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof l?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){ha();return ab.call(this,a)}},td={get assignedSlot(){return nc(this)}},Ta={querySelector:function(a){return ia(this,function(b){return Bc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return ia(this,
function(b){return Bc.call(b,a)})}},qc={assignedNodes:function(a){if("slot"===this.localName)return Yb(this),this.__shady?(a&&a.flatten?this.__shady.O:this.__shady.assignedNodes)||[]:[]}},oc=Ea({setAttribute:function(a,b){Zb(this,a,b)},removeAttribute:function(a){Cc.call(this,a);Vb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new l(xb,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){Zb(this,"slot",a)},get assignedSlot(){return nc(this)}},
Ta,qc);Object.defineProperties(oc,Dc);var pc=Ea({importNode:function(a,b){return ac(a,b)},getElementById:function(a){return ia(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},Ta);Object.defineProperties(pc,{_activeElement:Ka.activeElement});var Hd=HTMLElement.prototype.blur,ud=Ea({blur:function(){var a=this.__shady&&this.__shady.root;(a=a&&a.activeElement)?a.blur():Hd.call(this)}});B.ua&&(window.ShadyDOM={inUse:B.ua,patch:function(a){return a},isShadyRoot:E,enqueue:Cb,flush:ha,
settings:B,filterMutations:hd,observeChildren:fd,unobserveChildren:ed,nativeMethods:Bd,nativeTree:Cd},window.Event=Ed,window.CustomEvent=Fd,window.MouseEvent=Gd,nd(),qd(),window.ShadowRoot=l);var vd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));y.prototype.B=function(a,b){this.o.set(a,b);this.m.set(b.constructor,b)};y.prototype.c=function(a){return this.o.get(a)};y.prototype.A=function(a){return this.m.get(a)};
y.prototype.u=function(a){this.h=!0;this.j.push(a)};y.prototype.l=function(a){var b=this;this.h&&K(a,function(a){return b.g(a)})};y.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.j.length;b++)this.j[b](a)}};y.prototype.b=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.i(c)}};y.prototype.a=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=
b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};y.prototype.f=function(a,b){var c=this;b=b?b:{};var d=b.fb||new Set,e=b.ya||function(a){return c.i(a)},f=[];K(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var b=a.import;b instanceof Node&&"complete"===b.readyState?(b.__CE_isImportDocument=!0,b.__CE_hasRegistry=!0):a.addEventListener("load",function(){var b=a.import;b.__CE_documentLoadHandled||(b.__CE_documentLoadHandled=!0,b.__CE_isImportDocument=!0,b.__CE_hasRegistry=
!0,d.delete(b),c.f(b,{fb:d,ya:e}))})}else f.push(a)},d);if(this.h)for(a=0;a<f.length;a++)this.g(f[a]);for(a=0;a<f.length;a++)e(f[a])};y.prototype.i=function(a){if(void 0===a.__CE_state){var b=this.c(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=
b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}n(a)&&this.connectedCallback(a)}}};y.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};y.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};y.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&
-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};Aa.prototype.c=function(){this.K&&this.K.disconnect()};Aa.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.f(c[d])};wb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};v.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");
if(!rc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.c(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");
var f=d("connectedCallback");var g=d("disconnectedCallback");var h=d("adoptedCallback");var k=d("attributeChangedCallback");var l=b.observedAttributes||[]}catch(ba){return}finally{this.c=!1}b={localName:a,constructor:b,connectedCallback:f,disconnectedCallback:g,adoptedCallback:h,attributeChangedCallback:k,observedAttributes:l,constructionStack:[]};this.a.B(a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return c.j()}))};v.prototype.j=function(){var a=this;if(!1!==this.b){this.b=!1;for(var b=
this.g,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);this.a.f(document,{ya:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.a.c(e)&&c.push(b)}}});for(e=0;e<c.length;e++)this.a.i(c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var g=0;g<f.length;g++)this.a.i(f[g]);(e=this.h.get(e))&&e.c()}}};v.prototype.get=function(a){if(a=this.a.c(a))return a.constructor};v.prototype.whenDefined=function(a){if(!rc(a))return Promise.reject(new SyntaxError("'"+
a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new wb;this.h.set(a,b);this.a.c(a)&&!this.g.some(function(b){return b.localName===a})&&b.c();return b.f};v.prototype.l=function(a){this.i.c();var b=this.f;this.f=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=v;v.prototype.define=v.prototype.define;v.prototype.get=v.prototype.get;v.prototype.whenDefined=v.prototype.whenDefined;v.prototype.polyfillWrapFlushCallback=v.prototype.l;var wa=window.Document.prototype.createElement,
$c=window.Document.prototype.createElementNS,Zc=window.Document.prototype.importNode,ad=window.Document.prototype.prepend,bd=window.Document.prototype.append,lb=window.Node.prototype.cloneNode,ca=window.Node.prototype.appendChild,tb=window.Node.prototype.insertBefore,xa=window.Node.prototype.removeChild,ub=window.Node.prototype.replaceChild,za=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),kb=window.Element.prototype.attachShadow,ua=Object.getOwnPropertyDescriptor(window.Element.prototype,
"innerHTML"),ya=window.Element.prototype.getAttribute,mb=window.Element.prototype.setAttribute,ob=window.Element.prototype.removeAttribute,da=window.Element.prototype.getAttributeNS,nb=window.Element.prototype.setAttributeNS,pb=window.Element.prototype.removeAttributeNS,rb=window.Element.prototype.insertAdjacentElement,Qc=window.Element.prototype.prepend,Rc=window.Element.prototype.append,Tc=window.Element.prototype.before,Uc=window.Element.prototype.after,Vc=window.Element.prototype.replaceWith,
Wc=window.Element.prototype.remove,dd=window.HTMLElement,va=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),qb=window.HTMLElement.prototype.insertAdjacentElement,vb=new function(){},oa=window.customElements;if(!oa||oa.forcePolyfill||"function"!=typeof oa.define||"function"!=typeof oa.get){var Y=new y;cd(Y);Yc(Y);Xc(Y);Pc(Y);document.__CE_hasRegistry=!0;var Id=new v(Y);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Id})}var G={STYLE_RULE:1,
ca:7,MEDIA_RULE:4,ka:1E3},D={Ta:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,ra:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,va:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Ya:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,eb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Xa:/^@[^\s]*keyframes/,wa:/\s+/g},u=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var w=window.ShadyCSS.nativeCss;else window.ShadyCSS?(uc(window.ShadyCSS),
window.ShadyCSS=void 0):uc(window.WebComponents&&window.WebComponents.flags);var pa=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,qa=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Jd=/(--[\w-]+)\s*([:,;)]|$)/gi,Kd=/(animation\s*:)|(animation-name\s*:)/,xd=/@media\s(.*)/,Ld=/\{[^}]*\}/g,M=null;q.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};q.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&
this.u(a,b,c);if(a="template"===a.localName?(a.content||a.jb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};q.prototype.u=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Md);c?d&&(b=d.replace("style-scope","").replace(b,""),la(a,b)):la(a,(d?d+" ":"")+"style-scope "+b)}};q.prototype.b=function(a,b,c){var d=a.__cssBuild;u||
"shady"===d?b=R(b,c):(a=N(a),b=this.F(b,a.is,a.T,c)+"\n\n");return b.trim()};q.prototype.F=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return R(a,function(a){a.c||(f.M(a,b,e),a.c=!0);d&&d(a,b,e)})};q.prototype.h=function(a){return a?Nd+a:""};q.prototype.f=function(a,b){return b?"[is="+a+"]":a};q.prototype.M=function(a,b,c){this.j(a,this.g,b,c)};q.prototype.j=function(a,b,c,d){a.selector=a.v=this.l(a,b,c,d)};q.prototype.l=function(a,b,c,d){var e=a.selector.split(Ec);if(!vc(a)){a=0;for(var f=
e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Ec)};q.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Od,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Pd,db+" $1");return a=a.replace(Qd,function(a,g,h){e||(a=d.A(h,g,b,c),e=e||a.stop,g=a.Sa,h=a.value);return g+h})};q.prototype.A=function(a,b,c,d){var e=a.indexOf(eb);0<=a.indexOf(db)?a=this.I(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(Rd,function(a,
b){return" > "+b}))}a=a.replace(Sd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,Sa:b,stop:f}};q.prototype.m=function(a,b){a=a.split(Fc);a[0]+=b;return a.join(Fc)};q.prototype.I=function(a,b){var c=a.match(Gc);return(c=c&&c[2].trim()||"")?c[0].match(Hc)?a.replace(Gc,function(a,c,f){return b+f}):c.split(Hc)[0]===b?c:Td:a.replace(db,b)};q.prototype.G=function(a){a.selector=a.parsedSelector;this.o(a);this.j(a,this.B)};q.prototype.o=function(a){a.selector===Ud&&(a.selector=
"html")};q.prototype.B=function(a){return a.match(eb)?this.g(a,Ic):this.m(a.trim(),Ic)};hb.Object.defineProperties(q.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Od=/:(nth[-\w]+)\(([^)]+)\)/,Ic=":not(.style-scope)",Ec=",",Qd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Hc=/[[.:#*]/,db=":host",Ud=":root",eb="::slotted",Pd=new RegExp("^("+eb+")"),Gc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Rd=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Sd=/(.*):dir\((?:(ltr|rtl))\)/,
Nd=".",Fc=":",Md="class",Td="should_not_match",t=new q;r.get=function(a){return a?a.__styleInfo:null};r.set=function(a,b){return a.__styleInfo=b};r.prototype.c=function(){return this.D};r.prototype._getStyleRules=r.prototype.c;var Jc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Vd=navigator.userAgent.match("Trident");p.prototype.M=function(a){var b=this,c={},d=[],e=0;S(a,function(a){b.c(a);
a.index=e++;b.G(a.s.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};p.prototype.c=function(a){if(!a.s){var b={},c={};this.b(a,c)&&(b.C=c,a.rules=null);b.cssText=this.F(a);a.s=b}};p.prototype.b=function(a,b){var c=a.s;if(c){if(c.C)return Object.assign(b,c.C),!0}else{c=a.parsedCssText;for(var d;a=pa.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.F=function(a){return this.I(a.parsedCssText)};p.prototype.I=function(a){return a.replace(Ld,
"").replace(pa,"")};p.prototype.G=function(a,b){for(var c;c=Jd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.$=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=xc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};p.prototype.f=function(a,
b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){qa.lastIndex=0;if(e=qa.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e);f=f.trim();f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};p.prototype.B=function(a,b){var c="";a.s||this.c(a);a.s.cssText&&(c=this.f(a.s.cssText,b));a.cssText=c};p.prototype.A=function(a,b){var c=a.cssText,d=a.cssText;null==a.ta&&(a.ta=Kd.test(c));if(a.ta)if(null==
a.X){a.X=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.X.push(e))}else{for(e=0;e<a.X.length;++e)d=b[a.X[e]],c=d(c);d=c}a.cssText=d};p.prototype.Z=function(a,b){var c={},d=this,e=[];S(a,function(a){a.s||d.c(a);var f=a.v||a.parsedSelector;b&&a.s.C&&f&&Jc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{C:c,key:e}};p.prototype.ba=function(a,b,c,d){b.s||this.c(b);if(b.s.C){var e=N(a);a=e.is;e=e.T;e=a?t.f(a,e):"html";var f=b.parsedSelector,g=":host > *"===f||
"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(u&&!b.v&&(b.v=t.l(b,t.g,t.h(a),e)),c=b.v||e),d({cb:c,Wa:h,lb:g})}};p.prototype.Y=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;S(b,function(b){e.ba(a,b,f,function(f){Jc.call(a.kb||a,f.cb)&&(f.Wa?e.b(b,c):e.b(b,d))})},null,!0);return{ab:d,Va:c}};p.prototype.aa=function(a,b,c){var d=this,e=N(a),f=t.f(e.is,
e.T),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])");e=r.get(a).D;var h=this.h(e,c);return t.b(a,e,function(a){d.B(a,b);u||vc(a)||!a.cssText||(d.A(a,h),d.l(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!u&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};p.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};p.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+
"-"+b;a.v=a.v||a.selector;a.selector=a.v.replace(a.keyframesName,a.a)};p.prototype.l=function(a,b,c,d){a.v=a.v||a.selector;d="."+d;for(var e=a.v.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};p.prototype.o=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&la(a,e)};p.prototype.u=function(a,b,c,d){b=d?d.textContent||"":this.aa(a,b,c);var e=
r.get(a),f=e.a;f&&!u&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));u?e.a?(e.a.textContent=b,d=e.a):b&&(d=Wa(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Vd&&-1<b.indexOf("@media")&&(d.textContent=b),wc(d,null,e.b)):b&&(d=Wa(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.m=function(a,b){var c=ka(a),d=this;a.textContent=R(c,function(a){var c=a.cssText=a.parsedCssText;a.s&&a.s.cssText&&(c=c.replace(D.ra,"").replace(D.va,
""),a.cssText=d.f(c,b))})};hb.Object.defineProperties(p.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var J=new p,fb={},ra=window.customElements;if(ra&&!u){var Wd=ra.define;ra.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(M?M.nextSibling:null)||e.firstChild);M=d;fb[a]=d;return Wd.call(ra,a,b,c)}}aa.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.C[e]!==b[e])return!1}return!0};
aa.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({C:b,styleElement:c,w:d});e.length>this.c&&e.shift();this.cache[a]=e};aa.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!u){var Kc=new MutationObserver(yc),Lc=function(a){Kc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Lc(document);else{var gb=function(){Lc(document.body)};window.HTMLImports?
window.HTMLImports.whenReady(gb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){gb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else gb()})}jb=function(){yc(Kc.takeRecords())}}var ma={},Ad=Promise.resolve(),Xa=null,Ac=window.HTMLImports&&window.HTMLImports.whenReady||null,Ya,sa=null,Z=null;C.prototype.sa=function(){!this.enqueued&&Z&&(this.enqueued=!0,ib(Z))};C.prototype.b=function(a){a.__seenByShadyCSS||
(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.sa())};C.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};C.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);d&&(d=d.__appliedElement||d,sa&&sa(d),c.__shadyCSSCachedStyle=d)}}return a};C.prototype.addCustomStyle=C.prototype.b;C.prototype.getStyleForCustomStyle=C.prototype.a;C.prototype.processStyles=C.prototype.c;
Object.defineProperties(C.prototype,{transformCallback:{get:function(){return sa},set:function(a){sa=a}},validateCallback:{get:function(){return Z},set:function(a){var b=!1;Z||(b=!0);Z=a;b&&this.sa()}}});var Mc=new aa;k.prototype.A=function(){jb()};k.prototype.Y=function(a){var b=this.m[a]=(this.m[a]||0)+1;return a+"-"+b};k.prototype.Ca=function(a){return ka(a)};k.prototype.Ea=function(a){return R(a)};k.prototype.M=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=
a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.$=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ma[b]=a;var d=this.$(a),e=this.M(a);c={is:b,extends:c,hb:d};u||t.a(a.content,b);this.c();var f=qa.test(e)||pa.test(e);qa.lastIndex=0;pa.lastIndex=0;e=Va(e);f&&w&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.g=d;d=[];w||(d=J.M(a._styleAst));
if(!d.length||w)b=this.Z(c,a._styleAst,u?a.content:null,fb[b]),a.a=b;a.c=d}};k.prototype.Z=function(a,b,c,d){b=t.b(a,b);if(b.length)return Wa(b,a.is,c,d)};k.prototype.ba=function(a){var b=N(a),c=b.is;b=b.T;var d=fb[c];c=ma[c];if(c){var e=c._styleAst;var f=c.c}return r.set(a,new r(e,d,f,0,b))};k.prototype.F=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=yd)};k.prototype.G=function(){var a=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&
(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(b){a.u(b)},this.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.i)&&a.f()})})};k.prototype.c=function(){this.F();this.G()};k.prototype.f=function(){this.c();if(this.b){var a=this.b.processStyles();this.b.enqueued&&(w?this.Aa(a):(this.o(this.g,this.h),this.B(a)),this.b.enqueued=!1,this.i&&!w&&this.styleDocument())}};k.prototype.styleElement=function(a,b){var c=N(a).is,d=r.get(a);d||(d=this.ba(a));
this.j(a)||(this.i=!0);b&&(d.L=d.L||{},Object.assign(d.L,b));if(w){if(d.L){b=d.L;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ma[c])||this.j(a))&&e&&e.a&&!zc(e)){if(zc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.a&&this.a.transformRules(e._styleAst,c),e.a.textContent=t.b(a,d.D),zd(e);u&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=t.b(a,d.D));d.D=e._styleAst}}else this.o(a,d),d.ia&&d.ia.length&&this.I(a,d)};k.prototype.l=
function(a){return(a=a.getRootNode().host)?r.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.I=function(a,b){var c=N(a).is,d=Mc.fetch(c,b.H,b.ia),e=d?d.styleElement:null,f=b.w;b.w=d&&d.w||this.Y(c);e=J.u(a,b.H,b.w,e);u||J.o(a,b.w,f);d||Mc.b(c,b.H,e,b.w)};k.prototype.o=function(a,b){var c=this.l(a),d=r.get(c);c=Object.create(d.H||null);var e=J.Y(a,b.D);a=J.Z(d.D,a).C;Object.assign(c,e.Va,a,e.ab);this.aa(c,b.L);J.$(c);b.H=c};k.prototype.aa=function(a,b){for(var c in b){var d=
b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Aa=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&this.za(c)}};k.prototype.B=function(a){for(var b=
0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&J.m(c,this.h.H)}};k.prototype.u=function(a){var b=this,c=ka(a);S(c,function(a){u?t.o(a):t.G(a);w&&(b.c(),b.a&&b.a.transformRule(a))});w?a.textContent=R(c):this.h.D.rules.push(c)};k.prototype.za=function(a){if(w&&this.a){var b=ka(a);this.c();this.a.transformRules(b);a.textContent=R(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;w||(c=(r.get(a)||r.get(this.l(a))).H[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?
c.trim():""};k.prototype.Da=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===t.c){c=d[e+1];break}}}c&&b.push(t.c,c);w||(c=r.get(a))&&c.w&&b.push(J.g,c.w);la(a,b.join(" "))};k.prototype.Ba=function(a){return r.get(a)};k.prototype.flush=k.prototype.A;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=
k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Da;k.prototype._styleInfoForNode=k.prototype.Ba;k.prototype.transformCustomStyleForDocument=k.prototype.u;k.prototype.getStyleAst=k.prototype.Ca;k.prototype.styleAstToString=k.prototype.Ea;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return u}},nativeCss:{get:function(){return w}}});
var F=new k;if(window.ShadyCSS){var Nc=window.ShadyCSS.ApplyShim;var Oc=window.ShadyCSS.CustomStyleInterface}window.ShadyCSS={ScopingShim:F,prepareTemplate:function(a,b,c){F.f();F.prepareTemplate(a,b,c)},styleSubtree:function(a,b){F.f();F.styleSubtree(a,b)},styleElement:function(a){F.f();F.styleElement(a)},styleDocument:function(a){F.f();F.styleDocument(a)},getComputedStyleValue:function(a,b){return F.getComputedStyleValue(a,b)},nativeCss:w,nativeShadow:u};Nc&&(window.ShadyCSS.ApplyShim=Nc);Oc&&(window.ShadyCSS.CustomStyleInterface=
Oc);(function(){function a(){requestAnimationFrame(function(){window.WebComponents.ready=!0;window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}function b(){a();c.removeEventListener("readystatechange",b)}var c=window.document;window.WebComponents=window.WebComponents||{};"loading"!==c.readyState?a():c.addEventListener("readystatechange",b)})()})();}).call(this);
Ma(b.parentNode,b);d=U(a);var e;if(e=d)a:{if(!b.__noInsertionPoint){var f;"slot"===b.localName?f=[b]:b.querySelectorAll&&(f=b.querySelectorAll("slot"));if(f&&f.length){e=f;break a}}e=void 0}f=e;d&&("slot"===a.localName||f)&&d.J();if(P(a)){e=c;Ab(a);a.__shady=a.__shady||{};void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Sb(g[h],a,e);b.__shady=b.__shady||{};e=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
b.__shady.lastChild=e;b.__shady.childNodes=e}else Sb(b,a,e);if(Na(a)){a.__shady.root.J();var m=!0}else a.__shady.root&&(m=!0)}m||(m=E(a)?a.host:a,c?(c=Tb(c),Oa.call(m,b,c)):Ub.call(m,b));Vb(a,b);f&&d.Ja(f);return b}function Ma(a,b){if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var c=U(b);if(P(a)){b.__shady=b.__shady||{};a.__shady=a.__shady||{};b===a.__shady.firstChild&&(a.__shady.firstChild=b.__shady.nextSibling);b===a.__shady.lastChild&&(a.__shady.lastChild=
b.__shady.previousSibling);var d=b.__shady.previousSibling;var e=b.__shady.nextSibling;d&&(d.__shady=d.__shady||{},d.__shady.nextSibling=e);e&&(e.__shady=e.__shady||{},e.__shady.previousSibling=d);b.__shady.parentNode=b.__shady.previousSibling=b.__shady.nextSibling=void 0;void 0!==a.__shady.childNodes&&(a.__shady.childNodes=null);if(Na(a)){a.__shady.root.J();var f=!0}}Wb(b);c&&((e=a&&"slot"===a.localName)&&(f=!0),((d=c.Ma(b))||e)&&c.J());f||(f=E(a)?a.host:a,(!a.__shady.root&&"slot"!==b.localName||
f===Q(b))&&W.call(f,b));Vb(a,null,b);return b}function Wb(a){if(a.__shady&&void 0!==a.__shady.ja)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Wb(e);a.__shady&&(a.__shady.ja=void 0)}function Tb(a){var b=a;a&&"slot"===a.localName&&(b=(b=a.__shady.P)&&b.length?b[0]:Tb(a.nextSibling));return b}function Na(a){return(a=a&&a.__shady&&a.__shady.root)&&a.oa()}function Xb(a,b){"slot"===b?(a=a.parentNode,Na(a)&&a.__shady.root.J()):"slot"===a.localName&&"name"===b&&(b=U(a))&&(b.Oa(a),b.J())}function Vb(a,
b,c){if(a=a.__shady&&a.__shady.S)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),a.$a()}function Yb(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.ja;void 0===b&&(E(a)?b=a:b=(b=a.parentNode)?Yb(b):a,document.documentElement.contains(a)&&(a.__shady.ja=b));return b}}function ia(a,b,c){var d=[];Zb(a.childNodes,b,c,d);return d}function Zb(a,b,c,d){for(var e=0,f=a.length,g;e<f&&(g=a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var m=b,k=c,l=d,n=m(h);n&&l.push(h);k&&k(n)?h=n:
(Zb(h.childNodes,m,k,l),h=void 0)}if(h)break}}function $b(a){a=a.getRootNode();E(a)&&a.qa()}function ac(a,b,c){ja||(ja=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ja&&"class"===b?ja.setElementClass(a,c):(bc.call(a,b,c),Xb(a,b))}function cc(a,b){if(a.ownerDocument!==document)return Pa.call(document,a,b);var c=Pa.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=cc(a[b],!0),c.appendChild(d)}return c}function Qa(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),
d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;c[c.length-1]===document&&c.push(window);return c}function dc(a,b){if(!E)return a;a=Qa(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Ra(a){function b(b,d){b=new a(b,d);b.da=d&&!!d.composed;return b}kd(b,a);b.prototype=a.prototype;return b}function ec(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&
b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.Ea);d++);}function qd(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];ec(a,d,"capture");if(a.ea)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=d.__shady&&d.__shady.root;if(0===c||f&&f===e)if(ec(a,d,"bubble"),d!==window&&(e=
d.getRootNode()),a.ea)break}}function fc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],m=h.type,k=h.capture,l=h.once,n=h.passive;if(b===h.node&&c===m&&d===k&&e===l&&f===n)return g}return-1}function gc(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.fa||this,h=b.V;if(h){if(-1<fc(h,g,a,d,e,f))return}else b.V=[];h=function(d){e&&this.removeEventListener(a,b,c);d.__target||hc(d);if(g!==this){var f=Object.getOwnPropertyDescriptor(d,
"currentTarget");Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.V.push({node:this,
type:a,capture:d,once:e,passive:f,cb:h});Sa[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][d?"capture":"bubble"].push(h)):(this instanceof Window?ic:jc).call(this,a,h,c)}}function kc(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var g=c&&c.fa||this,h=void 0;var m=null;try{m=b.V}catch($d){}m&&(e=fc(m,g,a,d,e,f),-1<e&&(h=m.splice(e,1)[0].cb,m.length||(b.V=void 0)));(this instanceof
Window?lc:mc).call(this,a,h||b,c);h&&Sa[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function rd(){for(var a in Sa)window.addEventListener(a,function(a){a.__target||(hc(a),qd(a))},!0)}function hc(a){a.__target=a.target;a.ma=a.relatedTarget;if(B.R){var b=nc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.fb=c;Da(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Da(a,nc)}function X(a,
b){return{index:a,T:[],W:b}}function sd(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){h=a.length;for(var k=c.length,l=0;l<m-g&&td(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(0==b-e&&0==d-f)return[];if(e==b){for(b=X(e,0);f<d;)b.T.push(c[f++]);return[b]}if(f==d)return[X(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+
l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)0==m?(a.push(2),g--):0==g?(a.push(3),m--):(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l));a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=X(e,0));b.W++;e++;b.T.push(c[f]);f++;break;
case 2:b||(b=X(e,0));b.W++;e++;break;case 3:b||(b=X(e,0)),b.T.push(c[f]),f++}b&&m.push(b);return m}function td(a,b){return a===b}function oc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}function pc(a){$b(a);return a.__shady&&a.__shady.assignedSlot||null}function I(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function ud(){var a=window.customElements&&window.customElements.nativeHTMLElement||
HTMLElement;I(window.Node.prototype,vd);I(window.Window.prototype,wd);I(window.Text.prototype,xd);I(window.DocumentFragment.prototype,Ta);I(window.Element.prototype,qc);I(window.Document.prototype,rc);window.HTMLSlotElement&&I(window.HTMLSlotElement.prototype,sc);I(a.prototype,yd);B.R&&(L(window.Node.prototype),L(window.Text.prototype),L(window.DocumentFragment.prototype),L(window.Element.prototype),L(a.prototype),L(window.Document.prototype),window.HTMLSlotElement&&L(window.HTMLSlotElement.prototype))}
function tc(a){var b=zd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function n(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function Ua(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function K(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===
Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)K(d,b,c);d=Ua(a,e);continue}else if("template"===f){d=Ua(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)K(e,b,c)}d=d.firstChild?d.firstChild:Ua(a,d)}}function x(a,b,c){a[b]=c}function Va(a){a=a.replace(D.Sa,"").replace(D.port,"");var b=uc,c=a,d=new ta;d.start=0;d.end=c.length;for(var e=
d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,k=h.rules[h.rules.length-1]||null;e=new ta;e.start=f+1;e.parent=h;e.previous=k;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function uc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&(c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=Ad(c),c=c.replace(D.wa," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===
c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=G.MEDIA_RULE:c.match(D.Wa)&&(a.type=G.ca,a.keyframesName=a.selector.split(D.wa).pop()):a.type=0===c.indexOf("--")?G.ka:G.STYLE_RULE);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)uc(f,b);return a}function Ad(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function vc(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===
f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=vc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(D.ra,"").replace(D.va,""),b=b.replace(D.Xa,"").replace(D.bb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function wc(a){w=a&&a.shimcssproperties?!1:u||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}function R(a,b){if(!a)return"";
"string"===typeof a&&(a=Va(a));b&&S(a,b);return vc(a,w)}function ka(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Va(a.textContent));return a.__cssRules||null}function xc(a){return!!a.parent&&a.parent.type===G.ca}function S(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===G.MEDIA_RULE){var g=a.selector.match(Bd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===G.STYLE_RULE?b(a):c&&f===G.ca?c(a):f===G.ka&&(e=!0);if((a=a.rules)&&!e){e=0;f=a.length;for(var h;e<f&&(h=a[e]);e++)S(h,b,c,d)}}}function Wa(a,b,
c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;yc(e,c,d);return e}function yc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);M?a.compareDocumentPosition(M)===Node.DOCUMENT_POSITION_PRECEDING&&(M=a):M=a}function zc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");a:{var d=0;var e=c+3;for(var f=a.length;e<f;e++)if("("===a[e])d++;else if(")"===a[e]&&0===--d)break a;e=-1}d=a.substring(c+4,e);c=a.substring(0,c);a=zc(a.substring(e+
1),b);e=d.indexOf(",");return-1===e?b(c,d.trim(),"",a):b(c,d.substring(0,e).trim(),d.substring(e+1).trim(),a)}function la(a,b){u?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function N(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,U:c}}function Ac(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=
c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode();var g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(t.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?t.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=N(f).is,g!==f&&(g&&t.a(e,g,!0),t.a(e,f)))}}}}function Cd(a){if(a=ma[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=
a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Bc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Dd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Ed.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function kb(a){requestAnimationFrame(function(){Cc?Cc(a):(Xa||(Xa=new Promise(function(a){Ya=a}),"complete"===document.readyState?Ya():document.addEventListener("readystatechange",
function(){"complete"===document.readyState&&Ya()})),Xa.then(function(){a&&a()}))})}function Dc(){requestAnimationFrame(function(){window.WebComponents.ready=!0;window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}function Ec(){Dc();Za.removeEventListener("readystatechange",Ec)}var B=window.ShadyDOM||{};B.Ta=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var $a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");B.R=!!($a&&$a.configurable&&
$a.get);B.ua=B.force||!B.Ta;var T=Element.prototype,Fc=T.matches||T.matchesSelector||T.mozMatchesSelector||T.msMatchesSelector||T.oMatchesSelector||T.webkitMatchesSelector,Ga=document.createTextNode(""),Db=0,Fa=[];(new MutationObserver(function(){for(;Fa.length;)try{Fa.shift()()}catch(a){throw Ga.textContent=Db++,a;}})).observe(Ga,{characterData:!0});var V=[],Ha;ha.list=V;fa.prototype.$a=function(){var a=this;this.a||(this.a=!0,Cb(function(){a.b()}))};fa.prototype.b=function(){if(this.a){this.a=!1;
var a=this.takeRecords();a.length&&this.X.forEach(function(b){b(a)})}};fa.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var Ub=Element.prototype.appendChild,Oa=Element.prototype.insertBefore,W=Element.prototype.removeChild,bc=Element.prototype.setAttribute,Gc=Element.prototype.removeAttribute,ab=Element.prototype.cloneNode,Pa=Document.prototype.importNode,
jc=Element.prototype.addEventListener,mc=Element.prototype.removeEventListener,ic=Window.prototype.addEventListener,lc=Window.prototype.removeEventListener,bb=Element.prototype.dispatchEvent,Fd=Object.freeze({appendChild:Ub,insertBefore:Oa,removeChild:W,setAttribute:bc,removeAttribute:Gc,cloneNode:ab,importNode:Pa,addEventListener:jc,removeEventListener:mc,jb:ic,kb:lc,dispatchEvent:bb,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll}),md=/[&\u00A0"]/g,
pd=/[&\u00A0<>]/g,nd=Gb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),od=Gb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),z=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),A=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Gd=Object.freeze({parentNode:Q,firstChild:Ba,lastChild:Ca,previousSibling:Hb,nextSibling:Ib,childNodes:O,parentElement:Jb,firstElementChild:Kb,lastElementChild:Lb,
previousElementSibling:Mb,nextElementSibling:Nb,children:Ob,innerHTML:Pb,textContent:Qb}),cb=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),na=document.implementation.createHTMLDocument("inert").createElement("div"),db=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Rb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==
a?a:Jb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:Q(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Ib(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Hb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",
a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Nb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Mb(this)},configurable:!0}},Ja={childNodes:{get:function(){if(P(this)){if(!this.__shady.childNodes){this.__shady.childNodes=
[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}var b=this.__shady.childNodes}else b=O(this);b.item=function(a){return b[a]};return b},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:Ba(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Ca(this)},configurable:!0},textContent:{get:function(){if(P(this)){for(var a=
[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return Qb(this)},set:function(a){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=
a.nextSibling;return a}return Kb(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Lb(this)},configurable:!0},children:{get:function(){var a;P(this)?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Ob(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a=
"template"===this.localName?this.content:this;return P(this)?Ia(a):Pb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(cb&&cb.set?cb.set.call(na,a):na.innerHTML=a;na.firstChild;)b.appendChild(na.firstChild)},configurable:!0}},Hc={shadowRoot:{get:function(){return this.__shady&&this.__shady.Ya||null},configurable:!0}},Ka={activeElement:{get:function(){var a=db&&db.get?db.get.call(document):B.R?void 0:document.activeElement;if(a&&
a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=U(a);b&&b!==this;)a=b.host,b=U(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},Bb=B.R?function(){}:function(a){a.__shady&&a.__shady.Ha||(a.__shady=a.__shady||{},a.__shady.Ha=!0,H(a,Rb,!0))},Ab=B.R?function(){}:function(a){a.__shady&&a.__shady.Fa||(a.__shady=a.__shady||{},a.__shady.Fa=!0,H(a,Ja,!0),H(a,Hc,!0))},ja=null,Hd={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},nc={get composed(){!1!==this.isTrusted&&void 0===this.da&&(this.da=Hd[this.type]);return this.da||!1},composedPath:function(){this.la||(this.la=Qa(this.__target,this.composed));return this.la},get target(){return dc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.ma)return null;this.na||(this.na=Qa(this.ma,!0));return dc(this.currentTarget,this.na)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);
this.ea=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ea=this.Ea=!0}},Sa={focus:!0,blur:!0},Id=Ra(window.Event),Jd=Ra(window.CustomEvent),Kd=Ra(window.MouseEvent),zb={};l.prototype=Object.create(DocumentFragment.prototype);l.prototype.B=function(a,b){this.Ga="ShadyRoot";ea(a);ea(this);this.host=a;this.I=b&&b.mode;a.__shady=a.__shady||{};a.__shady.root=this;a.__shady.Ya="closed"!==this.I?this:null;this.O=!1;this.b=[];this.a=null;b=O(a);for(var c=0,
d=b.length;c<d;c++)W.call(a,b[c])};l.prototype.J=function(){var a=this;this.O||(this.O=!0,Eb(function(){return a.qa()}))};l.prototype.A=function(){for(var a=this,b=this;b;)b.O&&(a=b),b=b.Na();return a};l.prototype.Na=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.h(d))return a};l.prototype.qa=function(){this.O&&this.A()._renderRoot()};l.prototype._renderRoot=function(){this.O=!1;this.u();this.m()};l.prototype.u=function(){for(var a=
0,b;a<this.b.length;a++)b=this.b[a],this.l(b);for(b=this.host.firstChild;b;b=b.nextSibling)this.f(b);for(a=0;a<this.b.length;a++){b=this.b[a];if(!b.__shady.assignedNodes.length)for(var c=b.firstChild;c;c=c.nextSibling)this.f(c,b);c=b.parentNode;(c=c.__shady&&c.__shady.root)&&c.oa()&&c._renderRoot();this.c(b.__shady.P,b.__shady.assignedNodes);if(c=b.__shady.pa){for(var d=0;d<c.length;d++)c[d].__shady.ga=null;b.__shady.pa=null;c.length>b.__shady.assignedNodes.length&&(b.__shady.ha=!0)}b.__shady.ha&&
(b.__shady.ha=!1,this.g(b))}};l.prototype.f=function(a,b){a.__shady=a.__shady||{};var c=a.__shady.ga;a.__shady.ga=null;b||(b=(b=this.a[a.slot||"__catchall"])&&b[0]);b?(b.__shady.assignedNodes.push(a),a.__shady.assignedSlot=b):a.__shady.assignedSlot=void 0;c!==a.__shady.assignedSlot&&a.__shady.assignedSlot&&(a.__shady.assignedSlot.__shady.ha=!0)};l.prototype.l=function(a){var b=a.__shady.assignedNodes;a.__shady.assignedNodes=[];a.__shady.P=[];if(a.__shady.pa=b)for(var c=0;c<b.length;c++){var d=b[c];
d.__shady.ga=d.__shady.assignedSlot;d.__shady.assignedSlot===a&&(d.__shady.assignedSlot=null)}};l.prototype.c=function(a,b){for(var c=0,d;c<b.length&&(d=b[c]);c++)"slot"==d.localName?this.c(a,d.__shady.assignedNodes):a.push(b[c])};l.prototype.g=function(a){bb.call(a,new Event("slotchange"));a.__shady.assignedSlot&&this.g(a.__shady.assignedSlot)};l.prototype.m=function(){for(var a=this.b,b=[],c=0;c<a.length;c++){var d=a[c].parentNode;d.__shady&&d.__shady.root||!(0>b.indexOf(d))||b.push(d)}for(a=0;a<
b.length;a++)c=b[a],this.G(c===this?this.host:c,this.o(c))};l.prototype.o=function(a){var b=[];a=a.childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.h(d)){d=d.__shady.P;for(var e=0;e<d.length;e++)b.push(d[e])}else b.push(d)}return b};l.prototype.h=function(a){return"slot"==a.localName};l.prototype.G=function(a,b){for(var c=O(a),d=sd(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.T.length&&(k=g.T[h]);h++)Q(k)===a&&W.call(a,k),c.splice(g.index+f,1);f-=g.W}for(e=
0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.W;h++)k=b[h],Oa.call(a,k,f),c.splice(h,0,k)};l.prototype.Ja=function(a){this.a=this.a||{};this.b=this.b||[];for(var b=0;b<a.length;b++){var c=a[b];c.__shady=c.__shady||{};ea(c);ea(c.parentNode);var d=this.i(c);if(this.a[d]){var e=e||{};e[d]=!0;this.a[d].push(c)}else this.a[d]=[c];this.b.push(c)}if(e)for(var f in e)this.a[f]=this.j(this.a[f])};l.prototype.i=function(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.Ia=b};
l.prototype.j=function(a){return a.sort(function(a,c){a=oc(a);for(var b=oc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})};l.prototype.Ma=function(a){this.a=this.a||{};this.b=this.b||[];var b=this.a,c;for(c in b)for(var d=b[c],e=0;e<d.length;e++){var f=d[e],g;a:{for(g=f;g;){if(g==a){g=!0;break a}g=g.parentNode}g=void 0}if(g){d.splice(e,1);var h=this.b.indexOf(f);0<=h&&this.b.splice(h,1);e--;this.F(f);h=!0}}return h};l.prototype.Oa=
function(a){var b=a.Ia,c=this.i(a);if(c!==b){b=this.a[b];var d=b.indexOf(a);0<=d&&b.splice(d,1);b=this.a[c]||(this.a[c]=[]);b.push(a);1<b.length&&(this.a[c]=this.j(b))}};l.prototype.F=function(a){if(a=a.__shady.P)for(var b=0;b<a.length;b++){var c=a[b],d=Q(c);d&&W.call(d,c)}};l.prototype.oa=function(){return!!this.b.length};l.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.fa=this;this.host.addEventListener(a,b,c)};l.prototype.removeEventListener=function(a,b,c){"object"!==
typeof c&&(c={capture:!!c});c.fa=this;this.host.removeEventListener(a,b,c)};l.prototype.getElementById=function(a){return ia(this,function(b){return b.id==a},function(a){return!!a})[0]||null};(function(a){H(a,Ja,!0);H(a,Ka,!0)})(l.prototype);var wd={addEventListener:gc.bind(window),removeEventListener:kc.bind(window)},vd={addEventListener:gc,removeEventListener:kc,appendChild:function(a){return La(this,a)},insertBefore:function(a,b){return La(this,a,b)},removeChild:function(a){return Ma(this,a)},
replaceChild:function(a,b){La(this,a,b);Ma(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=ab.call(this,a);else if(b=ab.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Yb(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof
l?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){ha();return bb.call(this,a)}},xd={get assignedSlot(){return pc(this)}},Ta={querySelector:function(a){return ia(this,function(b){return Fc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return ia(this,function(b){return Fc.call(b,a)})}},sc={assignedNodes:function(a){if("slot"===this.localName)return $b(this),this.__shady?(a&&a.flatten?this.__shady.P:this.__shady.assignedNodes)||[]:[]}},qc=Ea({setAttribute:function(a,
b){ac(this,a,b)},removeAttribute:function(a){Gc.call(this,a);Xb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new l(zb,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){ac(this,"slot",a)},get assignedSlot(){return pc(this)}},Ta,sc);Object.defineProperties(qc,Hc);var rc=Ea({importNode:function(a,b){return cc(a,b)},getElementById:function(a){return ia(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},
Ta);Object.defineProperties(rc,{_activeElement:Ka.activeElement});var Ld=HTMLElement.prototype.blur,yd=Ea({blur:function(){var a=this.__shady&&this.__shady.root;(a=a&&a.activeElement)?a.blur():Ld.call(this)}});B.ua&&(window.ShadyDOM={inUse:B.ua,patch:function(a){return a},isShadyRoot:E,enqueue:Eb,flush:ha,settings:B,filterMutations:ld,observeChildren:jd,unobserveChildren:id,nativeMethods:Fd,nativeTree:Gd},window.Event=Id,window.CustomEvent=Jd,window.MouseEvent=Kd,rd(),ud(),window.ShadowRoot=l);var zd=
new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));y.prototype.B=function(a,b){this.m.set(a,b);this.l.set(b.constructor,b)};y.prototype.f=function(a){return this.m.get(a)};y.prototype.A=function(a){return this.l.get(a)};y.prototype.o=function(a){this.h=!0;this.i.push(a)};y.prototype.j=function(a){var b=this;this.h&&K(a,function(a){return b.g(a)})};y.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=
!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};y.prototype.b=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.u(c)}};y.prototype.a=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};y.prototype.c=function(a,b){var c=this;b=b?b:new Set;var d=[];K(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=
a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.u(d[a])};y.prototype.u=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);
var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}n(a)&&this.connectedCallback(a)}}};y.prototype.connectedCallback=function(a){var b=a.__CE_definition;
b.connectedCallback&&b.connectedCallback.call(a)};y.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};y.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};Aa.prototype.c=function(){this.K&&this.K.disconnect()};Aa.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==
b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};yb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};v.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!tc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");
if(this.f)throw Error("A custom element is already being defined.");this.f=!0;try{var d=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=d("connectedCallback");var g=d("disconnectedCallback");var h=d("adoptedCallback");var k=d("attributeChangedCallback");var l=b.observedAttributes||[]}catch(ba){return}finally{this.f=
!1}this.a.B(a,{localName:a,constructor:b,connectedCallback:f,disconnectedCallback:g,adoptedCallback:h,attributeChangedCallback:k,observedAttributes:l,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};v.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};v.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};v.prototype.whenDefined=function(a){if(!tc(a))return Promise.reject(new SyntaxError("'"+
a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new yb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};v.prototype.l=function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=v;v.prototype.define=v.prototype.define;v.prototype.get=v.prototype.get;v.prototype.whenDefined=v.prototype.whenDefined;v.prototype.polyfillWrapFlushCallback=v.prototype.l;var wa=window.Document.prototype.createElement,
dd=window.Document.prototype.createElementNS,cd=window.Document.prototype.importNode,ed=window.Document.prototype.prepend,fd=window.Document.prototype.append,nb=window.Node.prototype.cloneNode,ca=window.Node.prototype.appendChild,vb=window.Node.prototype.insertBefore,xa=window.Node.prototype.removeChild,wb=window.Node.prototype.replaceChild,za=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),mb=window.Element.prototype.attachShadow,ua=Object.getOwnPropertyDescriptor(window.Element.prototype,
"innerHTML"),ya=window.Element.prototype.getAttribute,ob=window.Element.prototype.setAttribute,qb=window.Element.prototype.removeAttribute,da=window.Element.prototype.getAttributeNS,pb=window.Element.prototype.setAttributeNS,rb=window.Element.prototype.removeAttributeNS,tb=window.Element.prototype.insertAdjacentElement,Uc=window.Element.prototype.prepend,Vc=window.Element.prototype.append,Xc=window.Element.prototype.before,Yc=window.Element.prototype.after,Zc=window.Element.prototype.replaceWith,
$c=window.Element.prototype.remove,hd=window.HTMLElement,va=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),sb=window.HTMLElement.prototype.insertAdjacentElement,xb=new function(){},oa=window.customElements;if(!oa||oa.forcePolyfill||"function"!=typeof oa.define||"function"!=typeof oa.get){var Y=new y;gd(Y);bd(Y);ad(Y);Tc(Y);document.__CE_hasRegistry=!0;var Md=new v(Y);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Md})}var G={STYLE_RULE:1,
ca:7,MEDIA_RULE:4,ka:1E3},D={Sa:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,ra:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,va:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Xa:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,bb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Wa:/^@[^\s]*keyframes/,wa:/\s+/g},u=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var w=window.ShadyCSS.nativeCss;else window.ShadyCSS?(wc(window.ShadyCSS),
window.ShadyCSS=void 0):wc(window.WebComponents&&window.WebComponents.flags);var pa=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,qa=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Nd=/(--[\w-]+)\s*([:,;)]|$)/gi,Od=/(animation\s*:)|(animation-name\s*:)/,Bd=/@media\s(.*)/,Pd=/\{[^}]*\}/g,M=null;q.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};q.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&
this.A(a,b,c);if(a="template"===a.localName?(a.content||a.gb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};q.prototype.A=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Qd);c?d&&(b=d.replace("style-scope","").replace(b,""),la(a,b)):la(a,(d?d+" ":"")+"style-scope "+b)}};q.prototype.b=function(a,b,c){var d=a.__cssBuild;u||
"shady"===d?b=R(b,c):(a=N(a),b=this.G(b,a.is,a.U,c)+"\n\n");return b.trim()};q.prototype.G=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return R(a,function(a){a.c||(f.N(a,b,e),a.c=!0);d&&d(a,b,e)})};q.prototype.h=function(a){return a?Rd+a:""};q.prototype.f=function(a,b){return b?"[is="+a+"]":a};q.prototype.N=function(a,b,c){this.j(a,this.g,b,c)};q.prototype.j=function(a,b,c,d){a.selector=a.v=this.l(a,b,c,d)};q.prototype.l=function(a,b,c,d){var e=a.selector.split(Ic);if(!xc(a)){a=0;for(var f=
e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Ic)};q.prototype.o=function(a){return a.replace(eb,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})};q.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();var f=eb.test(a);f&&(a=a.replace(eb,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=this.o(a));a=a.replace(Sd,fb+" $1");a=a.replace(Td,function(a,f,k){e||(a=d.B(k,f,b,c),e=e||a.stop,f=
a.Ra,k=a.value);return f+k});f&&(a=this.o(a));return a};q.prototype.B=function(a,b,c,d){var e=a.indexOf(gb);0<=a.indexOf(fb)?a=this.F(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(Ud,function(a,b){return" > "+b}))}a=a.replace(Vd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,Ra:b,stop:f}};q.prototype.m=function(a,b){a=a.split(Jc);a[0]+=b;return a.join(Jc)};q.prototype.F=function(a,b){var c=a.match(Kc);return(c=c&&c[2].trim()||
"")?c[0].match(Lc)?a.replace(Kc,function(a,c,f){return b+f}):c.split(Lc)[0]===b?c:Wd:a.replace(fb,b)};q.prototype.M=function(a){a.selector=a.parsedSelector;this.u(a);this.j(a,this.I)};q.prototype.u=function(a){a.selector===Xd&&(a.selector="html")};q.prototype.I=function(a){return a.match(gb)?this.g(a,Mc):this.m(a.trim(),Mc)};jb.Object.defineProperties(q.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var eb=/:(nth[-\w]+)\(([^)]+)\)/,Mc=":not(.style-scope)",Ic=",",
Td=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Lc=/[[.:#*]/,fb=":host",Xd=":root",gb="::slotted",Sd=new RegExp("^("+gb+")"),Kc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Ud=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Vd=/(.*):dir\((?:(ltr|rtl))\)/,Rd=".",Jc=":",Qd="class",Wd="should_not_match",t=new q;r.get=function(a){return a?a.__styleInfo:null};r.set=function(a,b){return a.__styleInfo=b};r.prototype.c=function(){return this.D};r.prototype._getStyleRules=r.prototype.c;var Nc=function(a){return a.matches||
a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Yd=navigator.userAgent.match("Trident");p.prototype.M=function(a){var b=this,c={},d=[],e=0;S(a,function(a){b.c(a);a.index=e++;b.G(a.s.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};p.prototype.c=function(a){if(!a.s){var b={},c={};this.b(a,c)&&(b.C=c,a.rules=null);b.cssText=this.F(a);a.s=b}};p.prototype.b=function(a,b){var c=a.s;if(c){if(c.C)return Object.assign(b,
c.C),!0}else{c=a.parsedCssText;for(var d;a=pa.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.F=function(a){return this.I(a.parsedCssText)};p.prototype.I=function(a){return a.replace(Pd,"").replace(pa,"")};p.prototype.G=function(a,b){for(var c;c=Nd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.$=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=
a.indexOf(";"))a=this.f(a,b);else{var c=this;a=zc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};p.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){qa.lastIndex=0;if(e=qa.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e);f=f.trim();f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?
d.slice(0,-1):d||""}return a.join(";")};p.prototype.B=function(a,b){var c="";a.s||this.c(a);a.s.cssText&&(c=this.f(a.s.cssText,b));a.cssText=c};p.prototype.A=function(a,b){var c=a.cssText,d=a.cssText;null==a.ta&&(a.ta=Od.test(c));if(a.ta)if(null==a.Y){a.Y=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.Y.push(e))}else{for(e=0;e<a.Y.length;++e)d=b[a.Y[e]],c=d(c);d=c}a.cssText=d};p.prototype.Z=function(a,b){var c={},d=this,e=[];S(a,function(a){a.s||d.c(a);var f=a.v||a.parsedSelector;b&&a.s.C&&f&&Nc.call(b,
f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{C:c,key:e}};p.prototype.ba=function(a,b,c,d){b.s||this.c(b);if(b.s.C){var e=N(a);a=e.is;e=e.U;e=a?t.f(a,e):"html";var f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(u&&!b.v&&(b.v=t.l(b,t.g,t.h(a),e)),c=b.v||e),d({ab:c,Va:h,ib:g})}};p.prototype.N=
function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;S(b,function(b){e.ba(a,b,f,function(f){Nc.call(a.hb||a,f.ab)&&(f.Va?e.b(b,c):e.b(b,d))})},null,!0);return{Za:d,Ua:c}};p.prototype.aa=function(a,b,c){var d=this,e=N(a),f=t.f(e.is,e.U),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])");e=r.get(a).D;var h=this.h(e,c);return t.b(a,e,function(a){d.B(a,b);u||xc(a)||!a.cssText||(d.A(a,h),d.l(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!u&&a)for(var d=
0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};p.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};p.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.v=a.v||a.selector;a.selector=a.v.replace(a.keyframesName,a.a)};p.prototype.l=function(a,b,c,d){a.v=a.v||a.selector;d="."+d;for(var e=a.v.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};p.prototype.o=
function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&la(a,e)};p.prototype.u=function(a,b,c,d){b=d?d.textContent||"":this.aa(a,b,c);var e=r.get(a),f=e.a;f&&!u&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));u?e.a?(e.a.textContent=b,d=e.a):b&&(d=Wa(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Yd&&-1<b.indexOf("@media")&&(d.textContent=b),yc(d,null,e.b)):b&&(d=Wa(b,c,null,
e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.m=function(a,b){var c=ka(a),d=this;a.textContent=R(c,function(a){var c=a.cssText=a.parsedCssText;a.s&&a.s.cssText&&(c=c.replace(D.ra,"").replace(D.va,""),a.cssText=d.f(c,b))})};jb.Object.defineProperties(p.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var J=new p,hb={},ra=window.customElements;if(ra&&!u){var Zd=ra.define;ra.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+
a+" "),e=document.head;e.insertBefore(d,(M?M.nextSibling:null)||e.firstChild);M=d;hb[a]=d;return Zd.call(ra,a,b,c)}}aa.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.C[e]!==b[e])return!1}return!0};aa.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({C:b,styleElement:c,w:d});e.length>this.c&&e.shift();this.cache[a]=e};aa.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!u){var Oc=new MutationObserver(Ac),
Pc=function(a){Oc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Pc(document);else{var ib=function(){Pc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(ib):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){ib();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else ib()})}lb=function(){Ac(Oc.takeRecords())}}var ma={},Ed=Promise.resolve(),
Xa=null,Cc=window.HTMLImports&&window.HTMLImports.whenReady||null,Ya,sa=null,Z=null;C.prototype.sa=function(){!this.enqueued&&Z&&(this.enqueued=!0,kb(Z))};C.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.sa())};C.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};C.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);d&&
(d=d.__appliedElement||d,sa&&sa(d),c.__shadyCSSCachedStyle=d)}}return a};C.prototype.addCustomStyle=C.prototype.b;C.prototype.getStyleForCustomStyle=C.prototype.a;C.prototype.processStyles=C.prototype.c;Object.defineProperties(C.prototype,{transformCallback:{get:function(){return sa},set:function(a){sa=a}},validateCallback:{get:function(){return Z},set:function(a){var b=!1;Z||(b=!0);Z=a;b&&this.sa()}}});var Qc=new aa;k.prototype.A=function(){lb()};k.prototype.N=function(a){var b=this.m[a]=(this.m[a]||
0)+1;return a+"-"+b};k.prototype.Ba=function(a){return ka(a)};k.prototype.Da=function(a){return R(a)};k.prototype.M=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.$=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ma[b]=a;var d=this.$(a),e=this.M(a);
c={is:b,extends:c,eb:d};u||t.a(a.content,b);this.c();var f=qa.test(e)||pa.test(e);qa.lastIndex=0;pa.lastIndex=0;e=Va(e);f&&w&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.g=d;d=[];w||(d=J.M(a._styleAst));if(!d.length||w)b=this.Z(c,a._styleAst,u?a.content:null,hb[b]),a.a=b;a.c=d}};k.prototype.Z=function(a,b,c,d){b=t.b(a,b);if(b.length)return Wa(b,a.is,c,d)};k.prototype.ba=function(a){var b=N(a),c=b.is;b=b.U;var d=hb[c];c=ma[c];if(c){var e=c._styleAst;var f=c.c}return r.set(a,new r(e,d,f,0,b))};
k.prototype.F=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=Cd)};k.prototype.G=function(){var a=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(b){a.u(b)},this.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.i)&&a.f()})})};k.prototype.c=function(){this.F();this.G()};k.prototype.f=function(){this.c();
if(this.b){var a=this.b.processStyles();this.b.enqueued&&(w?this.za(a):(this.o(this.g,this.h),this.B(a)),this.b.enqueued=!1,this.i&&!w&&this.styleDocument())}};k.prototype.styleElement=function(a,b){var c=N(a).is,d=r.get(a);d||(d=this.ba(a));this.j(a)||(this.i=!0);b&&(d.L=d.L||{},Object.assign(d.L,b));if(w){if(d.L){b=d.L;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ma[c])||this.j(a))&&e&&e.a&&!Bc(e)){if(Bc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),
this.a&&this.a.transformRules(e._styleAst,c),e.a.textContent=t.b(a,d.D),Dd(e);u&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=t.b(a,d.D));d.D=e._styleAst}}else this.o(a,d),d.ia&&d.ia.length&&this.I(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?r.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.I=function(a,b){var c=N(a).is,d=Qc.fetch(c,b.H,b.ia),e=d?d.styleElement:null,f=b.w;b.w=d&&d.w||this.N(c);e=J.u(a,b.H,b.w,e);u||J.o(a,b.w,f);d||
Qc.b(c,b.H,e,b.w)};k.prototype.o=function(a,b){var c=this.l(a),d=r.get(c);c=Object.create(d.H||null);var e=J.N(a,b.D);a=J.Z(d.D,a).C;Object.assign(c,e.Ua,a,e.Za);this.aa(c,b.L);J.$(c);b.H=c};k.prototype.aa=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);
else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.za=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&this.ya(c)}};k.prototype.B=function(a){for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);c&&J.m(c,this.h.H)}};k.prototype.u=function(a){var b=this,c=ka(a);S(c,function(a){u?t.u(a):t.M(a);w&&(b.c(),b.a&&b.a.transformRule(a))});w?a.textContent=R(c):this.h.D.rules.push(c)};k.prototype.ya=function(a){if(w&&
this.a){var b=ka(a);this.c();this.a.transformRules(b);a.textContent=R(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;w||(c=(r.get(a)||r.get(this.l(a))).H[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.Ca=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===t.c){c=d[e+1];break}}}c&&b.push(t.c,c);w||(c=r.get(a))&&c.w&&b.push(J.g,
c.w);la(a,b.join(" "))};k.prototype.Aa=function(a){return r.get(a)};k.prototype.flush=k.prototype.A;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Ca;k.prototype._styleInfoForNode=k.prototype.Aa;k.prototype.transformCustomStyleForDocument=
k.prototype.u;k.prototype.getStyleAst=k.prototype.Ba;k.prototype.styleAstToString=k.prototype.Da;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return u}},nativeCss:{get:function(){return w}}});var F=new k;if(window.ShadyCSS){var Rc=window.ShadyCSS.ApplyShim;var Sc=window.ShadyCSS.CustomStyleInterface}window.ShadyCSS={ScopingShim:F,prepareTemplate:function(a,b,c){F.f();F.prepareTemplate(a,b,c)},styleSubtree:function(a,b){F.f();F.styleSubtree(a,
b)},styleElement:function(a){F.f();F.styleElement(a)},styleDocument:function(a){F.f();F.styleDocument(a)},getComputedStyleValue:function(a,b){return F.getComputedStyleValue(a,b)},nativeCss:w,nativeShadow:u};Rc&&(window.ShadyCSS.ApplyShim=Rc);Sc&&(window.ShadyCSS.CustomStyleInterface=Sc);var Za=window.document;window.WebComponents=window.WebComponents||{};"loading"!==Za.readyState?Dc():Za.addEventListener("readystatechange",Ec)})();}).call(this);
//# sourceMappingURL=webcomponents-sd-ce.js.map

File diff suppressed because one or more lines are too long

2617
yarn.lock

File diff suppressed because it is too large Load Diff