Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webcomponents/webcomponentsjs

Package Overview
Dependencies
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webcomponents/webcomponentsjs - npm Package Compare versions

Comparing version 2.1.3 to 2.2.0

25

bundles/webcomponents-ce.js

@@ -12,21 +12,22 @@ /**

function p(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null}
function q(b,a,d){d=void 0===d?new Set:d;for(var c=b;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;a(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)q(c,a,d);c=p(b,e);continue}else if("template"===f){c=p(b,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)q(e,a,d)}c=c.firstChild?c.firstChild:p(b,c)}}function t(b,a,d){b[a]=d};function u(){this.a=new Map;this.f=new Map;this.c=[];this.b=!1}function ba(b,a,d){b.a.set(a,d);b.f.set(d.constructor,d)}function v(b,a){b.b=!0;b.c.push(a)}function w(b,a){b.b&&q(a,function(a){return x(b,a)})}function x(b,a){if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var d=0;d<b.c.length;d++)b.c[d](a)}}function y(b,a){var d=[];q(a,function(a){return d.push(a)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state?b.connectedCallback(c):z(b,c)}}
function q(b,a,d){d=void 0===d?new Set:d;for(var c=b;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;a(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)q(c,a,d);c=p(b,e);continue}else if("template"===f){c=p(b,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)q(e,a,d)}c=c.firstChild?c.firstChild:p(b,c)}}function t(b,a,d){b[a]=d};function u(){this.a=new Map;this.f=new Map;this.c=[];this.b=!1}function ba(b,a,d){b.a.set(a,d);b.f.set(d.constructorFunction,d)}function v(b,a){b.b=!0;b.c.push(a)}function w(b,a){b.b&&q(a,function(a){return x(b,a)})}function x(b,a){if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var d=0;d<b.c.length;d++)b.c[d](a)}}function y(b,a){var d=[];q(a,function(a){return d.push(a)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state?b.connectedCallback(c):z(b,c)}}
function A(b,a){var d=[];q(a,function(a){return d.push(a)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state&&b.disconnectedCallback(c)}}
function B(b,a,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.h||function(a){return z(b,a)},f=[];q(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var d=a.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&"complete"===d.readyState?d.__CE_documentLoadHandled=!0:a.addEventListener("load",function(){var d=a.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);B(b,d,{u:f,h:e})}})}else f.push(a)},c);if(b.b)for(a=
0;a<f.length;a++)x(b,f[a]);for(a=0;a<f.length;a++)e(f[a])}
function z(b,a){if(void 0===a.__CE_state){var d=a.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=b.a.get(a.localName)){d.constructionStack.push(a);var c=d.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop()}}catch(m){throw a.__CE_state=2,m;}a.__CE_state=1;a.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=d[c],
f=a.getAttribute(e);null!==f&&b.attributeChangedCallback(a,e,null,f,null)}l(a)&&b.connectedCallback(a)}}}u.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};u.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)};
function z(b,a){if(void 0===a.__CE_state){var d=a.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=b.a.get(a.localName)){d.constructionStack.push(a);var c=d.constructorFunction;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop()}}catch(m){throw a.__CE_state=2,m;}a.__CE_state=1;a.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=
d[c],f=a.getAttribute(e);null!==f&&b.attributeChangedCallback(a,e,null,f,null)}l(a)&&b.connectedCallback(a)}}}u.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};u.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)};
u.prototype.attributeChangedCallback=function(b,a,d,c,e){var f=b.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(a)&&f.attributeChangedCallback.call(b,a,d,c,e)};function C(b){var a=document;this.c=b;this.a=a;this.b=void 0;B(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function D(b){b.b&&b.b.disconnect()}C.prototype.f=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||D(this);for(a=0;a<b.length;a++)for(var d=b[a].addedNodes,c=0;c<d.length;c++)B(this.c,d[c])};function ca(){var b=this;this.b=this.a=void 0;this.c=new Promise(function(a){b.b=a;b.a&&a(b.a)})}function E(b){if(b.a)throw Error("Already resolved.");b.a=void 0;b.b&&b.b(void 0)};function F(b){this.c=!1;this.a=b;this.j=new Map;this.f=function(a){return a()};this.b=!1;this.i=[];this.o=new C(b)}
F.prototype.l=function(b,a){var d=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!g(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(this.a.a.get(b))throw Error("A custom element with name '"+b+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var c=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
return b},e=a.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var m=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var n=a.observedAttributes||[]}catch(r){return}finally{this.c=!1}a={localName:b,constructor:a,connectedCallback:f,disconnectedCallback:m,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:n,constructionStack:[]};ba(this.a,b,a);this.i.push(a);
this.b||(this.b=!0,this.f(function(){return da(d)}))};F.prototype.h=function(b){B(this.a,b)};function da(b){if(!1!==b.b){b.b=!1;for(var a=b.i,d=[],c=new Map,e=0;e<a.length;e++)c.set(a[e].localName,[]);B(b.a,document,{h:function(a){if(void 0===a.__CE_state){var e=a.localName,f=c.get(e);f?f.push(a):b.a.a.get(e)&&d.push(a)}}});for(e=0;e<d.length;e++)z(b.a,d[e]);for(;0<a.length;){var f=a.shift();e=f.localName;f=c.get(f.localName);for(var m=0;m<f.length;m++)z(b.a,f[m]);(e=b.j.get(e))&&E(e)}}}
F.prototype.get=function(b){if(b=this.a.a.get(b))return b.constructor};F.prototype.m=function(b){if(!g(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.j.get(b);if(a)return a.c;a=new ca;this.j.set(b,a);this.a.a.get(b)&&!this.i.some(function(a){return a.localName===b})&&E(a);return a.c};F.prototype.s=function(b){D(this.o);var a=this.f;this.f=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=F;F.prototype.define=F.prototype.l;
F.prototype.upgrade=F.prototype.h;F.prototype.get=F.prototype.get;F.prototype.whenDefined=F.prototype.m;F.prototype.polyfillWrapFlushCallback=F.prototype.s;var G=window.Document.prototype.createElement,H=window.Document.prototype.createElementNS,ea=window.Document.prototype.importNode,fa=window.Document.prototype.prepend,ha=window.Document.prototype.append,ia=window.DocumentFragment.prototype.prepend,ja=window.DocumentFragment.prototype.append,I=window.Node.prototype.cloneNode,J=window.Node.prototype.appendChild,K=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,N=Object.getOwnPropertyDescriptor(window.Node.prototype,
return b},e=a.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var m=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var n=a.observedAttributes||[]}catch(r){return}finally{this.c=!1}a={localName:b,constructorFunction:a,connectedCallback:f,disconnectedCallback:m,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:n,constructionStack:[]};ba(this.a,
b,a);this.i.push(a);this.b||(this.b=!0,this.f(function(){return da(d)}))};F.prototype.h=function(b){B(this.a,b)};
function da(b){if(!1!==b.b){b.b=!1;for(var a=b.i,d=[],c=new Map,e=0;e<a.length;e++)c.set(a[e].localName,[]);B(b.a,document,{h:function(a){if(void 0===a.__CE_state){var e=a.localName,f=c.get(e);f?f.push(a):b.a.a.get(e)&&d.push(a)}}});for(e=0;e<d.length;e++)z(b.a,d[e]);for(;0<a.length;){var f=a.shift();e=f.localName;f=c.get(f.localName);for(var m=0;m<f.length;m++)z(b.a,f[m]);(e=b.j.get(e))&&E(e)}}}F.prototype.get=function(b){if(b=this.a.a.get(b))return b.constructorFunction};
F.prototype.m=function(b){if(!g(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.j.get(b);if(a)return a.c;a=new ca;this.j.set(b,a);this.a.a.get(b)&&!this.i.some(function(a){return a.localName===b})&&E(a);return a.c};F.prototype.s=function(b){D(this.o);var a=this.f;this.f=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=F;F.prototype.define=F.prototype.l;F.prototype.upgrade=F.prototype.h;F.prototype.get=F.prototype.get;
F.prototype.whenDefined=F.prototype.m;F.prototype.polyfillWrapFlushCallback=F.prototype.s;var G=window.Document.prototype.createElement,H=window.Document.prototype.createElementNS,ea=window.Document.prototype.importNode,fa=window.Document.prototype.prepend,ha=window.Document.prototype.append,ia=window.DocumentFragment.prototype.prepend,ja=window.DocumentFragment.prototype.append,I=window.Node.prototype.cloneNode,J=window.Node.prototype.appendChild,K=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,N=Object.getOwnPropertyDescriptor(window.Node.prototype,
"textContent"),O=window.Element.prototype.attachShadow,P=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Q=window.Element.prototype.getAttribute,R=window.Element.prototype.setAttribute,S=window.Element.prototype.removeAttribute,T=window.Element.prototype.getAttributeNS,U=window.Element.prototype.setAttributeNS,ka=window.Element.prototype.removeAttributeNS,la=window.Element.prototype.insertAdjacentElement,ma=window.Element.prototype.insertAdjacentHTML,na=window.Element.prototype.prepend,
oa=window.Element.prototype.append,V=window.Element.prototype.before,pa=window.Element.prototype.after,qa=window.Element.prototype.replaceWith,ra=window.Element.prototype.remove,sa=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ta=window.HTMLElement.prototype.insertAdjacentElement,ua=window.HTMLElement.prototype.insertAdjacentHTML;var va=new function(){};function wa(){var b=X;window.HTMLElement=function(){function a(){var a=this.constructor,c=b.f.get(a);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var e=c.constructionStack;if(0===e.length)return e=G.call(document,c.localName),Object.setPrototypeOf(e,a.prototype),e.__CE_state=1,e.__CE_definition=c,x(b,e),e;c=e.length-1;var f=e[c];if(f===va)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
e[c]=va;Object.setPrototypeOf(f,a.prototype);x(b,f);return f}a.prototype=sa.prototype;Object.defineProperty(a.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:a});return a}()};function Y(b,a,d){function c(a){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],n=0;n<e.length;n++){var r=e[n];r instanceof Element&&l(r)&&f.push(r);if(r instanceof DocumentFragment)for(r=r.firstChild;r;r=r.nextSibling)c.push(r);else c.push(r)}a.apply(this,e);for(e=0;e<f.length;e++)A(b,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&y(b,f)}}void 0!==d.g&&(a.prepend=c(d.g));void 0!==d.append&&(a.append=c(d.append))};function xa(){var b=X;t(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var d=b.a.get(a);if(d)return new d.constructor}a=G.call(this,a);x(b,a);return a});t(Document.prototype,"importNode",function(a,d){a=ea.call(this,a,d);this.__CE_hasRegistry?B(b,a):w(b,a);return a});t(Document.prototype,"createElementNS",function(a,d){if(this.__CE_hasRegistry&&(null===a||"http://www.w3.org/1999/xhtml"===a)){var c=b.a.get(d);if(c)return new c.constructor}a=H.call(this,a,d);x(b,a);return a});
Y(b,Document.prototype,{g:fa,append:ha})};function ya(){function b(b,c){Object.defineProperty(b,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,b);else{var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h]}}c.set.call(this,b);if(d)for(b=0;b<d.length;b++)A(a,d[b])}}})}var a=X;t(Node.prototype,"insertBefore",function(b,c){if(b instanceof DocumentFragment){var e=Array.prototype.slice.apply(b.childNodes);
b=K.call(this,b,c);if(l(this))for(c=0;c<e.length;c++)y(a,e[c]);return b}e=l(b);c=K.call(this,b,c);e&&A(a,b);l(this)&&y(a,b);return c});t(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=J.call(this,b);if(l(this))for(var e=0;e<c.length;e++)y(a,c[e]);return b}c=l(b);e=J.call(this,b);c&&A(a,b);l(this)&&y(a,b);return e});t(Node.prototype,"cloneNode",function(b){b=I.call(this,b);this.ownerDocument.__CE_hasRegistry?B(a,b):w(a,b);
return b});t(Node.prototype,"removeChild",function(b){var c=l(b),e=L.call(this,b);c&&A(a,b);return e});t(Node.prototype,"replaceChild",function(b,c){if(b instanceof DocumentFragment){var e=Array.prototype.slice.apply(b.childNodes);b=M.call(this,b,c);if(l(this))for(A(a,c),c=0;c<e.length;c++)y(a,e[c]);return b}e=l(b);var f=M.call(this,b,c),d=l(this);d&&A(a,c);e&&A(a,b);d&&y(a,b);return f});N&&N.get?b(Node.prototype,N):v(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var b=[],a=
0;a<this.childNodes.length;a++)b.push(this.childNodes[a].textContent);return b.join("")},set:function(b){for(;this.firstChild;)L.call(this,this.firstChild);J.call(this,document.createTextNode(b))}})})};function za(b){function a(a){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var n=c[h];n instanceof Element&&l(n)&&k.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)d.push(n);else d.push(n)}a.apply(this,c);for(c=0;c<k.length;c++)A(b,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&y(b,k)}}var d=Element.prototype;void 0!==V&&(d.before=a(V));void 0!==V&&(d.after=a(pa));void 0!==qa&&
e[c]=va;Object.setPrototypeOf(f,a.prototype);x(b,f);return f}a.prototype=sa.prototype;Object.defineProperty(a.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:a});return a}()};function Y(b,a,d){function c(a){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],n=0;n<e.length;n++){var r=e[n];r instanceof Element&&l(r)&&f.push(r);if(r instanceof DocumentFragment)for(r=r.firstChild;r;r=r.nextSibling)c.push(r);else c.push(r)}a.apply(this,e);for(e=0;e<f.length;e++)A(b,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&y(b,f)}}void 0!==d.g&&(a.prepend=c(d.g));void 0!==d.append&&(a.append=c(d.append))};function xa(){var b=X;t(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var d=b.a.get(a);if(d)return new d.constructorFunction}a=G.call(this,a);x(b,a);return a});t(Document.prototype,"importNode",function(a,d){a=ea.call(this,a,!!d);this.__CE_hasRegistry?B(b,a):w(b,a);return a});t(Document.prototype,"createElementNS",function(a,d){if(this.__CE_hasRegistry&&(null===a||"http://www.w3.org/1999/xhtml"===a)){var c=b.a.get(d);if(c)return new c.constructorFunction}a=H.call(this,a,
d);x(b,a);return a});Y(b,Document.prototype,{g:fa,append:ha})};function ya(){function b(b,c){Object.defineProperty(b,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,b);else{var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h]}}c.set.call(this,b);if(d)for(b=0;b<d.length;b++)A(a,d[b])}}})}var a=X;t(Node.prototype,"insertBefore",function(b,c){if(b instanceof DocumentFragment){var e=Array.prototype.slice.apply(b.childNodes);
b=K.call(this,b,c);if(l(this))for(c=0;c<e.length;c++)y(a,e[c]);return b}e=l(b);c=K.call(this,b,c);e&&A(a,b);l(this)&&y(a,b);return c});t(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=J.call(this,b);if(l(this))for(var e=0;e<c.length;e++)y(a,c[e]);return b}c=l(b);e=J.call(this,b);c&&A(a,b);l(this)&&y(a,b);return e});t(Node.prototype,"cloneNode",function(b){b=I.call(this,!!b);this.ownerDocument.__CE_hasRegistry?B(a,b):w(a,
b);return b});t(Node.prototype,"removeChild",function(b){var c=l(b),e=L.call(this,b);c&&A(a,b);return e});t(Node.prototype,"replaceChild",function(b,c){if(b instanceof DocumentFragment){var e=Array.prototype.slice.apply(b.childNodes);b=M.call(this,b,c);if(l(this))for(A(a,c),c=0;c<e.length;c++)y(a,e[c]);return b}e=l(b);var f=M.call(this,b,c),d=l(this);d&&A(a,c);e&&A(a,b);d&&y(a,b);return f});N&&N.get?b(Node.prototype,N):v(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var b=[],
a=0;a<this.childNodes.length;a++)b.push(this.childNodes[a].textContent);return b.join("")},set:function(b){for(;this.firstChild;)L.call(this,this.firstChild);J.call(this,document.createTextNode(b))}})})};function za(b){function a(a){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var n=c[h];n instanceof Element&&l(n)&&k.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)d.push(n);else d.push(n)}a.apply(this,c);for(c=0;c<k.length;c++)A(b,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&y(b,k)}}var d=Element.prototype;void 0!==V&&(d.before=a(V));void 0!==V&&(d.after=a(pa));void 0!==qa&&
t(d,"replaceWith",function(a){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var m=[],k=0;k<c.length;k++){var h=c[k];h instanceof Element&&l(h)&&m.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)d.push(h);else d.push(h)}k=l(this);qa.apply(this,c);for(c=0;c<m.length;c++)A(b,m[c]);if(k)for(A(b,this),c=0;c<d.length;c++)m=d[c],m instanceof Element&&y(b,m)});void 0!==ra&&t(d,"remove",function(){var a=l(this);ra.call(this);a&&A(b,this)})};function Aa(){function b(a,b){Object.defineProperty(a,"innerHTML",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var d=this,e=void 0;l(this)&&(e=[],q(this,function(a){a!==d&&e.push(a)}));b.set.call(this,a);if(e)for(var f=0;f<e.length;f++){var m=e[f];1===m.__CE_state&&c.disconnectedCallback(m)}this.ownerDocument.__CE_hasRegistry?B(c,this):w(c,this);return a}})}function a(a,b){t(a,"insertAdjacentElement",function(a,d){var e=l(d);a=b.call(this,a,d);e&&A(c,d);l(a)&&y(c,d);return a})}

@@ -33,0 +34,0 @@ function d(a,b){function d(a,b){for(var d=[];a!==b;a=a.nextSibling)d.push(a);for(b=0;b<d.length;b++)B(c,d[b])}t(a,"insertAdjacentHTML",function(a,c){a=a.toLowerCase();if("beforebegin"===a){var e=this.previousSibling;b.call(this,a,c);d(e||this.parentNode.firstChild,this)}else if("afterbegin"===a)e=this.firstChild,b.call(this,a,c),d(this.firstChild,e);else if("beforeend"===a)e=this.lastChild,b.call(this,a,c),d(e||this.firstChild,null);else if("afterend"===a)e=this.nextSibling,b.call(this,a,c),d(this.nextSibling,

@@ -19,14 +19,14 @@ /**

*/
'use strict';var m,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},n="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function ba(){ba=function(){};n.Symbol||(n.Symbol=ea)}var ea=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();
function fa(){ba();var a=n.Symbol.iterator;a||(a=n.Symbol.iterator=n.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(this)}});fa=function(){}}function ha(a){var b=0;return ia(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function ia(a){fa();a={next:a};a[n.Symbol.iterator]=function(){return this};return a}function q(a){fa();ba();fa();var b=a[Symbol.iterator];return b?b.call(a):ha(a)}
function ja(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}function ka(){this.da=this.root=null;this.O=!1;this.v=this.J=this.W=this.assignedSlot=this.assignedNodes=this.A=null;this.childNodes=this.nextSibling=this.previousSibling=this.lastChild=this.firstChild=this.parentNode=this.D=void 0;this.ha=this.$=!1;this.I={}}ka.prototype.toJSON=function(){return{}};function r(a){a.U||(a.U=new ka);return a.U}function t(a){return a&&a.U};var v=window.ShadyDOM||{};v.ta=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var la=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");v.o=!!(la&&la.configurable&&la.get);v.X=v.force||!v.ta;var ma=navigator.userAgent.match("Trident"),na=navigator.userAgent.match("Edge");void 0===v.fa&&(v.fa=v.o&&(ma||na));function w(a){return(a=t(a))&&void 0!==a.firstChild}function x(a){return"ShadyRoot"===a.ma}function oa(a){a=a.getRootNode();if(x(a))return a}
var y=Element.prototype,pa=y.matches||y.matchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||y.webkitMatchesSelector;function qa(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e=void 0;d<c.length&&(e=c[d]);d++){var f=e,h=a,g=Object.getOwnPropertyDescriptor(b,f);g&&Object.defineProperty(h,f,g)}}function ra(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)qa(a,c[d]);return a}function sa(a,b){for(var c in b)a[c]=b[c]}
'use strict';var m,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},p="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function ba(){ba=function(){};p.Symbol||(p.Symbol=ea)}var ea=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();
function fa(){ba();var a=p.Symbol.iterator;a||(a=p.Symbol.iterator=p.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(this)}});fa=function(){}}function ha(a){var b=0;return ia(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function ia(a){fa();a={next:a};a[p.Symbol.iterator]=function(){return this};return a}function q(a){fa();ba();fa();var b=a[Symbol.iterator];return b?b.call(a):ha(a)}
function ja(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}function ka(){this.ba=this.root=null;this.M=!1;this.v=this.J=this.S=this.assignedSlot=this.assignedNodes=this.A=null;this.childNodes=this.nextSibling=this.previousSibling=this.lastChild=this.firstChild=this.parentNode=this.D=void 0;this.fa=this.X=!1;this.I={}}ka.prototype.toJSON=function(){return{}};function r(a){a.__shady||(a.__shady=new ka);return a.__shady}function t(a){return a&&a.__shady};var v=window.ShadyDOM||{};v.ra=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var la=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");v.o=!!(la&&la.configurable&&la.get);v.U=v.force||!v.ra;var ma=navigator.userAgent.match("Trident"),na=navigator.userAgent.match("Edge");void 0===v.da&&(v.da=v.o&&(ma||na));function w(a){return(a=t(a))&&void 0!==a.firstChild}function x(a){return"ShadyRoot"===a.ka}function oa(a){a=a.getRootNode();if(x(a))return a}
var y=Element.prototype,pa=y.matches||y.matchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||y.webkitMatchesSelector;function qa(a,b){if(a&&b)for(var c=Object.getOwnPropertyNames(b),d=0,e=void 0;d<c.length&&(e=c[d]);d++){var f=e,g=a,h=Object.getOwnPropertyDescriptor(b,f);h&&Object.defineProperty(g,f,h)}}function ra(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)qa(a,c[d]);return a}function sa(a,b){for(var c in b)a[c]=b[c]}
var ta=document.createTextNode(""),ua=0,va=[];(new MutationObserver(function(){for(;va.length;)try{va.shift()()}catch(a){throw ta.textContent=ua++,a;}})).observe(ta,{characterData:!0});function wa(a){va.push(a);ta.textContent=ua++}var xa=!!document.contains;function ya(a,b){for(;b;){if(b==a)return!0;b=b.parentNode}return!1}
function za(a){for(var b=a.length-1;0<=b;b--){var c=a[b],d=c.getAttribute("id")||c.getAttribute("name");d&&"length"!==d&&isNaN(d)&&(a[d]=c)}a.item=function(b){return a[b]};a.namedItem=function(b){if("length"!==b&&isNaN(b)&&a[b])return a[b];for(var c=q(a),d=c.next();!d.done;d=c.next())if(d=d.value,(d.getAttribute("id")||d.getAttribute("name"))==b)return d;return null};return a};var Aa=[],Ba;function Ca(a){Ba||(Ba=!0,wa(Ea));Aa.push(a)}function Ea(){Ba=!1;for(var a=!!Aa.length;Aa.length;)Aa.shift()();return a}Ea.list=Aa;function Fa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.M=new Set}function Ga(a){a.a||(a.a=!0,wa(function(){a.flush()}))}Fa.prototype.flush=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.M.forEach(function(b){b(a)})}};Fa.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};
function Ha(a,b){var c=r(a);c.A||(c.A=new Fa);c.A.M.add(b);var d=c.A;return{la:b,oa:d,na:a,takeRecords:function(){return d.takeRecords()}}}function Ia(a){var b=a&&a.oa;b&&(b.M.delete(a.la),b.M.size||(r(a.na).A=null))}
function za(a){for(var b=a.length-1;0<=b;b--){var c=a[b],d=c.getAttribute("id")||c.getAttribute("name");d&&"length"!==d&&isNaN(d)&&(a[d]=c)}a.item=function(b){return a[b]};a.namedItem=function(b){if("length"!==b&&isNaN(b)&&a[b])return a[b];for(var c=q(a),d=c.next();!d.done;d=c.next())if(d=d.value,(d.getAttribute("id")||d.getAttribute("name"))==b)return d;return null};return a};var Aa=[],Ba;function Ca(a){Ba||(Ba=!0,wa(Da));Aa.push(a)}function Da(){Ba=!1;for(var a=!!Aa.length;Aa.length;)Aa.shift()();return a}Da.list=Aa;function Ea(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.L=new Set}function Fa(a){a.a||(a.a=!0,wa(function(){a.flush()}))}Ea.prototype.flush=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.L.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[]};
function Ga(a,b){var c=r(a);c.A||(c.A=new Ea);c.A.L.add(b);var d=c.A;return{ja:b,ma:d,la:a,takeRecords:function(){return d.takeRecords()}}}function Ia(a){var b=a&&a.ma;b&&(b.L.delete(a.ja),b.L.size||(r(a.la).A=null))}
function Ja(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})};var Ka=Element.prototype.insertBefore,La=Element.prototype.replaceChild,Ma=Element.prototype.removeChild,Na=Element.prototype.setAttribute,Oa=Element.prototype.removeAttribute,Pa=Element.prototype.cloneNode,Qa=Document.prototype.importNode,Ra=Element.prototype.addEventListener,Sa=Element.prototype.removeEventListener,Ta=Window.prototype.addEventListener,Ua=Window.prototype.removeEventListener,Va=Element.prototype.dispatchEvent,Wa=Node.prototype.contains||HTMLElement.prototype.contains,Xa=Document.prototype.getElementById,
Ya=Element.prototype.querySelector,Za=DocumentFragment.prototype.querySelector,$a=Document.prototype.querySelector,ab=Element.prototype.querySelectorAll,bb=DocumentFragment.prototype.querySelectorAll,cb=Document.prototype.querySelectorAll,z={};z.appendChild=Element.prototype.appendChild;z.insertBefore=Ka;z.replaceChild=La;z.removeChild=Ma;z.setAttribute=Na;z.removeAttribute=Oa;z.cloneNode=Pa;z.importNode=Qa;z.addEventListener=Ra;z.removeEventListener=Sa;z.Ca=Ta;z.Da=Ua;z.dispatchEvent=Va;
z.contains=Wa;z.getElementById=Xa;z.Ka=Ya;z.Na=Za;z.Ia=$a;z.querySelector=function(a){switch(this.nodeType){case Node.ELEMENT_NODE:return Ya.call(this,a);case Node.DOCUMENT_NODE:return $a.call(this,a);default:return Za.call(this,a)}};z.La=ab;z.Oa=bb;z.Ja=cb;z.querySelectorAll=function(a){switch(this.nodeType){case Node.ELEMENT_NODE:return ab.call(this,a);case Node.DOCUMENT_NODE:return cb.call(this,a);default:return bb.call(this,a)}};var db=/[&\u00A0"]/g,eb=/[&\u00A0<>]/g;function fb(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function gb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var hb=gb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ib=gb("style script xmp iframe noembed noframes plaintext noscript".split(" "));
function jb(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,h=void 0;e<f&&(h=d[e]);e++){a:{var g=h;var k=a,l=b;switch(g.nodeType){case Node.ELEMENT_NODE:k=g.localName;for(var p="<"+k,u=g.attributes,ca=0,da;da=u[ca];ca++)p+=" "+da.name+'="'+da.value.replace(db,fb)+'"';p+=">";g=hb[k]?p:p+jb(g,l)+"</"+k+">";break a;case Node.TEXT_NODE:g=g.data;g=k&&ib[k.localName]?g:g.replace(eb,fb);break a;case Node.COMMENT_NODE:g="\x3c!--"+g.data+"--\x3e";break a;default:throw window.console.error(g),
Error("not implemented");}}c+=g}return c};var A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),B=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function kb(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}
Ya=Element.prototype.querySelector,Za=DocumentFragment.prototype.querySelector,$a=Document.prototype.querySelector,ab=Element.prototype.querySelectorAll,bb=DocumentFragment.prototype.querySelectorAll,cb=Document.prototype.querySelectorAll,z={};z.appendChild=Element.prototype.appendChild;z.insertBefore=Ka;z.replaceChild=La;z.removeChild=Ma;z.setAttribute=Na;z.removeAttribute=Oa;z.cloneNode=Pa;z.importNode=Qa;z.addEventListener=Ra;z.removeEventListener=Sa;z.Aa=Ta;z.Ba=Ua;z.dispatchEvent=Va;
z.contains=Wa;z.getElementById=Xa;z.Ha=Ya;z.Ka=Za;z.Fa=$a;z.querySelector=function(a){switch(this.nodeType){case Node.ELEMENT_NODE:return Ya.call(this,a);case Node.DOCUMENT_NODE:return $a.call(this,a);default:return Za.call(this,a)}};z.Ia=ab;z.La=bb;z.Ga=cb;z.querySelectorAll=function(a){switch(this.nodeType){case Node.ELEMENT_NODE:return ab.call(this,a);case Node.DOCUMENT_NODE:return cb.call(this,a);default:return bb.call(this,a)}};var db=/[&\u00A0"]/g,eb=/[&\u00A0<>]/g;function fb(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function gb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var hb=gb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ib=gb("style script xmp iframe noembed noframes plaintext noscript".split(" "));
function jb(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g=void 0;e<f&&(g=d[e]);e++){a:{var h=g;var k=a,l=b;switch(h.nodeType){case Node.ELEMENT_NODE:k=h.localName;for(var n="<"+k,u=h.attributes,ca=0,da;da=u[ca];ca++)n+=" "+da.name+'="'+da.value.replace(db,fb)+'"';n+=">";h=hb[k]?n:n+jb(h,l)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=k&&ib[k.localName]?h:h.replace(eb,fb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),
Error("not implemented");}}c+=h}return c};var A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),B=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function kb(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}
var C={parentNode:function(a){A.currentNode=a;return A.parentNode()},firstChild:function(a){A.currentNode=a;return A.firstChild()},lastChild:function(a){A.currentNode=a;return A.lastChild()},previousSibling:function(a){A.currentNode=a;return A.previousSibling()},nextSibling:function(a){A.currentNode=a;return A.nextSibling()}};C.childNodes=kb;C.parentElement=function(a){B.currentNode=a;return B.parentNode()};C.firstElementChild=function(a){B.currentNode=a;return B.firstChild()};

@@ -36,6 +36,6 @@ C.lastElementChild=function(a){B.currentNode=a;return B.lastChild()};C.previousElementSibling=function(a){B.currentNode=a;return B.previousSibling()};C.nextElementSibling=function(a){B.currentNode=a;return B.nextSibling()};C.children=function(a){var b=[];B.currentNode=a;for(a=B.firstChild();a;)b.push(a),a=B.nextSibling();return za(b)};C.innerHTML=function(a){return jb(a,function(a){return kb(a)})};

var E=lb?{parentNode:D("parentNode"),firstChild:D("firstChild"),lastChild:D("lastChild"),previousSibling:D("previousSibling"),nextSibling:D("nextSibling"),childNodes:D("childNodes"),parentElement:D("parentElement"),previousElementSibling:D("previousElementSibling"),nextElementSibling:D("nextElementSibling"),innerHTML:D("innerHTML"),textContent:D("textContent"),firstElementChild:D("firstElementChild"),lastElementChild:D("lastElementChild"),children:D("children")}:{},nb=lb?{firstElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,
"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"children")}:{},ob=lb?{firstElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(Document.prototype,"children")}:{},pb={ca:E,Ma:nb,Ha:ob,parentNode:function(a){return E.parentNode.get.call(a)},
"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"children")}:{},ob=lb?{firstElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(Document.prototype,"children")}:{},pb={aa:E,Ja:nb,Ea:ob,parentNode:function(a){return E.parentNode.get.call(a)},
firstChild:function(a){return E.firstChild.get.call(a)},lastChild:function(a){return E.lastChild.get.call(a)},previousSibling:function(a){return E.previousSibling.get.call(a)},nextSibling:function(a){return E.nextSibling.get.call(a)},childNodes:function(a){return Array.prototype.slice.call(E.childNodes.get.call(a))},parentElement:function(a){return E.parentElement.get.call(a)},previousElementSibling:function(a){return E.previousElementSibling.get.call(a)},nextElementSibling:function(a){return E.nextElementSibling.get.call(a)},
innerHTML:function(a){return E.innerHTML.get.call(a)},textContent:function(a){return E.textContent.get.call(a)},children:function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return nb.children.get.call(a);case Node.DOCUMENT_NODE:return ob.children.get.call(a);default:return E.children.get.call(a)}},firstElementChild:function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return nb.firstElementChild.get.call(a);case Node.DOCUMENT_NODE:return ob.firstElementChild.get.call(a);default:return E.firstElementChild.get.call(a)}},
lastElementChild:function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return nb.lastElementChild.get.call(a);case Node.DOCUMENT_NODE:return ob.lastElementChild.get.call(a);default:return E.lastElementChild.get.call(a)}}};var F=v.fa?pb:C;function qb(a){for(;a.firstChild;)a.removeChild(a.firstChild)}
lastElementChild:function(a){switch(a.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return nb.lastElementChild.get.call(a);case Node.DOCUMENT_NODE:return ob.lastElementChild.get.call(a);default:return E.lastElementChild.get.call(a)}}};var F=v.da?pb:C;function qb(a){for(;a.firstChild;)a.removeChild(a.firstChild)}
var rb=v.o,sb=document.implementation.createHTMLDocument("inert"),tb=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),ub=tb&&tb.get,vb=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),wb={parentElement:{get:function(){var a=t(this);(a=a&&a.parentNode)&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:F.parentElement(this)},configurable:!0},parentNode:{get:function(){var a=t(this);a=a&&a.parentNode;return void 0!==a?a:F.parentNode(this)},configurable:!0},

@@ -45,57 +45,58 @@ nextSibling:{get:function(){var a=t(this);a=a&&a.nextSibling;return void 0!==a?a:F.nextSibling(this)},configurable:!0},previousSibling:{get:function(){var a=t(this);a=a&&a.previousSibling;return void 0!==a?a:F.previousSibling(this)},configurable:!0},nextElementSibling:{get:function(){var a=t(this);if(a&&void 0!==a.nextSibling){for(a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return F.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){var a=

F.childNodes(this);c.item=function(a){return c[a]};return c},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=t(this);a=a&&a.firstChild;return void 0!==a?a:F.firstChild(this)},configurable:!0},lastChild:{get:function(){var a=t(this);a=a&&a.lastChild;return void 0!==a?a:F.lastChild(this)},configurable:!0},textContent:{get:function(){if(w(this)){for(var a=[],b=0,c=this.childNodes,d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&
a.push(d.textContent);return a.join("")}return F.textContent(this)},set:function(a){if("undefined"===typeof a||null===a)a="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!w(this)&&rb){var b=this.firstChild;(b!=this.lastChild||b&&b.nodeType!=Node.TEXT_NODE)&&qb(this);pb.ca.textContent.set.call(this,a)}else qb(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){var a=
a.push(d.textContent);return a.join("")}return F.textContent(this)},set:function(a){if("undefined"===typeof a||null===a)a="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!w(this)&&rb){var b=this.firstChild;(b!=this.lastChild||b&&b.nodeType!=Node.TEXT_NODE)&&qb(this);pb.aa.textContent.set.call(this,a)}else qb(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(a));break;default:this.nodeValue=a}},configurable:!0},firstElementChild:{get:function(){var a=
t(this);if(a&&void 0!==a.firstChild){for(a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return F.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){var a=t(this);if(a&&void 0!==a.lastChild){for(a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return F.lastElementChild(this)},configurable:!0},children:{get:function(){return w(this)?za(Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE})):
F.children(this)},configurable:!0},innerHTML:{get:function(){return w(this)?jb("template"===this.localName?this.content:this):F.innerHTML(this)},set:function(a){var b="template"===this.localName?this.content:this;qb(b);var c=this.localName||"div";c=this.namespaceURI&&this.namespaceURI!==sb.namespaceURI?sb.createElementNS(this.namespaceURI,c):sb.createElement(c);rb?pb.ca.innerHTML.set.call(c,a):c.innerHTML=a;for(a="template"===this.localName?c.content:c;a.firstChild;)b.appendChild(a.firstChild)},configurable:!0}},
zb={shadowRoot:{get:function(){var a=t(this);return a&&a.da||null},configurable:!0}},Ab={activeElement:{get:function(){var a=vb&&vb.get?vb.get.call(document):v.o?void 0:document.activeElement;if(a&&a.nodeType){var b=!!x(this);if(this===document||b&&this.host!==a&&z.contains.call(this.host,a)){for(b=oa(a);b&&b!==this;)a=b.host,b=oa(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}};
F.children(this)},configurable:!0},innerHTML:{get:function(){return w(this)?jb("template"===this.localName?this.content:this):F.innerHTML(this)},set:function(a){var b="template"===this.localName?this.content:this;qb(b);var c=this.localName||"div";c=this.namespaceURI&&this.namespaceURI!==sb.namespaceURI?sb.createElementNS(this.namespaceURI,c):sb.createElement(c);rb?pb.aa.innerHTML.set.call(c,a):c.innerHTML=a;for(a="template"===this.localName?c.content:c;a.firstChild;)b.appendChild(a.firstChild)},configurable:!0}},
zb={shadowRoot:{get:function(){var a=t(this);return a&&a.ba||null},configurable:!0}},Ab={activeElement:{get:function(){var a=vb&&vb.get?vb.get.call(document):v.o?void 0:document.activeElement;if(a&&a.nodeType){var b=!!x(this);if(this===document||b&&this.host!==a&&z.contains.call(this.host,a)){for(b=oa(a);b&&b!==this;)a=b.host,b=oa(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}};
function G(a,b,c){for(var d in b){var e=Object.getOwnPropertyDescriptor(a,d);e&&e.configurable||!e&&c?Object.defineProperty(a,d,b[d]):c&&console.warn("Could not define",d,"on",a)}}function H(a){G(a,wb);G(a,xb);G(a,yb);G(a,Ab)}
function Bb(){var a=Cb.prototype;a.__proto__=DocumentFragment.prototype;G(a,wb,!0);G(a,yb,!0);G(a,Ab,!0);Object.defineProperties(a,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}});["localName","namespaceURI","prefix"].forEach(function(b){Object.defineProperty(a,b,{value:void 0,configurable:!0})});["ownerDocument","baseURI","isConnected"].forEach(function(b){Object.defineProperty(a,b,{get:function(){return this.host[b]},
configurable:!0})})}var Db=v.o?function(){}:function(a){var b=r(a);b.$||(b.$=!0,G(a,wb,!0),G(a,xb,!0))},Eb=v.o?function(){}:function(a){r(a).ha||(G(a,yb,!0),G(a,zb,!0))};var Fb=F.childNodes;function Gb(a,b,c){Eb(b);var d=r(b);void 0!==d.firstChild&&(d.childNodes=null);if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){d=a.childNodes;for(var e=0;e<d.length;e++)Hb(d[e],b,c);a=r(a);b=void 0!==a.firstChild?null:void 0;a.firstChild=a.lastChild=b;a.childNodes=b}else Hb(a,b,c)}
configurable:!0})})}var Db=v.o?function(){}:function(a){var b=r(a);b.X||(b.X=!0,G(a,wb,!0),G(a,xb,!0))},Eb=v.o?function(){}:function(a){r(a).fa||(G(a,yb,!0),G(a,zb,!0))};var Fb=F.childNodes;function Gb(a,b,c){Eb(b);var d=r(b);void 0!==d.firstChild&&(d.childNodes=null);if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){d=a.childNodes;for(var e=0;e<d.length;e++)Hb(d[e],b,c);a=r(a);b=void 0!==a.firstChild?null:void 0;a.firstChild=a.lastChild=b;a.childNodes=b}else Hb(a,b,c)}
function Hb(a,b,c){Db(a);c=c||null;var d=r(a),e=r(b),f=c?r(c):null;d.previousSibling=c?f.previousSibling:b.lastChild;if(f=t(d.previousSibling))f.nextSibling=a;if(f=t(d.nextSibling=c))f.previousSibling=a;d.parentNode=b;c?c===e.firstChild&&(e.firstChild=a):(e.lastChild=a,e.firstChild||(e.firstChild=a));e.childNodes=null}
function Ib(a,b){var c=r(a);b=r(b);a===b.firstChild&&(b.firstChild=c.nextSibling);a===b.lastChild&&(b.lastChild=c.previousSibling);a=c.previousSibling;var d=c.nextSibling;a&&(r(a).nextSibling=d);d&&(r(d).previousSibling=a);c.parentNode=c.previousSibling=c.nextSibling=void 0;void 0!==b.childNodes&&(b.childNodes=null)}
function Jb(a){var b=r(a);if(void 0===b.firstChild){b.childNodes=null;var c=Fb(a);b.firstChild=c[0]||null;b.lastChild=c[c.length-1]||null;Eb(a);for(b=0;b<c.length;b++){var d=c[b],e=r(d);e.parentNode=a;e.nextSibling=c[b+1]||null;e.previousSibling=c[b-1]||null;Db(d)}}};var Kb=F.parentNode;
function Lb(a,b,c){if(b===a)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(c){var d=t(c);d=d&&d.parentNode;if(void 0!==d&&d!==a||void 0===d&&Kb(c)!==a)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.");}if(c===b)return b;var e=[],f=Mb,h=oa(a),g=h?h.host.localName:"";if(b.parentNode){var k=Nb(b);Ob(b.parentNode,b,!!h||!(b.getRootNode()instanceof ShadowRoot));
f=function(a,b){I()&&(Pb(a,k),Mb(a,b))}}d=!0;var l=!Qb(b,g);!h||b.__noInsertionPoint&&!l||Rb(b,function(a){"slot"===a.localName&&e.push(a);l&&f(a,g)});e.length&&Sb(h,e);("slot"===a.localName||e.length)&&h&&J(h);w(a)&&(Gb(b,a,c),h=t(a),Tb(a)?(J(h.root),d=!1):h.root&&(d=!1));d?(d=x(a)?a.host:a,c?(c=Ub(c),z.insertBefore.call(d,b,c)):z.appendChild.call(d,b)):b.ownerDocument!==a.ownerDocument&&a.ownerDocument.adoptNode(b);Vb(a,b);return b}
function Ob(a,b,c){c=void 0===c?!1:c;if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var d=oa(b),e=t(a);if(w(a)&&(Ib(b,a),Tb(a))){J(e.root);var f=!0}if(I()&&!c&&d){var h=Nb(b);Rb(b,function(a){Pb(a,h)})}Wb(b);if(d){var g=a&&"slot"===a.localName;g&&(f=!0);((c=Xb(d,b))||g)&&J(d)}f||(f=x(a)?a.host:a,(!e.root&&"slot"!==b.localName||f===Kb(b))&&z.removeChild.call(f,b));Vb(a,null,b);return b}
function Wb(a){var b=t(a);if(b&&void 0!==b.D){b=a.childNodes;for(var c=0,d=b.length,e=void 0;c<d&&(e=b[c]);c++)Wb(e)}if(a=t(a))a.D=void 0}function Ub(a){var b=a;a&&"slot"===a.localName&&(b=(b=(b=t(a))&&b.v)&&b.length?b[0]:Ub(a.nextSibling));return b}function Tb(a){return(a=(a=t(a))&&a.root)&&Yb(a)}
function Zb(a,b){if("slot"===b)a=a.parentNode,Tb(a)&&J(t(a).root);else if("slot"===a.localName&&"name"===b&&(b=oa(a))){if(b.f){$b(b);var c=a.ka,d=ac(a);if(d!==c){c=b.g[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.g[d]||(b.g[d]=[]);c.push(a);1<c.length&&(b.g[d]=bc(c))}}J(b)}}function Vb(a,b,c){if(a=(a=t(a))&&a.A)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),Ga(a)}
function cc(a){if(a&&a.nodeType){var b=r(a),c=b.D;void 0===c&&(x(a)?(c=a,b.D=c):(c=(c=a.parentNode)?cc(c):a,z.contains.call(document.documentElement,a)&&(b.D=c)));return c}}function dc(a,b,c){var d=[];ec(a.childNodes,b,c,d);return d}function ec(a,b,c,d){for(var e=0,f=a.length,h=void 0;e<f&&(h=a[e]);e++){var g;if(g=h.nodeType===Node.ELEMENT_NODE){g=h;var k=b,l=c,p=d,u=k(g);u&&p.push(g);l&&l(u)?g=u:(ec(g.childNodes,k,l,p),g=void 0)}if(g)break}}var fc=null;
function I(){fc||(fc=window.ShadyCSS&&window.ShadyCSS.ScopingShim);return fc||null}function gc(a,b,c){var d=I();d&&"class"===b?d.setElementClass(a,c):(z.setAttribute.call(a,b,c),Zb(a,b))}function hc(a,b){if(a.ownerDocument!==document||"template"===a.localName)return z.importNode.call(document,a,b);var c=z.importNode.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=hc(a[b],!0),c.appendChild(d)}return c}function Mb(a,b){var c=I();c&&c.scopeNode(a,b)}
function Pb(a,b){var c=I();c&&c.unscopeNode(a,b)}function Qb(a,b){var c=I();if(!c)return!0;if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){c=!0;for(var d=0;c&&d<a.childNodes.length;d++)c=c&&Qb(a.childNodes[d],b);return c}return a.nodeType!==Node.ELEMENT_NODE?!0:c.currentScopeForNode(a)===b}function Nb(a){if(a.nodeType!==Node.ELEMENT_NODE)return"";var b=I();return b?b.currentScopeForNode(a):""}
function Rb(a,b){if(a){a.nodeType===Node.ELEMENT_NODE&&b(a);for(var c=0,d;c<a.childNodes.length;c++)d=a.childNodes[c],d.nodeType===Node.ELEMENT_NODE&&Rb(d,b)}};var ic="__eventWrappers"+Date.now(),jc=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),kc={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,
pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},lc={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};
function mc(a,b){var c=[],d=a;for(a=a===window?window:a.getRootNode();d;)c.push(d),d=d.assignedSlot?d.assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.parentNode;c[c.length-1]===document&&c.push(window);return c}function nc(a,b){if(!x)return a;a=mc(a,!0);for(var c=0,d,e=void 0,f,h=void 0;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(h=a.indexOf(f),e=f),!x(f)||-1<h)return d}
var oc={get composed(){void 0===this.H&&(jc?this.H="focusin"===this.type||"focusout"===this.type||jc(this):!1!==this.isTrusted&&(this.H=kc[this.type]));return this.H||!1},composedPath:function(){this.Z||(this.Z=mc(this.__target,this.composed));return this.Z},get target(){return nc(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.T)return null;this.aa||(this.aa=mc(this.T,!0));return nc(this.currentTarget||this.__previousCurrentTarget,this.aa)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);
this.S=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.S=this.ga=!0}};function pc(a){function b(b,d){b=new a(b,d);b.H=d&&!!d.composed;return b}sa(b,a);b.prototype=a.prototype;return b}var qc={focus:!0,blur:!0};function rc(a){return a.__target!==a.target||a.T!==a.relatedTarget}function sc(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&(!rc(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.ga);d++);}
function tc(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];sc(a,d,"capture");if(a.S)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=t(d);f=f&&f.root;if(0===c||f&&f===e)if(sc(a,d,"bubble"),d!==window&&(e=d.getRootNode()),a.S)break}}
function uc(a,b,c,d,e,f){for(var h=0;h<a.length;h++){var g=a[h],k=g.type,l=g.capture,p=g.once,u=g.passive;if(b===g.node&&c===k&&d===l&&e===p&&f===u)return h}return-1}
function vc(a,b,c){if(b){var d=typeof b;if("function"===d||"object"===d)if("object"!==d||b.handleEvent&&"function"===typeof b.handleEvent){var e=this instanceof Window?z.Ca:z.addEventListener;if(lc[a])return e.call(this,a,b,c);if(c&&"object"===typeof c){var f=!!c.capture;var h=!!c.once;var g=!!c.passive}else f=!!c,g=h=!1;var k=c&&c.V||this,l=b[ic];if(l){if(-1<uc(l,k,a,f,h,g))return}else b[ic]=[];l=function(e){h&&this.removeEventListener(a,b,c);e.__target||wc(e);if(k!==this){var f=Object.getOwnPropertyDescriptor(e,
"currentTarget");Object.defineProperty(e,"currentTarget",{get:function(){return k},configurable:!0})}e.__previousCurrentTarget=e.currentTarget;if(!x(k)||-1!=e.composedPath().indexOf(k))if(e.composed||-1<e.composedPath().indexOf(k))if(rc(e)&&e.target===e.relatedTarget)e.eventPhase===Event.BUBBLING_PHASE&&e.stopImmediatePropagation();else if(e.eventPhase===Event.CAPTURING_PHASE||e.bubbles||e.target===k||k instanceof Window){var g="function"===d?b.call(k,e):b.handleEvent&&b.handleEvent(e);k!==this&&
(f?(Object.defineProperty(e,"currentTarget",f),f=null):delete e.currentTarget);return g}};b[ic].push({node:k,type:a,capture:f,once:h,passive:g,Ea:l});qc[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][f?"capture":"bubble"].push(l)):e.call(this,a,l,c)}}}
function xc(a,b,c){if(b){var d=this instanceof Window?z.Da:z.removeEventListener;if(lc[a])return d.call(this,a,b,c);if(c&&"object"===typeof c){var e=!!c.capture;var f=!!c.once;var h=!!c.passive}else e=!!c,h=f=!1;var g=c&&c.V||this,k=void 0;var l=null;try{l=b[ic]}catch(p){}l&&(f=uc(l,g,a,e,f,h),-1<f&&(k=l.splice(f,1)[0].Ea,l.length||(b[ic]=void 0)));d.call(this,a,k||b,c);k&&qc[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][e?"capture":"bubble"],k=a.indexOf(k),-1<k&&a.splice(k,1))}}
function yc(){for(var a in qc)window.addEventListener(a,function(a){a.__target||(wc(a),tc(a))},!0)}function wc(a){a.__target=a.target;a.T=a.relatedTarget;if(v.o){var b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__patchProto")){var c=Object.create(b);c.Fa=b;qa(c,oc);b.__patchProto=c}a.__proto__=b.__patchProto}else qa(a,oc)}var zc=pc(window.Event),Ac=pc(window.CustomEvent),Bc=pc(window.MouseEvent);
function Cc(){window.Event=zc;window.CustomEvent=Ac;window.MouseEvent=Bc;yc();if(!jc&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var a=function(){var a=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(a)};Element.prototype.click?Element.prototype.click=a:HTMLElement.prototype.click&&(HTMLElement.prototype.click=a)}};function Dc(a,b){return{index:a,F:[],L:b}}
function Ec(a,b,c,d){var e=0,f=0,h=0,g=0,k=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(h=0;h<k;h++)if(a[h]!==c[h])break a;h=k}if(b==a.length&&d==c.length){g=a.length;for(var l=c.length,p=0;p<k-h&&Fc(a[--g],c[--l]);)p++;g=p}e+=h;f+=h;b-=g;d-=g;if(0==b-e&&0==d-f)return[];if(e==b){for(b=Dc(e,0);f<d;)b.F.push(c[f++]);return[b]}if(f==d)return[Dc(e,b-e)];k=e;h=f;d=d-h+1;g=b-k+1;b=Array(d);for(l=0;l<d;l++)b[l]=Array(g),b[l][0]=l;for(l=0;l<g;l++)b[0][l]=l;for(l=1;l<d;l++)for(p=1;p<g;p++)if(a[k+p-1]===c[h+l-1])b[l][p]=
b[l-1][p-1];else{var u=b[l-1][p]+1,ca=b[l][p-1]+1;b[l][p]=u<ca?u:ca}k=b.length-1;h=b[0].length-1;d=b[k][h];for(a=[];0<k||0<h;)0==k?(a.push(2),h--):0==h?(a.push(3),k--):(g=b[k-1][h-1],l=b[k-1][h],p=b[k][h-1],u=l<p?l<g?l:g:p<g?p:g,u==g?(g==d?a.push(0):(a.push(1),d=g),k--,h--):u==l?(a.push(3),k--,d=l):(a.push(2),h--,d=p));a.reverse();b=void 0;k=[];for(h=0;h<a.length;h++)switch(a[h]){case 0:b&&(k.push(b),b=void 0);e++;f++;break;case 1:b||(b=Dc(e,0));b.L++;e++;b.F.push(c[f]);f++;break;case 2:b||(b=Dc(e,
0));b.L++;e++;break;case 3:b||(b=Dc(e,0)),b.F.push(c[f]),f++}b&&k.push(b);return k}function Fc(a,b){return a===b};var Gc=F.parentNode,Hc=F.childNodes,Ic={},K=v.deferConnectionCallbacks&&"loading"===document.readyState,Jc;function Kc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}
function Cb(a,b,c){if(a!==Ic)throw new TypeError("Illegal constructor");this.ma="ShadyRoot";this.host=b;this.c=c&&c.mode;Jb(b);a=r(b);a.root=this;a.da="closed"!==this.c?this:null;a=r(this);a.firstChild=a.lastChild=a.parentNode=a.nextSibling=a.previousSibling=null;a.childNodes=[];this.b=this.K=!1;this.a=this.g=this.f=null;J(this)}function J(a){a.K||(a.K=!0,Ca(function(){return Lc(a)}))}
function Lc(a){for(var b;a;){a.K&&(b=a);a:{var c=a;a=c.host.getRootNode();if(x(a))for(var d=c.host.childNodes,e=0;e<d.length;e++)if(c=d[e],"slot"==c.localName)break a;a=void 0}}b&&b._renderRoot()}
Cb.prototype._renderRoot=function(){var a=K;K=!0;this.K=!1;if(this.f){$b(this);for(var b=0,c;b<this.f.length;b++){c=this.f[b];var d=t(c),e=d.assignedNodes;d.assignedNodes=[];d.v=[];if(d.W=e)for(d=0;d<e.length;d++){var f=t(e[d]);f.J=f.assignedSlot;f.assignedSlot===c&&(f.assignedSlot=null)}}for(b=this.host.firstChild;b;b=b.nextSibling)Mc(this,b);for(b=0;b<this.f.length;b++){c=this.f[b];e=t(c);if(!e.assignedNodes.length)for(d=c.firstChild;d;d=d.nextSibling)Mc(this,d,c);(d=(d=t(c.parentNode))&&d.root)&&
Yb(d)&&d._renderRoot();Nc(this,e.v,e.assignedNodes);if(d=e.W){for(f=0;f<d.length;f++)t(d[f]).J=null;e.W=null;d.length>e.assignedNodes.length&&(e.O=!0)}e.O&&(e.O=!1,Oc(this,c))}c=this.f;b=[];for(e=0;e<c.length;e++)d=c[e].parentNode,(f=t(d))&&f.root||!(0>b.indexOf(d))||b.push(d);for(c=0;c<b.length;c++){f=b[c];e=f===this?this.host:f;d=[];f=f.childNodes;for(var h=0;h<f.length;h++){var g=f[h];if("slot"==g.localName){g=t(g).v;for(var k=0;k<g.length;k++)d.push(g[k])}else d.push(g)}f=Hc(e);h=Ec(d,d.length,
f,f.length);k=g=0;for(var l=void 0;g<h.length&&(l=h[g]);g++){for(var p=0,u=void 0;p<l.F.length&&(u=l.F[p]);p++)Gc(u)===e&&z.removeChild.call(e,u),f.splice(l.index+k,1);k-=l.L}k=0;for(l=void 0;k<h.length&&(l=h[k]);k++)for(g=f[l.index],p=l.index;p<l.index+l.L;p++)u=d[p],z.insertBefore.call(e,u,g),f.splice(p,0,u)}}if(!this.b)for(b=this.host.childNodes,c=0,e=b.length;c<e;c++)d=b[c],f=t(d),Gc(d)!==this.host||"slot"!==d.localName&&f.assignedSlot||z.removeChild.call(this.host,d);this.b=!0;K=a;Jc&&Jc()};
function Mc(a,b,c){var d=r(b),e=d.J;d.J=null;c||(c=(a=a.g[b.slot||"__catchall"])&&a[0]);c?(r(c).assignedNodes.push(b),d.assignedSlot=c):d.assignedSlot=void 0;e!==d.assignedSlot&&d.assignedSlot&&(r(d.assignedSlot).O=!0)}function Nc(a,b,c){for(var d=0,e=void 0;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=t(e).assignedNodes;f&&f.length&&Nc(a,b,f)}else b.push(c[d])}function Oc(a,b){z.dispatchEvent.call(b,new Event("slotchange"));b=t(b);b.assignedSlot&&Oc(a,b.assignedSlot)}
function Sb(a,b){a.a=a.a||[];a.f=a.f||[];a.g=a.g||{};a.a.push.apply(a.a,b instanceof Array?b:ja(q(b)))}function $b(a){if(a.a&&a.a.length){for(var b=a.a,c,d=0;d<b.length;d++){var e=b[d];Jb(e);Jb(e.parentNode);var f=ac(e);a.g[f]?(c=c||{},c[f]=!0,a.g[f].push(e)):a.g[f]=[e];a.f.push(e)}if(c)for(var h in c)a.g[h]=bc(a.g[h]);a.a=[]}}function ac(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.ka=b}
function bc(a){return a.sort(function(a,c){a=Kc(a);for(var b=Kc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})}function Xb(a,b){if(a.f){$b(a);var c=a.g,d;for(d in c)for(var e=c[d],f=0;f<e.length;f++){var h=e[f];if(ya(b,h)){e.splice(f,1);var g=a.f.indexOf(h);0<=g&&a.f.splice(g,1);f--;h=t(h);if(g=h.v)for(var k=0;k<g.length;k++){var l=g[k],p=Gc(l);p&&z.removeChild.call(p,l)}h.v=[];h.assignedNodes=[];g=!0}}return g}}
function Yb(a){$b(a);return!(!a.f||!a.f.length)}
if(window.customElements&&v.X){var Pc=new Map;Jc=function(){var a=Array.from(Pc);Pc.clear();a=q(a);for(var b=a.next();!b.done;b=a.next()){b=q(b.value);var c=b.next().value;b.next().value?c.ia():c.ja()}};K&&document.addEventListener("readystatechange",function(){K=!1;Jc()},{once:!0});var Qc=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.ia=function(){K?Pc.set(this,!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=a.prototype.ja=
function(){K?this.isConnected||Pc.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},define=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;define.call(window.customElements,a,Qc(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d}})};function Rc(a){var b=a.getRootNode();x(b)&&Lc(b);return(a=t(a))&&a.assignedSlot||null}
var Sc={addEventListener:vc.bind(window),removeEventListener:xc.bind(window)},Tc={addEventListener:vc,removeEventListener:xc,appendChild:function(a){return Lb(this,a)},insertBefore:function(a,b){return Lb(this,a,b)},removeChild:function(a){return Ob(this,a)},replaceChild:function(a,b){Lb(this,a,b);Ob(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=z.cloneNode.call(this,a);else if(b=z.cloneNode.call(this,!1),a&&b.nodeType!==Node.ATTRIBUTE_NODE){a=this.childNodes;for(var c=
0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return cc(this)},contains:function(a){return ya(this,a)},dispatchEvent:function(a){Ea();return z.dispatchEvent.call(this,a)}};
Object.defineProperties(Tc,{isConnected:{get:function(){if(ub&&ub.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var a=this.ownerDocument;if(xa){if(z.contains.call(a,this))return!0}else if(a.documentElement&&z.contains.call(a.documentElement,this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(x(a)?a.host:void 0);return!!(a&&a instanceof Document)},configurable:!0}});
var Uc={get assignedSlot(){return Rc(this)}},Vc={querySelector:function(a){return dc(this,function(b){return pa.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a,b){if(b){b=Array.prototype.slice.call(z.querySelectorAll.call(this,a));var c=this.getRootNode();return b.filter(function(a){return a.getRootNode()==c})}return dc(this,function(b){return pa.call(b,a)})}},Wc={assignedNodes:function(a){if("slot"===this.localName){var b=this.getRootNode();x(b)&&Lc(b);return(b=t(this))?
(a&&a.flatten?b.v:b.assignedNodes)||[]:[]}}},Xc=ra({setAttribute:function(a,b){gc(this,a,b)},removeAttribute:function(a){z.removeAttribute.call(this,a);Zb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new Cb(Ic,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){gc(this,"slot",a)},get assignedSlot(){return Rc(this)}},Vc,Wc);Object.defineProperties(Xc,zb);
var Yc=ra({importNode:function(a,b){return hc(a,b)},getElementById:function(a){return dc(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},Vc);Object.defineProperties(Yc,{_activeElement:Ab.activeElement});
for(var Zc=HTMLElement.prototype.blur,$c={blur:function(){var a=t(this);(a=(a=a&&a.root)&&a.activeElement)?a.blur():Zc.call(this)}},L={},ad=q(Object.getOwnPropertyNames(Document.prototype)),bd=ad.next();!bd.done;L={l:L.l},bd=ad.next())L.l=bd.value,"on"===L.l.substring(0,2)&&Object.defineProperty($c,L.l,{set:function(a){return function(b){var c=r(this),d=a.l.substring(2);c.I[a.l]&&this.removeEventListener(d,c.I[a.l]);this.addEventListener(d,b,{});c.I[a.l]=b}}(L),get:function(a){return function(){var b=
t(this);return b&&b.I[a.l]}}(L),configurable:!0});var cd={addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.V=this;this.host.addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.V=this;this.host.removeEventListener(a,b,c)},getElementById:function(a){return dc(this,function(b){return b.id==a},function(a){return!!a})[0]||null}};
function M(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}};if(v.X){var ShadyDOM={inUse:v.X,patch:function(a){Eb(a);Db(a);return a},isShadyRoot:x,enqueue:Ca,flush:Ea,settings:v,filterMutations:Ja,observeChildren:Ha,unobserveChildren:Ia,nativeMethods:z,nativeTree:F,deferConnectionCallbacks:v.deferConnectionCallbacks,handlesDynamicScoping:!0};window.ShadyDOM=ShadyDOM;Cc();var dd=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;M(Cb.prototype,cd);M(window.Node.prototype,Tc);M(window.Window.prototype,Sc);M(window.Text.prototype,Uc);
M(window.DocumentFragment.prototype,Vc);M(window.Element.prototype,Xc);M(window.Document.prototype,Yc);window.HTMLSlotElement&&M(window.HTMLSlotElement.prototype,Wc);M(dd.prototype,$c);v.o&&(H(window.Node.prototype),H(window.Text.prototype),H(window.DocumentFragment.prototype),H(window.Element.prototype),H(dd.prototype),H(window.Document.prototype),window.HTMLSlotElement&&H(window.HTMLSlotElement.prototype));Bb();window.ShadowRoot=Cb};/*
function Jb(a,b){var c=r(a);if(void 0===c.firstChild)for(c.childNodes=null,b=b||Fb(a),c.firstChild=b[0]||null,c.lastChild=b[b.length-1]||null,Eb(a),c=0;c<b.length;c++){var d=b[c],e=r(d);e.parentNode=a;e.nextSibling=b[c+1]||null;e.previousSibling=b[c-1]||null;Db(d)}};var Kb=F.parentNode,Lb=window.document,Mb=v.Na;
function Nb(a,b,c){if(a.ownerDocument!==Lb&&b.ownerDocument!==Lb)return z.insertBefore.call(a,b,c);if(b===a)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(c){var d=t(c);d=d&&d.parentNode;if(void 0!==d&&d!==a||void 0===d&&Kb(c)!==a)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.");}if(c===b)return b;var e=[],f=Ob,g=oa(a),h;g?h=g.host.localName:h=Pb(a);
if(b.parentNode){var k=Pb(b);Qb(b.parentNode,b,!!g||!(b.getRootNode()instanceof ShadowRoot));f=function(a,b){I()&&(Rb(a,k),Ob(a,b))}}d=!0;var l=(!Mb||void 0===b.__noInsertionPoint)&&!Sb(b,h);if(g)b.__noInsertionPoint&&!l||Tb(b,function(a){"slot"===a.localName&&e.push(a);l&&f(a,h)});else if(l){var n=Pb(b);Tb(b,function(a){var b=h;I()&&(Rb(a,n),Ob(a,b))})}e.length&&Ub(g,e);("slot"===a.localName||e.length)&&g&&J(g);w(a)&&(Gb(b,a,c),g=t(a),Vb(a)?(J(g.root),d=!1):g.root&&(d=!1));d?(d=x(a)?a.host:a,c?(c=
Wb(c),z.insertBefore.call(d,b,c)):z.appendChild.call(d,b)):b.ownerDocument!==a.ownerDocument&&a.ownerDocument.adoptNode(b);Xb(a,b);return b}
function Qb(a,b,c){c=void 0===c?!1:c;if(a.ownerDocument!==Lb)return z.removeChild.call(a,b);if(b.parentNode!==a)throw Error("The node to be removed is not a child of this node: "+b);var d=oa(b),e=t(a);if(w(a)&&(Ib(b,a),Vb(a))){J(e.root);var f=!0}if(I()&&!c&&d){var g=Pb(b);Tb(b,function(a){Rb(a,g)})}Yb(b);if(d){var h=a&&"slot"===a.localName;h&&(f=!0);((c=Zb(d,b))||h)&&J(d)}f||(f=x(a)?a.host:a,(!e.root&&"slot"!==b.localName||f===Kb(b))&&z.removeChild.call(f,b));Xb(a,null,b);return b}
function Yb(a){var b=t(a);if(b&&void 0!==b.D){b=a.childNodes;for(var c=0,d=b.length,e=void 0;c<d&&(e=b[c]);c++)Yb(e)}if(a=t(a))a.D=void 0}function Wb(a){var b=a;a&&"slot"===a.localName&&(b=(b=(b=t(a))&&b.v)&&b.length?b[0]:Wb(a.nextSibling));return b}function Vb(a){return(a=(a=t(a))&&a.root)&&$b(a)}
function ac(a,b){if("slot"===b)a=a.parentNode,Vb(a)&&J(t(a).root);else if("slot"===a.localName&&"name"===b&&(b=oa(a))){if(b.f){bc(b);var c=a.ia,d=cc(a);if(d!==c){c=b.g[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.g[d]||(b.g[d]=[]);c.push(a);1<c.length&&(b.g[d]=dc(c))}}J(b)}}function Xb(a,b,c){if(a=(a=t(a))&&a.A)b&&a.addedNodes.push(b),c&&a.removedNodes.push(c),Fa(a)}
function ec(a){if(a&&a.nodeType){var b=r(a),c=b.D;void 0===c&&(x(a)?(c=a,b.D=c):(c=(c=a.parentNode)?ec(c):a,z.contains.call(document.documentElement,a)&&(b.D=c)));return c}}function fc(a,b,c){var d=[];gc(a.childNodes,b,c,d);return d}function gc(a,b,c,d){for(var e=0,f=a.length,g=void 0;e<f&&(g=a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var k=b,l=c,n=d,u=k(h);u&&n.push(h);l&&l(u)?h=u:(gc(h.childNodes,k,l,n),h=void 0)}if(h)break}}var hc=null;
function I(){hc||(hc=window.ShadyCSS&&window.ShadyCSS.ScopingShim);return hc||null}function ic(a,b,c){if(a.ownerDocument!==Lb)z.setAttribute.call(a,b,c);else{var d=I();d&&"class"===b?d.setElementClass(a,c):(z.setAttribute.call(a,b,c),ac(a,b))}}function jc(a,b){if(a.ownerDocument!==document||"template"===a.localName)return z.importNode.call(document,a,b);var c=z.importNode.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=jc(a[b],!0),c.appendChild(d)}return c}
function Ob(a,b){var c=I();c&&c.scopeNode(a,b)}function Rb(a,b){var c=I();c&&c.unscopeNode(a,b)}function Sb(a,b){var c=I();if(!c)return!0;if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){c=!0;for(var d=0;c&&d<a.childNodes.length;d++)c=c&&Sb(a.childNodes[d],b);return c}return a.nodeType!==Node.ELEMENT_NODE?!0:c.currentScopeForNode(a)===b}function Pb(a){if(a.nodeType!==Node.ELEMENT_NODE)return"";var b=I();return b?b.currentScopeForNode(a):""}
function Tb(a,b){if(a){a.nodeType===Node.ELEMENT_NODE&&b(a);for(var c=0,d;c<a.childNodes.length;c++)d=a.childNodes[c],d.nodeType===Node.ELEMENT_NODE&&Tb(d,b)}};var kc="__eventWrappers"+Date.now(),lc=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),mc={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,
pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},nc={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};
function oc(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 pc(a,b){if(!x)return a;a=oc(a,!0);for(var c=0,d,e=void 0,f,g=void 0;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!x(f)||-1<g)return d}
var qc={get composed(){void 0===this.H&&(lc?this.H="focusin"===this.type||"focusout"===this.type||lc(this):!1!==this.isTrusted&&(this.H=mc[this.type]));return this.H||!1},composedPath:function(){this.W||(this.W=oc(this.__target,this.composed));return this.W},get target(){return pc(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.P)return null;this.Y||(this.Y=oc(this.P,!0));return pc(this.currentTarget||this.__previousCurrentTarget,this.Y)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);
this.O=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.O=this.ea=!0}};function rc(a){function b(b,d){b=new a(b,d);b.H=d&&!!d.composed;return b}sa(b,a);b.prototype=a.prototype;return b}var sc={focus:!0,blur:!0};function tc(a){return a.__target!==a.target||a.P!==a.relatedTarget}function uc(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&(!tc(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.ea);d++);}
function vc(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];uc(a,d,"capture");if(a.O)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=t(d);f=f&&f.root;if(0===c||f&&f===e)if(uc(a,d,"bubble"),d!==window&&(e=d.getRootNode()),a.O)break}}
function wc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],k=h.type,l=h.capture,n=h.once,u=h.passive;if(b===h.node&&c===k&&d===l&&e===n&&f===u)return g}return-1}
function xc(a,b,c){if(b){var d=typeof b;if("function"===d||"object"===d)if("object"!==d||b.handleEvent&&"function"===typeof b.handleEvent){var e=this instanceof Window?z.Aa:z.addEventListener;if(nc[a])return e.call(this,a,b,c);if(c&&"object"===typeof c){var f=!!c.capture;var g=!!c.once;var h=!!c.passive}else f=!!c,h=g=!1;var k=c&&c.R||this,l=b[kc];if(l){if(-1<wc(l,k,a,f,g,h))return}else b[kc]=[];l=function(e){g&&this.removeEventListener(a,b,c);e.__target||yc(e);if(k!==this){var f=Object.getOwnPropertyDescriptor(e,
"currentTarget");Object.defineProperty(e,"currentTarget",{get:function(){return k},configurable:!0})}e.__previousCurrentTarget=e.currentTarget;if(!x(k)||-1!=e.composedPath().indexOf(k))if(e.composed||-1<e.composedPath().indexOf(k))if(tc(e)&&e.target===e.relatedTarget)e.eventPhase===Event.BUBBLING_PHASE&&e.stopImmediatePropagation();else if(e.eventPhase===Event.CAPTURING_PHASE||e.bubbles||e.target===k||k instanceof Window){var h="function"===d?b.call(k,e):b.handleEvent&&b.handleEvent(e);k!==this&&
(f?(Object.defineProperty(e,"currentTarget",f),f=null):delete e.currentTarget);return h}};b[kc].push({node:k,type:a,capture:f,once:g,passive:h,Ca:l});sc[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][f?"capture":"bubble"].push(l)):e.call(this,a,l,c)}}}
function zc(a,b,c){if(b){var d=this instanceof Window?z.Ba:z.removeEventListener;if(nc[a])return d.call(this,a,b,c);if(c&&"object"===typeof c){var e=!!c.capture;var f=!!c.once;var g=!!c.passive}else e=!!c,g=f=!1;var h=c&&c.R||this,k=void 0;var l=null;try{l=b[kc]}catch(n){}l&&(f=wc(l,h,a,e,f,g),-1<f&&(k=l.splice(f,1)[0].Ca,l.length||(b[kc]=void 0)));d.call(this,a,k||b,c);k&&sc[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][e?"capture":"bubble"],k=a.indexOf(k),-1<k&&a.splice(k,1))}}
function Ac(){for(var a in sc)window.addEventListener(a,function(a){a.__target||(yc(a),vc(a))},!0)}function yc(a){a.__target=a.target;a.P=a.relatedTarget;if(v.o){var b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__patchProto")){var c=Object.create(b);c.Da=b;qa(c,qc);b.__patchProto=c}a.__proto__=b.__patchProto}else qa(a,qc)}var Bc=rc(window.Event),Cc=rc(window.CustomEvent),Dc=rc(window.MouseEvent);
function Ec(){window.Event=Bc;window.CustomEvent=Cc;window.MouseEvent=Dc;Ac();if(!lc&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var a=function(){var a=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(a)};Element.prototype.click?Element.prototype.click=a:HTMLElement.prototype.click&&(HTMLElement.prototype.click=a)}};function Fc(a,b){return{index:a,F:[],K:b}}
function Gc(a,b,c,d){var e=0,f=0,g=0,h=0,k=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<k;g++)if(a[g]!==c[g])break a;g=k}if(b==a.length&&d==c.length){h=a.length;for(var l=c.length,n=0;n<k-g&&Hc(a[--h],c[--l]);)n++;h=n}e+=g;f+=g;b-=h;d-=h;if(0==b-e&&0==d-f)return[];if(e==b){for(b=Fc(e,0);f<d;)b.F.push(c[f++]);return[b]}if(f==d)return[Fc(e,b-e)];k=e;g=f;d=d-g+1;h=b-k+1;b=Array(d);for(l=0;l<d;l++)b[l]=Array(h),b[l][0]=l;for(l=0;l<h;l++)b[0][l]=l;for(l=1;l<d;l++)for(n=1;n<h;n++)if(a[k+n-1]===c[g+l-1])b[l][n]=
b[l-1][n-1];else{var u=b[l-1][n]+1,ca=b[l][n-1]+1;b[l][n]=u<ca?u:ca}k=b.length-1;g=b[0].length-1;d=b[k][g];for(a=[];0<k||0<g;)0==k?(a.push(2),g--):0==g?(a.push(3),k--):(h=b[k-1][g-1],l=b[k-1][g],n=b[k][g-1],u=l<n?l<h?l:h:n<h?n:h,u==h?(h==d?a.push(0):(a.push(1),d=h),k--,g--):u==l?(a.push(3),k--,d=l):(a.push(2),g--,d=n));a.reverse();b=void 0;k=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(k.push(b),b=void 0);e++;f++;break;case 1:b||(b=Fc(e,0));b.K++;e++;b.F.push(c[f]);f++;break;case 2:b||(b=Fc(e,
0));b.K++;e++;break;case 3:b||(b=Fc(e,0)),b.F.push(c[f]),f++}b&&k.push(b);return k}function Hc(a,b){return a===b};var Ic=F.parentNode,Jc=F.childNodes,Kc={},K=v.deferConnectionCallbacks&&"loading"===document.readyState,Lc;function Mc(a){var b=[];do b.unshift(a);while(a=a.parentNode);return b}
function Cb(a,b,c){if(a!==Kc)throw new TypeError("Illegal constructor");this.ka="ShadyRoot";this.host=b;this.c=c&&c.mode;a=Jc(b);Jb(b,a);c=r(b);c.root=this;c.ba="closed"!==this.c?this:null;c=r(this);c.firstChild=c.lastChild=c.parentNode=c.nextSibling=c.previousSibling=null;c.childNodes=[];this.b=this.C=!1;this.a=this.g=this.f=null;if(v.preferPerformance){c=0;for(var d=a.length;c<d;c++)z.removeChild.call(b,a[c])}else J(this)}function J(a){a.C||(a.C=!0,Ca(function(){return Nc(a)}))}
function Nc(a){for(var b;a;){a.C&&(b=a);a:{var c=a;a=c.host.getRootNode();if(x(a))for(var d=c.host.childNodes,e=0;e<d.length;e++)if(c=d[e],"slot"==c.localName)break a;a=void 0}}b&&b._renderRoot()}
Cb.prototype._renderRoot=function(){var a=K;K=!0;this.C=!1;if(this.f){bc(this);for(var b=0,c;b<this.f.length;b++){c=this.f[b];var d=t(c),e=d.assignedNodes;d.assignedNodes=[];d.v=[];if(d.S=e)for(d=0;d<e.length;d++){var f=t(e[d]);f.J=f.assignedSlot;f.assignedSlot===c&&(f.assignedSlot=null)}}for(b=this.host.firstChild;b;b=b.nextSibling)Oc(this,b);for(b=0;b<this.f.length;b++){c=this.f[b];e=t(c);if(!e.assignedNodes.length)for(d=c.firstChild;d;d=d.nextSibling)Oc(this,d,c);(d=(d=t(c.parentNode))&&d.root)&&
($b(d)||d.C)&&d._renderRoot();Pc(this,e.v,e.assignedNodes);if(d=e.S){for(f=0;f<d.length;f++)t(d[f]).J=null;e.S=null;d.length>e.assignedNodes.length&&(e.M=!0)}e.M&&(e.M=!1,Qc(this,c))}c=this.f;b=[];for(e=0;e<c.length;e++)d=c[e].parentNode,(f=t(d))&&f.root||!(0>b.indexOf(d))||b.push(d);for(c=0;c<b.length;c++){f=b[c];e=f===this?this.host:f;d=[];f=f.childNodes;for(var g=0;g<f.length;g++){var h=f[g];if("slot"==h.localName){h=t(h).v;for(var k=0;k<h.length;k++)d.push(h[k])}else d.push(h)}f=Jc(e);g=Gc(d,
d.length,f,f.length);k=h=0;for(var l=void 0;h<g.length&&(l=g[h]);h++){for(var n=0,u=void 0;n<l.F.length&&(u=l.F[n]);n++)Ic(u)===e&&z.removeChild.call(e,u),f.splice(l.index+k,1);k-=l.K}k=0;for(l=void 0;k<g.length&&(l=g[k]);k++)for(h=f[l.index],n=l.index;n<l.index+l.K;n++)u=d[n],z.insertBefore.call(e,u,h),f.splice(n,0,u)}}if(!v.preferPerformance&&!this.b)for(b=this.host.childNodes,c=0,e=b.length;c<e;c++)d=b[c],f=t(d),Ic(d)!==this.host||"slot"!==d.localName&&f.assignedSlot||z.removeChild.call(this.host,
d);this.b=!0;K=a;Lc&&Lc()};function Oc(a,b,c){var d=r(b),e=d.J;d.J=null;c||(c=(a=a.g[b.slot||"__catchall"])&&a[0]);c?(r(c).assignedNodes.push(b),d.assignedSlot=c):d.assignedSlot=void 0;e!==d.assignedSlot&&d.assignedSlot&&(r(d.assignedSlot).M=!0)}function Pc(a,b,c){for(var d=0,e=void 0;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=t(e).assignedNodes;f&&f.length&&Pc(a,b,f)}else b.push(c[d])}
function Qc(a,b){z.dispatchEvent.call(b,new Event("slotchange"));b=t(b);b.assignedSlot&&Qc(a,b.assignedSlot)}function Ub(a,b){a.a=a.a||[];a.f=a.f||[];a.g=a.g||{};a.a.push.apply(a.a,b instanceof Array?b:ja(q(b)))}function bc(a){if(a.a&&a.a.length){for(var b=a.a,c,d=0;d<b.length;d++){var e=b[d];Jb(e);Jb(e.parentNode);var f=cc(e);a.g[f]?(c=c||{},c[f]=!0,a.g[f].push(e)):a.g[f]=[e];a.f.push(e)}if(c)for(var g in c)a.g[g]=dc(a.g[g]);a.a=[]}}
function cc(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.ia=b}function dc(a){return a.sort(function(a,c){a=Mc(a);for(var b=Mc(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=Array.from(c.parentNode.childNodes),a.indexOf(c)-a.indexOf(f)}})}
function Zb(a,b){if(a.f){bc(a);var c=a.g,d;for(d in c)for(var e=c[d],f=0;f<e.length;f++){var g=e[f];if(ya(b,g)){e.splice(f,1);var h=a.f.indexOf(g);0<=h&&a.f.splice(h,1);f--;g=t(g);if(h=g.v)for(var k=0;k<h.length;k++){var l=h[k],n=Ic(l);n&&z.removeChild.call(n,l)}g.v=[];g.assignedNodes=[];h=!0}}return h}}function $b(a){bc(a);return!(!a.f||!a.f.length)}
if(window.customElements&&v.U&&!v.preferPerformance){var Rc=new Map;Lc=function(){var a=Array.from(Rc);Rc.clear();a=q(a);for(var b=a.next();!b.done;b=a.next()){b=q(b.value);var c=b.next().value;b.next().value?c.ga():c.ha()}};K&&document.addEventListener("readystatechange",function(){K=!1;Lc()},{once:!0});var Sc=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.ga=function(){K?Rc.set(this,!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=
a.prototype.ha=function(){K?this.isConnected||Rc.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},define=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;define.call(window.customElements,a,Sc(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d}})};function Tc(a){var b=a.getRootNode();x(b)&&Nc(b);return(a=t(a))&&a.assignedSlot||null}
var Uc={addEventListener:xc.bind(window),removeEventListener:zc.bind(window)},Vc={addEventListener:xc,removeEventListener:zc,appendChild:function(a){return Nb(this,a)},insertBefore:function(a,b){return Nb(this,a,b)},removeChild:function(a){return Qb(this,a)},replaceChild:function(a,b){Nb(this,a,b);Qb(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=z.cloneNode.call(this,a);else if(b=z.cloneNode.call(this,!1),a&&b.nodeType!==Node.ATTRIBUTE_NODE){a=this.childNodes;for(var c=
0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return ec(this)},contains:function(a){return ya(this,a)},dispatchEvent:function(a){Da();return z.dispatchEvent.call(this,a)}};
Object.defineProperties(Vc,{isConnected:{get:function(){if(ub&&ub.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var a=this.ownerDocument;if(xa){if(z.contains.call(a,this))return!0}else if(a.documentElement&&z.contains.call(a.documentElement,this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(x(a)?a.host:void 0);return!!(a&&a instanceof Document)},configurable:!0}});
var Wc={get assignedSlot(){return Tc(this)}},Xc={querySelector:function(a){return fc(this,function(b){return pa.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a,b){if(b){b=Array.prototype.slice.call(z.querySelectorAll.call(this,a));var c=this.getRootNode();return b.filter(function(a){return a.getRootNode()==c})}return fc(this,function(b){return pa.call(b,a)})}},Yc={},Zc={assignedNodes:function(a){if("slot"===this.localName){var b=this.getRootNode();x(b)&&Nc(b);return(b=t(this))?
(a&&a.flatten?b.v:b.assignedNodes)||[]:[]}}},$c=ra({setAttribute:function(a,b){ic(this,a,b)},removeAttribute:function(a){z.removeAttribute.call(this,a);ac(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new Cb(Kc,this,a)},get slot(){return this.getAttribute("slot")},set slot(a){ic(this,"slot",a)},get assignedSlot(){return Tc(this)}},Xc,Zc);Object.defineProperties($c,zb);
var ad={importNode:function(a,b){return jc(a,b)},getElementById:function(a){return fc(this,function(b){return b.id==a},function(a){return!!a})[0]||null}};Object.defineProperties(ad,{_activeElement:Ab.activeElement});
for(var bd=HTMLElement.prototype.blur,cd={blur:function(){var a=t(this);(a=(a=a&&a.root)&&a.activeElement)?a.blur():bd.call(this)}},L={},dd=q(Object.getOwnPropertyNames(Document.prototype)),ed=dd.next();!ed.done;L={l:L.l},ed=dd.next())L.l=ed.value,"on"===L.l.substring(0,2)&&Object.defineProperty(cd,L.l,{set:function(a){return function(b){var c=r(this),d=a.l.substring(2);c.I[a.l]&&this.removeEventListener(d,c.I[a.l]);this.addEventListener(d,b,{});c.I[a.l]=b}}(L),get:function(a){return function(){var b=
t(this);return b&&b.I[a.l]}}(L),configurable:!0});var fd=ra({addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.R=this;this.host.addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.R=this;this.host.removeEventListener(a,b,c)},getElementById:function(a){return fc(this,function(b){return b.id==a},function(a){return!!a})[0]||null}},Xc);v.preferPerformance||(ra(ad,Xc),ra(Yc,Xc));
function M(a,b){for(var c=Object.getOwnPropertyNames(b),d=0;d<c.length;d++){var e=c[d],f=Object.getOwnPropertyDescriptor(b,e);f.value?a[e]=f.value:Object.defineProperty(a,e,f)}};if(v.U){var ShadyDOM={inUse:v.U,patch:function(a){Eb(a);Db(a);return a},isShadyRoot:x,enqueue:Ca,flush:Da,settings:v,filterMutations:Ja,observeChildren:Ga,unobserveChildren:Ia,nativeMethods:z,nativeTree:F,deferConnectionCallbacks:v.deferConnectionCallbacks,preferPerformance:v.preferPerformance,handlesDynamicScoping:!0};window.ShadyDOM=ShadyDOM;Ec();var gd=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;M(Cb.prototype,fd);M(window.Node.prototype,Vc);M(window.Window.prototype,
Uc);M(window.Text.prototype,Wc);M(window.Element.prototype,$c);M(window.DocumentFragment.prototype,Yc);M(window.Document.prototype,ad);window.HTMLSlotElement&&M(window.HTMLSlotElement.prototype,Zc);M(gd.prototype,cd);v.o&&(H(window.Node.prototype),H(window.Text.prototype),H(window.DocumentFragment.prototype),H(window.Element.prototype),H(gd.prototype),H(window.Document.prototype),window.HTMLSlotElement&&H(window.HTMLSlotElement.prototype));Bb();window.ShadowRoot=Cb};/*

@@ -109,47 +110,51 @@ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.

*/
function ed(){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 fd(a){a=a.replace(gd,"").replace(hd,"");var b=id,c=a,d=new ed;d.start=0;d.end=c.length;for(var e=d,f=0,h=c.length;f<h;f++)if("{"===c[f]){e.rules||(e.rules=[]);var g=e,k=g.rules[g.rules.length-1]||null;e=new ed;e.start=f+1;e.parent=g;e.previous=k;g.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}
function id(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=jd(c),c=c.replace(kd," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=ld:c.match(md)&&(a.type=nd,a.keyframesName=a.selector.split(kd).pop()):a.type=0===c.indexOf("--")?od:pd);if(c=a.rules)for(var d=0,e=c.length,f=void 0;d<e&&(f=c[d]);d++)id(f,
b);return a}function jd(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 qd(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var h=e.length,g=void 0;f<h&&(g=e[f]);f++)d=qd(g,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(rd,"").replace(sd,""),b=b.replace(td,"").replace(ud,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}
var pd=1,nd=7,ld=4,od=1E3,gd=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,hd=/@import[^;]*;/gim,rd=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,sd=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,td=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,ud=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,md=/^@[^\s]*keyframes/,kd=/\s+/g;var N=!(window.ShadyDOM&&window.ShadyDOM.inUse),vd;function wd(a){vd=a&&a.shimcssproperties?!1:N||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?vd=window.ShadyCSS.nativeCss:window.ShadyCSS?(wd(window.ShadyCSS),window.ShadyCSS=void 0):wd(window.WebComponents&&window.WebComponents.flags);var O=vd;var xd=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,yd=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,zd=/(--[\w-]+)\s*([:,;)]|$)/gi,Ad=/(animation\s*:)|(animation-name\s*:)/,Bd=/@media\s(.*)/,Cd=/\{[^}]*\}/g;var Dd=new Set;function P(a,b){if(!a)return"";"string"===typeof a&&(a=fd(a));b&&Q(a,b);return qd(a,O)}function Ed(a){!a.__cssRules&&a.textContent&&(a.__cssRules=fd(a.textContent));return a.__cssRules||null}function Fd(a){return!!a.parent&&a.parent.type===nd}function Q(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===ld){var h=a.selector.match(Bd);h&&(window.matchMedia(h[1]).matches||(e=!0))}f===pd?b(a):c&&f===nd?c(a):f===od&&(e=!0);if((a=a.rules)&&!e)for(e=0,f=a.length,h=void 0;e<f&&(h=a[e]);e++)Q(h,b,c,d)}}
function Gd(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Hd(e,c,d);return e}var R=null;function Id(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(R?R.nextSibling:null)||b.firstChild);return R=a}function Hd(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);R?a.compareDocumentPosition(R)===Node.DOCUMENT_POSITION_PRECEDING&&(R=a):R=a}
function Jd(a,b){for(var c=0,d=a.length;b<d;b++)if("("===a[b])c++;else if(")"===a[b]&&0===--c)return b;return-1}function Kd(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=Jd(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=Kd(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 Ld(a,b){N?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}
function S(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,G:c}}function Md(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=Jd(a,d);c+=a.slice(d,e+1);d=e}else","===a[d]?(b.push(c),c=""):c+=a[d];c&&b.push(c);return b}
function T(a){if(void 0===a.a){var b=a.getAttribute("css-build");if(b)a.a=b;else{a:{b="template"===a.localName?a.content.firstChild:a.firstChild;if(b instanceof Comment&&(b=b.textContent.trim().split(":"),"css-build"===b[0])){b=b[1];break a}b=""}if(""!==b){var c="template"===a.localName?a.content.firstChild:a.firstChild;c.parentNode.removeChild(c)}a.a=b}}return a.a||""};function Nd(){}function Od(a,b){Pd(U,a,function(a){V(a,b||"")})}function Pd(a,b,c){b.nodeType===Node.ELEMENT_NODE&&c(b);if(b="template"===b.localName?(b.content||b.Ga||b).childNodes:b.children||b.childNodes)for(var d=0;d<b.length;d++)Pd(a,b[d],c)}
function V(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute(Qd);c?d&&(b=d.replace("style-scope","").replace(b,""),Ld(a,b)):Ld(a,(d?d+" ":"")+"style-scope "+b)}}function Rd(a,b,c){Pd(U,a,function(a){V(a,b,!0);V(a,c)})}function Sd(a,b){Pd(U,a,function(a){V(a,b||"",!0)})}
function Td(a,b,c,d){var e=U;N||"shady"===(void 0===d?"":d)?b=P(b,c):(a=S(a),b=Ud(e,b,a.is,a.G,c)+"\n\n");return b.trim()}function Ud(a,b,c,d,e){var f=Vd(c,d);c=c?Wd+c:"";return P(b,function(b){b.c||(b.selector=b.j=Xd(a,b,a.b,c,f),b.c=!0);e&&e(b,c,f)})}function Vd(a,b){return b?"[is="+a+"]":a}function Xd(a,b,c,d,e){var f=Md(b.selector);if(!Fd(b)){b=0;for(var h=f.length,g=void 0;b<h&&(g=f[b]);b++)f[b]=c.call(a,g,d,e)}return f.filter(function(a){return!!a}).join(Yd)}
function Zd(a){return a.replace($d,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}function ae(a){for(var b=[],c;c=a.match(be);){var d=c.index,e=Jd(a,d);if(-1===e)throw Error(c.input+" selector missing ')'");c=a.slice(d,e+1);a=a.replace(c,"\ue000");b.push(c)}return{Y:a,matches:b}}function ce(a,b){var c=a.split("\ue000");return b.reduce(function(a,b,f){return a+b+c[f+1]},c[0])}
Nd.prototype.b=function(a,b,c){var d=!1;a=a.trim();var e=$d.test(a);e&&(a=a.replace($d,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=Zd(a));var f=be.test(a);if(f){var h=ae(a);a=h.Y;h=h.matches}a=a.replace(de,ee+" $1");a=a.replace(fe,function(a,e,f){d||(a=ge(f,e,b,c),d=d||a.stop,e=a.qa,f=a.value);return e+f});f&&(a=ce(a,h));e&&(a=Zd(a));return a};
function ge(a,b,c,d){var e=a.indexOf(he);0<=a.indexOf(ee)?a=ie(a,d):0!==e&&(a=c?je(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(ke,function(a,b){return" > "+b}))}a=a.replace(le,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,qa:b,stop:f}}function je(a,b){a=a.split(me);a[0]+=b;return a.join(me)}
function ie(a,b){var c=a.match(ne);return(c=c&&c[2].trim()||"")?c[0].match(oe)?a.replace(ne,function(a,c,f){return b+f}):c.split(oe)[0]===b?c:pe:a.replace(ee,b)}function qe(a){a.selector===re&&(a.selector="html")}Nd.prototype.c=function(a){return a.match(ee)?"":a.match(he)?this.b(a,se):je(a.trim(),se)};n.Object.defineProperties(Nd.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});
var $d=/:(nth[-\w]+)\(([^)]+)\)/,se=":not(.style-scope)",Yd=",",fe=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,oe=/[[.:#*]/,ee=":host",re=":root",he="::slotted",de=new RegExp("^("+he+")"),ne=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ke=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,le=/(.*):dir\((?:(ltr|rtl))\)/,Wd=".",me=":",Qd="class",pe="should_not_match",be=/:(?:matches|any|-(?:webkit|moz)-any)/,U=new Nd;function te(a,b,c,d,e){this.u=a||null;this.b=b||null;this.c=c||[];this.B=null;this.N=e||"";this.G=d||"";this.a=this.m=this.w=null}function W(a){return a?a.__styleInfo:null}function ue(a,b){return a.__styleInfo=b}te.prototype.i=function(){return this.u};te.prototype._getStyleRules=te.prototype.i;function ve(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var we=navigator.userAgent.match("Trident");function xe(){}function ye(a){var b={},c=[],d=0;Q(a,function(a){ze(a);a.index=d++;a=a.h.cssText;for(var c;c=zd.exec(a);){var e=c[1];":"!==c[2]&&(b[e]=!0)}},function(a){c.push(a)});a.b=c;a=[];for(var e in b)a.push(e);return a}
function ze(a){if(!a.h){var b={},c={};Ae(a,c)&&(b.s=c,a.rules=null);b.cssText=a.parsedCssText.replace(Cd,"").replace(xd,"");a.h=b}}function Ae(a,b){var c=a.h;if(c){if(c.s)return Object.assign(b,c.s),!0}else{c=a.parsedCssText;for(var d;a=xd.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
function Be(a,b,c){b&&(b=0<=b.indexOf(";")?Ce(a,b,c):Kd(b,function(b,e,f,h){if(!e)return b+h;(e=Be(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=Be(a,c[f]||f,c)||f;return b+(e||"")+h}));return b&&b.trim()||""}
function Ce(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){yd.lastIndex=0;if(f=yd.exec(e))e=Be(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var h=e.substring(f);h=h.trim();h=Be(a,h,c)||h;e=e.substring(0,f)+h}b[d]=e&&e.lastIndexOf(";")===e.length-1?e.slice(0,-1):e||""}return b.join(";")}
function De(a,b){var c={},d=[];Q(a,function(a){a.h||ze(a);var e=a.j||a.parsedSelector;b&&a.h.s&&e&&ve.call(b,e)&&(Ae(a,c),a=a.index,e=parseInt(a/32,10),d[e]=(d[e]||0)|1<<a%32)},null,!0);return{s:c,key:d}}
function Ee(a,b,c,d){b.h||ze(b);if(b.h.s){var e=S(a);a=e.is;e=e.G;e=a?Vd(a,e):"html";var f=b.parsedSelector,h=":host > *"===f||"html"===f,g=0===f.indexOf(":host")&&!h;"shady"===c&&(h=f===e+" > *."+e||-1!==f.indexOf("html"),g=!h&&0===f.indexOf(e));if(h||g)c=e,g&&(b.j||(b.j=Xd(U,b,U.b,a?Wd+a:"",e)),c=b.j||e),d({Y:c,va:g,Qa:h})}}function Fe(a,b,c){var d={},e={};Q(b,function(b){Ee(a,b,c,function(c){ve.call(a.Pa||a,c.Y)&&(c.va?Ae(b,d):Ae(b,e))})},null,!0);return{wa:e,ua:d}}
function Ge(a,b,c,d){var e=S(b),f=Vd(e.is,e.G),h=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),g=W(b);e=g.u;g=g.N;var k=He(e,d);return Td(b,e,function(b){var e="";b.h||ze(b);b.h.cssText&&(e=Ce(a,b.h.cssText,c));b.cssText=e;if(!N&&!Fd(b)&&b.cssText){var g=e=b.cssText;null==b.ba&&(b.ba=Ad.test(e));if(b.ba)if(null==b.R){b.R=[];for(var l in k)g=k[l],g=g(e),e!==g&&(e=g,b.R.push(l))}else{for(l=0;l<b.R.length;++l)g=k[b.R[l]],e=g(e);g=e}b.cssText=g;b.j=b.j||b.selector;
e="."+d;l=Md(b.j);g=0;for(var da=l.length,Da=void 0;g<da&&(Da=l[g]);g++)l[g]=Da.match(h)?Da.replace(f,e):e+" "+Da;b.selector=l.join(",")}},g)}function He(a,b){a=a.b;var c={};if(!N&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,h=b;f.i=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.a=f.keyframesName+"-"+h;f.j=f.j||f.selector;f.selector=f.j.replace(f.keyframesName,f.a);c[e.keyframesName]=Ie(e)}return c}function Ie(a){return function(b){return b.replace(a.i,a.a)}}
function Je(a,b){var c=Ke,d=Ed(a);a.textContent=P(d,function(a){var d=a.cssText=a.parsedCssText;a.h&&a.h.cssText&&(d=d.replace(rd,"").replace(sd,""),a.cssText=Ce(c,d,b))})}n.Object.defineProperties(xe.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Ke=new xe;var X={},Le=window.customElements;if(Le&&!N){var Me=Le.define;Le.define=function(a,b,c){X[a]||(X[a]=Id(a));Me.call(Le,a,b,c)}};function Ne(){this.cache={}}Ne.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({s:b,styleElement:c,m:d});100<e.length&&e.shift();this.cache[a]=e};Ne.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d],f;a:{for(f=0;f<c.length;f++){var h=c[f];if(e.s[h]!==b[h]){f=!1;break a}}f=!0}if(f)return e}};function Oe(){}function Pe(a){var b=[];a.classList?b=Array.from(a.classList):a instanceof window.SVGElement&&a.hasAttribute("class")&&(b=a.getAttribute("class").split(/\s+/));a=b;b=a.indexOf(U.a);return-1<b?a[b+1]:""}function Qe(a){var b=a.getRootNode();return b===a||b===a.ownerDocument?"":(a=b.host)?S(a).is:""}
function Re(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode(),h=Pe(e);if(h&&f===e.ownerDocument&&("style"!==e.localName&&"template"!==e.localName||""===T(e)))Sd(e,h);else if(f instanceof ShadowRoot)for(f=Qe(e),f!==h&&Rd(e,h,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+U.a+")"),h=0;h<e.length;h++){f=e[h];
var g=Qe(f);g&&V(f,g)}}}}}
if(!(N||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Se=new MutationObserver(Re),Te=function(a){Se.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Te(document);else{var Ue=function(){Te(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ue):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){Ue();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",
a)}else Ue()})}Oe=function(){Re(Se.takeRecords())}}var Ve=Oe;var We={};var Xe=Promise.resolve();function Ye(a){if(a=We[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Ze(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function $e(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.c||(a.c=!0,Xe.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.c=!1}))};var af=new Ne;function Y(){this.P={};this.c=document.documentElement;var a=new ed;a.rules=[];this.i=ue(this.c,new te(a));this.C=!1;this.b=this.a=null}m=Y.prototype;m.flush=function(){Ve()};m.sa=function(a){return Ed(a)};m.Aa=function(a){return P(a)};m.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)};
m.prepareTemplateStyles=function(a,b,c){if(!a.P){N||X[b]||(X[b]=Id(b));a.P=!0;a.name=b;a.extends=c;We[b]=a;var d=T(a);var e=[];for(var f=a.content.querySelectorAll("style"),h=0;h<f.length;h++){var g=f[h];if(g.hasAttribute("shady-unscoped")){if(!N){var k=g.textContent;Dd.has(k)||(Dd.add(k),k=g.cloneNode(!0),document.head.appendChild(k));g.parentNode.removeChild(g)}}else e.push(g.textContent),g.parentNode.removeChild(g)}e=e.join("").trim();c={is:b,extends:c};bf(this);if(f=""===T(a))f=yd.test(e)||xd.test(e),
yd.lastIndex=0,xd.lastIndex=0;e=fd(e);f&&O&&this.a&&this.a.transformRules(e,b);a._styleAst=e;e=[];O||(e=ye(a._styleAst));if(!e.length||O)f=N?a.content:null,b=X[b]||null,d=Td(c,a._styleAst,null,d),d=d.length?Gd(d,c.is,f,b):void 0,a.b=d;a.C=e}};m.prepareTemplateDom=function(a,b){var c=T(a);N||"shady"===c||a.i||(a.i=!0,Od(a.content,b))};
function cf(a){!a.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.b=window.ShadyCSS.CustomStyleInterface,a.b.transformCallback=function(b){a.ea(b)},a.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.C)&&a.flushCustomStyles()})})}function bf(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(a.a=window.ShadyCSS.ApplyShim,a.a.invalidCallback=Ye);cf(a)}
m.flushCustomStyles=function(){bf(this);if(this.b){var a=this.b.processStyles();if(this.b.enqueued){if(O)for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);if(c&&O&&this.a){var d=Ed(c);bf(this);this.a.transformRules(d);c.textContent=P(d)}}else for(df(this,this.c,this.i),b=0;b<a.length;b++)(c=this.b.getStyleForCustomStyle(a[b]))&&Je(c,this.i.w);this.b.enqueued=!1;this.C&&!O&&this.styleDocument()}}};
m.styleElement=function(a,b){var c=W(a);if(!c){var d=S(a);c=d.is;d=d.G;var e=X[c]||null;c=We[c];if(c){var f=c._styleAst;var h=c.C;var g=T(c)}f=new te(f,e,h,d,g);c&&ue(a,f);c=f}a!==this.c&&(this.C=!0);b&&(c.B=c.B||{},Object.assign(c.B,b));if(O){b=c;f=S(a).is;if(b.B){h=b.B;for(var k in h)null===k?a.style.removeProperty(k):a.style.setProperty(k,h[k])}if(!(!(k=We[f])&&a!==this.c||k&&""!==T(k))&&k&&k.b&&!Ze(k)){if(Ze(k)||k._applyShimValidatingVersion!==k._applyShimNextVersion)bf(this),this.a&&this.a.transformRules(k._styleAst,
f),k.b.textContent=Td(a,b.u),$e(k);N&&(f=a.shadowRoot)&&(f=f.querySelector("style"))&&(f.textContent=Td(a,b.u));b.u=k._styleAst}}else if(k=c,this.flush(),df(this,a,k),k.c&&k.c.length){b=S(a).is;c=(f=af.fetch(b,k.w,k.c))?f.styleElement:null;h=k.m;(g=f&&f.m)||(g=this.P[b]=(this.P[b]||0)+1,g=b+"-"+g);k.m=g;g=k.m;d=Ke;d=c?c.textContent||"":Ge(d,a,k.w,g);e=W(a);var l=e.a;l&&!N&&l!==c&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));N?e.a?(e.a.textContent=d,c=e.a):d&&(c=Gd(d,g,
a.shadowRoot,e.b)):c?c.parentNode||(we&&-1<d.indexOf("@media")&&(c.textContent=d),Hd(c,null,e.b)):d&&(c=Gd(d,g,null,e.b));c&&(c._useCount=c._useCount||0,e.a!=c&&c._useCount++,e.a=c);g=c;N||(c=k.m,e=d=a.getAttribute("class")||"",h&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+h+"\\s*","g")," ")),e+=(e?" ":"")+"x-scope "+c,d!==e&&Ld(a,e));f||af.store(b,k.w,g,k.m)}};function ef(a,b){return(b=b.getRootNode().host)?W(b)?b:ef(a,b):a.c}
function df(a,b,c){a=ef(a,b);var d=W(a);a=Object.create(d.w||null);var e=Fe(b,c.u,c.N);b=De(d.u,b).s;Object.assign(a,e.ua,b,e.wa);b=c.B;for(var f in b)if((e=b[f])||0===e)a[f]=e;f=Ke;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=Be(f,a[d],a);c.w=a}m.styleDocument=function(a){this.styleSubtree(this.c,a)};
function hd(){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 id(a){a=a.replace(jd,"").replace(kd,"");var b=ld,c=a,d=new hd;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 hd;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 ld(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=md(c),c=c.replace(nd," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=od:c.match(pd)&&(a.type=qd,a.keyframesName=a.selector.split(nd).pop()):a.type=0===c.indexOf("--")?rd:sd);if(c=a.rules)for(var d=0,e=c.length,f=void 0;d<e&&(f=c[d]);d++)ld(f,
b);return a}function md(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 td(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=void 0;f<g&&(h=e[f]);f++)d=td(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(ud,"").replace(vd,""),b=b.replace(wd,"").replace(xd,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}
var sd=1,qd=7,od=4,rd=1E3,jd=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,kd=/@import[^;]*;/gim,ud=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,vd=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,wd=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,xd=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,pd=/^@[^\s]*keyframes/,nd=/\s+/g;var N=!(window.ShadyDOM&&window.ShadyDOM.inUse),yd;function zd(a){yd=a&&a.shimcssproperties?!1:N||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}var Ad;window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(Ad=window.ShadyCSS.cssBuild);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?yd=window.ShadyCSS.nativeCss:window.ShadyCSS?(zd(window.ShadyCSS),window.ShadyCSS=void 0):zd(window.WebComponents&&window.WebComponents.flags);
var O=yd,Bd=Ad;var Cd=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Dd=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ed=/(--[\w-]+)\s*([:,;)]|$)/gi,Fd=/(animation\s*:)|(animation-name\s*:)/,Gd=/@media\s(.*)/,Hd=/\{[^}]*\}/g;var Id=new Set;function P(a,b){if(!a)return"";"string"===typeof a&&(a=id(a));b&&Q(a,b);return td(a,O)}function Jd(a){!a.__cssRules&&a.textContent&&(a.__cssRules=id(a.textContent));return a.__cssRules||null}function Kd(a){return!!a.parent&&a.parent.type===qd}function Q(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===od){var g=a.selector.match(Gd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===sd?b(a):c&&f===qd?c(a):f===rd&&(e=!0);if((a=a.rules)&&!e)for(e=0,f=a.length,g=void 0;e<f&&(g=a[e]);e++)Q(g,b,c,d)}}
function Ld(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Md(e,c,d);return e}var R=null;function Nd(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(R?R.nextSibling:null)||b.firstChild);return R=a}function Md(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);R?a.compareDocumentPosition(R)===Node.DOCUMENT_POSITION_PRECEDING&&(R=a):R=a}
function Od(a,b){for(var c=0,d=a.length;b<d;b++)if("("===a[b])c++;else if(")"===a[b]&&0===--c)return b;return-1}function Pd(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=Od(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=Pd(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 Qd(a,b){N?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}
function S(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,G:c}}function Rd(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=Od(a,d);c+=a.slice(d,e+1);d=e}else","===a[d]?(b.push(c),c=""):c+=a[d];c&&b.push(c);return b}
function T(a){if(void 0!==Bd)return Bd;if(void 0===a.__cssBuild){var b=a.getAttribute("css-build");if(b)a.__cssBuild=b;else{a:{b="template"===a.localName?a.content.firstChild:a.firstChild;if(b instanceof Comment&&(b=b.textContent.trim().split(":"),"css-build"===b[0])){b=b[1];break a}b=""}if(""!==b){var c="template"===a.localName?a.content.firstChild:a.firstChild;c.parentNode.removeChild(c)}a.__cssBuild=b}}return a.__cssBuild||""}
function Sd(a){a=void 0===a?"":a;return""!==a&&O?N?"shadow"===a:"shady"===a:!1};function Td(){}function Ud(a,b){Vd(U,a,function(a){V(a,b||"")})}function Vd(a,b,c){b.nodeType===Node.ELEMENT_NODE&&c(b);var d;"template"===b.localName?d=(b.content||b._content||b).childNodes:d=b.children||b.childNodes;if(d)for(b=0;b<d.length;b++)Vd(a,d[b],c)}
function V(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute("class");c?d&&(b=d.replace("style-scope","").replace(b,""),Qd(a,b)):Qd(a,(d?d+" ":"")+"style-scope "+b)}}function Wd(a,b,c){Vd(U,a,function(a){V(a,b,!0);V(a,c)})}function Xd(a,b){Vd(U,a,function(a){V(a,b||"",!0)})}
function Yd(a,b,c,d,e){var f=U;e=void 0===e?"":e;""===e&&(N||"shady"===(void 0===d?"":d)?e=P(b,c):(a=S(a),e=Zd(f,b,a.is,a.G,c)+"\n\n"));return e.trim()}function Zd(a,b,c,d,e){var f=$d(c,d);c=c?"."+c:"";return P(b,function(b){b.c||(b.selector=b.j=ae(a,b,a.b,c,f),b.c=!0);e&&e(b,c,f)})}function $d(a,b){return b?"[is="+a+"]":a}
function ae(a,b,c,d,e){var f=Rd(b.selector);if(!Kd(b)){b=0;for(var g=f.length,h=void 0;b<g&&(h=f[b]);b++)f[b]=c.call(a,h,d,e)}return f.filter(function(a){return!!a}).join(",")}function be(a){return a.replace(ce,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}
function de(a){for(var b=[],c;c=a.match(ee);){var d=c.index,e=Od(a,d);if(-1===e)throw Error(c.input+" selector missing ')'");c=a.slice(d,e+1);a=a.replace(c,"\ue000");b.push(c)}return{V:a,matches:b}}function fe(a,b){var c=a.split("\ue000");return b.reduce(function(a,b,f){return a+b+c[f+1]},c[0])}
Td.prototype.b=function(a,b,c){var d=!1;a=a.trim();var e=ce.test(a);e&&(a=a.replace(ce,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=be(a));var f=ee.test(a);if(f){var g=de(a);a=g.V;g=g.matches}a=a.replace(ge,":host $1");a=a.replace(he,function(a,e,f){d||(a=ie(f,e,b,c),d=d||a.stop,e=a.oa,f=a.value);return e+f});f&&(a=fe(a,g));e&&(a=be(a));return a};
function ie(a,b,c,d){var e=a.indexOf("::slotted");0<=a.indexOf(":host")?a=je(a,d):0!==e&&(a=c?ke(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(le,function(a,b){return" > "+b}))}a=a.replace(me,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,oa:b,stop:f}}
function ke(a,b){a=a.split(/(\[.+?\])/);for(var c=[],d=0;d<a.length;d++)if(1===d%2)c.push(a[d]);else{var e=a[d];if(""!==e||d!==a.length-1)e=e.split(":"),e[0]+=b,c.push(e.join(":"))}return c.join("")}function je(a,b){var c=a.match(ne);return(c=c&&c[2].trim()||"")?c[0].match(oe)?a.replace(ne,function(a,c,f){return b+f}):c.split(oe)[0]===b?c:"should_not_match":a.replace(":host",b)}function pe(a){":root"===a.selector&&(a.selector="html")}
Td.prototype.c=function(a){return a.match(":host")?"":a.match("::slotted")?this.b(a,":not(.style-scope)"):ke(a.trim(),":not(.style-scope)")};p.Object.defineProperties(Td.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});
var ce=/:(nth[-\w]+)\(([^)]+)\)/,he=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,oe=/[[.:#*]/,ge=/^(::slotted)/,ne=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,le=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,me=/(.*):dir\((?:(ltr|rtl))\)/,ee=/:(?:matches|any|-(?:webkit|moz)-any)/,U=new Td;function qe(a,b,c,d,e){this.u=a||null;this.b=b||null;this.c=c||[];this.B=null;this.cssBuild=e||"";this.G=d||"";this.a=this.m=this.w=null}function W(a){return a?a.__styleInfo:null}function re(a,b){return a.__styleInfo=b}qe.prototype.i=function(){return this.u};qe.prototype._getStyleRules=qe.prototype.i;function se(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var te=navigator.userAgent.match("Trident");function ue(){}function ve(a){var b={},c=[],d=0;Q(a,function(a){we(a);a.index=d++;a=a.h.cssText;for(var c;c=Ed.exec(a);){var e=c[1];":"!==c[2]&&(b[e]=!0)}},function(a){c.push(a)});a.b=c;a=[];for(var e in b)a.push(e);return a}
function we(a){if(!a.h){var b={},c={};xe(a,c)&&(b.s=c,a.rules=null);b.cssText=a.parsedCssText.replace(Hd,"").replace(Cd,"");a.h=b}}function xe(a,b){var c=a.h;if(c){if(c.s)return Object.assign(b,c.s),!0}else{c=a.parsedCssText;for(var d;a=Cd.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
function ye(a,b,c){b&&(b=0<=b.indexOf(";")?ze(a,b,c):Pd(b,function(b,e,f,g){if(!e)return b+g;(e=ye(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=ye(a,c[f]||f,c)||f;return b+(e||"")+g}));return b&&b.trim()||""}
function ze(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){Dd.lastIndex=0;if(f=Dd.exec(e))e=ye(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var g=e.substring(f);g=g.trim();g=ye(a,g,c)||g;e=e.substring(0,f)+g}b[d]=e&&e.lastIndexOf(";")===e.length-1?e.slice(0,-1):e||""}return b.join(";")}
function Ae(a,b){var c={},d=[];Q(a,function(a){a.h||we(a);var e=a.j||a.parsedSelector;b&&a.h.s&&e&&se.call(b,e)&&(xe(a,c),a=a.index,e=parseInt(a/32,10),d[e]=(d[e]||0)|1<<a%32)},null,!0);return{s:c,key:d}}
function Be(a,b,c,d){b.h||we(b);if(b.h.s){var e=S(a);a=e.is;e=e.G;e=a?$d(a,e):"html";var f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));if(g||h)c=e,h&&(b.j||(b.j=ae(U,b,U.b,a?"."+a:"",e)),c=b.j||e),d({V:c,ta:h,Ma:g})}}function Ce(a,b,c){var d={},e={};Q(b,function(b){Be(a,b,c,function(c){se.call(a._element||a,c.V)&&(c.ta?xe(b,d):xe(b,e))})},null,!0);return{ua:e,sa:d}}
function De(a,b,c,d){var e=S(b),f=$d(e.is,e.G),g=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),h=W(b);e=h.u;h=h.cssBuild;var k=Ee(e,d);return Yd(b,e,function(b){var e="";b.h||we(b);b.h.cssText&&(e=ze(a,b.h.cssText,c));b.cssText=e;if(!N&&!Kd(b)&&b.cssText){var h=e=b.cssText;null==b.$&&(b.$=Fd.test(e));if(b.$)if(null==b.N){b.N=[];for(var l in k)h=k[l],h=h(e),e!==h&&(e=h,b.N.push(l))}else{for(l=0;l<b.N.length;++l)h=k[b.N[l]],e=h(e);h=e}b.cssText=h;b.j=b.j||b.selector;
e="."+d;l=Rd(b.j);h=0;for(var da=l.length,Ha=void 0;h<da&&(Ha=l[h]);h++)l[h]=Ha.match(g)?Ha.replace(f,e):e+" "+Ha;b.selector=l.join(",")}},h)}function Ee(a,b){a=a.b;var c={};if(!N&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,g=b;f.i=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.a=f.keyframesName+"-"+g;f.j=f.j||f.selector;f.selector=f.j.replace(f.keyframesName,f.a);c[e.keyframesName]=Fe(e)}return c}function Fe(a){return function(b){return b.replace(a.i,a.a)}}
function Ge(a,b){var c=He,d=Jd(a);a.textContent=P(d,function(a){var d=a.cssText=a.parsedCssText;a.h&&a.h.cssText&&(d=d.replace(ud,"").replace(vd,""),a.cssText=ze(c,d,b))})}p.Object.defineProperties(ue.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var He=new ue;var X={},Ie=window.customElements;if(Ie&&!N){var Je=Ie.define;Ie.define=function(a,b,c){X[a]||(X[a]=Nd(a));Je.call(Ie,a,b,c)}};function Ke(){this.cache={}}Ke.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({s:b,styleElement:c,m:d});100<e.length&&e.shift();this.cache[a]=e};Ke.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d],f;a:{for(f=0;f<c.length;f++){var g=c[f];if(e.s[g]!==b[g]){f=!1;break a}}f=!0}if(f)return e}};function Le(){}var Me=new RegExp(U.a+"\\s*([^\\s]*)");function Ne(a){return(a=(a.classList&&a.classList.value?a.classList.value:a.getAttribute("class")||"").match(Me))?a[1]:""}function Oe(a){var b=a.getRootNode();return b===a||b===a.ownerDocument?"":(a=b.host)?S(a).is:""}
function Pe(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=Ne(e);if(g&&f===e.ownerDocument&&("style"!==e.localName&&"template"!==e.localName||""===T(e)))Xd(e,g);else if(f instanceof ShadowRoot)for(f=Oe(e),f!==g&&Wd(e,g,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+U.a+")"),g=0;g<e.length;g++){f=e[g];
var h=Oe(f);h&&V(f,h)}}}}}
if(!(N||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Qe=new MutationObserver(Pe),Re=function(a){Qe.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Re(document);else{var Se=function(){Re(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Se):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){Se();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",
a)}else Se()})}Le=function(){Pe(Qe.takeRecords())}}var Te=Le;var Ue={};var Ve=Promise.resolve();function We(a){if(a=Ue[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Xe(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Ye(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a._validating||(a._validating=!0,Ve.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a._validating=!1}))};var Ze=new Ke;function Y(){this.Z={};this.c=document.documentElement;var a=new hd;a.rules=[];this.i=re(this.c,new qe(a));this.T=!1;this.b=this.a=null}m=Y.prototype;m.flush=function(){Te()};m.qa=function(a){return Jd(a)};m.ya=function(a){return P(a)};m.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)};
m.prepareTemplateStyles=function(a,b,c){if(!a._prepared){N||X[b]||(X[b]=Nd(b));a._prepared=!0;a.name=b;a.extends=c;Ue[b]=a;var d=T(a),e=Sd(d);c={is:b,extends:c};var f=[];for(var g=a.content.querySelectorAll("style"),h=0;h<g.length;h++){var k=g[h];if(k.hasAttribute("shady-unscoped")){if(!N){var l=k.textContent;Id.has(l)||(Id.add(l),l=k.cloneNode(!0),document.head.appendChild(l));k.parentNode.removeChild(k)}}else f.push(k.textContent),k.parentNode.removeChild(k)}f=f.join("").trim();$e(this);if(!e){if(g=
!d)g=Dd.test(f)||Cd.test(f),Dd.lastIndex=0,Cd.lastIndex=0;h=id(f);g&&O&&this.a&&this.a.transformRules(h,b);a._styleAst=h}g=[];O||(g=ve(a._styleAst));if(!g.length||O)h=N?a.content:null,b=X[b]||null,d=Yd(c,a._styleAst,null,d,e?f:""),d=d.length?Ld(d,c.is,h,b):null,a._style=d;a.a=g}};m.prepareTemplateDom=function(a,b){var c=T(a);N||"shady"===c||a._domPrepared||(a._domPrepared=!0,Ud(a.content,b))};
function af(a){!a.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.b=window.ShadyCSS.CustomStyleInterface,a.b.transformCallback=function(b){a.ca(b)},a.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.T)&&a.flushCustomStyles()})})}function $e(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(a.a=window.ShadyCSS.ApplyShim,a.a.invalidCallback=We);af(a)}
m.flushCustomStyles=function(){$e(this);if(this.b){var a=this.b.processStyles();if(this.b.enqueued&&!Sd(this.i.cssBuild)){if(O){if(!this.i.cssBuild)for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);if(c&&O&&this.a){var d=Jd(c);$e(this);this.a.transformRules(d);c.textContent=P(d)}}}else{bf(this,this.c,this.i);for(b=0;b<a.length;b++)(c=this.b.getStyleForCustomStyle(a[b]))&&Ge(c,this.i.w);this.T&&this.styleDocument()}this.b.enqueued=!1}}};
m.styleElement=function(a,b){var c=W(a);if(!c){var d=S(a);c=d.is;d=d.G;var e=X[c]||null;c=Ue[c];if(c){var f=c._styleAst;var g=c.a;var h=T(c)}f=new qe(f,e,g,d,h);c&&re(a,f);c=f}a!==this.c&&(this.T=!0);b&&(c.B=c.B||{},Object.assign(c.B,b));if(O){b=c;f=S(a).is;if(b.B){g=b.B;for(var k in g)null===k?a.style.removeProperty(k):a.style.setProperty(k,g[k])}if(!(!(k=Ue[f])&&a!==this.c||k&&""!==T(k))&&k&&k._style&&!Xe(k)){if(Xe(k)||k._applyShimValidatingVersion!==k._applyShimNextVersion)$e(this),this.a&&this.a.transformRules(k._styleAst,
f),k._style.textContent=Yd(a,b.u),Ye(k);N&&(f=a.shadowRoot)&&(f=f.querySelector("style"))&&(f.textContent=Yd(a,b.u));b.u=k._styleAst}}else if(k=c,this.flush(),bf(this,a,k),k.c&&k.c.length){b=S(a).is;c=(f=Ze.fetch(b,k.w,k.c))?f.styleElement:null;g=k.m;(h=f&&f.m)||(h=this.Z[b]=(this.Z[b]||0)+1,h=b+"-"+h);k.m=h;h=k.m;d=He;d=c?c.textContent||"":De(d,a,k.w,h);e=W(a);var l=e.a;l&&!N&&l!==c&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));N?e.a?(e.a.textContent=d,c=e.a):d&&(c=Ld(d,
h,a.shadowRoot,e.b)):c?c.parentNode||(te&&-1<d.indexOf("@media")&&(c.textContent=d),Md(c,null,e.b)):d&&(c=Ld(d,h,null,e.b));c&&(c._useCount=c._useCount||0,e.a!=c&&c._useCount++,e.a=c);h=c;N||(c=k.m,e=d=a.getAttribute("class")||"",g&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+g+"\\s*","g")," ")),e+=(e?" ":"")+"x-scope "+c,d!==e&&Qd(a,e));f||Ze.store(b,k.w,h,k.m)}};function cf(a,b){return(b=b.getRootNode().host)?W(b)?b:cf(a,b):a.c}
function bf(a,b,c){a=cf(a,b);var d=W(a);a=Object.create(d.w||null);var e=Ce(b,c.u,c.cssBuild);b=Ae(d.u,b).s;Object.assign(a,e.sa,b,e.ua);b=c.B;for(var f in b)if((e=b[f])||0===e)a[f]=e;f=He;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=ye(f,a[d],a);c.w=a}m.styleDocument=function(a){this.styleSubtree(this.c,a)};
m.styleSubtree=function(a,b){var c=a.shadowRoot;(c||a===this.c)&&this.styleElement(a,b);if(b=c&&(c.children||c.childNodes))for(a=0;a<b.length;a++)this.styleSubtree(b[a]);else if(a=a.children||a.childNodes)for(b=0;b<a.length;b++)this.styleSubtree(a[b])};
m.ea=function(a){var b=this,c=Ed(a),d=T(a);d!==this.i.N&&(this.i.N=d);Q(c,function(a){if(N)qe(a);else{var c=U;a.selector=a.parsedSelector;qe(a);a.selector=a.j=Xd(c,a,c.c,void 0,void 0)}O&&""===d&&(bf(b),b.a&&b.a.transformRule(a))});O?a.textContent=P(c):this.i.u.rules.push(c)};m.getComputedStyleValue=function(a,b){var c;O||(c=(W(a)||W(ef(this,a))).w[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};
m.za=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===U.a){c=d[e+1];break}}}c&&b.push(U.a,c);O||(c=W(a))&&c.m&&b.push(Ke.a,c.m);Ld(a,b.join(" "))};m.pa=function(a){return W(a)};m.ya=function(a,b){V(a,b)};m.Ba=function(a,b){V(a,b,!0)};m.xa=function(a){return Qe(a)};m.ra=function(a){return Pe(a)};Y.prototype.flush=Y.prototype.flush;Y.prototype.prepareTemplate=Y.prototype.prepareTemplate;
Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.za;Y.prototype._styleInfoForNode=Y.prototype.pa;Y.prototype.transformCustomStyleForDocument=Y.prototype.ea;Y.prototype.getStyleAst=Y.prototype.sa;Y.prototype.styleAstToString=Y.prototype.Aa;Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles;
Y.prototype.scopeNode=Y.prototype.ya;Y.prototype.unscopeNode=Y.prototype.Ba;Y.prototype.scopeForNode=Y.prototype.xa;Y.prototype.currentScopeForNode=Y.prototype.ra;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return N}},nativeCss:{get:function(){return O}}});var Z=new Y,ff,gf;window.ShadyCSS&&(ff=window.ShadyCSS.ApplyShim,gf=window.ShadyCSS.CustomStyleInterface);
m.ca=function(a){var b=this,c=T(a);c!==this.i.cssBuild&&(this.i.cssBuild=c);if(!Sd(c)){var d=Jd(a);Q(d,function(a){if(N)pe(a);else{var d=U;a.selector=a.parsedSelector;pe(a);a.selector=a.j=ae(d,a,d.c,void 0,void 0)}O&&""===c&&($e(b),b.a&&b.a.transformRule(a))});O?a.textContent=P(d):this.i.u.rules.push(d)}};m.getComputedStyleValue=function(a,b){var c;O||(c=(W(a)||W(cf(this,a))).w[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};
m.xa=function(a,b){var c=a.getRootNode();b=b?b.split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===U.a){c=d[e+1];break}}}c&&b.push(U.a,c);O||(c=W(a))&&c.m&&b.push(He.a,c.m);Qd(a,b.join(" "))};m.na=function(a){return W(a)};m.wa=function(a,b){V(a,b)};m.za=function(a,b){V(a,b,!0)};m.va=function(a){return Oe(a)};m.pa=function(a){return Ne(a)};Y.prototype.flush=Y.prototype.flush;Y.prototype.prepareTemplate=Y.prototype.prepareTemplate;
Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.xa;Y.prototype._styleInfoForNode=Y.prototype.na;Y.prototype.transformCustomStyleForDocument=Y.prototype.ca;Y.prototype.getStyleAst=Y.prototype.qa;Y.prototype.styleAstToString=Y.prototype.ya;Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles;
Y.prototype.scopeNode=Y.prototype.wa;Y.prototype.unscopeNode=Y.prototype.za;Y.prototype.scopeForNode=Y.prototype.va;Y.prototype.currentScopeForNode=Y.prototype.pa;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return N}},nativeCss:{get:function(){return O}}});var Z=new Y,df,ef;window.ShadyCSS&&(df=window.ShadyCSS.ApplyShim,ef=window.ShadyCSS.CustomStyleInterface);
window.ShadyCSS={ScopingShim:Z,prepareTemplate:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplate(a,b,c)},prepareTemplateDom:function(a,b){Z.prepareTemplateDom(a,b)},prepareTemplateStyles:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplateStyles(a,b,c)},styleSubtree:function(a,b){Z.flushCustomStyles();Z.styleSubtree(a,b)},styleElement:function(a){Z.flushCustomStyles();Z.styleElement(a)},styleDocument:function(a){Z.flushCustomStyles();Z.styleDocument(a)},flushCustomStyles:function(){Z.flushCustomStyles()},
getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:O,nativeShadow:N};ff&&(window.ShadyCSS.ApplyShim=ff);gf&&(window.ShadyCSS.CustomStyleInterface=gf);}).call(this);
getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:O,nativeShadow:N,cssBuild:Bd};df&&(window.ShadyCSS.ApplyShim=df);ef&&(window.ShadyCSS.CustomStyleInterface=ef);}).call(this);
//# sourceMappingURL=webcomponents-sd.js.map

@@ -13,4 +13,4 @@ /**

(function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.hasOwnProperty('polyfillWrapFlushCallback'))return;const a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)},HTMLElement.prototype=a.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,a);})();
(function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.hasOwnProperty('polyfillWrapFlushCallback'))return;const a=HTMLElement;window.HTMLElement=function HTMLElement(){return Reflect.construct(a,[],this.constructor)},HTMLElement.prototype=a.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,a);})();
}());
{
"name": "@webcomponents/webcomponentsjs",
"version": "2.1.3",
"version": "2.2.0",
"description": "Web Components Polyfills",

@@ -34,5 +34,5 @@ "main": "webcomponents-bundle.js",

"@gulp-sourcemaps/sources-content": "^1.0.0",
"@webcomponents/custom-elements": "^1.2.0",
"@webcomponents/shadycss": "^1.5.2",
"@webcomponents/shadydom": "^1.2.0",
"@webcomponents/custom-elements": "^1.2.1",
"@webcomponents/shadycss": "^1.6.0",
"@webcomponents/shadydom": "^1.3.1",
"@webcomponents/template": "^1.4.0",

@@ -44,4 +44,4 @@ "@webcomponents/url": "^0.7.1",

"del": "^3.0.0",
"eslint": "^5.6.0",
"eslint-plugin-html": "^4.0.5",
"eslint": "^5.9.0",
"eslint-plugin-html": "^4.0.6",
"get-own-property-symbols": "^0.9.2",

@@ -57,7 +57,7 @@ "google-closure-compiler": "^20180805.0.0",

"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.1.4",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-license": "^0.6.0",
"run-sequence": "^2.2.1",
"wct-browser-legacy": "^1.0.1",
"web-component-tester": "^6.7.1"
"wct-browser-legacy": "^1.0.2",
"web-component-tester": "^6.9.0"
},

@@ -64,0 +64,0 @@ "publishConfig": {

@@ -20,3 +20,3 @@ [![Build Status](https://travis-ci.org/webcomponents/webcomponentsjs.svg?branch=master)](https://travis-ci.org/webcomponents/webcomponentsjs)

- [`HTMLTemplateElement`](https://github.com/webcomponents/template)
- [`Promise`](https://github.com/stefanpenner/es6-promise)
- [`Promise`](https://github.com/taylorhakes/promise-polyfill)
- `Event`, `CustomEvent`, `MouseEvent` constructors and `Object.assign`, `Array.from`

@@ -32,3 +32,3 @@ (see [webcomponents-platform](https://github.com/webcomponents/webcomponents-platform))

You can also load the code from a CDN such as unpkg: https://unpkg.com/@webcomponents/webcomponentsjs@2.0.0/
You can also load the code from a CDN such as unpkg: https://unpkg.com/@webcomponents/webcomponentsjs@^2/

@@ -218,3 +218,2 @@ ### Using `webcomponents-bundle.js`

* [Custom element's constructor property is unreliable](#constructor)
* [Contenteditable elements do not trigger MutationObserver](#contentedit)
* [ShadyCSS: :host(.zot:not(.bar:nth-child(2))) doesn't work](#nestedparens)

@@ -232,7 +231,3 @@

### Contenteditable elements do not trigger MutationObserver <a id="contentedit"></a>
Using the MutationObserver polyfill, it isn't possible to monitor mutations of an element marked `contenteditable`.
See [the mailing list](https://groups.google.com/forum/#!msg/polymer-dev/LHdtRVXXVsA/v1sGoiTYWUkJ)
### ShadyCSS: :host(.zot:not(.bar:nth-child(2))) doesn't work <a id="nestedparens"></a>
ShadyCSS `:host()` rules can only have (at most) 1-level of nested parentheses in its argument selector under ShadyCSS. For example, `:host(.zot)` and `:host(.zot:not(.bar))` both work, but `:host(.zot:not(.bar:nth-child(2)))` does not.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc