@webcomponents/webcomponentsjs
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -13,14 +13,3 @@ /** | ||
*/ | ||
var require; | ||
var global; | ||
var ES6Promise; | ||
var process; | ||
var define; | ||
var module; | ||
var exports; | ||
var ShadyDOM; | ||
var WebComponents; | ||
/** @type !Function */ | ||
Promise.cast; | ||
var WebComponents; |
@@ -75,3 +75,3 @@ /** | ||
'src/*.js', | ||
'node_modules/es6-promise/lib/es6-promise/**/*.js', | ||
'node_modules/promise-polyfill/src/*.js', | ||
'node_modules/@webcomponents/**/*.js', | ||
@@ -78,0 +78,0 @@ '!node_modules/@webcomponents/*/externs/*.js', |
{ | ||
"name": "@webcomponents/webcomponentsjs", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Web Components Polyfills", | ||
@@ -32,11 +32,10 @@ "main": "webcomponents-lite.js", | ||
"@webcomponents/html-imports": "^1.2.0", | ||
"@webcomponents/shadycss": "^1.4.0", | ||
"@webcomponents/shadydom": "^1.1.3", | ||
"@webcomponents/template": "^1.3.1", | ||
"@webcomponents/shadycss": "^1.5.0", | ||
"@webcomponents/shadydom": "^1.2.0", | ||
"@webcomponents/template": "^1.4.0", | ||
"@webcomponents/webcomponents-platform": "^1.0.0", | ||
"babel-preset-minify": "^0.2.0", | ||
"del": "^3.0.0", | ||
"es6-promise": "4.1.x", | ||
"eslint": "^4.19.1", | ||
"google-closure-compiler": "^20171203.0.0", | ||
"google-closure-compiler": "^20180805.0.0", | ||
"gulp": "^3.8.8", | ||
@@ -47,2 +46,3 @@ "gulp-add-src": "^0.2.0", | ||
"gulp-sourcemaps": "^2.6.4", | ||
"promise-polyfill": "^8.1.0", | ||
"rollup-plugin-babel": "^2.7.1", | ||
@@ -54,3 +54,3 @@ "rollup-plugin-license": "^0.6.0", | ||
"vinyl-source-stream": "^1.1.2", | ||
"web-component-tester": "^6.6.0" | ||
"web-component-tester": "^6.8.0" | ||
}, | ||
@@ -57,0 +57,0 @@ "publishConfig": { |
@@ -11,17 +11,31 @@ /** | ||
'use strict'; | ||
import ES6Promise from '../node_modules/es6-promise/lib/es6-promise/promise.js'; | ||
import PromisePolyfill from '../node_modules/promise-polyfill/src/index.js'; | ||
/* | ||
Assign the ES6 promise polyfill to window ourselves instead of using the "auto" polyfill | ||
to work around https://github.com/webcomponents/webcomponentsjs/issues/837 | ||
*/ | ||
if (!window.Promise) { | ||
window.Promise = ES6Promise; | ||
// save Promise API | ||
ES6Promise.prototype['catch'] = ES6Promise.prototype.catch; | ||
ES6Promise.prototype['then'] = ES6Promise.prototype.then; | ||
ES6Promise['all'] = ES6Promise.all; | ||
ES6Promise['race'] = ES6Promise.race; | ||
ES6Promise['resolve'] = ES6Promise.resolve; | ||
ES6Promise['reject'] = ES6Promise.reject; | ||
window.Promise = PromisePolyfill; | ||
// save Promise API that closure renames | ||
PromisePolyfill['all'] = PromisePolyfill.all; | ||
PromisePolyfill['race'] = PromisePolyfill.race; | ||
/* eslint-enable */ | ||
// approach copied from https://github.com/Polymer/polymer/blob/v3.0.2/lib/utils/async.js | ||
const node = document.createTextNode(''); | ||
const twiddleNode = function twiddleNode() { | ||
node.textContent = node.textContent.length > 0 ? '' : 'a'; | ||
}; | ||
/** @type {!Array<function():void>} */ | ||
const callbacks = []; | ||
(new MutationObserver(() => { | ||
const len = callbacks.length; | ||
for (let i = 0; i < len; i++) { | ||
callbacks[i](); | ||
} | ||
callbacks.splice(0, len); | ||
}).observe(node, {characterData: true})); | ||
// set _immediateFn to a MutationObserver for close-to-native timing | ||
PromisePolyfill._immediateFn = (fn) => { | ||
callbacks.push(fn); | ||
twiddleNode(); | ||
}; | ||
} |
@@ -5,3 +5,17 @@ { | ||
"environmentImports": [] | ||
}, | ||
"plugins": { | ||
"local": { | ||
"browserOptions": { | ||
"chrome": [ | ||
"headless", | ||
"disable-gpu", | ||
"no-sandbox" | ||
], | ||
"firefox": [ | ||
"-headless" | ||
] | ||
} | ||
} | ||
} | ||
} |
@@ -11,28 +11,28 @@ /** | ||
(function(){'use strict';var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function g(b){var a=aa.has(b);b=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(b);return!a&&b}function l(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 n(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null} | ||
function p(b,a,d){d=void 0===d?new Set:d;for(var c=b;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;a(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)p(c,a,d);c=n(b,e);continue}else if("template"===f){c=n(b,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)p(e,a,d)}c=c.firstChild?c.firstChild:n(b,c)}}function r(b,a,d){b[a]=d};function u(){this.a=new Map;this.s=new Map;this.f=[];this.b=!1}function ba(b,a,d){b.a.set(a,d);b.s.set(d.constructor,d)}function v(b,a){b.b=!0;b.f.push(a)}function w(b,a){b.b&&p(a,function(a){return x(b,a)})}function x(b,a){if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var d=0;d<b.f.length;d++)b.f[d](a)}}function y(b,a){var d=[];p(a,function(b){return d.push(b)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state?b.connectedCallback(c):z(b,c)}} | ||
function A(b,a){var d=[];p(a,function(b){return d.push(b)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state&&b.disconnectedCallback(c)}} | ||
function B(b,a,d){d=void 0===d?{}:d;var c=d.w||new Set,e=d.i||function(a){return z(b,a)},f=[];p(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var d=a.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&"complete"===d.readyState?d.__CE_documentLoadHandled=!0:a.addEventListener("load",function(){var d=a.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);B(b,d,{w:f,i:e})}})}else f.push(a)},c);if(b.b)for(a= | ||
function p(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null} | ||
function q(b,a,d){d=void 0===d?new Set:d;for(var c=b;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;a(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)q(c,a,d);c=p(b,e);continue}else if("template"===f){c=p(b,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)q(e,a,d)}c=c.firstChild?c.firstChild:p(b,c)}}function t(b,a,d){b[a]=d};function u(){this.a=new Map;this.f=new Map;this.c=[];this.b=!1}function ba(b,a,d){b.a.set(a,d);b.f.set(d.constructor,d)}function v(b,a){b.b=!0;b.c.push(a)}function w(b,a){b.b&&q(a,function(a){return x(b,a)})}function x(b,a){if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var d=0;d<b.c.length;d++)b.c[d](a)}}function y(b,a){var d=[];q(a,function(a){return d.push(a)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state?b.connectedCallback(c):z(b,c)}} | ||
function A(b,a){var d=[];q(a,function(a){return d.push(a)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state&&b.disconnectedCallback(c)}} | ||
function B(b,a,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.h||function(a){return z(b,a)},f=[];q(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var d=a.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&"complete"===d.readyState?d.__CE_documentLoadHandled=!0:a.addEventListener("load",function(){var d=a.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);B(b,d,{u:f,h:e})}})}else f.push(a)},c);if(b.b)for(a= | ||
0;a<f.length;a++)x(b,f[a]);for(a=0;a<f.length;a++)e(f[a])} | ||
function z(b,a){if(void 0===a.__CE_state){var d=a.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=b.a.get(a.localName)){d.constructionStack.push(a);var c=d.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop()}}catch(t){throw a.__CE_state=2,t;}a.__CE_state=1;a.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=d[c], | ||
function z(b,a){if(void 0===a.__CE_state){var d=a.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=b.a.get(a.localName)){d.constructionStack.push(a);var c=d.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop()}}catch(m){throw a.__CE_state=2,m;}a.__CE_state=1;a.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=d[c], | ||
f=a.getAttribute(e);null!==f&&b.attributeChangedCallback(a,e,null,f,null)}l(a)&&b.connectedCallback(a)}}}u.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};u.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)}; | ||
u.prototype.attributeChangedCallback=function(b,a,d,c,e){var f=b.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(a)&&f.attributeChangedCallback.call(b,a,d,c,e)};function C(b){var a=document;this.c=b;this.a=a;this.b=void 0;B(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function D(b){b.b&&b.b.disconnect()}C.prototype.f=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||D(this);for(a=0;a<b.length;a++)for(var d=b[a].addedNodes,c=0;c<d.length;c++)B(this.c,d[c])};function ca(){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){if(b.a)throw Error("Already resolved.");b.a=void 0;b.b&&b.b(void 0)};function F(b){this.j=!1;this.c=b;this.o=new Map;this.l=function(b){return b()};this.g=!1;this.m=[];this.u=new C(b)} | ||
F.prototype.define=function(b,a){var d=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!g(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(this.c.a.get(b))throw Error("A custom element with name '"+b+"' has already been defined.");if(this.j)throw Error("A custom element is already being defined.");this.j=!0;try{var c=function(b){var a=e[b];if(void 0!==a&&!(a instanceof Function))throw Error("The '"+b+"' callback must be a function."); | ||
return a},e=a.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var t=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var m=a.observedAttributes||[]}catch(q){return}finally{this.j=!1}a={localName:b,constructor:a,connectedCallback:f,disconnectedCallback:t,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:m,constructionStack:[]};ba(this.c,b,a);this.m.push(a); | ||
this.g||(this.g=!0,this.l(function(){return da(d)}))};F.prototype.i=function(b){B(this.c,b)};function da(b){if(!1!==b.g){b.g=!1;for(var a=b.m,d=[],c=new Map,e=0;e<a.length;e++)c.set(a[e].localName,[]);B(b.c,document,{i:function(a){if(void 0===a.__CE_state){var e=a.localName,f=c.get(e);f?f.push(a):b.c.a.get(e)&&d.push(a)}}});for(e=0;e<d.length;e++)z(b.c,d[e]);for(;0<a.length;){var f=a.shift();e=f.localName;f=c.get(f.localName);for(var t=0;t<f.length;t++)z(b.c,f[t]);(e=b.o.get(e))&&E(e)}}} | ||
F.prototype.get=function(b){if(b=this.c.a.get(b))return b.constructor};F.prototype.whenDefined=function(b){if(!g(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.o.get(b);if(a)return a.f;a=new ca;this.o.set(b,a);this.c.a.get(b)&&!this.m.some(function(a){return a.localName===b})&&E(a);return a.f};F.prototype.v=function(b){D(this.u);var a=this.l;this.l=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=F; | ||
F.prototype.define=F.prototype.define;F.prototype.upgrade=F.prototype.i;F.prototype.get=F.prototype.get;F.prototype.whenDefined=F.prototype.whenDefined;F.prototype.polyfillWrapFlushCallback=F.prototype.v;var G=window.Document.prototype.createElement,H=window.Document.prototype.createElementNS,ea=window.Document.prototype.importNode,fa=window.Document.prototype.prepend,ha=window.Document.prototype.append,ia=window.DocumentFragment.prototype.prepend,ja=window.DocumentFragment.prototype.append,I=window.Node.prototype.cloneNode,J=window.Node.prototype.appendChild,K=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,N=Object.getOwnPropertyDescriptor(window.Node.prototype, | ||
u.prototype.attributeChangedCallback=function(b,a,d,c,e){var f=b.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(a)&&f.attributeChangedCallback.call(b,a,d,c,e)};function C(b){var a=document;this.c=b;this.a=a;this.b=void 0;B(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function D(b){b.b&&b.b.disconnect()}C.prototype.f=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||D(this);for(a=0;a<b.length;a++)for(var d=b[a].addedNodes,c=0;c<d.length;c++)B(this.c,d[c])};function ca(){var b=this;this.b=this.a=void 0;this.c=new Promise(function(a){b.b=a;b.a&&a(b.a)})}function E(b){if(b.a)throw Error("Already resolved.");b.a=void 0;b.b&&b.b(void 0)};function F(b){this.c=!1;this.a=b;this.j=new Map;this.f=function(a){return a()};this.b=!1;this.i=[];this.o=new C(b)} | ||
F.prototype.l=function(b,a){var d=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!g(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(this.a.a.get(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=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function."); | ||
return b},e=a.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var m=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var n=a.observedAttributes||[]}catch(r){return}finally{this.c=!1}a={localName:b,constructor:a,connectedCallback:f,disconnectedCallback:m,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:n,constructionStack:[]};ba(this.a,b,a);this.i.push(a); | ||
this.b||(this.b=!0,this.f(function(){return da(d)}))};F.prototype.h=function(b){B(this.a,b)};function da(b){if(!1!==b.b){b.b=!1;for(var a=b.i,d=[],c=new Map,e=0;e<a.length;e++)c.set(a[e].localName,[]);B(b.a,document,{h:function(a){if(void 0===a.__CE_state){var e=a.localName,f=c.get(e);f?f.push(a):b.a.a.get(e)&&d.push(a)}}});for(e=0;e<d.length;e++)z(b.a,d[e]);for(;0<a.length;){var f=a.shift();e=f.localName;f=c.get(f.localName);for(var m=0;m<f.length;m++)z(b.a,f[m]);(e=b.j.get(e))&&E(e)}}} | ||
F.prototype.get=function(b){if(b=this.a.a.get(b))return b.constructor};F.prototype.m=function(b){if(!g(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.j.get(b);if(a)return a.c;a=new ca;this.j.set(b,a);this.a.a.get(b)&&!this.i.some(function(a){return a.localName===b})&&E(a);return a.c};F.prototype.s=function(b){D(this.o);var a=this.f;this.f=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=F;F.prototype.define=F.prototype.l; | ||
F.prototype.upgrade=F.prototype.h;F.prototype.get=F.prototype.get;F.prototype.whenDefined=F.prototype.m;F.prototype.polyfillWrapFlushCallback=F.prototype.s;var G=window.Document.prototype.createElement,H=window.Document.prototype.createElementNS,ea=window.Document.prototype.importNode,fa=window.Document.prototype.prepend,ha=window.Document.prototype.append,ia=window.DocumentFragment.prototype.prepend,ja=window.DocumentFragment.prototype.append,I=window.Node.prototype.cloneNode,J=window.Node.prototype.appendChild,K=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,N=Object.getOwnPropertyDescriptor(window.Node.prototype, | ||
"textContent"),O=window.Element.prototype.attachShadow,P=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Q=window.Element.prototype.getAttribute,R=window.Element.prototype.setAttribute,S=window.Element.prototype.removeAttribute,T=window.Element.prototype.getAttributeNS,ka=window.Element.prototype.setAttributeNS,la=window.Element.prototype.removeAttributeNS,ma=window.Element.prototype.insertAdjacentElement,na=window.Element.prototype.insertAdjacentHTML,oa=window.Element.prototype.prepend, | ||
pa=window.Element.prototype.append,U=window.Element.prototype.before,qa=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,sa=window.Element.prototype.remove,ta=window.HTMLElement,V=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ua=window.HTMLElement.prototype.insertAdjacentElement,va=window.HTMLElement.prototype.insertAdjacentHTML;var wa=new function(){};function xa(){var b=W;window.HTMLElement=function(){function a(){var a=this.constructor,c=b.s.get(a);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var e=c.constructionStack;if(0===e.length)return e=G.call(document,c.localName),Object.setPrototypeOf(e,a.prototype),e.__CE_state=1,e.__CE_definition=c,x(b,e),e;c=e.length-1;var f=e[c];if(f===wa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times."); | ||
e[c]=wa;Object.setPrototypeOf(f,a.prototype);x(b,f);return f}a.prototype=ta.prototype;Object.defineProperty(a.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:a});return a}()};function X(b,a,d){function c(a){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c-0]=arguments[c];c=[];for(var f=[],m=0;m<e.length;m++){var q=e[m];q instanceof Element&&l(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)c.push(q);else c.push(q)}a.apply(this,e);for(e=0;e<f.length;e++)A(b,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&y(b,f)}}void 0!==d.h&&(a.prepend=c(d.h));void 0!==d.append&&(a.append=c(d.append))};function ya(){var b=W;r(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var d=b.a.get(a);if(d)return new d.constructor}a=G.call(this,a);x(b,a);return a});r(Document.prototype,"importNode",function(a,d){a=ea.call(this,a,d);this.__CE_hasRegistry?B(b,a):w(b,a);return a});r(Document.prototype,"createElementNS",function(a,d){if(this.__CE_hasRegistry&&(null===a||"http://www.w3.org/1999/xhtml"===a)){var c=b.a.get(d);if(c)return new c.constructor}a=H.call(this,a,d);x(b,a);return a}); | ||
X(b,Document.prototype,{h:fa,append:ha})};function za(){var b=W;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 e=void 0;if(this.firstChild){var d=this.childNodes,k=d.length;if(0<k&&l(this)){e=Array(k);for(var h=0;h<k;h++)e[h]=d[h]}}c.set.call(this,a);if(e)for(a=0;a<e.length;a++)A(b,e[a])}}})}r(Node.prototype,"insertBefore",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes); | ||
a=K.call(this,a,c);if(l(this))for(c=0;c<e.length;c++)y(b,e[c]);return a}e=l(a);c=K.call(this,a,c);e&&A(b,a);l(this)&&y(b,a);return c});r(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=J.call(this,a);if(l(this))for(var e=0;e<c.length;e++)y(b,c[e]);return a}c=l(a);e=J.call(this,a);c&&A(b,a);l(this)&&y(b,a);return e});r(Node.prototype,"cloneNode",function(a){a=I.call(this,a);this.ownerDocument.__CE_hasRegistry?B(b,a):w(b,a); | ||
return a});r(Node.prototype,"removeChild",function(a){var c=l(a),e=L.call(this,a);c&&A(b,a);return e});r(Node.prototype,"replaceChild",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=M.call(this,a,c);if(l(this))for(A(b,c),c=0;c<e.length;c++)y(b,e[c]);return a}e=l(a);var f=M.call(this,a,c),d=l(this);d&&A(b,c);e&&A(b,a);d&&y(b,a);return f});N&&N.get?a(Node.prototype,N):v(b,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;)L.call(this,this.firstChild);J.call(this,document.createTextNode(a))}})})};function Aa(b){var a=Element.prototype;function d(a){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var m=c[h];m instanceof Element&&l(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)d.push(m);else d.push(m)}a.apply(this,c);for(c=0;c<k.length;c++)A(b,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&y(b,k)}}void 0!==U&&(a.before=d(U));void 0!==U&&(a.after=d(qa));void 0!==ra&& | ||
r(a,"replaceWith",function(a){for(var e=[],c=0;c<arguments.length;++c)e[c-0]=arguments[c];c=[];for(var d=[],k=0;k<e.length;k++){var h=e[k];h instanceof Element&&l(h)&&d.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)c.push(h);else c.push(h)}k=l(this);ra.apply(this,e);for(e=0;e<d.length;e++)A(b,d[e]);if(k)for(A(b,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&y(b,d)});void 0!==sa&&r(a,"remove",function(){var a=l(this);sa.call(this);a&&A(b,this)})};function Ba(){var b=W;function a(a,c){Object.defineProperty(a,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){var e=this,d=void 0;l(this)&&(d=[],p(this,function(a){a!==e&&d.push(a)}));c.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var t=d[f];1===t.__CE_state&&b.disconnectedCallback(t)}this.ownerDocument.__CE_hasRegistry?B(b,this):w(b,this);return a}})}function d(a,c){r(a,"insertAdjacentElement",function(a,e){var d=l(e);a=c.call(this,a,e);d&&A(b,e);l(a)&&y(b,e); | ||
return a})}function c(a,c){function e(a,e){for(var c=[];a!==e;a=a.nextSibling)c.push(a);for(e=0;e<c.length;e++)B(b,c[e])}r(a,"insertAdjacentHTML",function(a,b){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;c.call(this,a,b);e(d||this.parentNode.firstChild,this)}else if("afterbegin"===a)d=this.firstChild,c.call(this,a,b),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,c.call(this,a,b),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,c.call(this, | ||
a,b),e(this.nextSibling,d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");})}O&&r(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=O.call(this,a)});P&&P.get?a(Element.prototype,P):V&&V.get?a(HTMLElement.prototype,V):v(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return I.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,c=b?this.content:this, | ||
e=H.call(document,this.namespaceURI,this.localName);for(e.innerHTML=a;0<c.childNodes.length;)L.call(c,c.childNodes[0]);for(a=b?e.content:e;0<a.childNodes.length;)J.call(c,a.childNodes[0])}})});r(Element.prototype,"setAttribute",function(a,c){if(1!==this.__CE_state)return R.call(this,a,c);var e=Q.call(this,a);R.call(this,a,c);c=Q.call(this,a);b.attributeChangedCallback(this,a,e,c,null)});r(Element.prototype,"setAttributeNS",function(a,c,d){if(1!==this.__CE_state)return ka.call(this,a,c,d);var e=T.call(this, | ||
a,c);ka.call(this,a,c,d);d=T.call(this,a,c);b.attributeChangedCallback(this,c,e,d,a)});r(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return S.call(this,a);var c=Q.call(this,a);S.call(this,a);null!==c&&b.attributeChangedCallback(this,a,c,null,null)});r(Element.prototype,"removeAttributeNS",function(a,c){if(1!==this.__CE_state)return la.call(this,a,c);var d=T.call(this,a,c);la.call(this,a,c);var e=T.call(this,a,c);d!==e&&b.attributeChangedCallback(this,c,d,e,a)});ua?d(HTMLElement.prototype, | ||
ua):ma?d(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");va?c(HTMLElement.prototype,va):na?c(Element.prototype,na):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");X(b,Element.prototype,{h:oa,append:pa});Aa(b)};/* | ||
pa=window.Element.prototype.append,U=window.Element.prototype.before,qa=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,sa=window.Element.prototype.remove,ta=window.HTMLElement,V=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ua=window.HTMLElement.prototype.insertAdjacentElement,va=window.HTMLElement.prototype.insertAdjacentHTML;var wa=new function(){};function xa(){var b=W;window.HTMLElement=function(){function a(){var a=this.constructor,c=b.f.get(a);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var e=c.constructionStack;if(0===e.length)return e=G.call(document,c.localName),Object.setPrototypeOf(e,a.prototype),e.__CE_state=1,e.__CE_definition=c,x(b,e),e;c=e.length-1;var f=e[c];if(f===wa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times."); | ||
e[c]=wa;Object.setPrototypeOf(f,a.prototype);x(b,f);return f}a.prototype=ta.prototype;Object.defineProperty(a.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:a});return a}()};function X(b,a,d){function c(a){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],n=0;n<e.length;n++){var r=e[n];r instanceof Element&&l(r)&&f.push(r);if(r instanceof DocumentFragment)for(r=r.firstChild;r;r=r.nextSibling)c.push(r);else c.push(r)}a.apply(this,e);for(e=0;e<f.length;e++)A(b,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&y(b,f)}}void 0!==d.g&&(a.prepend=c(d.g));void 0!==d.append&&(a.append=c(d.append))};function ya(){var b=W;t(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var d=b.a.get(a);if(d)return new d.constructor}a=G.call(this,a);x(b,a);return a});t(Document.prototype,"importNode",function(a,d){a=ea.call(this,a,d);this.__CE_hasRegistry?B(b,a):w(b,a);return a});t(Document.prototype,"createElementNS",function(a,d){if(this.__CE_hasRegistry&&(null===a||"http://www.w3.org/1999/xhtml"===a)){var c=b.a.get(d);if(c)return new c.constructor}a=H.call(this,a,d);x(b,a);return a}); | ||
X(b,Document.prototype,{g:fa,append:ha})};function za(){function b(b,c){Object.defineProperty(b,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,b);else{var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h]}}c.set.call(this,b);if(d)for(b=0;b<d.length;b++)A(a,d[b])}}})}var a=W;t(Node.prototype,"insertBefore",function(b,c){if(b instanceof DocumentFragment){var e=Array.prototype.slice.apply(b.childNodes); | ||
b=K.call(this,b,c);if(l(this))for(c=0;c<e.length;c++)y(a,e[c]);return b}e=l(b);c=K.call(this,b,c);e&&A(a,b);l(this)&&y(a,b);return c});t(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=J.call(this,b);if(l(this))for(var e=0;e<c.length;e++)y(a,c[e]);return b}c=l(b);e=J.call(this,b);c&&A(a,b);l(this)&&y(a,b);return e});t(Node.prototype,"cloneNode",function(b){b=I.call(this,b);this.ownerDocument.__CE_hasRegistry?B(a,b):w(a,b); | ||
return b});t(Node.prototype,"removeChild",function(b){var c=l(b),e=L.call(this,b);c&&A(a,b);return e});t(Node.prototype,"replaceChild",function(b,c){if(b instanceof DocumentFragment){var e=Array.prototype.slice.apply(b.childNodes);b=M.call(this,b,c);if(l(this))for(A(a,c),c=0;c<e.length;c++)y(a,e[c]);return b}e=l(b);var f=M.call(this,b,c),d=l(this);d&&A(a,c);e&&A(a,b);d&&y(a,b);return f});N&&N.get?b(Node.prototype,N):v(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var b=[],a= | ||
0;a<this.childNodes.length;a++)b.push(this.childNodes[a].textContent);return b.join("")},set:function(b){for(;this.firstChild;)L.call(this,this.firstChild);J.call(this,document.createTextNode(b))}})})};function Aa(b){function a(a){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var n=c[h];n instanceof Element&&l(n)&&k.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)d.push(n);else d.push(n)}a.apply(this,c);for(c=0;c<k.length;c++)A(b,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&y(b,k)}}var d=Element.prototype;void 0!==U&&(d.before=a(U));void 0!==U&&(d.after=a(qa));void 0!==ra&& | ||
t(d,"replaceWith",function(a){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var m=[],k=0;k<c.length;k++){var h=c[k];h instanceof Element&&l(h)&&m.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)d.push(h);else d.push(h)}k=l(this);ra.apply(this,c);for(c=0;c<m.length;c++)A(b,m[c]);if(k)for(A(b,this),c=0;c<d.length;c++)m=d[c],m instanceof Element&&y(b,m)});void 0!==sa&&t(d,"remove",function(){var a=l(this);sa.call(this);a&&A(b,this)})};function Ba(){function b(a,b){Object.defineProperty(a,"innerHTML",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var d=this,e=void 0;l(this)&&(e=[],q(this,function(a){a!==d&&e.push(a)}));b.set.call(this,a);if(e)for(var f=0;f<e.length;f++){var m=e[f];1===m.__CE_state&&c.disconnectedCallback(m)}this.ownerDocument.__CE_hasRegistry?B(c,this):w(c,this);return a}})}function a(a,b){t(a,"insertAdjacentElement",function(a,d){var e=l(d);a=b.call(this,a,d);e&&A(c,d);l(a)&&y(c,d);return a})} | ||
function d(a,b){function d(a,b){for(var d=[];a!==b;a=a.nextSibling)d.push(a);for(b=0;b<d.length;b++)B(c,d[b])}t(a,"insertAdjacentHTML",function(a,c){a=a.toLowerCase();if("beforebegin"===a){var e=this.previousSibling;b.call(this,a,c);d(e||this.parentNode.firstChild,this)}else if("afterbegin"===a)e=this.firstChild,b.call(this,a,c),d(this.firstChild,e);else if("beforeend"===a)e=this.lastChild,b.call(this,a,c),d(e||this.firstChild,null);else if("afterend"===a)e=this.nextSibling,b.call(this,a,c),d(this.nextSibling, | ||
e);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");})}var c=W;O&&t(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=O.call(this,a)});P&&P.get?b(Element.prototype,P):V&&V.get?b(HTMLElement.prototype,V):v(c,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return I.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,c=b?this.content:this,d=H.call(document, | ||
this.namespaceURI,this.localName);for(d.innerHTML=a;0<c.childNodes.length;)L.call(c,c.childNodes[0]);for(a=b?d.content:d;0<a.childNodes.length;)J.call(c,a.childNodes[0])}})});t(Element.prototype,"setAttribute",function(a,b){if(1!==this.__CE_state)return R.call(this,a,b);var d=Q.call(this,a);R.call(this,a,b);b=Q.call(this,a);c.attributeChangedCallback(this,a,d,b,null)});t(Element.prototype,"setAttributeNS",function(a,b,d){if(1!==this.__CE_state)return ka.call(this,a,b,d);var e=T.call(this,a,b);ka.call(this, | ||
a,b,d);d=T.call(this,a,b);c.attributeChangedCallback(this,b,e,d,a)});t(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return S.call(this,a);var b=Q.call(this,a);S.call(this,a);null!==b&&c.attributeChangedCallback(this,a,b,null,null)});t(Element.prototype,"removeAttributeNS",function(a,b){if(1!==this.__CE_state)return la.call(this,a,b);var d=T.call(this,a,b);la.call(this,a,b);var e=T.call(this,a,b);d!==e&&c.attributeChangedCallback(this,b,d,e,a)});ua?a(HTMLElement.prototype, | ||
ua):ma?a(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");va?d(HTMLElement.prototype,va):na?d(Element.prototype,na):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");X(c,Element.prototype,{g:oa,append:pa});Aa(c)};/* | ||
@@ -46,3 +46,3 @@ Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | ||
*/ | ||
var Y=window.customElements;if(!Y||Y.forcePolyfill||"function"!=typeof Y.define||"function"!=typeof Y.get){var W=new u;xa();ya();X(W,DocumentFragment.prototype,{h:ia,append:ja});za();Ba();document.__CE_hasRegistry=!0;var customElements=new F(W);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements})};/* | ||
var Y=window.customElements;if(!Y||Y.forcePolyfill||"function"!=typeof Y.define||"function"!=typeof Y.get){var W=new u;xa();ya();X(W,DocumentFragment.prototype,{g:ia,append:ja});za();Ba();document.__CE_hasRegistry=!0;var customElements=new F(W);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements})};/* | ||
@@ -49,0 +49,0 @@ Copyright (c) 2017 The Polymer Project Authors. All rights reserved. |
@@ -19,44 +19,44 @@ /** | ||
*/ | ||
'use strict';(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(J)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=l(document, | ||
"link[rel=import]:not([import-dependency])"),c=b.length;c?r(b,function(b){return k(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 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(e){a.removeEventListener(e.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);K&&"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.K(b)});this.f.observe(document.head,{childList:!0,subtree:!0});this.loadImports(document)}function n(a){r(l(a,"template"),function(a){r(l(a.content,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"],script[type="module"]'), | ||
'use strict';(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 c(a){if(J)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=l(document, | ||
"link[rel=import]:not([import-dependency])"),c=b.length;c?r(b,function(b){return k(b,function(){0===--c&&a()})}):a()}function e(b){function a(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",a),b())}document.addEventListener("readystatechange",a);a()}function f(a){e(function(){return d(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(e){a.removeEventListener(e.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);K&&"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.c=new MutationObserver(function(b){return a.s(b)});this.c.observe(document.head,{childList:!0,subtree:!0});this.loadImports(document)}function n(a){r(l(a,"template"),function(a){r(l(a.content,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"],script[type="module"]'), | ||
function(a){var b=document.createElement("script");r(a.attributes,function(a){return b.setAttribute(a.name,a.value)});b.textContent=a.textContent;a.parentNode.replaceChild(b,a)});n(a.content)})}function l(a,b){return a.childNodes.length?a.querySelectorAll(b):Aa}function r(a,b,c){var e=a?a.length:0,d=c?-1:1;for(c=c?e-1:0;c<e&&0<=c;c+=d)b(a[c],c)}var A=document.createElement("link"),J="import"in A,Aa=A.querySelectorAll("*"),L=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript", | ||
{get:function(){return L||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var Ba=/(url\()([^)]*)(\))/g,Ca=/(@import[\s]+(?!url\())([^;]*)(;)/g,Da=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,t={I:function(a,b){a.href&&a.setAttribute("href",t.j(a.getAttribute("href"),b));a.src&&a.setAttribute("src",t.j(a.getAttribute("src"),b));if("style"===a.localName){var c=t.D(a.textContent,b,Ba);a.textContent=t.D(c,b,Ca)}},D:function(a,b,c){return a.replace(c, | ||
function(a,c,e,d){a=e.replace(/["']/g,"");b&&(a=t.j(a,b));return c+"'"+a+"'"+d})},j:function(a,b){if(void 0===t.m){t.m=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";t.m="http://a/c%20d"===c.href}catch(Wa){}}if(t.m)return(new URL(a,b)).href;c=t.F;c||(c=document.implementation.createHTMLDocument("temp"),t.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}},X={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a= | ||
{get:function(){return L||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var Ba=/(url\()([^)]*)(\))/g,Ca=/(@import[\s]+(?!url\())([^;]*)(;)/g,Da=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,t={F:function(a,b){a.href&&a.setAttribute("href",t.j(a.getAttribute("href"),b));a.src&&a.setAttribute("src",t.j(a.getAttribute("src"),b));if("style"===a.localName){var c=t.B(a.textContent,b,Ba);a.textContent=t.B(c,b,Ca)}},B:function(a,b,c){return a.replace(c, | ||
function(a,c,e,d){a=e.replace(/["']/g,"");b&&(a=t.j(a,b));return c+"'"+a+"'"+d})},j:function(a,b){if(void 0===t.m){t.m=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";t.m="http://a/c%20d"===c.href}catch(Wa){}}if(t.m)return(new URL(a,b)).href;c=t.C;c||(c=document.implementation.createHTMLDocument("temp"),t.C=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}},X={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 d=new XMLHttpRequest;d.open("GET",a,X.async);d.onload=function(){var a=d.responseURL||d.getResponseHeader("Location");a&&0===a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var e=d.response||d.responseText;304===d.status||0===d.status||200<=d.status&&300>d.status?b(e,a):c(e)};d.send()}else c("error: href must be specified")}},K=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent); | ||
g.prototype.loadImports=function(a){var b=this;r(l(a,"link[rel=import]"),function(a){return b.B(a)})};g.prototype.B=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.g(a))}else this.b++,this.a[c]="pending",X.load(c,function(a,e){a=b.L(a,e||c);b.a[c]=a;b.b--;b.loadImports(a);b.C()},function(){b.a[c]=null;b.b--;b.C()})};g.prototype.L=function(a,b){if(!a)return document.createDocumentFragment();K&&(a=a.replace(Da,function(a,b,c){return-1===a.indexOf("type=")? | ||
g.prototype.loadImports=function(a){var b=this;r(l(a,"link[rel=import]"),function(a){return b.g(a)})};g.prototype.g=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.f(a))}else this.b++,this.a[c]="pending",X.load(c,function(a,e){a=b.u(a,e||c);b.a[c]=a;b.b--;b.loadImports(a);b.h()},function(){b.a[c]=null;b.b--;b.h()})};g.prototype.u=function(a,b){if(!a)return document.createDocumentFragment();K&&(a=a.replace(Da,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,n(a);else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=t.j(c.getAttribute("href"),b),c.removeAttribute("href");var e=0;r(l(a,'link[rel=import],link[rel=stylesheet][href][type=import-disable],style:not([type]),link[rel=stylesheet][href]:not([type]),script:not([type]),script[type="application/javascript"],script[type="text/javascript"],script[type="module"]'), | ||
function(a){k(a);t.I(a,b);a.setAttribute("import-dependency","");if("script"===a.localName&&!a.src&&a.textContent){if("module"===a.type)throw Error("Inline module scripts are not supported in HTML Imports.");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.C=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,e=function(){c&& | ||
b&&(a.loadImports(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.J()))};this.N(function(){c=!0;e()});this.M(function(){b=!0;e()})}};g.prototype.flatten=function(a){var b=this;r(l(a,"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.M=function(a){function b(d){if(d<e){var f=c[d],h=document.createElement("script");f.removeAttribute("import-dependency"); | ||
r(f.attributes,function(a){return h.setAttribute(a.name,a.value)});L=h;f.parentNode.replaceChild(h,f);k(h,function(){L=null;b(d+1)})}else a()}var c=l(document,"script[import-dependency]"),e=c.length;b(0)};g.prototype.N=function(a){var b=l(document,"style[import-dependency],link[rel=stylesheet][import-dependency]"),e=b.length;if(e){var d=K&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");r(b,function(b){k(b,function(){b.removeAttribute("import-dependency");0===--e&&a()}); | ||
if(d&&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()};g.prototype.J=function(){var a=this;r(l(document,"link[rel=import]"),function(b){return a.g(b)},!0)};g.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})))};g.prototype.K=function(a){var b=this;r(a,function(a){return r(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(h(a)?b.B(a):b.loadImports(a))})})};var M=null;if(J)r(l(document,"link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)}),A=function(a){a=a.target;h(a)&&(a.__loaded=!0)},document.addEventListener("load",A,!0),document.addEventListener("error",A, | ||
!0);else{var B=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!B||B.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:B&&B.get?B.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});Object.defineProperty(HTMLLinkElement.prototype,"import",{get:function(){return this.__import||null},configurable:!0,enumerable:!0});e(function(){M=new g})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded", | ||
{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=J;a.whenReady=f;a.importForElement=c;a.loadImports=function(a){M&&M.loadImports(a)}})(window.HTMLImports=window.HTMLImports||{});var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function m(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function p(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 q(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null} | ||
function u(a,b,c){c=void 0===c?new Set:c;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)u(d,b,c);d=q(a,e);continue}else if("template"===f){d=q(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)u(e,b,c)}d=d.firstChild?d.firstChild:q(a,d)}}function v(a,b,c){a[b]=c};function w(){this.a=new Map;this.g=new Map;this.f=[];this.b=!1}function ba(a,b,c){a.a.set(b,c);a.g.set(c.constructor,c)}function x(a,b){a.b=!0;a.f.push(b)}function y(a,b){a.b&&u(b,function(b){return z(a,b)})}function z(a,b){if(a.b&&!b.__CE_patched){b.__CE_patched=!0;for(var c=0;c<a.f.length;c++)a.f[c](b)}}function C(a,b){var c=[];u(b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state?a.connectedCallback(d):D(a,d)}} | ||
function E(a,b){var c=[];u(b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state&&a.disconnectedCallback(d)}} | ||
function F(a,b,c){c=void 0===c?{}:c;var d=c.P||new Set,e=c.l||function(b){return D(a,b)},f=[];u(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var c=b.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var c=b.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set(d);f.delete(c);F(a,c,{P:f,l:e})}})}else f.push(b)},d);if(a.b)for(b= | ||
0;b<f.length;b++)z(a,f[b]);for(b=0;b<f.length;b++)e(f[b])} | ||
function D(a,b){if(void 0===b.__CE_state){var c=b.ownerDocument;if(c.defaultView||c.__CE_isImportDocument&&c.__CE_hasRegistry)if(c=a.a.get(b.localName)){c.constructionStack.push(b);var d=c.constructor;try{try{if(new d!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{c.constructionStack.pop()}}catch(k){throw b.__CE_state=2,k;}b.__CE_state=1;b.__CE_definition=c;if(c.attributeChangedCallback)for(c=c.observedAttributes,d=0;d<c.length;d++){var e=c[d], | ||
f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null)}p(b)&&a.connectedCallback(b)}}}w.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};w.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)}; | ||
w.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)};function ca(a){var b=document;this.c=a;this.a=b;this.b=void 0;F(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function da(a){a.b&&a.b.disconnect()}ca.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||da(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)F(this.c,c[d])};function ea(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function fa(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0)};function G(a){this.o=!1;this.c=a;this.v=new Map;this.s=function(a){return a()};this.h=!1;this.u=[];this.G=new ca(a)} | ||
G.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!m(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.c.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.o)throw Error("A custom element is already being defined.");this.o=!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 k=d("disconnectedCallback");var h=d("adoptedCallback");var g=d("attributeChangedCallback");var n=b.observedAttributes||[]}catch(l){return}finally{this.o=!1}b={localName:a,constructor:b,connectedCallback:f,disconnectedCallback:k,adoptedCallback:h,attributeChangedCallback:g,observedAttributes:n,constructionStack:[]};ba(this.c,a,b);this.u.push(b); | ||
this.h||(this.h=!0,this.s(function(){return ha(c)}))};G.prototype.l=function(a){F(this.c,a)};function ha(a){if(!1!==a.h){a.h=!1;for(var b=a.u,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);F(a.c,document,{l:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.c.a.get(e)&&c.push(b)}}});for(e=0;e<c.length;e++)D(a.c,c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var k=0;k<f.length;k++)D(a.c,f[k]);(e=a.v.get(e))&&fa(e)}}} | ||
G.prototype.get=function(a){if(a=this.c.a.get(a))return a.constructor};G.prototype.whenDefined=function(a){if(!m(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.v.get(a);if(b)return b.f;b=new ea;this.v.set(a,b);this.c.a.get(a)&&!this.u.some(function(b){return b.localName===a})&&fa(b);return b.f};G.prototype.O=function(a){da(this.G);var b=this.s;this.s=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=G; | ||
G.prototype.define=G.prototype.define;G.prototype.upgrade=G.prototype.l;G.prototype.get=G.prototype.get;G.prototype.whenDefined=G.prototype.whenDefined;G.prototype.polyfillWrapFlushCallback=G.prototype.O;var ia=window.Document.prototype.createElement,ja=window.Document.prototype.createElementNS,ka=window.Document.prototype.importNode,la=window.Document.prototype.prepend,ma=window.Document.prototype.append,na=window.DocumentFragment.prototype.prepend,oa=window.DocumentFragment.prototype.append,pa=window.Node.prototype.cloneNode,H=window.Node.prototype.appendChild,qa=window.Node.prototype.insertBefore,I=window.Node.prototype.removeChild,ra=window.Node.prototype.replaceChild,N=Object.getOwnPropertyDescriptor(window.Node.prototype, | ||
function(a){k(a);t.F(a,b);a.setAttribute("import-dependency","");if("script"===a.localName&&!a.src&&a.textContent){if("module"===a.type)throw Error("Inline module scripts are not supported in HTML Imports.");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.h=function(){var a=this;if(!this.b){this.c.disconnect();this.flatten(document);var b=!1,c=!1,e=function(){c&& | ||
b&&(a.loadImports(document),a.b||(a.c.observe(document.head,{childList:!0,subtree:!0}),a.o()))};this.G(function(){c=!0;e()});this.v(function(){b=!0;e()})}};g.prototype.flatten=function(a){var b=this;r(l(a,"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.v=function(a){function b(d){if(d<e){var f=c[d],h=document.createElement("script");f.removeAttribute("import-dependency"); | ||
r(f.attributes,function(a){return h.setAttribute(a.name,a.value)});L=h;f.parentNode.replaceChild(h,f);k(h,function(){L=null;b(d+1)})}else a()}var c=l(document,"script[import-dependency]"),e=c.length;b(0)};g.prototype.G=function(a){var b=l(document,"style[import-dependency],link[rel=stylesheet][import-dependency]"),e=b.length;if(e){var d=K&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");r(b,function(b){k(b,function(){b.removeAttribute("import-dependency");0===--e&&a()}); | ||
if(d&&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()};g.prototype.o=function(){var a=this;r(l(document,"link[rel=import]"),function(b){return a.f(b)},!0)};g.prototype.f=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.s=function(a){var b=this;r(a,function(a){return r(a.addedNodes,function(a){a&&a.nodeType===Node.ELEMENT_NODE&&(h(a)?b.g(a):b.loadImports(a))})})};var M=null;if(J)r(l(document,"link[rel=import]"),function(a){a.import&&"loading"===a.import.readyState||(a.__loaded=!0)}),A=function(a){a=a.target;h(a)&&(a.__loaded=!0)},document.addEventListener("load",A,!0),document.addEventListener("error",A, | ||
!0);else{var B=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!B||B.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:B&&B.get?B.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});Object.defineProperty(HTMLLinkElement.prototype,"import",{get:function(){return this.__import||null},configurable:!0,enumerable:!0});e(function(){M=new g})}f(function(){return document.dispatchEvent(a("HTMLImportsLoaded", | ||
{cancelable:!0,bubbles:!0,detail:void 0}))});b.useNative=J;b.whenReady=f;b.importForElement=c;b.loadImports=function(a){M&&M.loadImports(a)}})(window.HTMLImports=window.HTMLImports||{});var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function m(b){var a=aa.has(b);b=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(b);return!a&&b}function p(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 q(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null} | ||
function u(b,a,c){c=void 0===c?new Set:c;for(var d=b;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;a(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)u(d,a,c);d=q(b,e);continue}else if("template"===f){d=q(b,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)u(e,a,c)}d=d.firstChild?d.firstChild:q(b,d)}}function v(b,a,c){b[a]=c};function w(){this.a=new Map;this.f=new Map;this.c=[];this.b=!1}function ba(b,a,c){b.a.set(a,c);b.f.set(c.constructor,c)}function x(b,a){b.b=!0;b.c.push(a)}function y(b,a){b.b&&u(a,function(a){return z(b,a)})}function z(b,a){if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var c=0;c<b.c.length;c++)b.c[c](a)}}function C(b,a){var c=[];u(a,function(a){return c.push(a)});for(a=0;a<c.length;a++){var d=c[a];1===d.__CE_state?b.connectedCallback(d):D(b,d)}} | ||
function E(b,a){var c=[];u(a,function(a){return c.push(a)});for(a=0;a<c.length;a++){var d=c[a];1===d.__CE_state&&b.disconnectedCallback(d)}} | ||
function F(b,a,c){c=void 0===c?{}:c;var d=c.H||new Set,e=c.l||function(a){return D(b,a)},f=[];u(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var c=a.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:a.addEventListener("load",function(){var c=a.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set(d);f.delete(c);F(b,c,{H:f,l:e})}})}else f.push(a)},d);if(b.b)for(a= | ||
0;a<f.length;a++)z(b,f[a]);for(a=0;a<f.length;a++)e(f[a])} | ||
function D(b,a){if(void 0===a.__CE_state){var c=a.ownerDocument;if(c.defaultView||c.__CE_isImportDocument&&c.__CE_hasRegistry)if(c=b.a.get(a.localName)){c.constructionStack.push(a);var d=c.constructor;try{try{if(new d!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{c.constructionStack.pop()}}catch(k){throw a.__CE_state=2,k;}a.__CE_state=1;a.__CE_definition=c;if(c.attributeChangedCallback)for(c=c.observedAttributes,d=0;d<c.length;d++){var e=c[d], | ||
f=a.getAttribute(e);null!==f&&b.attributeChangedCallback(a,e,null,f,null)}p(a)&&b.connectedCallback(a)}}}w.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};w.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)}; | ||
w.prototype.attributeChangedCallback=function(b,a,c,d,e){var f=b.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(a)&&f.attributeChangedCallback.call(b,a,c,d,e)};function ca(b){var a=document;this.c=b;this.a=a;this.b=void 0;F(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function da(b){b.b&&b.b.disconnect()}ca.prototype.f=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||da(this);for(a=0;a<b.length;a++)for(var c=b[a].addedNodes,d=0;d<c.length;d++)F(this.c,c[d])};function ea(){var b=this;this.b=this.a=void 0;this.c=new Promise(function(a){b.b=a;b.a&&a(b.a)})}function fa(b){if(b.a)throw Error("Already resolved.");b.a=void 0;b.b&&b.b(void 0)};function G(b){this.c=!1;this.a=b;this.h=new Map;this.f=function(a){return a()};this.b=!1;this.g=[];this.u=new ca(b)} | ||
G.prototype.o=function(b,a){var c=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!m(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(this.a.a.get(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 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=a.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=d("connectedCallback");var k=d("disconnectedCallback");var h=d("adoptedCallback");var g=d("attributeChangedCallback");var n=a.observedAttributes||[]}catch(l){return}finally{this.c=!1}a={localName:b,constructor:a,connectedCallback:f,disconnectedCallback:k,adoptedCallback:h,attributeChangedCallback:g,observedAttributes:n,constructionStack:[]};ba(this.a,b,a);this.g.push(a); | ||
this.b||(this.b=!0,this.f(function(){return ha(c)}))};G.prototype.l=function(b){F(this.a,b)};function ha(b){if(!1!==b.b){b.b=!1;for(var a=b.g,c=[],d=new Map,e=0;e<a.length;e++)d.set(a[e].localName,[]);F(b.a,document,{l:function(a){if(void 0===a.__CE_state){var e=a.localName,f=d.get(e);f?f.push(a):b.a.a.get(e)&&c.push(a)}}});for(e=0;e<c.length;e++)D(b.a,c[e]);for(;0<a.length;){var f=a.shift();e=f.localName;f=d.get(f.localName);for(var k=0;k<f.length;k++)D(b.a,f[k]);(e=b.h.get(e))&&fa(e)}}} | ||
G.prototype.get=function(b){if(b=this.a.a.get(b))return b.constructor};G.prototype.s=function(b){if(!m(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.h.get(b);if(a)return a.c;a=new ea;this.h.set(b,a);this.a.a.get(b)&&!this.g.some(function(a){return a.localName===b})&&fa(a);return a.c};G.prototype.v=function(b){da(this.u);var a=this.f;this.f=function(c){return b(function(){return a(c)})}};window.CustomElementRegistry=G;G.prototype.define=G.prototype.o; | ||
G.prototype.upgrade=G.prototype.l;G.prototype.get=G.prototype.get;G.prototype.whenDefined=G.prototype.s;G.prototype.polyfillWrapFlushCallback=G.prototype.v;var ia=window.Document.prototype.createElement,ja=window.Document.prototype.createElementNS,ka=window.Document.prototype.importNode,la=window.Document.prototype.prepend,ma=window.Document.prototype.append,na=window.DocumentFragment.prototype.prepend,oa=window.DocumentFragment.prototype.append,pa=window.Node.prototype.cloneNode,H=window.Node.prototype.appendChild,qa=window.Node.prototype.insertBefore,I=window.Node.prototype.removeChild,ra=window.Node.prototype.replaceChild,N=Object.getOwnPropertyDescriptor(window.Node.prototype, | ||
"textContent"),sa=window.Element.prototype.attachShadow,O=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,ta=window.Element.prototype.setAttribute,ua=window.Element.prototype.removeAttribute,Q=window.Element.prototype.getAttributeNS,va=window.Element.prototype.setAttributeNS,wa=window.Element.prototype.removeAttributeNS,xa=window.Element.prototype.insertAdjacentElement,ya=window.Element.prototype.insertAdjacentHTML,za=window.Element.prototype.prepend, | ||
Ea=window.Element.prototype.append,R=window.Element.prototype.before,Fa=window.Element.prototype.after,Ga=window.Element.prototype.replaceWith,Ha=window.Element.prototype.remove,Ia=window.HTMLElement,S=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Ja=window.HTMLElement.prototype.insertAdjacentElement,Ka=window.HTMLElement.prototype.insertAdjacentHTML;var La=new function(){};function Ma(){var a=T;window.HTMLElement=function(){function b(){var b=this.constructor,d=a.g.get(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=ia.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,z(a,e),e;d=e.length-1;var f=e[d];if(f===La)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times."); | ||
e[d]=La;Object.setPrototypeOf(f,b.prototype);z(a,f);return f}b.prototype=Ia.prototype;Object.defineProperty(b.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}()};function U(a,b,c){function d(b){return function(c){for(var e=[],d=0;d<arguments.length;++d)e[d-0]=arguments[d];d=[];for(var f=[],n=0;n<e.length;n++){var l=e[n];l instanceof Element&&p(l)&&f.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)d.push(l);else d.push(l)}b.apply(this,e);for(e=0;e<f.length;e++)E(a,f[e]);if(p(this))for(e=0;e<d.length;e++)f=d[e],f instanceof Element&&C(a,f)}}void 0!==c.i&&(b.prepend=d(c.i));void 0!==c.append&&(b.append=d(c.append))};function Na(){var a=T;v(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.a.get(b);if(c)return new c.constructor}b=ia.call(this,b);z(a,b);return b});v(Document.prototype,"importNode",function(b,c){b=ka.call(this,b,c);this.__CE_hasRegistry?F(a,b):y(a,b);return b});v(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.a.get(c);if(d)return new d.constructor}b=ja.call(this,b,c);z(a,b);return b}); | ||
U(a,Document.prototype,{i:la,append:ma})};function Oa(){var a=T;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&&p(this)){c=Array(h);for(var g=0;g<h;g++)c[g]=e[g]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)E(a,c[b])}}})}v(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes); | ||
Ea=window.Element.prototype.append,R=window.Element.prototype.before,Fa=window.Element.prototype.after,Ga=window.Element.prototype.replaceWith,Ha=window.Element.prototype.remove,Ia=window.HTMLElement,S=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Ja=window.HTMLElement.prototype.insertAdjacentElement,Ka=window.HTMLElement.prototype.insertAdjacentHTML;var La=new function(){};function Ma(){var b=T;window.HTMLElement=function(){function a(){var a=this.constructor,d=b.f.get(a);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=ia.call(document,d.localName),Object.setPrototypeOf(e,a.prototype),e.__CE_state=1,e.__CE_definition=d,z(b,e),e;d=e.length-1;var f=e[d];if(f===La)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times."); | ||
e[d]=La;Object.setPrototypeOf(f,a.prototype);z(b,f);return f}a.prototype=Ia.prototype;Object.defineProperty(a.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:a});return a}()};function U(b,a,c){function d(a){return function(c){for(var e=[],d=0;d<arguments.length;++d)e[d]=arguments[d];d=[];for(var f=[],n=0;n<e.length;n++){var l=e[n];l instanceof Element&&p(l)&&f.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)d.push(l);else d.push(l)}a.apply(this,e);for(e=0;e<f.length;e++)E(b,f[e]);if(p(this))for(e=0;e<d.length;e++)f=d[e],f instanceof Element&&C(b,f)}}void 0!==c.i&&(a.prepend=d(c.i));void 0!==c.append&&(a.append=d(c.append))};function Na(){var b=T;v(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var c=b.a.get(a);if(c)return new c.constructor}a=ia.call(this,a);z(b,a);return a});v(Document.prototype,"importNode",function(a,c){a=ka.call(this,a,c);this.__CE_hasRegistry?F(b,a):y(b,a);return a});v(Document.prototype,"createElementNS",function(a,c){if(this.__CE_hasRegistry&&(null===a||"http://www.w3.org/1999/xhtml"===a)){var d=b.a.get(c);if(d)return new d.constructor}a=ja.call(this,a,c);z(b,a);return a}); | ||
U(b,Document.prototype,{i:la,append:ma})};function Oa(){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&&p(this)){c=Array(h);for(var g=0;g<h;g++)c[g]=e[g]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)E(a,c[b])}}})}var a=T;v(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes); | ||
b=qa.call(this,b,d);if(p(this))for(d=0;d<c.length;d++)C(a,c[d]);return b}c=p(b);d=qa.call(this,b,d);c&&E(a,b);p(this)&&C(a,b);return d});v(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=H.call(this,b);if(p(this))for(var e=0;e<c.length;e++)C(a,c[e]);return b}c=p(b);e=H.call(this,b);c&&E(a,b);p(this)&&C(a,b);return e});v(Node.prototype,"cloneNode",function(b){b=pa.call(this,b);this.ownerDocument.__CE_hasRegistry?F(a,b):y(a, | ||
b);return b});v(Node.prototype,"removeChild",function(b){var c=p(b),e=I.call(this,b);c&&E(a,b);return e});v(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ra.call(this,b,d);if(p(this))for(E(a,d),d=0;d<c.length;d++)C(a,c[d]);return b}c=p(b);var f=ra.call(this,b,d),k=p(this);k&&E(a,d);c&&E(a,b);k&&C(a,b);return f});N&&N.get?b(Node.prototype,N):x(a,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;)I.call(this,this.firstChild);H.call(this,document.createTextNode(a))}})})};function Pa(a){var b=Element.prototype;function c(b){return function(c){for(var e=[],d=0;d<arguments.length;++d)e[d-0]=arguments[d];d=[];for(var h=[],g=0;g<e.length;g++){var n=e[g];n instanceof Element&&p(n)&&h.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)d.push(n);else d.push(n)}b.apply(this,e);for(e=0;e<h.length;e++)E(a,h[e]);if(p(this))for(e=0;e<d.length;e++)h=d[e],h instanceof Element&&C(a,h)}}void 0!==R&&(b.before=c(R));void 0!==R&&(b.after=c(Fa));void 0!==Ga&& | ||
v(b,"replaceWith",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var g=c[h];g instanceof Element&&p(g)&&k.push(g);if(g instanceof DocumentFragment)for(g=g.firstChild;g;g=g.nextSibling)d.push(g);else d.push(g)}h=p(this);Ga.apply(this,c);for(c=0;c<k.length;c++)E(a,k[c]);if(h)for(E(a,this),c=0;c<d.length;c++)k=d[c],k instanceof Element&&C(a,k)});void 0!==Ha&&v(b,"remove",function(){var b=p(this);Ha.call(this);b&&E(a,this)})};function Qa(){var a=T;function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var e=this,d=void 0;p(this)&&(d=[],u(this,function(a){a!==e&&d.push(a)}));c.set.call(this,b);if(d)for(var f=0;f<d.length;f++){var k=d[f];1===k.__CE_state&&a.disconnectedCallback(k)}this.ownerDocument.__CE_hasRegistry?F(a,this):y(a,this);return b}})}function c(b,c){v(b,"insertAdjacentElement",function(b,e){var d=p(e);b=c.call(this,b,e);d&&E(a,e);p(b)&&C(a,e); | ||
return b})}function d(b,c){function e(b,c){for(var e=[];b!==c;b=b.nextSibling)e.push(b);for(c=0;c<e.length;c++)F(a,e[c])}v(b,"insertAdjacentHTML",function(a,b){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;c.call(this,a,b);e(d||this.parentNode.firstChild,this)}else if("afterbegin"===a)d=this.firstChild,c.call(this,a,b),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,c.call(this,a,b),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,c.call(this, | ||
a,b),e(this.nextSibling,d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");})}sa&&v(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=sa.call(this,a)});O&&O.get?b(Element.prototype,O):S&&S.get?b(HTMLElement.prototype,S):x(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return pa.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,c=b?this.content: | ||
this,e=ja.call(document,this.namespaceURI,this.localName);for(e.innerHTML=a;0<c.childNodes.length;)I.call(c,c.childNodes[0]);for(a=b?e.content:e;0<a.childNodes.length;)H.call(c,a.childNodes[0])}})});v(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return ta.call(this,b,c);var e=P.call(this,b);ta.call(this,b,c);c=P.call(this,b);a.attributeChangedCallback(this,b,e,c,null)});v(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return va.call(this,b,c,d); | ||
var e=Q.call(this,b,c);va.call(this,b,c,d);d=Q.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});v(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return ua.call(this,b);var c=P.call(this,b);ua.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});v(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return wa.call(this,b,c);var d=Q.call(this,b,c);wa.call(this,b,c);var e=Q.call(this,b,c);d!==e&&a.attributeChangedCallback(this, | ||
c,d,e,b)});Ja?c(HTMLElement.prototype,Ja):xa?c(Element.prototype,xa):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");Ka?d(HTMLElement.prototype,Ka):ya?d(Element.prototype,ya):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");U(a,Element.prototype,{i:za,append:Ea});Pa(a)};var V=window.customElements;if(!V||V.forcePolyfill||"function"!=typeof V.define||"function"!=typeof V.get){var T=new w;Ma();Na();U(T,DocumentFragment.prototype,{i:na,append:oa});Oa();Qa();document.__CE_hasRegistry=!0;var customElements=new G(T);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements})};/* | ||
[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)I.call(this,this.firstChild);H.call(this,document.createTextNode(a))}})})};function Pa(b){function a(a){return function(c){for(var e=[],d=0;d<arguments.length;++d)e[d]=arguments[d];d=[];for(var h=[],g=0;g<e.length;g++){var n=e[g];n instanceof Element&&p(n)&&h.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)d.push(n);else d.push(n)}a.apply(this,e);for(e=0;e<h.length;e++)E(b,h[e]);if(p(this))for(e=0;e<d.length;e++)h=d[e],h instanceof Element&&C(b,h)}}var c=Element.prototype;void 0!==R&&(c.before=a(R));void 0!==R&&(c.after=a(Fa));void 0!==Ga&& | ||
v(c,"replaceWith",function(a){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var g=c[h];g instanceof Element&&p(g)&&k.push(g);if(g instanceof DocumentFragment)for(g=g.firstChild;g;g=g.nextSibling)d.push(g);else d.push(g)}h=p(this);Ga.apply(this,c);for(c=0;c<k.length;c++)E(b,k[c]);if(h)for(E(b,this),c=0;c<d.length;c++)k=d[c],k instanceof Element&&C(b,k)});void 0!==Ha&&v(c,"remove",function(){var a=p(this);Ha.call(this);a&&E(b,this)})};function Qa(){function b(a,b){Object.defineProperty(a,"innerHTML",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var c=this,e=void 0;p(this)&&(e=[],u(this,function(a){a!==c&&e.push(a)}));b.set.call(this,a);if(e)for(var f=0;f<e.length;f++){var k=e[f];1===k.__CE_state&&d.disconnectedCallback(k)}this.ownerDocument.__CE_hasRegistry?F(d,this):y(d,this);return a}})}function a(a,b){v(a,"insertAdjacentElement",function(a,c){var e=p(c);a=b.call(this,a,c);e&&E(d,c);p(a)&&C(d,c);return a})} | ||
function c(a,b){function c(a,b){for(var c=[];a!==b;a=a.nextSibling)c.push(a);for(b=0;b<c.length;b++)F(d,c[b])}v(a,"insertAdjacentHTML",function(a,e){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;b.call(this,a,e);c(d||this.parentNode.firstChild,this)}else if("afterbegin"===a)d=this.firstChild,b.call(this,a,e),c(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,b.call(this,a,e),c(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,b.call(this,a,e),c(this.nextSibling, | ||
d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");})}var d=T;sa&&v(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=sa.call(this,a)});O&&O.get?b(Element.prototype,O):S&&S.get?b(HTMLElement.prototype,S):x(d,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return pa.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,c=b?this.content:this,d=ja.call(document, | ||
this.namespaceURI,this.localName);for(d.innerHTML=a;0<c.childNodes.length;)I.call(c,c.childNodes[0]);for(a=b?d.content:d;0<a.childNodes.length;)H.call(c,a.childNodes[0])}})});v(Element.prototype,"setAttribute",function(a,b){if(1!==this.__CE_state)return ta.call(this,a,b);var c=P.call(this,a);ta.call(this,a,b);b=P.call(this,a);d.attributeChangedCallback(this,a,c,b,null)});v(Element.prototype,"setAttributeNS",function(a,b,c){if(1!==this.__CE_state)return va.call(this,a,b,c);var e=Q.call(this,a,b);va.call(this, | ||
a,b,c);c=Q.call(this,a,b);d.attributeChangedCallback(this,b,e,c,a)});v(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return ua.call(this,a);var b=P.call(this,a);ua.call(this,a);null!==b&&d.attributeChangedCallback(this,a,b,null,null)});v(Element.prototype,"removeAttributeNS",function(a,b){if(1!==this.__CE_state)return wa.call(this,a,b);var c=Q.call(this,a,b);wa.call(this,a,b);var e=Q.call(this,a,b);c!==e&&d.attributeChangedCallback(this,b,c,e,a)});Ja?a(HTMLElement.prototype, | ||
Ja):xa?a(Element.prototype,xa):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");Ka?c(HTMLElement.prototype,Ka):ya?c(Element.prototype,ya):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");U(d,Element.prototype,{i:za,append:Ea});Pa(d)};var V=window.customElements;if(!V||V.forcePolyfill||"function"!=typeof V.define||"function"!=typeof V.get){var T=new w;Ma();Na();U(T,DocumentFragment.prototype,{i:na,append:oa});Oa();Qa();document.__CE_hasRegistry=!0;var customElements=new G(T);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements})};/* | ||
@@ -70,3 +70,3 @@ Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | ||
*/ | ||
var W=window.customElements,Y=window.HTMLImports,Ra=window.HTMLTemplateElement;window.WebComponents=window.WebComponents||{};if(W&&W.polyfillWrapFlushCallback){var Z,Sa=function(){if(Z){Ra.H&&Ra.H(window.document);var a=Z;Z=null;a();return!0}},Ta=Y.whenReady;W.polyfillWrapFlushCallback(function(a){Z=a;Ta(Sa)});Y.whenReady=function(a){Ta(function(){Sa()?Y.whenReady(a):a()})}} | ||
var W=window.customElements,Y=window.HTMLImports,Ra=window.HTMLTemplateElement;window.WebComponents=window.WebComponents||{};if(W&&W.polyfillWrapFlushCallback){var Z,Sa=function(){if(Z){Ra.D&&Ra.D(window.document);var b=Z;Z=null;b();return!0}},Ta=Y.whenReady;W.polyfillWrapFlushCallback(function(b){Z=b;Ta(Sa)});Y.whenReady=function(b){Ta(function(){Sa()?Y.whenReady(b):b()})}} | ||
Y.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var Ua=document.createElement("style");Ua.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Va=document.querySelector("head");Va.insertBefore(Ua,Va.firstChild);/* | ||
@@ -73,0 +73,0 @@ |
@@ -19,77 +19,81 @@ /** | ||
*/ | ||
'use strict';var m,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},q="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function ba(){ba=function(){};q.Symbol||(q.Symbol=ca)}var ca=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(); | ||
function da(){ba();var a=q.Symbol.iterator;a||(a=q.Symbol.iterator=q.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(this)}});da=function(){}}function ea(a){var b=0;return fa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function fa(a){da();a={next:a};a[q.Symbol.iterator]=function(){return this};return a}function ha(a){da();ba();da();var b=a[Symbol.iterator];return b?b.call(a):ea(a)} | ||
function ia(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}function ja(){this.ea=this.root=null;this.N=!1;this.v=this.J=this.U=this.assignedSlot=this.assignedNodes=this.A=null;this.childNodes=this.nextSibling=this.previousSibling=this.lastChild=this.firstChild=this.parentNode=this.D=void 0;this.ia=this.aa=!1;this.I={}}ja.prototype.toJSON=function(){return{}};function r(a){a.S||(a.S=new ja);return a.S}function t(a){return a&&a.S};var u=window.ShadyDOM||{};u.ta=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ka=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");u.m=!!(ka&&ka.configurable&&ka.get);u.W=u.force||!u.ta;var la=navigator.userAgent.match("Trident"),ma=navigator.userAgent.match("Edge");void 0===u.ga&&(u.ga=u.m&&(la||ma));function v(a){return(a=t(a))&&void 0!==a.firstChild}function w(a){return"ShadyRoot"===a.na}function x(a){a=a.getRootNode();if(w(a))return a} | ||
var y=Element.prototype,na=y.matches||y.matchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||y.webkitMatchesSelector;function oa(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 qa(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)oa(a,c[d]);return a}function ra(a,b){for(var c in b)a[c]=b[c]} | ||
var sa=document.createTextNode(""),ta=0,ua=[];(new MutationObserver(function(){for(;ua.length;)try{ua.shift()()}catch(a){throw sa.textContent=ta++,a;}})).observe(sa,{characterData:!0});function va(a){ua.push(a);sa.textContent=ta++}var wa=!!document.contains;function xa(a,b){for(;b;){if(b==a)return!0;b=b.parentNode}return!1} | ||
function ya(a){for(var b=a.length-1;0<=b;b--){var c=a[b],d=c.getAttribute("id")||c.getAttribute("name");d&&"length"!==d&&isNaN(d)&&(a[d]=c)}a.item=function(b){return a[b]};a.namedItem=function(b){if("length"!==b&&isNaN(b)&&a[b])return a[b];for(var c=ha(a),d=c.next();!d.done;d=c.next())if(d=d.value,(d.getAttribute("id")||d.getAttribute("name"))==b)return d;return null};return a};var za=[],Aa;function Ba(a){Aa||(Aa=!0,va(Ca));za.push(a)}function Ca(){Aa=!1;for(var a=!!za.length;za.length;)za.shift()();return a}Ca.list=za;function Da(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.M=new Set}function Ea(a){a.a||(a.a=!0,va(function(){Fa(a)}))}function Fa(a){if(a.a){a.a=!1;var b=a.takeRecords();b.length&&a.M.forEach(function(a){a(b)})}}Da.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[]}; | ||
function Ga(a,b){var c=r(a);c.A||(c.A=new Da);c.A.M.add(b);var d=c.A;return{ma:b,pa:d,oa:a,takeRecords:function(){return d.takeRecords()}}}function Ha(a){var b=a&&a.pa;b&&(b.M.delete(a.ma),b.M.size||(r(a.oa).A=null))} | ||
function Ia(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})};var z={},Ja=Element.prototype.insertBefore,Ka=Element.prototype.replaceChild,La=Element.prototype.removeChild,Ma=Element.prototype.setAttribute,Na=Element.prototype.removeAttribute,Oa=Element.prototype.cloneNode,Pa=Document.prototype.importNode,Qa=Element.prototype.addEventListener,Ra=Element.prototype.removeEventListener,Sa=Window.prototype.addEventListener,Ta=Window.prototype.removeEventListener,Ua=Element.prototype.dispatchEvent,Va=Node.prototype.contains||HTMLElement.prototype.contains,Wa=Document.prototype.getElementById, | ||
Xa=Element.prototype.querySelector,Ya=DocumentFragment.prototype.querySelector,Za=Document.prototype.querySelector,$a=Element.prototype.querySelectorAll,ab=DocumentFragment.prototype.querySelectorAll,bb=Document.prototype.querySelectorAll;z.appendChild=Element.prototype.appendChild;z.insertBefore=Ja;z.replaceChild=Ka;z.removeChild=La;z.setAttribute=Ma;z.removeAttribute=Na;z.cloneNode=Oa;z.importNode=Pa;z.addEventListener=Qa;z.removeEventListener=Ra;z.za=Sa;z.Aa=Ta;z.dispatchEvent=Ua;z.contains=Va; | ||
z.getElementById=Wa;z.Ia=Xa;z.La=Ya;z.Ga=Za;z.querySelector=function(a){switch(this.nodeType){case Node.ELEMENT_NODE:return Xa.call(this,a);case Node.DOCUMENT_NODE:return Za.call(this,a);default:return Ya.call(this,a)}};z.Ja=$a;z.Ma=ab;z.Ha=bb;z.querySelectorAll=function(a){switch(this.nodeType){case Node.ELEMENT_NODE:return $a.call(this,a);case Node.DOCUMENT_NODE:return bb.call(this,a);default:return ab.call(this,a)}};var cb=/[&\u00A0"]/g,db=/[&\u00A0<>]/g;function eb(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function fb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var gb=fb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),hb=fb("style script xmp iframe noembed noframes plaintext noscript".split(" ")); | ||
function ib(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 k=a;var l=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var n=h.localName,p="<"+n,K=h.attributes,J=0;k=K[J];J++)p+=" "+k.name+'="'+k.value.replace(cb,eb)+'"';p+=">";h=gb[n]?p:p+ib(h,l)+"</"+n+">";break a;case Node.TEXT_NODE:h=h.data;h=k&&hb[k.localName]?h:h.replace(db,eb);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};var A={},B=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),C=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function jb(a){var b=[];B.currentNode=a;for(a=B.firstChild();a;)b.push(a),a=B.nextSibling();return b}A.parentNode=function(a){B.currentNode=a;return B.parentNode()};A.firstChild=function(a){B.currentNode=a;return B.firstChild()};A.lastChild=function(a){B.currentNode=a;return B.lastChild()};A.previousSibling=function(a){B.currentNode=a;return B.previousSibling()}; | ||
A.nextSibling=function(a){B.currentNode=a;return B.nextSibling()};A.childNodes=jb;A.parentElement=function(a){C.currentNode=a;return C.parentNode()};A.firstElementChild=function(a){C.currentNode=a;return C.firstChild()};A.lastElementChild=function(a){C.currentNode=a;return C.lastChild()};A.previousElementSibling=function(a){C.currentNode=a;return C.previousSibling()};A.nextElementSibling=function(a){C.currentNode=a;return C.nextSibling()}; | ||
A.children=function(a){var b=[];C.currentNode=a;for(a=C.firstChild();a;)b.push(a),a=C.nextSibling();return ya(b)};A.innerHTML=function(a){return ib(a,function(a){return jb(a)})};A.textContent=function(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}};var D={},kb=u.m,lb=[Node.prototype,Element.prototype,HTMLElement.prototype];function E(a){var b;a:{for(b=0;b<lb.length;b++){var c=lb[b];if(c.hasOwnProperty(a)){b=c;break a}}b=void 0}if(!b)throw Error("Could not find descriptor for "+a);return Object.getOwnPropertyDescriptor(b,a)} | ||
var F=kb?{parentNode:E("parentNode"),firstChild:E("firstChild"),lastChild:E("lastChild"),previousSibling:E("previousSibling"),nextSibling:E("nextSibling"),childNodes:E("childNodes"),parentElement:E("parentElement"),previousElementSibling:E("previousElementSibling"),nextElementSibling:E("nextElementSibling"),innerHTML:E("innerHTML"),textContent:E("textContent"),firstElementChild:E("firstElementChild"),lastElementChild:E("lastElementChild"),children:E("children")}:{},mb=kb?{firstElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype, | ||
"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"children")}:{},nb=kb?{firstElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(Document.prototype,"children")}:{};D.da=F;D.Ka=mb;D.Fa=nb;D.parentNode=function(a){return F.parentNode.get.call(a)}; | ||
D.firstChild=function(a){return F.firstChild.get.call(a)};D.lastChild=function(a){return F.lastChild.get.call(a)};D.previousSibling=function(a){return F.previousSibling.get.call(a)};D.nextSibling=function(a){return F.nextSibling.get.call(a)};D.childNodes=function(a){return Array.prototype.slice.call(F.childNodes.get.call(a))};D.parentElement=function(a){return F.parentElement.get.call(a)};D.previousElementSibling=function(a){return F.previousElementSibling.get.call(a)};D.nextElementSibling=function(a){return F.nextElementSibling.get.call(a)}; | ||
D.innerHTML=function(a){return F.innerHTML.get.call(a)};D.textContent=function(a){return F.textContent.get.call(a)};D.children=function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return mb.children.get.call(a);case Node.DOCUMENT_NODE:return nb.children.get.call(a);default:return F.children.get.call(a)}}; | ||
D.firstElementChild=function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return mb.firstElementChild.get.call(a);case Node.DOCUMENT_NODE:return nb.firstElementChild.get.call(a);default:return F.firstElementChild.get.call(a)}};D.lastElementChild=function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return mb.lastElementChild.get.call(a);case Node.DOCUMENT_NODE:return nb.lastElementChild.get.call(a);default:return F.lastElementChild.get.call(a)}};var G=u.ga?D:A;function ob(a){for(;a.firstChild;)a.removeChild(a.firstChild)} | ||
var pb=u.m,qb=document.implementation.createHTMLDocument("inert"),rb=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),sb=rb&&rb.get,tb=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),ub={parentElement:{get:function(){var a=t(this);(a=a&&a.parentNode)&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:G.parentElement(this)},configurable:!0},parentNode:{get:function(){var a=t(this);a=a&&a.parentNode;return void 0!==a?a:G.parentNode(this)},configurable:!0}, | ||
nextSibling:{get:function(){var a=t(this);a=a&&a.nextSibling;return void 0!==a?a:G.nextSibling(this)},configurable:!0},previousSibling:{get:function(){var a=t(this);a=a&&a.previousSibling;return void 0!==a?a:G.previousSibling(this)},configurable:!0},nextElementSibling:{get:function(){var a=t(this);if(a&&void 0!==a.nextSibling){for(a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return G.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){var a= | ||
t(this);if(a&&void 0!==a.previousSibling){for(a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return G.previousElementSibling(this)},configurable:!0}},vb={className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0}},wb={childNodes:{get:function(){if(v(this)){var a=t(this);if(!a.childNodes){a.childNodes=[];for(var b=this.firstChild;b;b=b.nextSibling)a.childNodes.push(b)}var c=a.childNodes}else c= | ||
G.childNodes(this);c.item=function(a){return c[a]};return c},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=t(this);a=a&&a.firstChild;return void 0!==a?a:G.firstChild(this)},configurable:!0},lastChild:{get:function(){var a=t(this);a=a&&a.lastChild;return void 0!==a?a:G.lastChild(this)},configurable:!0},textContent:{get:function(){if(v(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 G.textContent(this)},set:function(a){if("undefined"===typeof a||null===a)a="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!v(this)&&pb){var b=this.firstChild;(b!=this.lastChild||b&&b.nodeType!=Node.TEXT_NODE)&&ob(this);D.da.textContent.set.call(this,a)}else ob(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){var a= | ||
t(this);if(a&&void 0!==a.firstChild){for(a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return G.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){var a=t(this);if(a&&void 0!==a.lastChild){for(a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return G.lastElementChild(this)},configurable:!0},children:{get:function(){return v(this)?ya(Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE})): | ||
G.children(this)},configurable:!0},innerHTML:{get:function(){return v(this)?ib("template"===this.localName?this.content:this):G.innerHTML(this)},set:function(a){var b="template"===this.localName?this.content:this;ob(b);var c=this.localName||"div";c=this.namespaceURI&&this.namespaceURI!==qb.namespaceURI?qb.createElementNS(this.namespaceURI,c):qb.createElement(c);pb?D.da.innerHTML.set.call(c,a):c.innerHTML=a;for(a="template"===this.localName?c.content:c;a.firstChild;)b.appendChild(a.firstChild)},configurable:!0}}, | ||
xb={shadowRoot:{get:function(){var a=t(this);return a&&a.ea||null},configurable:!0}},yb={activeElement:{get:function(){var a=tb&&tb.get?tb.get.call(document):u.m?void 0:document.activeElement;if(a&&a.nodeType){var b=!!w(this);if(this===document||b&&this.host!==a&&z.contains.call(this.host,a)){for(b=x(a);b&&b!==this;)a=b.host,b=x(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}}; | ||
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 I(a){H(a,ub);H(a,vb);H(a,wb);H(a,yb)} | ||
function zb(){var a=Ab.prototype;a.__proto__=DocumentFragment.prototype;H(a,ub,!0);H(a,wb,!0);H(a,yb,!0);Object.defineProperties(a,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}});["localName","namespaceURI","prefix"].forEach(function(b){Object.defineProperty(a,b,{value:void 0,configurable:!0})});["ownerDocument","baseURI","isConnected"].forEach(function(b){Object.defineProperty(a,b,{get:function(){return this.host[b]}, | ||
configurable:!0})})}var Bb=u.m?function(){}:function(a){var b=r(a);b.aa||(b.aa=!0,H(a,ub,!0),H(a,vb,!0))},Cb=u.m?function(){}:function(a){r(a).ia||(H(a,wb,!0),H(a,xb,!0))};var Db=G.childNodes;function Eb(a,b,c){Bb(a);c=c||null;var d=r(a),e=r(b),f=c?r(c):null;d.previousSibling=c?f.previousSibling:b.lastChild;if(f=t(d.previousSibling))f.nextSibling=a;if(f=t(d.nextSibling=c))f.previousSibling=a;d.parentNode=b;c?c===e.firstChild&&(e.firstChild=a):(e.lastChild=a,e.firstChild||(e.firstChild=a));e.childNodes=null} | ||
function Fb(a){var b=r(a);if(void 0===b.firstChild){b.childNodes=null;var c=Db(a);b.firstChild=c[0]||null;b.lastChild=c[c.length-1]||null;Cb(a);for(b=0;b<c.length;b++){var d=c[b],e=r(d);e.parentNode=a;e.nextSibling=c[b+1]||null;e.previousSibling=c[b-1]||null;Bb(d)}}};var Gb=G.parentNode; | ||
function Hb(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=t(c);d=d&&d.parentNode;if(void 0!==d&&d!==a||void 0===d&&Gb(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&&Ib(b.parentNode,b);d=!0;var e,f;if(!b.__noInsertionPoint){if(f=e=x(a)){var g;"slot"===b.localName?g=[b]:b.querySelectorAll&& | ||
(g=b.querySelectorAll("slot"));f=g&&g.length?g:void 0}if(f){g=e;var h=f;g.a=g.a||[];g.f=g.f||[];g.g=g.g||{};g.a.push.apply(g.a,[].concat(h instanceof Array?h:ia(ha(h))))}}("slot"===a.localName||f)&&(e=e||x(a))&&L(e);if(v(a)){e=c;Cb(a);f=r(a);void 0!==f.firstChild&&(f.childNodes=null);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){f=b.childNodes;for(g=0;g<f.length;g++)Eb(f[g],a,e);e=r(b);f=void 0!==e.firstChild?null:void 0;e.firstChild=e.lastChild=f;e.childNodes=f}else Eb(b,a,e);e=t(a);Jb(a)?(L(e.root), | ||
d=!1):e.root&&(d=!1)}d?(d=w(a)?a.host:a,c?(c=Kb(c),z.insertBefore.call(d,b,c)):z.appendChild.call(d,b)):b.ownerDocument!==a.ownerDocument&&a.ownerDocument.adoptNode(b);Lb(a,b);return b} | ||
function Ib(a,b){if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var c=x(b),d=t(a);if(v(a)){var e=r(b),f=r(a);b===f.firstChild&&(f.firstChild=e.nextSibling);b===f.lastChild&&(f.lastChild=e.previousSibling);var g=e.previousSibling,h=e.nextSibling;g&&(r(g).nextSibling=h);h&&(r(h).previousSibling=g);e.parentNode=e.previousSibling=e.nextSibling=void 0;void 0!==f.childNodes&&(f.childNodes=null);if(Jb(a)){L(d.root);var k=!0}}Mb(b);if(c){(e=a&&"slot"===a.localName)&& | ||
(k=!0);if(c.f){Nb(c);f=c.g;for(pa in f)for(g=f[pa],h=0;h<g.length;h++){var l=g[h];if(xa(b,l)){g.splice(h,1);var n=c.f.indexOf(l);0<=n&&c.f.splice(n,1);h--;n=t(l);if(l=n.v)for(var p=0;p<l.length;p++){var K=l[p],J=Ob(K);J&&z.removeChild.call(J,K)}n.v=[];n.assignedNodes=[];n=!0}}var pa=n}else pa=void 0;(pa||e)&&L(c)}k||(k=w(a)?a.host:a,(!d.root&&"slot"!==b.localName||k===Gb(b))&&z.removeChild.call(k,b));Lb(a,null,b);return b} | ||
function Mb(a){var b=t(a);if(b&&void 0!==b.D){b=a.childNodes;for(var c=0,d=b.length,e;c<d&&(e=b[c]);c++)Mb(e)}if(a=t(a))a.D=void 0}function Kb(a){var b=a;a&&"slot"===a.localName&&(b=(b=(b=t(a))&&b.v)&&b.length?b[0]:Kb(a.nextSibling));return b}function Jb(a){return(a=(a=t(a))&&a.root)&&Pb(a)} | ||
function Qb(a,b){if("slot"===b)a=a.parentNode,Jb(a)&&L(t(a).root);else if("slot"===a.localName&&"name"===b&&(b=x(a))){if(b.f){Nb(b);var c=a.la,d=Rb(a);if(d!==c){c=b.g[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.g[d]||(b.g[d]=[]);c.push(a);1<c.length&&(b.g[d]=Sb(c))}}L(b)}}function Lb(a,b,c){if(a=(a=t(a))&&a.A)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),Ea(a)} | ||
function Tb(a){if(a&&a.nodeType){var b=r(a),c=b.D;void 0===c&&(w(a)?(c=a,b.D=c):(c=(c=a.parentNode)?Tb(c):a,z.contains.call(document.documentElement,a)&&(b.D=c)));return c}}function Ub(a,b,c){var d=[];Vb(a.childNodes,b,c,d);return d}function Vb(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 k=b,l=c,n=d,p=k(h);p&&n.push(h);l&&l(p)?h=p:(Vb(h.childNodes,k,l,n),h=void 0)}if(h)break}}var Wb=null; | ||
function Xb(a,b,c){Wb||(Wb=window.ShadyCSS&&window.ShadyCSS.ScopingShim);Wb&&"class"===b?Wb.setElementClass(a,c):(z.setAttribute.call(a,b,c),Qb(a,b))}function Yb(a,b){if(a.ownerDocument!==document||"template"===a.localName)return z.importNode.call(document,a,b);var c=z.importNode.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=Yb(a[b],!0),c.appendChild(d)}return c};var Zb="__eventWrappers"+Date.now(),$b=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),ac={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},bc={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0}; | ||
function cc(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(!w)return a;a=cc(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),!w(f)||-1<g)return d} | ||
var ec={get composed(){void 0===this.H&&($b?this.H=$b(this):!1!==this.isTrusted&&(this.H=ac[this.type]));return this.H||!1},composedPath:function(){this.$||(this.$=cc(this.__target,this.composed));return this.$},get target(){return dc(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.R)return null;this.ba||(this.ba=cc(this.R,!0));return dc(this.currentTarget||this.__previousCurrentTarget,this.ba)},stopPropagation:function(){Event.prototype.stopPropagation.call(this); | ||
this.P=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.P=this.ha=!0}};function fc(a){function b(b,d){b=new a(b,d);b.H=d&&!!d.composed;return b}ra(b,a);b.prototype=a.prototype;return b}var gc={focus:!0,blur:!0};function hc(a){return a.__target!==a.target||a.R!==a.relatedTarget}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])&&(!hc(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.ha);d++);} | ||
function jc(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.P)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=t(d);f=f&&f.root;if(0===c||f&&f===e)if(ic(a,d,"bubble"),d!==window&&(e=d.getRootNode()),a.P)break}} | ||
function kc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],k=h.type,l=h.capture,n=h.once,p=h.passive;if(b===h.node&&c===k&&d===l&&e===n&&f===p)return g}return-1} | ||
function lc(a,b,c){if(b){var d=typeof b;if("function"===d||"object"===d)if("object"!==d||b.handleEvent&&"function"===typeof b.handleEvent){var e=this instanceof Window?z.za:z.addEventListener;if(bc[a])return e.call(this,a,b,c);if(c&&"object"===typeof c){var f=!!c.capture;var g=!!c.once;var h=!!c.passive}else f=!!c,h=g=!1;var k=c&&c.T||this,l=b[Zb];if(l){if(-1<kc(l,k,a,f,g,h))return}else b[Zb]=[];l=function(e){g&&this.removeEventListener(a,b,c);e.__target||mc(e);if(k!==this){var f=Object.getOwnPropertyDescriptor(e, | ||
"currentTarget");Object.defineProperty(e,"currentTarget",{get:function(){return k},configurable:!0})}e.__previousCurrentTarget=e.currentTarget;if(!w(k)||-1!=e.composedPath().indexOf(k))if(e.composed||-1<e.composedPath().indexOf(k))if(hc(e)&&e.target===e.relatedTarget)e.eventPhase===Event.BUBBLING_PHASE&&e.stopImmediatePropagation();else if(e.eventPhase===Event.CAPTURING_PHASE||e.bubbles||e.target===k||k instanceof Window){var h="function"===d?b.call(k,e):b.handleEvent&&b.handleEvent(e);k!==this&& | ||
(f?(Object.defineProperty(e,"currentTarget",f),f=null):delete e.currentTarget);return h}};b[Zb].push({node:k,type:a,capture:f,once:g,passive:h,Ba:l});gc[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][f?"capture":"bubble"].push(l)):e.call(this,a,l,c)}}} | ||
function nc(a,b,c){if(b){var d=this instanceof Window?z.Aa:z.removeEventListener;if(bc[a])return d.call(this,a,b,c);if(c&&"object"===typeof c){var e=!!c.capture;var f=!!c.once;var g=!!c.passive}else e=!!c,g=f=!1;var h=c&&c.T||this,k=void 0;var l=null;try{l=b[Zb]}catch(n){}l&&(f=kc(l,h,a,e,f,g),-1<f&&(k=l.splice(f,1)[0].Ba,l.length||(b[Zb]=void 0)));d.call(this,a,k||b,c);k&&gc[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][e?"capture":"bubble"],k=a.indexOf(k),-1<k&&a.splice(k,1))}} | ||
function oc(){for(var a in gc)window.addEventListener(a,function(a){a.__target||(mc(a),jc(a))},!0)}function mc(a){a.__target=a.target;a.R=a.relatedTarget;if(u.m){var b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__patchProto")){var c=Object.create(b);c.Da=b;oa(c,ec);b.__patchProto=c}a.__proto__=b.__patchProto}else oa(a,ec)}var pc=fc(window.Event),qc=fc(window.CustomEvent),rc=fc(window.MouseEvent); | ||
function sc(){window.Event=pc;window.CustomEvent=qc;window.MouseEvent=rc;oc();if(!$b&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var a=function(){var a=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(a)};Element.prototype.click?Element.prototype.click=a:HTMLElement.prototype.click&&(HTMLElement.prototype.click=a)}};function tc(a,b){return{index:a,F:[],L:b}} | ||
function uc(a,b,c,d){var e=0,f=0,g=0,h=0,k=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<k;g++)if(a[g]!==c[g])break a;g=k}if(b==a.length&&d==c.length){h=a.length;for(var l=c.length,n=0;n<k-g&&vc(a[--h],c[--l]);)n++;h=n}e+=g;f+=g;b-=h;d-=h;if(0==b-e&&0==d-f)return[];if(e==b){for(b=tc(e,0);f<d;)b.F.push(c[f++]);return[b]}if(f==d)return[tc(e,b-e)];k=e;g=f;d=d-g+1;h=b-k+1;b=Array(d);for(l=0;l<d;l++)b[l]=Array(h),b[l][0]=l;for(l=0;l<h;l++)b[0][l]=l;for(l=1;l<d;l++)for(n=1;n<h;n++)if(a[k+n-1]===c[g+l-1])b[l][n]= | ||
b[l-1][n-1];else{var p=b[l-1][n]+1,K=b[l][n-1]+1;b[l][n]=p<K?p:K}k=b.length-1;g=b[0].length-1;d=b[k][g];for(a=[];0<k||0<g;)0==k?(a.push(2),g--):0==g?(a.push(3),k--):(h=b[k-1][g-1],l=b[k-1][g],n=b[k][g-1],p=l<n?l<h?l:h:n<h?n:h,p==h?(h==d?a.push(0):(a.push(1),d=h),k--,g--):p==l?(a.push(3),k--,d=l):(a.push(2),g--,d=n));a.reverse();b=void 0;k=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(k.push(b),b=void 0);e++;f++;break;case 1:b||(b=tc(e,0));b.L++;e++;b.F.push(c[f]);f++;break;case 2:b||(b=tc(e,0)); | ||
b.L++;e++;break;case 3:b||(b=tc(e,0)),b.F.push(c[f]),f++}b&&k.push(b);return k}function vc(a,b){return a===b};var Ob=G.parentNode,wc=G.childNodes,xc={},M=u.deferConnectionCallbacks&&"loading"===document.readyState,yc;function zc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b} | ||
function Ab(a,b,c){if(a!==xc)throw new TypeError("Illegal constructor");this.na="ShadyRoot";this.host=b;this.c=c&&c.mode;Fb(b);a=r(b);a.root=this;a.ea="closed"!==this.c?this:null;a=r(this);a.firstChild=a.lastChild=a.parentNode=a.nextSibling=a.previousSibling=null;a.childNodes=[];this.b=this.K=!1;this.a=this.g=this.f=null;L(this)}function L(a){a.K||(a.K=!0,Ba(function(){return Ac(a)}))} | ||
function Ac(a){for(var b;a;){a.K&&(b=a);a:{var c=a;a=c.host.getRootNode();if(w(a))for(var d=c.host.childNodes,e=0;e<d.length;e++)if(c=d[e],"slot"==c.localName)break a;a=void 0}}b&&b._renderRoot()} | ||
Ab.prototype._renderRoot=function(){var a=M;M=!0;this.K=!1;if(this.f){Nb(this);for(var b=0,c;b<this.f.length;b++){c=this.f[b];var d=t(c),e=d.assignedNodes;d.assignedNodes=[];d.v=[];if(d.U=e)for(d=0;d<e.length;d++){var f=t(e[d]);f.J=f.assignedSlot;f.assignedSlot===c&&(f.assignedSlot=null)}}for(c=this.host.firstChild;c;c=c.nextSibling)Bc(this,c);for(b=0;b<this.f.length;b++){c=this.f[b];e=t(c);if(!e.assignedNodes.length)for(d=c.firstChild;d;d=d.nextSibling)Bc(this,d,c);(d=(d=t(c.parentNode))&&d.root)&& | ||
Pb(d)&&d._renderRoot();Cc(this,e.v,e.assignedNodes);if(d=e.U){for(f=0;f<d.length;f++)t(d[f]).J=null;e.U=null;d.length>e.assignedNodes.length&&(e.N=!0)}e.N&&(e.N=!1,Dc(this,c))}b=this.f;c=[];for(e=0;e<b.length;e++)d=b[e].parentNode,(f=t(d))&&f.root||!(0>c.indexOf(d))||c.push(d);for(b=0;b<c.length;b++){e=c[b];d=e===this?this.host:e;f=[];e=e.childNodes;for(var g=0;g<e.length;g++){var h=e[g];if("slot"==h.localName){h=t(h).v;for(var k=0;k<h.length;k++)f.push(h[k])}else f.push(h)}e=void 0;g=wc(d);h=uc(f, | ||
f.length,g,g.length);for(var l=k=0;k<h.length&&(e=h[k]);k++){for(var n=0,p;n<e.F.length&&(p=e.F[n]);n++)Ob(p)===d&&z.removeChild.call(d,p),g.splice(e.index+l,1);l-=e.L}for(l=0;l<h.length&&(e=h[l]);l++)for(k=g[e.index],n=e.index;n<e.index+e.L;n++)p=f[n],z.insertBefore.call(d,p,k),g.splice(n,0,p)}}if(!this.b)for(p=this.host.childNodes,c=0,b=p.length;c<b;c++)e=p[c],d=t(e),Ob(e)!==this.host||"slot"!==e.localName&&d.assignedSlot||z.removeChild.call(this.host,e);this.b=!0;M=a;yc&&yc()}; | ||
function Bc(a,b,c){var d=r(b),e=d.J;d.J=null;c||(c=(a=a.g[b.slot||"__catchall"])&&a[0]);c?(r(c).assignedNodes.push(b),d.assignedSlot=c):d.assignedSlot=void 0;e!==d.assignedSlot&&d.assignedSlot&&(r(d.assignedSlot).N=!0)}function Cc(a,b,c){for(var d=0,e;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=t(e).assignedNodes;f&&f.length&&Cc(a,b,f)}else b.push(c[d])}function Dc(a,b){z.dispatchEvent.call(b,new Event("slotchange"));b=t(b);b.assignedSlot&&Dc(a,b.assignedSlot)} | ||
function Nb(a){if(a.a&&a.a.length){for(var b=a.a,c,d=0;d<b.length;d++){var e=b[d];Fb(e);Fb(e.parentNode);var f=Rb(e);a.g[f]?(c=c||{},c[f]=!0,a.g[f].push(e)):a.g[f]=[e];a.f.push(e)}if(c)for(var g in c)a.g[g]=Sb(a.g[g]);a.a=[]}}function Rb(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.la=b}function Sb(a){return a.sort(function(a,c){a=zc(a);for(var b=zc(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)}})} | ||
function Pb(a){Nb(a);return!(!a.f||!a.f.length)} | ||
if(window.customElements&&u.W){var Ec=new Map;yc=function(){var a=Array.from(Ec);Ec.clear();a=ha(a);for(var b=a.next();!b.done;b=a.next()){b=ha(b.value);var c=b.next().value;b.next().value?c.ja():c.ka()}};M&&document.addEventListener("readystatechange",function(){M=!1;yc()},{once:!0});var Fc=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.ja=function(){M?Ec.set(this,!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=a.prototype.ka= | ||
function(){M?this.isConnected||Ec.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},define=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;define.call(window.customElements,a,Fc(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d}})};function Gc(a){var b=a.getRootNode();w(b)&&Ac(b);return(a=t(a))&&a.assignedSlot||null} | ||
var Hc={addEventListener:lc.bind(window),removeEventListener:nc.bind(window)},Ic={addEventListener:lc,removeEventListener:nc,appendChild:function(a){return Hb(this,a)},insertBefore:function(a,b){return Hb(this,a,b)},removeChild:function(a){return Ib(this,a)},replaceChild:function(a,b){Hb(this,a,b);Ib(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=z.cloneNode.call(this,a);else if(b=z.cloneNode.call(this,!1),a&&b.nodeType!==Node.ATTRIBUTE_NODE){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 Tb(this)},contains:function(a){return xa(this,a)},dispatchEvent:function(a){Ca();return z.dispatchEvent.call(this,a)}}; | ||
Object.defineProperties(Ic,{isConnected:{get:function(){if(sb&&sb.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var a=this.ownerDocument;if(wa){if(z.contains.call(a,this))return!0}else if(a.documentElement&&z.contains.call(a.documentElement,this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(w(a)?a.host:void 0);return!!(a&&a instanceof Document)},configurable:!0}}); | ||
var Jc={get assignedSlot(){return Gc(this)}},Kc={querySelector:function(a){return Ub(this,function(b){return na.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a,b){if(b){b=Array.prototype.slice.call(z.querySelectorAll.call(this,a));var c=this.getRootNode();return b.filter(function(a){return a.getRootNode()==c})}return Ub(this,function(b){return na.call(b,a)})}},Lc={assignedNodes:function(a){if("slot"===this.localName){var b=this.getRootNode();w(b)&&Ac(b);return(b=t(this))? | ||
(a&&a.flatten?b.v:b.assignedNodes)||[]:[]}}},Mc=qa({setAttribute:function(a,b){Xb(this,a,b)},removeAttribute:function(a){z.removeAttribute.call(this,a);Qb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new Ab(xc,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){Xb(this,"slot",a)},get assignedSlot(){return Gc(this)}},Kc,Lc);Object.defineProperties(Mc,xb); | ||
var Nc=qa({importNode:function(a,b){return Yb(a,b)},getElementById:function(a){return Ub(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},Kc);Object.defineProperties(Nc,{_activeElement:yb.activeElement}); | ||
for(var Oc=HTMLElement.prototype.blur,Pc={blur:function(){var a=t(this);(a=(a=a&&a.root)&&a.activeElement)?a.blur():Oc.call(this)}},N={},Qc=ha(Object.getOwnPropertyNames(Document.prototype)),Rc=Qc.next();!Rc.done;N={j:N.j},Rc=Qc.next())N.j=Rc.value,"on"===N.j.substring(0,2)&&Object.defineProperty(Pc,N.j,{set:function(a){return function(b){var c=r(this),d=a.j.substring(2);c.I[a.j]&&this.removeEventListener(d,c.I[a.j]);this.addEventListener(d,b,{});c.I[a.j]=b}}(N),get:function(a){return function(){var b= | ||
t(this);return b&&b.I[a.j]}}(N),configurable:!0});var Sc={addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.T=this;this.host.addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.T=this;this.host.removeEventListener(a,b,c)},getElementById:function(a){return Ub(this,function(b){return b.id==a},function(a){return!!a})[0]||null}}; | ||
function O(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)}};if(u.W){var ShadyDOM={inUse:u.W,patch:function(a){Cb(a);Bb(a);return a},isShadyRoot:w,enqueue:Ba,flush:Ca,settings:u,filterMutations:Ia,observeChildren:Ga,unobserveChildren:Ha,nativeMethods:z,nativeTree:G,deferConnectionCallbacks:u.deferConnectionCallbacks};window.ShadyDOM=ShadyDOM;sc();var Tc=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;O(Ab.prototype,Sc);O(window.Node.prototype,Ic);O(window.Window.prototype,Hc);O(window.Text.prototype,Jc);O(window.DocumentFragment.prototype, | ||
Kc);O(window.Element.prototype,Mc);O(window.Document.prototype,Nc);window.HTMLSlotElement&&O(window.HTMLSlotElement.prototype,Lc);O(Tc.prototype,Pc);u.m&&(I(window.Node.prototype),I(window.Text.prototype),I(window.DocumentFragment.prototype),I(window.Element.prototype),I(Tc.prototype),I(window.Document.prototype),window.HTMLSlotElement&&I(window.HTMLSlotElement.prototype));zb();window.ShadowRoot=Ab};/* | ||
'use strict';var m,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},n="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function ba(){ba=function(){};n.Symbol||(n.Symbol=ea)}var ea=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(); | ||
function fa(){ba();var a=n.Symbol.iterator;a||(a=n.Symbol.iterator=n.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(this)}});fa=function(){}}function ha(a){var b=0;return ia(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function ia(a){fa();a={next:a};a[n.Symbol.iterator]=function(){return this};return a}function q(a){fa();ba();fa();var b=a[Symbol.iterator];return b?b.call(a):ha(a)} | ||
function ja(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}function ka(){this.da=this.root=null;this.O=!1;this.v=this.J=this.W=this.assignedSlot=this.assignedNodes=this.A=null;this.childNodes=this.nextSibling=this.previousSibling=this.lastChild=this.firstChild=this.parentNode=this.D=void 0;this.ha=this.$=!1;this.I={}}ka.prototype.toJSON=function(){return{}};function r(a){a.U||(a.U=new ka);return a.U}function t(a){return a&&a.U};var v=window.ShadyDOM||{};v.ta=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var la=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");v.o=!!(la&&la.configurable&&la.get);v.X=v.force||!v.ta;var ma=navigator.userAgent.match("Trident"),na=navigator.userAgent.match("Edge");void 0===v.fa&&(v.fa=v.o&&(ma||na));function w(a){return(a=t(a))&&void 0!==a.firstChild}function x(a){return"ShadyRoot"===a.ma}function oa(a){a=a.getRootNode();if(x(a))return a} | ||
var y=Element.prototype,pa=y.matches||y.matchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||y.webkitMatchesSelector;function qa(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e=void 0;d<c.length&&(e=c[d]);d++){var f=e,h=a,g=Object.getOwnPropertyDescriptor(b,f);g&&Object.defineProperty(h,f,g)}}function ra(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)qa(a,c[d]);return a}function sa(a,b){for(var c in b)a[c]=b[c]} | ||
var ta=document.createTextNode(""),ua=0,va=[];(new MutationObserver(function(){for(;va.length;)try{va.shift()()}catch(a){throw ta.textContent=ua++,a;}})).observe(ta,{characterData:!0});function wa(a){va.push(a);ta.textContent=ua++}var xa=!!document.contains;function ya(a,b){for(;b;){if(b==a)return!0;b=b.parentNode}return!1} | ||
function za(a){for(var b=a.length-1;0<=b;b--){var c=a[b],d=c.getAttribute("id")||c.getAttribute("name");d&&"length"!==d&&isNaN(d)&&(a[d]=c)}a.item=function(b){return a[b]};a.namedItem=function(b){if("length"!==b&&isNaN(b)&&a[b])return a[b];for(var c=q(a),d=c.next();!d.done;d=c.next())if(d=d.value,(d.getAttribute("id")||d.getAttribute("name"))==b)return d;return null};return a};var Aa=[],Ba;function Ca(a){Ba||(Ba=!0,wa(Ea));Aa.push(a)}function Ea(){Ba=!1;for(var a=!!Aa.length;Aa.length;)Aa.shift()();return a}Ea.list=Aa;function Fa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.M=new Set}function Ga(a){a.a||(a.a=!0,wa(function(){a.flush()}))}Fa.prototype.flush=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.M.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[]}; | ||
function Ha(a,b){var c=r(a);c.A||(c.A=new Fa);c.A.M.add(b);var d=c.A;return{la:b,oa:d,na:a,takeRecords:function(){return d.takeRecords()}}}function Ia(a){var b=a&&a.oa;b&&(b.M.delete(a.la),b.M.size||(r(a.na).A=null))} | ||
function Ja(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})};var Ka=Element.prototype.insertBefore,La=Element.prototype.replaceChild,Ma=Element.prototype.removeChild,Na=Element.prototype.setAttribute,Oa=Element.prototype.removeAttribute,Pa=Element.prototype.cloneNode,Qa=Document.prototype.importNode,Ra=Element.prototype.addEventListener,Sa=Element.prototype.removeEventListener,Ta=Window.prototype.addEventListener,Ua=Window.prototype.removeEventListener,Va=Element.prototype.dispatchEvent,Wa=Node.prototype.contains||HTMLElement.prototype.contains,Xa=Document.prototype.getElementById, | ||
Ya=Element.prototype.querySelector,Za=DocumentFragment.prototype.querySelector,$a=Document.prototype.querySelector,ab=Element.prototype.querySelectorAll,bb=DocumentFragment.prototype.querySelectorAll,cb=Document.prototype.querySelectorAll,z={};z.appendChild=Element.prototype.appendChild;z.insertBefore=Ka;z.replaceChild=La;z.removeChild=Ma;z.setAttribute=Na;z.removeAttribute=Oa;z.cloneNode=Pa;z.importNode=Qa;z.addEventListener=Ra;z.removeEventListener=Sa;z.Ca=Ta;z.Da=Ua;z.dispatchEvent=Va; | ||
z.contains=Wa;z.getElementById=Xa;z.Ka=Ya;z.Na=Za;z.Ia=$a;z.querySelector=function(a){switch(this.nodeType){case Node.ELEMENT_NODE:return Ya.call(this,a);case Node.DOCUMENT_NODE:return $a.call(this,a);default:return Za.call(this,a)}};z.La=ab;z.Oa=bb;z.Ja=cb;z.querySelectorAll=function(a){switch(this.nodeType){case Node.ELEMENT_NODE:return ab.call(this,a);case Node.DOCUMENT_NODE:return cb.call(this,a);default:return bb.call(this,a)}};var db=/[&\u00A0"]/g,eb=/[&\u00A0<>]/g;function fb(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function gb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var hb=gb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ib=gb("style script xmp iframe noembed noframes plaintext noscript".split(" ")); | ||
function jb(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,h=void 0;e<f&&(h=d[e]);e++){a:{var g=h;var k=a,l=b;switch(g.nodeType){case Node.ELEMENT_NODE:k=g.localName;for(var p="<"+k,u=g.attributes,ca=0,da;da=u[ca];ca++)p+=" "+da.name+'="'+da.value.replace(db,fb)+'"';p+=">";g=hb[k]?p:p+jb(g,l)+"</"+k+">";break a;case Node.TEXT_NODE:g=g.data;g=k&&ib[k.localName]?g:g.replace(eb,fb);break a;case Node.COMMENT_NODE:g="\x3c!--"+g.data+"--\x3e";break a;default:throw window.console.error(g), | ||
Error("not implemented");}}c+=g}return c};var A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),B=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function kb(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b} | ||
var C={parentNode:function(a){A.currentNode=a;return A.parentNode()},firstChild:function(a){A.currentNode=a;return A.firstChild()},lastChild:function(a){A.currentNode=a;return A.lastChild()},previousSibling:function(a){A.currentNode=a;return A.previousSibling()},nextSibling:function(a){A.currentNode=a;return A.nextSibling()}};C.childNodes=kb;C.parentElement=function(a){B.currentNode=a;return B.parentNode()};C.firstElementChild=function(a){B.currentNode=a;return B.firstChild()}; | ||
C.lastElementChild=function(a){B.currentNode=a;return B.lastChild()};C.previousElementSibling=function(a){B.currentNode=a;return B.previousSibling()};C.nextElementSibling=function(a){B.currentNode=a;return B.nextSibling()};C.children=function(a){var b=[];B.currentNode=a;for(a=B.firstChild();a;)b.push(a),a=B.nextSibling();return za(b)};C.innerHTML=function(a){return jb(a,function(a){return kb(a)})}; | ||
C.textContent=function(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}};var lb=v.o,mb=[Node.prototype,Element.prototype,HTMLElement.prototype];function D(a){var b;a:{for(b=0;b<mb.length;b++){var c=mb[b];if(c.hasOwnProperty(a)){b=c;break a}}b=void 0}if(!b)throw Error("Could not find descriptor for "+a);return Object.getOwnPropertyDescriptor(b,a)} | ||
var E=lb?{parentNode:D("parentNode"),firstChild:D("firstChild"),lastChild:D("lastChild"),previousSibling:D("previousSibling"),nextSibling:D("nextSibling"),childNodes:D("childNodes"),parentElement:D("parentElement"),previousElementSibling:D("previousElementSibling"),nextElementSibling:D("nextElementSibling"),innerHTML:D("innerHTML"),textContent:D("textContent"),firstElementChild:D("firstElementChild"),lastElementChild:D("lastElementChild"),children:D("children")}:{},nb=lb?{firstElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype, | ||
"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"children")}:{},ob=lb?{firstElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(Document.prototype,"children")}:{},pb={ca:E,Ma:nb,Ha:ob,parentNode:function(a){return E.parentNode.get.call(a)}, | ||
firstChild:function(a){return E.firstChild.get.call(a)},lastChild:function(a){return E.lastChild.get.call(a)},previousSibling:function(a){return E.previousSibling.get.call(a)},nextSibling:function(a){return E.nextSibling.get.call(a)},childNodes:function(a){return Array.prototype.slice.call(E.childNodes.get.call(a))},parentElement:function(a){return E.parentElement.get.call(a)},previousElementSibling:function(a){return E.previousElementSibling.get.call(a)},nextElementSibling:function(a){return E.nextElementSibling.get.call(a)}, | ||
innerHTML:function(a){return E.innerHTML.get.call(a)},textContent:function(a){return E.textContent.get.call(a)},children:function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return nb.children.get.call(a);case Node.DOCUMENT_NODE:return ob.children.get.call(a);default:return E.children.get.call(a)}},firstElementChild:function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return nb.firstElementChild.get.call(a);case Node.DOCUMENT_NODE:return ob.firstElementChild.get.call(a);default:return E.firstElementChild.get.call(a)}}, | ||
lastElementChild:function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return nb.lastElementChild.get.call(a);case Node.DOCUMENT_NODE:return ob.lastElementChild.get.call(a);default:return E.lastElementChild.get.call(a)}}};var F=v.fa?pb:C;function qb(a){for(;a.firstChild;)a.removeChild(a.firstChild)} | ||
var rb=v.o,sb=document.implementation.createHTMLDocument("inert"),tb=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),ub=tb&&tb.get,vb=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),wb={parentElement:{get:function(){var a=t(this);(a=a&&a.parentNode)&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:F.parentElement(this)},configurable:!0},parentNode:{get:function(){var a=t(this);a=a&&a.parentNode;return void 0!==a?a:F.parentNode(this)},configurable:!0}, | ||
nextSibling:{get:function(){var a=t(this);a=a&&a.nextSibling;return void 0!==a?a:F.nextSibling(this)},configurable:!0},previousSibling:{get:function(){var a=t(this);a=a&&a.previousSibling;return void 0!==a?a:F.previousSibling(this)},configurable:!0},nextElementSibling:{get:function(){var a=t(this);if(a&&void 0!==a.nextSibling){for(a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return F.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){var a= | ||
t(this);if(a&&void 0!==a.previousSibling){for(a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return F.previousElementSibling(this)},configurable:!0}},xb={className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0}},yb={childNodes:{get:function(){if(w(this)){var a=t(this);if(!a.childNodes){a.childNodes=[];for(var b=this.firstChild;b;b=b.nextSibling)a.childNodes.push(b)}var c=a.childNodes}else c= | ||
F.childNodes(this);c.item=function(a){return c[a]};return c},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=t(this);a=a&&a.firstChild;return void 0!==a?a:F.firstChild(this)},configurable:!0},lastChild:{get:function(){var a=t(this);a=a&&a.lastChild;return void 0!==a?a:F.lastChild(this)},configurable:!0},textContent:{get:function(){if(w(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 F.textContent(this)},set:function(a){if("undefined"===typeof a||null===a)a="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!w(this)&&rb){var b=this.firstChild;(b!=this.lastChild||b&&b.nodeType!=Node.TEXT_NODE)&&qb(this);pb.ca.textContent.set.call(this,a)}else qb(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){var a= | ||
t(this);if(a&&void 0!==a.firstChild){for(a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return F.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){var a=t(this);if(a&&void 0!==a.lastChild){for(a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return F.lastElementChild(this)},configurable:!0},children:{get:function(){return w(this)?za(Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE})): | ||
F.children(this)},configurable:!0},innerHTML:{get:function(){return w(this)?jb("template"===this.localName?this.content:this):F.innerHTML(this)},set:function(a){var b="template"===this.localName?this.content:this;qb(b);var c=this.localName||"div";c=this.namespaceURI&&this.namespaceURI!==sb.namespaceURI?sb.createElementNS(this.namespaceURI,c):sb.createElement(c);rb?pb.ca.innerHTML.set.call(c,a):c.innerHTML=a;for(a="template"===this.localName?c.content:c;a.firstChild;)b.appendChild(a.firstChild)},configurable:!0}}, | ||
zb={shadowRoot:{get:function(){var a=t(this);return a&&a.da||null},configurable:!0}},Ab={activeElement:{get:function(){var a=vb&&vb.get?vb.get.call(document):v.o?void 0:document.activeElement;if(a&&a.nodeType){var b=!!x(this);if(this===document||b&&this.host!==a&&z.contains.call(this.host,a)){for(b=oa(a);b&&b!==this;)a=b.host,b=oa(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}}; | ||
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 H(a){G(a,wb);G(a,xb);G(a,yb);G(a,Ab)} | ||
function Bb(){var a=Cb.prototype;a.__proto__=DocumentFragment.prototype;G(a,wb,!0);G(a,yb,!0);G(a,Ab,!0);Object.defineProperties(a,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}});["localName","namespaceURI","prefix"].forEach(function(b){Object.defineProperty(a,b,{value:void 0,configurable:!0})});["ownerDocument","baseURI","isConnected"].forEach(function(b){Object.defineProperty(a,b,{get:function(){return this.host[b]}, | ||
configurable:!0})})}var Db=v.o?function(){}:function(a){var b=r(a);b.$||(b.$=!0,G(a,wb,!0),G(a,xb,!0))},Eb=v.o?function(){}:function(a){r(a).ha||(G(a,yb,!0),G(a,zb,!0))};var Fb=F.childNodes;function Gb(a,b,c){Eb(b);var d=r(b);void 0!==d.firstChild&&(d.childNodes=null);if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){d=a.childNodes;for(var e=0;e<d.length;e++)Hb(d[e],b,c);a=r(a);b=void 0!==a.firstChild?null:void 0;a.firstChild=a.lastChild=b;a.childNodes=b}else Hb(a,b,c)} | ||
function Hb(a,b,c){Db(a);c=c||null;var d=r(a),e=r(b),f=c?r(c):null;d.previousSibling=c?f.previousSibling:b.lastChild;if(f=t(d.previousSibling))f.nextSibling=a;if(f=t(d.nextSibling=c))f.previousSibling=a;d.parentNode=b;c?c===e.firstChild&&(e.firstChild=a):(e.lastChild=a,e.firstChild||(e.firstChild=a));e.childNodes=null} | ||
function Ib(a,b){var c=r(a);b=r(b);a===b.firstChild&&(b.firstChild=c.nextSibling);a===b.lastChild&&(b.lastChild=c.previousSibling);a=c.previousSibling;var d=c.nextSibling;a&&(r(a).nextSibling=d);d&&(r(d).previousSibling=a);c.parentNode=c.previousSibling=c.nextSibling=void 0;void 0!==b.childNodes&&(b.childNodes=null)} | ||
function Jb(a){var b=r(a);if(void 0===b.firstChild){b.childNodes=null;var c=Fb(a);b.firstChild=c[0]||null;b.lastChild=c[c.length-1]||null;Eb(a);for(b=0;b<c.length;b++){var d=c[b],e=r(d);e.parentNode=a;e.nextSibling=c[b+1]||null;e.previousSibling=c[b-1]||null;Db(d)}}};var Kb=F.parentNode; | ||
function Lb(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=t(c);d=d&&d.parentNode;if(void 0!==d&&d!==a||void 0===d&&Kb(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;var e=[],f=Mb,h=oa(a),g=h?h.host.localName:"";if(b.parentNode){var k=Nb(b);Ob(b.parentNode,b,!!h||!(b.getRootNode()instanceof ShadowRoot)); | ||
f=function(a,b){I()&&(Pb(a,k),Mb(a,b))}}d=!0;var l=!Qb(b,g);!h||b.__noInsertionPoint&&!l||Rb(b,function(a){"slot"===a.localName&&e.push(a);l&&f(a,g)});e.length&&Sb(h,e);("slot"===a.localName||e.length)&&h&&J(h);w(a)&&(Gb(b,a,c),h=t(a),Tb(a)?(J(h.root),d=!1):h.root&&(d=!1));d?(d=x(a)?a.host:a,c?(c=Ub(c),z.insertBefore.call(d,b,c)):z.appendChild.call(d,b)):b.ownerDocument!==a.ownerDocument&&a.ownerDocument.adoptNode(b);Vb(a,b);return b} | ||
function Ob(a,b,c){c=void 0===c?!1:c;if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var d=oa(b),e=t(a);if(w(a)&&(Ib(b,a),Tb(a))){J(e.root);var f=!0}if(I()&&!c&&d){var h=Nb(b);Rb(b,function(a){Pb(a,h)})}Wb(b);if(d){var g=a&&"slot"===a.localName;g&&(f=!0);((c=Xb(d,b))||g)&&J(d)}f||(f=x(a)?a.host:a,(!e.root&&"slot"!==b.localName||f===Kb(b))&&z.removeChild.call(f,b));Vb(a,null,b);return b} | ||
function Wb(a){var b=t(a);if(b&&void 0!==b.D){b=a.childNodes;for(var c=0,d=b.length,e=void 0;c<d&&(e=b[c]);c++)Wb(e)}if(a=t(a))a.D=void 0}function Ub(a){var b=a;a&&"slot"===a.localName&&(b=(b=(b=t(a))&&b.v)&&b.length?b[0]:Ub(a.nextSibling));return b}function Tb(a){return(a=(a=t(a))&&a.root)&&Yb(a)} | ||
function Zb(a,b){if("slot"===b)a=a.parentNode,Tb(a)&&J(t(a).root);else if("slot"===a.localName&&"name"===b&&(b=oa(a))){if(b.f){$b(b);var c=a.ka,d=ac(a);if(d!==c){c=b.g[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.g[d]||(b.g[d]=[]);c.push(a);1<c.length&&(b.g[d]=bc(c))}}J(b)}}function Vb(a,b,c){if(a=(a=t(a))&&a.A)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),Ga(a)} | ||
function cc(a){if(a&&a.nodeType){var b=r(a),c=b.D;void 0===c&&(x(a)?(c=a,b.D=c):(c=(c=a.parentNode)?cc(c):a,z.contains.call(document.documentElement,a)&&(b.D=c)));return c}}function dc(a,b,c){var d=[];ec(a.childNodes,b,c,d);return d}function ec(a,b,c,d){for(var e=0,f=a.length,h=void 0;e<f&&(h=a[e]);e++){var g;if(g=h.nodeType===Node.ELEMENT_NODE){g=h;var k=b,l=c,p=d,u=k(g);u&&p.push(g);l&&l(u)?g=u:(ec(g.childNodes,k,l,p),g=void 0)}if(g)break}}var fc=null; | ||
function I(){fc||(fc=window.ShadyCSS&&window.ShadyCSS.ScopingShim);return fc||null}function gc(a,b,c){var d=I();d&&"class"===b?d.setElementClass(a,c):(z.setAttribute.call(a,b,c),Zb(a,b))}function hc(a,b){if(a.ownerDocument!==document||"template"===a.localName)return z.importNode.call(document,a,b);var c=z.importNode.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=hc(a[b],!0),c.appendChild(d)}return c}function Mb(a,b){var c=I();c&&c.scopeNode(a,b)} | ||
function Pb(a,b){var c=I();c&&c.unscopeNode(a,b)}function Qb(a,b){var c=I();if(!c)return!0;if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){c=!0;for(var d=0;c&&d<a.childNodes.length;d++)c=c&&Qb(a.childNodes[d],b);return c}return a.nodeType!==Node.ELEMENT_NODE?!0:c.currentScopeForNode(a)===b}function Nb(a){if(a.nodeType!==Node.ELEMENT_NODE)return"";var b=I();return b?b.currentScopeForNode(a):""} | ||
function Rb(a,b){if(a){a.nodeType===Node.ELEMENT_NODE&&b(a);for(var c=0,d;c<a.childNodes.length;c++)d=a.childNodes[c],d.nodeType===Node.ELEMENT_NODE&&Rb(d,b)}};var ic="__eventWrappers"+Date.now(),jc=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),kc={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={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0}; | ||
function mc(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 nc(a,b){if(!x)return a;a=mc(a,!0);for(var c=0,d,e=void 0,f,h=void 0;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(h=a.indexOf(f),e=f),!x(f)||-1<h)return d} | ||
var oc={get composed(){void 0===this.H&&(jc?this.H="focusin"===this.type||"focusout"===this.type||jc(this):!1!==this.isTrusted&&(this.H=kc[this.type]));return this.H||!1},composedPath:function(){this.Z||(this.Z=mc(this.__target,this.composed));return this.Z},get target(){return nc(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.T)return null;this.aa||(this.aa=mc(this.T,!0));return nc(this.currentTarget||this.__previousCurrentTarget,this.aa)},stopPropagation:function(){Event.prototype.stopPropagation.call(this); | ||
this.S=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.S=this.ga=!0}};function pc(a){function b(b,d){b=new a(b,d);b.H=d&&!!d.composed;return b}sa(b,a);b.prototype=a.prototype;return b}var qc={focus:!0,blur:!0};function rc(a){return a.__target!==a.target||a.T!==a.relatedTarget}function sc(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&(!rc(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.ga);d++);} | ||
function tc(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];sc(a,d,"capture");if(a.S)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=t(d);f=f&&f.root;if(0===c||f&&f===e)if(sc(a,d,"bubble"),d!==window&&(e=d.getRootNode()),a.S)break}} | ||
function uc(a,b,c,d,e,f){for(var h=0;h<a.length;h++){var g=a[h],k=g.type,l=g.capture,p=g.once,u=g.passive;if(b===g.node&&c===k&&d===l&&e===p&&f===u)return h}return-1} | ||
function vc(a,b,c){if(b){var d=typeof b;if("function"===d||"object"===d)if("object"!==d||b.handleEvent&&"function"===typeof b.handleEvent){var e=this instanceof Window?z.Ca:z.addEventListener;if(lc[a])return e.call(this,a,b,c);if(c&&"object"===typeof c){var f=!!c.capture;var h=!!c.once;var g=!!c.passive}else f=!!c,g=h=!1;var k=c&&c.V||this,l=b[ic];if(l){if(-1<uc(l,k,a,f,h,g))return}else b[ic]=[];l=function(e){h&&this.removeEventListener(a,b,c);e.__target||wc(e);if(k!==this){var f=Object.getOwnPropertyDescriptor(e, | ||
"currentTarget");Object.defineProperty(e,"currentTarget",{get:function(){return k},configurable:!0})}e.__previousCurrentTarget=e.currentTarget;if(!x(k)||-1!=e.composedPath().indexOf(k))if(e.composed||-1<e.composedPath().indexOf(k))if(rc(e)&&e.target===e.relatedTarget)e.eventPhase===Event.BUBBLING_PHASE&&e.stopImmediatePropagation();else if(e.eventPhase===Event.CAPTURING_PHASE||e.bubbles||e.target===k||k instanceof Window){var g="function"===d?b.call(k,e):b.handleEvent&&b.handleEvent(e);k!==this&& | ||
(f?(Object.defineProperty(e,"currentTarget",f),f=null):delete e.currentTarget);return g}};b[ic].push({node:k,type:a,capture:f,once:h,passive:g,Ea:l});qc[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][f?"capture":"bubble"].push(l)):e.call(this,a,l,c)}}} | ||
function xc(a,b,c){if(b){var d=this instanceof Window?z.Da:z.removeEventListener;if(lc[a])return d.call(this,a,b,c);if(c&&"object"===typeof c){var e=!!c.capture;var f=!!c.once;var h=!!c.passive}else e=!!c,h=f=!1;var g=c&&c.V||this,k=void 0;var l=null;try{l=b[ic]}catch(p){}l&&(f=uc(l,g,a,e,f,h),-1<f&&(k=l.splice(f,1)[0].Ea,l.length||(b[ic]=void 0)));d.call(this,a,k||b,c);k&&qc[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][e?"capture":"bubble"],k=a.indexOf(k),-1<k&&a.splice(k,1))}} | ||
function yc(){for(var a in qc)window.addEventListener(a,function(a){a.__target||(wc(a),tc(a))},!0)}function wc(a){a.__target=a.target;a.T=a.relatedTarget;if(v.o){var b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__patchProto")){var c=Object.create(b);c.Fa=b;qa(c,oc);b.__patchProto=c}a.__proto__=b.__patchProto}else qa(a,oc)}var zc=pc(window.Event),Ac=pc(window.CustomEvent),Bc=pc(window.MouseEvent); | ||
function Cc(){window.Event=zc;window.CustomEvent=Ac;window.MouseEvent=Bc;yc();if(!jc&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var a=function(){var a=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(a)};Element.prototype.click?Element.prototype.click=a:HTMLElement.prototype.click&&(HTMLElement.prototype.click=a)}};function Dc(a,b){return{index:a,F:[],L:b}} | ||
function Ec(a,b,c,d){var e=0,f=0,h=0,g=0,k=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(h=0;h<k;h++)if(a[h]!==c[h])break a;h=k}if(b==a.length&&d==c.length){g=a.length;for(var l=c.length,p=0;p<k-h&&Fc(a[--g],c[--l]);)p++;g=p}e+=h;f+=h;b-=g;d-=g;if(0==b-e&&0==d-f)return[];if(e==b){for(b=Dc(e,0);f<d;)b.F.push(c[f++]);return[b]}if(f==d)return[Dc(e,b-e)];k=e;h=f;d=d-h+1;g=b-k+1;b=Array(d);for(l=0;l<d;l++)b[l]=Array(g),b[l][0]=l;for(l=0;l<g;l++)b[0][l]=l;for(l=1;l<d;l++)for(p=1;p<g;p++)if(a[k+p-1]===c[h+l-1])b[l][p]= | ||
b[l-1][p-1];else{var u=b[l-1][p]+1,ca=b[l][p-1]+1;b[l][p]=u<ca?u:ca}k=b.length-1;h=b[0].length-1;d=b[k][h];for(a=[];0<k||0<h;)0==k?(a.push(2),h--):0==h?(a.push(3),k--):(g=b[k-1][h-1],l=b[k-1][h],p=b[k][h-1],u=l<p?l<g?l:g:p<g?p:g,u==g?(g==d?a.push(0):(a.push(1),d=g),k--,h--):u==l?(a.push(3),k--,d=l):(a.push(2),h--,d=p));a.reverse();b=void 0;k=[];for(h=0;h<a.length;h++)switch(a[h]){case 0:b&&(k.push(b),b=void 0);e++;f++;break;case 1:b||(b=Dc(e,0));b.L++;e++;b.F.push(c[f]);f++;break;case 2:b||(b=Dc(e, | ||
0));b.L++;e++;break;case 3:b||(b=Dc(e,0)),b.F.push(c[f]),f++}b&&k.push(b);return k}function Fc(a,b){return a===b};var Gc=F.parentNode,Hc=F.childNodes,Ic={},K=v.deferConnectionCallbacks&&"loading"===document.readyState,Jc;function Kc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b} | ||
function Cb(a,b,c){if(a!==Ic)throw new TypeError("Illegal constructor");this.ma="ShadyRoot";this.host=b;this.c=c&&c.mode;Jb(b);a=r(b);a.root=this;a.da="closed"!==this.c?this:null;a=r(this);a.firstChild=a.lastChild=a.parentNode=a.nextSibling=a.previousSibling=null;a.childNodes=[];this.b=this.K=!1;this.a=this.g=this.f=null;J(this)}function J(a){a.K||(a.K=!0,Ca(function(){return Lc(a)}))} | ||
function Lc(a){for(var b;a;){a.K&&(b=a);a:{var c=a;a=c.host.getRootNode();if(x(a))for(var d=c.host.childNodes,e=0;e<d.length;e++)if(c=d[e],"slot"==c.localName)break a;a=void 0}}b&&b._renderRoot()} | ||
Cb.prototype._renderRoot=function(){var a=K;K=!0;this.K=!1;if(this.f){$b(this);for(var b=0,c;b<this.f.length;b++){c=this.f[b];var d=t(c),e=d.assignedNodes;d.assignedNodes=[];d.v=[];if(d.W=e)for(d=0;d<e.length;d++){var f=t(e[d]);f.J=f.assignedSlot;f.assignedSlot===c&&(f.assignedSlot=null)}}for(b=this.host.firstChild;b;b=b.nextSibling)Mc(this,b);for(b=0;b<this.f.length;b++){c=this.f[b];e=t(c);if(!e.assignedNodes.length)for(d=c.firstChild;d;d=d.nextSibling)Mc(this,d,c);(d=(d=t(c.parentNode))&&d.root)&& | ||
Yb(d)&&d._renderRoot();Nc(this,e.v,e.assignedNodes);if(d=e.W){for(f=0;f<d.length;f++)t(d[f]).J=null;e.W=null;d.length>e.assignedNodes.length&&(e.O=!0)}e.O&&(e.O=!1,Oc(this,c))}c=this.f;b=[];for(e=0;e<c.length;e++)d=c[e].parentNode,(f=t(d))&&f.root||!(0>b.indexOf(d))||b.push(d);for(c=0;c<b.length;c++){f=b[c];e=f===this?this.host:f;d=[];f=f.childNodes;for(var h=0;h<f.length;h++){var g=f[h];if("slot"==g.localName){g=t(g).v;for(var k=0;k<g.length;k++)d.push(g[k])}else d.push(g)}f=Hc(e);h=Ec(d,d.length, | ||
f,f.length);k=g=0;for(var l=void 0;g<h.length&&(l=h[g]);g++){for(var p=0,u=void 0;p<l.F.length&&(u=l.F[p]);p++)Gc(u)===e&&z.removeChild.call(e,u),f.splice(l.index+k,1);k-=l.L}k=0;for(l=void 0;k<h.length&&(l=h[k]);k++)for(g=f[l.index],p=l.index;p<l.index+l.L;p++)u=d[p],z.insertBefore.call(e,u,g),f.splice(p,0,u)}}if(!this.b)for(b=this.host.childNodes,c=0,e=b.length;c<e;c++)d=b[c],f=t(d),Gc(d)!==this.host||"slot"!==d.localName&&f.assignedSlot||z.removeChild.call(this.host,d);this.b=!0;K=a;Jc&&Jc()}; | ||
function Mc(a,b,c){var d=r(b),e=d.J;d.J=null;c||(c=(a=a.g[b.slot||"__catchall"])&&a[0]);c?(r(c).assignedNodes.push(b),d.assignedSlot=c):d.assignedSlot=void 0;e!==d.assignedSlot&&d.assignedSlot&&(r(d.assignedSlot).O=!0)}function Nc(a,b,c){for(var d=0,e=void 0;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=t(e).assignedNodes;f&&f.length&&Nc(a,b,f)}else b.push(c[d])}function Oc(a,b){z.dispatchEvent.call(b,new Event("slotchange"));b=t(b);b.assignedSlot&&Oc(a,b.assignedSlot)} | ||
function Sb(a,b){a.a=a.a||[];a.f=a.f||[];a.g=a.g||{};a.a.push.apply(a.a,b instanceof Array?b:ja(q(b)))}function $b(a){if(a.a&&a.a.length){for(var b=a.a,c,d=0;d<b.length;d++){var e=b[d];Jb(e);Jb(e.parentNode);var f=ac(e);a.g[f]?(c=c||{},c[f]=!0,a.g[f].push(e)):a.g[f]=[e];a.f.push(e)}if(c)for(var h in c)a.g[h]=bc(a.g[h]);a.a=[]}}function ac(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.ka=b} | ||
function bc(a){return a.sort(function(a,c){a=Kc(a);for(var b=Kc(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)}})}function Xb(a,b){if(a.f){$b(a);var c=a.g,d;for(d in c)for(var e=c[d],f=0;f<e.length;f++){var h=e[f];if(ya(b,h)){e.splice(f,1);var g=a.f.indexOf(h);0<=g&&a.f.splice(g,1);f--;h=t(h);if(g=h.v)for(var k=0;k<g.length;k++){var l=g[k],p=Gc(l);p&&z.removeChild.call(p,l)}h.v=[];h.assignedNodes=[];g=!0}}return g}} | ||
function Yb(a){$b(a);return!(!a.f||!a.f.length)} | ||
if(window.customElements&&v.X){var Pc=new Map;Jc=function(){var a=Array.from(Pc);Pc.clear();a=q(a);for(var b=a.next();!b.done;b=a.next()){b=q(b.value);var c=b.next().value;b.next().value?c.ia():c.ja()}};K&&document.addEventListener("readystatechange",function(){K=!1;Jc()},{once:!0});var Qc=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.ia=function(){K?Pc.set(this,!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=a.prototype.ja= | ||
function(){K?this.isConnected||Pc.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},Rc=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;Rc.call(window.customElements,a,Qc(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d}})};function Sc(a){var b=a.getRootNode();x(b)&&Lc(b);return(a=t(a))&&a.assignedSlot||null} | ||
var Tc={addEventListener:vc.bind(window),removeEventListener:xc.bind(window)},Uc={addEventListener:vc,removeEventListener:xc,appendChild:function(a){return Lb(this,a)},insertBefore:function(a,b){return Lb(this,a,b)},removeChild:function(a){return Ob(this,a)},replaceChild:function(a,b){Lb(this,a,b);Ob(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=z.cloneNode.call(this,a);else if(b=z.cloneNode.call(this,!1),a&&b.nodeType!==Node.ATTRIBUTE_NODE){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 cc(this)},contains:function(a){return ya(this,a)},dispatchEvent:function(a){Ea();return z.dispatchEvent.call(this,a)}}; | ||
Object.defineProperties(Uc,{isConnected:{get:function(){if(ub&&ub.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var a=this.ownerDocument;if(xa){if(z.contains.call(a,this))return!0}else if(a.documentElement&&z.contains.call(a.documentElement,this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(x(a)?a.host:void 0);return!!(a&&a instanceof Document)},configurable:!0}}); | ||
var Vc={get assignedSlot(){return Sc(this)}},Wc={querySelector:function(a){return dc(this,function(b){return pa.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a,b){if(b){b=Array.prototype.slice.call(z.querySelectorAll.call(this,a));var c=this.getRootNode();return b.filter(function(a){return a.getRootNode()==c})}return dc(this,function(b){return pa.call(b,a)})}},Xc={assignedNodes:function(a){if("slot"===this.localName){var b=this.getRootNode();x(b)&&Lc(b);return(b=t(this))? | ||
(a&&a.flatten?b.v:b.assignedNodes)||[]:[]}}},Yc=ra({setAttribute:function(a,b){gc(this,a,b)},removeAttribute:function(a){z.removeAttribute.call(this,a);Zb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new Cb(Ic,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){gc(this,"slot",a)},get assignedSlot(){return Sc(this)}},Wc,Xc);Object.defineProperties(Yc,zb); | ||
var Zc=ra({importNode:function(a,b){return hc(a,b)},getElementById:function(a){return dc(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},Wc);Object.defineProperties(Zc,{_activeElement:Ab.activeElement}); | ||
for(var $c=HTMLElement.prototype.blur,ad={blur:function(){var a=t(this);(a=(a=a&&a.root)&&a.activeElement)?a.blur():$c.call(this)}},L={},bd=q(Object.getOwnPropertyNames(Document.prototype)),cd=bd.next();!cd.done;L={l:L.l},cd=bd.next())L.l=cd.value,"on"===L.l.substring(0,2)&&Object.defineProperty(ad,L.l,{set:function(a){return function(b){var c=r(this),d=a.l.substring(2);c.I[a.l]&&this.removeEventListener(d,c.I[a.l]);this.addEventListener(d,b,{});c.I[a.l]=b}}(L),get:function(a){return function(){var b= | ||
t(this);return b&&b.I[a.l]}}(L),configurable:!0});var dd={addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.V=this;this.host.addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.V=this;this.host.removeEventListener(a,b,c)},getElementById:function(a){return dc(this,function(b){return b.id==a},function(a){return!!a})[0]||null}}; | ||
function M(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)}};if(v.X){var ShadyDOM={inUse:v.X,patch:function(a){Eb(a);Db(a);return a},isShadyRoot:x,enqueue:Ca,flush:Ea,settings:v,filterMutations:Ja,observeChildren:Ha,unobserveChildren:Ia,nativeMethods:z,nativeTree:F,deferConnectionCallbacks:v.deferConnectionCallbacks,handlesDynamicScoping:!0};window.ShadyDOM=ShadyDOM;Cc();var ed=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;M(Cb.prototype,dd);M(window.Node.prototype,Uc);M(window.Window.prototype,Tc);M(window.Text.prototype,Vc); | ||
M(window.DocumentFragment.prototype,Wc);M(window.Element.prototype,Yc);M(window.Document.prototype,Zc);window.HTMLSlotElement&&M(window.HTMLSlotElement.prototype,Xc);M(ed.prototype,ad);v.o&&(H(window.Node.prototype),H(window.Text.prototype),H(window.DocumentFragment.prototype),H(window.Element.prototype),H(ed.prototype),H(window.Document.prototype),window.HTMLSlotElement&&H(window.HTMLSlotElement.prototype));Bb();window.ShadowRoot=Cb};/* | ||
@@ -103,46 +107,47 @@ Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
*/ | ||
function Uc(){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 Vc(a){a=a.replace(Wc,"").replace(Xc,"");var b=Yc,c=a,d=new Uc;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 Uc;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 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=Zc(c),c=c.replace($c," "),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=ad:c.match(bd)&&(a.type=cd,a.keyframesName=a.selector.split($c).pop()):a.type=0===c.indexOf("--")?dd:ed);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)Yc(f, | ||
b);return a}function Zc(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 fd(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=fd(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(gd,"").replace(hd,""),b=b.replace(id,"").replace(jd,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c} | ||
var ed=1,cd=7,ad=4,dd=1E3,Wc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Xc=/@import[^;]*;/gim,gd=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,hd=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,id=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,jd=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,bd=/^@[^\s]*keyframes/,$c=/\s+/g;var P=!(window.ShadyDOM&&window.ShadyDOM.inUse),kd;function ld(a){kd=a&&a.shimcssproperties?!1:P||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?kd=window.ShadyCSS.nativeCss:window.ShadyCSS?(ld(window.ShadyCSS),window.ShadyCSS=void 0):ld(window.WebComponents&&window.WebComponents.flags);var Q=kd;var md=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,nd=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,od=/(--[\w-]+)\s*([:,;)]|$)/gi,pd=/(animation\s*:)|(animation-name\s*:)/,qd=/@media\s(.*)/,rd=/\{[^}]*\}/g;var sd=new Set;function R(a,b){if(!a)return"";"string"===typeof a&&(a=Vc(a));b&&S(a,b);return fd(a,Q)}function td(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Vc(a.textContent));return a.__cssRules||null}function ud(a){return!!a.parent&&a.parent.type===cd}function S(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===ad){var g=a.selector.match(qd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===ed?b(a):c&&f===cd?c(a):f===dd&&(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 vd(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;wd(e,c,d);return e}var T=null;function xd(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(T?T.nextSibling:null)||b.firstChild);return T=a}function wd(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);T?a.compareDocumentPosition(T)===Node.DOCUMENT_POSITION_PRECEDING&&(T=a):T=a} | ||
function yd(a,b){for(var c=0,d=a.length;b<d;b++)if("("===a[b])c++;else if(")"===a[b]&&0===--c)return b;return-1}function zd(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=yd(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=zd(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function Ad(a,b){P?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)} | ||
function U(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,G:c}}function Bd(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=yd(a,d);c+=a.slice(d,e+1);d=e}else","===a[d]?(b.push(c),c=""):c+=a[d];c&&b.push(c);return b};function Cd(){}function Dd(a,b){var c=V;a.__styleScoped?a.__styleScoped=null:Ed(c,a,function(a){Fd(a,b||"")})}function Ed(a,b,c){b.nodeType===Node.ELEMENT_NODE&&c(b);if(b="template"===b.localName?(b.content||b.Ea||b).childNodes:b.children||b.childNodes)for(var d=0;d<b.length;d++)Ed(a,b[d],c)} | ||
function Fd(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(Gd);c?d&&(b=d.replace("style-scope","").replace(b,""),Ad(a,b)):Ad(a,(d?d+" ":"")+"style-scope "+b)}}function Hd(a,b,c){var d=V;a.__styleScoped?a.__styleScoped=null:Ed(d,a,function(a){Fd(a,b,!0);Fd(a,c)})}function Id(a,b){var c=V;a.__styleScoped?a.__styleScoped=null:Ed(c,a,function(a){Fd(a,b||"",!0)})} | ||
function Jd(a,b,c){var d=V,e=a.__cssBuild;P||"shady"===e?b=R(b,c):(a=U(a),b=Kd(d,b,a.is,a.G,c)+"\n\n");return b.trim()}function Kd(a,b,c,d,e){var f=Ld(c,d);c=c?Md+c:"";return R(b,function(b){b.c||(b.selector=b.i=Nd(a,b,a.b,c,f),b.c=!0);e&&e(b,c,f)})}function Ld(a,b){return b?"[is="+a+"]":a}function Nd(a,b,c,d,e){var f=Bd(b.selector);if(!ud(b)){b=0;for(var g=f.length,h;b<g&&(h=f[b]);b++)f[b]=c.call(a,h,d,e)}return f.filter(function(a){return!!a}).join(Od)} | ||
function Pd(a){return a.replace(Qd,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}function Rd(a){for(var b=[],c;c=a.match(Sd);){var d=c.index,e=yd(a,d);if(-1===e)throw Error(c.input+" selector missing ')'");c=a.slice(d,e+1);a=a.replace(c,"\ue000");b.push(c)}return{Y:a,matches:b}}function Td(a,b){var c=a.split("\ue000");return b.reduce(function(a,b,f){return a+b+c[f+1]},c[0])} | ||
Cd.prototype.b=function(a,b,c){var d=!1;a=a.trim();var e=Qd.test(a);e&&(a=a.replace(Qd,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=Pd(a));var f=Sd.test(a);if(f){var g=Rd(a);a=g.Y;g=g.matches}a=a.replace(Ud,Vd+" $1");a=a.replace(Wd,function(a,e,f){d||(a=Xd(f,e,b,c),d=d||a.stop,e=a.ra,f=a.value);return e+f});f&&(a=Td(a,g));e&&(a=Pd(a));return a}; | ||
function Xd(a,b,c,d){var e=a.indexOf(Yd);0<=a.indexOf(Vd)?a=Zd(a,d):0!==e&&(a=c?$d(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(ae,function(a,b){return" > "+b}))}a=a.replace(be,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,ra:b,stop:f}}function $d(a,b){a=a.split(ce);a[0]+=b;return a.join(ce)} | ||
function Zd(a,b){var c=a.match(de);return(c=c&&c[2].trim()||"")?c[0].match(ee)?a.replace(de,function(a,c,f){return b+f}):c.split(ee)[0]===b?c:fe:a.replace(Vd,b)}function ge(a){a.selector===he&&(a.selector="html")}Cd.prototype.c=function(a){return a.match(Vd)?"":a.match(Yd)?this.b(a,ie):$d(a.trim(),ie)};q.Object.defineProperties(Cd.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}}); | ||
var Qd=/:(nth[-\w]+)\(([^)]+)\)/,ie=":not(.style-scope)",Od=",",Wd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,ee=/[[.:#*]/,Vd=":host",he=":root",Yd="::slotted",Ud=new RegExp("^("+Yd+")"),de=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ae=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,be=/(.*):dir\((?:(ltr|rtl))\)/,Md=".",ce=":",Gd="class",fe="should_not_match",Sd=/:(?:matches|any|-(?:webkit|moz)-any)/,V=new Cd;function je(a,b,c,d){this.s=a||null;this.b=b||null;this.X=c||[];this.B=null;this.G=d||"";this.a=this.l=this.w=null}function W(a){return a?a.__styleInfo:null}function ke(a,b){return a.__styleInfo=b}je.prototype.c=function(){return this.s};je.prototype._getStyleRules=je.prototype.c;function le(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var me=navigator.userAgent.match("Trident");function ne(){}function oe(a){var b={},c=[],d=0;S(a,function(a){pe(a);a.index=d++;a=a.h.cssText;for(var c;c=od.exec(a);){var e=c[1];":"!==c[2]&&(b[e]=!0)}},function(a){c.push(a)});a.b=c;a=[];for(var e in b)a.push(e);return a} | ||
function pe(a){if(!a.h){var b={},c={};qe(a,c)&&(b.o=c,a.rules=null);b.cssText=a.parsedCssText.replace(rd,"").replace(md,"");a.h=b}}function qe(a,b){var c=a.h;if(c){if(c.o)return Object.assign(b,c.o),!0}else{c=a.parsedCssText;for(var d;a=md.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}} | ||
function re(a,b,c){b&&(b=0<=b.indexOf(";")?se(a,b,c):zd(b,function(b,e,f,g){if(!e)return b+g;(e=re(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=re(a,c[f]||f,c)||f;return b+(e||"")+g}));return b&&b.trim()||""} | ||
function se(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){nd.lastIndex=0;if(f=nd.exec(e))e=re(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var g=e.substring(f);g=g.trim();g=re(a,g,c)||g;e=e.substring(0,f)+g}b[d]=e&&e.lastIndexOf(";")===e.length-1?e.slice(0,-1):e||""}return b.join(";")} | ||
function te(a,b){var c={},d=[];S(a,function(a){a.h||pe(a);var e=a.i||a.parsedSelector;b&&a.h.o&&e&&le.call(b,e)&&(qe(a,c),a=a.index,e=parseInt(a/32,10),d[e]=(d[e]||0)|1<<a%32)},null,!0);return{o:c,key:d}} | ||
function ue(a,b,c,d){b.h||pe(b);if(b.h.o){var e=U(a);a=e.is;e=e.G;e=a?Ld(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&&(b.i||(b.i=Nd(V,b,V.b,a?Md+a:"",e)),c=b.i||e),d({Y:c,va:h,Oa:g})}} | ||
function ve(a,b){var c={},d={},e=b&&b.__cssBuild;S(b,function(b){ue(a,b,e,function(e){le.call(a.Na||a,e.Y)&&(e.va?qe(b,c):qe(b,d))})},null,!0);return{wa:d,ua:c}} | ||
function we(a,b,c,d){var e=U(b),f=Ld(e.is,e.G),g=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])");e=W(b).s;var h=xe(e,d);return Jd(b,e,function(b){var e="";b.h||pe(b);b.h.cssText&&(e=se(a,b.h.cssText,c));b.cssText=e;if(!P&&!ud(b)&&b.cssText){var k=e=b.cssText;null==b.ca&&(b.ca=pd.test(e));if(b.ca)if(null==b.O){b.O=[];for(var p in h)k=h[p],k=k(e),e!==k&&(e=k,b.O.push(p))}else{for(p=0;p<b.O.length;++p)k=h[b.O[p]],e=k(e);k=e}b.cssText=k;b.i=b.i||b.selector;e="."+d; | ||
p=Bd(b.i);k=0;for(var K=p.length,J;k<K&&(J=p[k]);k++)p[k]=J.match(g)?J.replace(f,e):e+" "+J;b.selector=p.join(",")}})}function xe(a,b){a=a.b;var c={};if(!P&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,g=b;f.u=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.a=f.keyframesName+"-"+g;f.i=f.i||f.selector;f.selector=f.i.replace(f.keyframesName,f.a);c[e.keyframesName]=ye(e)}return c}function ye(a){return function(b){return b.replace(a.u,a.a)}} | ||
function ze(a,b){var c=Ae,d=td(a);a.textContent=R(d,function(a){var d=a.cssText=a.parsedCssText;a.h&&a.h.cssText&&(d=d.replace(gd,"").replace(hd,""),a.cssText=se(c,d,b))})}q.Object.defineProperties(ne.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Ae=new ne;var X={},Be=window.customElements;if(Be&&!P){var Ce=Be.define;Be.define=function(a,b,c){X[a]||(X[a]=xd(a));Ce.call(Be,a,b,c)}};function De(){this.cache={}}De.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({o:b,styleElement:c,l:d});100<e.length&&e.shift();this.cache[a]=e};De.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d],f;a:{for(f=0;f<c.length;f++){var g=c[f];if(e.o[g]!==b[g]){f=!1;break a}}f=!0}if(f)return e}};function Ee(){} | ||
function Fe(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.a);if((g=-1<h?g[h+1]:"")&&f===e.ownerDocument)Id(e,g);else if(f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f= | ||
f.host))for(f=U(f).is,f!==g&&Hd(e,g,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+V.a+")"),f=0;f<e.length;f++)if(g=e[f],h=g.getRootNode().host)h=U(h).is,Fd(g,h)}}}} | ||
if(!P){var Ge=new MutationObserver(Fe),He=function(a){Ge.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)He(document);else{var Ie=function(){He(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ie):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){Ie();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else Ie()})}Ee=function(){Fe(Ge.takeRecords())}} | ||
var Je=Ee;var Ke={};var Le=Promise.resolve();function Me(a){if(a=Ke[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Ne(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Oe(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Le.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))};var Pe=new De;function Y(){this.V={};this.c=document.documentElement;var a=new Uc;a.rules=[];this.u=ke(this.c,new je(a));this.C=!1;this.b=this.a=null}m=Y.prototype;m.Z=function(){Je()};m.sa=function(a){return td(a)};m.ya=function(a){return R(a)};m.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)}; | ||
m.prepareTemplateStyles=function(a,b,c){if(!a.C){P||X[b]||(X[b]=xd(b));a.C=!0;a.name=b;a.extends=c;Ke[b]=a;var d=(d=a.content.querySelector("style"))?d.getAttribute("css-build")||"":"";var e=[];for(var f=a.content.querySelectorAll("style"),g=0;g<f.length;g++){var h=f[g];if(h.hasAttribute("shady-unscoped")){if(!P){var k=h.textContent;sd.has(k)||(sd.add(k),k=h.cloneNode(!0),document.head.appendChild(k));h.parentNode.removeChild(h)}}else e.push(h.textContent),h.parentNode.removeChild(h)}e=e.join("").trim(); | ||
c={is:b,extends:c,Ca:d};Qe(this);f=nd.test(e)||md.test(e);nd.lastIndex=0;md.lastIndex=0;e=Vc(e);f&&Q&&this.a&&this.a.transformRules(e,b);a._styleAst=e;a.V=d;d=[];Q||(d=oe(a._styleAst));if(!d.length||Q)e=P?a.content:null,b=X[b]||null,f=Jd(c,a._styleAst),b=f.length?vd(f,c.is,e,b):void 0,a.a=b;a.u=d}};m.prepareTemplateDom=function(a,b){P||a.c||(a.c=!0,Dd(a.content,b))}; | ||
function Re(a){!a.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.b=window.ShadyCSS.CustomStyleInterface,a.b.transformCallback=function(b){a.fa(b)},a.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.C)&&a.flushCustomStyles()})})}function Qe(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(a.a=window.ShadyCSS.ApplyShim,a.a.invalidCallback=Me);Re(a)} | ||
m.flushCustomStyles=function(){Qe(this);if(this.b){var a=this.b.processStyles();if(this.b.enqueued){if(Q)for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);if(c&&Q&&this.a){var d=td(c);Qe(this);this.a.transformRules(d);c.textContent=R(d)}}else for(Se(this,this.c,this.u),b=0;b<a.length;b++)(c=this.b.getStyleForCustomStyle(a[b]))&&ze(c,this.u.w);this.b.enqueued=!1;this.C&&!Q&&this.styleDocument()}}}; | ||
m.styleElement=function(a,b){var c=U(a).is,d=W(a);if(!d){var e=U(a);d=e.is;e=e.G;var f=X[d]||null;d=Ke[d];if(d){var g=d._styleAst;var h=d.u}g=new je(g,f,h,e);d&&ke(a,g);d=g}a!==this.c&&(this.C=!0);b&&(d.B=d.B||{},Object.assign(d.B,b));if(Q){if(d.B){b=d.B;for(var k in b)null===k?a.style.removeProperty(k):a.style.setProperty(k,b[k])}if(((k=Ke[c])||a===this.c)&&k&&k.a&&!Ne(k)){if(Ne(k)||k._applyShimValidatingVersion!==k._applyShimNextVersion)Qe(this),this.a&&this.a.transformRules(k._styleAst,c),k.a.textContent= | ||
Jd(a,d.s),Oe(k);P&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=Jd(a,d.s));d.s=k._styleAst}}else if(this.Z(),Se(this,a,d),d.X&&d.X.length){c=d;k=U(a).is;d=(b=Pe.fetch(k,c.w,c.X))?b.styleElement:null;g=c.l;(h=b&&b.l)||(h=this.V[k]=(this.V[k]||0)+1,h=k+"-"+h);c.l=h;h=c.l;e=Ae;e=d?d.textContent||"":we(e,a,c.w,h);f=W(a);var l=f.a;l&&!P&&l!==d&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));P?f.a?(f.a.textContent=e,d=f.a):e&&(d=vd(e,h,a.shadowRoot,f.b)):d?d.parentNode|| | ||
(me&&-1<e.indexOf("@media")&&(d.textContent=e),wd(d,null,f.b)):e&&(d=vd(e,h,null,f.b));d&&(d._useCount=d._useCount||0,f.a!=d&&d._useCount++,f.a=d);h=d;P||(d=c.l,f=e=a.getAttribute("class")||"",g&&(f=e.replace(new RegExp("\\s*x-scope\\s*"+g+"\\s*","g")," ")),f+=(f?" ":"")+"x-scope "+d,e!==f&&Ad(a,f));b||Pe.store(k,c.w,h,c.l)}};function Te(a,b){return(b=b.getRootNode().host)?W(b)?b:Te(a,b):a.c} | ||
function Se(a,b,c){a=Te(a,b);var d=W(a);a=Object.create(d.w||null);var e=ve(b,c.s);b=te(d.s,b).o;Object.assign(a,e.ua,b,e.wa);b=c.B;for(var f in b)if((e=b[f])||0===e)a[f]=e;f=Ae;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=re(f,a[d],a);c.w=a}m.styleDocument=function(a){this.styleSubtree(this.c,a)}; | ||
m.styleSubtree=function(a,b){var c=a.shadowRoot;(c||a===this.c)&&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])};m.fa=function(a){var b=this,c=td(a);S(c,function(a){if(P)ge(a);else{var c=V;a.selector=a.parsedSelector;ge(a);a.selector=a.i=Nd(c,a,c.c,void 0,void 0)}Q&&(Qe(b),b.a&&b.a.transformRule(a))});Q?a.textContent=R(c):this.u.s.rules.push(c)}; | ||
m.getComputedStyleValue=function(a,b){var c;Q||(c=(W(a)||W(Te(this,a))).w[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};m.xa=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.a){c=d[e+1];break}}}c&&b.push(V.a,c);Q||(c=W(a))&&c.l&&b.push(Ae.a,c.l);Ad(a,b.join(" "))};m.qa=function(a){return W(a)};Y.prototype.flush=Y.prototype.Z; | ||
Y.prototype.prepareTemplate=Y.prototype.prepareTemplate;Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.xa;Y.prototype._styleInfoForNode=Y.prototype.qa;Y.prototype.transformCustomStyleForDocument=Y.prototype.fa;Y.prototype.getStyleAst=Y.prototype.sa;Y.prototype.styleAstToString=Y.prototype.ya; | ||
Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return P}},nativeCss:{get:function(){return Q}}});var Z=new Y,Ue,Ve;window.ShadyCSS&&(Ue=window.ShadyCSS.ApplyShim,Ve=window.ShadyCSS.CustomStyleInterface); | ||
function fd(){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 gd(a){a=a.replace(hd,"").replace(id,"");var b=jd,c=a,d=new fd;d.start=0;d.end=c.length;for(var e=d,f=0,h=c.length;f<h;f++)if("{"===c[f]){e.rules||(e.rules=[]);var g=e,k=g.rules[g.rules.length-1]||null;e=new fd;e.start=f+1;e.parent=g;e.previous=k;g.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)} | ||
function jd(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=kd(c),c=c.replace(ld," "),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=md:c.match(nd)&&(a.type=od,a.keyframesName=a.selector.split(ld).pop()):a.type=0===c.indexOf("--")?pd:qd);if(c=a.rules)for(var d=0,e=c.length,f=void 0;d<e&&(f=c[d]);d++)jd(f, | ||
b);return a}function kd(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 rd(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 h=e.length,g=void 0;f<h&&(g=e[f]);f++)d=rd(g,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(sd,"").replace(td,""),b=b.replace(ud,"").replace(vd,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c} | ||
var qd=1,od=7,md=4,pd=1E3,hd=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,id=/@import[^;]*;/gim,sd=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,td=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,ud=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,vd=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,nd=/^@[^\s]*keyframes/,ld=/\s+/g;var N=!(window.ShadyDOM&&window.ShadyDOM.inUse),wd;function xd(a){wd=a&&a.shimcssproperties?!1:N||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?wd=window.ShadyCSS.nativeCss:window.ShadyCSS?(xd(window.ShadyCSS),window.ShadyCSS=void 0):xd(window.WebComponents&&window.WebComponents.flags);var O=wd;var yd=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,zd=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ad=/(--[\w-]+)\s*([:,;)]|$)/gi,Bd=/(animation\s*:)|(animation-name\s*:)/,Cd=/@media\s(.*)/,Dd=/\{[^}]*\}/g;var Ed=new Set;function P(a,b){if(!a)return"";"string"===typeof a&&(a=gd(a));b&&Q(a,b);return rd(a,O)}function Fd(a){!a.__cssRules&&a.textContent&&(a.__cssRules=gd(a.textContent));return a.__cssRules||null}function Gd(a){return!!a.parent&&a.parent.type===od}function Q(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===md){var h=a.selector.match(Cd);h&&(window.matchMedia(h[1]).matches||(e=!0))}f===qd?b(a):c&&f===od?c(a):f===pd&&(e=!0);if((a=a.rules)&&!e)for(e=0,f=a.length,h=void 0;e<f&&(h=a[e]);e++)Q(h,b,c,d)}} | ||
function Hd(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Id(e,c,d);return e}var R=null;function Jd(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(R?R.nextSibling:null)||b.firstChild);return R=a}function Id(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);R?a.compareDocumentPosition(R)===Node.DOCUMENT_POSITION_PRECEDING&&(R=a):R=a} | ||
function Kd(a,b){for(var c=0,d=a.length;b<d;b++)if("("===a[b])c++;else if(")"===a[b]&&0===--c)return b;return-1}function Ld(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=Kd(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=Ld(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function Md(a,b){N?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)} | ||
function S(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,G:c}}function Nd(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=Kd(a,d);c+=a.slice(d,e+1);d=e}else","===a[d]?(b.push(c),c=""):c+=a[d];c&&b.push(c);return b} | ||
function T(a){if(void 0===a.a){var b=a.getAttribute("css-build");if(b)a.a=b;else{a:{b="template"===a.localName?a.content.firstChild:a.firstChild;if(b instanceof Comment&&(b=b.textContent.trim().split(":"),"css-build"===b[0])){b=b[1];break a}b=""}if(""!==b){var c="template"===a.localName?a.content.firstChild:a.firstChild;c.parentNode.removeChild(c)}a.a=b}}return a.a||""};function Od(){}function Pd(a,b){Qd(U,a,function(a){V(a,b||"")})}function Qd(a,b,c){b.nodeType===Node.ELEMENT_NODE&&c(b);if(b="template"===b.localName?(b.content||b.Ga||b).childNodes:b.children||b.childNodes)for(var d=0;d<b.length;d++)Qd(a,b[d],c)} | ||
function V(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(Rd);c?d&&(b=d.replace("style-scope","").replace(b,""),Md(a,b)):Md(a,(d?d+" ":"")+"style-scope "+b)}}function Sd(a,b,c){Qd(U,a,function(a){V(a,b,!0);V(a,c)})}function Td(a,b){Qd(U,a,function(a){V(a,b||"",!0)})} | ||
function Ud(a,b,c,d){var e=U;N||"shady"===(void 0===d?"":d)?b=P(b,c):(a=S(a),b=Vd(e,b,a.is,a.G,c)+"\n\n");return b.trim()}function Vd(a,b,c,d,e){var f=Wd(c,d);c=c?Xd+c:"";return P(b,function(b){b.c||(b.selector=b.j=Yd(a,b,a.b,c,f),b.c=!0);e&&e(b,c,f)})}function Wd(a,b){return b?"[is="+a+"]":a}function Yd(a,b,c,d,e){var f=Nd(b.selector);if(!Gd(b)){b=0;for(var h=f.length,g=void 0;b<h&&(g=f[b]);b++)f[b]=c.call(a,g,d,e)}return f.filter(function(a){return!!a}).join(Zd)} | ||
function $d(a){return a.replace(ae,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}function be(a){for(var b=[],c;c=a.match(ce);){var d=c.index,e=Kd(a,d);if(-1===e)throw Error(c.input+" selector missing ')'");c=a.slice(d,e+1);a=a.replace(c,"\ue000");b.push(c)}return{Y:a,matches:b}}function de(a,b){var c=a.split("\ue000");return b.reduce(function(a,b,f){return a+b+c[f+1]},c[0])} | ||
Od.prototype.b=function(a,b,c){var d=!1;a=a.trim();var e=ae.test(a);e&&(a=a.replace(ae,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=$d(a));var f=ce.test(a);if(f){var h=be(a);a=h.Y;h=h.matches}a=a.replace(ee,fe+" $1");a=a.replace(ge,function(a,e,f){d||(a=he(f,e,b,c),d=d||a.stop,e=a.qa,f=a.value);return e+f});f&&(a=de(a,h));e&&(a=$d(a));return a}; | ||
function he(a,b,c,d){var e=a.indexOf(ie);0<=a.indexOf(fe)?a=je(a,d):0!==e&&(a=c?ke(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(le,function(a,b){return" > "+b}))}a=a.replace(me,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,qa:b,stop:f}}function ke(a,b){a=a.split(ne);a[0]+=b;return a.join(ne)} | ||
function je(a,b){var c=a.match(oe);return(c=c&&c[2].trim()||"")?c[0].match(pe)?a.replace(oe,function(a,c,f){return b+f}):c.split(pe)[0]===b?c:qe:a.replace(fe,b)}function re(a){a.selector===se&&(a.selector="html")}Od.prototype.c=function(a){return a.match(fe)?"":a.match(ie)?this.b(a,te):ke(a.trim(),te)};n.Object.defineProperties(Od.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}}); | ||
var ae=/:(nth[-\w]+)\(([^)]+)\)/,te=":not(.style-scope)",Zd=",",ge=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,pe=/[[.:#*]/,fe=":host",se=":root",ie="::slotted",ee=new RegExp("^("+ie+")"),oe=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,le=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,me=/(.*):dir\((?:(ltr|rtl))\)/,Xd=".",ne=":",Rd="class",qe="should_not_match",ce=/:(?:matches|any|-(?:webkit|moz)-any)/,U=new Od;function ue(a,b,c,d,e){this.u=a||null;this.b=b||null;this.c=c||[];this.B=null;this.N=e||"";this.G=d||"";this.a=this.m=this.w=null}function W(a){return a?a.__styleInfo:null}function ve(a,b){return a.__styleInfo=b}ue.prototype.i=function(){return this.u};ue.prototype._getStyleRules=ue.prototype.i;function we(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var xe=navigator.userAgent.match("Trident");function ye(){}function ze(a){var b={},c=[],d=0;Q(a,function(a){Ae(a);a.index=d++;a=a.h.cssText;for(var c;c=Ad.exec(a);){var e=c[1];":"!==c[2]&&(b[e]=!0)}},function(a){c.push(a)});a.b=c;a=[];for(var e in b)a.push(e);return a} | ||
function Ae(a){if(!a.h){var b={},c={};Be(a,c)&&(b.s=c,a.rules=null);b.cssText=a.parsedCssText.replace(Dd,"").replace(yd,"");a.h=b}}function Be(a,b){var c=a.h;if(c){if(c.s)return Object.assign(b,c.s),!0}else{c=a.parsedCssText;for(var d;a=yd.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}} | ||
function Ce(a,b,c){b&&(b=0<=b.indexOf(";")?De(a,b,c):Ld(b,function(b,e,f,h){if(!e)return b+h;(e=Ce(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=Ce(a,c[f]||f,c)||f;return b+(e||"")+h}));return b&&b.trim()||""} | ||
function De(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){zd.lastIndex=0;if(f=zd.exec(e))e=Ce(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var h=e.substring(f);h=h.trim();h=Ce(a,h,c)||h;e=e.substring(0,f)+h}b[d]=e&&e.lastIndexOf(";")===e.length-1?e.slice(0,-1):e||""}return b.join(";")} | ||
function Ee(a,b){var c={},d=[];Q(a,function(a){a.h||Ae(a);var e=a.j||a.parsedSelector;b&&a.h.s&&e&&we.call(b,e)&&(Be(a,c),a=a.index,e=parseInt(a/32,10),d[e]=(d[e]||0)|1<<a%32)},null,!0);return{s:c,key:d}} | ||
function Fe(a,b,c,d){b.h||Ae(b);if(b.h.s){var e=S(a);a=e.is;e=e.G;e=a?Wd(a,e):"html";var f=b.parsedSelector,h=":host > *"===f||"html"===f,g=0===f.indexOf(":host")&&!h;"shady"===c&&(h=f===e+" > *."+e||-1!==f.indexOf("html"),g=!h&&0===f.indexOf(e));if(h||g)c=e,g&&(b.j||(b.j=Yd(U,b,U.b,a?Xd+a:"",e)),c=b.j||e),d({Y:c,va:g,Qa:h})}}function Ge(a,b,c){var d={},e={};Q(b,function(b){Fe(a,b,c,function(c){we.call(a.Pa||a,c.Y)&&(c.va?Be(b,d):Be(b,e))})},null,!0);return{wa:e,ua:d}} | ||
function He(a,b,c,d){var e=S(b),f=Wd(e.is,e.G),h=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),g=W(b);e=g.u;g=g.N;var k=Ie(e,d);return Ud(b,e,function(b){var e="";b.h||Ae(b);b.h.cssText&&(e=De(a,b.h.cssText,c));b.cssText=e;if(!N&&!Gd(b)&&b.cssText){var g=e=b.cssText;null==b.ba&&(b.ba=Bd.test(e));if(b.ba)if(null==b.R){b.R=[];for(var l in k)g=k[l],g=g(e),e!==g&&(e=g,b.R.push(l))}else{for(l=0;l<b.R.length;++l)g=k[b.R[l]],e=g(e);g=e}b.cssText=g;b.j=b.j||b.selector; | ||
e="."+d;l=Nd(b.j);g=0;for(var da=l.length,Da=void 0;g<da&&(Da=l[g]);g++)l[g]=Da.match(h)?Da.replace(f,e):e+" "+Da;b.selector=l.join(",")}},g)}function Ie(a,b){a=a.b;var c={};if(!N&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,h=b;f.i=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.a=f.keyframesName+"-"+h;f.j=f.j||f.selector;f.selector=f.j.replace(f.keyframesName,f.a);c[e.keyframesName]=Je(e)}return c}function Je(a){return function(b){return b.replace(a.i,a.a)}} | ||
function Ke(a,b){var c=Le,d=Fd(a);a.textContent=P(d,function(a){var d=a.cssText=a.parsedCssText;a.h&&a.h.cssText&&(d=d.replace(sd,"").replace(td,""),a.cssText=De(c,d,b))})}n.Object.defineProperties(ye.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Le=new ye;var X={},Me=window.customElements;if(Me&&!N){var Ne=Me.define;Me.define=function(a,b,c){X[a]||(X[a]=Jd(a));Ne.call(Me,a,b,c)}};function Oe(){this.cache={}}Oe.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({s:b,styleElement:c,m:d});100<e.length&&e.shift();this.cache[a]=e};Oe.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d],f;a:{for(f=0;f<c.length;f++){var h=c[f];if(e.s[h]!==b[h]){f=!1;break a}}f=!0}if(f)return e}};function Pe(){}function Qe(a){var b=[];a.classList?b=Array.from(a.classList):a instanceof window.SVGElement&&a.hasAttribute("class")&&(b=a.getAttribute("class").split(/\s+/));a=b;b=a.indexOf(U.a);return-1<b?a[b+1]:""}function Re(a){var b=a.getRootNode();return b===a||b===a.ownerDocument?"":(a=b.host)?S(a).is:""} | ||
function Se(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(),h=Qe(e);if(h&&f===e.ownerDocument&&("style"!==e.localName&&"template"!==e.localName||""===T(e)))Td(e,h);else if(f instanceof ShadowRoot)for(f=Re(e),f!==h&&Sd(e,h,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+U.a+")"),h=0;h<e.length;h++){f=e[h]; | ||
var g=Re(f);g&&V(f,g)}}}}} | ||
if(!(N||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Te=new MutationObserver(Se),Ue=function(a){Te.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Ue(document);else{var Ve=function(){Ue(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ve):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){Ve();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange", | ||
a)}else Ve()})}Pe=function(){Se(Te.takeRecords())}}var We=Pe;var Xe={};var Ye=Promise.resolve();function Ze(a){if(a=Xe[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function $e(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function af(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.c||(a.c=!0,Ye.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.c=!1}))};var bf=new Oe;function Y(){this.P={};this.c=document.documentElement;var a=new fd;a.rules=[];this.i=ve(this.c,new ue(a));this.C=!1;this.b=this.a=null}m=Y.prototype;m.flush=function(){We()};m.sa=function(a){return Fd(a)};m.Aa=function(a){return P(a)};m.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)}; | ||
m.prepareTemplateStyles=function(a,b,c){if(!a.P){N||X[b]||(X[b]=Jd(b));a.P=!0;a.name=b;a.extends=c;Xe[b]=a;var d=T(a);var e=[];for(var f=a.content.querySelectorAll("style"),h=0;h<f.length;h++){var g=f[h];if(g.hasAttribute("shady-unscoped")){if(!N){var k=g.textContent;Ed.has(k)||(Ed.add(k),k=g.cloneNode(!0),document.head.appendChild(k));g.parentNode.removeChild(g)}}else e.push(g.textContent),g.parentNode.removeChild(g)}e=e.join("").trim();c={is:b,extends:c};cf(this);if(f=""===T(a))f=zd.test(e)||yd.test(e), | ||
zd.lastIndex=0,yd.lastIndex=0;e=gd(e);f&&O&&this.a&&this.a.transformRules(e,b);a._styleAst=e;e=[];O||(e=ze(a._styleAst));if(!e.length||O)f=N?a.content:null,b=X[b]||null,d=Ud(c,a._styleAst,null,d),d=d.length?Hd(d,c.is,f,b):void 0,a.b=d;a.C=e}};m.prepareTemplateDom=function(a,b){var c=T(a);N||"shady"===c||a.i||(a.i=!0,Pd(a.content,b))}; | ||
function df(a){!a.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.b=window.ShadyCSS.CustomStyleInterface,a.b.transformCallback=function(b){a.ea(b)},a.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.C)&&a.flushCustomStyles()})})}function cf(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(a.a=window.ShadyCSS.ApplyShim,a.a.invalidCallback=Ze);df(a)} | ||
m.flushCustomStyles=function(){cf(this);if(this.b){var a=this.b.processStyles();if(this.b.enqueued){if(O)for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);if(c&&O&&this.a){var d=Fd(c);cf(this);this.a.transformRules(d);c.textContent=P(d)}}else for(ef(this,this.c,this.i),b=0;b<a.length;b++)(c=this.b.getStyleForCustomStyle(a[b]))&&Ke(c,this.i.w);this.b.enqueued=!1;this.C&&!O&&this.styleDocument()}}}; | ||
m.styleElement=function(a,b){var c=W(a);if(!c){var d=S(a);c=d.is;d=d.G;var e=X[c]||null;c=Xe[c];if(c){var f=c._styleAst;var h=c.C;var g=T(c)}f=new ue(f,e,h,d,g);c&&ve(a,f);c=f}a!==this.c&&(this.C=!0);b&&(c.B=c.B||{},Object.assign(c.B,b));if(O){b=c;f=S(a).is;if(b.B){h=b.B;for(var k in h)null===k?a.style.removeProperty(k):a.style.setProperty(k,h[k])}if(!(!(k=Xe[f])&&a!==this.c||k&&""!==T(k))&&k&&k.b&&!$e(k)){if($e(k)||k._applyShimValidatingVersion!==k._applyShimNextVersion)cf(this),this.a&&this.a.transformRules(k._styleAst, | ||
f),k.b.textContent=Ud(a,b.u),af(k);N&&(f=a.shadowRoot)&&(f.querySelector("style").textContent=Ud(a,b.u));b.u=k._styleAst}}else if(k=c,this.flush(),ef(this,a,k),k.c&&k.c.length){b=S(a).is;c=(f=bf.fetch(b,k.w,k.c))?f.styleElement:null;h=k.m;(g=f&&f.m)||(g=this.P[b]=(this.P[b]||0)+1,g=b+"-"+g);k.m=g;g=k.m;d=Le;d=c?c.textContent||"":He(d,a,k.w,g);e=W(a);var l=e.a;l&&!N&&l!==c&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));N?e.a?(e.a.textContent=d,c=e.a):d&&(c=Hd(d,g,a.shadowRoot, | ||
e.b)):c?c.parentNode||(xe&&-1<d.indexOf("@media")&&(c.textContent=d),Id(c,null,e.b)):d&&(c=Hd(d,g,null,e.b));c&&(c._useCount=c._useCount||0,e.a!=c&&c._useCount++,e.a=c);g=c;N||(c=k.m,e=d=a.getAttribute("class")||"",h&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+h+"\\s*","g")," ")),e+=(e?" ":"")+"x-scope "+c,d!==e&&Md(a,e));f||bf.store(b,k.w,g,k.m)}};function ff(a,b){return(b=b.getRootNode().host)?W(b)?b:ff(a,b):a.c} | ||
function ef(a,b,c){a=ff(a,b);var d=W(a);a=Object.create(d.w||null);var e=Ge(b,c.u,c.N);b=Ee(d.u,b).s;Object.assign(a,e.ua,b,e.wa);b=c.B;for(var f in b)if((e=b[f])||0===e)a[f]=e;f=Le;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=Ce(f,a[d],a);c.w=a}m.styleDocument=function(a){this.styleSubtree(this.c,a)}; | ||
m.styleSubtree=function(a,b){var c=a.shadowRoot;(c||a===this.c)&&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])}; | ||
m.ea=function(a){var b=this,c=Fd(a),d=T(a);d!==this.i.N&&(this.i.N=d);Q(c,function(a){if(N)re(a);else{var c=U;a.selector=a.parsedSelector;re(a);a.selector=a.j=Yd(c,a,c.c,void 0,void 0)}O&&""===d&&(cf(b),b.a&&b.a.transformRule(a))});O?a.textContent=P(c):this.i.u.rules.push(c)};m.getComputedStyleValue=function(a,b){var c;O||(c=(W(a)||W(ff(this,a))).w[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""}; | ||
m.za=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.a){c=d[e+1];break}}}c&&b.push(U.a,c);O||(c=W(a))&&c.m&&b.push(Le.a,c.m);Md(a,b.join(" "))};m.pa=function(a){return W(a)};m.ya=function(a,b){V(a,b)};m.Ba=function(a,b){V(a,b,!0)};m.xa=function(a){return Re(a)};m.ra=function(a){return Qe(a)};Y.prototype.flush=Y.prototype.flush;Y.prototype.prepareTemplate=Y.prototype.prepareTemplate; | ||
Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.za;Y.prototype._styleInfoForNode=Y.prototype.pa;Y.prototype.transformCustomStyleForDocument=Y.prototype.ea;Y.prototype.getStyleAst=Y.prototype.sa;Y.prototype.styleAstToString=Y.prototype.Aa;Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles; | ||
Y.prototype.scopeNode=Y.prototype.ya;Y.prototype.unscopeNode=Y.prototype.Ba;Y.prototype.scopeForNode=Y.prototype.xa;Y.prototype.currentScopeForNode=Y.prototype.ra;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return N}},nativeCss:{get:function(){return O}}});var Z=new Y,gf,hf;window.ShadyCSS&&(gf=window.ShadyCSS.ApplyShim,hf=window.ShadyCSS.CustomStyleInterface); | ||
window.ShadyCSS={ScopingShim:Z,prepareTemplate:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplate(a,b,c)},prepareTemplateDom:function(a,b){Z.prepareTemplateDom(a,b)},prepareTemplateStyles:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplateStyles(a,b,c)},styleSubtree:function(a,b){Z.flushCustomStyles();Z.styleSubtree(a,b)},styleElement:function(a){Z.flushCustomStyles();Z.styleElement(a)},styleDocument:function(a){Z.flushCustomStyles();Z.styleDocument(a)},flushCustomStyles:function(){Z.flushCustomStyles()}, | ||
getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:Q,nativeShadow:P};Ue&&(window.ShadyCSS.ApplyShim=Ue);Ve&&(window.ShadyCSS.CustomStyleInterface=Ve);var We=window.document;window.WebComponents=window.WebComponents||{};function Xe(){window.WebComponents.ready=!0;window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}function Ye(){Xe();We.removeEventListener("readystatechange",Ye)}"loading"!==We.readyState?Xe():We.addEventListener("readystatechange",Ye);}).call(this); | ||
getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:O,nativeShadow:N};gf&&(window.ShadyCSS.ApplyShim=gf);hf&&(window.ShadyCSS.CustomStyleInterface=hf);var jf=window.document;window.WebComponents=window.WebComponents||{};function kf(){window.WebComponents.ready=!0;window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}function lf(){kf();jf.removeEventListener("readystatechange",lf)}"loading"!==jf.readyState?kf():jf.addEventListener("readystatechange",lf);}).call(this); | ||
//# sourceMappingURL=webcomponents-sd.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
3257008
80
2991
0