mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
update builds and WCT depdendency.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"license": "BSD-3-Clause",
|
||||
"ignore": [],
|
||||
"devDependencies": {
|
||||
"web-component-tester": "^v6.0.0-prerelease.7",
|
||||
"web-component-tester": "^v6.0.0-prerelease.9",
|
||||
"custom-elements": "webcomponents/custom-elements#^v1.0.0-rc.1",
|
||||
"es6-promise": "stefanpenner/es6-promise#^4.0.0",
|
||||
"html-imports": "webcomponents/html-imports#^v1.0.0-rc.2",
|
||||
|
||||
@@ -18,6 +18,5 @@ var define;
|
||||
var module;
|
||||
var exports;
|
||||
|
||||
var customElements;
|
||||
var ShadyDOM;
|
||||
var WebComponents;
|
||||
@@ -31,7 +31,7 @@
|
||||
"bower": "^1.8.0",
|
||||
"del": "^2.2.2",
|
||||
"eslint": "^3.16.1",
|
||||
"google-closure-compiler": "^20170218.0.0",
|
||||
"google-closure-compiler": "^20170409.0.0",
|
||||
"gulp": "^3.8.8",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-sourcemaps": "^2.4.1",
|
||||
|
||||
@@ -34,7 +34,7 @@ function(a){var d=g(a),f=D.call(this,a);d&&b.a(a);return f});n(Node.prototype,"r
|
||||
return a.join("")},set:function(a){for(;this.firstChild;)D.call(this,this.firstChild);y.call(this,document.createTextNode(a))}})})}function fa(b){n(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var d=b.f(a);if(d)return new d.constructor}a=z.call(this,a);b.g(a);return a});n(Document.prototype,"importNode",function(a,d){a=ga.call(this,a,d);this.__CE_hasRegistry?b.c(a):b.l(a);return a});n(Document.prototype,"createElementNS",function(a,d){if(this.__CE_hasRegistry&&(null===
|
||||
a||"http://www.w3.org/1999/xhtml"===a)){var c=b.f(d);if(c)return new c.constructor}a=ha.call(this,a,d);b.g(a);return a});Q(b,Document.prototype,{C:ia,append:ja})}function Q(b,a,d){a.prepend=function(a){for(var c=[],e=0;e<arguments.length;++e)c[e-0]=arguments[e];e=c.filter(function(a){return a instanceof Node&&g(a)});d.C.apply(this,c);for(var k=0;k<e.length;k++)b.a(e[k]);if(g(this))for(e=0;e<c.length;e++)k=c[e],k instanceof Element&&b.b(k)};a.append=function(a){for(var c=[],e=0;e<arguments.length;++e)c[e-
|
||||
0]=arguments[e];e=c.filter(function(a){return a instanceof Node&&g(a)});d.append.apply(this,c);for(var k=0;k<e.length;k++)b.a(e[k]);if(g(this))for(e=0;e<c.length;e++)k=c[e],k instanceof Element&&b.b(k)}}function ka(b){window.HTMLElement=function(){function a(){var a=this.constructor,c=b.L(a);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var f=c.constructionStack;if(!f.length)return f=z.call(document,c.localName),Object.setPrototypeOf(f,a.prototype),
|
||||
f.__CE_state=1,f.__CE_definition=c,b.g(f),f;var c=f.length-1,e=f[c];if(e===T)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");f[c]=T;Object.setPrototypeOf(e,a.prototype);b.g(e);return e}a.prototype=la.prototype;return a}()}function m(b){this.f=!1;this.a=b;this.i=new Map;this.g=function(a){return a()};this.b=!1;this.c=[];this.l=new G(b,document)}function U(){var b=this;this.b=this.a=void 0;this.f=new Promise(function(a){b.b=a;b.a&&
|
||||
f.__CE_state=1,f.__CE_definition=c,b.g(f),f;var c=f.length-1,e=f[c];if(e===T)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");f[c]=T;Object.setPrototypeOf(e,a.prototype);b.g(e);return e}a.prototype=la.prototype;return a}()}function m(b){this.f=!1;this.a=b;this.i=new Map;this.g=function(a){return a()};this.b=!1;this.c=[];this.j=new G(b,document)}function U(){var b=this;this.b=this.a=void 0;this.f=new Promise(function(a){b.b=a;b.a&&
|
||||
a(b.a)})}function G(b,a){this.c=b;this.a=a;this.b=void 0;this.c.c(this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.g.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function p(){this.o=new Map;this.m=new Map;this.j=[];this.i=!1}function V(b){var a=ma.has(b);b=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(b);return!a&&b}function g(b){var a=b.isConnected;if(void 0!==a)return a;for(;b&&!(b.__CE_isImportDocument||b instanceof Document);)b=b.parentNode||(window.ShadowRoot&&
|
||||
b instanceof ShadowRoot?b.host:void 0);return!(!b||!(b.__CE_isImportDocument||b instanceof Document))}function H(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null}function t(b,a,d){d=d?d:new Set;for(var c=b;c;){if(c.nodeType===Node.ELEMENT_NODE){var f=c;a(f);var e=f.localName;if("link"===e&&"import"===f.getAttribute("rel")){c=f.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)t(c,a,d);c=H(b,f);continue}else if("template"===e){c=
|
||||
H(b,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)t(f,a,d)}c=c.firstChild?c.firstChild:H(b,c)}}function n(b,a,d){b[a]=d}(function(b){function a(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var l=document.createEvent("CustomEvent");l.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return l}function d(a){if(m)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=
|
||||
@@ -54,14 +54,14 @@ document.createElement(f.h.localName);h.__appliedElement=f.h;h.setAttribute("typ
|
||||
!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=g(this)?this:d(this);return a?a.href:B&&B.get?B.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});f(function(){return new h})}e(function(){return document.dispatchEvent(a("HTMLImportsLoaded",{cancelable:!0,
|
||||
bubbles:!0,detail:void 0}))});b.useNative=m;b.whenReady=e;b.importForElement=d})(window.HTMLImports=window.HTMLImports||{});var ma=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));p.prototype.M=function(b,a){this.o.set(b,a);this.m.set(a.constructor,a)};p.prototype.f=function(b){return this.o.get(b)};p.prototype.L=function(b){return this.m.get(b)};p.prototype.s=function(b){this.i=!0;this.j.push(b)};p.prototype.l=
|
||||
function(b){var a=this;this.i&&t(b,function(b){return a.g(b)})};p.prototype.g=function(b){if(this.i&&!b.__CE_patched){b.__CE_patched=!0;for(var a=0;a<this.j.length;a++)this.j[a](b)}};p.prototype.b=function(b){var a=[];t(b,function(b){return a.push(b)});for(b=0;b<a.length;b++){var d=a[b];1===d.__CE_state?this.connectedCallback(d):this.u(d)}};p.prototype.a=function(b){var a=[];t(b,function(b){return a.push(b)});for(b=0;b<a.length;b++){var d=a[b];1===d.__CE_state&&this.disconnectedCallback(d)}};p.prototype.c=
|
||||
function(b,a){a=a?a:new Set;var d=this,c=[];t(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var e=b.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):b.addEventListener("load",function(){var c=b.import;c.__CE_documentLoadHandled||(c.__CE_documentLoadHandled=!0,c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0,new Set(a),a.delete(c),d.c(c,a))})}else c.push(b)},a);if(this.i)for(b=0;b<c.length;b++)this.g(c[b]);for(b=0;b<c.length;b++)this.u(c[b])};
|
||||
function(b,a){a=a?a:new Set;var d=this,c=[];t(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var e=b.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):b.addEventListener("load",function(){var c=b.import;c.__CE_documentLoadHandled||(c.__CE_documentLoadHandled=!0,c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0,a.delete(c),d.c(c,a))})}else c.push(b)},a);if(this.i)for(b=0;b<c.length;b++)this.g(c[b]);for(b=0;b<c.length;b++)this.u(c[b])};
|
||||
p.prototype.u=function(b){if(void 0===b.__CE_state){var a=this.f(b.localName);if(a){a.constructionStack.push(b);var d=a.constructor;try{try{if(new d!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{a.constructionStack.pop()}}catch(e){throw b.__CE_state=2,e;}b.__CE_state=1;b.__CE_definition=a;if(a.attributeChangedCallback)for(a=a.observedAttributes,d=0;d<a.length;d++){var c=a[d],f=b.getAttribute(c);null!==f&&this.attributeChangedCallback(b,c,null,
|
||||
f,null)}g(b)&&this.connectedCallback(b)}}};p.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};p.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)};p.prototype.attributeChangedCallback=function(b,a,d,c,f){var e=b.__CE_definition;e.attributeChangedCallback&&-1<e.observedAttributes.indexOf(a)&&e.attributeChangedCallback.call(b,a,d,c,f)};G.prototype.f=function(){this.b&&
|
||||
this.b.disconnect()};G.prototype.g=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||this.f();for(a=0;a<b.length;a++)for(var d=b[a].addedNodes,c=0;c<d.length;c++)this.c.c(d[c])};U.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};m.prototype.j=function(b,a){var d=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!V(b))throw new SyntaxError("The element name '"+b+"' is not valid.");
|
||||
if(this.a.f(b))throw Error("A custom element with name '"+b+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var c,f,e,g,m;try{var h=function(a){var b=n[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},n=a.prototype;if(!(n instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");c=h("connectedCallback");f=h("disconnectedCallback");e=
|
||||
h("adoptedCallback");g=h("attributeChangedCallback");m=a.observedAttributes||[]}catch(na){return}finally{this.f=!1}this.a.M(b,{localName:b,constructor:a,connectedCallback:c,disconnectedCallback:f,adoptedCallback:e,attributeChangedCallback:g,observedAttributes:m,constructionStack:[]});this.c.push(b);this.b||(this.b=!0,this.g(function(){return d.m()}))};m.prototype.m=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var b=this.c.shift();(b=this.i.get(b))&&b.c()}};m.prototype.get=
|
||||
function(b){if(b=this.a.f(b))return b.constructor};m.prototype.s=function(b){if(!V(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.i.get(b);if(a)return a.f;a=new U;this.i.set(b,a);this.a.f(b)&&-1===this.c.indexOf(b)&&a.c();return a.f};m.prototype.o=function(b){this.l.f();var a=this.g;this.g=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=m;m.prototype.define=m.prototype.j;m.prototype.get=m.prototype.get;m.prototype.whenDefined=
|
||||
m.prototype.s;m.prototype.polyfillWrapFlushCallback=m.prototype.o;var z=window.Document.prototype.createElement,ha=window.Document.prototype.createElementNS,ga=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,J=window.Node.prototype.cloneNode,y=window.Node.prototype.appendChild,R=window.Node.prototype.insertBefore,D=window.Node.prototype.removeChild,S=window.Node.prototype.replaceChild,F=Object.getOwnPropertyDescriptor(window.Node.prototype,
|
||||
this.b.disconnect()};G.prototype.g=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||this.f();for(a=0;a<b.length;a++)for(var d=b[a].addedNodes,c=0;c<d.length;c++)this.c.c(d[c])};U.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};m.prototype.define=function(b,a){var d=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!V(b))throw new SyntaxError("The element name '"+b+
|
||||
"' is not valid.");if(this.a.f(b))throw Error("A custom element with name '"+b+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var c,f,e,g,m;try{var h=function(a){var b=n[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},n=a.prototype;if(!(n instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");c=h("connectedCallback");f=h("disconnectedCallback");
|
||||
e=h("adoptedCallback");g=h("attributeChangedCallback");m=a.observedAttributes||[]}catch(na){return}finally{this.f=!1}this.a.M(b,{localName:b,constructor:a,connectedCallback:c,disconnectedCallback:f,adoptedCallback:e,attributeChangedCallback:g,observedAttributes:m,constructionStack:[]});this.c.push(b);this.b||(this.b=!0,this.g(function(){return d.l()}))};m.prototype.l=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var b=this.c.shift();(b=this.i.get(b))&&b.c()}};m.prototype.get=
|
||||
function(b){if(b=this.a.f(b))return b.constructor};m.prototype.whenDefined=function(b){if(!V(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.i.get(b);if(a)return a.f;a=new U;this.i.set(b,a);this.a.f(b)&&-1===this.c.indexOf(b)&&a.c();return a.f};m.prototype.m=function(b){this.j.f();var a=this.g;this.g=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=m;m.prototype.define=m.prototype.define;m.prototype.get=m.prototype.get;
|
||||
m.prototype.whenDefined=m.prototype.whenDefined;m.prototype.polyfillWrapFlushCallback=m.prototype.m;var z=window.Document.prototype.createElement,ha=window.Document.prototype.createElementNS,ga=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,J=window.Node.prototype.cloneNode,y=window.Node.prototype.appendChild,R=window.Node.prototype.insertBefore,D=window.Node.prototype.removeChild,S=window.Node.prototype.replaceChild,F=Object.getOwnPropertyDescriptor(window.Node.prototype,
|
||||
"textContent"),I=window.Element.prototype.attachShadow,v=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),E=window.Element.prototype.getAttribute,K=window.Element.prototype.setAttribute,M=window.Element.prototype.removeAttribute,x=window.Element.prototype.getAttributeNS,L=window.Element.prototype.setAttributeNS,N=window.Element.prototype.removeAttributeNS,P=window.Element.prototype.insertAdjacentElement,X=window.Element.prototype.prepend,Y=window.Element.prototype.append,aa=window.Element.prototype.before,
|
||||
ba=window.Element.prototype.after,ca=window.Element.prototype.replaceWith,da=window.Element.prototype.remove,la=window.HTMLElement,w=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),O=window.HTMLElement.prototype.insertAdjacentElement,T=new function(){},r=window.customElements;if(!r||r.forcePolyfill||"function"!=typeof r.define||"function"!=typeof r.get)r=new p,ka(r),fa(r),ea(r),W(r),document.__CE_hasRegistry=!0,r=new m(r),Object.defineProperty(window,"customElements",{configurable:!0,
|
||||
enumerable:!0,value:r});(function(){var b=window.customElements,a=window.HTMLImports;if(b&&b.polyfillWrapFlushCallback){var d,c=function(){if(d){var a=d;d=null;a();return!0}},f=a.whenReady;b.polyfillWrapFlushCallback(function(a){d=a;f(c)});a.whenReady=function(b){f(function(){c()?a.whenReady(b):b()})}}a.whenReady(function(){requestAnimationFrame(function(){document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var b=document.createElement("style");b.textContent=
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -29,143 +29,144 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
Code distributed by Google as part of the polymer project is also
|
||||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||
*/
|
||||
'use strict';var db="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
|
||||
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new oa;b.rules=[];this.h=t.set(this.g,new t(b));this.i=!1;this.a=this.b=null;eb(function(){a.c()})}function D(){this.customStyles=[];this.enqueued=!1}function fb(){}function ba(a){this.cache={};this.f=void 0===a?100:a}function n(){}function t(a,b,c,d,e){this.G=a||null;this.b=b||null;this.ra=c||[];this.N=null;this.W=e||"";this.a=this.D=this.H=null}function r(){}function oa(){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 Ic(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;m(this)&&(e=[],K(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
|
||||
return b}})}function c(b,c){u(b,"insertAdjacentElement",function(b,d){var e=m(d);b=c.call(this,b,d);e&&a.a(d);m(b)&&a.b(d);return b})}gb?u(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=gb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(pa&&pa.get)b(Element.prototype,pa);else if(qa&&qa.get)b(HTMLElement.prototype,qa);else{var d=ra.call(document,"div");a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return hb.call(this,
|
||||
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)sa.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ca.call(b,d.childNodes[0])}})})}u(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return ib.call(this,b,c);var d=ta.call(this,b);ib.call(this,b,c);c=ta.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});u(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return jb.call(this,
|
||||
b,c,d);var e=da.call(this,b,c);jb.call(this,b,c,d);d=da.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});u(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return kb.call(this,b);var c=ta.call(this,b);kb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});u(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return lb.call(this,b,c);var d=da.call(this,b,c);lb.call(this,b,c);var e=da.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
|
||||
c,d,e,b)});mb?c(HTMLElement.prototype,mb):nb?c(Element.prototype,nb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");ob(a,Element.prototype,{Ha:Kc,append:Lc});Mc(a,{$a:Nc,Za:Oc,kb:Pc,remove:Qc})}function Mc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.$a.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],
|
||||
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.Za.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&m(a)}),g=m(this);b.kb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
|
||||
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=m(this);b.remove.call(this);c&&a.a(this)}}function Rc(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&m(this))for(var c=Array(h),l=0;l<h;l++)c[l]=e[l]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
|
||||
u(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=pb.call(this,b,d);if(m(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=m(b);d=pb.call(this,b,d);c&&a.a(b);m(this)&&a.b(b);return d});u(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ca.call(this,b);if(m(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=m(b);e=ca.call(this,b);c&&a.a(b);m(this)&&
|
||||
a.b(b);return e});u(Node.prototype,"cloneNode",function(b){b=hb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});u(Node.prototype,"removeChild",function(b){var c=m(b),e=sa.call(this,b);c&&a.a(b);return e});u(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=qb.call(this,b,d);if(m(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=m(b),f=qb.call(this,b,d),g=m(this);g&&a.a(d);c&&a.a(b);g&&
|
||||
a.b(b);return f});ua&&ua.get?b(Node.prototype,ua):a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)sa.call(this,this.firstChild);ca.call(this,document.createTextNode(a))}})})}function Sc(a){u(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=ra.call(this,b);a.g(b);return b});
|
||||
u(Document.prototype,"importNode",function(b,c){b=Tc.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});u(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=Uc.call(this,b,c);a.g(b);return b});ob(a,Document.prototype,{Ha:Vc,append:Wc})}function ob(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
|
||||
Node&&m(a)});c.Ha.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function Xc(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.I(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
|
||||
var e=d.constructionStack;if(!e.length)return e=ra.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===rb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=rb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=Yc.prototype;return b}()}function w(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
|
||||
[];this.j=new va(a,document)}function sb(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function va(a,b){this.b=a;this.a=b;this.K=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.K=new MutationObserver(this.f.bind(this)),this.K.observe(this.a,{childList:!0,subtree:!0}))}function z(){this.m=new Map;this.l=new Map;this.i=[];this.h=!1}function q(a,b){if(a!==tb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
|
||||
q.prototype;a.i(b);return a}function B(a){this.root=a;this.$="slot"}function P(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=wa(a);a.__shady.lastChild=xa(a);ub(a);for(var b=a.__shady.childNodes=W(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,vb(d)}}function Zc(a){var b=a&&a.K;b&&(b.Z.delete(a.Wa),b.Z.size||(a.Xa.__shady.U=null))}function $c(a,
|
||||
b){a.__shady=a.__shady||{};a.__shady.U||(a.__shady.U=new ea);a.__shady.U.Z.add(b);var c=a.__shady.U;return{Wa:b,K:c,Xa:a,takeRecords:function(){return c.takeRecords()}}}function ea(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.Z=new Set}function E(a){return"ShadyRoot"===a.Ta}function Q(a){a=a.getRootNode();if(E(a))return a}function ya(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 wb(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)ya(a,c[d]);return a}function ad(a,b){for(var c in b)a[c]=b[c]}function xb(a){za.push(a);Aa.textContent=yb++}function zb(a){Ba||(Ba=!0,xb(Ca));X.push(a)}function Ca(){Ba=!1;for(var a=!!X.length;X.length;)X.shift()();return a}function bd(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
|
||||
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Ab(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function Bb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Da(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++){var h;
|
||||
a:{var l;h=g;l=a;var Jc=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,m="<"+k,n=h.attributes,q=0;l=n[q];q++)m+=" "+l.name+'="'+l.value.replace(cd,Ab)+'"';m+=">";h=dd[k]?m:m+Da(h,Jc)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&ed[l.localName]?h:h.replace(fd,Ab);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function L(a){A.currentNode=a;return A.parentNode()}function wa(a){A.currentNode=
|
||||
a;return A.firstChild()}function xa(a){A.currentNode=a;return A.lastChild()}function Cb(a){A.currentNode=a;return A.previousSibling()}function Db(a){A.currentNode=a;return A.nextSibling()}function W(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Eb(a){x.currentNode=a;return x.parentNode()}function Fb(a){x.currentNode=a;return x.firstChild()}function Gb(a){x.currentNode=a;return x.lastChild()}function Hb(a){x.currentNode=a;return x.previousSibling()}
|
||||
function Ib(a){x.currentNode=a;return x.nextSibling()}function Jb(a){var b=[];x.currentNode=a;for(a=x.firstChild();a;)b.push(a),a=x.nextSibling();return b}function Kb(a){return Da(a,function(a){return W(a)})}function Lb(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function I(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 M(a){I(a,Mb);I(a,Ea);I(a,Fa)}function Nb(a,b,c){vb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=
|
||||
a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Ob(a){var b=a.__shady&&a.__shady.parentNode,c,d=Q(a);if(b||d){c=Pb(a);if(b){a.__shady=a.__shady||{};b.__shady=b.__shady||{};a===b.__shady.firstChild&&(b.__shady.firstChild=a.__shady.nextSibling);a===b.__shady.lastChild&&(b.__shady.lastChild=a.__shady.previousSibling);var e=a.__shady.previousSibling,f=a.__shady.nextSibling;e&&(e.__shady=e.__shady||{},e.__shady.nextSibling=f);f&&(f.__shady=f.__shady||{},f.__shady.previousSibling=
|
||||
e);a.__shady.parentNode=a.__shady.previousSibling=a.__shady.nextSibling=void 0;void 0!==b.__shady.childNodes&&(b.__shady.childNodes=null)}if(e=d){for(var g,e=d.ma(),f=0;f<e.length;f++){var h=e[f],l;a:{for(l=h;l;){if(l==a){l=!0;break a}l=l.parentNode}l=void 0}if(l)for(h=h.assignedNodes({flatten:!0}),l=0;l<h.length;l++){g=!0;var k=h[l],m=L(k);m&&R.call(m,k)}}e=g}b=b&&d&&b.localName===d.B.$;if(e||b)d.X=!1,fa(d)}Ga(a);return c}function Ha(a,b,c){if(a=a.__shady&&a.__shady.U)b&&a.addedNodes.push(b),c&&
|
||||
a.removedNodes.push(c),a.mb()}function Ia(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.sa;void 0===b&&(E(a)?b=a:b=(b=a.parentNode)?Ia(b):a,document.documentElement.contains(a)&&(a.__shady.sa=b));return b}}function Qb(a,b,c){var d,e=c.B.$;if(a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||a.__noInsertionPoint)a.localName===e&&(P(b),P(a),d=!0);else for(var e=a.querySelectorAll(e),f=0,g,h;f<e.length&&(g=e[f]);f++)h=g.parentNode,h===a&&(h=b),h=Qb(g,h,c),d=d||h;return d}function Rb(a){return(a=
|
||||
a&&a.__shady&&a.__shady.root)&&a.pa()}function Ga(a){if(a.__shady&&void 0!==a.__shady.sa)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Ga(e);a.__shady=a.__shady||{};a.__shady.sa=void 0}function Pb(a){a=a.parentNode;if(Rb(a))return fa(a.__shady.root),!0}function fa(a){a.la=!0;a.update()}function Sb(a,b){"slot"===b?Pb(a):"slot"===a.localName&&"name"===b&&(a=Q(a))&&a.update()}function Tb(a,b,c){var d=[];Ub(a.childNodes,b,c,d);return d}function Ub(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 l=b,k=c,m=d,n=l(h);n&&m.push(h);k&&k(n)?h=n:(Ub(h.childNodes,l,k,m),h=void 0)}if(h)break}}function Vb(a){a=a.getRootNode();E(a)&&a.Ia()}function Wb(a,b,c){if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&L(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.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&
|
||||
((d=b.__shady&&b.__shady.parentNode)?(Ha(d,null,b),Ob(b)):(b.parentNode&&R.call(b.parentNode,b),Ga(b)));var d=c,e=Q(a),f;e&&(b.__noInsertionPoint&&!e.la&&(e.X=!0),f=Qb(b,a,e))&&(e.X=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(ub(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Nb(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
|
||||
b.__shady.lastChild=g;b.__shady.childNodes=g}else Nb(b,a,d);var g=f,h=e&&e.B.$||"",l=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=l&&l.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((l=l||b.localName===h)||a.localName===h||g)&&e&&fa(e);(e=Rb(a))&&fa(a.__shady&&a.__shady.root);if(!(e||l&&!f||a.__shady.root||d&&E(d.parentNode)&&d.parentNode.L)){if(c&&(d=Q(c))){var k;if(c.localName===d.B.$)a:{d=c.assignedNodes({flatten:!0});e=Ia(c);f=0;for(g=d.length;f<
|
||||
g&&(k=d[f]);f++)if(e.aa(c,k))break a;k=void 0}else k=c;c=k}k=E(a)?a.host:a;c?Ja.call(k,b,c):Xb.call(k,b)}Ha(a,b);return b}function Yb(a,b){if(a.ownerDocument!==document)return Ka.call(document,a,b);var c=Ka.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}function La(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 Zb(a,b){if(!E)return a;a=La(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Ma(a){function b(b,d){b=new a(b,d);b.ia=d&&!!d.composed;return b}ad(b,a);b.prototype=a.prototype;return b}function $b(a,b,c){if(c=b.A&&b.A[a.type]&&b.A[a.type][c])for(var d=0,e;(e=c[d])&&(e.call(b,a),!a.Ra);d++);}function gd(a){var b=a.composedPath(),c;Object.defineProperty(a,
|
||||
"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],$b(a,c,"capture"),a.ja)return;Object.defineProperty(a,"eventPhase",{value:Event.AT_TARGET});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if($b(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.ja)break}function ac(a,b,c,d,e,f){var g=a.type,h=a.capture,l=a.once,k=a.passive;return b===a.node&&c===g&&d===h&&e===l&&f===k}function hd(){for(var a in Na)window.addEventListener(a,
|
||||
function(a){a.__target||(bc(a),gd(a))},!0)}function bc(a){a.__target=a.target;a.ya=a.relatedTarget;if(C.T){var b=cc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.rb=c;ya(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else ya(a,cc)}function Y(a,b){return{index:a,V:[],Y:b}}function id(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==c[g])break a;g=l}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,m=0;m<
|
||||
l-g&&jd(a[--h],c[--k]);)m++;h=m}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=Y(e,0);f<d;)b.V.push(c[f++]);return[b]}if(f==d)return[Y(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(m=1;m<h;m++)if(a[l+m-1]===c[g+k-1])b[k][m]=b[k-1][m-1];else{var n=b[k-1][m]+1,q=b[k][m-1]+1;b[k][m]=n<q?n:q}l=b.length-1;g=b[0].length-1;d=b[l][g];for(a=[];0<l||0<g;)l?g?(h=b[l-1][g-1],k=b[l-1][g],m=b[l][g-1],n=k<m?k<h?k:h:m<
|
||||
h?m:h,n==h?(h==d?a.push(0):(a.push(1),d=h),l--,g--):n==k?(a.push(3),l--,d=k):(a.push(2),g--,d=m)):(a.push(3),l--):(a.push(2),g--);a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=Y(e,0));b.Y++;e++;b.V.push(c[f]);f++;break;case 2:b||(b=Y(e,0));b.Y++;e++;break;case 3:b||(b=Y(e,0)),b.V.push(c[f]),f++}b&&l.push(b);return l}function jd(a,b){return a===b}function dc(a){Vb(a);return a.__shady&&a.__shady.assignedSlot||null}function S(a,
|
||||
b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function ec(a){var b=kd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function m(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 Oa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function K(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)K(d,b,c);d=Oa(a,e);continue}else if("template"===f){d=Oa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)K(e,b,c)}d=d.firstChild?
|
||||
d.firstChild:Oa(a,d)}}function u(a,b,c){a[b]=c}function Pa(a){a=a.replace(F.bb,"").replace(F.port,"");var b=fc,c=a,d=new oa;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 oa;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 fc(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=ld(c),c=c.replace(F.Ga," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(F.ib)&&(a.type=H.ha,a.keyframesName=a.selector.split(F.Ga).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.ua);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)fc(f,b);return a}function ld(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 gc(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=gc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(F.Ba,"").replace(F.Fa,""),b=b.replace(F.jb,"").replace(F.ob,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function hc(a){a&&(y=y&&!a.nativeCss&&!a.shimcssproperties,
|
||||
v=v&&!a.nativeShadow&&!a.shimshadow)}function T(a,b){if(!a)return"";"string"===typeof a&&(a=Pa(a));b&&U(a,b);return gc(a,y)}function ga(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Pa(a.textContent));return a.__cssRules||null}function ic(a){return!!a.parent&&a.parent.type===H.ha}function U(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=a.selector.match(md);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.ha?c(a):f===H.ua&&(e=!0);if((a=a.rules)&&!e)for(var e=
|
||||
0,f=a.length,h;e<f&&(h=a[e]);e++)U(h,b,c,d)}}function Qa(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;jc(e,c,d);return e}function jc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);N?a.compareDocumentPosition(N)===Node.DOCUMENT_POSITION_PRECEDING&&(N=a):N=a}function kc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;
|
||||
d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=kc(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 ha(a,b){v?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function O(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,W:c}}function lc(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(),g;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(p.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?p.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=O(f).is,g!==f&&(g&&p.a(e,g,!0),p.a(e,f)))}}}}function nd(a){if(a=ia[a])a._applyShimCurrentVersion=
|
||||
a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function mc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function od(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,pd.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function eb(a){requestAnimationFrame(function(){nc?nc(a):(Ra||(Ra=new Promise(function(a){Sa=a}),"complete"===document.readyState?
|
||||
Sa():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&Sa()})),Ra.then(function(){a&&a()}))})}(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function c(a){if(m)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=
|
||||
b.closest("link[rel=import]");else for(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;if(c)for(var d=0,e=b.length,f;d<e&&(f=b[d]);d++)g(f,function(){--c||a()});else a()}function e(a){if("loading"!==document.readyState)a();else{var b=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",b),a())};document.addEventListener("readystatechange",b)}}function f(a){e(function(){return d(function(){return a&&
|
||||
a()})})}function g(a,b){if(a.__loaded)b&&b();else if(h(a)&&!m&&null===a.import||a.import&&"complete"===a.import.readyState)a.__loaded=!0,b&&b();else if("script"!==a.localName||a.src){var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);w&&"style"===a.localName||a.addEventListener("error",c)}else a.__loaded=!0,b&&b()}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function k(){var a=this;this.a={};this.b=0;
|
||||
this.f=new MutationObserver(function(b){return a.l(b)});this.f.observe(document.head,{childList:!0,subtree:!0});this.c(document)}var m="import"in document.createElement("link"),n=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return n||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var q=/(^\/)|(^#)|(^[\w-\d]*:)/,r=/(url\()([^)]*)(\))/g,t=/(@import[\s]+(?!url\())([^;]*)(;)/g,v=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,
|
||||
p={cb:function(a,b){a.href&&a.setAttribute("href",p.ta(a.getAttribute("href"),b));a.src&&a.setAttribute("src",p.ta(a.getAttribute("src"),b));if("style"===a.localName){var c=p.Ja(a.textContent,b,r);a.textContent=p.Ja(c,b,t)}},Ja:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=p.Ka(a,b));return c+"'"+a+"'"+e})},ta:function(a,b){return a&&q.test(a)?a:p.Ka(a,b)},Ka:function(a,b){if(void 0===p.ka){p.ka=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";p.ka="http://a/c%20d"===
|
||||
c.href}catch(Pd){}}if(p.ka)return(new URL(a,b)).href;c=p.Va;c||(c=document.implementation.createHTMLDocument("temp"),p.Va=c,c.wa=c.createElement("base"),c.head.appendChild(c.wa),c.va=c.createElement("a"));c.wa.href=b;c.va.href=a;return c.va.href||a}},y={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1],d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,y.async);e.onload=function(){var a=e.getResponseHeader("Location");
|
||||
a&&!a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},w=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.c=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,c=a.length;b<c;b++)this.h(a[b])};k.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];
|
||||
d&&d.__loaded&&(a.import=d,this.g(a))}else this.b++,this.a[c]="pending",y.load(c,function(a,d){a=b.m(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};k.prototype.m=function(a,b){if(!a)return document.createDocumentFragment();w&&(a=a.replace(v,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);
|
||||
if(c=a.querySelector("base"))b=p.ta(c.getAttribute("href"),b),c.removeAttribute("href");for(var c=a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),d=0,e=0,f=c.length,h;e<f&&(h=c[e]);e++)g(h),p.cb(h,b),h.setAttribute("import-dependency",""),"script"===h.localName&&!h.src&&h.textContent&&(h.setAttribute("src",
|
||||
"data:text/javascript;charset=utf-8,"+encodeURIComponent(h.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),h.textContent="",d++);return a};k.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.v(function(){c=!0;d()});this.o(function(){b=!0;d()})}};k.prototype.flatten=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,
|
||||
c=a.length,d;b<c&&(d=a[b]);b++){var e=this.a[d.href];(d.import=e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(this.a[d.href]=d,d.readyState="loading",d.import=d,this.flatten(e),d.appendChild(e))}};k.prototype.o=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");for(var k=0,l=f.attributes.length;k<l;k++)h.setAttribute(f.attributes[k].name,f.attributes[k].value);n=h;f.parentNode.replaceChild(h,f);g(h,function(){n=null;b(e+1)})}else a()}
|
||||
var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};k.prototype.v=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d)for(var e=w&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]"),f={},h=0,k=b.length;h<k&&(f.u=b[h]);f={u:f.u},h++){if(g(f.u,function(b){return function(){b.u.removeAttribute("import-dependency");--d||a()}}(f)),e&&f.u.parentNode!==document.head){var l=
|
||||
document.createElement(f.u.localName);l.__appliedElement=f.u;l.setAttribute("type","import-placeholder");f.u.parentNode.insertBefore(l,f.u.nextSibling);for(l=c(f.u);l&&c(l);)l=c(l);l.parentNode!==document.head&&(l=null);document.head.insertBefore(f.u,l);f.u.removeAttribute("type")}}else a()};k.prototype.j=function(){for(var a=document.querySelectorAll("link[rel=import]"),b=a.length-1,c;0<=b&&(c=a[b]);b--)this.g(c)};k.prototype.g=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState=
|
||||
"complete"),a.dispatchEvent(b(a.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};k.prototype.l=function(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.addedNodes)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];e&&e.nodeType===Node.ELEMENT_NODE&&(h(e)?this.h(e):this.c(e))}}};if(m){for(var u=document.querySelectorAll("link[rel=import]"),z=0,B=u.length,A;z<B&&(A=u[z]);z++)A.import&&"loading"===A.import.readyState||(A.__loaded=!0);u=function(a){a=a.target;h(a)&&(a.__loaded=
|
||||
!0)};document.addEventListener("load",u,!0);document.addEventListener("error",u,!0)}else{var x=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!x||x.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:x&&x.get?x.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,
|
||||
bubbles:!0,detail:void 0}))});a.useNative=m;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});var C=window.ShadyDOM||{};C.fb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Ta=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.T=!!(Ta&&Ta.configurable&&Ta.get);C.Ea=C.force||!C.fb;var V=Element.prototype,oc=V.matches||V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector,Aa=document.createTextNode(""),
|
||||
yb=0,za=[];(new MutationObserver(function(){for(;za.length;)try{za.shift()()}catch(a){throw Aa.textContent=yb++,a;}})).observe(Aa,{characterData:!0});var X=[],Ba;Ca.list=X;ea.prototype.mb=function(){var a=this;this.a||(this.a=!0,xb(function(){a.b()}))};ea.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.Z.forEach(function(b){b(a)})}};ea.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];
|
||||
this.addedNodes=[];this.removedNodes=[];return a}return[]};var Xb=Element.prototype.appendChild,Ja=Element.prototype.insertBefore,R=Element.prototype.removeChild,pc=Element.prototype.setAttribute,qc=Element.prototype.removeAttribute,Ua=Element.prototype.cloneNode,Ka=Document.prototype.importNode,rc=Element.prototype.addEventListener,sc=Element.prototype.removeEventListener,qd=Object.freeze({appendChild:Xb,insertBefore:Ja,removeChild:R,setAttribute:pc,removeAttribute:qc,cloneNode:Ua,importNode:Ka,
|
||||
addEventListener:rc,removeEventListener:sc}),cd=/[&\u00A0"]/g,fd=/[&\u00A0<>]/g,dd=Bb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ed=Bb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),x=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),rd=Object.freeze({parentNode:L,firstChild:wa,lastChild:xa,previousSibling:Cb,nextSibling:Db,childNodes:W,
|
||||
parentElement:Eb,firstElementChild:Fb,lastElementChild:Gb,previousElementSibling:Hb,nextElementSibling:Ib,children:Jb,innerHTML:Kb,textContent:Lb}),Va=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ja=document.implementation.createHTMLDocument("inert").createElement("div"),Wa=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Mb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentElement;
|
||||
return void 0!==a?a:Eb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:L(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Db(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Cb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",
|
||||
a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Ib(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Hb(this)},configurable:!0}},Ea={childNodes:{get:function(){if(this.__shady&&
|
||||
void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}return this.__shady.childNodes}return W(this)},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:wa(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:xa(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&
|
||||
void 0!==this.__shady.firstChild){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 Lb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=
|
||||
a.nextSibling;return a}return Fb(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Gb(this)},configurable:!0},children:{get:function(){return this.__shady&&void 0!==this.__shady.firstChild?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):Jb(this)},configurable:!0},innerHTML:{get:function(){var a="template"===
|
||||
this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Da(a):Kb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(Va&&Va.set?Va.set.call(ja,a):ja.innerHTML=a;ja.firstChild;)b.appendChild(ja.firstChild)},configurable:!0}},tc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Fa={activeElement:{get:function(){var a;
|
||||
a=Wa&&Wa.get?Wa.get.call(document):C.T?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=Q(a);b&&b!==this;)a=b.host,b=Q(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},vb=C.T?function(){}:function(a){a.__shady&&a.__shady.Ua||(a.__shady=a.__shady||{},a.__shady.Ua=!0,I(a,Mb,!0))},ub=C.T?function(){}:function(a){a.__shady&&a.__shady.Sa||(a.__shady=a.__shady||
|
||||
{},a.__shady.Sa=!0,I(a,Ea,!0),I(a,tc,!0))},ka=null,sd={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},cc={get composed(){!1!==this.isTrusted&&void 0===this.ia&&(this.ia=sd[this.type]);return this.ia||!1},composedPath:function(){this.xa||(this.xa=La(this.__target,this.composed));return this.xa},get target(){return Zb(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.ya)return null;this.za||(this.za=La(this.ya,!0));return Zb(this.currentTarget,this.za)},
|
||||
stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ja=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ja=this.Ra=!0}},Na={focus:!0,blur:!0},td=Ma(window.Event),ud=Ma(window.CustomEvent),vd=Ma(window.MouseEvent),wd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};B.prototype.eb=function(){return this.root.querySelectorAll("slot")};B.prototype.qa=
|
||||
function(a){return a.localName&&"slot"==a.localName};B.prototype.oa=function(){return this.root.pa()?this.g(this.c()):[]};B.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};B.prototype.g=function(a){for(var b=[],c=this.root.ma(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.pa()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=L(d))&&
|
||||
R.call(e,d);return b};B.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.Aa(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.na!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.na!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.na=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};B.prototype.Aa=function(a,b){var c=a.__shady.assignedNodes;
|
||||
if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.na=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};B.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};B.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};B.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.M=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.qa(d)){var e=
|
||||
d.__shady.M;if(e)for(var f=0;f<e.length;f++)a.__shady.M.push(e[f])}else a.__shady.M.push(b[c])};B.prototype.a=function(a){a.dispatchEvent(new wd("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};B.prototype.aa=function(a){return!a.__shady.assignedSlot};var tb={};q.prototype=Object.create(DocumentFragment.prototype);q.prototype.i=function(a){this.Ta="ShadyRoot";P(a);P(this);a.shadowRoot=this;this.host=a;this.la=this.L=!1;this.B=new B(this);this.update()};q.prototype.update=function(){var a=
|
||||
this;this.L||(this.L=!0,zb(function(){return a.Ia()}))};q.prototype.h=function(){for(var a=this,b=this;b;)b.L&&(a=b),b=b.Ya();return a};q.prototype.Ya=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.B.qa(d))return a};q.prototype.Ia=function(){this.L&&this.h()._render()};q.prototype._render=function(){this.la=this.L=!1;this.X||this.f();this.X=!1;this.oa();this.j()};q.prototype.oa=function(){for(var a=this.B.oa(),b=0;b<a.length;b++)a[b]._render()};
|
||||
q.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.B.Aa(c);a=this.a=this.B.eb();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},P(c),P(c.parentNode)};q.prototype.j=function(){this.g()};q.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.ma(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};q.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;
|
||||
for(var c=0;c<a.length;c++){var d=a[c];if(this.B.qa(d))for(var e=d.__shady.M||(d.__shady.M=[]),f=0;f<e.length;f++){var g=e[f];this.aa(d,g)&&b.push(g)}else b.push(d)}return b};q.prototype.aa=function(a,b){return this.B.aa(a,b)};q.prototype.c=function(a,b){for(var c=W(a),d=id(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.V.length&&(k=g.V[h]);h++)L(k)===a&&R.call(a,k),c.splice(g.index+f,1);f-=g.Y}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.Y;h++)k=
|
||||
b[h],Ja.call(a,k,f),c.splice(h,0,k)};q.prototype.pa=function(){return!(!this.a||!this.a.length)};q.prototype.ma=function(){this.a||this.f();return this.a};(function(a){I(a,Ea,!0);I(a,Fa,!0)})(q.prototype);var xd={addEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);if(b.w)for(var g=0;g<b.w.length;g++){if(ac(b.w[g],this,a,d,e,f))return}else b.w=[];g=function(d){e&&this.removeEventListener(a,b,c);d.__target||bc(d);if(d.composed||
|
||||
-1<d.composedPath().indexOf(this))if(d.eventPhase===Event.BUBBLING_PHASE&&d.target===d.relatedTarget)d.stopImmediatePropagation();else return b.call(this,d)};b.w.push({node:this,type:a,capture:d,once:e,passive:f,pb:g});Na[a]?(this.A=this.A||{},this.A[a]=this.A[a]||{capture:[],bubble:[]},this.A[a][d?"capture":"bubble"].push(g)):rc.call(this,a,g,c)}},removeEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=void 0;if(b.w)for(var h=
|
||||
0;h<b.w.length;h++)if(ac(b.w[h],this,a,d,e,f)){g=b.w.splice(h,1)[0].pb;b.w.length||(b.w=void 0);break}sc.call(this,a,g||b,c);g&&Na[a]&&this.A&&this.A[a]&&(a=this.A[a][d?"capture":"bubble"],g=a.indexOf(g),-1<g&&a.splice(g,1))}},appendChild:function(a){return Wb(this,a)},insertBefore:function(a,b){return Wb(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+a);if(!Ob(a)){var b=E(this)?this.host:this,c=L(a);b===c&&R.call(b,a)}Ha(this,
|
||||
null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=Ua.call(this,a);else if(b=Ua.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Ia(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof
|
||||
Document);)a=a.parentNode||(a instanceof q?a.host:void 0);return!!(a&&a instanceof Document)}},yd={get assignedSlot(){return dc(this)}},Xa={querySelector:function(a){return Tb(this,function(b){return oc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return Tb(this,function(b){return oc.call(b,a)})}},uc={assignedNodes:function(a){if("slot"===this.localName)return Vb(this),this.__shady?(a&&a.flatten?this.__shady.M:this.__shady.assignedNodes)||[]:[]}},vc=wb({setAttribute:function(a,
|
||||
b){ka||(ka=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ka&&"class"===a?ka.setElementClass(this,b):(pc.call(this,a,b),Sb(this,a))},removeAttribute:function(a){qc.call(this,a);Sb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new q(tb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},get assignedSlot(){return dc(this)}},Xa,uc);Object.defineProperties(vc,tc);var wc=wb({importNode:function(a,
|
||||
b){return Yb(a,b)}},Xa);Object.defineProperties(wc,{_activeElement:Fa.activeElement});C.Ea&&(window.ShadyDOM={inUse:C.Ea,patch:function(a){return a},isShadyRoot:E,enqueue:zb,flush:Ca,settings:C,filterMutations:bd,observeChildren:$c,unobserveChildren:Zc,nativeMethods:qd,nativeTree:rd},window.Event=td,window.CustomEvent=ud,window.MouseEvent=vd,hd(),S(window.Node.prototype,xd),S(window.Text.prototype,yd),S(window.DocumentFragment.prototype,Xa),S(window.Element.prototype,vc),S(window.Document.prototype,
|
||||
wc),window.HTMLSlotElement&&S(window.HTMLSlotElement.prototype,uc),C.T&&(M(window.Node.prototype),M(window.Text.prototype),M(window.DocumentFragment.prototype),M(window.Element.prototype),M((window.customElements&&window.customElements.nativeHTMLElement||HTMLElement).prototype),M(window.Document.prototype),window.HTMLSlotElement&&M(window.HTMLSlotElement.prototype)),window.ShadowRoot=q);var kd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));
|
||||
z.prototype.J=function(a,b){this.m.set(a,b);this.l.set(b.constructor,b)};z.prototype.f=function(a){return this.m.get(a)};z.prototype.I=function(a){return this.l.get(a)};z.prototype.o=function(a){this.h=!0;this.i.push(a)};z.prototype.j=function(a){var b=this;this.h&&K(a,function(a){return b.g(a)})};z.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};z.prototype.b=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=
|
||||
b[a];1===c.__CE_state?this.connectedCallback(c):this.v(c)}};z.prototype.a=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};z.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];K(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=
|
||||
a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,new Set(b),b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.v(d[a])};z.prototype.v=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=
|
||||
2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}m(a)&&this.connectedCallback(a)}}};z.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};z.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};z.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)};va.prototype.c=function(){this.K&&this.K.disconnect()};va.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};sb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};w.prototype.i=
|
||||
function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!ec(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=m[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
|
||||
return b},m=b.prototype;if(!(m instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(Od){return}finally{this.f=!1}this.a.J(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=
|
||||
!0,this.g(function(){return c.l()}))};w.prototype.l=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};w.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};w.prototype.o=function(a){if(!ec(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new sb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};w.prototype.m=function(a){this.j.c();
|
||||
var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.i;w.prototype.get=w.prototype.get;w.prototype.whenDefined=w.prototype.o;w.prototype.polyfillWrapFlushCallback=w.prototype.m;var ra=window.Document.prototype.createElement,Uc=window.Document.prototype.createElementNS,Tc=window.Document.prototype.importNode,Vc=window.Document.prototype.prepend,Wc=window.Document.prototype.append,hb=window.Node.prototype.cloneNode,ca=window.Node.prototype.appendChild,
|
||||
pb=window.Node.prototype.insertBefore,sa=window.Node.prototype.removeChild,qb=window.Node.prototype.replaceChild,ua=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),gb=window.Element.prototype.attachShadow,pa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),ta=window.Element.prototype.getAttribute,ib=window.Element.prototype.setAttribute,kb=window.Element.prototype.removeAttribute,da=window.Element.prototype.getAttributeNS,jb=window.Element.prototype.setAttributeNS,
|
||||
lb=window.Element.prototype.removeAttributeNS,nb=window.Element.prototype.insertAdjacentElement,Kc=window.Element.prototype.prepend,Lc=window.Element.prototype.append,Nc=window.Element.prototype.before,Oc=window.Element.prototype.after,Pc=window.Element.prototype.replaceWith,Qc=window.Element.prototype.remove,Yc=window.HTMLElement,qa=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),mb=window.HTMLElement.prototype.insertAdjacentElement,rb=new function(){},la=window.customElements;
|
||||
if(!la||la.forcePolyfill||"function"!=typeof la.define||"function"!=typeof la.get){var Z=new z;Xc(Z);Sc(Z);Rc(Z);Ic(Z);document.__CE_hasRegistry=!0;var zd=new w(Z);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:zd})}var H={STYLE_RULE:1,ha:7,MEDIA_RULE:4,ua:1E3},F={bb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ba:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Fa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,jb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,
|
||||
ob:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,ib:/^@[^\s]*keyframes/,Ga:/\s+/g},v=!(window.ShadyDOM&&window.ShadyDOM.inUse),y=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?hc(window.ShadyCSS):window.WebComponents&&hc(window.WebComponents.flags);var xc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,yc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ad=/(--[\w-]+)\s*([:,;)]|$)/gi,Bd=/(animation\s*:)|(animation-name\s*:)/,
|
||||
md=/@media[^(]*(\([^)]*\))/,Cd=/\{[^}]*\}/g,N=null;r.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};r.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.v(a,b,c);if(a="template"===a.localName?(a.content||a.sb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};r.prototype.v=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));
|
||||
else if(a.getAttribute){var d=a.getAttribute(Dd);c?d&&(b=d.replace("style-scope","").replace(b,""),ha(a,b)):ha(a,(d?d+" ":"")+"style-scope "+b)}};r.prototype.b=function(a,b,c){var d=a.__cssBuild;v||"shady"===d?b=T(b,c):(a=O(a),b=this.P(b,a.is,a.W,c)+"\n\n");return b.trim()};r.prototype.P=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return T(a,function(a){a.c||(f.S(a,b,e),a.c=!0);d&&d(a,b,e)})};r.prototype.h=function(a){return a?Ed+a:""};r.prototype.f=function(a,b){return b?"[is="+a+
|
||||
"]":a};r.prototype.S=function(a,b,c){this.j(a,this.g,b,c)};r.prototype.j=function(a,b,c,d){a.selector=a.C=this.l(a,b,c,d)};r.prototype.l=function(a,b,c,d){var e=a.selector.split(zc);if(!ic(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(zc)};r.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Fd,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Gd,Ya+" $1");return a=a.replace(Hd,function(a,g,h){e||(a=d.I(h,g,b,c),e=e||a.stop,
|
||||
g=a.ab,h=a.value);return g+h})};r.prototype.I=function(a,b,c,d){var e=a.indexOf(Za);0<=a.indexOf(Ya)?a=this.O(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,c&&(a=a.replace(Id,function(a,b){return" > "+b})));a=a.replace(Jd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,ab:b,stop:f}};r.prototype.m=function(a,b){a=a.split(Ac);a[0]+=b;return a.join(Ac)};r.prototype.O=function(a,b){var c=a.match(Bc);return(c=c&&c[2].trim()||"")?c[0].match(Cc)?a.replace(Bc,
|
||||
function(a,c,f){return b+f}):c.split(Cc)[0]===b?c:Kd:a.replace(Ya,b)};r.prototype.R=function(a){a.selector=a.parsedSelector;this.o(a);this.j(a,this.J)};r.prototype.o=function(a){a.selector===Ld&&(a.selector="html")};r.prototype.J=function(a){return a.match(Za)?this.g(a,Dc):this.m(a.trim(),Dc)};db.Object.defineProperties(r.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Fd=/:(nth[-\w]+)\(([^)]+)\)/,Dc=":not(.style-scope)",zc=",",Hd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,
|
||||
Cc=/[[.:#*]/,Ya=":host",Ld=":root",Za="::slotted",Gd=new RegExp("^("+Za+")"),Bc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Id=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Jd=/(.*):dir\((?:(ltr|rtl))\)/,Ed=".",Ac=":",Dd="class",Kd="should_not_match",p=new r;t.get=function(a){return a?a.__styleInfo:null};t.set=function(a,b){return a.__styleInfo=b};t.prototype.c=function(){return this.G};t.prototype._getStyleRules=t.prototype.c;var Ec=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||
|
||||
a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Md=navigator.userAgent.match("Trident");n.prototype.S=function(a){var b=this,c={},d=[],e=0;U(a,function(a){b.c(a);a.index=e++;b.R(a.s.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};n.prototype.c=function(a){if(!a.s){var b={},c={};this.b(a,c)&&(b.F=c,a.rules=null);b.cssText=this.P(a);a.s=b}};n.prototype.b=function(a,b){var c=a.s;if(c){if(c.F)return Object.assign(b,c.F),!0}else{for(var c=
|
||||
a.parsedCssText,d;a=xc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};n.prototype.P=function(a){return this.O(a.parsedCssText)};n.prototype.O=function(a){return a.replace(Cd,"").replace(xc,"")};n.prototype.R=function(a,b){for(var c;c=Ad.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};n.prototype.ea=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};n.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=
|
||||
this.f(a,b);else{var c=this;a=kc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};n.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){yc.lastIndex=0;if(e=yc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||
|
||||
""}return a.join(";")};n.prototype.J=function(a,b){var c="";a.s||this.c(a);a.s.cssText&&(c=this.f(a.s.cssText,b));a.cssText=c};n.prototype.I=function(a,b){var c=a.cssText,d=a.cssText;null==a.Da&&(a.Da=Bd.test(c));if(a.Da)if(null==a.ba){a.ba=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ba.push(e))}else{for(e=0;e<a.ba.length;++e)d=b[a.ba[e]],c=d(c);d=c}a.cssText=d};n.prototype.da=function(a,b){var c={},d=this,e=[];U(a,function(a){a.s||d.c(a);var f=a.C||a.parsedSelector;b&&a.s.F&&f&&Ec.call(b,f)&&(d.b(a,
|
||||
c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{F:c,key:e}};n.prototype.ga=function(a,b,c,d){b.s||this.c(b);if(b.s.F){var e=O(a);a=e.is;var e=e.W,e=a?p.f(a,e):"html",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&&(v&&!b.C&&(b.C=p.l(b,p.g,p.h(a),e)),c=b.C||e),d({nb:c,hb:h,ub:g})}};n.prototype.ca=
|
||||
function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;U(b,function(b){e.ga(a,b,f,function(f){Ec.call(a.tb||a,f.nb)&&(f.hb?e.b(b,c):e.b(b,d))})},null,!0);return{lb:d,gb:c}};n.prototype.fa=function(a,b,c){var d=this,e=O(a),f=p.f(e.is,e.W),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=t.get(a).G,h=this.h(e,c);return p.b(a,e,function(a){d.J(a,b);v||ic(a)||!a.cssText||(d.I(a,h),d.l(a,g,f,c))})};n.prototype.h=function(a,b){a=a.b;var c={};if(!v&&a)for(var d=0,e=
|
||||
a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};n.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};n.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.C=a.C||a.selector;a.selector=a.C.replace(a.keyframesName,a.a)};n.prototype.l=function(a,b,c,d){a.C=a.C||a.selector;d="."+d;for(var e=a.C.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};n.prototype.o=
|
||||
function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ha(a,e)};n.prototype.v=function(a,b,c,d){b=d?d.textContent||"":this.fa(a,b,c);var e=t.get(a),f=e.a;f&&!v&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));v?e.a?(e.a.textContent=b,d=e.a):b&&(d=Qa(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Md&&-1<b.indexOf("@media")&&(d.textContent=b),jc(d,null,e.b)):b&&(d=Qa(b,c,null,
|
||||
e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};n.prototype.m=function(a,b){var c=ga(a),d=this;a.textContent=T(c,function(a){var c=a.cssText=a.parsedCssText;a.s&&a.s.cssText&&(c=c.replace(F.Ba,"").replace(F.Fa,""),a.cssText=d.f(c,b))})};db.Object.defineProperties(n.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var J=new n,$a={},ma=window.customElements;if(ma&&!v){var Nd=ma.define;ma.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+
|
||||
a+" "),e=document.head;e.insertBefore(d,(N?N.nextSibling:null)||e.firstChild);N=d;$a[a]=d;return Nd.call(ma,a,b,c)}}ba.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.F[e]!==b[e])return!1}return!0};ba.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({F:b,styleElement:c,D:d});e.length>this.f&&e.shift();this.cache[a]=e};ba.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.b(e,b,c))return e}};if(!v){var Fc=new MutationObserver(lc),
|
||||
Gc=function(a){Fc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Gc(document);else{var ab=function(){Gc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(ab):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){ab();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else ab()})}fb=function(){lc(Fc.takeRecords())}}var ia={},pd=Promise.resolve(),
|
||||
Ra=null,nc=window.HTMLImports&&window.HTMLImports.whenReady||null,Sa,na=null,aa=null;D.prototype.Ca=function(){!this.enqueued&&aa&&(this.enqueued=!0,eb(aa))};D.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Ca())};D.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};D.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);
|
||||
if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;na&&na(d);c.__shadyCSSCachedStyle=d}}}return a};D.prototype.addCustomStyle=D.prototype.b;D.prototype.getStyleForCustomStyle=D.prototype.a;D.prototype.processStyles=D.prototype.c;Object.defineProperties(D.prototype,{transformCallback:{get:function(){return na},set:function(a){na=a}},validateCallback:{get:function(){return aa},set:function(a){var b=!1;aa||(b=!0);aa=
|
||||
a;b&&this.Ca()}}});var Hc=new ba;k.prototype.I=function(){fb()};k.prototype.ca=function(a){var b=this.m[a]=(this.m[a]||0)+1;return a+"-"+b};k.prototype.Oa=function(a){return ga(a)};k.prototype.Qa=function(a){return T(a)};k.prototype.S=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.ea=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||
|
||||
"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ia[b]=a;var d=this.ea(a),e=this.S(a);c={is:b,extends:c,qb:d};v||p.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Pa(e);f&&y&&this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];y||(d=J.S(a._styleAst));if(!d.length||y)b=this.da(c,a._styleAst,v?a.content:null,$a[b]),a.a=b;a.c=d}};k.prototype.da=function(a,b,c,d){b=p.b(a,b);if(b.length)return Qa(b,a.is,c,d)};k.prototype.ga=function(a){var b=O(a),c=b.is,b=b.W,
|
||||
d=$a[c],c=ia[c],e,f;c&&(e=c._styleAst,f=c.c);return t.set(a,new t(e,d,f,0,b))};k.prototype.P=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=nd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.R=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=
|
||||
function(b){a.v(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=function(){return null},b)}};k.prototype.c=function(){this.P();this.R()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(y?this.Ma(a):(this.o(this.g,this.h),this.J(a)),this.a.enqueued=!1,this.i&&!y&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=
|
||||
O(a).is,d=t.get(a);d||(d=this.ga(a));this.j(a)||(this.i=!0);b&&(d.N=d.N||{},Object.assign(d.N,b));if(y){if(d.N){b=d.N;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ia[c])||this.j(a))&&e&&e.a&&!mc(e)){if(mc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=p.b(a,d.G),od(e);v&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=p.b(a,d.G));d.G=e._styleAst}}else this.o(a,d),d.ra&&d.ra.length&&
|
||||
this.O(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?t.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.O=function(a,b){var c=O(a).is,d=Hc.a(c,b.H,b.ra),e=d?d.styleElement:null,f=b.D;b.D=d&&d.D||this.ca(c);e=J.v(a,b.H,b.D,e);v||J.o(a,b.D,f);d||Hc.c(c,b.H,e,b.D)};k.prototype.o=function(a,b){var c=this.l(a),d=t.get(c),c=Object.create(d.H||null),e=J.ca(a,b.G);a=J.da(d.G,a).F;Object.assign(c,e.gb,a,e.lb);this.fa(c,b.N);J.ea(c);b.H=c};k.prototype.fa=
|
||||
function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Ma=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.La(c)}};
|
||||
k.prototype.J=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&J.m(c,this.h.H)}};k.prototype.v=function(a){var b=this,c=ga(a);U(c,function(a){v?p.o(a):p.R(a);y&&(b.c(),b.b.transformRule(a))});y?a.textContent=T(c):this.h.G.rules.push(c)};k.prototype.La=function(a){if(y){var b=ga(a);this.c();this.b.transformRules(b);a.textContent=T(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;y||(c=(t.get(a)||t.get(this.l(a))).H[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?
|
||||
c.trim():""};k.prototype.Pa=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)for(var d=d.split(/\s/),e=0;e<d.length;e++)if(d[e]===p.c){c=d[e+1];break}}c&&b.push(p.c,c);y||(c=t.get(a))&&c.D&&b.push(J.g,c.D);ha(a,b.join(" "))};k.prototype.Na=function(a){return t.get(a)};k.prototype.flush=k.prototype.I;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=
|
||||
k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Pa;k.prototype._styleInfoForNode=k.prototype.Na;k.prototype.transformCustomStyleForDocument=k.prototype.v;k.prototype.getStyleAst=k.prototype.Oa;k.prototype.styleAstToString=k.prototype.Qa;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return v}},nativeCss:{get:function(){return y}}});
|
||||
var G=new k,bb,cb;window.ShadyCSS&&(bb=window.ShadyCSS.ApplyShim,cb=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:G,prepareTemplate:function(a,b,c){G.f();G.prepareTemplate(a,b,c)},styleSubtree:function(a,b){G.f();G.styleSubtree(a,b)},styleElement:function(a){G.f();G.styleElement(a)},styleDocument:function(a){G.f();G.styleDocument(a)},getComputedStyleValue:function(a,b){return G.getComputedStyleValue(a,b)},nativeCss:y,nativeShadow:v};bb&&(window.ShadyCSS.ApplyShim=bb);cb&&(window.ShadyCSS.CustomStyleInterface=
|
||||
cb);(function(){var a=window.customElements,b=window.HTMLImports;if(a&&a.polyfillWrapFlushCallback){var c,d=function(){if(c){var a=c;c=null;a();return!0}},e=b.whenReady;a.polyfillWrapFlushCallback(function(a){c=a;e(d)});b.whenReady=function(a){e(function(){d()?b.whenReady(a):a()})}}b.whenReady(function(){requestAnimationFrame(function(){document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var a=document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";
|
||||
var b=document.querySelector("head");b.insertBefore(a,b.firstChild)})()})();
|
||||
'use strict';var gb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
|
||||
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new pa;b.rules=[];this.h=v.set(this.g,new v(b));this.i=!1;this.a=this.b=null;hb(function(){a.c()})}function D(){this.customStyles=[];this.enqueued=!1}function ib(){}function ba(a){this.cache={};this.f=void 0===a?100:a}function n(){}function v(a,b,c,d,e){this.G=a||null;this.b=b||null;this.sa=c||[];this.N=null;this.W=e||"";this.a=this.C=this.H=null}function r(){}function pa(){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 Kc(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;m(this)&&(e=[],K(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
|
||||
return b}})}function c(b,c){y(b,"insertAdjacentElement",function(b,d){var e=m(d);b=c.call(this,b,d);e&&a.a(d);m(b)&&a.b(d);return b})}jb?y(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=jb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(ra&&ra.get)b(Element.prototype,ra);else if(sa&&sa.get)b(HTMLElement.prototype,sa);else{var d=ta.call(document,"div");a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return kb.call(this,
|
||||
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)ua.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)da.call(b,d.childNodes[0])}})})}y(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return lb.call(this,b,c);var d=va.call(this,b);lb.call(this,b,c);c=va.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});y(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return mb.call(this,
|
||||
b,c,d);var e=ea.call(this,b,c);mb.call(this,b,c,d);d=ea.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});y(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return nb.call(this,b);var c=va.call(this,b);nb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});y(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return ob.call(this,b,c);var d=ea.call(this,b,c);ob.call(this,b,c);var e=ea.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
|
||||
c,d,e,b)});pb?c(HTMLElement.prototype,pb):qb?c(Element.prototype,qb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");rb(a,Element.prototype,{Ia:Lc,append:Mc});Nc(a,{ab:Oc,$a:Pc,lb:Qc,remove:Rc})}function Nc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.ab.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],
|
||||
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.$a.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&m(a)}),g=m(this);b.lb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
|
||||
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=m(this);b.remove.call(this);c&&a.a(this)}}function Sc(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&m(this))for(var c=Array(h),l=0;l<h;l++)c[l]=e[l]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
|
||||
y(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=sb.call(this,b,d);if(m(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=m(b);d=sb.call(this,b,d);c&&a.a(b);m(this)&&a.b(b);return d});y(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=da.call(this,b);if(m(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=m(b);e=da.call(this,b);c&&a.a(b);m(this)&&
|
||||
a.b(b);return e});y(Node.prototype,"cloneNode",function(b){b=kb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});y(Node.prototype,"removeChild",function(b){var c=m(b),e=ua.call(this,b);c&&a.a(b);return e});y(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=tb.call(this,b,d);if(m(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=m(b),f=tb.call(this,b,d),g=m(this);g&&a.a(d);c&&a.a(b);g&&
|
||||
a.b(b);return f});wa&&wa.get?b(Node.prototype,wa):a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)ua.call(this,this.firstChild);da.call(this,document.createTextNode(a))}})})}function Tc(a){y(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=ta.call(this,b);a.g(b);return b});
|
||||
y(Document.prototype,"importNode",function(b,c){b=Uc.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});y(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=Vc.call(this,b,c);a.g(b);return b});rb(a,Document.prototype,{Ia:Wc,append:Xc})}function rb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
|
||||
Node&&m(a)});c.Ia.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function Yc(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.I(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
|
||||
var e=d.constructionStack;if(!e.length)return e=ta.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===ub)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=ub;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=Zc.prototype;return b}()}function t(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
|
||||
[];this.i=new xa(a,document)}function vb(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function xa(a,b){this.b=a;this.a=b;this.K=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.K=new MutationObserver(this.f.bind(this)),this.K.observe(this.a,{childList:!0,subtree:!0}))}function A(){this.m=new Map;this.l=new Map;this.i=[];this.h=!1}function q(a,b){if(a!==wb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
|
||||
q.prototype;a.i(b);return a}function z(a){this.root=a;this.$="slot"}function Q(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=ya(a);a.__shady.lastChild=za(a);xb(a);for(var b=a.__shady.childNodes=W(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,yb(d)}}function $c(a){var b=a&&a.K;b&&(b.Z.delete(a.Xa),b.Z.size||(a.Ya.__shady.U=null))}function ad(a,
|
||||
b){a.__shady=a.__shady||{};a.__shady.U||(a.__shady.U=new fa);a.__shady.U.Z.add(b);var c=a.__shady.U;return{Xa:b,K:c,Ya:a,takeRecords:function(){return c.takeRecords()}}}function fa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.Z=new Set}function E(a){return"ShadyRoot"===a.Ua}function R(a){a=a.getRootNode();if(E(a))return a}function Aa(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 Ba(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Aa(a,c[d]);return a}function bd(a,b){for(var c in b)a[c]=b[c]}function zb(a){Ca.push(a);Da.textContent=Ab++}function Bb(a){Ea||(Ea=!0,zb(Fa));X.push(a)}function Fa(){Ea=!1;for(var a=!!X.length;X.length;)X.shift()();return a}function cd(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
|
||||
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Cb(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function Db(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ga(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++){var h;
|
||||
a:{var l;h=g;l=a;var ca=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,m="<"+k,n=h.attributes,q=0;l=n[q];q++)m+=" "+l.name+'="'+l.value.replace(dd,Cb)+'"';m+=">";h=ed[k]?m:m+Ga(h,ca)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&fd[l.localName]?h:h.replace(gd,Cb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function L(a){x.currentNode=a;return x.parentNode()}function ya(a){x.currentNode=
|
||||
a;return x.firstChild()}function za(a){x.currentNode=a;return x.lastChild()}function Eb(a){x.currentNode=a;return x.previousSibling()}function Fb(a){x.currentNode=a;return x.nextSibling()}function W(a){var b=[];x.currentNode=a;for(a=x.firstChild();a;)b.push(a),a=x.nextSibling();return b}function Gb(a){B.currentNode=a;return B.parentNode()}function Hb(a){B.currentNode=a;return B.firstChild()}function Ib(a){B.currentNode=a;return B.lastChild()}function Jb(a){B.currentNode=a;return B.previousSibling()}
|
||||
function Kb(a){B.currentNode=a;return B.nextSibling()}function Lb(a){var b=[];B.currentNode=a;for(a=B.firstChild();a;)b.push(a),a=B.nextSibling();return b}function Mb(a){return Ga(a,function(a){return W(a)})}function Nb(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function I(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 M(a){I(a,Ob);I(a,Ha);I(a,Ia)}function Pb(a,b,c){yb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=
|
||||
a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Qb(a){var b=a.__shady&&a.__shady.parentNode,c,d=R(a);if(b||d){c=Rb(a);if(b){a.__shady=a.__shady||{};b.__shady=b.__shady||{};a===b.__shady.firstChild&&(b.__shady.firstChild=a.__shady.nextSibling);a===b.__shady.lastChild&&(b.__shady.lastChild=a.__shady.previousSibling);var e=a.__shady.previousSibling,f=a.__shady.nextSibling;e&&(e.__shady=e.__shady||{},e.__shady.nextSibling=f);f&&(f.__shady=f.__shady||{},f.__shady.previousSibling=
|
||||
e);a.__shady.parentNode=a.__shady.previousSibling=a.__shady.nextSibling=void 0;void 0!==b.__shady.childNodes&&(b.__shady.childNodes=null)}if(e=d){for(var g,e=d.na(),f=0;f<e.length;f++){var h=e[f],l;a:{for(l=h;l;){if(l==a){l=!0;break a}l=l.parentNode}l=void 0}if(l)for(h=h.assignedNodes({flatten:!0}),l=0;l<h.length;l++){g=!0;var ca=h[l],k=L(ca);k&&S.call(k,ca)}}e=g}b=b&&d&&b.localName===d.A.$;if(e||b)d.X=!1,ga(d)}Ja(a);return c}function Ka(a,b,c){if(a=a.__shady&&a.__shady.U)b&&a.addedNodes.push(b),
|
||||
c&&a.removedNodes.push(c),a.nb()}function La(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.ta;void 0===b&&(E(a)?b=a:b=(b=a.parentNode)?La(b):a,document.documentElement.contains(a)&&(a.__shady.ta=b));return b}}function Sb(a,b,c){var d,e=c.A.$;if(a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||a.__noInsertionPoint)a.localName===e&&(Q(b),Q(a),d=!0);else for(var e=a.querySelectorAll(e),f=0,g,h;f<e.length&&(g=e[f]);f++)h=g.parentNode,h===a&&(h=b),h=Sb(g,h,c),d=d||h;return d}function Tb(a){return(a=
|
||||
a&&a.__shady&&a.__shady.root)&&a.qa()}function Ja(a){if(a.__shady&&void 0!==a.__shady.ta)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Ja(e);a.__shady=a.__shady||{};a.__shady.ta=void 0}function Rb(a){a=a.parentNode;if(Tb(a))return ga(a.__shady.root),!0}function ga(a){a.ma=!0;a.update()}function Ub(a,b){"slot"===b?Rb(a):"slot"===a.localName&&"name"===b&&(a=R(a))&&a.update()}function Vb(a,b,c){var d=[];Wb(a.childNodes,b,c,d);return d}function Wb(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 l=b,k=c,qa=d,m=l(h);m&&qa.push(h);k&&k(m)?h=m:(Wb(h.childNodes,l,k,qa),h=void 0)}if(h)break}}function Xb(a){a=a.getRootNode();E(a)&&a.Ja()}function Yb(a,b,c){if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&L(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.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&
|
||||
((d=b.__shady&&b.__shady.parentNode)?(Ka(d,null,b),Qb(b)):(b.parentNode&&S.call(b.parentNode,b),Ja(b)));var d=c,e=R(a),f;e&&(b.__noInsertionPoint&&!e.ma&&(e.X=!0),f=Sb(b,a,e))&&(e.X=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(xb(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Pb(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
|
||||
b.__shady.lastChild=g;b.__shady.childNodes=g}else Pb(b,a,d);var g=f,h=e&&e.A.$||"",l=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=l&&l.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((l=l||b.localName===h)||a.localName===h||g)&&e&&ga(e);(e=Tb(a))&&ga(a.__shady&&a.__shady.root);if(!(e||l&&!f||a.__shady.root||d&&E(d.parentNode)&&d.parentNode.L)){if(c&&(d=R(c))){var k;if(c.localName===d.A.$)a:{d=c.assignedNodes({flatten:!0});e=La(c);f=0;for(g=d.length;f<
|
||||
g&&(k=d[f]);f++)if(e.aa(c,k))break a;k=void 0}else k=c;c=k}k=E(a)?a.host:a;c?Ma.call(k,b,c):Zb.call(k,b)}Ka(a,b);return b}function $b(a,b){if(a.ownerDocument!==document)return Na.call(document,a,b);var c=Na.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=$b(a[b],!0),c.appendChild(d)}return c}function Oa(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 ac(a,b){if(!E)return a;a=Oa(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Pa(a){function b(b,d){b=new a(b,d);b.ia=d&&!!d.composed;return b}bd(b,a);b.prototype=a.prototype;return b}function bc(a,b,c){if(c=b.w&&b.w[a.type]&&b.w[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.Sa);d++);}function hd(a){var b=a.composedPath(),
|
||||
c;Object.defineProperty(a,"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],bc(a,c,"capture"),a.ja)return;Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if(bc(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.ja)break}function cc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],l=h.type,k=h.capture,m=h.once,n=h.passive;if(b===h.node&&c===l&&d===
|
||||
k&&e===m&&f===n)return g}return-1}function id(){for(var a in Qa)window.addEventListener(a,function(a){a.__target||(dc(a),hd(a))},!0)}function dc(a){a.__target=a.target;a.za=a.relatedTarget;if(C.T){var b=ec,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.sb=c;Aa(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Aa(a,ec)}function Y(a,b){return{index:a,V:[],Y:b}}function jd(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==
|
||||
c[g])break a;g=l}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,m=0;m<l-g&&kd(a[--h],c[--k]);)m++;h=m}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=Y(e,0);f<d;)b.V.push(c[f++]);return[b]}if(f==d)return[Y(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(m=1;m<h;m++)if(a[l+m-1]===c[g+k-1])b[k][m]=b[k-1][m-1];else{var n=b[k-1][m]+1,q=b[k][m-1]+1;b[k][m]=n<q?n:q}l=b.length-1;g=b[0].length-1;d=b[l][g];
|
||||
for(a=[];0<l||0<g;)l?g?(h=b[l-1][g-1],k=b[l-1][g],m=b[l][g-1],n=k<m?k<h?k:h:m<h?m:h,n==h?(h==d?a.push(0):(a.push(1),d=h),l--,g--):n==k?(a.push(3),l--,d=k):(a.push(2),g--,d=m)):(a.push(3),l--):(a.push(2),g--);a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=Y(e,0));b.Y++;e++;b.V.push(c[f]);f++;break;case 2:b||(b=Y(e,0));b.Y++;e++;break;case 3:b||(b=Y(e,0)),b.V.push(c[f]),f++}b&&l.push(b);return l}function kd(a,b){return a===b}function fc(a){Xb(a);
|
||||
return a.__shady&&a.__shady.assignedSlot||null}function N(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function ld(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;N(window.Node.prototype,md);N(window.Text.prototype,nd);N(window.DocumentFragment.prototype,Ra);N(window.Element.prototype,gc);N(window.Document.prototype,hc);window.HTMLSlotElement&&
|
||||
N(window.HTMLSlotElement.prototype,ic);N(a.prototype,od);C.T&&(M(window.Node.prototype),M(window.Text.prototype),M(window.DocumentFragment.prototype),M(window.Element.prototype),M(a.prototype),M(window.Document.prototype),window.HTMLSlotElement&&M(window.HTMLSlotElement.prototype))}function jc(a){var b=pd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function m(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 Sa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function K(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)K(d,b,c);d=Sa(a,e);continue}else if("template"===
|
||||
f){d=Sa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)K(e,b,c)}d=d.firstChild?d.firstChild:Sa(a,d)}}function y(a,b,c){a[b]=c}function Ta(a){a=a.replace(F.cb,"").replace(F.port,"");var b=kc,c=a,d=new pa;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,l=h.rules[h.rules.length-1]||null,e=new pa;e.start=f+1;e.parent=h;e.previous=l;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function kc(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=qd(c),c=c.replace(F.Ha," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(F.jb)&&(a.type=H.ha,a.keyframesName=a.selector.split(F.Ha).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.va);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)kc(f,b);
|
||||
return a}function qd(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 lc(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=lc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(F.Ca,"").replace(F.Ga,""),b=b.replace(F.kb,"").replace(F.pb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+
|
||||
" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function mc(a){a&&(w=w&&!a.nativeCss&&!a.shimcssproperties,p=p&&!a.nativeShadow&&!a.shimshadow)}function T(a,b){if(!a)return"";"string"===typeof a&&(a=Ta(a));b&&U(a,b);return lc(a,w)}function ha(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ta(a.textContent));return a.__cssRules||null}function nc(a){return!!a.parent&&a.parent.type===H.ha}function U(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=a.selector.match(rd);g&&(window.matchMedia(g[1]).matches||
|
||||
(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.ha?c(a):f===H.va&&(e=!0);if((a=a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)U(h,b,c,d)}}function Ua(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;oc(e,c,d);return e}function oc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);O?a.compareDocumentPosition(O)===Node.DOCUMENT_POSITION_PRECEDING&&(O=a):O=a}function pc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;
|
||||
a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=pc(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 ia(a,b){p?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function P(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,W:c}}function qc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&
|
||||
(f=f.host)&&(f=P(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function sd(a){if(a=ja[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function rc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function td(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,ud.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function hb(a){requestAnimationFrame(function(){sc?
|
||||
sc(a):(Va||(Va=new Promise(function(a){Wa=a}),"complete"===document.readyState?Wa():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&Wa()})),Va.then(function(){a&&a()}))})}(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function c(a){if(k)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;
|
||||
if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;if(c)for(var d=0,e=b.length,f;d<e&&(f=b[d]);d++)g(f,function(){--c||a()});else a()}function e(a){if("loading"!==document.readyState)a();else{var b=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",
|
||||
b),a())};document.addEventListener("readystatechange",b)}}function f(a){e(function(){return d(function(){return a&&a()})})}function g(a,b){if(a.__loaded)b&&b();else if(h(a)&&!k&&null===a.import||a.import&&"complete"===a.import.readyState)a.__loaded=!0,b&&b();else if("script"!==a.localName||a.src){var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);w&&"style"===a.localName||a.addEventListener("error",c)}else a.__loaded=!0,b&&b()}function h(a){return a.nodeType===
|
||||
Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function l(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.l(b)});this.f.observe(document.head,{childList:!0,subtree:!0});this.c(document)}var k="import"in document.createElement("link"),m=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return m||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var n=/(^\/)|(^#)|(^[\w-\d]*:)/,
|
||||
q=/(url\()([^)]*)(\))/g,r=/(@import[\s]+(?!url\())([^;]*)(;)/g,v=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,p={eb:function(a,b){a.href&&a.setAttribute("href",p.ua(a.getAttribute("href"),b));a.src&&a.setAttribute("src",p.ua(a.getAttribute("src"),b));if("style"===a.localName){var c=p.Ka(a.textContent,b,q);a.textContent=p.Ka(c,b,r)}},Ka:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=p.La(a,b));return c+"'"+a+"'"+e})},ua:function(a,b){return a&&n.test(a)?a:p.La(a,
|
||||
b)},La:function(a,b){if(void 0===p.la){p.la=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";p.la="http://a/c%20d"===c.href}catch(Sd){}}if(p.la)return(new URL(a,b)).href;c=p.Wa;c||(c=document.implementation.createHTMLDocument("temp"),p.Wa=c,c.xa=c.createElement("base"),c.head.appendChild(c.xa),c.wa=c.createElement("a"));c.xa.href=b;c.wa.href=a;return c.wa.href||a}},u={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1],d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);
|
||||
b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,u.async);e.onload=function(){var a=e.getResponseHeader("Location");a&&!a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},w=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);l.prototype.c=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=
|
||||
0,c=a.length;b<c;b++)this.h(a[b])};l.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];d&&d.__loaded&&(a.import=d,this.g(a))}else this.b++,this.a[c]="pending",u.load(c,function(a,d){a=b.m(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};l.prototype.m=function(a,b){if(!a)return document.createDocumentFragment();w&&(a=a.replace(v,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");
|
||||
c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=p.ua(c.getAttribute("href"),b),c.removeAttribute("href");for(var c=a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),d=0,e=0,f=c.length,h;e<f&&
|
||||
(h=c[e]);e++)g(h),p.eb(h,b),h.setAttribute("import-dependency",""),"script"===h.localName&&!h.src&&h.textContent&&(h.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(h.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),h.textContent="",d++);return a};l.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.v(function(){c=
|
||||
!0;d()});this.o(function(){b=!0;d()})}};l.prototype.flatten=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,c=a.length,d;b<c&&(d=a[b]);b++){var e=this.a[d.href];(d.import=e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(this.a[d.href]=d,d.readyState="loading",d.import=d,this.flatten(e),d.appendChild(e))}};l.prototype.o=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");for(var k=0,l=f.attributes.length;k<l;k++)h.setAttribute(f.attributes[k].name,
|
||||
f.attributes[k].value);m=h;f.parentNode.replaceChild(h,f);g(h,function(){m=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};l.prototype.v=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d)for(var e=w&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]"),f={},h=0,k=b.length;h<k&&(f.u=b[h]);f={u:f.u},h++){if(g(f.u,function(b){return function(){b.u.removeAttribute("import-dependency");
|
||||
--d||a()}}(f)),e&&f.u.parentNode!==document.head){var l=document.createElement(f.u.localName);l.__appliedElement=f.u;l.setAttribute("type","import-placeholder");f.u.parentNode.insertBefore(l,f.u.nextSibling);for(l=c(f.u);l&&c(l);)l=c(l);l.parentNode!==document.head&&(l=null);document.head.insertBefore(f.u,l);f.u.removeAttribute("type")}}else a()};l.prototype.j=function(){for(var a=document.querySelectorAll("link[rel=import]"),b=a.length-1,c;0<=b&&(c=a[b]);b--)this.g(c)};l.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})))};l.prototype.l=function(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.addedNodes)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];e&&e.nodeType===Node.ELEMENT_NODE&&(h(e)?this.h(e):this.c(e))}}};if(k){for(var t=document.querySelectorAll("link[rel=import]"),y=0,A=t.length,z;y<A&&(z=t[y]);y++)z.import&&"loading"===z.import.readyState||(z.__loaded=
|
||||
!0);t=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",t,!0);document.addEventListener("error",t,!0)}else{var x=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!x||x.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:x&&x.get?x.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new l})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",
|
||||
{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=k;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});var C=window.ShadyDOM||{};C.gb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Xa=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.T=!!(Xa&&Xa.configurable&&Xa.get);C.Fa=C.force||!C.gb;var V=Element.prototype,tc=V.matches||V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector,
|
||||
Da=document.createTextNode(""),Ab=0,Ca=[];(new MutationObserver(function(){for(;Ca.length;)try{Ca.shift()()}catch(a){throw Da.textContent=Ab++,a;}})).observe(Da,{characterData:!0});var X=[],Ea;Fa.list=X;fa.prototype.nb=function(){var a=this;this.a||(this.a=!0,zb(function(){a.b()}))};fa.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.Z.forEach(function(b){b(a)})}};fa.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,
|
||||
removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var Zb=Element.prototype.appendChild,Ma=Element.prototype.insertBefore,S=Element.prototype.removeChild,uc=Element.prototype.setAttribute,vc=Element.prototype.removeAttribute,Ya=Element.prototype.cloneNode,Na=Document.prototype.importNode,wc=Element.prototype.addEventListener,xc=Element.prototype.removeEventListener,vd=Object.freeze({appendChild:Zb,insertBefore:Ma,removeChild:S,setAttribute:uc,removeAttribute:vc,
|
||||
cloneNode:Ya,importNode:Na,addEventListener:wc,removeEventListener:xc}),dd=/[&\u00A0"]/g,gd=/[&\u00A0<>]/g,ed=Db("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),fd=Db("style script xmp iframe noembed noframes plaintext noscript".split(" ")),x=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),B=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),wd=Object.freeze({parentNode:L,firstChild:ya,lastChild:za,previousSibling:Eb,
|
||||
nextSibling:Fb,childNodes:W,parentElement:Gb,firstElementChild:Hb,lastElementChild:Ib,previousElementSibling:Jb,nextElementSibling:Kb,children:Lb,innerHTML:Mb,textContent:Nb}),Za=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ka=document.implementation.createHTMLDocument("inert").createElement("div"),$a=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Ob={parentElement:{get:function(){var a=this.__shady&&
|
||||
this.__shady.parentElement;return void 0!==a?a:Gb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:L(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Fb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Eb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},
|
||||
set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Kb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Jb(this)},configurable:!0}},Ha={childNodes:{get:function(){if(this.__shady&&
|
||||
void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}return this.__shady.childNodes}return W(this)},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:ya(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:za(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&
|
||||
void 0!==this.__shady.firstChild){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 Nb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=
|
||||
a.nextSibling;return a}return Hb(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Ib(this)},configurable:!0},children:{get:function(){return this.__shady&&void 0!==this.__shady.firstChild?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):Lb(this)},configurable:!0},innerHTML:{get:function(){var a="template"===
|
||||
this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ga(a):Mb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(Za&&Za.set?Za.set.call(ka,a):ka.innerHTML=a;ka.firstChild;)b.appendChild(ka.firstChild)},configurable:!0}},yc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Ia={activeElement:{get:function(){var a;
|
||||
a=$a&&$a.get?$a.get.call(document):C.T?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=R(a);b&&b!==this;)a=b.host,b=R(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},yb=C.T?function(){}:function(a){a.__shady&&a.__shady.Va||(a.__shady=a.__shady||{},a.__shady.Va=!0,I(a,Ob,!0))},xb=C.T?function(){}:function(a){a.__shady&&a.__shady.Ta||(a.__shady=a.__shady||
|
||||
{},a.__shady.Ta=!0,I(a,Ha,!0),I(a,yc,!0))},la=null,xd={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},ec={get composed(){!1!==this.isTrusted&&void 0===this.ia&&(this.ia=xd[this.type]);return this.ia||!1},composedPath:function(){this.ya||(this.ya=Oa(this.__target,this.composed));return this.ya},get target(){return ac(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.za)return null;this.Aa||(this.Aa=Oa(this.za,!0));return ac(this.currentTarget,
|
||||
this.Aa)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ja=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ja=this.Sa=!0}},Qa={focus:!0,blur:!0},yd=Pa(window.Event),zd=Pa(window.CustomEvent),Ad=Pa(window.MouseEvent),Bd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};z.prototype.fb=function(){return this.root.querySelectorAll("slot")};
|
||||
z.prototype.ra=function(a){return a.localName&&"slot"==a.localName};z.prototype.pa=function(){return this.root.qa()?this.g(this.c()):[]};z.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};z.prototype.g=function(a){for(var b=[],c=this.root.na(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.qa()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,
|
||||
(e=L(d))&&S.call(e,d);return b};z.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.Ba(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.oa!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.oa!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.oa=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};z.prototype.Ba=function(a,b){var c=a.__shady.assignedNodes;
|
||||
if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.oa=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};z.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};z.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};z.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.M=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.ra(d)){var e=
|
||||
d.__shady.M;if(e)for(var f=0;f<e.length;f++)a.__shady.M.push(e[f])}else a.__shady.M.push(b[c])};z.prototype.a=function(a){a.dispatchEvent(new Bd("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};z.prototype.aa=function(a){return!a.__shady.assignedSlot};var wb={};q.prototype=Object.create(DocumentFragment.prototype);q.prototype.i=function(a){this.Ua="ShadyRoot";Q(a);Q(this);a.shadowRoot=this;this.host=a;this.ma=this.L=!1;this.A=new z(this);this.update()};q.prototype.update=function(){var a=
|
||||
this;this.L||(this.L=!0,Bb(function(){return a.Ja()}))};q.prototype.h=function(){for(var a=this,b=this;b;)b.L&&(a=b),b=b.Za();return a};q.prototype.Za=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.A.ra(d))return a};q.prototype.Ja=function(){this.L&&this.h()._render()};q.prototype._render=function(){this.ma=this.L=!1;this.X||this.f();this.X=!1;this.pa();this.j()};q.prototype.pa=function(){for(var a=this.A.pa(),b=0;b<a.length;b++)a[b]._render()};
|
||||
q.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.A.Ba(c);a=this.a=this.A.fb();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},Q(c),Q(c.parentNode)};q.prototype.j=function(){this.g()};q.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.na(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};q.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;
|
||||
for(var c=0;c<a.length;c++){var d=a[c];if(this.A.ra(d))for(var e=d.__shady.M||(d.__shady.M=[]),f=0;f<e.length;f++){var g=e[f];this.aa(d,g)&&b.push(g)}else b.push(d)}return b};q.prototype.aa=function(a,b){return this.A.aa(a,b)};q.prototype.c=function(a,b){for(var c=W(a),d=jd(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,l;h<g.V.length&&(l=g.V[h]);h++)L(l)===a&&S.call(a,l),c.splice(g.index+f,1);f-=g.Y}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.Y;h++)l=
|
||||
b[h],Ma.call(a,l,f),c.splice(h,0,l)};q.prototype.qa=function(){return!(!this.a||!this.a.length)};q.prototype.na=function(){this.a||this.f();return this.a};q.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ka=this;this.host.addEventListener(a,b,c)};q.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ka=this;this.host.removeEventListener(a,b,c)};(function(a){I(a,Ha,!0);I(a,Ia,!0)})(q.prototype);var md={addEventListener:function(a,
|
||||
b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ka||this;if(b.D){if(-1<cc(b.D,g,a,d,e,f))return}else b.D=[];var h=function(d){e&&this.removeEventListener(a,b,c);d.__target||dc(d);var f;g!==this&&(f=Object.getOwnPropertyDescriptor(d,"currentTarget"),Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0}));if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&
|
||||
d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h=b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.D.push({node:this,type:a,capture:d,once:e,passive:f,qb:h});Qa[a]?(this.w=this.w||{},this.w[a]=this.w[a]||{capture:[],bubble:[]},this.w[a][d?"capture":"bubble"].push(h)):wc.call(this,a,h,c)}},removeEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,
|
||||
f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ka||this,h=void 0;b.D&&(e=cc(b.D,g,a,d,e,f),-1<e&&(h=b.D.splice(e,1)[0].qb,b.D.length||(b.D=void 0)));xc.call(this,a,h||b,c);h&&Qa[a]&&this.w&&this.w[a]&&(a=this.w[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}},appendChild:function(a){return Yb(this,a)},insertBefore:function(a,b){return Yb(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+a);if(!Qb(a)){var b=E(this)?
|
||||
this.host:this,c=L(a);b===c&&S.call(b,a)}Ka(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=Ya.call(this,a);else if(b=Ya.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return La(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&
|
||||
a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof q?a.host:void 0);return!!(a&&a instanceof Document)}},nd={get assignedSlot(){return fc(this)}},Ra={querySelector:function(a){return Vb(this,function(b){return tc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return Vb(this,function(b){return tc.call(b,a)})}},ic={assignedNodes:function(a){if("slot"===this.localName)return Xb(this),this.__shady?(a&&a.flatten?this.__shady.M:this.__shady.assignedNodes)||
|
||||
[]:[]}},gc=Ba({setAttribute:function(a,b){la||(la=window.ShadyCSS&&window.ShadyCSS.ScopingShim);la&&"class"===a?la.setElementClass(this,b):(uc.call(this,a,b),Ub(this,a))},removeAttribute:function(a){vc.call(this,a);Ub(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new q(wb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},get assignedSlot(){return fc(this)}},Ra,ic);Object.defineProperties(gc,
|
||||
yc);var hc=Ba({importNode:function(a,b){return $b(a,b)}},Ra);Object.defineProperties(hc,{_activeElement:Ia.activeElement});var Cd=HTMLElement.prototype.blur,od=Ba({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?a.blur():Cd.call(this)}});C.Fa&&(window.ShadyDOM={inUse:C.Fa,patch:function(a){return a},isShadyRoot:E,enqueue:Bb,flush:Fa,settings:C,filterMutations:cd,observeChildren:ad,unobserveChildren:$c,nativeMethods:vd,nativeTree:wd},window.Event=yd,window.CustomEvent=zd,window.MouseEvent=
|
||||
Ad,id(),ld(),window.ShadowRoot=q);var pd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));A.prototype.J=function(a,b){this.m.set(a,b);this.l.set(b.constructor,b)};A.prototype.f=function(a){return this.m.get(a)};A.prototype.I=function(a){return this.l.get(a)};A.prototype.o=function(a){this.h=!0;this.i.push(a)};A.prototype.j=function(a){var b=this;this.h&&K(a,function(a){return b.g(a)})};A.prototype.g=function(a){if(this.h&&
|
||||
!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};A.prototype.b=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.v(c)}};A.prototype.a=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};A.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];K(a,function(a){if("link"===a.localName&&"import"===
|
||||
a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.v(d[a])};A.prototype.v=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);
|
||||
var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}m(a)&&this.connectedCallback(a)}}};A.prototype.connectedCallback=function(a){var b=a.__CE_definition;
|
||||
b.connectedCallback&&b.connectedCallback.call(a)};A.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};A.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};xa.prototype.c=function(){this.K&&this.K.disconnect()};xa.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==
|
||||
b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};vb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};t.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!jc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");
|
||||
if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=m[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},m=b.prototype;if(!(m instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(qa){return}finally{this.f=
|
||||
!1}this.a.J(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};t.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};t.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};t.prototype.whenDefined=function(a){if(!jc(a))return Promise.reject(new SyntaxError("'"+
|
||||
a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new vb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};t.prototype.l=function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=t;t.prototype.define=t.prototype.define;t.prototype.get=t.prototype.get;t.prototype.whenDefined=t.prototype.whenDefined;t.prototype.polyfillWrapFlushCallback=t.prototype.l;var ta=window.Document.prototype.createElement,
|
||||
Vc=window.Document.prototype.createElementNS,Uc=window.Document.prototype.importNode,Wc=window.Document.prototype.prepend,Xc=window.Document.prototype.append,kb=window.Node.prototype.cloneNode,da=window.Node.prototype.appendChild,sb=window.Node.prototype.insertBefore,ua=window.Node.prototype.removeChild,tb=window.Node.prototype.replaceChild,wa=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),jb=window.Element.prototype.attachShadow,ra=Object.getOwnPropertyDescriptor(window.Element.prototype,
|
||||
"innerHTML"),va=window.Element.prototype.getAttribute,lb=window.Element.prototype.setAttribute,nb=window.Element.prototype.removeAttribute,ea=window.Element.prototype.getAttributeNS,mb=window.Element.prototype.setAttributeNS,ob=window.Element.prototype.removeAttributeNS,qb=window.Element.prototype.insertAdjacentElement,Lc=window.Element.prototype.prepend,Mc=window.Element.prototype.append,Oc=window.Element.prototype.before,Pc=window.Element.prototype.after,Qc=window.Element.prototype.replaceWith,
|
||||
Rc=window.Element.prototype.remove,Zc=window.HTMLElement,sa=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),pb=window.HTMLElement.prototype.insertAdjacentElement,ub=new function(){},ma=window.customElements;if(!ma||ma.forcePolyfill||"function"!=typeof ma.define||"function"!=typeof ma.get){var Z=new A;Yc(Z);Tc(Z);Sc(Z);Kc(Z);document.__CE_hasRegistry=!0;var Dd=new t(Z);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Dd})}var H={STYLE_RULE:1,
|
||||
ha:7,MEDIA_RULE:4,va:1E3},F={cb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ca:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ga:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,kb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,pb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,jb:/^@[^\s]*keyframes/,Ha:/\s+/g},p=!(window.ShadyDOM&&window.ShadyDOM.inUse),w=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");
|
||||
window.ShadyCSS?mc(window.ShadyCSS):window.WebComponents&&mc(window.WebComponents.flags);var zc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Ac=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ed=/(--[\w-]+)\s*([:,;)]|$)/gi,Fd=/(animation\s*:)|(animation-name\s*:)/,rd=/@media[^(]*(\([^)]*\))/,Gd=/\{[^}]*\}/g,O=null;r.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};r.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.v(a,b,c);if(a=
|
||||
"template"===a.localName?(a.content||a.tb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};r.prototype.v=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Hd);c?d&&(b=d.replace("style-scope","").replace(b,""),ia(a,b)):ia(a,(d?d+" ":"")+"style-scope "+b)}};r.prototype.b=function(a,b,c){var d=a.__cssBuild;p||"shady"===d?b=T(b,
|
||||
c):(a=P(a),b=this.P(b,a.is,a.W,c)+"\n\n");return b.trim()};r.prototype.P=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return T(a,function(a){a.c||(f.S(a,b,e),a.c=!0);d&&d(a,b,e)})};r.prototype.h=function(a){return a?Id+a:""};r.prototype.f=function(a,b){return b?"[is="+a+"]":a};r.prototype.S=function(a,b,c){this.j(a,this.g,b,c)};r.prototype.j=function(a,b,c,d){a.selector=a.B=this.l(a,b,c,d)};r.prototype.l=function(a,b,c,d){var e=a.selector.split(Bc);if(!nc(a)){a=0;for(var f=e.length,
|
||||
g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Bc)};r.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Jd,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Kd,ab+" $1");return a=a.replace(Ld,function(a,g,h){e||(a=d.I(h,g,b,c),e=e||a.stop,g=a.bb,h=a.value);return g+h})};r.prototype.I=function(a,b,c,d){var e=a.indexOf(bb);0<=a.indexOf(ab)?a=this.O(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,c&&(a=a.replace(Md,function(a,b){return" > "+
|
||||
b})));a=a.replace(Nd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,bb:b,stop:f}};r.prototype.m=function(a,b){a=a.split(Cc);a[0]+=b;return a.join(Cc)};r.prototype.O=function(a,b){var c=a.match(Dc);return(c=c&&c[2].trim()||"")?c[0].match(Ec)?a.replace(Dc,function(a,c,f){return b+f}):c.split(Ec)[0]===b?c:Od:a.replace(ab,b)};r.prototype.R=function(a){a.selector=a.parsedSelector;this.o(a);this.j(a,this.J)};r.prototype.o=function(a){a.selector===Pd&&(a.selector="html")};
|
||||
r.prototype.J=function(a){return a.match(bb)?this.g(a,Fc):this.m(a.trim(),Fc)};gb.Object.defineProperties(r.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Jd=/:(nth[-\w]+)\(([^)]+)\)/,Fc=":not(.style-scope)",Bc=",",Ld=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Ec=/[[.:#*]/,ab=":host",Pd=":root",bb="::slotted",Kd=new RegExp("^("+bb+")"),Dc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Md=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Nd=/(.*):dir\((?:(ltr|rtl))\)/,
|
||||
Id=".",Cc=":",Hd="class",Od="should_not_match",u=new r;v.get=function(a){return a?a.__styleInfo:null};v.set=function(a,b){return a.__styleInfo=b};v.prototype.c=function(){return this.G};v.prototype._getStyleRules=v.prototype.c;var Gc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Qd=navigator.userAgent.match("Trident");n.prototype.S=function(a){var b=this,c={},d=[],e=0;U(a,function(a){b.c(a);
|
||||
a.index=e++;b.R(a.s.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};n.prototype.c=function(a){if(!a.s){var b={},c={};this.b(a,c)&&(b.F=c,a.rules=null);b.cssText=this.P(a);a.s=b}};n.prototype.b=function(a,b){var c=a.s;if(c){if(c.F)return Object.assign(b,c.F),!0}else{for(var c=a.parsedCssText,d;a=zc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};n.prototype.P=function(a){return this.O(a.parsedCssText)};n.prototype.O=function(a){return a.replace(Gd,
|
||||
"").replace(zc,"")};n.prototype.R=function(a,b){for(var c;c=Ed.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};n.prototype.ea=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};n.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=pc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};n.prototype.f=function(a,
|
||||
b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Ac.lastIndex=0;if(e=Ac.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};n.prototype.J=function(a,b){var c="";a.s||this.c(a);a.s.cssText&&(c=this.f(a.s.cssText,b));a.cssText=c};n.prototype.I=function(a,b){var c=a.cssText,d=a.cssText;null==a.Ea&&(a.Ea=Fd.test(c));if(a.Ea)if(null==
|
||||
a.ba){a.ba=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ba.push(e))}else{for(e=0;e<a.ba.length;++e)d=b[a.ba[e]],c=d(c);d=c}a.cssText=d};n.prototype.da=function(a,b){var c={},d=this,e=[];U(a,function(a){a.s||d.c(a);var f=a.B||a.parsedSelector;b&&a.s.F&&f&&Gc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{F:c,key:e}};n.prototype.ga=function(a,b,c,d){b.s||this.c(b);if(b.s.F){var e=P(a);a=e.is;var e=e.W,e=a?u.f(a,e):"html",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&&(p&&!b.B&&(b.B=u.l(b,u.g,u.h(a),e)),c=b.B||e),d({ob:c,ib:h,vb:g})}};n.prototype.ca=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;U(b,function(b){e.ga(a,b,f,function(f){Gc.call(a.ub||a,f.ob)&&(f.ib?e.b(b,c):e.b(b,d))})},null,!0);return{mb:d,hb:c}};n.prototype.fa=function(a,b,c){var d=this,e=P(a),f=u.f(e.is,
|
||||
e.W),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=v.get(a).G,h=this.h(e,c);return u.b(a,e,function(a){d.J(a,b);p||nc(a)||!a.cssText||(d.I(a,h),d.l(a,g,f,c))})};n.prototype.h=function(a,b){a=a.b;var c={};if(!p&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};n.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};n.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+
|
||||
"-"+b;a.B=a.B||a.selector;a.selector=a.B.replace(a.keyframesName,a.a)};n.prototype.l=function(a,b,c,d){a.B=a.B||a.selector;d="."+d;for(var e=a.B.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};n.prototype.o=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ia(a,e)};n.prototype.v=function(a,b,c,d){b=d?d.textContent||"":this.fa(a,b,c);var e=
|
||||
v.get(a),f=e.a;f&&!p&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));p?e.a?(e.a.textContent=b,d=e.a):b&&(d=Ua(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Qd&&-1<b.indexOf("@media")&&(d.textContent=b),oc(d,null,e.b)):b&&(d=Ua(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};n.prototype.m=function(a,b){var c=ha(a),d=this;a.textContent=T(c,function(a){var c=a.cssText=a.parsedCssText;a.s&&a.s.cssText&&(c=c.replace(F.Ca,"").replace(F.Ga,
|
||||
""),a.cssText=d.f(c,b))})};gb.Object.defineProperties(n.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var J=new n,cb={},na=window.customElements;if(na&&!p){var Rd=na.define;na.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(O?O.nextSibling:null)||e.firstChild);O=d;cb[a]=d;return Rd.call(na,a,b,c)}}ba.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.F[e]!==b[e])return!1}return!0};
|
||||
ba.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({F:b,styleElement:c,C:d});e.length>this.f&&e.shift();this.cache[a]=e};ba.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.b(e,b,c))return e}};if(!p){var Hc=new MutationObserver(qc),Ic=function(a){Hc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Ic(document);else{var db=function(){Ic(document.body)};window.HTMLImports?window.HTMLImports.whenReady(db):
|
||||
requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){db();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else db()})}ib=function(){qc(Hc.takeRecords())}}var ja={},ud=Promise.resolve(),Va=null,sc=window.HTMLImports&&window.HTMLImports.whenReady||null,Wa,oa=null,aa=null;D.prototype.Da=function(){!this.enqueued&&aa&&(this.enqueued=!0,hb(aa))};D.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),
|
||||
this.Da())};D.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};D.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;oa&&oa(d);c.__shadyCSSCachedStyle=d}}}return a};D.prototype.addCustomStyle=D.prototype.b;D.prototype.getStyleForCustomStyle=
|
||||
D.prototype.a;D.prototype.processStyles=D.prototype.c;Object.defineProperties(D.prototype,{transformCallback:{get:function(){return oa},set:function(a){oa=a}},validateCallback:{get:function(){return aa},set:function(a){var b=!1;aa||(b=!0);aa=a;b&&this.Da()}}});var Jc=new ba;k.prototype.I=function(){ib()};k.prototype.ca=function(a){var b=this.m[a]=(this.m[a]||0)+1;return a+"-"+b};k.prototype.Pa=function(a){return ha(a)};k.prototype.Ra=function(a){return T(a)};k.prototype.S=function(a){a=a.content.querySelectorAll("style");
|
||||
for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.ea=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ja[b]=a;var d=this.ea(a),e=this.S(a);c={is:b,extends:c,rb:d};p||u.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Ta(e);f&&w&&this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];w||(d=J.S(a._styleAst));
|
||||
if(!d.length||w)b=this.da(c,a._styleAst,p?a.content:null,cb[b]),a.a=b;a.c=d}};k.prototype.da=function(a,b,c,d){b=u.b(a,b);if(b.length)return Ua(b,a.is,c,d)};k.prototype.ga=function(a){var b=P(a),c=b.is,b=b.W,d=cb[c],c=ja[c],e,f;c&&(e=c._styleAst,f=c.c);return v.set(a,new v(e,d,f,0,b))};k.prototype.P=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=sd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=
|
||||
function(){},a.transformRules=function(){},a)}};k.prototype.R=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=function(b){a.v(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=function(){return null},b)}};k.prototype.c=function(){this.P();this.R()};
|
||||
k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(w?this.Na(a):(this.o(this.g,this.h),this.J(a)),this.a.enqueued=!1,this.i&&!w&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=P(a).is,d=v.get(a);d||(d=this.ga(a));this.j(a)||(this.i=!0);b&&(d.N=d.N||{},Object.assign(d.N,b));if(w){if(d.N){b=d.N;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ja[c])||this.j(a))&&e&&e.a&&!rc(e)){if(rc(e)||e._applyShimValidatingVersion!==
|
||||
e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.G),td(e);p&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.G));d.G=e._styleAst}}else this.o(a,d),d.sa&&d.sa.length&&this.O(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?v.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.O=function(a,b){var c=P(a).is,d=Jc.a(c,b.H,b.sa),e=d?d.styleElement:null,f=b.C;b.C=d&&d.C||this.ca(c);e=J.v(a,b.H,b.C,
|
||||
e);p||J.o(a,b.C,f);d||Jc.c(c,b.H,e,b.C)};k.prototype.o=function(a,b){var c=this.l(a),d=v.get(c),c=Object.create(d.H||null),e=J.ca(a,b.G);a=J.da(d.G,a).F;Object.assign(c,e.hb,a,e.mb);this.fa(c,b.N);J.ea(c);b.H=c};k.prototype.fa=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);
|
||||
else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Na=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.Ma(c)}};k.prototype.J=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&J.m(c,this.h.H)}};k.prototype.v=function(a){var b=this,c=ha(a);U(c,function(a){p?u.o(a):u.R(a);w&&(b.c(),b.b.transformRule(a))});w?a.textContent=T(c):this.h.G.rules.push(c)};k.prototype.Ma=function(a){if(w){var b=
|
||||
ha(a);this.c();this.b.transformRules(b);a.textContent=T(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;w||(c=(v.get(a)||v.get(this.l(a))).H[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.Qa=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)for(var d=d.split(/\s/),e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}c&&b.push(u.c,c);w||(c=v.get(a))&&c.C&&b.push(J.g,c.C);ia(a,
|
||||
b.join(" "))};k.prototype.Oa=function(a){return v.get(a)};k.prototype.flush=k.prototype.I;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Qa;k.prototype._styleInfoForNode=k.prototype.Oa;k.prototype.transformCustomStyleForDocument=k.prototype.v;
|
||||
k.prototype.getStyleAst=k.prototype.Pa;k.prototype.styleAstToString=k.prototype.Ra;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return p}},nativeCss:{get:function(){return w}}});var G=new k,eb,fb;window.ShadyCSS&&(eb=window.ShadyCSS.ApplyShim,fb=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:G,prepareTemplate:function(a,b,c){G.f();G.prepareTemplate(a,b,c)},styleSubtree:function(a,b){G.f();G.styleSubtree(a,b)},styleElement:function(a){G.f();
|
||||
G.styleElement(a)},styleDocument:function(a){G.f();G.styleDocument(a)},getComputedStyleValue:function(a,b){return G.getComputedStyleValue(a,b)},nativeCss:w,nativeShadow:p};eb&&(window.ShadyCSS.ApplyShim=eb);fb&&(window.ShadyCSS.CustomStyleInterface=fb);(function(){var a=window.customElements,b=window.HTMLImports;if(a&&a.polyfillWrapFlushCallback){var c,d=function(){if(c){var a=c;c=null;a();return!0}},e=b.whenReady;a.polyfillWrapFlushCallback(function(a){c=a;e(d)});b.whenReady=function(a){e(function(){d()?
|
||||
b.whenReady(a):a()})}}b.whenReady(function(){requestAnimationFrame(function(){document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var a=document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var b=document.querySelector("head");b.insertBefore(a,b.firstChild)})()})();
|
||||
}).call(self)
|
||||
|
||||
//# sourceMappingURL=webcomponents-hi-sd-ce.js.map
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -30,163 +30,165 @@ Code distributed by Google as part of the polymer project is also
|
||||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||
*/
|
||||
'use strict';var mb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
|
||||
(function(){function k(){var a=this;this.s={};this.g=document.documentElement;var b=new wa;b.rules=[];this.h=x.set(this.g,new x(b));this.i=!1;this.a=this.b=null;nb(function(){a.c()})}function J(){this.customStyles=[];this.enqueued=!1}function ob(){}function ja(a){this.cache={};this.f=void 0===a?100:a}function n(){}function x(a,b,c,d,e){this.I=a||null;this.b=b||null;this.Aa=c||[];this.S=null;this.aa=e||"";this.a=this.G=this.K=null}function v(){}function wa(){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 Uc(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;m(this)&&(e=[],O(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
|
||||
return b}})}function c(b,c){A(b,"insertAdjacentElement",function(b,d){var e=m(d);b=c.call(this,b,d);e&&a.a(d);m(b)&&a.b(d);return b})}pb?A(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=pb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(xa&&xa.get)b(Element.prototype,xa);else if(ya&&ya.get)b(HTMLElement.prototype,ya);else{var d=za.call(document,"div");a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return qb.call(this,
|
||||
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)Aa.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ka.call(b,d.childNodes[0])}})})}A(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return rb.call(this,b,c);var d=Ba.call(this,b);rb.call(this,b,c);c=Ba.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});A(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return sb.call(this,
|
||||
b,c,d);var e=la.call(this,b,c);sb.call(this,b,c,d);d=la.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});A(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return tb.call(this,b);var c=Ba.call(this,b);tb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});A(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return ub.call(this,b,c);var d=la.call(this,b,c);ub.call(this,b,c);var e=la.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
|
||||
c,d,e,b)});vb?c(HTMLElement.prototype,vb):wb?c(Element.prototype,wb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");xb(a,Element.prototype,{Ra:Vc,append:Wc});Xc(a,{ob:Yc,nb:Zc,yb:$c,remove:ad})}function Xc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.ob.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],
|
||||
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.nb.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&m(a)}),g=m(this);b.yb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
|
||||
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=m(this);b.remove.call(this);c&&a.a(this)}}function bd(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&m(this))for(var c=Array(h),l=0;l<h;l++)c[l]=e[l]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
|
||||
A(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=yb.call(this,b,d);if(m(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=m(b);d=yb.call(this,b,d);c&&a.a(b);m(this)&&a.b(b);return d});A(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ka.call(this,b);if(m(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=m(b);e=ka.call(this,b);c&&a.a(b);m(this)&&
|
||||
a.b(b);return e});A(Node.prototype,"cloneNode",function(b){b=qb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});A(Node.prototype,"removeChild",function(b){var c=m(b),e=Aa.call(this,b);c&&a.a(b);return e});A(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=zb.call(this,b,d);if(m(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=m(b),f=zb.call(this,b,d),g=m(this);g&&a.a(d);c&&a.a(b);g&&
|
||||
a.b(b);return f});Ca&&Ca.get?b(Node.prototype,Ca):a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)Aa.call(this,this.firstChild);ka.call(this,document.createTextNode(a))}})})}function cd(a){A(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=za.call(this,b);a.g(b);return b});
|
||||
A(Document.prototype,"importNode",function(b,c){b=dd.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});A(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=ed.call(this,b,c);a.g(b);return b});xb(a,Document.prototype,{Ra:fd,append:gd})}function xb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
|
||||
Node&&m(a)});c.Ra.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function hd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.L(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
|
||||
var e=d.constructionStack;if(!e.length)return e=za.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===Ab)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=Ab;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=id.prototype;return b}()}function r(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
|
||||
[];this.j=new Da(a,document)}function Bb(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function Da(a,b){this.b=a;this.a=b;this.N=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.N=new MutationObserver(this.f.bind(this)),this.N.observe(this.a,{childList:!0,subtree:!0}))}function w(){this.s=new Map;this.o=new Map;this.i=[];this.h=!1}function t(a,b){if(a!==Cb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
|
||||
t.prototype;a.i(b);return a}function F(a){this.root=a;this.fa="slot"}function U(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Ea(a);a.__shady.lastChild=Fa(a);Db(a);for(var b=a.__shady.childNodes=da(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,Eb(d)}}function jd(a){var b=a&&a.N;b&&(b.ea.delete(a.gb),b.ea.size||(a.lb.__shady.Z=null))}function kd(a,
|
||||
b){a.__shady=a.__shady||{};a.__shady.Z||(a.__shady.Z=new ma);a.__shady.Z.ea.add(b);var c=a.__shady.Z;return{gb:b,N:c,lb:a,takeRecords:function(){return c.takeRecords()}}}function ma(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.ea=new Set}function B(a){return"ShadyRoot"===a.cb}function V(a){a=a.getRootNode();if(B(a))return a}function Ga(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 Fb(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Ga(a,c[d]);return a}function ld(a,b){for(var c in b)a[c]=b[c]}function Gb(a){Ha.push(a);Ia.textContent=Hb++}function Ib(a){Ja||(Ja=!0,Gb(Ka));ea.push(a)}function Ka(){Ja=!1;for(var a=!!ea.length;ea.length;)ea.shift()();return a}function md(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
|
||||
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Jb(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function Kb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function La(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++){var h;
|
||||
a:{var l;h=g;l=a;var R=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,K="<"+k,m=h.attributes,n=0;l=m[n];n++)K+=" "+l.name+'="'+l.value.replace(nd,Jb)+'"';K+=">";h=od[k]?K:K+La(h,R)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&pd[l.localName]?h:h.replace(qd,Jb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function P(a){y.currentNode=a;return y.parentNode()}function Ea(a){y.currentNode=
|
||||
a;return y.firstChild()}function Fa(a){y.currentNode=a;return y.lastChild()}function Lb(a){y.currentNode=a;return y.previousSibling()}function Mb(a){y.currentNode=a;return y.nextSibling()}function da(a){var b=[];y.currentNode=a;for(a=y.firstChild();a;)b.push(a),a=y.nextSibling();return b}function Nb(a){D.currentNode=a;return D.parentNode()}function Ob(a){D.currentNode=a;return D.firstChild()}function Pb(a){D.currentNode=a;return D.lastChild()}function Qb(a){D.currentNode=a;return D.previousSibling()}
|
||||
function Rb(a){D.currentNode=a;return D.nextSibling()}function Sb(a){var b=[];D.currentNode=a;for(a=D.firstChild();a;)b.push(a),a=D.nextSibling();return b}function Tb(a){return La(a,function(a){return da(a)})}function Ub(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function L(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 Q(a){L(a,Vb);L(a,Ma);L(a,Na)}function Wb(a,b,c){Eb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=
|
||||
a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Xb(a){var b=a.__shady&&a.__shady.parentNode,c,d=V(a);if(b||d){c=Yb(a);if(b){a.__shady=a.__shady||{};b.__shady=b.__shady||{};a===b.__shady.firstChild&&(b.__shady.firstChild=a.__shady.nextSibling);a===b.__shady.lastChild&&(b.__shady.lastChild=a.__shady.previousSibling);var e=a.__shady.previousSibling,f=a.__shady.nextSibling;e&&(e.__shady=e.__shady||{},e.__shady.nextSibling=f);f&&(f.__shady=f.__shady||{},f.__shady.previousSibling=
|
||||
e);a.__shady.parentNode=a.__shady.previousSibling=a.__shady.nextSibling=void 0;void 0!==b.__shady.childNodes&&(b.__shady.childNodes=null)}if(e=d){for(var g,e=d.sa(),f=0;f<e.length;f++){var h=e[f],l;a:{for(l=h;l;){if(l==a){l=!0;break a}l=l.parentNode}l=void 0}if(l)for(h=h.assignedNodes({flatten:!0}),l=0;l<h.length;l++){g=!0;var R=h[l],k=P(R);k&&W.call(k,R)}}e=g}b=b&&d&&b.localName===d.D.fa;if(e||b)d.ca=!1,na(d)}Oa(a);return c}function Pa(a,b,c){if(a=a.__shady&&a.__shady.Z)b&&a.addedNodes.push(b),c&&
|
||||
a.removedNodes.push(c),a.Ab()}function Qa(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.Ba;void 0===b&&(B(a)?b=a:b=(b=a.parentNode)?Qa(b):a,document.documentElement.contains(a)&&(a.__shady.Ba=b));return b}}function Zb(a,b,c){var d,e=c.D.fa;if(a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||a.__noInsertionPoint)a.localName===e&&(U(b),U(a),d=!0);else for(var e=a.querySelectorAll(e),f=0,g,h;f<e.length&&(g=e[f]);f++)h=g.parentNode,h===a&&(h=b),h=Zb(g,h,c),d=d||h;return d}function $b(a){return(a=
|
||||
a&&a.__shady&&a.__shady.root)&&a.ya()}function Oa(a){if(a.__shady&&void 0!==a.__shady.Ba)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Oa(e);a.__shady=a.__shady||{};a.__shady.Ba=void 0}function Yb(a){a=a.parentNode;if($b(a))return na(a.__shady.root),!0}function na(a){a.ra=!0;a.update()}function ac(a,b){"slot"===b?Yb(a):"slot"===a.localName&&"name"===b&&(a=V(a))&&a.update()}function bc(a,b,c){var d=[];cc(a.childNodes,b,c,d);return d}function cc(a,b,c,d){for(var e=0,f=a.length,g;e<f&&(g=
|
||||
a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var l=b,R=c,k=d,K=l(h);K&&k.push(h);R&&R(K)?h=K:(cc(h.childNodes,l,R,k),h=void 0)}if(h)break}}function dc(a){a=a.getRootNode();B(a)&&a.Sa()}function ec(a,b,c){if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&P(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.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&
|
||||
((d=b.__shady&&b.__shady.parentNode)?(Pa(d,null,b),Xb(b)):(b.parentNode&&W.call(b.parentNode,b),Oa(b)));var d=c,e=V(a),f;e&&(b.__noInsertionPoint&&!e.ra&&(e.ca=!0),f=Zb(b,a,e))&&(e.ca=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(Db(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Wb(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
|
||||
b.__shady.lastChild=g;b.__shady.childNodes=g}else Wb(b,a,d);var g=f,h=e&&e.D.fa||"",l=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=l&&l.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((l=l||b.localName===h)||a.localName===h||g)&&e&&na(e);(e=$b(a))&&na(a.__shady&&a.__shady.root);if(!(e||l&&!f||a.__shady.root||d&&B(d.parentNode)&&d.parentNode.O)){if(c&&(d=V(c))){var k;if(c.localName===d.D.fa)a:{d=c.assignedNodes({flatten:!0});e=Qa(c);f=0;for(g=d.length;f<
|
||||
g&&(k=d[f]);f++)if(e.ga(c,k))break a;k=void 0}else k=c;c=k}k=B(a)?a.host:a;c?Ra.call(k,b,c):fc.call(k,b)}Pa(a,b);return b}function gc(a,b){if(a.ownerDocument!==document)return Sa.call(document,a,b);var c=Sa.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=gc(a[b],!0),c.appendChild(d)}return c}function Ta(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;
|
||||
c[c.length-1]===document&&c.push(window);return c}function hc(a,b){if(!B)return a;a=Ta(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!B(f)||-1<g)return d}function Ua(a){function b(b,d){b=new a(b,d);b.oa=d&&!!d.composed;return b}ld(b,a);b.prototype=a.prototype;return b}function ic(a,b,c){if(c=b.C&&b.C[a.type]&&b.C[a.type][c])for(var d=0,e;(e=c[d])&&(e.call(b,a),!a.ab);d++);}function rd(a){var b=a.composedPath(),c;Object.defineProperty(a,
|
||||
"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],ic(a,c,"capture"),a.pa)return;Object.defineProperty(a,"eventPhase",{value:Event.AT_TARGET});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if(ic(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.pa)break}function jc(a,b,c,d,e,f){var g=a.type,h=a.capture,l=a.once,k=a.passive;return b===a.node&&c===g&&d===h&&e===l&&f===k}function sd(){for(var a in Va)window.addEventListener(a,
|
||||
function(a){a.__target||(kc(a),rd(a))},!0)}function kc(a){a.__target=a.target;a.Ha=a.relatedTarget;if(C.Y){var b=lc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.Fb=c;Ga(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Ga(a,lc)}function fa(a,b){return{index:a,$:[],da:b}}function td(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==c[g])break a;g=l}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,q=
|
||||
0;q<l-g&&ud(a[--h],c[--k]);)q++;h=q}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=fa(e,0);f<d;)b.$.push(c[f++]);return[b]}if(f==d)return[fa(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(q=1;q<h;q++)if(a[l+q-1]===c[g+k-1])b[k][q]=b[k-1][q-1];else{var K=b[k-1][q]+1,m=b[k][q-1]+1;b[k][q]=K<m?K:m}l=b.length-1;g=b[0].length-1;d=b[l][g];for(a=[];0<l||0<g;)l?g?(h=b[l-1][g-1],k=b[l-1][g],q=b[l][g-1],K=k<q?k<h?
|
||||
k:h:q<h?q:h,K==h?(h==d?a.push(0):(a.push(1),d=h),l--,g--):K==k?(a.push(3),l--,d=k):(a.push(2),g--,d=q)):(a.push(3),l--):(a.push(2),g--);a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=fa(e,0));b.da++;e++;b.$.push(c[f]);f++;break;case 2:b||(b=fa(e,0));b.da++;e++;break;case 3:b||(b=fa(e,0)),b.$.push(c[f]),f++}b&&l.push(b);return l}function ud(a,b){return a===b}function mc(a){dc(a);return a.__shady&&a.__shady.assignedSlot||null}
|
||||
function X(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function nc(a){var b=vd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function m(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof
|
||||
Document))}function Wa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function O(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)O(d,b,c);d=Wa(a,e);continue}else if("template"===f){d=Wa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)O(e,b,c)}d=
|
||||
d.firstChild?d.firstChild:Wa(a,d)}}function A(a,b,c){a[b]=c}function Xa(a){a=a.replace(M.qb,"").replace(M.port,"");var b=oc,c=a,d=new wa;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,l=h.rules[h.rules.length-1]||null,e=new wa;e.start=f+1;e.parent=h;e.previous=l;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function oc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=b.substring(a.previous?
|
||||
a.previous.end:a.parent.start,a.start-1),c=wd(c),c=c.replace(M.Qa," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(M.wb)&&(a.type=G.na,a.keyframesName=a.selector.split(M.Qa).pop()):a.type=G.MEDIA_RULE:a.type=c.indexOf("--")?G.STYLE_RULE:G.Da);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)oc(f,b);return a}function wd(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a=
|
||||
"0"+a;return"\\"+a})}function pc(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=pc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(M.La,"").replace(M.Pa,""),b=b.replace(M.xb,"").replace(M.Cb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function qc(a){a&&(z=z&&!a.nativeCss&&!a.shimcssproperties,
|
||||
p=p&&!a.nativeShadow&&!a.shimshadow)}function Y(a,b){if(!a)return"";"string"===typeof a&&(a=Xa(a));b&&Z(a,b);return pc(a,z)}function oa(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Xa(a.textContent));return a.__cssRules||null}function rc(a){return!!a.parent&&a.parent.type===G.na}function Z(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===G.MEDIA_RULE){var g=a.selector.match(xd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===G.STYLE_RULE?b(a):c&&f===G.na?c(a):f===G.Da&&(e=!0);if((a=a.rules)&&!e)for(var e=
|
||||
0,f=a.length,h;e<f&&(h=a[e]);e++)Z(h,b,c,d)}}function Ya(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;sc(e,c,d);return e}function sc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);S?a.compareDocumentPosition(S)===Node.DOCUMENT_POSITION_PRECEDING&&(S=a):S=a}function tc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;
|
||||
d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=tc(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 pa(a,b){p?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function T(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,aa:c}}function uc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=T(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function yd(a){if(a=qa[a])a._applyShimCurrentVersion=
|
||||
a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function vc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function zd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Ad.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function nb(a){requestAnimationFrame(function(){wc?wc(a):(Za||(Za=new Promise(function(a){$a=a}),"complete"===document.readyState?
|
||||
$a():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&$a()})),Za.then(function(){a&&a()}))})}(function(){if(!function(){var a=document.createEvent("Event");a.initEvent("foo",!0,!0);a.preventDefault();return a.defaultPrevented}()){var a=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(a.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var b=/Trident/.test(navigator.userAgent);
|
||||
if(!window.CustomEvent||b&&"function"!==typeof window.CustomEvent)window.CustomEvent=function(a,b){b=b||{};var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c},window.CustomEvent.prototype=window.Event.prototype;if(!window.Event||b&&"function"!==typeof window.Event){var c=window.Event;window.Event=function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};if(c)for(var d in c)window.Event[d]=
|
||||
c[d];window.Event.prototype=c.prototype}if(!window.MouseEvent||b&&"function"!==typeof window.MouseEvent){b=window.MouseEvent;window.MouseEvent=function(a,b){b=b||{};var c=document.createEvent("MouseEvent");c.initMouseEvent(a,!!b.bubbles,!!b.cancelable,b.view||window,b.detail,b.screenX,b.screenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};if(b)for(d in b)window.MouseEvent[d]=b[d];window.MouseEvent.prototype=b.prototype}Array.from||(Array.from=function(a){return[].slice.call(a)});
|
||||
Object.assign||(Object.assign=function(a,b){for(var c=[].slice.call(arguments,1),d=0,e;d<c.length;d++)if(e=c[d])for(var f=a,k=e,m=Object.getOwnPropertyNames(k),n=0;n<m.length;n++)e=m[n],f[e]=k[e];return a})})(window.WebComponents);(function(){function a(){}var b="undefined"===typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&function(){var a=Document.prototype.importNode;Document.prototype.importNode=function(){var b=a.apply(this,arguments);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var c=
|
||||
this.createDocumentFragment();c.appendChild(b);return c}return b}}();var c=Node.prototype.cloneNode,d=Document.prototype.createElement,e=Document.prototype.importNode,f=function(){if(!b){var a=document.createElement("template"),c=document.createElement("template");c.content.appendChild(document.createElement("div"));a.content.appendChild(c);a=a.cloneNode(!0);return 0===a.content.childNodes.length||0===a.content.firstChild.content.childNodes.length||!(document.createDocumentFragment().cloneNode()instanceof
|
||||
DocumentFragment)}}();if(b){var g=function(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case "\u00a0":return" "}},h=function(b){Object.defineProperty(b,"innerHTML",{get:function(){for(var a="",b=this.content.firstChild;b;b=b.nextSibling)a+=b.outerHTML||b.data.replace(v,g);return a},set:function(b){k.body.innerHTML=b;for(a.b(k);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;k.body.firstChild;)this.content.appendChild(k.body.firstChild)},
|
||||
configurable:!0})},k=document.implementation.createHTMLDocument("template"),m=!0,q=document.createElement("style");q.textContent="template{display:none;}";var n=document.head;n.insertBefore(q,n.firstElementChild);a.prototype=Object.create(HTMLElement.prototype);var t=!document.createElement("div").hasOwnProperty("innerHTML");a.P=function(b){if(!b.content){b.content=k.createDocumentFragment();for(var c;c=b.firstChild;)b.content.appendChild(c);if(t)b.__proto__=a.prototype;else if(b.cloneNode=function(b){return a.a(this,
|
||||
b)},m)try{h(b)}catch(de){m=!1}a.b(b.content)}};h(a.prototype);a.b=function(b){b=b.querySelectorAll("template");for(var c=0,d=b.length,e;c<d&&(e=b[c]);c++)a.P(e)};document.addEventListener("DOMContentLoaded",function(){a.b(document)});Document.prototype.createElement=function(){var b=d.apply(this,arguments);"template"===b.localName&&a.P(b);return b};var v=/[&\u00A0<>]/g}if(b||f)a.a=function(a,b){var d=c.call(a,!1);this.P&&this.P(d);b&&(d.content.appendChild(c.call(a.content,!0)),this.xa(d.content,
|
||||
a.content));return d},a.prototype.cloneNode=function(b){return a.a(this,b)},a.xa=function(a,b){if(b.querySelectorAll){b=b.querySelectorAll("template");a=a.querySelectorAll("template");for(var c=0,d=a.length,e,f;c<d;c++)f=b[c],e=a[c],this.P&&this.P(f),e.parentNode.replaceChild(f.cloneNode(!0),e)}},Node.prototype.cloneNode=function(b){var d;if(this instanceof DocumentFragment)if(b)d=this.ownerDocument.importNode(this,!0);else return this.ownerDocument.createDocumentFragment();else d=c.call(this,b);
|
||||
b&&a.xa(d,this);return d},Document.prototype.importNode=function(b,c){if("template"===b.localName)return a.a(b,c);var d=e.call(this,b,c);c&&a.xa(d,b);return d},f&&(window.HTMLTemplateElement.prototype.cloneNode=function(b){return a.a(this,b)});b&&(window.HTMLTemplateElement=a)})();!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.Ib?define(b):a.ES6Promise=b()}(window,function(){function a(a,b){B[aa]=a;B[aa+1]=b;aa+=2;2===aa&&(D?
|
||||
D(g):M())}function b(){return function(){return process.Lb(g)}}function c(){return"undefined"!=typeof y?function(){y(g)}:f()}function d(){var a=0,b=new J(g),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function e(){var a=new MessageChannel;return a.port1.onmessage=g,function(){return a.port2.postMessage(0)}}function f(){var a=setTimeout;return function(){return a(g,1)}}function g(){for(var a=0;a<aa;a+=2)(0,B[a])(B[a+1]),B[a]=void 0,B[a+1]=void 0;
|
||||
aa=0}function h(){try{var a=require("vertx");return y=a.Nb||a.Mb,c()}catch(xc){return f()}}function k(b,c){var d=arguments,e=this,f=new this.constructor(q);void 0===f[I]&&yc(f);var g=e.m;return g?!function(){var b=d[g-1];a(function(){return ga(g,f,b,e.l)})}():A(e,f,b,c),f}function m(a){if(a&&"object"==typeof a&&a.constructor===this)return a;var b=new this(q);return u(b,a),b}function q(){}function n(a){try{return a.then}catch(xc){return O.error=xc,O}}function t(a,b,c,d){try{a.call(b,c,d)}catch(Dd){return Dd}}
|
||||
function v(b,c,d){a(function(a){var b=!1,e=t(d,c,function(d){b||(b=!0,c!==d?u(a,d):r(a,d))},function(c){b||(b=!0,N(a,c))});!b&&e&&(b=!0,N(a,e))},b)}function x(a,b){b.m===L?r(a,b.l):b.m===H?N(a,b.l):A(b,void 0,function(b){return u(a,b)},function(b){return N(a,b)})}function p(a,b,c){b.constructor===a.constructor&&c===k&&b.constructor.resolve===m?x(a,b):c===O?(N(a,O.error),O.error=null):void 0===c?r(a,b):"function"==typeof c?v(a,b,c):r(a,b)}function u(a,b){a===b?N(a,new TypeError("You cannot resolve a promise with itself")):
|
||||
"function"==typeof b||"object"==typeof b&&null!==b?p(a,b,n(b)):r(a,b)}function z(a){a.Ja&&a.Ja(a.l);w(a)}function r(b,c){b.m===G&&(b.l=c,b.m=L,0!==b.X.length&&a(w,b))}function N(b,c){b.m===G&&(b.m=H,b.l=c,a(z,b))}function A(b,c,d,e){var f=b.X,g=f.length;b.Ja=null;f[g]=c;f[g+L]=d;f[g+H]=e;0===g&&b.m&&a(w,b)}function w(a){var b=a.X,c=a.m;if(0!==b.length){for(var d,e,f=a.l,g=0;g<b.length;g+=3)d=b[g],e=b[g+c],d?ga(c,d,e,f):e(f);a.X.length=0}}function F(){this.error=null}function ga(a,b,c,d){var e="function"==
|
||||
typeof c,f=void 0,g=void 0,h=void 0,ga=void 0;if(e){var k;try{k=c(d)}catch(Ed){k=(P.error=Ed,P)}if(f=k,f===P?(ga=!0,g=f.error,f.error=null):h=!0,b===f)return void N(b,new TypeError("A promises callback cannot return that same promise."))}else f=d,h=!0;b.m!==G||(e&&h?u(b,f):ga?N(b,g):a===L?r(b,f):a===H&&N(b,f))}function Fd(a,b){try{b(function(b){u(a,b)},function(b){N(a,b)})}catch(Bd){N(a,Bd)}}function yc(a){a[I]=Q++;a.m=void 0;a.l=void 0;a.X=[]}function ba(a,b){this.kb=a;this.J=new a(q);this.J[I]||
|
||||
yc(this.J);zc(b)?(this.jb=b,this.length=b.length,this.ba=b.length,this.l=Array(this.length),0===this.length?r(this.J,this.l):(this.length=this.length||0,this.ib(),0===this.ba&&r(this.J,this.l))):N(this.J,Error("Array Methods must be provided an Array"))}function E(a){this[I]=Q++;this.l=this.m=void 0;this.X=[];if(q!==a){if("function"!=typeof a)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(this instanceof E)Fd(this,a);else throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
|
||||
}}var ab=void 0,zc=ab=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},aa=0,y=void 0,D=void 0,C=(ab="undefined"!=typeof window?window:void 0)||{},J=C.MutationObserver||C.WebKitMutationObserver,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,B=Array(1E3),M=void 0,M="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?b():J?d():C?e():ab||
|
||||
"function"!=typeof require?f():h(),I=Math.random().toString(36).substring(16),G=void 0,L=1,H=2,O=new F,P=new F,Q=0;return ba.prototype.ib=function(){for(var a=this.length,b=this.jb,c=0;this.m===G&&c<a;c++)this.hb(b[c],c)},ba.prototype.hb=function(a,b){var c=this.kb,d=c.resolve;d===m?(d=n(a),d===k&&a.m!==G?this.ua(a.m,b,a.l):"function"!=typeof d?(this.ba--,this.l[b]=a):c===E?(c=new c(q),p(c,a,d),this.va(c,b)):this.va(new c(function(b){return b(a)}),b)):this.va(d(a),b)},ba.prototype.ua=function(a,b,
|
||||
c){var d=this.J;d.m===G&&(this.ba--,a===H?N(d,c):this.l[b]=c);0===this.ba&&r(d,this.l)},ba.prototype.va=function(a,b){var c=this;A(a,void 0,function(a){return c.ua(L,b,a)},function(a){return c.ua(H,b,a)})},E.g=function(a){return(new ba(this,a)).J},E.h=function(a){var b=this;return new b(zc(a)?function(c,d){for(var e=a.length,f=0;f<e;f++)b.resolve(a[f]).then(c,d)}:function(a,b){return b(new TypeError("You must pass an array to race."))})},E.resolve=m,E.i=function(a){var b=new this(q);return N(b,a),
|
||||
b},E.f=function(a){D=a},E.c=function(b){a=b},E.b=a,E.prototype={constructor:E,then:k,"catch":function(a){return this.then(null,a)}},E.a=function(){var a=void 0;if("undefined"!=typeof global)a=global;else if("undefined"!=typeof self)a=self;else try{a=Function("return this")()}catch(Cd){throw Error("polyfill failed because global object is unavailable in this environment");}var b=a.Promise;if(b){var c=null;try{c=Object.prototype.toString.call(b.resolve())}catch(Cd){}if("[object Promise]"===c&&!b.Jb)return}a.Promise=
|
||||
E},E.Promise=E,E.a(),E});(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function c(a){if(m)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=
|
||||
document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;if(c)for(var d=0,e=b.length,f;d<e&&(f=b[d]);d++)g(f,function(){--c||a()});else a()}function e(a){if("loading"!==document.readyState)a();else{var b=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",b),a())};document.addEventListener("readystatechange",b)}}function f(a){e(function(){return d(function(){return a&&a()})})}function g(a,b){if(a.__loaded)b&&b();else if(h(a)&&!m&&null===
|
||||
a.import||a.import&&"complete"===a.import.readyState)a.__loaded=!0,b&&b();else if("script"!==a.localName||a.src){var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);A&&"style"===a.localName||a.addEventListener("error",c)}else a.__loaded=!0,b&&b()}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function k(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.o(b)});this.f.observe(document.head,
|
||||
{childList:!0,subtree:!0});this.c(document)}var m="import"in document.createElement("link"),n=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return n||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var r=/(^\/)|(^#)|(^[\w-\d]*:)/,t=/(url\()([^)]*)(\))/g,u=/(@import[\s]+(?!url\())([^;]*)(;)/g,v=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,p={rb:function(a,b){a.href&&a.setAttribute("href",
|
||||
p.Ca(a.getAttribute("href"),b));a.src&&a.setAttribute("src",p.Ca(a.getAttribute("src"),b));if("style"===a.localName){var c=p.Ta(a.textContent,b,t);a.textContent=p.Ta(c,b,u)}},Ta:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=p.Ua(a,b));return c+"'"+a+"'"+e})},Ca:function(a,b){return a&&r.test(a)?a:p.Ua(a,b)},Ua:function(a,b){if(void 0===p.qa){p.qa=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";p.qa="http://a/c%20d"===c.href}catch(ba){}}if(p.qa)return(new URL(a,
|
||||
b)).href;c=p.fb;c||(c=document.implementation.createHTMLDocument("temp"),p.fb=c,c.Fa=c.createElement("base"),c.head.appendChild(c.Fa),c.Ea=c.createElement("a"));c.Fa.href=b;c.Ea.href=a;return c.Ea.href||a}},x={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1],d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,x.async);e.onload=function(){var a=e.getResponseHeader("Location");a&&!a.indexOf("/")&&(a=(location.origin||
|
||||
location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},A=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.c=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,c=a.length;b<c;b++)this.h(a[b])};k.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];d&&d.__loaded&&(a.import=d,this.g(a))}else this.b++,
|
||||
this.a[c]="pending",x.load(c,function(a,d){a=b.s(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};k.prototype.s=function(a,b){if(!a)return document.createDocumentFragment();A&&(a=a.replace(v,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=p.Ca(c.getAttribute("href"),
|
||||
b),c.removeAttribute("href");for(var c=a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),d=0,e=0,f=c.length,h;e<f&&(h=c[e]);e++)g(h),p.rb(h,b),h.setAttribute("import-dependency",""),"script"===h.localName&&!h.src&&h.textContent&&(h.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(h.textContent+
|
||||
("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),h.textContent="",d++);return a};k.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.A(function(){c=!0;d()});this.u(function(){b=!0;d()})}};k.prototype.flatten=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,c=a.length,d;b<c&&(d=a[b]);b++){var e=this.a[d.href];(d.import=e)&&e.nodeType===
|
||||
Node.DOCUMENT_FRAGMENT_NODE&&(this.a[d.href]=d,d.readyState="loading",d.import=d,this.flatten(e),d.appendChild(e))}};k.prototype.u=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");for(var k=0,l=f.attributes.length;k<l;k++)h.setAttribute(f.attributes[k].name,f.attributes[k].value);n=h;f.parentNode.replaceChild(h,f);g(h,function(){n=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};
|
||||
k.prototype.A=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d)for(var e=A&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]"),f={},h=0,k=b.length;h<k&&(f.w=b[h]);f={w:f.w},h++){if(g(f.w,function(b){return function(){b.w.removeAttribute("import-dependency");--d||a()}}(f)),e&&f.w.parentNode!==document.head){var l=document.createElement(f.w.localName);l.__appliedElement=f.w;l.setAttribute("type",
|
||||
"import-placeholder");f.w.parentNode.insertBefore(l,f.w.nextSibling);for(l=c(f.w);l&&c(l);)l=c(l);l.parentNode!==document.head&&(l=null);document.head.insertBefore(f.w,l);f.w.removeAttribute("type")}}else a()};k.prototype.j=function(){for(var a=document.querySelectorAll("link[rel=import]"),b=a.length-1,c;0<=b&&(c=a[b]);b--)this.g(c)};k.prototype.g=function(a){a.__loaded||(a.__loaded=!0,a.import&&(a.import.readyState="complete"),a.dispatchEvent(b(a.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))};
|
||||
k.prototype.o=function(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.addedNodes)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];e&&e.nodeType===Node.ELEMENT_NODE&&(h(e)?this.h(e):this.c(e))}}};if(m){for(var w=document.querySelectorAll("link[rel=import]"),B=0,C=w.length,z;B<C&&(z=w[B]);B++)z.import&&"loading"===z.import.readyState||(z.__loaded=!0);w=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",w,!0);document.addEventListener("error",w,!0)}else{var y=
|
||||
Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!y||y.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:y&&y.get?y.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=m;a.whenReady=f;a.importForElement=c})(window.HTMLImports=
|
||||
window.HTMLImports||{});(function(){window.WebComponents=window.WebComponents||{flags:{}};var a=document.querySelector('script[src*="webcomponents-lite.js"]'),b=/wc-(.+)/,c={};if(!c.noOpts){location.search.slice(1).split("&").forEach(function(a){a=a.split("=");var d;a[0]&&(d=a[0].match(b))&&(c[d[1]]=a[1]||!0)});if(a)for(var d=0,e;e=a.attributes[d];d++)"src"!==e.name&&(c[e.name]=e.value||!0);c.log&&c.log.split?(a=c.log.split(","),c.log={},a.forEach(function(a){c.log[a]=!0})):c.log={}}window.WebComponents.flags=
|
||||
c;if(a=c.shadydom)window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=a;(a=c.register||c.ce)&&window.customElements&&(window.customElements.forcePolyfill=a)})();var C=window.ShadyDOM||{};C.tb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var bb=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.Y=!!(bb&&bb.configurable&&bb.get);C.Oa=C.force||!C.tb;var ca=Element.prototype,Ac=ca.matches||ca.matchesSelector||ca.mozMatchesSelector||ca.msMatchesSelector||ca.oMatchesSelector||
|
||||
ca.webkitMatchesSelector,Ia=document.createTextNode(""),Hb=0,Ha=[];(new MutationObserver(function(){for(;Ha.length;)try{Ha.shift()()}catch(a){throw Ia.textContent=Hb++,a;}})).observe(Ia,{characterData:!0});var ea=[],Ja;Ka.list=ea;ma.prototype.Ab=function(){var a=this;this.a||(this.a=!0,Gb(function(){a.b()}))};ma.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.ea.forEach(function(b){b(a)})}};ma.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=
|
||||
[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var fc=Element.prototype.appendChild,Ra=Element.prototype.insertBefore,W=Element.prototype.removeChild,Bc=Element.prototype.setAttribute,Cc=Element.prototype.removeAttribute,cb=Element.prototype.cloneNode,Sa=Document.prototype.importNode,Dc=Element.prototype.addEventListener,Ec=Element.prototype.removeEventListener,Gd=Object.freeze({appendChild:fc,insertBefore:Ra,removeChild:W,
|
||||
setAttribute:Bc,removeAttribute:Cc,cloneNode:cb,importNode:Sa,addEventListener:Dc,removeEventListener:Ec}),nd=/[&\u00A0"]/g,qd=/[&\u00A0<>]/g,od=Kb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),pd=Kb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),y=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),D=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Hd=Object.freeze({parentNode:P,firstChild:Ea,
|
||||
lastChild:Fa,previousSibling:Lb,nextSibling:Mb,childNodes:da,parentElement:Nb,firstElementChild:Ob,lastElementChild:Pb,previousElementSibling:Qb,nextElementSibling:Rb,children:Sb,innerHTML:Tb,textContent:Ub}),db=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ra=document.implementation.createHTMLDocument("inert").createElement("div"),eb=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Vb={parentElement:{get:function(){var a=
|
||||
this.__shady&&this.__shady.parentElement;return void 0!==a?a:Nb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:P(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Mb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Lb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||
|
||||
""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Rb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Qb(this)},configurable:!0}},Ma=
|
||||
{childNodes:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}return this.__shady.childNodes}return da(this)},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:Ea(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Fa(this)},configurable:!0},
|
||||
textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return Ub(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=
|
||||
this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Ob(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Pb(this)},configurable:!0},children:{get:function(){return this.__shady&&void 0!==this.__shady.firstChild?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):Sb(this)},
|
||||
configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?La(a):Tb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(db&&db.set?db.set.call(ra,a):ra.innerHTML=a;ra.firstChild;)b.appendChild(ra.firstChild)},configurable:!0}},Fc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||
|
||||
{};this.__shady.root=a},configurable:!0}},Na={activeElement:{get:function(){var a;a=eb&&eb.get?eb.get.call(document):C.Y?void 0:document.activeElement;if(a&&a.nodeType){var b=!!B(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=V(a);b&&b!==this;)a=b.host,b=V(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},Eb=C.Y?function(){}:function(a){a.__shady&&a.__shady.eb||(a.__shady=a.__shady||{},a.__shady.eb=!0,L(a,Vb,
|
||||
!0))},Db=C.Y?function(){}:function(a){a.__shady&&a.__shady.bb||(a.__shady=a.__shady||{},a.__shady.bb=!0,L(a,Ma,!0),L(a,Fc,!0))},sa=null,Id={focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,
|
||||
pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},lc={get composed(){!1!==this.isTrusted&&void 0===this.oa&&(this.oa=Id[this.type]);return this.oa||!1},composedPath:function(){this.Ga||(this.Ga=Ta(this.__target,this.composed));return this.Ga},get target(){return hc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.Ha)return null;
|
||||
this.Ia||(this.Ia=Ta(this.Ha,!0));return hc(this.currentTarget,this.Ia)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.pa=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.pa=this.ab=!0}},Va={focus:!0,blur:!0},Jd=Ua(window.Event),Kd=Ua(window.CustomEvent),Ld=Ua(window.MouseEvent),Md="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};
|
||||
F.prototype.sb=function(){return this.root.querySelectorAll("slot")};F.prototype.za=function(a){return a.localName&&"slot"==a.localName};F.prototype.wa=function(){return this.root.ya()?this.g(this.c()):[]};F.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};F.prototype.g=function(a){for(var b=[],c=this.root.sa(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.ya()&&b.push(g)}for(c=0;c<a.length;c++)if(d=
|
||||
a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=P(d))&&W.call(e,d);return b};F.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.Ka(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.ta!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.ta!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.ta=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);
|
||||
d&&this.a(a)};F.prototype.Ka=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.ta=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};F.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};F.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};F.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.R=
|
||||
[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.za(d)){var e=d.__shady.R;if(e)for(var f=0;f<e.length;f++)a.__shady.R.push(e[f])}else a.__shady.R.push(b[c])};F.prototype.a=function(a){a.dispatchEvent(new Md("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};F.prototype.ga=function(a){return!a.__shady.assignedSlot};var Cb={};t.prototype=Object.create(DocumentFragment.prototype);t.prototype.i=function(a){this.cb="ShadyRoot";U(a);U(this);a.shadowRoot=this;this.host=a;this.ra=this.O=
|
||||
!1;this.D=new F(this);this.update()};t.prototype.update=function(){var a=this;this.O||(this.O=!0,Ib(function(){return a.Sa()}))};t.prototype.h=function(){for(var a=this,b=this;b;)b.O&&(a=b),b=b.mb();return a};t.prototype.mb=function(){var a=this.host.getRootNode();if(B(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.D.za(d))return a};t.prototype.Sa=function(){this.O&&this.h()._render()};t.prototype._render=function(){this.ra=this.O=!1;this.ca||this.f();this.ca=!1;this.wa();this.j()};
|
||||
t.prototype.wa=function(){for(var a=this.D.wa(),b=0;b<a.length;b++)a[b]._render()};t.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.D.Ka(c);a=this.a=this.D.sb();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},U(c),U(c.parentNode)};t.prototype.j=function(){this.g()};t.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.sa(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};
|
||||
t.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.D.za(d))for(var e=d.__shady.R||(d.__shady.R=[]),f=0;f<e.length;f++){var g=e[f];this.ga(d,g)&&b.push(g)}else b.push(d)}return b};t.prototype.ga=function(a,b){return this.D.ga(a,b)};t.prototype.c=function(a,b){for(var c=da(a),d=td(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.$.length&&(k=g.$[h]);h++)P(k)===a&&W.call(a,k),c.splice(g.index+f,1);
|
||||
f-=g.da}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.da;h++)k=b[h],Ra.call(a,k,f),c.splice(h,0,k)};t.prototype.ya=function(){return!(!this.a||!this.a.length)};t.prototype.sa=function(){this.a||this.f();return this.a};(function(a){L(a,Ma,!0);L(a,Na,!0)})(t.prototype);var Nd={addEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);if(b.B)for(var g=0;g<b.B.length;g++){if(jc(b.B[g],this,a,d,e,f))return}else b.B=
|
||||
[];g=function(d){e&&this.removeEventListener(a,b,c);d.__target||kc(d);if(d.composed||-1<d.composedPath().indexOf(this))if(d.eventPhase===Event.BUBBLING_PHASE&&d.target===d.relatedTarget)d.stopImmediatePropagation();else return b.call(this,d)};b.B.push({node:this,type:a,capture:d,once:e,passive:f,Db:g});Va[a]?(this.C=this.C||{},this.C[a]=this.C[a]||{capture:[],bubble:[]},this.C[a][d?"capture":"bubble"].push(g)):Dc.call(this,a,g,c)}},removeEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?
|
||||
(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=void 0;if(b.B)for(var h=0;h<b.B.length;h++)if(jc(b.B[h],this,a,d,e,f)){g=b.B.splice(h,1)[0].Db;b.B.length||(b.B=void 0);break}Ec.call(this,a,g||b,c);g&&Va[a]&&this.C&&this.C[a]&&(a=this.C[a][d?"capture":"bubble"],g=a.indexOf(g),-1<g&&a.splice(g,1))}},appendChild:function(a){return ec(this,a)},insertBefore:function(a,b){return ec(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+
|
||||
a);if(!Xb(a)){var b=B(this)?this.host:this,c=P(a);b===c&&W.call(b,a)}Pa(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=cb.call(this,a);else if(b=cb.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Qa(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&
|
||||
a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof t?a.host:void 0);return!!(a&&a instanceof Document)}},Od={get assignedSlot(){return mc(this)}},fb={querySelector:function(a){return bc(this,function(b){return Ac.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return bc(this,function(b){return Ac.call(b,a)})}},Gc={assignedNodes:function(a){if("slot"===this.localName)return dc(this),this.__shady?(a&&a.flatten?this.__shady.R:
|
||||
this.__shady.assignedNodes)||[]:[]}},Hc=Fb({setAttribute:function(a,b){sa||(sa=window.ShadyCSS&&window.ShadyCSS.ScopingShim);sa&&"class"===a?sa.setElementClass(this,b):(Bc.call(this,a,b),ac(this,a))},removeAttribute:function(a){Cc.call(this,a);ac(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new t(Cb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},get assignedSlot(){return mc(this)}},fb,
|
||||
Gc);Object.defineProperties(Hc,Fc);var Ic=Fb({importNode:function(a,b){return gc(a,b)}},fb);Object.defineProperties(Ic,{_activeElement:Na.activeElement});C.Oa&&(window.ShadyDOM={inUse:C.Oa,patch:function(a){return a},isShadyRoot:B,enqueue:Ib,flush:Ka,settings:C,filterMutations:md,observeChildren:kd,unobserveChildren:jd,nativeMethods:Gd,nativeTree:Hd},window.Event=Jd,window.CustomEvent=Kd,window.MouseEvent=Ld,sd(),X(window.Node.prototype,Nd),X(window.Text.prototype,Od),X(window.DocumentFragment.prototype,
|
||||
fb),X(window.Element.prototype,Hc),X(window.Document.prototype,Ic),window.HTMLSlotElement&&X(window.HTMLSlotElement.prototype,Gc),C.Y&&(Q(window.Node.prototype),Q(window.Text.prototype),Q(window.DocumentFragment.prototype),Q(window.Element.prototype),Q((window.customElements&&window.customElements.nativeHTMLElement||HTMLElement).prototype),Q(window.Document.prototype),window.HTMLSlotElement&&Q(window.HTMLSlotElement.prototype)),window.ShadowRoot=t);var vd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));
|
||||
w.prototype.M=function(a,b){this.s.set(a,b);this.o.set(b.constructor,b)};w.prototype.f=function(a){return this.s.get(a)};w.prototype.L=function(a){return this.o.get(a)};w.prototype.u=function(a){this.h=!0;this.i.push(a)};w.prototype.j=function(a){var b=this;this.h&&O(a,function(a){return b.g(a)})};w.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};w.prototype.b=function(a){var b=[];O(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=
|
||||
b[a];1===c.__CE_state?this.connectedCallback(c):this.A(c)}};w.prototype.a=function(a){var b=[];O(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};w.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];O(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=
|
||||
a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,new Set(b),b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.A(d[a])};w.prototype.A=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=
|
||||
2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}m(a)&&this.connectedCallback(a)}}};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)};Da.prototype.c=function(){this.N&&this.N.disconnect()};Da.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};Bb.prototype.resolve=function(a){if(this.a)throw Error("Already resolved.");this.a=a;this.b&&this.b(a)};r.prototype.i=
|
||||
function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!nc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=m[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
|
||||
return b},m=b.prototype;if(!(m instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(q){return}finally{this.f=!1}this.a.M(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=
|
||||
!0,this.g(function(){return c.o()}))};r.prototype.o=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.resolve(void 0)}};r.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};r.prototype.u=function(a){if(!nc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.c;b=new Bb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.resolve(void 0);return b.c};
|
||||
r.prototype.s=function(a){this.j.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=r;r.prototype.define=r.prototype.i;r.prototype.get=r.prototype.get;r.prototype.whenDefined=r.prototype.u;r.prototype.polyfillWrapFlushCallback=r.prototype.s;var za=window.Document.prototype.createElement,ed=window.Document.prototype.createElementNS,dd=window.Document.prototype.importNode,fd=window.Document.prototype.prepend,gd=window.Document.prototype.append,qb=window.Node.prototype.cloneNode,
|
||||
ka=window.Node.prototype.appendChild,yb=window.Node.prototype.insertBefore,Aa=window.Node.prototype.removeChild,zb=window.Node.prototype.replaceChild,Ca=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),pb=window.Element.prototype.attachShadow,xa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Ba=window.Element.prototype.getAttribute,rb=window.Element.prototype.setAttribute,tb=window.Element.prototype.removeAttribute,la=window.Element.prototype.getAttributeNS,
|
||||
sb=window.Element.prototype.setAttributeNS,ub=window.Element.prototype.removeAttributeNS,wb=window.Element.prototype.insertAdjacentElement,Vc=window.Element.prototype.prepend,Wc=window.Element.prototype.append,Yc=window.Element.prototype.before,Zc=window.Element.prototype.after,$c=window.Element.prototype.replaceWith,ad=window.Element.prototype.remove,id=window.HTMLElement,ya=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),vb=window.HTMLElement.prototype.insertAdjacentElement,
|
||||
Ab=new function(){},ta=window.customElements;if(!ta||ta.forcePolyfill||"function"!=typeof ta.define||"function"!=typeof ta.get){var ha=new w;hd(ha);cd(ha);bd(ha);Uc(ha);document.__CE_hasRegistry=!0;var Pd=new r(ha);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Pd})}var G={STYLE_RULE:1,na:7,MEDIA_RULE:4,Da:1E3},M={qb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,La:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Pa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,
|
||||
xb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Cb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,wb:/^@[^\s]*keyframes/,Qa:/\s+/g},p=!(window.ShadyDOM&&window.ShadyDOM.inUse),z=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?qc(window.ShadyCSS):window.WebComponents&&qc(window.WebComponents.flags);var Jc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Kc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,
|
||||
Qd=/(--[\w-]+)\s*([:,;)]|$)/gi,Rd=/(animation\s*:)|(animation-name\s*:)/,xd=/@media[^(]*(\([^)]*\))/,Sd=/\{[^}]*\}/g,S=null;v.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};v.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.A(a,b,c);if(a="template"===a.localName?(a.content||a.Gb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};v.prototype.A=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),
|
||||
a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Td);c?d&&(b=d.replace("style-scope","").replace(b,""),pa(a,b)):pa(a,(d?d+" ":"")+"style-scope "+b)}};v.prototype.b=function(a,b,c){var d=a.__cssBuild;p||"shady"===d?b=Y(b,c):(a=T(a),b=this.U(b,a.is,a.aa,c)+"\n\n");return b.trim()};v.prototype.U=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return Y(a,function(a){a.c||(f.W(a,b,e),a.c=!0);d&&d(a,b,e)})};v.prototype.h=
|
||||
function(a){return a?Ud+a:""};v.prototype.f=function(a,b){return b?"[is="+a+"]":a};v.prototype.W=function(a,b,c){this.j(a,this.g,b,c)};v.prototype.j=function(a,b,c,d){a.selector=a.F=this.o(a,b,c,d)};v.prototype.o=function(a,b,c,d){var e=a.selector.split(Lc);if(!rc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Lc)};v.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Vd,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Wd,gb+
|
||||
" $1");return a=a.replace(Xd,function(a,g,h){e||(a=d.L(h,g,b,c),e=e||a.stop,g=a.pb,h=a.value);return g+h})};v.prototype.L=function(a,b,c,d){var e=a.indexOf(hb);0<=a.indexOf(gb)?a=this.T(a,d):0!==e&&(a=c?this.s(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,c&&(a=a.replace(Yd,function(a,b){return" > "+b})));a=a.replace(Zd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,pb:b,stop:f}};v.prototype.s=function(a,b){a=a.split(Mc);a[0]+=b;return a.join(Mc)};v.prototype.T=function(a,
|
||||
b){var c=a.match(Nc);return(c=c&&c[2].trim()||"")?c[0].match(Oc)?a.replace(Nc,function(a,c,f){return b+f}):c.split(Oc)[0]===b?c:$d:a.replace(gb,b)};v.prototype.V=function(a){a.selector=a.parsedSelector;this.u(a);this.j(a,this.M)};v.prototype.u=function(a){a.selector===ae&&(a.selector="html")};v.prototype.M=function(a){return a.match(hb)?this.g(a,Pc):this.s(a.trim(),Pc)};mb.Object.defineProperties(v.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Vd=/:(nth[-\w]+)\(([^)]+)\)/,
|
||||
Pc=":not(.style-scope)",Lc=",",Xd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Oc=/[[.:#*]/,gb=":host",ae=":root",hb="::slotted",Wd=new RegExp("^("+hb+")"),Nc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Yd=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Zd=/(.*):dir\((?:(ltr|rtl))\)/,Ud=".",Mc=":",Td="class",$d="should_not_match",u=new v;x.get=function(a){return a?a.__styleInfo:null};x.set=function(a,b){return a.__styleInfo=b};x.prototype.c=function(){return this.I};x.prototype._getStyleRules=x.prototype.c;
|
||||
var Qc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),be=navigator.userAgent.match("Trident");n.prototype.W=function(a){var b=this,c={},d=[],e=0;Z(a,function(a){b.c(a);a.index=e++;b.V(a.v.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};n.prototype.c=function(a){if(!a.v){var b={},c={};this.b(a,c)&&(b.H=c,a.rules=null);b.cssText=this.U(a);a.v=b}};n.prototype.b=
|
||||
function(a,b){var c=a.v;if(c){if(c.H)return Object.assign(b,c.H),!0}else{for(var c=a.parsedCssText,d;a=Jc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};n.prototype.U=function(a){return this.T(a.parsedCssText)};n.prototype.T=function(a){return a.replace(Sd,"").replace(Jc,"")};n.prototype.V=function(a,b){for(var c;c=Qd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};n.prototype.ka=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=
|
||||
b[c],a[d]=this.a(a[d],a)};n.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=tc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};n.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Kc.lastIndex=0;if(e=Kc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||
|
||||
f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};n.prototype.M=function(a,b){var c="";a.v||this.c(a);a.v.cssText&&(c=this.f(a.v.cssText,b));a.cssText=c};n.prototype.L=function(a,b){var c=a.cssText,d=a.cssText;null==a.Na&&(a.Na=Rd.test(c));if(a.Na)if(null==a.ha){a.ha=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ha.push(e))}else{for(e=0;e<a.ha.length;++e)d=b[a.ha[e]],c=d(c);d=c}a.cssText=d};n.prototype.ja=function(a,b){var c={},d=this,e=[];Z(a,
|
||||
function(a){a.v||d.c(a);var f=a.F||a.parsedSelector;b&&a.v.H&&f&&Qc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{H:c,key:e}};n.prototype.ma=function(a,b,c,d){b.v||this.c(b);if(b.v.H){var e=T(a);a=e.is;var e=e.aa,e=a?u.f(a,e):"html",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&&(p&&!b.F&&(b.F=u.o(b,u.g,u.h(a),e)),c=b.F||e),d({Bb:c,vb:h,Kb:g})}};n.prototype.ia=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;Z(b,function(b){e.ma(a,b,f,function(f){Qc.call(a.Hb||a,f.Bb)&&(f.vb?e.b(b,c):e.b(b,d))})},null,!0);return{zb:d,ub:c}};n.prototype.la=function(a,b,c){var d=this,e=T(a),f=u.f(e.is,e.aa),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=x.get(a).I,h=this.h(e,c);return u.b(a,e,function(a){d.M(a,b);p||rc(a)||!a.cssText||(d.L(a,
|
||||
h),d.o(a,g,f,c))})};n.prototype.h=function(a,b){a=a.b;var c={};if(!p&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};n.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};n.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.F=a.F||a.selector;a.selector=a.F.replace(a.keyframesName,a.a)};n.prototype.o=function(a,b,c,d){a.F=a.F||a.selector;d="."+d;for(var e=a.F.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=
|
||||
h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};n.prototype.u=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&pa(a,e)};n.prototype.A=function(a,b,c,d){b=d?d.textContent||"":this.la(a,b,c);var e=x.get(a),f=e.a;f&&!p&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));p?e.a?(e.a.textContent=b,d=e.a):b&&(d=Ya(b,c,a.shadowRoot,e.b)):d?d.parentNode||(be&&-1<b.indexOf("@media")&&
|
||||
(d.textContent=b),sc(d,null,e.b)):b&&(d=Ya(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};n.prototype.s=function(a,b){var c=oa(a),d=this;a.textContent=Y(c,function(a){var c=a.cssText=a.parsedCssText;a.v&&a.v.cssText&&(c=c.replace(M.La,"").replace(M.Pa,""),a.cssText=d.f(c,b))})};mb.Object.defineProperties(n.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var H=new n,ib={},ua=window.customElements;if(ua&&!p){var ce=ua.define;ua.define=
|
||||
function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(S?S.nextSibling:null)||e.firstChild);S=d;ib[a]=d;return ce.call(ua,a,b,c)}}ja.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.H[e]!==b[e])return!1}return!0};ja.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({H:b,styleElement:c,G:d});e.length>this.f&&e.shift();this.cache[a]=e};ja.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=
|
||||
a[d];if(this.b(e,b,c))return e}};if(!p){var Rc=new MutationObserver(uc),Sc=function(a){Rc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Sc(document);else{var jb=function(){Sc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(jb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){jb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else jb()})}ob=
|
||||
function(){uc(Rc.takeRecords())}}var qa={},Ad=Promise.resolve(),Za=null,wc=window.HTMLImports&&window.HTMLImports.whenReady||null,$a,va=null,ia=null;J.prototype.Ma=function(){!this.enqueued&&ia&&(this.enqueued=!0,nb(ia))};J.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Ma())};J.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};J.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=
|
||||
a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;va&&va(d);c.__shadyCSSCachedStyle=d}}}return a};J.prototype.addCustomStyle=J.prototype.b;J.prototype.getStyleForCustomStyle=J.prototype.a;J.prototype.processStyles=J.prototype.c;Object.defineProperties(J.prototype,{transformCallback:{get:function(){return va},set:function(a){va=a}},validateCallback:{get:function(){return ia},
|
||||
set:function(a){var b=!1;ia||(b=!0);ia=a;b&&this.Ma()}}});var Tc=new ja;k.prototype.L=function(){ob()};k.prototype.ia=function(a){var b=this.s[a]=(this.s[a]||0)+1;return a+"-"+b};k.prototype.Ya=function(a){return oa(a)};k.prototype.$a=function(a){return Y(a)};k.prototype.W=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.ka=function(a){return(a=a.content.querySelector("style"))?
|
||||
a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;qa[b]=a;var d=this.ka(a),e=this.W(a);c={is:b,extends:c,Eb:d};p||u.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Xa(e);f&&z&&this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];z||(d=H.W(a._styleAst));if(!d.length||z)b=this.ja(c,a._styleAst,p?a.content:null,ib[b]),a.a=b;a.c=d}};k.prototype.ja=function(a,b,c,d){b=u.b(a,b);if(b.length)return Ya(b,a.is,c,d)};k.prototype.ma=function(a){var b=
|
||||
T(a),c=b.is,b=b.aa,d=ib[c],c=qa[c],e,f;c&&(e=c._styleAst,f=c.c);return x.set(a,new x(e,d,f,0,b))};k.prototype.U=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=yd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.V=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,
|
||||
this.a.transformCallback=function(b){a.A(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=function(){return null},b)}};k.prototype.c=function(){this.U();this.V()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(z?this.Wa(a):(this.u(this.g,this.h),this.M(a)),this.a.enqueued=!1,this.i&&!z&&this.styleDocument())};k.prototype.styleElement=
|
||||
function(a,b){var c=T(a).is,d=x.get(a);d||(d=this.ma(a));this.j(a)||(this.i=!0);b&&(d.S=d.S||{},Object.assign(d.S,b));if(z){if(d.S){b=d.S;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=qa[c])||this.j(a))&&e&&e.a&&!vc(e)){if(vc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.I),zd(e);p&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.I));d.I=e._styleAst}}else this.u(a,
|
||||
d),d.Aa&&d.Aa.length&&this.T(a,d)};k.prototype.o=function(a){return(a=a.getRootNode().host)?x.get(a)?a:this.o(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.T=function(a,b){var c=T(a).is,d=Tc.a(c,b.K,b.Aa),e=d?d.styleElement:null,f=b.G;b.G=d&&d.G||this.ia(c);e=H.A(a,b.K,b.G,e);p||H.u(a,b.G,f);d||Tc.c(c,b.K,e,b.G)};k.prototype.u=function(a,b){var c=this.o(a),d=x.get(c),c=Object.create(d.K||null),e=H.ia(a,b.I);a=H.ja(d.I,a).H;Object.assign(c,e.ub,a,e.zb);this.la(c,b.S);H.ka(c);
|
||||
b.K=c};k.prototype.la=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Wa=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);
|
||||
c&&this.Va(c)}};k.prototype.M=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&H.s(c,this.h.K)}};k.prototype.A=function(a){var b=this,c=oa(a);Z(c,function(a){p?u.u(a):u.V(a);z&&(b.c(),b.b.transformRule(a))});z?a.textContent=Y(c):this.h.I.rules.push(c)};k.prototype.Va=function(a){if(z){var b=oa(a);this.c();this.b.transformRules(b);a.textContent=Y(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;z||(c=(x.get(a)||x.get(this.o(a))).K[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?
|
||||
c.trim():""};k.prototype.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)for(var d=d.split(/\s/),e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}c&&b.push(u.c,c);z||(c=x.get(a))&&c.G&&b.push(H.g,c.G);pa(a,b.join(" "))};k.prototype.Xa=function(a){return x.get(a)};k.prototype.flush=k.prototype.L;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=
|
||||
k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Za;k.prototype._styleInfoForNode=k.prototype.Xa;k.prototype.transformCustomStyleForDocument=k.prototype.A;k.prototype.getStyleAst=k.prototype.Ya;k.prototype.styleAstToString=k.prototype.$a;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return p}},nativeCss:{get:function(){return z}}});
|
||||
var I=new k,kb,lb;window.ShadyCSS&&(kb=window.ShadyCSS.ApplyShim,lb=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:I,prepareTemplate:function(a,b,c){I.f();I.prepareTemplate(a,b,c)},styleSubtree:function(a,b){I.f();I.styleSubtree(a,b)},styleElement:function(a){I.f();I.styleElement(a)},styleDocument:function(a){I.f();I.styleDocument(a)},getComputedStyleValue:function(a,b){return I.getComputedStyleValue(a,b)},nativeCss:z,nativeShadow:p};kb&&(window.ShadyCSS.ApplyShim=kb);lb&&(window.ShadyCSS.CustomStyleInterface=
|
||||
lb);(function(){var a=window.customElements,b=window.HTMLImports;if(a&&a.polyfillWrapFlushCallback){var c,d=function(){if(c){var a=c;c=null;a();return!0}},e=b.whenReady;a.polyfillWrapFlushCallback(function(a){c=a;e(d)});b.whenReady=function(a){e(function(){d()?b.whenReady(a):a()})}}b.whenReady(function(){requestAnimationFrame(function(){document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var a=document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";
|
||||
var b=document.querySelector("head");b.insertBefore(a,b.firstChild)})()})();
|
||||
(function(){function k(){var a=this;this.s={};this.g=document.documentElement;var b=new va;b.rules=[];this.h=v.set(this.g,new v(b));this.i=!1;this.a=this.b=null;nb(function(){a.c()})}function K(){this.customStyles=[];this.enqueued=!1}function ob(){}function ia(a){this.cache={};this.f=void 0===a?100:a}function p(){}function v(a,b,c,d,e){this.I=a||null;this.b=b||null;this.Ba=c||[];this.S=null;this.aa=e||"";this.a=this.F=this.K=null}function q(){}function va(){this.end=this.start=0;this.rules=this.parent=
|
||||
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Tc(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;n(this)&&(e=[],O(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
|
||||
return b}})}function c(b,c){w(b,"insertAdjacentElement",function(b,d){var e=n(d);b=c.call(this,b,d);e&&a.a(d);n(b)&&a.b(d);return b})}pb?w(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=pb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(wa&&wa.get)b(Element.prototype,wa);else if(xa&&xa.get)b(HTMLElement.prototype,xa);else{var d=ya.call(document,"div");a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return qb.call(this,
|
||||
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)za.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ja.call(b,d.childNodes[0])}})})}w(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return rb.call(this,b,c);var d=Aa.call(this,b);rb.call(this,b,c);c=Aa.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});w(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return sb.call(this,
|
||||
b,c,d);var e=ka.call(this,b,c);sb.call(this,b,c,d);d=ka.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});w(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return tb.call(this,b);var c=Aa.call(this,b);tb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});w(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return ub.call(this,b,c);var d=ka.call(this,b,c);ub.call(this,b,c);var e=ka.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
|
||||
c,d,e,b)});vb?c(HTMLElement.prototype,vb):wb?c(Element.prototype,wb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");xb(a,Element.prototype,{Sa:Uc,append:Vc});Wc(a,{pb:Xc,ob:Yc,zb:Zc,remove:$c})}function Wc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.pb.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],
|
||||
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});b.ob.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&n(a)}),g=n(this);b.zb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
|
||||
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=n(this);b.remove.call(this);c&&a.a(this)}}function ad(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&n(this))for(var c=Array(h),l=0;l<h;l++)c[l]=e[l]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
|
||||
w(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=yb.call(this,b,d);if(n(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=n(b);d=yb.call(this,b,d);c&&a.a(b);n(this)&&a.b(b);return d});w(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ja.call(this,b);if(n(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=n(b);e=ja.call(this,b);c&&a.a(b);n(this)&&
|
||||
a.b(b);return e});w(Node.prototype,"cloneNode",function(b){b=qb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});w(Node.prototype,"removeChild",function(b){var c=n(b),e=za.call(this,b);c&&a.a(b);return e});w(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=zb.call(this,b,d);if(n(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=n(b),f=zb.call(this,b,d),g=n(this);g&&a.a(d);c&&a.a(b);g&&
|
||||
a.b(b);return f});Ba&&Ba.get?b(Node.prototype,Ba):a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)za.call(this,this.firstChild);ja.call(this,document.createTextNode(a))}})})}function bd(a){w(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=ya.call(this,b);a.g(b);return b});
|
||||
w(Document.prototype,"importNode",function(b,c){b=cd.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});w(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=dd.call(this,b,c);a.g(b);return b});xb(a,Document.prototype,{Sa:ed,append:fd})}function xb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
|
||||
Node&&n(a)});c.Sa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&n(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(n(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function gd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.L(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
|
||||
var e=d.constructionStack;if(!e.length)return e=ya.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===Ab)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=Ab;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=hd.prototype;return b}()}function t(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
|
||||
[];this.i=new Ca(a,document)}function Bb(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function Ca(a,b){this.b=a;this.a=b;this.N=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.N=new MutationObserver(this.f.bind(this)),this.N.observe(this.a,{childList:!0,subtree:!0}))}function A(){this.s=new Map;this.o=new Map;this.i=[];this.h=!1}function r(a,b){if(a!==Cb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
|
||||
r.prototype;a.i(b);return a}function G(a){this.root=a;this.fa="slot"}function U(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Da(a);a.__shady.lastChild=Ea(a);Db(a);for(var b=a.__shady.childNodes=ca(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,Eb(d)}}function id(a){var b=a&&a.N;b&&(b.ea.delete(a.hb),b.ea.size||(a.mb.__shady.Z=null))}function jd(a,
|
||||
b){a.__shady=a.__shady||{};a.__shady.Z||(a.__shady.Z=new la);a.__shady.Z.ea.add(b);var c=a.__shady.Z;return{hb:b,N:c,mb:a,takeRecords:function(){return c.takeRecords()}}}function la(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.ea=new Set}function B(a){return"ShadyRoot"===a.eb}function V(a){a=a.getRootNode();if(B(a))return a}function Fa(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length&&(e=c[d]);d++){var f=Object.getOwnPropertyDescriptor(b,e);f&&Object.defineProperty(a,
|
||||
e,f)}}function Ga(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Fa(a,c[d]);return a}function kd(a,b){for(var c in b)a[c]=b[c]}function Fb(a){Ha.push(a);Ia.textContent=Gb++}function Hb(a){Ja||(Ja=!0,Fb(Ka));da.push(a)}function Ka(){Ja=!1;for(var a=!!da.length;da.length;)da.shift()();return a}function ld(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
|
||||
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Ib(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function Jb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function La(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++){var h;
|
||||
a:{var l;h=g;l=a;var m=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,F="<"+k,n=h.attributes,p=0;l=n[p];p++)F+=" "+l.name+'="'+l.value.replace(md,Ib)+'"';F+=">";h=nd[k]?F:F+La(h,m)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&od[l.localName]?h:h.replace(pd,Ib);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function P(a){C.currentNode=a;return C.parentNode()}function Da(a){C.currentNode=
|
||||
a;return C.firstChild()}function Ea(a){C.currentNode=a;return C.lastChild()}function Kb(a){C.currentNode=a;return C.previousSibling()}function Lb(a){C.currentNode=a;return C.nextSibling()}function ca(a){var b=[];C.currentNode=a;for(a=C.firstChild();a;)b.push(a),a=C.nextSibling();return b}function Mb(a){D.currentNode=a;return D.parentNode()}function Nb(a){D.currentNode=a;return D.firstChild()}function Ob(a){D.currentNode=a;return D.lastChild()}function Pb(a){D.currentNode=a;return D.previousSibling()}
|
||||
function Qb(a){D.currentNode=a;return D.nextSibling()}function Rb(a){var b=[];D.currentNode=a;for(a=D.firstChild();a;)b.push(a),a=D.nextSibling();return b}function Sb(a){return La(a,function(a){return ca(a)})}function Tb(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function L(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 Q(a){L(a,Ub);L(a,Ma);L(a,Na)}function Vb(a,b,c){Eb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=
|
||||
a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Wb(a){var b=a.__shady&&a.__shady.parentNode,c,d=V(a);if(b||d){c=Xb(a);if(b){a.__shady=a.__shady||{};b.__shady=b.__shady||{};a===b.__shady.firstChild&&(b.__shady.firstChild=a.__shady.nextSibling);a===b.__shady.lastChild&&(b.__shady.lastChild=a.__shady.previousSibling);var e=a.__shady.previousSibling,f=a.__shady.nextSibling;e&&(e.__shady=e.__shady||{},e.__shady.nextSibling=f);f&&(f.__shady=f.__shady||{},f.__shady.previousSibling=
|
||||
e);a.__shady.parentNode=a.__shady.previousSibling=a.__shady.nextSibling=void 0;void 0!==b.__shady.childNodes&&(b.__shady.childNodes=null)}if(e=d){for(var g,e=d.ta(),f=0;f<e.length;f++){var h=e[f],l;a:{for(l=h;l;){if(l==a){l=!0;break a}l=l.parentNode}l=void 0}if(l)for(h=h.assignedNodes({flatten:!0}),l=0;l<h.length;l++){g=!0;var m=h[l],k=P(m);k&&W.call(k,m)}}e=g}b=b&&d&&b.localName===d.C.fa;if(e||b)d.ca=!1,ma(d)}Oa(a);return c}function Pa(a,b,c){if(a=a.__shady&&a.__shady.Z)b&&a.addedNodes.push(b),c&&
|
||||
a.removedNodes.push(c),a.Bb()}function Qa(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.Ca;void 0===b&&(B(a)?b=a:b=(b=a.parentNode)?Qa(b):a,document.documentElement.contains(a)&&(a.__shady.Ca=b));return b}}function Yb(a,b,c){var d,e=c.C.fa;if(a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||a.__noInsertionPoint)a.localName===e&&(U(b),U(a),d=!0);else for(var e=a.querySelectorAll(e),f=0,g,h;f<e.length&&(g=e[f]);f++)h=g.parentNode,h===a&&(h=b),h=Yb(g,h,c),d=d||h;return d}function Zb(a){return(a=
|
||||
a&&a.__shady&&a.__shady.root)&&a.za()}function Oa(a){if(a.__shady&&void 0!==a.__shady.Ca)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Oa(e);a.__shady=a.__shady||{};a.__shady.Ca=void 0}function Xb(a){a=a.parentNode;if(Zb(a))return ma(a.__shady.root),!0}function ma(a){a.sa=!0;a.update()}function $b(a,b){"slot"===b?Xb(a):"slot"===a.localName&&"name"===b&&(a=V(a))&&a.update()}function ac(a,b,c){var d=[];bc(a.childNodes,b,c,d);return d}function bc(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 l=b,m=c,k=d,F=l(h);F&&k.push(h);m&&m(F)?h=F:(bc(h.childNodes,l,m,k),h=void 0)}if(h)break}}function cc(a){a=a.getRootNode();B(a)&&a.Ta()}function dc(a,b,c){if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&P(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.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&
|
||||
((d=b.__shady&&b.__shady.parentNode)?(Pa(d,null,b),Wb(b)):(b.parentNode&&W.call(b.parentNode,b),Oa(b)));var d=c,e=V(a),f;e&&(b.__noInsertionPoint&&!e.sa&&(e.ca=!0),f=Yb(b,a,e))&&(e.ca=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(Db(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Vb(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
|
||||
b.__shady.lastChild=g;b.__shady.childNodes=g}else Vb(b,a,d);var g=f,h=e&&e.C.fa||"",l=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=l&&l.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((l=l||b.localName===h)||a.localName===h||g)&&e&&ma(e);(e=Zb(a))&&ma(a.__shady&&a.__shady.root);if(!(e||l&&!f||a.__shady.root||d&&B(d.parentNode)&&d.parentNode.O)){if(c&&(d=V(c))){var m;if(c.localName===d.C.fa)a:{d=c.assignedNodes({flatten:!0});e=Qa(c);f=0;for(g=d.length;f<
|
||||
g&&(m=d[f]);f++)if(e.ga(c,m))break a;m=void 0}else m=c;c=m}m=B(a)?a.host:a;c?Ra.call(m,b,c):ec.call(m,b)}Pa(a,b);return b}function fc(a,b){if(a.ownerDocument!==document)return Sa.call(document,a,b);var c=Sa.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=fc(a[b],!0),c.appendChild(d)}return c}function Ta(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 gc(a,b){if(!B)return a;a=Ta(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!B(f)||-1<g)return d}function Ua(a){function b(b,d){b=new a(b,d);b.oa=d&&!!d.composed;return b}kd(b,a);b.prototype=a.prototype;return b}function hc(a,b,c){if(c=b.B&&b.B[a.type]&&b.B[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.bb);d++);}function qd(a){var b=a.composedPath(),
|
||||
c;Object.defineProperty(a,"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],hc(a,c,"capture"),a.pa)return;Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if(hc(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.pa)break}function ic(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],l=h.type,m=h.capture,k=h.once,F=h.passive;if(b===h.node&&c===l&&d===
|
||||
m&&e===k&&f===F)return g}return-1}function rd(){for(var a in Va)window.addEventListener(a,function(a){a.__target||(jc(a),qd(a))},!0)}function jc(a){a.__target=a.target;a.Ia=a.relatedTarget;if(z.Y){var b=kc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.Gb=c;Fa(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Fa(a,kc)}function ea(a,b){return{index:a,$:[],da:b}}function sd(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==
|
||||
c[g])break a;g=l}if(b==a.length&&d==c.length){for(var h=a.length,m=c.length,k=0;k<l-g&&td(a[--h],c[--m]);)k++;h=k}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=ea(e,0);f<d;)b.$.push(c[f++]);return[b]}if(f==d)return[ea(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(m=0;m<d;m++)b[m]=Array(h),b[m][0]=m;for(m=0;m<h;m++)b[0][m]=m;for(m=1;m<d;m++)for(k=1;k<h;k++)if(a[l+k-1]===c[g+m-1])b[m][k]=b[m-1][k-1];else{var F=b[m-1][k]+1,n=b[m][k-1]+1;b[m][k]=F<n?F:n}l=b.length-1;g=b[0].length-1;d=b[l][g];
|
||||
for(a=[];0<l||0<g;)l?g?(h=b[l-1][g-1],m=b[l-1][g],k=b[l][g-1],F=m<k?m<h?m:h:k<h?k:h,F==h?(h==d?a.push(0):(a.push(1),d=h),l--,g--):F==m?(a.push(3),l--,d=m):(a.push(2),g--,d=k)):(a.push(3),l--):(a.push(2),g--);a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=ea(e,0));b.da++;e++;b.$.push(c[f]);f++;break;case 2:b||(b=ea(e,0));b.da++;e++;break;case 3:b||(b=ea(e,0)),b.$.push(c[f]),f++}b&&l.push(b);return l}function td(a,b){return a===
|
||||
b}function lc(a){cc(a);return a.__shady&&a.__shady.assignedSlot||null}function R(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function ud(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;R(window.Node.prototype,vd);R(window.Text.prototype,wd);R(window.DocumentFragment.prototype,Wa);R(window.Element.prototype,mc);R(window.Document.prototype,nc);
|
||||
window.HTMLSlotElement&&R(window.HTMLSlotElement.prototype,oc);R(a.prototype,xd);z.Y&&(Q(window.Node.prototype),Q(window.Text.prototype),Q(window.DocumentFragment.prototype),Q(window.Element.prototype),Q(a.prototype),Q(window.Document.prototype),window.HTMLSlotElement&&Q(window.HTMLSlotElement.prototype))}function pc(a){var b=yd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function n(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=
|
||||
a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function Xa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function O(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)O(d,b,c);d=Xa(a,
|
||||
e);continue}else if("template"===f){d=Xa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)O(e,b,c)}d=d.firstChild?d.firstChild:Xa(a,d)}}function w(a,b,c){a[b]=c}function Ya(a){a=a.replace(M.rb,"").replace(M.port,"");var b=qc,c=a,d=new va;d.start=0;d.end=c.length;for(var e=d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,l=h.rules[h.rules.length-1]||null,e=new va;e.start=f+1;e.parent=h;e.previous=l;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||
|
||||
d);return b(d,a)}function qc(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=zd(c),c=c.replace(M.Ra," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(M.xb)&&(a.type=H.na,a.keyframesName=a.selector.split(M.Ra).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.Ea);if(c=a.rules)for(var d=
|
||||
0,e=c.length,f;d<e&&(f=c[d]);d++)qc(f,b);return a}function zd(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 rc(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=rc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(M.Ma,"").replace(M.Qa,""),b=b.replace(M.yb,"").replace(M.Db,"")),(d=b.trim())&&
|
||||
(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function sc(a){a&&(x=x&&!a.nativeCss&&!a.shimcssproperties,y=y&&!a.nativeShadow&&!a.shimshadow)}function X(a,b){if(!a)return"";"string"===typeof a&&(a=Ya(a));b&&Y(a,b);return rc(a,x)}function na(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ya(a.textContent));return a.__cssRules||null}function tc(a){return!!a.parent&&a.parent.type===H.na}function Y(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=
|
||||
a.selector.match(Ad);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.na?c(a):f===H.Ea&&(e=!0);if((a=a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)Y(h,b,c,d)}}function Za(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;uc(e,c,d);return e}function uc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);S?a.compareDocumentPosition(S)===Node.DOCUMENT_POSITION_PRECEDING&&(S=a):S=a}function vc(a,b){var c=
|
||||
a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=vc(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 oa(a,b){y?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function T(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&
|
||||
a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,aa:c}}function wc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?
|
||||
u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=T(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function Bd(a){if(a=pa[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function xc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Cd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Dd.then(function(){a._applyShimCurrentVersion=
|
||||
a._applyShimNextVersion;a.b=!1}))}function nb(a){requestAnimationFrame(function(){yc?yc(a):($a||($a=new Promise(function(a){ab=a}),"complete"===document.readyState?ab():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&ab()})),$a.then(function(){a&&a()}))})}(function(){if(!function(){var a=document.createEvent("Event");a.initEvent("foo",!0,!0);a.preventDefault();return a.defaultPrevented}()){var a=Event.prototype.preventDefault;Event.prototype.preventDefault=
|
||||
function(){this.cancelable&&(a.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var b=/Trident/.test(navigator.userAgent);if(!window.CustomEvent||b&&"function"!==typeof window.CustomEvent)window.CustomEvent=function(a,b){b=b||{};var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c},window.CustomEvent.prototype=window.Event.prototype;if(!window.Event||b&&"function"!==typeof window.Event){var c=
|
||||
window.Event;window.Event=function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};if(c)for(var d in c)window.Event[d]=c[d];window.Event.prototype=c.prototype}if(!window.MouseEvent||b&&"function"!==typeof window.MouseEvent){b=window.MouseEvent;window.MouseEvent=function(a,b){b=b||{};var c=document.createEvent("MouseEvent");c.initMouseEvent(a,!!b.bubbles,!!b.cancelable,b.view||window,b.detail,b.screenX,b.screenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,
|
||||
b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};if(b)for(d in b)window.MouseEvent[d]=b[d];window.MouseEvent.prototype=b.prototype}Array.from||(Array.from=function(a){return[].slice.call(a)});Object.assign||(Object.assign=function(a,b){for(var c=[].slice.call(arguments,1),d=0,e;d<c.length;d++)if(e=c[d])for(var f=a,k=e,n=Object.getOwnPropertyNames(k),p=0;p<n.length;p++)e=n[p],f[e]=k[e];return a})})(window.WebComponents);(function(){function a(){}var b="undefined"===typeof HTMLTemplateElement;
|
||||
/Trident/.test(navigator.userAgent)&&function(){var a=Document.prototype.importNode;Document.prototype.importNode=function(){var b=a.apply(this,arguments);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var c=this.createDocumentFragment();c.appendChild(b);return c}return b}}();var c=Node.prototype.cloneNode,d=Document.prototype.createElement,e=Document.prototype.importNode,f=function(){if(!b){var a=document.createElement("template"),c=document.createElement("template");c.content.appendChild(document.createElement("div"));
|
||||
a.content.appendChild(c);a=a.cloneNode(!0);return 0===a.content.childNodes.length||0===a.content.firstChild.content.childNodes.length||!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment)}}();if(b){var g=function(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case "\u00a0":return" "}},h=function(b){Object.defineProperty(b,"innerHTML",{get:function(){for(var a="",b=this.content.firstChild;b;b=b.nextSibling)a+=b.outerHTML||b.data.replace(q,
|
||||
g);return a},set:function(b){l.body.innerHTML=b;for(a.b(l);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;l.body.firstChild;)this.content.appendChild(l.body.firstChild)},configurable:!0})},l=document.implementation.createHTMLDocument("template"),k=!0,n=document.createElement("style");n.textContent="template{display:none;}";var p=document.head;p.insertBefore(n,p.firstElementChild);a.prototype=Object.create(HTMLElement.prototype);var r=!document.createElement("div").hasOwnProperty("innerHTML");
|
||||
a.P=function(b){if(!b.content){b.content=l.createDocumentFragment();for(var c;c=b.firstChild;)b.content.appendChild(c);if(r)b.__proto__=a.prototype;else if(b.cloneNode=function(b){return a.a(this,b)},k)try{h(b)}catch(ge){k=!1}a.b(b.content)}};h(a.prototype);a.b=function(b){b=b.querySelectorAll("template");for(var c=0,d=b.length,e;c<d&&(e=b[c]);c++)a.P(e)};document.addEventListener("DOMContentLoaded",function(){a.b(document)});Document.prototype.createElement=function(){var b=d.apply(this,arguments);
|
||||
"template"===b.localName&&a.P(b);return b};var q=/[&\u00A0<>]/g}if(b||f)a.a=function(a,b){var d=c.call(a,!1);this.P&&this.P(d);b&&(d.content.appendChild(c.call(a.content,!0)),this.ya(d.content,a.content));return d},a.prototype.cloneNode=function(b){return a.a(this,b)},a.ya=function(a,b){if(b.querySelectorAll){b=b.querySelectorAll("template");a=a.querySelectorAll("template");for(var c=0,d=a.length,e,f;c<d;c++)f=b[c],e=a[c],this.P&&this.P(f),e.parentNode.replaceChild(f.cloneNode(!0),e)}},Node.prototype.cloneNode=
|
||||
function(b){var d;if(this instanceof DocumentFragment)if(b)d=this.ownerDocument.importNode(this,!0);else return this.ownerDocument.createDocumentFragment();else d=c.call(this,b);b&&a.ya(d,this);return d},Document.prototype.importNode=function(b,c){if("template"===b.localName)return a.a(b,c);var d=e.call(this,b,c);c&&a.ya(d,b);return d},f&&(window.HTMLTemplateElement.prototype.cloneNode=function(b){return a.a(this,b)});b&&(window.HTMLTemplateElement=a)})();!function(a,b){"object"==typeof exports&&
|
||||
"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.Jb?define(b):a.ES6Promise=b()}(window,function(){function a(a,b){B[Z]=a;B[Z+1]=b;Z+=2;2===Z&&(D?D(g):M())}function b(){return function(){return process.Mb(g)}}function c(){return"undefined"!=typeof C?function(){C(g)}:f()}function d(){var a=0,b=new K(g),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function e(){var a=new MessageChannel;return a.port1.onmessage=g,function(){return a.port2.postMessage(0)}}
|
||||
function f(){var a=setTimeout;return function(){return a(g,1)}}function g(){for(var a=0;a<Z;a+=2)(0,B[a])(B[a+1]),B[a]=void 0,B[a+1]=void 0;Z=0}function h(){try{var a=require("vertx");return C=a.Ob||a.Nb,c()}catch(zc){return f()}}function l(b,c){var d=arguments,e=this,f=new this.constructor(n);void 0===f[J]&&Ac(f);var g=e.m;return g?!function(){var b=d[g-1];a(function(){return fa(g,f,b,e.l)})}():w(e,f,b,c),f}function k(a){if(a&&"object"==typeof a&&a.constructor===this)return a;var b=new this(n);return u(b,
|
||||
a),b}function n(){}function p(a){try{return a.then}catch(zc){return O.error=zc,O}}function r(a,b,c,d){try{a.call(b,c,d)}catch(Gd){return Gd}}function q(b,c,d){a(function(a){var b=!1,e=r(d,c,function(d){b||(b=!0,c!==d?u(a,d):t(a,d))},function(c){b||(b=!0,N(a,c))});!b&&e&&(b=!0,N(a,e))},b)}function v(a,b){b.m===L?t(a,b.l):b.m===I?N(a,b.l):w(b,void 0,function(b){return u(a,b)},function(b){return N(a,b)})}function y(a,b,c){b.constructor===a.constructor&&c===l&&b.constructor.resolve===k?v(a,b):c===O?(N(a,
|
||||
O.error),O.error=null):void 0===c?t(a,b):"function"==typeof c?q(a,b,c):t(a,b)}function u(a,b){a===b?N(a,new TypeError("You cannot resolve a promise with itself")):"function"==typeof b||"object"==typeof b&&null!==b?y(a,b,p(b)):t(a,b)}function x(a){a.Ka&&a.Ka(a.l);A(a)}function t(b,c){b.m===H&&(b.l=c,b.m=L,0!==b.X.length&&a(A,b))}function N(b,c){b.m===H&&(b.m=I,b.l=c,a(x,b))}function w(b,c,d,e){var f=b.X,g=f.length;b.Ka=null;f[g]=c;f[g+L]=d;f[g+I]=e;0===g&&b.m&&a(A,b)}function A(a){var b=a.X,c=a.m;
|
||||
if(0!==b.length){for(var d,e,f=a.l,g=0;g<b.length;g+=3)d=b[g],e=b[g+c],d?fa(c,d,e,f):e(f);a.X.length=0}}function G(){this.error=null}function fa(a,b,c,d){var e="function"==typeof c,f=void 0,g=void 0,h=void 0,fa=void 0;if(e){var l;try{l=c(d)}catch(Hd){l=(P.error=Hd,P)}if(f=l,f===P?(fa=!0,g=f.error,f.error=null):h=!0,b===f)return void N(b,new TypeError("A promises callback cannot return that same promise."))}else f=d,h=!0;b.m!==H||(e&&h?u(b,f):fa?N(b,g):a===L?t(b,f):a===I&&N(b,f))}function Id(a,b){try{b(function(b){u(a,
|
||||
b)},function(b){N(a,b)})}catch(Ed){N(a,Ed)}}function Ac(a){a[J]=Q++;a.m=void 0;a.l=void 0;a.X=[]}function aa(a,b){this.lb=a;this.J=new a(n);this.J[J]||Ac(this.J);Bc(b)?(this.kb=b,this.length=b.length,this.ba=b.length,this.l=Array(this.length),0===this.length?t(this.J,this.l):(this.length=this.length||0,this.jb(),0===this.ba&&t(this.J,this.l))):N(this.J,Error("Array Methods must be provided an Array"))}function E(a){this[J]=Q++;this.l=this.m=void 0;this.X=[];if(n!==a){if("function"!=typeof a)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");
|
||||
if(this instanceof E)Id(this,a);else throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");}}var bb=void 0,Bc=bb=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},Z=0,C=void 0,D=void 0,z=(bb="undefined"!=typeof window?window:void 0)||{},K=z.MutationObserver||z.WebKitMutationObserver,z="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=
|
||||
typeof MessageChannel,B=Array(1E3),M=void 0,M="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?b():K?d():z?e():bb||"function"!=typeof require?f():h(),J=Math.random().toString(36).substring(16),H=void 0,L=1,I=2,O=new G,P=new G,Q=0;return aa.prototype.jb=function(){for(var a=this.length,b=this.kb,c=0;this.m===H&&c<a;c++)this.ib(b[c],c)},aa.prototype.ib=function(a,b){var c=this.lb,d=c.resolve;d===k?(d=p(a),d===l&&a.m!==H?this.va(a.m,b,a.l):"function"!=
|
||||
typeof d?(this.ba--,this.l[b]=a):c===E?(c=new c(n),y(c,a,d),this.wa(c,b)):this.wa(new c(function(b){return b(a)}),b)):this.wa(d(a),b)},aa.prototype.va=function(a,b,c){var d=this.J;d.m===H&&(this.ba--,a===I?N(d,c):this.l[b]=c);0===this.ba&&t(d,this.l)},aa.prototype.wa=function(a,b){var c=this;w(a,void 0,function(a){return c.va(L,b,a)},function(a){return c.va(I,b,a)})},E.g=function(a){return(new aa(this,a)).J},E.h=function(a){var b=this;return new b(Bc(a)?function(c,d){for(var e=a.length,f=0;f<e;f++)b.resolve(a[f]).then(c,
|
||||
d)}:function(a,b){return b(new TypeError("You must pass an array to race."))})},E.resolve=k,E.i=function(a){var b=new this(n);return N(b,a),b},E.f=function(a){D=a},E.c=function(b){a=b},E.b=a,E.prototype={constructor:E,then:l,"catch":function(a){return this.then(null,a)}},E.a=function(){var a=void 0;if("undefined"!=typeof global)a=global;else if("undefined"!=typeof self)a=self;else try{a=Function("return this")()}catch(Fd){throw Error("polyfill failed because global object is unavailable in this environment");
|
||||
}var b=a.Promise;if(b){var c=null;try{c=Object.prototype.toString.call(b.resolve())}catch(Fd){}if("[object Promise]"===c&&!b.Kb)return}a.Promise=E},E.Promise=E,E.a(),E});(function(a){function b(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a,b);var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c}function c(a){if(k)return a.ownerDocument!==document?a.ownerDocument:null;var b=a.__importDoc;if(!b&&a.parentNode){b=a.parentNode;
|
||||
if("function"===typeof b.closest)b=b.closest("link[rel=import]");else for(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;if(c)for(var d=0,e=b.length,f;d<e&&(f=b[d]);d++)g(f,function(){--c||a()});else a()}function e(a){if("loading"!==document.readyState)a();else{var b=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",b),a())};document.addEventListener("readystatechange",
|
||||
b)}}function f(a){e(function(){return d(function(){return a&&a()})})}function g(a,b){if(a.__loaded)b&&b();else if(h(a)&&!k&&null===a.import||a.import&&"complete"===a.import.readyState)a.__loaded=!0,b&&b();else if("script"!==a.localName||a.src){var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);v&&"style"===a.localName||a.addEventListener("error",c)}else a.__loaded=!0,b&&b()}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&
|
||||
"import"===a.rel}function l(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.o(b)});this.f.observe(document.head,{childList:!0,subtree:!0});this.c(document)}var k="import"in document.createElement("link"),n=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return n||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var p=/(^\/)|(^#)|(^[\w-\d]*:)/,r=/(url\()([^)]*)(\))/g,
|
||||
t=/(@import[\s]+(?!url\())([^;]*)(;)/g,u=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,q={sb:function(a,b){a.href&&a.setAttribute("href",q.Da(a.getAttribute("href"),b));a.src&&a.setAttribute("src",q.Da(a.getAttribute("src"),b));if("style"===a.localName){var c=q.Ua(a.textContent,b,r);a.textContent=q.Ua(c,b,t)}},Ua:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=q.Va(a,b));return c+"'"+a+"'"+e})},Da:function(a,b){return a&&p.test(a)?a:q.Va(a,b)},Va:function(a,
|
||||
b){if(void 0===q.ra){q.ra=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";q.ra="http://a/c%20d"===c.href}catch(aa){}}if(q.ra)return(new URL(a,b)).href;c=q.gb;c||(c=document.implementation.createHTMLDocument("temp"),q.gb=c,c.Ga=c.createElement("base"),c.head.appendChild(c.Ga),c.Fa=c.createElement("a"));c.Ga.href=b;c.Fa.href=a;return c.Fa.href||a}},y={async:!0,load:function(a,b,c){if(a)if(a.match(/^data:/)){a=a.split(",");var d=a[1],d=-1<a[0].indexOf(";base64")?atob(d):decodeURIComponent(d);
|
||||
b(d)}else{var e=new XMLHttpRequest;e.open("GET",a,y.async);e.onload=function(){var a=e.getResponseHeader("Location");a&&!a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},v=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);l.prototype.c=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=
|
||||
0,c=a.length;b<c;b++)this.h(a[b])};l.prototype.h=function(a){var b=this,c=a.href;if(void 0!==this.a[c]){var d=this.a[c];d&&d.__loaded&&(a.import=d,this.g(a))}else this.b++,this.a[c]="pending",y.load(c,function(a,d){a=b.s(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};l.prototype.s=function(a,b){if(!a)return document.createDocumentFragment();v&&(a=a.replace(u,function(a,b,c){return-1===a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");
|
||||
c.innerHTML=a;if(c.content)a=c.content;else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=q.Da(c.getAttribute("href"),b),c.removeAttribute("href");for(var c=a.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),d=0,e=0,f=c.length,h;e<f&&
|
||||
(h=c[e]);e++)g(h),q.sb(h,b),h.setAttribute("import-dependency",""),"script"===h.localName&&!h.src&&h.textContent&&(h.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(h.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),h.textContent="",d++);return a};l.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.A(function(){c=
|
||||
!0;d()});this.u(function(){b=!0;d()})}};l.prototype.flatten=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,c=a.length,d;b<c&&(d=a[b]);b++){var e=this.a[d.href];(d.import=e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(this.a[d.href]=d,d.readyState="loading",d.import=d,this.flatten(e),d.appendChild(e))}};l.prototype.u=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");for(var l=0,k=f.attributes.length;l<k;l++)h.setAttribute(f.attributes[l].name,
|
||||
f.attributes[l].value);n=h;f.parentNode.replaceChild(h,f);g(h,function(){n=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};l.prototype.A=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d)for(var e=v&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]"),f={},h=0,l=b.length;h<l&&(f.w=b[h]);f={w:f.w},h++){if(g(f.w,function(b){return function(){b.w.removeAttribute("import-dependency");
|
||||
--d||a()}}(f)),e&&f.w.parentNode!==document.head){var k=document.createElement(f.w.localName);k.__appliedElement=f.w;k.setAttribute("type","import-placeholder");f.w.parentNode.insertBefore(k,f.w.nextSibling);for(k=c(f.w);k&&c(k);)k=c(k);k.parentNode!==document.head&&(k=null);document.head.insertBefore(f.w,k);f.w.removeAttribute("type")}}else a()};l.prototype.j=function(){for(var a=document.querySelectorAll("link[rel=import]"),b=a.length-1,c;0<=b&&(c=a[b]);b--)this.g(c)};l.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})))};l.prototype.o=function(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.addedNodes)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];e&&e.nodeType===Node.ELEMENT_NODE&&(h(e)?this.h(e):this.c(e))}}};if(k){for(var w=document.querySelectorAll("link[rel=import]"),A=0,B=w.length,z;A<B&&(z=w[A]);A++)z.import&&"loading"===z.import.readyState||(z.__loaded=
|
||||
!0);w=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",w,!0);document.addEventListener("error",w,!0)}else{var x=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!x||x.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:x&&x.get?x.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new l})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",
|
||||
{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=k;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});(function(){window.WebComponents=window.WebComponents||{flags:{}};var a=document.querySelector('script[src*="webcomponents-lite.js"]'),b=/wc-(.+)/,c={};if(!c.noOpts){location.search.slice(1).split("&").forEach(function(a){a=a.split("=");var d;a[0]&&(d=a[0].match(b))&&(c[d[1]]=a[1]||!0)});if(a)for(var d=0,e;e=a.attributes[d];d++)"src"!==e.name&&(c[e.name]=e.value||
|
||||
!0);c.log&&c.log.split?(a=c.log.split(","),c.log={},a.forEach(function(a){c.log[a]=!0})):c.log={}}window.WebComponents.flags=c;if(a=c.shadydom)window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=a;(a=c.register||c.ce)&&window.customElements&&(window.customElements.forcePolyfill=a)})();var z=window.ShadyDOM||{};z.ub=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var cb=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");z.Y=!!(cb&&cb.configurable&&cb.get);z.Pa=z.force||
|
||||
!z.ub;var ba=Element.prototype,Cc=ba.matches||ba.matchesSelector||ba.mozMatchesSelector||ba.msMatchesSelector||ba.oMatchesSelector||ba.webkitMatchesSelector,Ia=document.createTextNode(""),Gb=0,Ha=[];(new MutationObserver(function(){for(;Ha.length;)try{Ha.shift()()}catch(a){throw Ia.textContent=Gb++,a;}})).observe(Ia,{characterData:!0});var da=[],Ja;Ka.list=da;la.prototype.Bb=function(){var a=this;this.a||(this.a=!0,Fb(function(){a.b()}))};la.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();
|
||||
a.length&&this.ea.forEach(function(b){b(a)})}};la.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var ec=Element.prototype.appendChild,Ra=Element.prototype.insertBefore,W=Element.prototype.removeChild,Dc=Element.prototype.setAttribute,Ec=Element.prototype.removeAttribute,db=Element.prototype.cloneNode,Sa=Document.prototype.importNode,
|
||||
Fc=Element.prototype.addEventListener,Gc=Element.prototype.removeEventListener,Jd=Object.freeze({appendChild:ec,insertBefore:Ra,removeChild:W,setAttribute:Dc,removeAttribute:Ec,cloneNode:db,importNode:Sa,addEventListener:Fc,removeEventListener:Gc}),md=/[&\u00A0"]/g,pd=/[&\u00A0<>]/g,nd=Jb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),od=Jb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),C=document.createTreeWalker(document,
|
||||
NodeFilter.SHOW_ALL,null,!1),D=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Kd=Object.freeze({parentNode:P,firstChild:Da,lastChild:Ea,previousSibling:Kb,nextSibling:Lb,childNodes:ca,parentElement:Mb,firstElementChild:Nb,lastElementChild:Ob,previousElementSibling:Pb,nextElementSibling:Qb,children:Rb,innerHTML:Sb,textContent:Tb}),eb=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),qa=document.implementation.createHTMLDocument("inert").createElement("div"),
|
||||
fb=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Ub={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentElement;return void 0!==a?a:Mb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:P(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Lb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;
|
||||
return void 0!==a?a:Kb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Qb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&
|
||||
a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Pb(this)},configurable:!0}},Ma={childNodes:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}return this.__shady.childNodes}return ca(this)},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:Da(this)},configurable:!0},lastChild:{get:function(){var a=
|
||||
this.__shady&&this.__shady.lastChild;return void 0!==a?a:Ea(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){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 Tb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&
|
||||
void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Nb(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Ob(this)},configurable:!0},children:{get:function(){return this.__shady&&void 0!==this.__shady.firstChild?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===
|
||||
Node.ELEMENT_NODE}):Rb(this)},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?La(a):Sb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(eb&&eb.set?eb.set.call(qa,a):qa.innerHTML=a;qa.firstChild;)b.appendChild(qa.firstChild)},configurable:!0}},Hc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=
|
||||
this.__shady||{};this.__shady.root=a},configurable:!0}},Na={activeElement:{get:function(){var a;a=fb&&fb.get?fb.get.call(document):z.Y?void 0:document.activeElement;if(a&&a.nodeType){var b=!!B(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=V(a);b&&b!==this;)a=b.host,b=V(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},Eb=z.Y?function(){}:function(a){a.__shady&&a.__shady.fb||(a.__shady=a.__shady||{},a.__shady.fb=
|
||||
!0,L(a,Ub,!0))},Db=z.Y?function(){}:function(a){a.__shady&&a.__shady.cb||(a.__shady=a.__shady||{},a.__shady.cb=!0,L(a,Ma,!0),L(a,Hc,!0))},ra=null,Ld={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,
|
||||
pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},kc={get composed(){!1!==this.isTrusted&&void 0===this.oa&&(this.oa=Ld[this.type]);return this.oa||!1},composedPath:function(){this.Ha||(this.Ha=Ta(this.__target,this.composed));return this.Ha},get target(){return gc(this.currentTarget,this.composedPath())},
|
||||
get relatedTarget(){if(!this.Ia)return null;this.Ja||(this.Ja=Ta(this.Ia,!0));return gc(this.currentTarget,this.Ja)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.pa=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.pa=this.bb=!0}},Va={focus:!0,blur:!0},Md=Ua(window.Event),Nd=Ua(window.CustomEvent),Od=Ua(window.MouseEvent),Pd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,
|
||||
!!b.bubbles,!!b.cancelable);return c};G.prototype.tb=function(){return this.root.querySelectorAll("slot")};G.prototype.Aa=function(a){return a.localName&&"slot"==a.localName};G.prototype.xa=function(){return this.root.za()?this.g(this.c()):[]};G.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};G.prototype.g=function(a){for(var b=[],c=this.root.ta(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&
|
||||
g.za()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=P(d))&&W.call(e,d);return b};G.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.La(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.ua!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.ua!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.ua=null;a.__shady.assignedNodes.length<
|
||||
c.length&&(d=!0)}this.i(a);d&&this.a(a)};G.prototype.La=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.ua=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};G.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};G.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};G.prototype.i=function(a){var b=
|
||||
a.__shady.assignedNodes;a.__shady.R=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.Aa(d)){var e=d.__shady.R;if(e)for(var f=0;f<e.length;f++)a.__shady.R.push(e[f])}else a.__shady.R.push(b[c])};G.prototype.a=function(a){a.dispatchEvent(new Pd("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};G.prototype.ga=function(a){return!a.__shady.assignedSlot};var Cb={};r.prototype=Object.create(DocumentFragment.prototype);r.prototype.i=function(a){this.eb="ShadyRoot";U(a);U(this);a.shadowRoot=
|
||||
this;this.host=a;this.sa=this.O=!1;this.C=new G(this);this.update()};r.prototype.update=function(){var a=this;this.O||(this.O=!0,Hb(function(){return a.Ta()}))};r.prototype.h=function(){for(var a=this,b=this;b;)b.O&&(a=b),b=b.nb();return a};r.prototype.nb=function(){var a=this.host.getRootNode();if(B(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.C.Aa(d))return a};r.prototype.Ta=function(){this.O&&this.h()._render()};r.prototype._render=function(){this.sa=this.O=!1;this.ca||
|
||||
this.f();this.ca=!1;this.xa();this.j()};r.prototype.xa=function(){for(var a=this.C.xa(),b=0;b<a.length;b++)a[b]._render()};r.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.C.La(c);a=this.a=this.C.tb();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},U(c),U(c.parentNode)};r.prototype.j=function(){this.g()};r.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.ta(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,
|
||||
e!==this.host&&e!==this&&this.c(e,this.b(e))};r.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.C.Aa(d))for(var e=d.__shady.R||(d.__shady.R=[]),f=0;f<e.length;f++){var g=e[f];this.ga(d,g)&&b.push(g)}else b.push(d)}return b};r.prototype.ga=function(a,b){return this.C.ga(a,b)};r.prototype.c=function(a,b){for(var c=ca(a),d=sd(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,l;h<g.$.length&&(l=g.$[h]);h++)P(l)===
|
||||
a&&W.call(a,l),c.splice(g.index+f,1);f-=g.da}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.da;h++)l=b[h],Ra.call(a,l,f),c.splice(h,0,l)};r.prototype.za=function(){return!(!this.a||!this.a.length)};r.prototype.ta=function(){this.a||this.f();return this.a};r.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.qa=this;this.host.addEventListener(a,b,c)};r.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.qa=
|
||||
this;this.host.removeEventListener(a,b,c)};(function(a){L(a,Ma,!0);L(a,Na,!0)})(r.prototype);var vd={addEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.qa||this;if(b.G){if(-1<ic(b.G,g,a,d,e,f))return}else b.G=[];var h=function(d){e&&this.removeEventListener(a,b,c);d.__target||jc(d);var f;g!==this&&(f=Object.getOwnPropertyDescriptor(d,"currentTarget"),Object.defineProperty(d,"currentTarget",{get:function(){return g},
|
||||
configurable:!0}));if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h=b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.G.push({node:this,type:a,capture:d,once:e,passive:f,Eb:h});Va[a]?(this.B=this.B||{},this.B[a]=this.B[a]||{capture:[],bubble:[]},this.B[a][d?"capture":
|
||||
"bubble"].push(h)):Fc.call(this,a,h,c)}},removeEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.qa||this,h=void 0;b.G&&(e=ic(b.G,g,a,d,e,f),-1<e&&(h=b.G.splice(e,1)[0].Eb,b.G.length||(b.G=void 0)));Gc.call(this,a,h||b,c);h&&Va[a]&&this.B&&this.B[a]&&(a=this.B[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}},appendChild:function(a){return dc(this,a)},insertBefore:function(a,b){return dc(this,a,b)},removeChild:function(a){if(a.parentNode!==
|
||||
this)throw Error("The node to be removed is not a child of this node: "+a);if(!Wb(a)){var b=B(this)?this.host:this,c=P(a);b===c&&W.call(b,a)}Pa(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=db.call(this,a);else if(b=db.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Qa(this)},get isConnected(){var a=
|
||||
this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof r?a.host:void 0);return!!(a&&a instanceof Document)}},wd={get assignedSlot(){return lc(this)}},Wa={querySelector:function(a){return ac(this,function(b){return Cc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return ac(this,function(b){return Cc.call(b,a)})}},oc={assignedNodes:function(a){if("slot"===
|
||||
this.localName)return cc(this),this.__shady?(a&&a.flatten?this.__shady.R:this.__shady.assignedNodes)||[]:[]}},mc=Ga({setAttribute:function(a,b){ra||(ra=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ra&&"class"===a?ra.setElementClass(this,b):(Dc.call(this,a,b),$b(this,a))},removeAttribute:function(a){Ec.call(this,a);$b(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new r(Cb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",
|
||||
a)},get assignedSlot(){return lc(this)}},Wa,oc);Object.defineProperties(mc,Hc);var nc=Ga({importNode:function(a,b){return fc(a,b)}},Wa);Object.defineProperties(nc,{_activeElement:Na.activeElement});var Qd=HTMLElement.prototype.blur,xd=Ga({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?a.blur():Qd.call(this)}});z.Pa&&(window.ShadyDOM={inUse:z.Pa,patch:function(a){return a},isShadyRoot:B,enqueue:Hb,flush:Ka,settings:z,filterMutations:ld,observeChildren:jd,unobserveChildren:id,nativeMethods:Jd,
|
||||
nativeTree:Kd},window.Event=Md,window.CustomEvent=Nd,window.MouseEvent=Od,rd(),ud(),window.ShadowRoot=r);var yd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));A.prototype.M=function(a,b){this.s.set(a,b);this.o.set(b.constructor,b)};A.prototype.f=function(a){return this.s.get(a)};A.prototype.L=function(a){return this.o.get(a)};A.prototype.u=function(a){this.h=!0;this.i.push(a)};A.prototype.j=function(a){var b=this;
|
||||
this.h&&O(a,function(a){return b.g(a)})};A.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};A.prototype.b=function(a){var b=[];O(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.A(c)}};A.prototype.a=function(a){var b=[];O(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};A.prototype.c=function(a,b){b=
|
||||
b?b:new Set;var c=this,d=[];O(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.A(d[a])};A.prototype.A=
|
||||
function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}n(a)&&
|
||||
this.connectedCallback(a)}}};A.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};A.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};A.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};Ca.prototype.c=function(){this.N&&this.N.disconnect()};
|
||||
Ca.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};Bb.prototype.resolve=function(a){if(this.a)throw Error("Already resolved.");this.a=a;this.b&&this.b(a)};t.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!pc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+
|
||||
a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=m[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},m=b.prototype;if(!(m instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||
|
||||
[]}catch(fe){return}finally{this.f=!1}this.a.M(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};t.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.resolve(void 0)}};t.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};t.prototype.whenDefined=
|
||||
function(a){if(!pc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.c;b=new Bb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.resolve(void 0);return b.c};t.prototype.o=function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=t;t.prototype.define=t.prototype.define;t.prototype.get=t.prototype.get;t.prototype.whenDefined=t.prototype.whenDefined;t.prototype.polyfillWrapFlushCallback=
|
||||
t.prototype.o;var ya=window.Document.prototype.createElement,dd=window.Document.prototype.createElementNS,cd=window.Document.prototype.importNode,ed=window.Document.prototype.prepend,fd=window.Document.prototype.append,qb=window.Node.prototype.cloneNode,ja=window.Node.prototype.appendChild,yb=window.Node.prototype.insertBefore,za=window.Node.prototype.removeChild,zb=window.Node.prototype.replaceChild,Ba=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),pb=window.Element.prototype.attachShadow,
|
||||
wa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Aa=window.Element.prototype.getAttribute,rb=window.Element.prototype.setAttribute,tb=window.Element.prototype.removeAttribute,ka=window.Element.prototype.getAttributeNS,sb=window.Element.prototype.setAttributeNS,ub=window.Element.prototype.removeAttributeNS,wb=window.Element.prototype.insertAdjacentElement,Uc=window.Element.prototype.prepend,Vc=window.Element.prototype.append,Xc=window.Element.prototype.before,Yc=window.Element.prototype.after,
|
||||
Zc=window.Element.prototype.replaceWith,$c=window.Element.prototype.remove,hd=window.HTMLElement,xa=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),vb=window.HTMLElement.prototype.insertAdjacentElement,Ab=new function(){},sa=window.customElements;if(!sa||sa.forcePolyfill||"function"!=typeof sa.define||"function"!=typeof sa.get){var ga=new A;gd(ga);bd(ga);ad(ga);Tc(ga);document.__CE_hasRegistry=!0;var Rd=new t(ga);Object.defineProperty(window,"customElements",{configurable:!0,
|
||||
enumerable:!0,value:Rd})}var H={STYLE_RULE:1,na:7,MEDIA_RULE:4,Ea:1E3},M={rb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ma:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Qa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,yb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Db:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,xb:/^@[^\s]*keyframes/,Ra:/\s+/g},y=!(window.ShadyDOM&&window.ShadyDOM.inUse),x=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&
|
||||
CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?sc(window.ShadyCSS):window.WebComponents&&sc(window.WebComponents.flags);var Ic=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Jc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Sd=/(--[\w-]+)\s*([:,;)]|$)/gi,Td=/(animation\s*:)|(animation-name\s*:)/,Ad=/@media[^(]*(\([^)]*\))/,Ud=/\{[^}]*\}/g,S=null;q.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};q.prototype.i=function(a,b,c){a.nodeType===
|
||||
Node.ELEMENT_NODE&&this.A(a,b,c);if(a="template"===a.localName?(a.content||a.Hb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};q.prototype.A=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Vd);c?d&&(b=d.replace("style-scope","").replace(b,""),oa(a,b)):oa(a,(d?d+" ":"")+"style-scope "+b)}};q.prototype.b=function(a,b,c){var d=
|
||||
a.__cssBuild;y||"shady"===d?b=X(b,c):(a=T(a),b=this.U(b,a.is,a.aa,c)+"\n\n");return b.trim()};q.prototype.U=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return X(a,function(a){a.c||(f.W(a,b,e),a.c=!0);d&&d(a,b,e)})};q.prototype.h=function(a){return a?Wd+a:""};q.prototype.f=function(a,b){return b?"[is="+a+"]":a};q.prototype.W=function(a,b,c){this.j(a,this.g,b,c)};q.prototype.j=function(a,b,c,d){a.selector=a.D=this.o(a,b,c,d)};q.prototype.o=function(a,b,c,d){var e=a.selector.split(Kc);
|
||||
if(!tc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Kc)};q.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Xd,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Yd,gb+" $1");return a=a.replace(Zd,function(a,g,h){e||(a=d.L(h,g,b,c),e=e||a.stop,g=a.qb,h=a.value);return g+h})};q.prototype.L=function(a,b,c,d){var e=a.indexOf(hb);0<=a.indexOf(gb)?a=this.T(a,d):0!==e&&(a=c?this.s(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,
|
||||
c&&(a=a.replace($d,function(a,b){return" > "+b})));a=a.replace(ae,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,qb:b,stop:f}};q.prototype.s=function(a,b){a=a.split(Lc);a[0]+=b;return a.join(Lc)};q.prototype.T=function(a,b){var c=a.match(Mc);return(c=c&&c[2].trim()||"")?c[0].match(Nc)?a.replace(Mc,function(a,c,f){return b+f}):c.split(Nc)[0]===b?c:be:a.replace(gb,b)};q.prototype.V=function(a){a.selector=a.parsedSelector;this.u(a);this.j(a,this.M)};q.prototype.u=function(a){a.selector===
|
||||
ce&&(a.selector="html")};q.prototype.M=function(a){return a.match(hb)?this.g(a,Oc):this.s(a.trim(),Oc)};mb.Object.defineProperties(q.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Xd=/:(nth[-\w]+)\(([^)]+)\)/,Oc=":not(.style-scope)",Kc=",",Zd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Nc=/[[.:#*]/,gb=":host",ce=":root",hb="::slotted",Yd=new RegExp("^("+hb+")"),Mc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,$d=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ae=
|
||||
/(.*):dir\((?:(ltr|rtl))\)/,Wd=".",Lc=":",Vd="class",be="should_not_match",u=new q;v.get=function(a){return a?a.__styleInfo:null};v.set=function(a,b){return a.__styleInfo=b};v.prototype.c=function(){return this.I};v.prototype._getStyleRules=v.prototype.c;var Pc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),de=navigator.userAgent.match("Trident");p.prototype.W=function(a){var b=this,
|
||||
c={},d=[],e=0;Y(a,function(a){b.c(a);a.index=e++;b.V(a.v.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};p.prototype.c=function(a){if(!a.v){var b={},c={};this.b(a,c)&&(b.H=c,a.rules=null);b.cssText=this.U(a);a.v=b}};p.prototype.b=function(a,b){var c=a.v;if(c){if(c.H)return Object.assign(b,c.H),!0}else{for(var c=a.parsedCssText,d;a=Ic.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.U=function(a){return this.T(a.parsedCssText)};
|
||||
p.prototype.T=function(a){return a.replace(Ud,"").replace(Ic,"")};p.prototype.V=function(a,b){for(var c;c=Sd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.ka=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=vc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+
|
||||
g})}return a&&a.trim()||""};p.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Jc.lastIndex=0;if(e=Jc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};p.prototype.M=function(a,b){var c="";a.v||this.c(a);a.v.cssText&&(c=this.f(a.v.cssText,b));a.cssText=c};p.prototype.L=function(a,b){var c=a.cssText,d=a.cssText;
|
||||
null==a.Oa&&(a.Oa=Td.test(c));if(a.Oa)if(null==a.ha){a.ha=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ha.push(e))}else{for(e=0;e<a.ha.length;++e)d=b[a.ha[e]],c=d(c);d=c}a.cssText=d};p.prototype.ja=function(a,b){var c={},d=this,e=[];Y(a,function(a){a.v||d.c(a);var f=a.D||a.parsedSelector;b&&a.v.H&&f&&Pc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{H:c,key:e}};p.prototype.ma=function(a,b,c,d){b.v||this.c(b);if(b.v.H){var e=T(a);a=e.is;var e=e.aa,e=a?
|
||||
u.f(a,e):"html",f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(y&&!b.D&&(b.D=u.o(b,u.g,u.h(a),e)),c=b.D||e),d({Cb:c,wb:h,Lb:g})}};p.prototype.ia=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;Y(b,function(b){e.ma(a,b,f,function(f){Pc.call(a.Ib||a,f.Cb)&&(f.wb?e.b(b,c):e.b(b,d))})},null,!0);return{Ab:d,vb:c}};p.prototype.la=
|
||||
function(a,b,c){var d=this,e=T(a),f=u.f(e.is,e.aa),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=v.get(a).I,h=this.h(e,c);return u.b(a,e,function(a){d.M(a,b);y||tc(a)||!a.cssText||(d.L(a,h),d.o(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!y&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};p.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};p.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,
|
||||
"g");a.a=a.keyframesName+"-"+b;a.D=a.D||a.selector;a.selector=a.D.replace(a.keyframesName,a.a)};p.prototype.o=function(a,b,c,d){a.D=a.D||a.selector;d="."+d;for(var e=a.D.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};p.prototype.u=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&oa(a,e)};p.prototype.A=function(a,b,c,d){b=d?d.textContent||
|
||||
"":this.la(a,b,c);var e=v.get(a),f=e.a;f&&!y&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));y?e.a?(e.a.textContent=b,d=e.a):b&&(d=Za(b,c,a.shadowRoot,e.b)):d?d.parentNode||(de&&-1<b.indexOf("@media")&&(d.textContent=b),uc(d,null,e.b)):b&&(d=Za(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.s=function(a,b){var c=na(a),d=this;a.textContent=X(c,function(a){var c=a.cssText=a.parsedCssText;a.v&&a.v.cssText&&(c=c.replace(M.Ma,
|
||||
"").replace(M.Qa,""),a.cssText=d.f(c,b))})};mb.Object.defineProperties(p.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var I=new p,ib={},ta=window.customElements;if(ta&&!y){var ee=ta.define;ta.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(S?S.nextSibling:null)||e.firstChild);S=d;ib[a]=d;return ee.call(ta,a,b,c)}}ia.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.H[e]!==
|
||||
b[e])return!1}return!0};ia.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({H:b,styleElement:c,F:d});e.length>this.f&&e.shift();this.cache[a]=e};ia.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.b(e,b,c))return e}};if(!y){var Qc=new MutationObserver(wc),Rc=function(a){Qc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Rc(document);else{var jb=function(){Rc(document.body)};
|
||||
window.HTMLImports?window.HTMLImports.whenReady(jb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){jb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else jb()})}ob=function(){wc(Qc.takeRecords())}}var pa={},Dd=Promise.resolve(),$a=null,yc=window.HTMLImports&&window.HTMLImports.whenReady||null,ab,ua=null,ha=null;K.prototype.Na=function(){!this.enqueued&&ha&&(this.enqueued=!0,nb(ha))};K.prototype.b=function(a){a.__seenByShadyCSS||
|
||||
(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Na())};K.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};K.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;ua&&ua(d);c.__shadyCSSCachedStyle=d}}}return a};K.prototype.addCustomStyle=
|
||||
K.prototype.b;K.prototype.getStyleForCustomStyle=K.prototype.a;K.prototype.processStyles=K.prototype.c;Object.defineProperties(K.prototype,{transformCallback:{get:function(){return ua},set:function(a){ua=a}},validateCallback:{get:function(){return ha},set:function(a){var b=!1;ha||(b=!0);ha=a;b&&this.Na()}}});var Sc=new ia;k.prototype.L=function(){ob()};k.prototype.ia=function(a){var b=this.s[a]=(this.s[a]||0)+1;return a+"-"+b};k.prototype.Za=function(a){return na(a)};k.prototype.ab=function(a){return X(a)};
|
||||
k.prototype.W=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.ka=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;pa[b]=a;var d=this.ka(a),e=this.W(a);c={is:b,extends:c,Fb:d};y||u.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Ya(e);f&&x&&
|
||||
this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];x||(d=I.W(a._styleAst));if(!d.length||x)b=this.ja(c,a._styleAst,y?a.content:null,ib[b]),a.a=b;a.c=d}};k.prototype.ja=function(a,b,c,d){b=u.b(a,b);if(b.length)return Za(b,a.is,c,d)};k.prototype.ma=function(a){var b=T(a),c=b.is,b=b.aa,d=ib[c],c=pa[c],e,f;c&&(e=c._styleAst,f=c.c);return v.set(a,new v(e,d,f,0,b))};k.prototype.U=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=
|
||||
Bd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.V=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=function(b){a.A(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=
|
||||
function(){return null},b)}};k.prototype.c=function(){this.U();this.V()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(x?this.Xa(a):(this.u(this.g,this.h),this.M(a)),this.a.enqueued=!1,this.i&&!x&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=T(a).is,d=v.get(a);d||(d=this.ma(a));this.j(a)||(this.i=!0);b&&(d.S=d.S||{},Object.assign(d.S,b));if(x){if(d.S){b=d.S;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=
|
||||
pa[c])||this.j(a))&&e&&e.a&&!xc(e)){if(xc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.I),Cd(e);y&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.I));d.I=e._styleAst}}else this.u(a,d),d.Ba&&d.Ba.length&&this.T(a,d)};k.prototype.o=function(a){return(a=a.getRootNode().host)?v.get(a)?a:this.o(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.T=function(a,b){var c=T(a).is,d=Sc.a(c,b.K,
|
||||
b.Ba),e=d?d.styleElement:null,f=b.F;b.F=d&&d.F||this.ia(c);e=I.A(a,b.K,b.F,e);y||I.u(a,b.F,f);d||Sc.c(c,b.K,e,b.F)};k.prototype.u=function(a,b){var c=this.o(a),d=v.get(c),c=Object.create(d.K||null),e=I.ia(a,b.I);a=I.ja(d.I,a).H;Object.assign(c,e.vb,a,e.Ab);this.la(c,b.S);I.ka(c);b.K=c};k.prototype.la=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&
|
||||
this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Xa=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.Wa(c)}};k.prototype.M=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&I.s(c,this.h.K)}};k.prototype.A=function(a){var b=this,c=na(a);Y(c,function(a){y?u.u(a):u.V(a);x&&(b.c(),
|
||||
b.b.transformRule(a))});x?a.textContent=X(c):this.h.I.rules.push(c)};k.prototype.Wa=function(a){if(x){var b=na(a);this.c();this.b.transformRules(b);a.textContent=X(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;x||(c=(v.get(a)||v.get(this.o(a))).K[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.$a=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)for(var d=d.split(/\s/),
|
||||
e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}c&&b.push(u.c,c);x||(c=v.get(a))&&c.F&&b.push(I.g,c.F);oa(a,b.join(" "))};k.prototype.Ya=function(a){return v.get(a)};k.prototype.flush=k.prototype.L;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=
|
||||
k.prototype.$a;k.prototype._styleInfoForNode=k.prototype.Ya;k.prototype.transformCustomStyleForDocument=k.prototype.A;k.prototype.getStyleAst=k.prototype.Za;k.prototype.styleAstToString=k.prototype.ab;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return y}},nativeCss:{get:function(){return x}}});var J=new k,kb,lb;window.ShadyCSS&&(kb=window.ShadyCSS.ApplyShim,lb=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:J,prepareTemplate:function(a,
|
||||
b,c){J.f();J.prepareTemplate(a,b,c)},styleSubtree:function(a,b){J.f();J.styleSubtree(a,b)},styleElement:function(a){J.f();J.styleElement(a)},styleDocument:function(a){J.f();J.styleDocument(a)},getComputedStyleValue:function(a,b){return J.getComputedStyleValue(a,b)},nativeCss:x,nativeShadow:y};kb&&(window.ShadyCSS.ApplyShim=kb);lb&&(window.ShadyCSS.CustomStyleInterface=lb);(function(){var a=window.customElements,b=window.HTMLImports;if(a&&a.polyfillWrapFlushCallback){var c,d=function(){if(c){var a=
|
||||
c;c=null;a();return!0}},e=b.whenReady;a.polyfillWrapFlushCallback(function(a){c=a;e(d)});b.whenReady=function(a){e(function(){d()?b.whenReady(a):a()})}}b.whenReady(function(){requestAnimationFrame(function(){document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var a=document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var b=document.querySelector("head");
|
||||
b.insertBefore(a,b.firstChild)})()})();
|
||||
}).call(self)
|
||||
|
||||
//# sourceMappingURL=webcomponents-lite.js.map
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -23,126 +23,128 @@ Code distributed by Google as part of the polymer project is also
|
||||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||
*/
|
||||
'use strict';var eb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
|
||||
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new pa;b.rules=[];this.h=r.set(this.g,new r(b));this.i=!1;this.a=this.b=null;fb(function(){a.c()})}function D(){this.customStyles=[];this.enqueued=!1}function gb(){}function ba(a){this.cache={};this.f=void 0===a?100:a}function n(){}function r(a,b,c,d,e){this.F=a||null;this.b=b||null;this.pa=c||[];this.M=null;this.U=e||"";this.a=this.C=this.G=null}function q(){}function pa(){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 Jc(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;l(this)&&(e=[],K(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
|
||||
return b}})}function c(b,c){x(b,"insertAdjacentElement",function(b,d){var e=l(d);b=c.call(this,b,d);e&&a.a(d);l(b)&&a.b(d);return b})}hb?x(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=hb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(qa&&qa.get)b(Element.prototype,qa);else if(ra&&ra.get)b(HTMLElement.prototype,ra);else{var d=sa.call(document,"div");a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return ib.call(this,
|
||||
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)ta.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)da.call(b,d.childNodes[0])}})})}x(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return jb.call(this,b,c);var d=ua.call(this,b);jb.call(this,b,c);c=ua.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});x(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return kb.call(this,
|
||||
b,c,d);var e=ea.call(this,b,c);kb.call(this,b,c,d);d=ea.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});x(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return lb.call(this,b);var c=ua.call(this,b);lb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});x(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return mb.call(this,b,c);var d=ea.call(this,b,c);mb.call(this,b,c);var e=ea.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
|
||||
c,d,e,b)});nb?c(HTMLElement.prototype,nb):ob?c(Element.prototype,ob):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");pb(a,Element.prototype,{Ca:Kc,append:Lc});Mc(a,{Sa:Nc,Ra:Oc,ab:Pc,remove:Qc})}function Mc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});b.Sa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],
|
||||
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});b.Ra.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&l(a)}),g=l(this);b.ab.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
|
||||
(function(){function k(){var a=this;this.u={};this.g=document.documentElement;var b=new oa;b.rules=[];this.h=r.set(this.g,new r(b));this.i=!1;this.a=this.b=null;fb(function(){a.c()})}function D(){this.customStyles=[];this.enqueued=!1}function gb(){}function ba(a){this.cache={};this.f=void 0===a?100:a}function n(){}function r(a,b,c,d,e){this.F=a||null;this.b=b||null;this.qa=c||[];this.M=null;this.U=e||"";this.a=this.B=this.G=null}function q(){}function oa(){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 Ic(a){function b(b,c){Object.defineProperty(b,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){var d=this,e=void 0;l(this)&&(e=[],K(this,function(a){a!==d&&e.push(a)}));c.set.call(this,b);if(e)for(var f=0;f<e.length;f++){var g=e[f];1===g.__CE_state&&a.disconnectedCallback(g)}this.ownerDocument.__CE_hasRegistry?a.c(this):a.j(this);
|
||||
return b}})}function c(b,c){x(b,"insertAdjacentElement",function(b,d){var e=l(d);b=c.call(this,b,d);e&&a.a(d);l(b)&&a.b(d);return b})}hb?x(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=hb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(pa&&pa.get)b(Element.prototype,pa);else if(qa&&qa.get)b(HTMLElement.prototype,qa);else{var d=ra.call(document,"div");a.v(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return ib.call(this,
|
||||
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)sa.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ca.call(b,d.childNodes[0])}})})}x(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return jb.call(this,b,c);var d=ta.call(this,b);jb.call(this,b,c);c=ta.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});x(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return kb.call(this,
|
||||
b,c,d);var e=da.call(this,b,c);kb.call(this,b,c,d);d=da.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});x(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return lb.call(this,b);var c=ta.call(this,b);lb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});x(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return mb.call(this,b,c);var d=da.call(this,b,c);mb.call(this,b,c);var e=da.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
|
||||
c,d,e,b)});nb?c(HTMLElement.prototype,nb):ob?c(Element.prototype,ob):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");pb(a,Element.prototype,{Da:Kc,append:Lc});Mc(a,{Ta:Nc,Sa:Oc,bb:Pc,remove:Qc})}function Mc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});b.Ta.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],
|
||||
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});b.Sa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&l(a)}),g=l(this);b.bb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
|
||||
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=l(this);b.remove.call(this);c&&a.a(this)}}function Rc(a){function b(b,d){Object.defineProperty(b,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,b);else{var c=void 0;if(this.firstChild){var e=this.childNodes,h=e.length;if(0<h&&l(this))for(var c=Array(h),m=0;m<h;m++)c[m]=e[m]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
|
||||
x(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=qb.call(this,b,d);if(l(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=l(b);d=qb.call(this,b,d);c&&a.a(b);l(this)&&a.b(b);return d});x(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=da.call(this,b);if(l(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=l(b);e=da.call(this,b);c&&a.a(b);l(this)&&
|
||||
a.b(b);return e});x(Node.prototype,"cloneNode",function(b){b=ib.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Node.prototype,"removeChild",function(b){var c=l(b),e=ta.call(this,b);c&&a.a(b);return e});x(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=rb.call(this,b,d);if(l(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=l(b),f=rb.call(this,b,d),g=l(this);g&&a.a(d);c&&a.a(b);g&&
|
||||
a.b(b);return f});va&&va.get?b(Node.prototype,va):a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)ta.call(this,this.firstChild);da.call(this,document.createTextNode(a))}})})}function Sc(a){x(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=sa.call(this,b);a.g(b);return b});
|
||||
x(Document.prototype,"importNode",function(b,c){b=Tc.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=Uc.call(this,b,c);a.g(b);return b});pb(a,Document.prototype,{Ca:Vc,append:Wc})}function pb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
|
||||
Node&&l(a)});c.Ca.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function Xc(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.H(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
|
||||
var e=d.constructionStack;if(!e.length)return e=sa.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===sb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=sb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=Yc.prototype;return b}()}function w(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
|
||||
[];this.j=new wa(a,document)}function tb(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function wa(a,b){this.b=a;this.a=b;this.J=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.J=new MutationObserver(this.f.bind(this)),this.J.observe(this.a,{childList:!0,subtree:!0}))}function y(){this.m=new Map;this.l=new Map;this.i=[];this.h=!1}function p(a,b){if(a!==ub)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
|
||||
p.prototype;a.i(b);return a}function z(a){this.root=a;this.Z="slot"}function P(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=xa(a);a.__shady.lastChild=ya(a);vb(a);for(var b=a.__shady.childNodes=W(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,wb(d)}}function Zc(a){var b=a&&a.J;b&&(b.Y.delete(a.Oa),b.Y.size||(a.Pa.__shady.S=null))}function $c(a,
|
||||
b){a.__shady=a.__shady||{};a.__shady.S||(a.__shady.S=new fa);a.__shady.S.Y.add(b);var c=a.__shady.S;return{Oa:b,J:c,Pa:a,takeRecords:function(){return c.takeRecords()}}}function fa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.Y=new Set}function E(a){return"ShadyRoot"===a.Ma}function Q(a){a=a.getRootNode();if(E(a))return a}function za(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 xb(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)za(a,c[d]);return a}function ad(a,b){for(var c in b)a[c]=b[c]}function yb(a){Aa.push(a);Ba.textContent=zb++}function Ab(a){Ca||(Ca=!0,yb(Da));X.push(a)}function Da(){Ca=!1;for(var a=!!X.length;X.length;)X.shift()();return a}function bd(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
|
||||
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Bb(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function Cb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ea(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++){var h;
|
||||
a:{var m;h=g;m=a;var k=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var ca=h.localName,l="<"+ca,n=h.attributes,p=0;m=n[p];p++)l+=" "+m.name+'="'+m.value.replace(cd,Bb)+'"';l+=">";h=dd[ca]?l:l+Ea(h,k)+"</"+ca+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&ed[m.localName]?h:h.replace(fd,Bb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function L(a){A.currentNode=a;return A.parentNode()}function xa(a){A.currentNode=
|
||||
a;return A.firstChild()}function ya(a){A.currentNode=a;return A.lastChild()}function Db(a){A.currentNode=a;return A.previousSibling()}function Eb(a){A.currentNode=a;return A.nextSibling()}function W(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Fb(a){B.currentNode=a;return B.parentNode()}function Gb(a){B.currentNode=a;return B.firstChild()}function Hb(a){B.currentNode=a;return B.lastChild()}function Ib(a){B.currentNode=a;return B.previousSibling()}
|
||||
function Jb(a){B.currentNode=a;return B.nextSibling()}function Kb(a){var b=[];B.currentNode=a;for(a=B.firstChild();a;)b.push(a),a=B.nextSibling();return b}function Lb(a){return Ea(a,function(a){return W(a)})}function Mb(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function I(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 M(a){I(a,Nb);I(a,Fa);I(a,Ga)}function Ob(a,b,c){wb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=
|
||||
a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Pb(a){var b=a.__shady&&a.__shady.parentNode,c,d=Q(a);if(b||d){c=Qb(a);if(b){a.__shady=a.__shady||{};b.__shady=b.__shady||{};a===b.__shady.firstChild&&(b.__shady.firstChild=a.__shady.nextSibling);a===b.__shady.lastChild&&(b.__shady.lastChild=a.__shady.previousSibling);var e=a.__shady.previousSibling,f=a.__shady.nextSibling;e&&(e.__shady=e.__shady||{},e.__shady.nextSibling=f);f&&(f.__shady=f.__shady||{},f.__shady.previousSibling=
|
||||
e);a.__shady.parentNode=a.__shady.previousSibling=a.__shady.nextSibling=void 0;void 0!==b.__shady.childNodes&&(b.__shady.childNodes=null)}if(e=d){for(var g,e=d.ka(),f=0;f<e.length;f++){var h=e[f],m;a:{for(m=h;m;){if(m==a){m=!0;break a}m=m.parentNode}m=void 0}if(m)for(h=h.assignedNodes({flatten:!0}),m=0;m<h.length;m++){g=!0;var k=h[m],l=L(k);l&&R.call(l,k)}}e=g}b=b&&d&&b.localName===d.w.Z;if(e||b)d.W=!1,ga(d)}Ha(a);return c}function Ia(a,b,c){if(a=a.__shady&&a.__shady.S)b&&a.addedNodes.push(b),c&&
|
||||
a.removedNodes.push(c),a.cb()}function Ja(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.qa;void 0===b&&(E(a)?b=a:b=(b=a.parentNode)?Ja(b):a,document.documentElement.contains(a)&&(a.__shady.qa=b));return b}}function Rb(a,b,c){var d,e=c.w.Z;if(a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||a.__noInsertionPoint)a.localName===e&&(P(b),P(a),d=!0);else for(var e=a.querySelectorAll(e),f=0,g,h;f<e.length&&(g=e[f]);f++)h=g.parentNode,h===a&&(h=b),h=Rb(g,h,c),d=d||h;return d}function Sb(a){return(a=
|
||||
a&&a.__shady&&a.__shady.root)&&a.na()}function Ha(a){if(a.__shady&&void 0!==a.__shady.qa)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Ha(e);a.__shady=a.__shady||{};a.__shady.qa=void 0}function Qb(a){a=a.parentNode;if(Sb(a))return ga(a.__shady.root),!0}function ga(a){a.ja=!0;a.update()}function Tb(a,b){"slot"===b?Qb(a):"slot"===a.localName&&"name"===b&&(a=Q(a))&&a.update()}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 m=b,k=c,l=d,n=m(h);n&&l.push(h);k&&k(n)?h=n:(Vb(h.childNodes,m,k,l),h=void 0)}if(h)break}}function Wb(a){a=a.getRootNode();E(a)&&a.Da()}function Xb(a,b,c){if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&L(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.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&
|
||||
((d=b.__shady&&b.__shady.parentNode)?(Ia(d,null,b),Pb(b)):(b.parentNode&&R.call(b.parentNode,b),Ha(b)));var d=c,e=Q(a),f;e&&(b.__noInsertionPoint&&!e.ja&&(e.W=!0),f=Rb(b,a,e))&&(e.W=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(vb(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Ob(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
|
||||
b.__shady.lastChild=g;b.__shady.childNodes=g}else Ob(b,a,d);var g=f,h=e&&e.w.Z||"",m=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=m&&m.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((m=m||b.localName===h)||a.localName===h||g)&&e&&ga(e);(e=Sb(a))&&ga(a.__shady&&a.__shady.root);if(!(e||m&&!f||a.__shady.root||d&&E(d.parentNode)&&d.parentNode.K)){if(c&&(d=Q(c))){var k;if(c.localName===d.w.Z)a:{d=c.assignedNodes({flatten:!0});e=Ja(c);f=0;for(g=d.length;f<
|
||||
g&&(k=d[f]);f++)if(e.$(c,k))break a;k=void 0}else k=c;c=k}k=E(a)?a.host:a;c?Ka.call(k,b,c):Yb.call(k,b)}Ia(a,b);return b}function Zb(a,b){if(a.ownerDocument!==document)return La.call(document,a,b);var c=La.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=Zb(a[b],!0),c.appendChild(d)}return c}function Ma(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 $b(a,b){if(!E)return a;a=Ma(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Na(a){function b(b,d){b=new a(b,d);b.ha=d&&!!d.composed;return b}ad(b,a);b.prototype=a.prototype;return b}function ac(a,b,c){if(c=b.v&&b.v[a.type]&&b.v[a.type][c])for(var d=0,e;(e=c[d])&&(e.call(b,a),!a.Ka);d++);}function gd(a){var b=a.composedPath(),c;Object.defineProperty(a,
|
||||
"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],ac(a,c,"capture"),a.ia)return;Object.defineProperty(a,"eventPhase",{value:Event.AT_TARGET});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if(ac(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.ia)break}function bc(a,b,c,d,e,f){var g=a.type,h=a.capture,m=a.once,k=a.passive;return b===a.node&&c===g&&d===h&&e===m&&f===k}function hd(){for(var a in Oa)window.addEventListener(a,
|
||||
function(a){a.__target||(cc(a),gd(a))},!0)}function cc(a){a.__target=a.target;a.ta=a.relatedTarget;if(C.R){var b=dc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.ib=c;za(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else za(a,dc)}function Y(a,b){return{index:a,T:[],X:b}}function id(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,l=0;l<
|
||||
m-g&&jd(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=Y(e,0);f<d;)b.T.push(c[f++]);return[b]}if(f==d)return[Y(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)m?g?(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<
|
||||
h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l)):(a.push(3),m--):(a.push(2),g--);a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=Y(e,0));b.X++;e++;b.T.push(c[f]);f++;break;case 2:b||(b=Y(e,0));b.X++;e++;break;case 3:b||(b=Y(e,0)),b.T.push(c[f]),f++}b&&m.push(b);return m}function jd(a,b){return a===b}function ec(a){Wb(a);return a.__shady&&a.__shady.assignedSlot||null}function S(a,
|
||||
b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function fc(a){var b=kd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function l(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 Pa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function K(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)K(d,b,c);d=Pa(a,e);continue}else if("template"===f){d=Pa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)K(e,b,c)}d=d.firstChild?
|
||||
d.firstChild:Pa(a,d)}}function x(a,b,c){a[b]=c}function Qa(a){a=a.replace(F.Ua,"").replace(F.port,"");var b=gc,c=a,d=new pa;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 pa;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 gc(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=ld(c),c=c.replace(F.Ba," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(F.Za)&&(a.type=H.ga,a.keyframesName=a.selector.split(F.Ba).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.ra);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)gc(f,b);return a}function ld(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 hc(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=hc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(F.wa,"").replace(F.Aa,""),b=b.replace(F.$a,"").replace(F.fb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function ic(a){a&&(v=v&&!a.nativeCss&&!a.shimcssproperties,
|
||||
t=t&&!a.nativeShadow&&!a.shimshadow)}function T(a,b){if(!a)return"";"string"===typeof a&&(a=Qa(a));b&&U(a,b);return hc(a,v)}function ha(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Qa(a.textContent));return a.__cssRules||null}function jc(a){return!!a.parent&&a.parent.type===H.ga}function U(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=a.selector.match(md);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.ga?c(a):f===H.ra&&(e=!0);if((a=a.rules)&&!e)for(var e=
|
||||
0,f=a.length,h;e<f&&(h=a[e]);e++)U(h,b,c,d)}}function Ra(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;kc(e,c,d);return e}function kc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);N?a.compareDocumentPosition(N)===Node.DOCUMENT_POSITION_PRECEDING&&(N=a):N=a}function lc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;
|
||||
d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=lc(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 ia(a,b){t?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function O(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,U:c}}function mc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=O(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function nd(a){if(a=ja[a])a._applyShimCurrentVersion=
|
||||
a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function nc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function od(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,pd.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function fb(a){requestAnimationFrame(function(){oc?oc(a):(Sa||(Sa=new Promise(function(a){Ta=a}),"complete"===document.readyState?
|
||||
Ta():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&Ta()})),Sa.then(function(){a&&a()}))})}var C=window.ShadyDOM||{};C.Wa=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Ua=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.R=!!(Ua&&Ua.configurable&&Ua.get);C.za=C.force||!C.Wa;var V=Element.prototype,pc=V.matches||V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector,Ba=document.createTextNode(""),
|
||||
zb=0,Aa=[];(new MutationObserver(function(){for(;Aa.length;)try{Aa.shift()()}catch(a){throw Ba.textContent=zb++,a;}})).observe(Ba,{characterData:!0});var X=[],Ca;Da.list=X;fa.prototype.cb=function(){var a=this;this.a||(this.a=!0,yb(function(){a.b()}))};fa.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.Y.forEach(function(b){b(a)})}};fa.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];
|
||||
this.addedNodes=[];this.removedNodes=[];return a}return[]};var Yb=Element.prototype.appendChild,Ka=Element.prototype.insertBefore,R=Element.prototype.removeChild,qc=Element.prototype.setAttribute,rc=Element.prototype.removeAttribute,Va=Element.prototype.cloneNode,La=Document.prototype.importNode,sc=Element.prototype.addEventListener,tc=Element.prototype.removeEventListener,qd=Object.freeze({appendChild:Yb,insertBefore:Ka,removeChild:R,setAttribute:qc,removeAttribute:rc,cloneNode:Va,importNode:La,
|
||||
addEventListener:sc,removeEventListener:tc}),cd=/[&\u00A0"]/g,fd=/[&\u00A0<>]/g,dd=Cb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ed=Cb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),B=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),rd=Object.freeze({parentNode:L,firstChild:xa,lastChild:ya,previousSibling:Db,nextSibling:Eb,childNodes:W,
|
||||
parentElement:Fb,firstElementChild:Gb,lastElementChild:Hb,previousElementSibling:Ib,nextElementSibling:Jb,children:Kb,innerHTML:Lb,textContent:Mb}),Wa=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ka=document.implementation.createHTMLDocument("inert").createElement("div"),Xa=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Nb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentElement;
|
||||
return void 0!==a?a:Fb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:L(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Eb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Db(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",
|
||||
a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Jb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Ib(this)},configurable:!0}},Fa={childNodes:{get:function(){if(this.__shady&&
|
||||
void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}return this.__shady.childNodes}return W(this)},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:xa(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:ya(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&
|
||||
void 0!==this.__shady.firstChild){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 Mb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=
|
||||
a.nextSibling;return a}return Gb(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Hb(this)},configurable:!0},children:{get:function(){return this.__shady&&void 0!==this.__shady.firstChild?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):Kb(this)},configurable:!0},innerHTML:{get:function(){var a="template"===
|
||||
this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ea(a):Lb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(Wa&&Wa.set?Wa.set.call(ka,a):ka.innerHTML=a;ka.firstChild;)b.appendChild(ka.firstChild)},configurable:!0}},uc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Ga={activeElement:{get:function(){var a;
|
||||
a=Xa&&Xa.get?Xa.get.call(document):C.R?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=Q(a);b&&b!==this;)a=b.host,b=Q(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},wb=C.R?function(){}:function(a){a.__shady&&a.__shady.Na||(a.__shady=a.__shady||{},a.__shady.Na=!0,I(a,Nb,!0))},vb=C.R?function(){}:function(a){a.__shady&&a.__shady.La||(a.__shady=a.__shady||
|
||||
{},a.__shady.La=!0,I(a,Fa,!0),I(a,uc,!0))},la=null,sd={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},dc={get composed(){!1!==this.isTrusted&&void 0===this.ha&&(this.ha=sd[this.type]);return this.ha||!1},composedPath:function(){this.sa||(this.sa=Ma(this.__target,this.composed));return this.sa},get target(){return $b(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.ta)return null;this.ua||(this.ua=Ma(this.ta,!0));return $b(this.currentTarget,this.ua)},
|
||||
stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ia=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ia=this.Ka=!0}},Oa={focus:!0,blur:!0},td=Na(window.Event),ud=Na(window.CustomEvent),vd=Na(window.MouseEvent),wd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};z.prototype.Va=function(){return this.root.querySelectorAll("slot")};z.prototype.oa=
|
||||
function(a){return a.localName&&"slot"==a.localName};z.prototype.ma=function(){return this.root.na()?this.g(this.c()):[]};z.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};z.prototype.g=function(a){for(var b=[],c=this.root.ka(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.na()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=L(d))&&
|
||||
R.call(e,d);return b};z.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.va(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.la!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.la!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.la=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};z.prototype.va=function(a,b){var c=a.__shady.assignedNodes;
|
||||
if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.la=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};z.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};z.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};z.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.L=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.oa(d)){var e=
|
||||
d.__shady.L;if(e)for(var f=0;f<e.length;f++)a.__shady.L.push(e[f])}else a.__shady.L.push(b[c])};z.prototype.a=function(a){a.dispatchEvent(new wd("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};z.prototype.$=function(a){return!a.__shady.assignedSlot};var ub={};p.prototype=Object.create(DocumentFragment.prototype);p.prototype.i=function(a){this.Ma="ShadyRoot";P(a);P(this);a.shadowRoot=this;this.host=a;this.ja=this.K=!1;this.w=new z(this);this.update()};p.prototype.update=function(){var a=
|
||||
this;this.K||(this.K=!0,Ab(function(){return a.Da()}))};p.prototype.h=function(){for(var a=this,b=this;b;)b.K&&(a=b),b=b.Qa();return a};p.prototype.Qa=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.w.oa(d))return a};p.prototype.Da=function(){this.K&&this.h()._render()};p.prototype._render=function(){this.ja=this.K=!1;this.W||this.f();this.W=!1;this.ma();this.j()};p.prototype.ma=function(){for(var a=this.w.ma(),b=0;b<a.length;b++)a[b]._render()};
|
||||
p.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.w.va(c);a=this.a=this.w.Va();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},P(c),P(c.parentNode)};p.prototype.j=function(){this.g()};p.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.ka(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};p.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;
|
||||
for(var c=0;c<a.length;c++){var d=a[c];if(this.w.oa(d))for(var e=d.__shady.L||(d.__shady.L=[]),f=0;f<e.length;f++){var g=e[f];this.$(d,g)&&b.push(g)}else b.push(d)}return b};p.prototype.$=function(a,b){return this.w.$(a,b)};p.prototype.c=function(a,b){for(var c=W(a),d=id(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.T.length&&(k=g.T[h]);h++)L(k)===a&&R.call(a,k),c.splice(g.index+f,1);f-=g.X}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.X;h++)k=
|
||||
b[h],Ka.call(a,k,f),c.splice(h,0,k)};p.prototype.na=function(){return!(!this.a||!this.a.length)};p.prototype.ka=function(){this.a||this.f();return this.a};(function(a){I(a,Fa,!0);I(a,Ga,!0)})(p.prototype);var xd={addEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);if(b.u)for(var g=0;g<b.u.length;g++){if(bc(b.u[g],this,a,d,e,f))return}else b.u=[];g=function(d){e&&this.removeEventListener(a,b,c);d.__target||cc(d);if(d.composed||
|
||||
-1<d.composedPath().indexOf(this))if(d.eventPhase===Event.BUBBLING_PHASE&&d.target===d.relatedTarget)d.stopImmediatePropagation();else return b.call(this,d)};b.u.push({node:this,type:a,capture:d,once:e,passive:f,gb:g});Oa[a]?(this.v=this.v||{},this.v[a]=this.v[a]||{capture:[],bubble:[]},this.v[a][d?"capture":"bubble"].push(g)):sc.call(this,a,g,c)}},removeEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=void 0;if(b.u)for(var h=
|
||||
0;h<b.u.length;h++)if(bc(b.u[h],this,a,d,e,f)){g=b.u.splice(h,1)[0].gb;b.u.length||(b.u=void 0);break}tc.call(this,a,g||b,c);g&&Oa[a]&&this.v&&this.v[a]&&(a=this.v[a][d?"capture":"bubble"],g=a.indexOf(g),-1<g&&a.splice(g,1))}},appendChild:function(a){return Xb(this,a)},insertBefore:function(a,b){return Xb(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+a);if(!Pb(a)){var b=E(this)?this.host:this,c=L(a);b===c&&R.call(b,a)}Ia(this,
|
||||
null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=Va.call(this,a);else if(b=Va.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Ja(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof
|
||||
Document);)a=a.parentNode||(a instanceof p?a.host:void 0);return!!(a&&a instanceof Document)}},yd={get assignedSlot(){return ec(this)}},Ya={querySelector:function(a){return Ub(this,function(b){return pc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return Ub(this,function(b){return pc.call(b,a)})}},vc={assignedNodes:function(a){if("slot"===this.localName)return Wb(this),this.__shady?(a&&a.flatten?this.__shady.L:this.__shady.assignedNodes)||[]:[]}},wc=xb({setAttribute:function(a,
|
||||
b){la||(la=window.ShadyCSS&&window.ShadyCSS.ScopingShim);la&&"class"===a?la.setElementClass(this,b):(qc.call(this,a,b),Tb(this,a))},removeAttribute:function(a){rc.call(this,a);Tb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new p(ub,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},get assignedSlot(){return ec(this)}},Ya,vc);Object.defineProperties(wc,uc);var xc=xb({importNode:function(a,
|
||||
b){return Zb(a,b)}},Ya);Object.defineProperties(xc,{_activeElement:Ga.activeElement});C.za&&(window.ShadyDOM={inUse:C.za,patch:function(a){return a},isShadyRoot:E,enqueue:Ab,flush:Da,settings:C,filterMutations:bd,observeChildren:$c,unobserveChildren:Zc,nativeMethods:qd,nativeTree:rd},window.Event=td,window.CustomEvent=ud,window.MouseEvent=vd,hd(),S(window.Node.prototype,xd),S(window.Text.prototype,yd),S(window.DocumentFragment.prototype,Ya),S(window.Element.prototype,wc),S(window.Document.prototype,
|
||||
xc),window.HTMLSlotElement&&S(window.HTMLSlotElement.prototype,vc),C.R&&(M(window.Node.prototype),M(window.Text.prototype),M(window.DocumentFragment.prototype),M(window.Element.prototype),M((window.customElements&&window.customElements.nativeHTMLElement||HTMLElement).prototype),M(window.Document.prototype),window.HTMLSlotElement&&M(window.HTMLSlotElement.prototype)),window.ShadowRoot=p);var kd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));
|
||||
y.prototype.I=function(a,b){this.m.set(a,b);this.l.set(b.constructor,b)};y.prototype.f=function(a){return this.m.get(a)};y.prototype.H=function(a){return this.l.get(a)};y.prototype.o=function(a){this.h=!0;this.i.push(a)};y.prototype.j=function(a){var b=this;this.h&&K(a,function(a){return b.g(a)})};y.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};y.prototype.b=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=
|
||||
b[a];1===c.__CE_state?this.connectedCallback(c):this.B(c)}};y.prototype.a=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};y.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];K(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=
|
||||
a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,new Set(b),b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.B(d[a])};y.prototype.B=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=
|
||||
2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}l(a)&&this.connectedCallback(a)}}};y.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};y.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};y.prototype.attributeChangedCallback=
|
||||
function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};wa.prototype.c=function(){this.J&&this.J.disconnect()};wa.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};tb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};w.prototype.i=
|
||||
function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!fc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=l[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
|
||||
return b},l=b.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(ca){return}finally{this.f=!1}this.a.I(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=
|
||||
!0,this.g(function(){return c.l()}))};w.prototype.l=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};w.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};w.prototype.o=function(a){if(!fc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new tb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};w.prototype.m=function(a){this.j.c();
|
||||
var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.i;w.prototype.get=w.prototype.get;w.prototype.whenDefined=w.prototype.o;w.prototype.polyfillWrapFlushCallback=w.prototype.m;var sa=window.Document.prototype.createElement,Uc=window.Document.prototype.createElementNS,Tc=window.Document.prototype.importNode,Vc=window.Document.prototype.prepend,Wc=window.Document.prototype.append,ib=window.Node.prototype.cloneNode,da=window.Node.prototype.appendChild,
|
||||
qb=window.Node.prototype.insertBefore,ta=window.Node.prototype.removeChild,rb=window.Node.prototype.replaceChild,va=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),hb=window.Element.prototype.attachShadow,qa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),ua=window.Element.prototype.getAttribute,jb=window.Element.prototype.setAttribute,lb=window.Element.prototype.removeAttribute,ea=window.Element.prototype.getAttributeNS,kb=window.Element.prototype.setAttributeNS,
|
||||
mb=window.Element.prototype.removeAttributeNS,ob=window.Element.prototype.insertAdjacentElement,Kc=window.Element.prototype.prepend,Lc=window.Element.prototype.append,Nc=window.Element.prototype.before,Oc=window.Element.prototype.after,Pc=window.Element.prototype.replaceWith,Qc=window.Element.prototype.remove,Yc=window.HTMLElement,ra=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),nb=window.HTMLElement.prototype.insertAdjacentElement,sb=new function(){},ma=window.customElements;
|
||||
if(!ma||ma.forcePolyfill||"function"!=typeof ma.define||"function"!=typeof ma.get){var Z=new y;Xc(Z);Sc(Z);Rc(Z);Jc(Z);document.__CE_hasRegistry=!0;var zd=new w(Z);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:zd})}var H={STYLE_RULE:1,ga:7,MEDIA_RULE:4,ra:1E3},F={Ua:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,wa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Aa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,$a:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,
|
||||
fb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Za:/^@[^\s]*keyframes/,Ba:/\s+/g},t=!(window.ShadyDOM&&window.ShadyDOM.inUse),v=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?ic(window.ShadyCSS):window.WebComponents&&ic(window.WebComponents.flags);var yc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,zc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ad=/(--[\w-]+)\s*([:,;)]|$)/gi,Bd=/(animation\s*:)|(animation-name\s*:)/,
|
||||
md=/@media[^(]*(\([^)]*\))/,Cd=/\{[^}]*\}/g,N=null;q.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};q.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.B(a,b,c);if(a="template"===a.localName?(a.content||a.jb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};q.prototype.B=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));
|
||||
else if(a.getAttribute){var d=a.getAttribute(Dd);c?d&&(b=d.replace("style-scope","").replace(b,""),ia(a,b)):ia(a,(d?d+" ":"")+"style-scope "+b)}};q.prototype.b=function(a,b,c){var d=a.__cssBuild;t||"shady"===d?b=T(b,c):(a=O(a),b=this.N(b,a.is,a.U,c)+"\n\n");return b.trim()};q.prototype.N=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return T(a,function(a){a.c||(f.P(a,b,e),a.c=!0);d&&d(a,b,e)})};q.prototype.h=function(a){return a?Ed+a:""};q.prototype.f=function(a,b){return b?"[is="+a+
|
||||
"]":a};q.prototype.P=function(a,b,c){this.j(a,this.g,b,c)};q.prototype.j=function(a,b,c,d){a.selector=a.A=this.l(a,b,c,d)};q.prototype.l=function(a,b,c,d){var e=a.selector.split(Ac);if(!jc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Ac)};q.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Fd,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Gd,Za+" $1");return a=a.replace(Hd,function(a,g,h){e||(a=d.H(h,g,b,c),e=e||a.stop,
|
||||
g=a.Ta,h=a.value);return g+h})};q.prototype.H=function(a,b,c,d){var e=a.indexOf($a);0<=a.indexOf(Za)?a=this.V(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,c&&(a=a.replace(Id,function(a,b){return" > "+b})));a=a.replace(Jd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,Ta:b,stop:f}};q.prototype.m=function(a,b){a=a.split(Bc);a[0]+=b;return a.join(Bc)};q.prototype.V=function(a,b){var c=a.match(Cc);return(c=c&&c[2].trim()||"")?c[0].match(Dc)?a.replace(Cc,
|
||||
function(a,c,f){return b+f}):c.split(Dc)[0]===b?c:Kd:a.replace(Za,b)};q.prototype.O=function(a){a.selector=a.parsedSelector;this.o(a);this.j(a,this.I)};q.prototype.o=function(a){a.selector===Ld&&(a.selector="html")};q.prototype.I=function(a){return a.match($a)?this.g(a,Ec):this.m(a.trim(),Ec)};eb.Object.defineProperties(q.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Fd=/:(nth[-\w]+)\(([^)]+)\)/,Ec=":not(.style-scope)",Ac=",",Hd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,
|
||||
Dc=/[[.:#*]/,Za=":host",Ld=":root",$a="::slotted",Gd=new RegExp("^("+$a+")"),Cc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Id=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Jd=/(.*):dir\((?:(ltr|rtl))\)/,Ed=".",Bc=":",Dd="class",Kd="should_not_match",u=new q;r.get=function(a){return a?a.__styleInfo:null};r.set=function(a,b){return a.__styleInfo=b};r.prototype.c=function(){return this.F};r.prototype._getStyleRules=r.prototype.c;var Fc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||
|
||||
a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Md=navigator.userAgent.match("Trident");n.prototype.P=function(a){var b=this,c={},d=[],e=0;U(a,function(a){b.c(a);a.index=e++;b.O(a.s.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};n.prototype.c=function(a){if(!a.s){var b={},c={};this.b(a,c)&&(b.D=c,a.rules=null);b.cssText=this.N(a);a.s=b}};n.prototype.b=function(a,b){var c=a.s;if(c){if(c.D)return Object.assign(b,c.D),!0}else{for(var c=
|
||||
a.parsedCssText,d;a=yc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};n.prototype.N=function(a){return this.V(a.parsedCssText)};n.prototype.V=function(a){return a.replace(Cd,"").replace(yc,"")};n.prototype.O=function(a,b){for(var c;c=Ad.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};n.prototype.da=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};n.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=
|
||||
this.f(a,b);else{var c=this;a=lc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};n.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){zc.lastIndex=0;if(e=zc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||
|
||||
""}return a.join(";")};n.prototype.I=function(a,b){var c="";a.s||this.c(a);a.s.cssText&&(c=this.f(a.s.cssText,b));a.cssText=c};n.prototype.H=function(a,b){var c=a.cssText,d=a.cssText;null==a.ya&&(a.ya=Bd.test(c));if(a.ya)if(null==a.aa){a.aa=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.aa.push(e))}else{for(e=0;e<a.aa.length;++e)d=b[a.aa[e]],c=d(c);d=c}a.cssText=d};n.prototype.ca=function(a,b){var c={},d=this,e=[];U(a,function(a){a.s||d.c(a);var f=a.A||a.parsedSelector;b&&a.s.D&&f&&Fc.call(b,f)&&(d.b(a,
|
||||
c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{D:c,key:e}};n.prototype.fa=function(a,b,c,d){b.s||this.c(b);if(b.s.D){var e=O(a);a=e.is;var e=e.U,e=a?u.f(a,e):"html",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&&(t&&!b.A&&(b.A=u.l(b,u.g,u.h(a),e)),c=b.A||e),d({eb:c,Ya:h,lb:g})}};n.prototype.ba=
|
||||
function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;U(b,function(b){e.fa(a,b,f,function(f){Fc.call(a.kb||a,f.eb)&&(f.Ya?e.b(b,c):e.b(b,d))})},null,!0);return{bb:d,Xa:c}};n.prototype.ea=function(a,b,c){var d=this,e=O(a),f=u.f(e.is,e.U),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=r.get(a).F,h=this.h(e,c);return u.b(a,e,function(a){d.I(a,b);t||jc(a)||!a.cssText||(d.H(a,h),d.l(a,g,f,c))})};n.prototype.h=function(a,b){a=a.b;var c={};if(!t&&a)for(var d=0,e=
|
||||
a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};n.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};n.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.A=a.A||a.selector;a.selector=a.A.replace(a.keyframesName,a.a)};n.prototype.l=function(a,b,c,d){a.A=a.A||a.selector;d="."+d;for(var e=a.A.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};n.prototype.o=
|
||||
function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ia(a,e)};n.prototype.B=function(a,b,c,d){b=d?d.textContent||"":this.ea(a,b,c);var e=r.get(a),f=e.a;f&&!t&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));t?e.a?(e.a.textContent=b,d=e.a):b&&(d=Ra(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Md&&-1<b.indexOf("@media")&&(d.textContent=b),kc(d,null,e.b)):b&&(d=Ra(b,c,null,
|
||||
e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};n.prototype.m=function(a,b){var c=ha(a),d=this;a.textContent=T(c,function(a){var c=a.cssText=a.parsedCssText;a.s&&a.s.cssText&&(c=c.replace(F.wa,"").replace(F.Aa,""),a.cssText=d.f(c,b))})};eb.Object.defineProperties(n.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var J=new n,ab={},na=window.customElements;if(na&&!t){var Nd=na.define;na.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+
|
||||
a+" "),e=document.head;e.insertBefore(d,(N?N.nextSibling:null)||e.firstChild);N=d;ab[a]=d;return Nd.call(na,a,b,c)}}ba.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.D[e]!==b[e])return!1}return!0};ba.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({D:b,styleElement:c,C:d});e.length>this.f&&e.shift();this.cache[a]=e};ba.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.b(e,b,c))return e}};if(!t){var Gc=new MutationObserver(mc),
|
||||
Hc=function(a){Gc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Hc(document);else{var bb=function(){Hc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(bb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){bb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else bb()})}gb=function(){mc(Gc.takeRecords())}}var ja={},pd=Promise.resolve(),
|
||||
Sa=null,oc=window.HTMLImports&&window.HTMLImports.whenReady||null,Ta,oa=null,aa=null;D.prototype.xa=function(){!this.enqueued&&aa&&(this.enqueued=!0,fb(aa))};D.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.xa())};D.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};D.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);
|
||||
if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;oa&&oa(d);c.__shadyCSSCachedStyle=d}}}return a};D.prototype.addCustomStyle=D.prototype.b;D.prototype.getStyleForCustomStyle=D.prototype.a;D.prototype.processStyles=D.prototype.c;Object.defineProperties(D.prototype,{transformCallback:{get:function(){return oa},set:function(a){oa=a}},validateCallback:{get:function(){return aa},set:function(a){var b=!1;aa||(b=!0);aa=
|
||||
a;b&&this.xa()}}});var Ic=new ba;k.prototype.H=function(){gb()};k.prototype.ba=function(a){var b=this.m[a]=(this.m[a]||0)+1;return a+"-"+b};k.prototype.Ha=function(a){return ha(a)};k.prototype.Ja=function(a){return T(a)};k.prototype.P=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.da=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||
|
||||
"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ja[b]=a;var d=this.da(a),e=this.P(a);c={is:b,extends:c,hb:d};t||u.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Qa(e);f&&v&&this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];v||(d=J.P(a._styleAst));if(!d.length||v)b=this.ca(c,a._styleAst,t?a.content:null,ab[b]),a.a=b;a.c=d}};k.prototype.ca=function(a,b,c,d){b=u.b(a,b);if(b.length)return Ra(b,a.is,c,d)};k.prototype.fa=function(a){var b=O(a),c=b.is,b=b.U,
|
||||
d=ab[c],c=ja[c],e,f;c&&(e=c._styleAst,f=c.c);return r.set(a,new r(e,d,f,0,b))};k.prototype.N=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=nd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.O=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=
|
||||
function(b){a.B(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=function(){return null},b)}};k.prototype.c=function(){this.N();this.O()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(v?this.Fa(a):(this.o(this.g,this.h),this.I(a)),this.a.enqueued=!1,this.i&&!v&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=
|
||||
O(a).is,d=r.get(a);d||(d=this.fa(a));this.j(a)||(this.i=!0);b&&(d.M=d.M||{},Object.assign(d.M,b));if(v){if(d.M){b=d.M;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ja[c])||this.j(a))&&e&&e.a&&!nc(e)){if(nc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.F),od(e);t&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.F));d.F=e._styleAst}}else this.o(a,d),d.pa&&d.pa.length&&
|
||||
this.V(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?r.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.V=function(a,b){var c=O(a).is,d=Ic.a(c,b.G,b.pa),e=d?d.styleElement:null,f=b.C;b.C=d&&d.C||this.ba(c);e=J.B(a,b.G,b.C,e);t||J.o(a,b.C,f);d||Ic.c(c,b.G,e,b.C)};k.prototype.o=function(a,b){var c=this.l(a),d=r.get(c),c=Object.create(d.G||null),e=J.ba(a,b.F);a=J.ca(d.F,a).D;Object.assign(c,e.Xa,a,e.bb);this.ea(c,b.M);J.da(c);b.G=c};k.prototype.ea=
|
||||
function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Fa=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.Ea(c)}};
|
||||
k.prototype.I=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&J.m(c,this.h.G)}};k.prototype.B=function(a){var b=this,c=ha(a);U(c,function(a){t?u.o(a):u.O(a);v&&(b.c(),b.b.transformRule(a))});v?a.textContent=T(c):this.h.F.rules.push(c)};k.prototype.Ea=function(a){if(v){var b=ha(a);this.c();this.b.transformRules(b);a.textContent=T(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;v||(c=(r.get(a)||r.get(this.l(a))).G[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?
|
||||
c.trim():""};k.prototype.Ia=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d)for(var d=d.split(/\s/),e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}c&&b.push(u.c,c);v||(c=r.get(a))&&c.C&&b.push(J.g,c.C);ia(a,b.join(" "))};k.prototype.Ga=function(a){return r.get(a)};k.prototype.flush=k.prototype.H;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=
|
||||
k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Ia;k.prototype._styleInfoForNode=k.prototype.Ga;k.prototype.transformCustomStyleForDocument=k.prototype.B;k.prototype.getStyleAst=k.prototype.Ha;k.prototype.styleAstToString=k.prototype.Ja;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return t}},nativeCss:{get:function(){return v}}});
|
||||
var G=new k,cb,db;window.ShadyCSS&&(cb=window.ShadyCSS.ApplyShim,db=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:G,prepareTemplate:function(a,b,c){G.f();G.prepareTemplate(a,b,c)},styleSubtree:function(a,b){G.f();G.styleSubtree(a,b)},styleElement:function(a){G.f();G.styleElement(a)},styleDocument:function(a){G.f();G.styleDocument(a)},getComputedStyleValue:function(a,b){return G.getComputedStyleValue(a,b)},nativeCss:v,nativeShadow:t};cb&&(window.ShadyCSS.ApplyShim=cb);db&&(window.ShadyCSS.CustomStyleInterface=
|
||||
db);(function(){function a(){requestAnimationFrame(function(){window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}function b(){a();c.removeEventListener("readystatechange",b)}var c=window.document;"loading"!==c.readyState?a():c.addEventListener("readystatechange",b)})()})();
|
||||
x(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=qb.call(this,b,d);if(l(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=l(b);d=qb.call(this,b,d);c&&a.a(b);l(this)&&a.b(b);return d});x(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ca.call(this,b);if(l(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=l(b);e=ca.call(this,b);c&&a.a(b);l(this)&&
|
||||
a.b(b);return e});x(Node.prototype,"cloneNode",function(b){b=ib.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Node.prototype,"removeChild",function(b){var c=l(b),e=sa.call(this,b);c&&a.a(b);return e});x(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=rb.call(this,b,d);if(l(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=l(b),f=rb.call(this,b,d),g=l(this);g&&a.a(d);c&&a.a(b);g&&
|
||||
a.b(b);return f});ua&&ua.get?b(Node.prototype,ua):a.v(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)sa.call(this,this.firstChild);ca.call(this,document.createTextNode(a))}})})}function Sc(a){x(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=ra.call(this,b);a.g(b);return b});
|
||||
x(Document.prototype,"importNode",function(b,c){b=Tc.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=Uc.call(this,b,c);a.g(b);return b});pb(a,Document.prototype,{Da:Vc,append:Wc})}function pb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
|
||||
Node&&l(a)});c.Da.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function Xc(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.H(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
|
||||
var e=d.constructionStack;if(!e.length)return e=ra.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===sb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=sb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=Yc.prototype;return b}()}function w(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
|
||||
[];this.i=new va(a,document)}function tb(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function va(a,b){this.b=a;this.a=b;this.J=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.J=new MutationObserver(this.f.bind(this)),this.J.observe(this.a,{childList:!0,subtree:!0}))}function y(){this.u=new Map;this.l=new Map;this.i=[];this.h=!1}function p(a,b){if(a!==ub)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
|
||||
p.prototype;a.i(b);return a}function z(a){this.root=a;this.Z="slot"}function Q(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=wa(a);a.__shady.lastChild=xa(a);vb(a);for(var b=a.__shady.childNodes=W(a),c=0,d;c<b.length&&(d=b[c]);c++)d.__shady=d.__shady||{},d.__shady.parentNode=a,d.__shady.nextSibling=b[c+1]||null,d.__shady.previousSibling=b[c-1]||null,wb(d)}}function Zc(a){var b=a&&a.J;b&&(b.Y.delete(a.Pa),b.Y.size||(a.Qa.__shady.S=null))}function $c(a,
|
||||
b){a.__shady=a.__shady||{};a.__shady.S||(a.__shady.S=new ea);a.__shady.S.Y.add(b);var c=a.__shady.S;return{Pa:b,J:c,Qa:a,takeRecords:function(){return c.takeRecords()}}}function ea(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.Y=new Set}function E(a){return"ShadyRoot"===a.Na}function R(a){a=a.getRootNode();if(E(a))return a}function ya(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 za(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)ya(a,c[d]);return a}function ad(a,b){for(var c in b)a[c]=b[c]}function xb(a){Aa.push(a);Ba.textContent=yb++}function zb(a){Ca||(Ca=!0,xb(Da));X.push(a)}function Da(){Ca=!1;for(var a=!!X.length;X.length;)X.shift()();return a}function bd(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===
|
||||
a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})}function Ab(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function Bb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ea(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++){var h;
|
||||
a:{var m;h=g;m=a;var Jc=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,l="<"+k,n=h.attributes,p=0;m=n[p];p++)l+=" "+m.name+'="'+m.value.replace(cd,Ab)+'"';l+=">";h=dd[k]?l:l+Ea(h,Jc)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&ed[m.localName]?h:h.replace(fd,Ab);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function L(a){A.currentNode=a;return A.parentNode()}function wa(a){A.currentNode=
|
||||
a;return A.firstChild()}function xa(a){A.currentNode=a;return A.lastChild()}function Cb(a){A.currentNode=a;return A.previousSibling()}function Db(a){A.currentNode=a;return A.nextSibling()}function W(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Eb(a){B.currentNode=a;return B.parentNode()}function Fb(a){B.currentNode=a;return B.firstChild()}function Gb(a){B.currentNode=a;return B.lastChild()}function Hb(a){B.currentNode=a;return B.previousSibling()}
|
||||
function Ib(a){B.currentNode=a;return B.nextSibling()}function Jb(a){var b=[];B.currentNode=a;for(a=B.firstChild();a;)b.push(a),a=B.nextSibling();return b}function Kb(a){return Ea(a,function(a){return W(a)})}function Lb(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function I(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 M(a){I(a,Mb);I(a,Fa);I(a,Ga)}function Nb(a,b,c){wb(a);c=c||null;a.__shady=a.__shady||{};b.__shady=b.__shady||{};c&&(c.__shady=c.__shady||{});a.__shady.previousSibling=c?c.__shady.previousSibling:b.lastChild;var d=a.__shady.previousSibling;d&&d.__shady&&(d.__shady.nextSibling=a);(d=a.__shady.nextSibling=c)&&d.__shady&&(d.__shady.previousSibling=a);a.__shady.parentNode=b;c?c===b.__shady.firstChild&&(b.__shady.firstChild=a):(b.__shady.lastChild=
|
||||
a,b.__shady.firstChild||(b.__shady.firstChild=a));b.__shady.childNodes=null}function Ob(a){var b=a.__shady&&a.__shady.parentNode,c,d=R(a);if(b||d){c=Pb(a);if(b){a.__shady=a.__shady||{};b.__shady=b.__shady||{};a===b.__shady.firstChild&&(b.__shady.firstChild=a.__shady.nextSibling);a===b.__shady.lastChild&&(b.__shady.lastChild=a.__shady.previousSibling);var e=a.__shady.previousSibling,f=a.__shady.nextSibling;e&&(e.__shady=e.__shady||{},e.__shady.nextSibling=f);f&&(f.__shady=f.__shady||{},f.__shady.previousSibling=
|
||||
e);a.__shady.parentNode=a.__shady.previousSibling=a.__shady.nextSibling=void 0;void 0!==b.__shady.childNodes&&(b.__shady.childNodes=null)}if(e=d){for(var g,e=d.la(),f=0;f<e.length;f++){var h=e[f],m;a:{for(m=h;m;){if(m==a){m=!0;break a}m=m.parentNode}m=void 0}if(m)for(h=h.assignedNodes({flatten:!0}),m=0;m<h.length;m++){g=!0;var k=h[m],l=L(k);l&&S.call(l,k)}}e=g}b=b&&d&&b.localName===d.s.Z;if(e||b)d.W=!1,fa(d)}Ha(a);return c}function Ia(a,b,c){if(a=a.__shady&&a.__shady.S)b&&a.addedNodes.push(b),c&&
|
||||
a.removedNodes.push(c),a.eb()}function Ja(a){if(a&&a.nodeType){a.__shady=a.__shady||{};var b=a.__shady.ra;void 0===b&&(E(a)?b=a:b=(b=a.parentNode)?Ja(b):a,document.documentElement.contains(a)&&(a.__shady.ra=b));return b}}function Qb(a,b,c){var d,e=c.s.Z;if(a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||a.__noInsertionPoint)a.localName===e&&(Q(b),Q(a),d=!0);else for(var e=a.querySelectorAll(e),f=0,g,h;f<e.length&&(g=e[f]);f++)h=g.parentNode,h===a&&(h=b),h=Qb(g,h,c),d=d||h;return d}function Rb(a){return(a=
|
||||
a&&a.__shady&&a.__shady.root)&&a.oa()}function Ha(a){if(a.__shady&&void 0!==a.__shady.ra)for(var b=a.childNodes,c=0,d=b.length,e;c<d&&(e=b[c]);c++)Ha(e);a.__shady=a.__shady||{};a.__shady.ra=void 0}function Pb(a){a=a.parentNode;if(Rb(a))return fa(a.__shady.root),!0}function fa(a){a.ka=!0;a.update()}function Sb(a,b){"slot"===b?Pb(a):"slot"===a.localName&&"name"===b&&(a=R(a))&&a.update()}function Tb(a,b,c){var d=[];Ub(a.childNodes,b,c,d);return d}function Ub(a,b,c,d){for(var e=0,f=a.length,g;e<f&&(g=
|
||||
a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var m=b,k=c,l=d,n=m(h);n&&l.push(h);k&&k(n)?h=n:(Ub(h.childNodes,m,k,l),h=void 0)}if(h)break}}function Vb(a){a=a.getRootNode();E(a)&&a.Ea()}function Wb(a,b,c){if(c){var d=c.__shady&&c.__shady.parentNode;if(void 0!==d&&d!==a||void 0===d&&L(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.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&
|
||||
((d=b.__shady&&b.__shady.parentNode)?(Ia(d,null,b),Ob(b)):(b.parentNode&&S.call(b.parentNode,b),Ha(b)));var d=c,e=R(a),f;e&&(b.__noInsertionPoint&&!e.ka&&(e.W=!0),f=Qb(b,a,e))&&(e.W=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(vb(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Nb(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
|
||||
b.__shady.lastChild=g;b.__shady.childNodes=g}else Nb(b,a,d);var g=f,h=e&&e.s.Z||"",m=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=m&&m.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((m=m||b.localName===h)||a.localName===h||g)&&e&&fa(e);(e=Rb(a))&&fa(a.__shady&&a.__shady.root);if(!(e||m&&!f||a.__shady.root||d&&E(d.parentNode)&&d.parentNode.K)){if(c&&(d=R(c))){var k;if(c.localName===d.s.Z)a:{d=c.assignedNodes({flatten:!0});e=Ja(c);f=0;for(g=d.length;f<
|
||||
g&&(k=d[f]);f++)if(e.$(c,k))break a;k=void 0}else k=c;c=k}k=E(a)?a.host:a;c?Ka.call(k,b,c):Xb.call(k,b)}Ia(a,b);return b}function Yb(a,b){if(a.ownerDocument!==document)return La.call(document,a,b);var c=La.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}function Ma(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 Zb(a,b){if(!E)return a;a=Ma(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Na(a){function b(b,d){b=new a(b,d);b.ha=d&&!!d.composed;return b}ad(b,a);b.prototype=a.prototype;return b}function $b(a,b,c){if(c=b.o&&b.o[a.type]&&b.o[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.La);d++);}function gd(a){var b=a.composedPath(),
|
||||
c;Object.defineProperty(a,"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],$b(a,c,"capture"),a.ia)return;Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if($b(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.ia)break}function ac(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],m=h.type,k=h.capture,l=h.once,n=h.passive;if(b===h.node&&c===m&&d===
|
||||
k&&e===l&&f===n)return g}return-1}function hd(){for(var a in Oa)window.addEventListener(a,function(a){a.__target||(bc(a),gd(a))},!0)}function bc(a){a.__target=a.target;a.ua=a.relatedTarget;if(C.R){var b=cc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.jb=c;ya(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else ya(a,cc)}function Y(a,b){return{index:a,T:[],X:b}}function id(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==
|
||||
c[g])break a;g=m}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,l=0;l<m-g&&jd(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=Y(e,0);f<d;)b.T.push(c[f++]);return[b]}if(f==d)return[Y(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];
|
||||
for(a=[];0<m||0<g;)m?g?(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l)):(a.push(3),m--):(a.push(2),g--);a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=Y(e,0));b.X++;e++;b.T.push(c[f]);f++;break;case 2:b||(b=Y(e,0));b.X++;e++;break;case 3:b||(b=Y(e,0)),b.T.push(c[f]),f++}b&&m.push(b);return m}function jd(a,b){return a===b}function dc(a){Vb(a);
|
||||
return a.__shady&&a.__shady.assignedSlot||null}function N(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}}function kd(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;N(window.Node.prototype,ld);N(window.Text.prototype,md);N(window.DocumentFragment.prototype,Pa);N(window.Element.prototype,ec);N(window.Document.prototype,fc);window.HTMLSlotElement&&
|
||||
N(window.HTMLSlotElement.prototype,gc);N(a.prototype,nd);C.R&&(M(window.Node.prototype),M(window.Text.prototype),M(window.DocumentFragment.prototype),M(window.Element.prototype),M(a.prototype),M(window.Document.prototype),window.HTMLSlotElement&&M(window.HTMLSlotElement.prototype))}function hc(a){var b=od.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function l(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 Qa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function K(a,b,c){c=c?c:new Set;for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)K(d,b,c);d=Qa(a,e);continue}else if("template"===
|
||||
f){d=Qa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)K(e,b,c)}d=d.firstChild?d.firstChild:Qa(a,d)}}function x(a,b,c){a[b]=c}function Ra(a){a=a.replace(F.Va,"").replace(F.port,"");var b=ic,c=a,d=new oa;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 oa;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 ic(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=pd(c),c=c.replace(F.Ca," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(F.$a)&&(a.type=H.ga,a.keyframesName=a.selector.split(F.Ca).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.sa);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)ic(f,b);
|
||||
return a}function pd(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 jc(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=jc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(F.xa,"").replace(F.Ba,""),b=b.replace(F.ab,"").replace(F.gb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+
|
||||
" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function kc(a){a&&(v=v&&!a.nativeCss&&!a.shimcssproperties,t=t&&!a.nativeShadow&&!a.shimshadow)}function T(a,b){if(!a)return"";"string"===typeof a&&(a=Ra(a));b&&U(a,b);return jc(a,v)}function ga(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ra(a.textContent));return a.__cssRules||null}function lc(a){return!!a.parent&&a.parent.type===H.ga}function U(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=a.selector.match(qd);g&&(window.matchMedia(g[1]).matches||
|
||||
(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.ga?c(a):f===H.sa&&(e=!0);if((a=a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)U(h,b,c,d)}}function Sa(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;mc(e,c,d);return e}function mc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);O?a.compareDocumentPosition(O)===Node.DOCUMENT_POSITION_PRECEDING&&(O=a):O=a}function nc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;
|
||||
a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=nc(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 ha(a,b){t?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function P(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);
|
||||
return{is:b,U:c}}function oc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&
|
||||
(f=f.host)&&(f=P(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function rd(a){if(a=ia[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function pc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function sd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,td.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function fb(a){requestAnimationFrame(function(){qc?
|
||||
qc(a):(Ta||(Ta=new Promise(function(a){Ua=a}),"complete"===document.readyState?Ua():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&Ua()})),Ta.then(function(){a&&a()}))})}var C=window.ShadyDOM||{};C.Xa=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Va=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.R=!!(Va&&Va.configurable&&Va.get);C.Aa=C.force||!C.Xa;var V=Element.prototype,rc=V.matches||V.matchesSelector||V.mozMatchesSelector||
|
||||
V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector,Ba=document.createTextNode(""),yb=0,Aa=[];(new MutationObserver(function(){for(;Aa.length;)try{Aa.shift()()}catch(a){throw Ba.textContent=yb++,a;}})).observe(Ba,{characterData:!0});var X=[],Ca;Da.list=X;ea.prototype.eb=function(){var a=this;this.a||(this.a=!0,xb(function(){a.b()}))};ea.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.Y.forEach(function(b){b(a)})}};ea.prototype.takeRecords=function(){if(this.addedNodes.length||
|
||||
this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var Xb=Element.prototype.appendChild,Ka=Element.prototype.insertBefore,S=Element.prototype.removeChild,sc=Element.prototype.setAttribute,tc=Element.prototype.removeAttribute,Wa=Element.prototype.cloneNode,La=Document.prototype.importNode,uc=Element.prototype.addEventListener,vc=Element.prototype.removeEventListener,ud=Object.freeze({appendChild:Xb,
|
||||
insertBefore:Ka,removeChild:S,setAttribute:sc,removeAttribute:tc,cloneNode:Wa,importNode:La,addEventListener:uc,removeEventListener:vc}),cd=/[&\u00A0"]/g,fd=/[&\u00A0<>]/g,dd=Bb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ed=Bb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),B=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),vd=Object.freeze({parentNode:L,
|
||||
firstChild:wa,lastChild:xa,previousSibling:Cb,nextSibling:Db,childNodes:W,parentElement:Eb,firstElementChild:Fb,lastElementChild:Gb,previousElementSibling:Hb,nextElementSibling:Ib,children:Jb,innerHTML:Kb,textContent:Lb}),Xa=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ja=document.implementation.createHTMLDocument("inert").createElement("div"),Ya=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),
|
||||
Mb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentElement;return void 0!==a?a:Eb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:L(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Db(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Cb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||
|
||||
""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Ib(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Hb(this)},configurable:!0}},Fa=
|
||||
{childNodes:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var a=this.firstChild;a;a=a.nextSibling)this.__shady.childNodes.push(a)}return this.__shady.childNodes}return W(this)},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:wa(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:xa(this)},configurable:!0},
|
||||
textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){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 Lb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var a=
|
||||
this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Fb(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Gb(this)},configurable:!0},children:{get:function(){return this.__shady&&void 0!==this.__shady.firstChild?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):Jb(this)},
|
||||
configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ea(a):Kb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(Xa&&Xa.set?Xa.set.call(ja,a):ja.innerHTML=a;ja.firstChild;)b.appendChild(ja.firstChild)},configurable:!0}},wc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||
|
||||
{};this.__shady.root=a},configurable:!0}},Ga={activeElement:{get:function(){var a;a=Ya&&Ya.get?Ya.get.call(document):C.R?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=R(a);b&&b!==this;)a=b.host,b=R(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},wb=C.R?function(){}:function(a){a.__shady&&a.__shady.Oa||(a.__shady=a.__shady||{},a.__shady.Oa=!0,I(a,Mb,
|
||||
!0))},vb=C.R?function(){}:function(a){a.__shady&&a.__shady.Ma||(a.__shady=a.__shady||{},a.__shady.Ma=!0,I(a,Fa,!0),I(a,wc,!0))},ka=null,wd={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},cc={get composed(){!1!==this.isTrusted&&void 0===this.ha&&(this.ha=wd[this.type]);return this.ha||!1},composedPath:function(){this.ta||(this.ta=Ma(this.__target,this.composed));return this.ta},get target(){return Zb(this.currentTarget,this.composedPath())},
|
||||
get relatedTarget(){if(!this.ua)return null;this.va||(this.va=Ma(this.ua,!0));return Zb(this.currentTarget,this.va)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ia=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ia=this.La=!0}},Oa={focus:!0,blur:!0},xd=Na(window.Event),yd=Na(window.CustomEvent),zd=Na(window.MouseEvent),Ad="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,
|
||||
!!b.bubbles,!!b.cancelable);return c};z.prototype.Wa=function(){return this.root.querySelectorAll("slot")};z.prototype.pa=function(a){return a.localName&&"slot"==a.localName};z.prototype.na=function(){return this.root.oa()?this.g(this.c()):[]};z.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};z.prototype.g=function(a){for(var b=[],c=this.root.la(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&
|
||||
g.oa()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=L(d))&&S.call(e,d);return b};z.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.wa(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.ma!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.ma!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.ma=null;a.__shady.assignedNodes.length<
|
||||
c.length&&(d=!0)}this.i(a);d&&this.a(a)};z.prototype.wa=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.ma=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};z.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};z.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};z.prototype.i=function(a){var b=
|
||||
a.__shady.assignedNodes;a.__shady.L=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.pa(d)){var e=d.__shady.L;if(e)for(var f=0;f<e.length;f++)a.__shady.L.push(e[f])}else a.__shady.L.push(b[c])};z.prototype.a=function(a){a.dispatchEvent(new Ad("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};z.prototype.$=function(a){return!a.__shady.assignedSlot};var ub={};p.prototype=Object.create(DocumentFragment.prototype);p.prototype.i=function(a){this.Na="ShadyRoot";Q(a);Q(this);a.shadowRoot=
|
||||
this;this.host=a;this.ka=this.K=!1;this.s=new z(this);this.update()};p.prototype.update=function(){var a=this;this.K||(this.K=!0,zb(function(){return a.Ea()}))};p.prototype.h=function(){for(var a=this,b=this;b;)b.K&&(a=b),b=b.Ra();return a};p.prototype.Ra=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.s.pa(d))return a};p.prototype.Ea=function(){this.K&&this.h()._render()};p.prototype._render=function(){this.ka=this.K=!1;this.W||
|
||||
this.f();this.W=!1;this.na();this.j()};p.prototype.na=function(){for(var a=this.s.na(),b=0;b<a.length;b++)a[b]._render()};p.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.s.wa(c);a=this.a=this.s.Wa();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},Q(c),Q(c.parentNode)};p.prototype.j=function(){this.g()};p.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.la(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,
|
||||
e!==this.host&&e!==this&&this.c(e,this.b(e))};p.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.s.pa(d))for(var e=d.__shady.L||(d.__shady.L=[]),f=0;f<e.length;f++){var g=e[f];this.$(d,g)&&b.push(g)}else b.push(d)}return b};p.prototype.$=function(a,b){return this.s.$(a,b)};p.prototype.c=function(a,b){for(var c=W(a),d=id(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.T.length&&(k=g.T[h]);h++)L(k)===
|
||||
a&&S.call(a,k),c.splice(g.index+f,1);f-=g.X}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.X;h++)k=b[h],Ka.call(a,k,f),c.splice(h,0,k)};p.prototype.oa=function(){return!(!this.a||!this.a.length)};p.prototype.la=function(){this.a||this.f();return this.a};p.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ja=this;this.host.addEventListener(a,b,c)};p.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ja=this;
|
||||
this.host.removeEventListener(a,b,c)};(function(a){I(a,Fa,!0);I(a,Ga,!0)})(p.prototype);var ld={addEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ja||this;if(b.C){if(-1<ac(b.C,g,a,d,e,f))return}else b.C=[];var h=function(d){e&&this.removeEventListener(a,b,c);d.__target||bc(d);var f;g!==this&&(f=Object.getOwnPropertyDescriptor(d,"currentTarget"),Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0}));
|
||||
if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h=b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.C.push({node:this,type:a,capture:d,once:e,passive:f,hb:h});Oa[a]?(this.o=this.o||{},this.o[a]=this.o[a]||{capture:[],bubble:[]},this.o[a][d?"capture":"bubble"].push(h)):
|
||||
uc.call(this,a,h,c)}},removeEventListener:function(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ja||this,h=void 0;b.C&&(e=ac(b.C,g,a,d,e,f),-1<e&&(h=b.C.splice(e,1)[0].hb,b.C.length||(b.C=void 0)));vc.call(this,a,h||b,c);h&&Oa[a]&&this.o&&this.o[a]&&(a=this.o[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}},appendChild:function(a){return Wb(this,a)},insertBefore:function(a,b){return Wb(this,a,b)},removeChild:function(a){if(a.parentNode!==
|
||||
this)throw Error("The node to be removed is not a child of this node: "+a);if(!Ob(a)){var b=E(this)?this.host:this,c=L(a);b===c&&S.call(b,a)}Ia(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=Wa.call(this,a);else if(b=Wa.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Ja(this)},get isConnected(){var a=
|
||||
this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof p?a.host:void 0);return!!(a&&a instanceof Document)}},md={get assignedSlot(){return dc(this)}},Pa={querySelector:function(a){return Tb(this,function(b){return rc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return Tb(this,function(b){return rc.call(b,a)})}},gc={assignedNodes:function(a){if("slot"===
|
||||
this.localName)return Vb(this),this.__shady?(a&&a.flatten?this.__shady.L:this.__shady.assignedNodes)||[]:[]}},ec=za({setAttribute:function(a,b){ka||(ka=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ka&&"class"===a?ka.setElementClass(this,b):(sc.call(this,a,b),Sb(this,a))},removeAttribute:function(a){tc.call(this,a);Sb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new p(ub,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",
|
||||
a)},get assignedSlot(){return dc(this)}},Pa,gc);Object.defineProperties(ec,wc);var fc=za({importNode:function(a,b){return Yb(a,b)}},Pa);Object.defineProperties(fc,{_activeElement:Ga.activeElement});var Bd=HTMLElement.prototype.blur,nd=za({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?a.blur():Bd.call(this)}});C.Aa&&(window.ShadyDOM={inUse:C.Aa,patch:function(a){return a},isShadyRoot:E,enqueue:zb,flush:Da,settings:C,filterMutations:bd,observeChildren:$c,unobserveChildren:Zc,nativeMethods:ud,
|
||||
nativeTree:vd},window.Event=xd,window.CustomEvent=yd,window.MouseEvent=zd,hd(),kd(),window.ShadowRoot=p);var od=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));y.prototype.I=function(a,b){this.u.set(a,b);this.l.set(b.constructor,b)};y.prototype.f=function(a){return this.u.get(a)};y.prototype.H=function(a){return this.l.get(a)};y.prototype.v=function(a){this.h=!0;this.i.push(a)};y.prototype.j=function(a){var b=this;
|
||||
this.h&&K(a,function(a){return b.g(a)})};y.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};y.prototype.b=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.A(c)}};y.prototype.a=function(a){var b=[];K(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};y.prototype.c=function(a,b){b=
|
||||
b?b:new Set;var c=this,d=[];K(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.A(d[a])};y.prototype.A=
|
||||
function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}l(a)&&
|
||||
this.connectedCallback(a)}}};y.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};y.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};y.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,c,d,e)};va.prototype.c=function(){this.J&&this.J.disconnect()};
|
||||
va.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};tb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};w.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!hc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");
|
||||
if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=l[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},l=b.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=
|
||||
k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(Rd){return}finally{this.f=!1}this.a.I(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};w.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};w.prototype.get=
|
||||
function(a){if(a=this.a.f(a))return a.constructor};w.prototype.whenDefined=function(a){if(!hc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new tb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};w.prototype.l=function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.define;w.prototype.get=w.prototype.get;
|
||||
w.prototype.whenDefined=w.prototype.whenDefined;w.prototype.polyfillWrapFlushCallback=w.prototype.l;var ra=window.Document.prototype.createElement,Uc=window.Document.prototype.createElementNS,Tc=window.Document.prototype.importNode,Vc=window.Document.prototype.prepend,Wc=window.Document.prototype.append,ib=window.Node.prototype.cloneNode,ca=window.Node.prototype.appendChild,qb=window.Node.prototype.insertBefore,sa=window.Node.prototype.removeChild,rb=window.Node.prototype.replaceChild,ua=Object.getOwnPropertyDescriptor(window.Node.prototype,
|
||||
"textContent"),hb=window.Element.prototype.attachShadow,pa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),ta=window.Element.prototype.getAttribute,jb=window.Element.prototype.setAttribute,lb=window.Element.prototype.removeAttribute,da=window.Element.prototype.getAttributeNS,kb=window.Element.prototype.setAttributeNS,mb=window.Element.prototype.removeAttributeNS,ob=window.Element.prototype.insertAdjacentElement,Kc=window.Element.prototype.prepend,Lc=window.Element.prototype.append,
|
||||
Nc=window.Element.prototype.before,Oc=window.Element.prototype.after,Pc=window.Element.prototype.replaceWith,Qc=window.Element.prototype.remove,Yc=window.HTMLElement,qa=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),nb=window.HTMLElement.prototype.insertAdjacentElement,sb=new function(){},la=window.customElements;if(!la||la.forcePolyfill||"function"!=typeof la.define||"function"!=typeof la.get){var Z=new y;Xc(Z);Sc(Z);Rc(Z);Ic(Z);document.__CE_hasRegistry=!0;var Cd=new w(Z);
|
||||
Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Cd})}var H={STYLE_RULE:1,ga:7,MEDIA_RULE:4,sa:1E3},F={Va:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,xa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ba:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,ab:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,gb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,$a:/^@[^\s]*keyframes/,Ca:/\s+/g},t=!(window.ShadyDOM&&window.ShadyDOM.inUse),v=!navigator.userAgent.match("AppleWebKit/601")&&
|
||||
window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?kc(window.ShadyCSS):window.WebComponents&&kc(window.WebComponents.flags);var xc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,yc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Dd=/(--[\w-]+)\s*([:,;)]|$)/gi,Ed=/(animation\s*:)|(animation-name\s*:)/,qd=/@media[^(]*(\([^)]*\))/,Fd=/\{[^}]*\}/g,O=null;q.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};q.prototype.i=
|
||||
function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.A(a,b,c);if(a="template"===a.localName?(a.content||a.kb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};q.prototype.A=function(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Gd);c?d&&(b=d.replace("style-scope","").replace(b,""),ha(a,b)):ha(a,(d?d+" ":"")+"style-scope "+b)}};q.prototype.b=
|
||||
function(a,b,c){var d=a.__cssBuild;t||"shady"===d?b=T(b,c):(a=P(a),b=this.N(b,a.is,a.U,c)+"\n\n");return b.trim()};q.prototype.N=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return T(a,function(a){a.c||(f.P(a,b,e),a.c=!0);d&&d(a,b,e)})};q.prototype.h=function(a){return a?Hd+a:""};q.prototype.f=function(a,b){return b?"[is="+a+"]":a};q.prototype.P=function(a,b,c){this.j(a,this.g,b,c)};q.prototype.j=function(a,b,c,d){a.selector=a.w=this.l(a,b,c,d)};q.prototype.l=function(a,b,c,d){var e=
|
||||
a.selector.split(zc);if(!lc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(zc)};q.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Id,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Jd,Za+" $1");return a=a.replace(Kd,function(a,g,h){e||(a=d.H(h,g,b,c),e=e||a.stop,g=a.Ua,h=a.value);return g+h})};q.prototype.H=function(a,b,c,d){var e=a.indexOf($a);0<=a.indexOf(Za)?a=this.V(a,d):0!==e&&(a=c?this.u(a,c):a);c=!1;0<=e&&(b="",
|
||||
c=!0);var f;c&&(f=!0,c&&(a=a.replace(Ld,function(a,b){return" > "+b})));a=a.replace(Md,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,Ua:b,stop:f}};q.prototype.u=function(a,b){a=a.split(Ac);a[0]+=b;return a.join(Ac)};q.prototype.V=function(a,b){var c=a.match(Bc);return(c=c&&c[2].trim()||"")?c[0].match(Cc)?a.replace(Bc,function(a,c,f){return b+f}):c.split(Cc)[0]===b?c:Nd:a.replace(Za,b)};q.prototype.O=function(a){a.selector=a.parsedSelector;this.v(a);this.j(a,this.I)};
|
||||
q.prototype.v=function(a){a.selector===Od&&(a.selector="html")};q.prototype.I=function(a){return a.match($a)?this.g(a,Dc):this.u(a.trim(),Dc)};eb.Object.defineProperties(q.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Id=/:(nth[-\w]+)\(([^)]+)\)/,Dc=":not(.style-scope)",zc=",",Kd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Cc=/[[.:#*]/,Za=":host",Od=":root",$a="::slotted",Jd=new RegExp("^("+$a+")"),Bc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Ld=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,
|
||||
Md=/(.*):dir\((?:(ltr|rtl))\)/,Hd=".",Ac=":",Gd="class",Nd="should_not_match",u=new q;r.get=function(a){return a?a.__styleInfo:null};r.set=function(a,b){return a.__styleInfo=b};r.prototype.c=function(){return this.F};r.prototype._getStyleRules=r.prototype.c;var Ec=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Pd=navigator.userAgent.match("Trident");n.prototype.P=function(a){var b=this,
|
||||
c={},d=[],e=0;U(a,function(a){b.c(a);a.index=e++;b.O(a.m.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};n.prototype.c=function(a){if(!a.m){var b={},c={};this.b(a,c)&&(b.D=c,a.rules=null);b.cssText=this.N(a);a.m=b}};n.prototype.b=function(a,b){var c=a.m;if(c){if(c.D)return Object.assign(b,c.D),!0}else{for(var c=a.parsedCssText,d;a=xc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};n.prototype.N=function(a){return this.V(a.parsedCssText)};
|
||||
n.prototype.V=function(a){return a.replace(Fd,"").replace(xc,"")};n.prototype.O=function(a,b){for(var c;c=Dd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};n.prototype.da=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};n.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=nc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+
|
||||
g})}return a&&a.trim()||""};n.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){yc.lastIndex=0;if(e=yc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};n.prototype.I=function(a,b){var c="";a.m||this.c(a);a.m.cssText&&(c=this.f(a.m.cssText,b));a.cssText=c};n.prototype.H=function(a,b){var c=a.cssText,d=a.cssText;
|
||||
null==a.za&&(a.za=Ed.test(c));if(a.za)if(null==a.aa){a.aa=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.aa.push(e))}else{for(e=0;e<a.aa.length;++e)d=b[a.aa[e]],c=d(c);d=c}a.cssText=d};n.prototype.ca=function(a,b){var c={},d=this,e=[];U(a,function(a){a.m||d.c(a);var f=a.w||a.parsedSelector;b&&a.m.D&&f&&Ec.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{D:c,key:e}};n.prototype.fa=function(a,b,c,d){b.m||this.c(b);if(b.m.D){var e=P(a);a=e.is;var e=e.U,e=a?u.f(a,
|
||||
e):"html",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&&(t&&!b.w&&(b.w=u.l(b,u.g,u.h(a),e)),c=b.w||e),d({fb:c,Za:h,mb:g})}};n.prototype.ba=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;U(b,function(b){e.fa(a,b,f,function(f){Ec.call(a.lb||a,f.fb)&&(f.Za?e.b(b,c):e.b(b,d))})},null,!0);return{cb:d,Ya:c}};n.prototype.ea=
|
||||
function(a,b,c){var d=this,e=P(a),f=u.f(e.is,e.U),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=r.get(a).F,h=this.h(e,c);return u.b(a,e,function(a){d.I(a,b);t||lc(a)||!a.cssText||(d.H(a,h),d.l(a,g,f,c))})};n.prototype.h=function(a,b){a=a.b;var c={};if(!t&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};n.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};n.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,
|
||||
"g");a.a=a.keyframesName+"-"+b;a.w=a.w||a.selector;a.selector=a.w.replace(a.keyframesName,a.a)};n.prototype.l=function(a,b,c,d){a.w=a.w||a.selector;d="."+d;for(var e=a.w.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};n.prototype.v=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ha(a,e)};n.prototype.A=function(a,b,c,d){b=d?d.textContent||
|
||||
"":this.ea(a,b,c);var e=r.get(a),f=e.a;f&&!t&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));t?e.a?(e.a.textContent=b,d=e.a):b&&(d=Sa(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Pd&&-1<b.indexOf("@media")&&(d.textContent=b),mc(d,null,e.b)):b&&(d=Sa(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};n.prototype.u=function(a,b){var c=ga(a),d=this;a.textContent=T(c,function(a){var c=a.cssText=a.parsedCssText;a.m&&a.m.cssText&&(c=c.replace(F.xa,
|
||||
"").replace(F.Ba,""),a.cssText=d.f(c,b))})};eb.Object.defineProperties(n.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var J=new n,ab={},ma=window.customElements;if(ma&&!t){var Qd=ma.define;ma.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(O?O.nextSibling:null)||e.firstChild);O=d;ab[a]=d;return Qd.call(ma,a,b,c)}}ba.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.D[e]!==
|
||||
b[e])return!1}return!0};ba.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({D:b,styleElement:c,B:d});e.length>this.f&&e.shift();this.cache[a]=e};ba.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.b(e,b,c))return e}};if(!t){var Fc=new MutationObserver(oc),Gc=function(a){Fc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Gc(document);else{var bb=function(){Gc(document.body)};
|
||||
window.HTMLImports?window.HTMLImports.whenReady(bb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){bb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else bb()})}gb=function(){oc(Fc.takeRecords())}}var ia={},td=Promise.resolve(),Ta=null,qc=window.HTMLImports&&window.HTMLImports.whenReady||null,Ua,na=null,aa=null;D.prototype.ya=function(){!this.enqueued&&aa&&(this.enqueued=!0,fb(aa))};D.prototype.b=function(a){a.__seenByShadyCSS||
|
||||
(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.ya())};D.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};D.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;na&&na(d);c.__shadyCSSCachedStyle=d}}}return a};D.prototype.addCustomStyle=
|
||||
D.prototype.b;D.prototype.getStyleForCustomStyle=D.prototype.a;D.prototype.processStyles=D.prototype.c;Object.defineProperties(D.prototype,{transformCallback:{get:function(){return na},set:function(a){na=a}},validateCallback:{get:function(){return aa},set:function(a){var b=!1;aa||(b=!0);aa=a;b&&this.ya()}}});var Hc=new ba;k.prototype.H=function(){gb()};k.prototype.ba=function(a){var b=this.u[a]=(this.u[a]||0)+1;return a+"-"+b};k.prototype.Ia=function(a){return ga(a)};k.prototype.Ka=function(a){return T(a)};
|
||||
k.prototype.P=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.da=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ia[b]=a;var d=this.da(a),e=this.P(a);c={is:b,extends:c,ib:d};t||u.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Ra(e);f&&v&&
|
||||
this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];v||(d=J.P(a._styleAst));if(!d.length||v)b=this.ca(c,a._styleAst,t?a.content:null,ab[b]),a.a=b;a.c=d}};k.prototype.ca=function(a,b,c,d){b=u.b(a,b);if(b.length)return Sa(b,a.is,c,d)};k.prototype.fa=function(a){var b=P(a),c=b.is,b=b.U,d=ab[c],c=ia[c],e,f;c&&(e=c._styleAst,f=c.c);return r.set(a,new r(e,d,f,0,b))};k.prototype.N=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=
|
||||
rd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.O=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=function(b){a.A(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=
|
||||
function(){return null},b)}};k.prototype.c=function(){this.N();this.O()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(v?this.Ga(a):(this.v(this.g,this.h),this.I(a)),this.a.enqueued=!1,this.i&&!v&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=P(a).is,d=r.get(a);d||(d=this.fa(a));this.j(a)||(this.i=!0);b&&(d.M=d.M||{},Object.assign(d.M,b));if(v){if(d.M){b=d.M;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=
|
||||
ia[c])||this.j(a))&&e&&e.a&&!pc(e)){if(pc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.F),sd(e);t&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.F));d.F=e._styleAst}}else this.v(a,d),d.qa&&d.qa.length&&this.V(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?r.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.V=function(a,b){var c=P(a).is,d=Hc.a(c,b.G,
|
||||
b.qa),e=d?d.styleElement:null,f=b.B;b.B=d&&d.B||this.ba(c);e=J.A(a,b.G,b.B,e);t||J.v(a,b.B,f);d||Hc.c(c,b.G,e,b.B)};k.prototype.v=function(a,b){var c=this.l(a),d=r.get(c),c=Object.create(d.G||null),e=J.ba(a,b.F);a=J.ca(d.F,a).D;Object.assign(c,e.Ya,a,e.cb);this.ea(c,b.M);J.da(c);b.G=c};k.prototype.ea=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&
|
||||
this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};k.prototype.Ga=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.Fa(c)}};k.prototype.I=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&J.u(c,this.h.G)}};k.prototype.A=function(a){var b=this,c=ga(a);U(c,function(a){t?u.v(a):u.O(a);v&&(b.c(),
|
||||
b.b.transformRule(a))});v?a.textContent=T(c):this.h.F.rules.push(c)};k.prototype.Fa=function(a){if(v){var b=ga(a);this.c();this.b.transformRules(b);a.textContent=T(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;v||(c=(r.get(a)||r.get(this.l(a))).G[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.Ja=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d)for(var d=d.split(/\s/),
|
||||
e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}c&&b.push(u.c,c);v||(c=r.get(a))&&c.B&&b.push(J.g,c.B);ha(a,b.join(" "))};k.prototype.Ha=function(a){return r.get(a)};k.prototype.flush=k.prototype.H;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=
|
||||
k.prototype.Ja;k.prototype._styleInfoForNode=k.prototype.Ha;k.prototype.transformCustomStyleForDocument=k.prototype.A;k.prototype.getStyleAst=k.prototype.Ia;k.prototype.styleAstToString=k.prototype.Ka;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return t}},nativeCss:{get:function(){return v}}});var G=new k,cb,db;window.ShadyCSS&&(cb=window.ShadyCSS.ApplyShim,db=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:G,prepareTemplate:function(a,
|
||||
b,c){G.f();G.prepareTemplate(a,b,c)},styleSubtree:function(a,b){G.f();G.styleSubtree(a,b)},styleElement:function(a){G.f();G.styleElement(a)},styleDocument:function(a){G.f();G.styleDocument(a)},getComputedStyleValue:function(a,b){return G.getComputedStyleValue(a,b)},nativeCss:v,nativeShadow:t};cb&&(window.ShadyCSS.ApplyShim=cb);db&&(window.ShadyCSS.CustomStyleInterface=db);(function(){function a(){requestAnimationFrame(function(){window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}
|
||||
function b(){a();c.removeEventListener("readystatechange",b)}var c=window.document;"loading"!==c.readyState?a():c.addEventListener("readystatechange",b)})()})();
|
||||
}).call(self)
|
||||
|
||||
//# sourceMappingURL=webcomponents-sd-ce.js.map
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user