formbuilder-lhcforms 9.0.3 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,10 +34,10 @@ this;return C.firstChild()}},lastChild:{get:function(){C.currentNode=this;return
34
34
  document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),c="",d;d=b.nextNode();)c+=d.nodeValue;return c;default:return this.nodeValue}},set:function(b){if("undefined"===typeof b||null===b)b="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Za(this);(0<b.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(b),void 0);break;default:this.nodeValue=b}}}});B(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" "));
35
35
  B(HTMLElement.prototype,["parentElement","contains"]);a={firstElementChild:{get:function(){D.currentNode=this;return D.firstChild()}},lastElementChild:{get:function(){D.currentNode=this;return D.lastChild()}},children:{get:function(){var b=[];D.currentNode=this;for(var c=D.firstChild();c;)b.push(c),c=D.nextSibling();return ta(b)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};Ta?(B(Element.prototype,$a),B(Element.prototype,["previousElementSibling","nextElementSibling",
36
36
  "innerHTML","className"]),B(HTMLElement.prototype,["children","innerHTML","className"])):(Xa(Element.prototype,a),Xa(Element.prototype,{previousElementSibling:{get:function(){D.currentNode=this;return D.previousSibling()}},nextElementSibling:{get:function(){D.currentNode=this;return D.nextSibling()}},innerHTML:{get:function(){return Sa(this,ua)},set:function(b){var c="template"===this.localName?this.content:this;Za(c);var d=this.localName||"div";d=this.namespaceURI&&this.namespaceURI!==Ya.namespaceURI?
37
- Ya.createElementNS(this.namespaceURI,d):Ya.createElement(d);d.innerHTML=b;for(b="template"===this.localName?d.content:d;d=b.__shady_native_firstChild;)c.__shady_native_insertBefore(d,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(b){this.setAttribute("class",b)}}}));B(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" "));B(Element.prototype,ab);B(HTMLElement.prototype,["focus","blur"]);window.HTMLTemplateElement&&
38
- B(window.HTMLTemplateElement.prototype,["innerHTML"]);Ta?B(DocumentFragment.prototype,$a):Xa(DocumentFragment.prototype,a);B(DocumentFragment.prototype,ab);Ta?(B(Document.prototype,$a),B(Document.prototype,["activeElement"])):Xa(Document.prototype,a);B(Document.prototype,["importNode","getElementById","elementFromPoint",ia()]);B(Document.prototype,ab)};var db=A({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),eb=A({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=
37
+ Ya.createElementNS(this.namespaceURI,d):Ya.createElement(d);d.innerHTML=b;for(b="template"===this.localName?d.content:d;d=b.__shady_native_firstChild;)c.__shady_native_insertBefore(d,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(b){this.setAttribute("class",b)}}}));B(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" "));B(Element.prototype,ab);B(HTMLElement.prototype,["focus","blur"]);window.HTMLTemplateElement&&
38
+ B(window.HTMLTemplateElement.prototype,["innerHTML"]);Ta?B(DocumentFragment.prototype,$a):Xa(DocumentFragment.prototype,a);B(DocumentFragment.prototype,ab);Ta?(B(Document.prototype,$a),B(Document.prototype,["activeElement"])):Xa(Document.prototype,a);B(Document.prototype,["importNode","getElementById","elementFromPoint",ia()]);B(Document.prototype,ab)};var cb=A({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),eb=A({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=
39
39
  a},get innerHTML(){return this.__shady_innerHTML},set innerHTML(a){this.__shady_innerHTML=a}}),fb=A({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(a){this.__shady_className=
40
- a}});function gb(a){for(var b in a){var c=a[b];c&&(c.enumerable=!1)}}gb(db);gb(eb);gb(fb);var hb=w.j||!0===w.s,ib=hb?function(){}:function(a){var b=t(a);b.Ba||(b.Ba=!0,xa(a,fb))},jb=hb?function(){}:function(a){var b=t(a);b.Aa||(b.Aa=!0,xa(a,db),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!w.s||xa(a,eb))};var kb="__eventWrappers"+Date.now(),lb=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),mb=function(){function a(){}var b=!1,c={get capture(){b=!0;return!1}};window.addEventListener("test",a,c);window.removeEventListener("test",a,c);return b}();function nb(a){if(null===a||"object"!==typeof a&&"function"!==typeof a){var b=!!a;var c=!1}else{b=!!a.capture;c=!!a.once;var d=a.G}return{xa:d,capture:b,once:c,wa:mb?a:b}}
40
+ a}});function gb(a){for(var b in a){var c=a[b];c&&(c.enumerable=!1)}}gb(cb);gb(eb);gb(fb);var hb=w.j||!0===w.s,ib=hb?function(){}:function(a){var b=t(a);b.Ba||(b.Ba=!0,xa(a,fb))},jb=hb?function(){}:function(a){var b=t(a);b.Aa||(b.Aa=!0,xa(a,cb),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!w.s||xa(a,eb))};var kb="__eventWrappers"+Date.now(),lb=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),mb=function(){function a(){}var b=!1,c={get capture(){b=!0;return!1}};window.addEventListener("test",a,c);window.removeEventListener("test",a,c);return b}();function nb(a){if(null===a||"object"!==typeof a&&"function"!==typeof a){var b=!!a;var c=!1}else{b=!!a.capture;c=!!a.once;var d=a.G}return{xa:d,capture:b,once:c,wa:mb?a:b}}
41
41
  var ob={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,
42
42
  drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},pb={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function qb(a){return a instanceof Node?a.__shady_getRootNode():a}
43
43
  function rb(a,b){var c=[],d=a;for(a=qb(a);d;)c.push(d),d=d.__shady_assignedSlot?d.__shady_assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.__shady_parentNode;c[c.length-1]===document&&c.push(window);return c}function sb(a){a.__composedPath||(a.__composedPath=rb(a.target,!0));return a.__composedPath}function tb(a,b){if(!y)return a;a=rb(a,!0);for(var c=0,d,e=void 0,f,g=void 0;c<b.length;c++)if(d=b[c],f=qb(d),f!==e&&(g=a.indexOf(f),e=f),!y(f)||-1<g)return d}
@@ -95,7 +95,7 @@ var zc=A({after:function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=argumen
95
95
  arguments[c];c=this.__shady_parentNode;if(null!==c){var d=this.__shady_nextSibling;c.__shady_removeChild(this);c.__shady_insertBefore(Aa.apply(null,r(b)),d)}}});var Ac=window.document;function Bc(a,b){if("slot"===b)a=a.__shady_parentNode,ja(a)&&F(u(a).root);else if("slot"===a.localName&&"name"===b&&(b=hc(a))){if(b.g){Cc(b);var c=a.Ca,d=Dc(a);if(d!==c){c=b.h[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.h[d]||(b.h[d]=[]);c.push(a);1<c.length&&(b.h[d]=Ec(c))}}F(b)}}
96
96
  var Fc=A({get previousElementSibling(){var a=u(this);if(a&&void 0!==a.previousSibling){for(a=this.__shady_previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_previousSibling;return a}return this.__shady_native_previousElementSibling},get nextElementSibling(){var a=u(this);if(a&&void 0!==a.nextSibling){for(a=this.__shady_nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_nextSibling;return a}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},
97
97
  set slot(a){this.__shady_setAttribute("slot",a)},get className(){return this.getAttribute("class")||""},set className(a){this.__shady_setAttribute("class",a)},setAttribute:function(a,b){this.ownerDocument!==Ac?this.__shady_native_setAttribute(a,b):Vb(this,a,b)||(this.__shady_native_setAttribute(a,b),Bc(this,a))},removeAttribute:function(a){this.ownerDocument!==Ac?this.__shady_native_removeAttribute(a):Vb(this,a,"")?""===this.getAttribute(a)&&this.__shady_native_removeAttribute(a):(this.__shady_native_removeAttribute(a),
98
- Bc(this,a))}});w.R||Nb.forEach(function(a){Fc[a]=Pb(a)});
98
+ Bc(this,a))},toggleAttribute:function(a,b){if(this.ownerDocument!==Ac)return this.__shady_native_toggleAttribute(a,b);if(!Vb(this,a,""))return b=this.__shady_native_toggleAttribute(a,b),Bc(this,a),b;if(""===this.getAttribute(a)&&!b)return this.__shady_native_toggleAttribute(a,b)}});w.R||Nb.forEach(function(a){Fc[a]=Pb(a)});
99
99
  var Kc=A({attachShadow:function(a){if(!this)throw Error("Must provide a host.");if(!a)throw Error("Not enough arguments.");if(a.shadyUpgradeFragment&&!w.za){var b=a.shadyUpgradeFragment;b.__proto__=ShadowRoot.prototype;Gc(b,this,a);Hc(b,b);a=b.__noInsertionPoint?null:b.querySelectorAll("slot");b.__noInsertionPoint=void 0;if(a&&a.length){var c=b;ic(c);c.i.push.apply(c.i,r(a));F(b)}b.host.__shady_native_appendChild(b)}else b=new Ic(Jc,this,a);return this.__CE_shadowRoot=b},get shadowRoot(){var a=u(this);
100
100
  return a&&a.Pa||null}});ya(Fc,Kc);var Lc=document.implementation.createHTMLDocument("inert"),Mc=A({get innerHTML(){return x(this)?Sa("template"===this.localName?this.content:this,va):this.__shady_native_innerHTML},set innerHTML(a){if("template"===this.localName)this.__shady_native_innerHTML=a;else{dc(this);var b=this.localName||"div";b=this.namespaceURI&&this.namespaceURI!==Lc.namespaceURI?Lc.createElementNS(this.namespaceURI,b):Lc.createElement(b);for(w.j?b.__shady_native_innerHTML=a:b.innerHTML=a;a=b.__shady_firstChild;)this.__shady_insertBefore(a)}}});var Nc=A({blur:function(){var a=u(this);(a=(a=a&&a.root)&&a.activeElement)?a.__shady_blur():this.__shady_native_blur()}});w.R||Ob.forEach(function(a){Nc[a]=Pb(a)});var Oc=A({assignedNodes:function(a){if("slot"===this.localName){var b=this.__shady_getRootNode();b&&y(b)&&nc(b);return(b=u(this))?(a&&a.flatten?b.L:b.assignedNodes)||[]:[]}},addEventListener:function(a,b,c){if("slot"!==this.localName||"slotchange"===a)Fb.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.G=this;d.__shady_addEventListener(a,b,c)}},removeEventListener:function(a,
101
101
  b,c){if("slot"!==this.localName||"slotchange"===a)Gb.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.G=this;d.__shady_removeEventListener(a,b,c)}}});var Pc=A({getElementById:function(a){return""===a?null:sc(this,function(b){return b.id==a},function(b){return!!b})[0]||null}});function Qc(a,b){for(var c;b&&!a.has(c=b.__shady_getRootNode());)b=c.host;return b}function Rc(a){var b=new Set;for(b.add(a);y(a)&&a.host;)a=a.host.__shady_getRootNode(),b.add(a);return b}
@@ -107,7 +107,7 @@ function $c(a){a.__shady_protoIsPatched=!0;I(a,H.EventTarget);I(a,H.Node);I(a,H.
107
107
  function dd(a,b,c,d){cd(a,1);d=d||null;var e=t(a),f=d?t(d):null;e.previousSibling=d?f.previousSibling:b.__shady_lastChild;if(f=u(e.previousSibling))f.nextSibling=a;if(f=u(e.nextSibling=d))f.previousSibling=a;e.parentNode=b;d?d===c.firstChild&&(c.firstChild=a):(c.lastChild=a,c.firstChild||(c.firstChild=a));c.childNodes=null}
108
108
  function jc(a,b,c){cd(b,2);var d=t(b);void 0!==d.firstChild&&(d.childNodes=null);if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(a=a.__shady_native_firstChild;a;a=a.__shady_native_nextSibling)dd(a,b,d,c);else dd(a,b,d,c)}
109
109
  function lc(a,b){var c=t(a);b=t(b);a===b.firstChild&&(b.firstChild=c.nextSibling);a===b.lastChild&&(b.lastChild=c.previousSibling);a=c.previousSibling;var d=c.nextSibling;a&&(t(a).nextSibling=d);d&&(t(d).previousSibling=a);c.parentNode=c.previousSibling=c.nextSibling=void 0;void 0!==b.childNodes&&(b.childNodes=null)}
110
- function Hc(a,b){var c=t(a);if(b||void 0===c.firstChild){c.childNodes=null;var d=c.firstChild=a.__shady_native_firstChild;c.lastChild=a.__shady_native_lastChild;cd(a,2);c=d;for(d=void 0;c;c=c.__shady_native_nextSibling){var e=t(c);e.parentNode=b||a;e.nextSibling=c.__shady_native_nextSibling;e.previousSibling=d||null;d=c;cd(c,1)}}};var ed=A({addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.G=c.G||this;this.host.__shady_addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.G=c.G||this;this.host.__shady_removeEventListener(a,b,c)}});function fd(a,b){z(a,ed,b);z(a,Tc,b);z(a,Mc,b);z(a,vc,b);w.s&&!b?(z(a,mc,b),z(a,Pc,b)):w.j||(z(a,fb),z(a,db),z(a,eb))};var Jc={},J=w.deferConnectionCallbacks&&"loading"===document.readyState,gd;function hd(a){var b=[];do b.unshift(a);while(a=a.__shady_parentNode);return b}function Ic(a,b,c){if(a!==Jc)throw new TypeError("Illegal constructor");this.g=null;Gc(this,b,c)}
110
+ function Hc(a,b){var c=t(a);if(b||void 0===c.firstChild){c.childNodes=null;var d=c.firstChild=a.__shady_native_firstChild;c.lastChild=a.__shady_native_lastChild;cd(a,2);c=d;for(d=void 0;c;c=c.__shady_native_nextSibling){var e=t(c);e.parentNode=b||a;e.nextSibling=c.__shady_native_nextSibling;e.previousSibling=d||null;d=c;cd(c,1)}}};var ed=A({addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.G=c.G||this;this.host.__shady_addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.G=c.G||this;this.host.__shady_removeEventListener(a,b,c)}});function fd(a,b){z(a,ed,b);z(a,Tc,b);z(a,Mc,b);z(a,vc,b);w.s&&!b?(z(a,mc,b),z(a,Pc,b)):w.j||(z(a,fb),z(a,cb),z(a,eb))};var Jc={},J=w.deferConnectionCallbacks&&"loading"===document.readyState,gd;function hd(a){var b=[];do b.unshift(a);while(a=a.__shady_parentNode);return b}function Ic(a,b,c){if(a!==Jc)throw new TypeError("Illegal constructor");this.g=null;Gc(this,b,c)}
111
111
  function Gc(a,b,c){a.host=b;a.mode=c&&c.mode;Hc(a.host);b=t(a.host);b.root=a;b.Pa="closed"!==a.mode?a:null;b=t(a);b.firstChild=b.lastChild=b.parentNode=b.nextSibling=b.previousSibling=null;if(w.preferPerformance)for(;b=a.host.__shady_native_firstChild;)a.host.__shady_native_removeChild(b);else F(a)}function F(a){a.K||(a.K=!0,Fa(function(){return nc(a)}))}
112
112
  function nc(a){var b;if(b=a.K){for(var c;a;)a:{a.K&&(c=a),b=a;a=b.host.__shady_getRootNode();if(y(a)&&(b=u(b.host))&&0<b.U)break a;a=void 0}b=c}(c=b)&&c._renderSelf()}
113
113
  Ic.prototype._renderSelf=function(){var a=J;J=!0;this.K=!1;if(this.g){Cc(this);for(var b=0,c;b<this.g.length;b++){c=this.g[b];var d=u(c),e=d.assignedNodes;d.assignedNodes=[];d.L=[];if(d.ra=e)for(d=0;d<e.length;d++){var f=u(e[d]);f.ha=f.assignedSlot;f.assignedSlot===c&&(f.assignedSlot=null)}}for(b=this.host.__shady_firstChild;b;b=b.__shady_nextSibling)id(this,b);for(b=0;b<this.g.length;b++){c=this.g[b];e=u(c);if(!e.assignedNodes.length)for(d=c.__shady_firstChild;d;d=d.__shady_nextSibling)id(this,d,
@@ -123,11 +123,11 @@ configurable:!0})})})(Ic.prototype);
123
123
  if(window.customElements&&window.customElements.define&&w.ka&&!w.preferPerformance){var ld=new Map;gd=function(){var a=[];ld.forEach(function(d,e){a.push([e,d])});ld.clear();for(var b=0;b<a.length;b++){var c=a[b][0];a[b][1]?c.__shadydom_connectedCallback():c.__shadydom_disconnectedCallback()}};J&&document.addEventListener("readystatechange",function(){J=!1;gd()},{once:!0});var md=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.__shadydom_connectedCallback=
124
124
  function(){J?ld.set(this,!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=a.prototype.__shadydom_disconnectedCallback=function(){J?this.isConnected||ld.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},nd=window.customElements.define,od=function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;nd.call(window.customElements,a,md(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d};window.customElements.define=
125
125
  od;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:od,configurable:!0})}function hc(a){a=a.__shady_getRootNode();if(y(a))return a};function pd(a){this.node=a}n=pd.prototype;n.addEventListener=function(a,b,c){return this.node.__shady_addEventListener(a,b,c)};n.removeEventListener=function(a,b,c){return this.node.__shady_removeEventListener(a,b,c)};n.appendChild=function(a){return this.node.__shady_appendChild(a)};n.insertBefore=function(a,b){return this.node.__shady_insertBefore(a,b)};n.removeChild=function(a){return this.node.__shady_removeChild(a)};n.replaceChild=function(a,b){return this.node.__shady_replaceChild(a,b)};
126
- n.cloneNode=function(a){return this.node.__shady_cloneNode(a)};n.getRootNode=function(a){return this.node.__shady_getRootNode(a)};n.contains=function(a){return this.node.__shady_contains(a)};n.dispatchEvent=function(a){return this.node.__shady_dispatchEvent(a)};n.setAttribute=function(a,b){this.node.__shady_setAttribute(a,b)};n.getAttribute=function(a){return this.node.__shady_native_getAttribute(a)};n.removeAttribute=function(a){this.node.__shady_removeAttribute(a)};n.attachShadow=function(a){return this.node.__shady_attachShadow(a)};
127
- n.focus=function(){this.node.__shady_native_focus()};n.blur=function(){this.node.__shady_blur()};n.importNode=function(a,b){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(a,b)};n.getElementById=function(a){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(a)};n.elementsFromPoint=function(a,b){return this.node.__shady_elementsFromPoint(a,b)};n.elementFromPoint=function(a,b){return this.node.__shady_elementFromPoint(a,b)};
128
- n.querySelector=function(a){return this.node.__shady_querySelector(a)};n.querySelectorAll=function(a,b){return this.node.__shady_querySelectorAll(a,b)};n.assignedNodes=function(a){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(a)};n.append=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_append.apply(this.node,r(b))};
129
- n.prepend=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_prepend.apply(this.node,r(b))};n.after=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_after.apply(this.node,r(b))};n.before=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_before.apply(this.node,r(b))};n.remove=function(){return this.node.__shady_remove()};
130
- n.replaceWith=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_replaceWith.apply(this.node,r(b))};
126
+ n.cloneNode=function(a){return this.node.__shady_cloneNode(a)};n.getRootNode=function(a){return this.node.__shady_getRootNode(a)};n.contains=function(a){return this.node.__shady_contains(a)};n.dispatchEvent=function(a){return this.node.__shady_dispatchEvent(a)};n.setAttribute=function(a,b){this.node.__shady_setAttribute(a,b)};n.getAttribute=function(a){return this.node.__shady_native_getAttribute(a)};n.removeAttribute=function(a){this.node.__shady_removeAttribute(a)};
127
+ n.toggleAttribute=function(a,b){return this.node.__shady_toggleAttribute(a,b)};n.attachShadow=function(a){return this.node.__shady_attachShadow(a)};n.focus=function(){this.node.__shady_native_focus()};n.blur=function(){this.node.__shady_blur()};n.importNode=function(a,b){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(a,b)};n.getElementById=function(a){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(a)};
128
+ n.elementsFromPoint=function(a,b){return this.node.__shady_elementsFromPoint(a,b)};n.elementFromPoint=function(a,b){return this.node.__shady_elementFromPoint(a,b)};n.querySelector=function(a){return this.node.__shady_querySelector(a)};n.querySelectorAll=function(a,b){return this.node.__shady_querySelectorAll(a,b)};n.assignedNodes=function(a){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(a)};
129
+ n.append=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_append.apply(this.node,r(b))};n.prepend=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_prepend.apply(this.node,r(b))};n.after=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_after.apply(this.node,r(b))};
130
+ n.before=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_before.apply(this.node,r(b))};n.remove=function(){return this.node.__shady_remove()};n.replaceWith=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_replaceWith.apply(this.node,r(b))};
131
131
  ca.Object.defineProperties(pd.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,
132
132
  enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,
133
133
  get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},
@@ -145,38 +145,38 @@ nativeTree:Va,patchElementProto:$c,querySelectorImplementation:w.querySelectorIm
145
145
  rights grant found at http://polymer.github.io/PATENTS.txt
146
146
  */
147
147
  var ud=window.Document.prototype.createElement,vd=window.Document.prototype.createElementNS,wd=window.Document.prototype.importNode,xd=window.Document.prototype.prepend,yd=window.Document.prototype.append,zd=window.DocumentFragment.prototype.prepend,Ad=window.DocumentFragment.prototype.append,Bd=window.Node.prototype.cloneNode,Cd=window.Node.prototype.appendChild,Dd=window.Node.prototype.insertBefore,Ed=window.Node.prototype.removeChild,Fd=window.Node.prototype.replaceChild,Gd=Object.getOwnPropertyDescriptor(window.Node.prototype,
148
- "textContent"),Hd=window.Element.prototype.attachShadow,Id=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Jd=window.Element.prototype.getAttribute,Kd=window.Element.prototype.setAttribute,Ld=window.Element.prototype.removeAttribute,Md=window.Element.prototype.getAttributeNS,Nd=window.Element.prototype.setAttributeNS,Od=window.Element.prototype.removeAttributeNS,Pd=window.Element.prototype.insertAdjacentElement,Qd=window.Element.prototype.insertAdjacentHTML,Rd=window.Element.prototype.prepend,
149
- Sd=window.Element.prototype.append,Td=window.Element.prototype.before,Ud=window.Element.prototype.after,Vd=window.Element.prototype.replaceWith,Wd=window.Element.prototype.remove,Xd=window.HTMLElement,Yd=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Zd=window.HTMLElement.prototype.insertAdjacentElement,$d=window.HTMLElement.prototype.insertAdjacentHTML;var ae=new Set;"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(a){return ae.add(a)});function be(a){var b=ae.has(a);a=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(a);return!b&&a}var ce=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);
150
- function K(a){var b=a.isConnected;if(void 0!==b)return b;if(ce(a))return!0;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function de(a){var b=a.children;if(b)return Array.prototype.slice.call(b);b=[];for(a=a.firstChild;a;a=a.nextSibling)a.nodeType===Node.ELEMENT_NODE&&b.push(a);return b}
151
- function ee(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
152
- function fe(a,b,c){for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;void 0===c&&(c=new Set);if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)fe(d,b,c);d=ee(a,e);continue}else if("template"===f){d=ee(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)fe(e,b,c)}d=d.firstChild?d.firstChild:ee(a,d)}};function ge(){var a=!(null===L||void 0===L||!L.noDocumentConstructionObserver),b=!(null===L||void 0===L||!L.shadyDomFastWalk);this.M=[];this.g=[];this.I=!1;this.shadyDomFastWalk=b;this.Wa=!a}function he(a,b,c,d){var e=window.ShadyDOM;if(a.shadyDomFastWalk&&e&&e.inUse){if(b.nodeType===Node.ELEMENT_NODE&&c(b),b.querySelectorAll)for(a=e.nativeMethods.querySelectorAll.call(b,"*"),b=0;b<a.length;b++)c(a[b])}else fe(b,c,d)}function ie(a,b){a.I=!0;a.M.push(b)}function je(a,b){a.I=!0;a.g.push(b)}
153
- function ke(a,b){a.I&&he(a,b,function(c){return le(a,c)})}function le(a,b){if(a.I&&!b.__CE_patched){b.__CE_patched=!0;for(var c=0;c<a.M.length;c++)a.M[c](b);for(c=0;c<a.g.length;c++)a.g[c](b)}}function M(a,b){var c=[];he(a,b,function(e){return c.push(e)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state?a.connectedCallback(d):me(a,d)}}function N(a,b){var c=[];he(a,b,function(e){return c.push(e)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state&&a.disconnectedCallback(d)}}
154
- function O(a,b,c){c=void 0===c?{}:c;var d=c.Xa,e=c.upgrade||function(g){return me(a,g)},f=[];he(a,b,function(g){a.I&&le(a,g);if("link"===g.localName&&"import"===g.getAttribute("rel")){var h=g.import;h instanceof Node&&(h.__CE_isImportDocument=!0,h.__CE_registry=document.__CE_registry);h&&"complete"===h.readyState?h.__CE_documentLoadHandled=!0:g.addEventListener("load",function(){var k=g.import;if(!k.__CE_documentLoadHandled){k.__CE_documentLoadHandled=!0;var l=new Set;d&&(d.forEach(function(m){return l.add(m)}),
148
+ "textContent"),Hd=window.Element.prototype.attachShadow,Id=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Jd=window.Element.prototype.getAttribute,Kd=window.Element.prototype.setAttribute,Ld=window.Element.prototype.removeAttribute,Md=window.Element.prototype.toggleAttribute,Nd=window.Element.prototype.getAttributeNS,Od=window.Element.prototype.setAttributeNS,Pd=window.Element.prototype.removeAttributeNS,Qd=window.Element.prototype.insertAdjacentElement,Rd=window.Element.prototype.insertAdjacentHTML,
149
+ Sd=window.Element.prototype.prepend,Td=window.Element.prototype.append,Ud=window.Element.prototype.before,Vd=window.Element.prototype.after,Wd=window.Element.prototype.replaceWith,Xd=window.Element.prototype.remove,Yd=window.HTMLElement,Zd=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),$d=window.HTMLElement.prototype.insertAdjacentElement,ae=window.HTMLElement.prototype.insertAdjacentHTML;var be=new Set;"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(a){return be.add(a)});function ce(a){var b=be.has(a);a=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(a);return!b&&a}var de=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);
150
+ function K(a){var b=a.isConnected;if(void 0!==b)return b;if(de(a))return!0;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function ee(a){var b=a.children;if(b)return Array.prototype.slice.call(b);b=[];for(a=a.firstChild;a;a=a.nextSibling)a.nodeType===Node.ELEMENT_NODE&&b.push(a);return b}
151
+ function fe(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
152
+ function ge(a,b,c){for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;void 0===c&&(c=new Set);if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)ge(d,b,c);d=fe(a,e);continue}else if("template"===f){d=fe(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)ge(e,b,c)}d=d.firstChild?d.firstChild:fe(a,d)}};function he(){var a=!(null===L||void 0===L||!L.noDocumentConstructionObserver),b=!(null===L||void 0===L||!L.shadyDomFastWalk);this.M=[];this.g=[];this.I=!1;this.shadyDomFastWalk=b;this.Wa=!a}function ie(a,b,c,d){var e=window.ShadyDOM;if(a.shadyDomFastWalk&&e&&e.inUse){if(b.nodeType===Node.ELEMENT_NODE&&c(b),b.querySelectorAll)for(a=e.nativeMethods.querySelectorAll.call(b,"*"),b=0;b<a.length;b++)c(a[b])}else ge(b,c,d)}function je(a,b){a.I=!0;a.M.push(b)}function ke(a,b){a.I=!0;a.g.push(b)}
153
+ function le(a,b){a.I&&ie(a,b,function(c){return me(a,c)})}function me(a,b){if(a.I&&!b.__CE_patched){b.__CE_patched=!0;for(var c=0;c<a.M.length;c++)a.M[c](b);for(c=0;c<a.g.length;c++)a.g[c](b)}}function M(a,b){var c=[];ie(a,b,function(e){return c.push(e)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state?a.connectedCallback(d):ne(a,d)}}function N(a,b){var c=[];ie(a,b,function(e){return c.push(e)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state&&a.disconnectedCallback(d)}}
154
+ function O(a,b,c){c=void 0===c?{}:c;var d=c.Xa,e=c.upgrade||function(g){return ne(a,g)},f=[];ie(a,b,function(g){a.I&&me(a,g);if("link"===g.localName&&"import"===g.getAttribute("rel")){var h=g.import;h instanceof Node&&(h.__CE_isImportDocument=!0,h.__CE_registry=document.__CE_registry);h&&"complete"===h.readyState?h.__CE_documentLoadHandled=!0:g.addEventListener("load",function(){var k=g.import;if(!k.__CE_documentLoadHandled){k.__CE_documentLoadHandled=!0;var l=new Set;d&&(d.forEach(function(m){return l.add(m)}),
155
155
  l.delete(k));O(a,k,{Xa:l,upgrade:e})}})}else f.push(g)},d);for(b=0;b<f.length;b++)e(f[b])}
156
- function me(a,b){try{var c=b.ownerDocument,d=c.__CE_registry;var e=d&&(c.defaultView||c.__CE_isImportDocument)?ne(d,b.localName):void 0;if(e&&void 0===b.__CE_state){e.constructionStack.push(b);try{try{if(new e.constructorFunction!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{e.constructionStack.pop()}}catch(k){throw b.__CE_state=2,k;}b.__CE_state=1;b.__CE_definition=e;if(e.attributeChangedCallback&&b.hasAttributes()){var f=e.observedAttributes;
157
- for(e=0;e<f.length;e++){var g=f[e],h=b.getAttribute(g);null!==h&&a.attributeChangedCallback(b,g,null,h,null)}}K(b)&&a.connectedCallback(b)}}catch(k){oe(k)}}ge.prototype.connectedCallback=function(a){var b=a.__CE_definition;if(b.connectedCallback)try{b.connectedCallback.call(a)}catch(c){oe(c)}};ge.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;if(b.disconnectedCallback)try{b.disconnectedCallback.call(a)}catch(c){oe(c)}};
158
- ge.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;if(f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b))try{f.attributeChangedCallback.call(a,b,c,d,e)}catch(g){oe(g)}};
159
- function pe(a,b,c,d){var e=b.__CE_registry;if(e&&(null===d||"http://www.w3.org/1999/xhtml"===d)&&(e=ne(e,c)))try{var f=new e.constructorFunction;if(void 0===f.__CE_state||void 0===f.__CE_definition)throw Error("Failed to construct '"+c+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==f.namespaceURI)throw Error("Failed to construct '"+c+"': The constructed element's namespace must be the HTML namespace.");if(f.hasAttributes())throw Error("Failed to construct '"+
156
+ function ne(a,b){try{var c=b.ownerDocument,d=c.__CE_registry;var e=d&&(c.defaultView||c.__CE_isImportDocument)?oe(d,b.localName):void 0;if(e&&void 0===b.__CE_state){e.constructionStack.push(b);try{try{if(new e.constructorFunction!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{e.constructionStack.pop()}}catch(k){throw b.__CE_state=2,k;}b.__CE_state=1;b.__CE_definition=e;if(e.attributeChangedCallback&&b.hasAttributes()){var f=e.observedAttributes;
157
+ for(e=0;e<f.length;e++){var g=f[e],h=b.getAttribute(g);null!==h&&a.attributeChangedCallback(b,g,null,h,null)}}K(b)&&a.connectedCallback(b)}}catch(k){pe(k)}}he.prototype.connectedCallback=function(a){var b=a.__CE_definition;if(b.connectedCallback)try{b.connectedCallback.call(a)}catch(c){pe(c)}};he.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;if(b.disconnectedCallback)try{b.disconnectedCallback.call(a)}catch(c){pe(c)}};
158
+ he.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;if(f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b))try{f.attributeChangedCallback.call(a,b,c,d,e)}catch(g){pe(g)}};
159
+ function qe(a,b,c,d){var e=b.__CE_registry;if(e&&(null===d||"http://www.w3.org/1999/xhtml"===d)&&(e=oe(e,c)))try{var f=new e.constructorFunction;if(void 0===f.__CE_state||void 0===f.__CE_definition)throw Error("Failed to construct '"+c+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==f.namespaceURI)throw Error("Failed to construct '"+c+"': The constructed element's namespace must be the HTML namespace.");if(f.hasAttributes())throw Error("Failed to construct '"+
160
160
  c+"': The constructed element must not have any attributes.");if(null!==f.firstChild)throw Error("Failed to construct '"+c+"': The constructed element must not have any children.");if(null!==f.parentNode)throw Error("Failed to construct '"+c+"': The constructed element must not have a parent node.");if(f.ownerDocument!==b)throw Error("Failed to construct '"+c+"': The constructed element's owner document is incorrect.");if(f.localName!==c)throw Error("Failed to construct '"+c+"': The constructed element's local name is incorrect.");
161
- return f}catch(g){return oe(g),b=null===d?ud.call(b,c):vd.call(b,d,c),Object.setPrototypeOf(b,HTMLUnknownElement.prototype),b.__CE_state=2,b.__CE_definition=void 0,le(a,b),b}b=null===d?ud.call(b,c):vd.call(b,d,c);le(a,b);return b}
162
- function oe(a){var b="",c="",d=0,e=0;a instanceof Error?(b=a.message,c=a.sourceURL||a.fileName||"",d=a.line||a.lineNumber||0,e=a.column||a.columnNumber||0):b="Uncaught "+String(a);var f=void 0;void 0===ErrorEvent.prototype.initErrorEvent?f=new ErrorEvent("error",{cancelable:!0,message:b,filename:c,lineno:d,colno:e,error:a}):(f=document.createEvent("ErrorEvent"),f.initErrorEvent("error",!1,!0,b,c,d),f.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})});
163
- void 0===f.error&&Object.defineProperty(f,"error",{configurable:!0,enumerable:!0,get:function(){return a}});window.dispatchEvent(f);f.defaultPrevented||console.error(a)};function qe(){var a=this;this.g=void 0;this.sa=new Promise(function(b){a.h=b})}qe.prototype.resolve=function(a){if(this.g)throw Error("Already resolved.");this.g=a;this.h(a)};function re(a){var b=document;this.J=void 0;this.D=a;this.g=b;O(this.D,this.g);"loading"===this.g.readyState&&(this.J=new MutationObserver(this.h.bind(this)),this.J.observe(this.g,{childList:!0,subtree:!0}))}function se(a){a.J&&a.J.disconnect()}re.prototype.h=function(a){var b=this.g.readyState;"interactive"!==b&&"complete"!==b||se(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)O(this.D,c[d])};function P(a){this.W=new Map;this.X=new Map;this.oa=new Map;this.ga=!1;this.ia=new Map;this.V=function(b){return b()};this.H=!1;this.Y=[];this.D=a;this.pa=a.Wa?new re(a):void 0}n=P.prototype;n.Na=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");te(this,a);this.W.set(a,b);this.Y.push(a);this.H||(this.H=!0,this.V(function(){return ue(c)}))};
164
- n.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");te(this,a);ve(this,a,b);this.Y.push(a);this.H||(this.H=!0,this.V(function(){return ue(c)}))};function te(a,b){if(!be(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(ne(a,b))throw Error("A custom element with name '"+(b+"' has already been defined."));if(a.ga)throw Error("A custom element is already being defined.");}
165
- function ve(a,b,c){a.ga=!0;var d;try{var e=c.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=function(m){var q=e[m];if(void 0!==q&&!(q instanceof Function))throw Error("The '"+m+"' callback must be a function.");return q};var g=f("connectedCallback");var h=f("disconnectedCallback");var k=f("adoptedCallback");var l=(d=f("attributeChangedCallback"))&&c.observedAttributes||[]}catch(m){throw m;}finally{a.ga=!1}c={localName:b,
161
+ return f}catch(g){return pe(g),b=null===d?ud.call(b,c):vd.call(b,d,c),Object.setPrototypeOf(b,HTMLUnknownElement.prototype),b.__CE_state=2,b.__CE_definition=void 0,me(a,b),b}b=null===d?ud.call(b,c):vd.call(b,d,c);me(a,b);return b}
162
+ function pe(a){var b="",c="",d=0,e=0;a instanceof Error?(b=a.message,c=a.sourceURL||a.fileName||"",d=a.line||a.lineNumber||0,e=a.column||a.columnNumber||0):b="Uncaught "+String(a);var f=void 0;void 0===ErrorEvent.prototype.initErrorEvent?f=new ErrorEvent("error",{cancelable:!0,message:b,filename:c,lineno:d,colno:e,error:a}):(f=document.createEvent("ErrorEvent"),f.initErrorEvent("error",!1,!0,b,c,d),f.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})});
163
+ void 0===f.error&&Object.defineProperty(f,"error",{configurable:!0,enumerable:!0,get:function(){return a}});window.dispatchEvent(f);f.defaultPrevented||console.error(a)};function re(){var a=this;this.g=void 0;this.sa=new Promise(function(b){a.h=b})}re.prototype.resolve=function(a){if(this.g)throw Error("Already resolved.");this.g=a;this.h(a)};function se(a){var b=document;this.J=void 0;this.D=a;this.g=b;O(this.D,this.g);"loading"===this.g.readyState&&(this.J=new MutationObserver(this.h.bind(this)),this.J.observe(this.g,{childList:!0,subtree:!0}))}function te(a){a.J&&a.J.disconnect()}se.prototype.h=function(a){var b=this.g.readyState;"interactive"!==b&&"complete"!==b||te(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)O(this.D,c[d])};function P(a){this.W=new Map;this.X=new Map;this.oa=new Map;this.ga=!1;this.ia=new Map;this.V=function(b){return b()};this.H=!1;this.Y=[];this.D=a;this.pa=a.Wa?new se(a):void 0}n=P.prototype;n.Na=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");ue(this,a);this.W.set(a,b);this.Y.push(a);this.H||(this.H=!0,this.V(function(){return ve(c)}))};
164
+ n.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");ue(this,a);we(this,a,b);this.Y.push(a);this.H||(this.H=!0,this.V(function(){return ve(c)}))};function ue(a,b){if(!ce(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(oe(a,b))throw Error("A custom element with name '"+(b+"' has already been defined."));if(a.ga)throw Error("A custom element is already being defined.");}
165
+ function we(a,b,c){a.ga=!0;var d;try{var e=c.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=function(m){var q=e[m];if(void 0!==q&&!(q instanceof Function))throw Error("The '"+m+"' callback must be a function.");return q};var g=f("connectedCallback");var h=f("disconnectedCallback");var k=f("adoptedCallback");var l=(d=f("attributeChangedCallback"))&&c.observedAttributes||[]}catch(m){throw m;}finally{a.ga=!1}c={localName:b,
166
166
  constructorFunction:c,connectedCallback:g,disconnectedCallback:h,adoptedCallback:k,attributeChangedCallback:d,observedAttributes:l,constructionStack:[]};a.X.set(b,c);a.oa.set(c.constructorFunction,c);return c}n.upgrade=function(a){O(this.D,a)};
167
- function ue(a){if(!1!==a.H){a.H=!1;for(var b=[],c=a.Y,d=new Map,e=0;e<c.length;e++)d.set(c[e],[]);O(a.D,document,{upgrade:function(k){if(void 0===k.__CE_state){var l=k.localName,m=d.get(l);m?m.push(k):a.X.has(l)&&b.push(k)}}});for(e=0;e<b.length;e++)me(a.D,b[e]);for(e=0;e<c.length;e++){for(var f=c[e],g=d.get(f),h=0;h<g.length;h++)me(a.D,g[h]);(f=a.ia.get(f))&&f.resolve(void 0)}c.length=0}}n.get=function(a){if(a=ne(this,a))return a.constructorFunction};
168
- n.whenDefined=function(a){if(!be(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.ia.get(a);if(b)return b.sa;b=new qe;this.ia.set(a,b);var c=this.X.has(a)||this.W.has(a);a=-1===this.Y.indexOf(a);c&&a&&b.resolve(void 0);return b.sa};n.polyfillWrapFlushCallback=function(a){this.pa&&se(this.pa);var b=this.V;this.V=function(c){return a(function(){return b(c)})}};
169
- function ne(a,b){var c=a.X.get(b);if(c)return c;if(c=a.W.get(b)){a.W.delete(b);try{return ve(a,b,c())}catch(d){oe(d)}}}P.prototype.define=P.prototype.define;P.prototype.upgrade=P.prototype.upgrade;P.prototype.get=P.prototype.get;P.prototype.whenDefined=P.prototype.whenDefined;P.prototype.polyfillDefineLazy=P.prototype.Na;P.prototype.polyfillWrapFlushCallback=P.prototype.polyfillWrapFlushCallback;function we(a,b,c){function d(e){return function(f){for(var g=[],h=0;h<arguments.length;++h)g[h]=arguments[h];h=[];for(var k=[],l=0;l<g.length;l++){var m=g[l];m instanceof Element&&K(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)h.push(m);else h.push(m)}e.apply(this,g);for(g=0;g<k.length;g++)N(a,k[g]);if(K(this))for(g=0;g<h.length;g++)k=h[g],k instanceof Element&&M(a,k)}}void 0!==c.prepend&&(b.prepend=d(c.prepend));void 0!==c.append&&(b.append=d(c.append))};function xe(a){Document.prototype.createElement=function(b){return pe(a,this,b,null)};Document.prototype.importNode=function(b,c){b=wd.call(this,b,!!c);this.__CE_registry?O(a,b):ke(a,b);return b};Document.prototype.createElementNS=function(b,c){return pe(a,this,c,b)};we(a,Document.prototype,{prepend:xd,append:yd})};function ye(a){function b(d){return function(e){for(var f=[],g=0;g<arguments.length;++g)f[g]=arguments[g];g=[];for(var h=[],k=0;k<f.length;k++){var l=f[k];l instanceof Element&&K(l)&&h.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)g.push(l);else g.push(l)}d.apply(this,f);for(f=0;f<h.length;f++)N(a,h[f]);if(K(this))for(f=0;f<g.length;f++)h=g[f],h instanceof Element&&M(a,h)}}var c=Element.prototype;void 0!==Td&&(c.before=b(Td));void 0!==Ud&&(c.after=b(Ud));void 0!==Vd&&
170
- (c.replaceWith=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f]=arguments[f];f=[];for(var g=[],h=0;h<e.length;h++){var k=e[h];k instanceof Element&&K(k)&&g.push(k);if(k instanceof DocumentFragment)for(k=k.firstChild;k;k=k.nextSibling)f.push(k);else f.push(k)}h=K(this);Vd.apply(this,e);for(e=0;e<g.length;e++)N(a,g[e]);if(h)for(N(a,this),e=0;e<f.length;e++)g=f[e],g instanceof Element&&M(a,g)});void 0!==Wd&&(c.remove=function(){var d=K(this);Wd.call(this);d&&N(a,this)})};function ze(a){function b(e,f){Object.defineProperty(e,"innerHTML",{enumerable:f.enumerable,configurable:!0,get:f.get,set:function(g){var h=this,k=void 0;K(this)&&(k=[],he(a,this,function(q){q!==h&&k.push(q)}));f.set.call(this,g);if(k)for(var l=0;l<k.length;l++){var m=k[l];1===m.__CE_state&&a.disconnectedCallback(m)}this.ownerDocument.__CE_registry?O(a,this):ke(a,this);return g}})}function c(e,f){e.insertAdjacentElement=function(g,h){var k=K(h);g=f.call(this,g,h);k&&N(a,h);K(g)&&M(a,h);return g}}
167
+ function ve(a){if(!1!==a.H){a.H=!1;for(var b=[],c=a.Y,d=new Map,e=0;e<c.length;e++)d.set(c[e],[]);O(a.D,document,{upgrade:function(k){if(void 0===k.__CE_state){var l=k.localName,m=d.get(l);m?m.push(k):a.X.has(l)&&b.push(k)}}});for(e=0;e<b.length;e++)ne(a.D,b[e]);for(e=0;e<c.length;e++){for(var f=c[e],g=d.get(f),h=0;h<g.length;h++)ne(a.D,g[h]);(f=a.ia.get(f))&&f.resolve(void 0)}c.length=0}}n.get=function(a){if(a=oe(this,a))return a.constructorFunction};
168
+ n.whenDefined=function(a){if(!ce(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.ia.get(a);if(b)return b.sa;b=new re;this.ia.set(a,b);var c=this.X.has(a)||this.W.has(a);a=-1===this.Y.indexOf(a);c&&a&&b.resolve(void 0);return b.sa};n.polyfillWrapFlushCallback=function(a){this.pa&&te(this.pa);var b=this.V;this.V=function(c){return a(function(){return b(c)})}};
169
+ function oe(a,b){var c=a.X.get(b);if(c)return c;if(c=a.W.get(b)){a.W.delete(b);try{return we(a,b,c())}catch(d){pe(d)}}}P.prototype.define=P.prototype.define;P.prototype.upgrade=P.prototype.upgrade;P.prototype.get=P.prototype.get;P.prototype.whenDefined=P.prototype.whenDefined;P.prototype.polyfillDefineLazy=P.prototype.Na;P.prototype.polyfillWrapFlushCallback=P.prototype.polyfillWrapFlushCallback;function xe(a,b,c){function d(e){return function(f){for(var g=[],h=0;h<arguments.length;++h)g[h]=arguments[h];h=[];for(var k=[],l=0;l<g.length;l++){var m=g[l];m instanceof Element&&K(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)h.push(m);else h.push(m)}e.apply(this,g);for(g=0;g<k.length;g++)N(a,k[g]);if(K(this))for(g=0;g<h.length;g++)k=h[g],k instanceof Element&&M(a,k)}}void 0!==c.prepend&&(b.prepend=d(c.prepend));void 0!==c.append&&(b.append=d(c.append))};function ye(a){Document.prototype.createElement=function(b){return qe(a,this,b,null)};Document.prototype.importNode=function(b,c){b=wd.call(this,b,!!c);this.__CE_registry?O(a,b):le(a,b);return b};Document.prototype.createElementNS=function(b,c){return qe(a,this,c,b)};xe(a,Document.prototype,{prepend:xd,append:yd})};function ze(a){function b(d){return function(e){for(var f=[],g=0;g<arguments.length;++g)f[g]=arguments[g];g=[];for(var h=[],k=0;k<f.length;k++){var l=f[k];l instanceof Element&&K(l)&&h.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)g.push(l);else g.push(l)}d.apply(this,f);for(f=0;f<h.length;f++)N(a,h[f]);if(K(this))for(f=0;f<g.length;f++)h=g[f],h instanceof Element&&M(a,h)}}var c=Element.prototype;void 0!==Ud&&(c.before=b(Ud));void 0!==Vd&&(c.after=b(Vd));void 0!==Wd&&
170
+ (c.replaceWith=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f]=arguments[f];f=[];for(var g=[],h=0;h<e.length;h++){var k=e[h];k instanceof Element&&K(k)&&g.push(k);if(k instanceof DocumentFragment)for(k=k.firstChild;k;k=k.nextSibling)f.push(k);else f.push(k)}h=K(this);Wd.apply(this,e);for(e=0;e<g.length;e++)N(a,g[e]);if(h)for(N(a,this),e=0;e<f.length;e++)g=f[e],g instanceof Element&&M(a,g)});void 0!==Xd&&(c.remove=function(){var d=K(this);Xd.call(this);d&&N(a,this)})};function Ae(a){function b(e,f){Object.defineProperty(e,"innerHTML",{enumerable:f.enumerable,configurable:!0,get:f.get,set:function(g){var h=this,k=void 0;K(this)&&(k=[],ie(a,this,function(q){q!==h&&k.push(q)}));f.set.call(this,g);if(k)for(var l=0;l<k.length;l++){var m=k[l];1===m.__CE_state&&a.disconnectedCallback(m)}this.ownerDocument.__CE_registry?O(a,this):le(a,this);return g}})}function c(e,f){e.insertAdjacentElement=function(g,h){var k=K(h);g=f.call(this,g,h);k&&N(a,h);K(g)&&M(a,h);return g}}
171
171
  function d(e,f){function g(h,k){for(var l=[];h!==k;h=h.nextSibling)l.push(h);for(k=0;k<l.length;k++)O(a,l[k])}e.insertAdjacentHTML=function(h,k){h=h.toLowerCase();if("beforebegin"===h){var l=this.previousSibling;f.call(this,h,k);g(l||this.parentNode.firstChild,this)}else if("afterbegin"===h)l=this.firstChild,f.call(this,h,k),g(this.firstChild,l);else if("beforeend"===h)l=this.lastChild,f.call(this,h,k),g(l||this.firstChild,null);else if("afterend"===h)l=this.nextSibling,f.call(this,h,k),g(this.nextSibling,
172
- l);else throw new SyntaxError("The value provided ("+String(h)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");}}Hd&&(Element.prototype.attachShadow=function(e){e=Hd.call(this,e);if(a.I&&!e.__CE_patched){e.__CE_patched=!0;for(var f=0;f<a.M.length;f++)a.M[f](e)}return this.__CE_shadowRoot=e});Id&&Id.get?b(Element.prototype,Id):Yd&&Yd.get?b(HTMLElement.prototype,Yd):je(a,function(e){b(e,{enumerable:!0,configurable:!0,get:function(){return Bd.call(this,!0).innerHTML},set:function(f){var g=
173
- "template"===this.localName,h=g?this.content:this,k=vd.call(document,this.namespaceURI,this.localName);for(k.innerHTML=f;0<h.childNodes.length;)Ed.call(h,h.childNodes[0]);for(f=g?k.content:k;0<f.childNodes.length;)Cd.call(h,f.childNodes[0])}})});Element.prototype.setAttribute=function(e,f){if(1!==this.__CE_state)return Kd.call(this,e,f);var g=Jd.call(this,e);Kd.call(this,e,f);f=Jd.call(this,e);a.attributeChangedCallback(this,e,g,f,null)};Element.prototype.setAttributeNS=function(e,f,g){if(1!==this.__CE_state)return Nd.call(this,
174
- e,f,g);var h=Md.call(this,e,f);Nd.call(this,e,f,g);g=Md.call(this,e,f);a.attributeChangedCallback(this,f,h,g,e)};Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return Ld.call(this,e);var f=Jd.call(this,e);Ld.call(this,e);null!==f&&a.attributeChangedCallback(this,e,f,null,null)};Element.prototype.removeAttributeNS=function(e,f){if(1!==this.__CE_state)return Od.call(this,e,f);var g=Md.call(this,e,f);Od.call(this,e,f);var h=Md.call(this,e,f);g!==h&&a.attributeChangedCallback(this,
175
- f,g,h,e)};Zd?c(HTMLElement.prototype,Zd):Pd&&c(Element.prototype,Pd);$d?d(HTMLElement.prototype,$d):Qd&&d(Element.prototype,Qd);we(a,Element.prototype,{prepend:Rd,append:Sd});ye(a)};var Ae={};function Be(a){function b(){var c=this.constructor;var d=document.__CE_registry.oa.get(c);if(!d)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=ud.call(document,d.localName),Object.setPrototypeOf(e,c.prototype),e.__CE_state=1,e.__CE_definition=d,le(a,e),e;var f=e.length-1,g=e[f];if(g===Ae)throw Error("Failed to construct '"+d.localName+"': This element was already constructed.");e[f]=
176
- Ae;Object.setPrototypeOf(g,c.prototype);le(a,g);return g}b.prototype=Xd.prototype;Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});window.HTMLElement=b};function Ce(a){function b(c,d){Object.defineProperty(c,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,e);else{var f=void 0;if(this.firstChild){var g=this.childNodes,h=g.length;if(0<h&&K(this)){f=Array(h);for(var k=0;k<h;k++)f[k]=g[k]}}d.set.call(this,e);if(f)for(e=0;e<f.length;e++)N(a,f[e])}}})}Node.prototype.insertBefore=function(c,d){if(c instanceof DocumentFragment){var e=de(c);c=Dd.call(this,c,d);if(K(this))for(d=
177
- 0;d<e.length;d++)M(a,e[d]);return c}e=c instanceof Element&&K(c);d=Dd.call(this,c,d);e&&N(a,c);K(this)&&M(a,c);return d};Node.prototype.appendChild=function(c){if(c instanceof DocumentFragment){var d=de(c);c=Cd.call(this,c);if(K(this))for(var e=0;e<d.length;e++)M(a,d[e]);return c}d=c instanceof Element&&K(c);e=Cd.call(this,c);d&&N(a,c);K(this)&&M(a,c);return e};Node.prototype.cloneNode=function(c){c=Bd.call(this,!!c);this.ownerDocument.__CE_registry?O(a,c):ke(a,c);return c};Node.prototype.removeChild=
178
- function(c){var d=c instanceof Element&&K(c),e=Ed.call(this,c);d&&N(a,c);return e};Node.prototype.replaceChild=function(c,d){if(c instanceof DocumentFragment){var e=de(c);c=Fd.call(this,c,d);if(K(this))for(N(a,d),d=0;d<e.length;d++)M(a,e[d]);return c}e=c instanceof Element&&K(c);var f=Fd.call(this,c,d),g=K(this);g&&N(a,d);e&&N(a,c);g&&M(a,c);return f};Gd&&Gd.get?b(Node.prototype,Gd):ie(a,function(c){b(c,{enumerable:!0,configurable:!0,get:function(){for(var d=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==
179
- Node.COMMENT_NODE&&d.push(e.textContent);return d.join("")},set:function(d){for(;this.firstChild;)Ed.call(this,this.firstChild);null!=d&&""!==d&&Cd.call(this,document.createTextNode(d))}})})};var L=window.customElements;function De(){var a=new ge;Be(a);xe(a);we(a,DocumentFragment.prototype,{prepend:zd,append:Ad});Ce(a);ze(a);window.CustomElementRegistry=P;a=new P(a);document.__CE_registry=a;Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:a})}L&&!L.forcePolyfill&&"function"==typeof L.define&&"function"==typeof L.get||De();window.__CE_installPolyfill=De;/*
172
+ l);else throw new SyntaxError("The value provided ("+String(h)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");}}Hd&&(Element.prototype.attachShadow=function(e){e=Hd.call(this,e);if(a.I&&!e.__CE_patched){e.__CE_patched=!0;for(var f=0;f<a.M.length;f++)a.M[f](e)}return this.__CE_shadowRoot=e});Id&&Id.get?b(Element.prototype,Id):Zd&&Zd.get?b(HTMLElement.prototype,Zd):ke(a,function(e){b(e,{enumerable:!0,configurable:!0,get:function(){return Bd.call(this,!0).innerHTML},set:function(f){var g=
173
+ "template"===this.localName,h=g?this.content:this,k=vd.call(document,this.namespaceURI,this.localName);for(k.innerHTML=f;0<h.childNodes.length;)Ed.call(h,h.childNodes[0]);for(f=g?k.content:k;0<f.childNodes.length;)Cd.call(h,f.childNodes[0])}})});Element.prototype.setAttribute=function(e,f){if(1!==this.__CE_state)return Kd.call(this,e,f);var g=Jd.call(this,e);Kd.call(this,e,f);f=Jd.call(this,e);a.attributeChangedCallback(this,e,g,f,null)};Element.prototype.setAttributeNS=function(e,f,g){if(1!==this.__CE_state)return Od.call(this,
174
+ e,f,g);var h=Nd.call(this,e,f);Od.call(this,e,f,g);g=Nd.call(this,e,f);a.attributeChangedCallback(this,f,h,g,e)};Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return Ld.call(this,e);var f=Jd.call(this,e);Ld.call(this,e);null!==f&&a.attributeChangedCallback(this,e,f,null,null)};Md&&(Element.prototype.toggleAttribute=function(e,f){if(1!==this.__CE_state)return Md.call(this,e,f);var g=Jd.call(this,e),h=null!==g;f=Md.call(this,e,f);h!==f&&a.attributeChangedCallback(this,e,g,f?"":
175
+ null,null);return f});Element.prototype.removeAttributeNS=function(e,f){if(1!==this.__CE_state)return Pd.call(this,e,f);var g=Nd.call(this,e,f);Pd.call(this,e,f);var h=Nd.call(this,e,f);g!==h&&a.attributeChangedCallback(this,f,g,h,e)};$d?c(HTMLElement.prototype,$d):Qd&&c(Element.prototype,Qd);ae?d(HTMLElement.prototype,ae):Rd&&d(Element.prototype,Rd);xe(a,Element.prototype,{prepend:Sd,append:Td});ze(a)};var Be={};function Ce(a){function b(){var c=this.constructor;var d=document.__CE_registry.oa.get(c);if(!d)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=ud.call(document,d.localName),Object.setPrototypeOf(e,c.prototype),e.__CE_state=1,e.__CE_definition=d,me(a,e),e;var f=e.length-1,g=e[f];if(g===Be)throw Error("Failed to construct '"+d.localName+"': This element was already constructed.");e[f]=
176
+ Be;Object.setPrototypeOf(g,c.prototype);me(a,g);return g}b.prototype=Yd.prototype;Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});window.HTMLElement=b};function De(a){function b(c,d){Object.defineProperty(c,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,e);else{var f=void 0;if(this.firstChild){var g=this.childNodes,h=g.length;if(0<h&&K(this)){f=Array(h);for(var k=0;k<h;k++)f[k]=g[k]}}d.set.call(this,e);if(f)for(e=0;e<f.length;e++)N(a,f[e])}}})}Node.prototype.insertBefore=function(c,d){if(c instanceof DocumentFragment){var e=ee(c);c=Dd.call(this,c,d);if(K(this))for(d=
177
+ 0;d<e.length;d++)M(a,e[d]);return c}e=c instanceof Element&&K(c);d=Dd.call(this,c,d);e&&N(a,c);K(this)&&M(a,c);return d};Node.prototype.appendChild=function(c){if(c instanceof DocumentFragment){var d=ee(c);c=Cd.call(this,c);if(K(this))for(var e=0;e<d.length;e++)M(a,d[e]);return c}d=c instanceof Element&&K(c);e=Cd.call(this,c);d&&N(a,c);K(this)&&M(a,c);return e};Node.prototype.cloneNode=function(c){c=Bd.call(this,!!c);this.ownerDocument.__CE_registry?O(a,c):le(a,c);return c};Node.prototype.removeChild=
178
+ function(c){var d=c instanceof Element&&K(c),e=Ed.call(this,c);d&&N(a,c);return e};Node.prototype.replaceChild=function(c,d){if(c instanceof DocumentFragment){var e=ee(c);c=Fd.call(this,c,d);if(K(this))for(N(a,d),d=0;d<e.length;d++)M(a,e[d]);return c}e=c instanceof Element&&K(c);var f=Fd.call(this,c,d),g=K(this);g&&N(a,d);e&&N(a,c);g&&M(a,c);return f};Gd&&Gd.get?b(Node.prototype,Gd):je(a,function(c){b(c,{enumerable:!0,configurable:!0,get:function(){for(var d=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==
179
+ Node.COMMENT_NODE&&d.push(e.textContent);return d.join("")},set:function(d){for(;this.firstChild;)Ed.call(this,this.firstChild);null!=d&&""!==d&&Cd.call(this,document.createTextNode(d))}})})};var L=window.customElements;function Ee(){var a=new he;Ce(a);ye(a);xe(a,DocumentFragment.prototype,{prepend:zd,append:Ad});De(a);Ae(a);window.CustomElementRegistry=P;a=new P(a);document.__CE_registry=a;Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:a})}L&&!L.forcePolyfill&&"function"==typeof L.define&&"function"==typeof L.get||Ee();window.__CE_installPolyfill=Ee;/*
180
180
 
181
181
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
182
182
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -185,56 +185,56 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
185
185
  Code distributed by Google as part of the polymer project is also
186
186
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
187
187
  */
188
- function Ee(){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=""}
189
- function Fe(a){var b=a=a.replace(Ge,"").replace(He,""),c=new Ee;c.start=0;c.end=b.length;for(var d=c,e=0,f=b.length;e<f;e++)if("{"===b[e]){d.rules||(d.rules=[]);var g=d,h=g.rules[g.rules.length-1]||null;d=new Ee;d.start=e+1;d.parent=g;d.previous=h;g.rules.push(d)}else"}"===b[e]&&(d.end=e+1,d=d.parent||c);return Ie(c,a)}
190
- function Ie(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=Je(c),c=c.replace(Ke," "),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=Le:c.match(Me)&&(a.type=Ne,a.keyframesName=a.selector.split(Ke).pop()):a.type=0===c.indexOf("--")?Oe:Pe);if(c=a.rules)for(var d=0,e=c.length,f=void 0;d<e&&(f=c[d]);d++)Ie(f,
191
- b);return a}function Je(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(b,c){b=c;for(c=6-b.length;c--;)b="0"+b;return"\\"+b})}
192
- function Qe(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=Qe(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(Re,"").replace(Se,""),b=b.replace(Te,"").replace(Ue,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}
193
- var Pe=1,Ne=7,Le=4,Oe=1E3,Ge=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,He=/@import[^;]*;/gim,Re=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Se=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Te=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Ue=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Me=/^@[^\s]*keyframes/,Ke=/\s+/g;var Q=!(window.ShadyDOM&&window.ShadyDOM.inUse),Ve;function We(a){Ve=a&&a.shimcssproperties?!1:Q||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}var Xe;window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(Xe=window.ShadyCSS.cssBuild);var Ye=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);
194
- window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Ve=window.ShadyCSS.nativeCss:window.ShadyCSS?(We(window.ShadyCSS),window.ShadyCSS=void 0):We(window.WebComponents&&window.WebComponents.flags);var R=Ve;var Ze=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,$e=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,af=/(--[\w-]+)\s*([:,;)]|$)/gi,bf=/(animation\s*:)|(animation-name\s*:)/,cf=/@media\s(.*)/,df=/\{[^}]*\}/g;var ef=new Set;function ff(a,b){if(!a)return"";"string"===typeof a&&(a=Fe(a));b&&gf(a,b);return Qe(a,R)}function hf(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Fe(a.textContent));return a.__cssRules||null}function jf(a){return!!a.parent&&a.parent.type===Ne}function gf(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===Le){var g=a.selector.match(cf);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===Pe?b(a):c&&f===Ne?c(a):f===Oe&&(e=!0);if((a=a.rules)&&!e)for(e=0,f=a.length,g=void 0;e<f&&(g=a[e]);e++)gf(g,b,c,d)}}
195
- function kf(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;lf(e,c,d);return e}var S=null;function mf(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(S?S.nextSibling:null)||b.firstChild);return S=a}function lf(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);S?a.compareDocumentPosition(S)===Node.DOCUMENT_POSITION_PRECEDING&&(S=a):S=a}
196
- function nf(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 of(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=nf(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=of(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 pf(a,b){Q?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}
197
- var qf=window.ShadyDOM&&window.ShadyDOM.wrap||function(a){return a};function U(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,T:c}}function rf(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=nf(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}
198
- function sf(a){if(void 0!==Xe)return Xe;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||""}
199
- function tf(a){a=void 0===a?"":a;return""!==a&&R?Q?"shadow"===a:"shady"===a:!1};function uf(){}function vf(a,b){wf(V,a,function(c){W(c,b||"")})}function wf(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++)wf(a,d[b],c)}
200
- function W(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,""),pf(a,b)):pf(a,(d?d+" ":"")+"style-scope "+b)}}function xf(a,b,c){wf(V,a,function(d){W(d,b,!0);W(d,c)})}function yf(a,b){wf(V,a,function(c){W(c,b||"",!0)})}
201
- function zf(a,b,c,d,e){var f=V;e=void 0===e?"":e;""===e&&(Q||"shady"===(void 0===d?"":d)?e=ff(b,c):(a=U(a),e=Af(f,b,a.is,a.T,c)+"\n\n"));return e.trim()}function Af(a,b,c,d,e){var f=Bf(c,d);c=c?"."+c:"";return ff(b,function(g){g.i||(g.selector=g.m=Cf(a,g,a.h,c,f),g.i=!0);e&&e(g,c,f)})}function Bf(a,b){return b?"[is="+a+"]":a}
202
- function Cf(a,b,c,d,e){var f=rf(b.selector);if(!jf(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(k){return!!k}).join(",")}function Df(a){return a.replace(Ef,function(b,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}
203
- function Ff(a){for(var b=[],c;c=a.match(Gf);){var d=c.index,e=nf(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{na:a,matches:b}}function Hf(a,b){var c=a.split("\ue000");return b.reduce(function(d,e,f){return d+e+c[f+1]},c[0])}
204
- uf.prototype.h=function(a,b,c){var d=!1;a=a.trim();var e=Ef.test(a);e&&(a=a.replace(Ef,function(h,k,l){return":"+k+"("+l.replace(/\s/g,"")+")"}),a=Df(a));var f=Gf.test(a);if(f){var g=Ff(a);a=g.na;g=g.matches}a=a.replace(If,":host $1");a=a.replace(Jf,function(h,k,l){d||(h=Kf(l,k,b,c),d=d||h.stop,k=h.Ga,l=h.value);return k+l});f&&(a=Hf(a,g));e&&(a=Df(a));return a=a.replace(Lf,function(h,k,l,m){return'[dir="'+l+'"] '+k+m+", "+k+'[dir="'+l+'"]'+m})};
205
- function Kf(a,b,c,d){var e=a.indexOf("::slotted");0<=a.indexOf(":host")?a=Mf(a,d):0!==e&&(a=c?Nf(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(Of,function(g,h){return" > "+h}))}return{value:a,Ga:b,stop:f}}function Nf(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("")}
206
- function Mf(a,b){var c=a.match(Pf);return(c=c&&c[2].trim()||"")?c[0].match(Qf)?a.replace(Pf,function(d,e,f){return b+f}):c.split(Qf)[0]===b?c:"should_not_match":a.replace(":host",b)}function Rf(a){":root"===a.selector&&(a.selector="html")}uf.prototype.i=function(a){return a.match(":host")?"":a.match("::slotted")?this.h(a,":not(.style-scope)"):Nf(a.trim(),":not(.style-scope)")};ca.Object.defineProperties(uf.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});
207
- var Ef=/:(nth[-\w]+)\(([^)]+)\)/,Jf=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Qf=/[[.:#*]/,If=/^(::slotted)/,Pf=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Of=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Lf=/(.*):dir\((?:(ltr|rtl))\)(.*)/,Gf=/:(?:matches|any|-(?:webkit|moz)-any)/,V=new uf;function Sf(a,b,c,d,e){this.A=a||null;this.h=b||null;this.la=c||[];this.u=null;this.cssBuild=e||"";this.T=d||"";this.g=this.v=this.C=null}function X(a){return a?a.__styleInfo:null}function Tf(a,b){return a.__styleInfo=b}Sf.prototype.i=function(){return this.A};Sf.prototype._getStyleRules=Sf.prototype.i;function Uf(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var Vf=/:host\s*>\s*/,Wf=navigator.userAgent.match("Trident");function Xf(){}function Yf(a){var b={},c=[],d=0;gf(a,function(f){Zf(f);f.index=d++;f=f.l.cssText;for(var g;g=af.exec(f);){var h=g[1];":"!==g[2]&&(b[h]=!0)}},function(f){c.push(f)});a.h=c;a=[];for(var e in b)a.push(e);return a}
208
- function Zf(a){if(!a.l){var b={},c={};$f(a,c)&&(b.B=c,a.rules=null);b.cssText=a.parsedCssText.replace(df,"").replace(Ze,"");a.l=b}}function $f(a,b){var c=a.l;if(c){if(c.B)return Object.assign(b,c.B),!0}else{c=a.parsedCssText;for(var d;a=Ze.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
209
- function ag(a,b,c){b&&(b=0<=b.indexOf(";")?bg(a,b,c):of(b,function(d,e,f,g){if(!e)return d+g;(e=ag(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=ag(a,c[f]||f,c)||f;return d+(e||"")+g}));return b&&b.trim()||""}
210
- function bg(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){$e.lastIndex=0;if(f=$e.exec(e))e=ag(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var g=e.substring(f);g=g.trim();g=ag(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(";")}
211
- function cg(a,b){var c={},d=[];gf(a,function(e){e.l||Zf(e);var f=e.m||e.parsedSelector;b&&e.l.B&&f&&Uf.call(b,f)&&($f(e,c),e=e.index,f=parseInt(e/32,10),d[f]=(d[f]||0)|1<<e%32)},null,!0);return{B:c,key:d}}
212
- function dg(a,b,c,d){b.l||Zf(b);if(b.l.B){var e=U(a);a=e.is;e=e.T;e=a?Bf(a,e):"html";var f=b.parsedSelector;var g=!!f.match(Vf)||"html"===e&&-1<f.indexOf("html");var 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.m||(b.m=Cf(V,b,V.h,a?"."+a:"",e)),c=b.m||e),g&&"html"===e&&(c=b.m||b.ca),d({na:c,Ma:h,Za:g})}}
213
- function eg(a,b,c){var d={},e={};gf(b,function(f){dg(a,f,c,function(g){Uf.call(a._element||a,g.na)&&(g.Ma?$f(f,d):$f(f,e))})},null,!0);return{Qa:e,La:d}}
214
- function fg(a,b,c,d){var e=U(b),f=Bf(e.is,e.T),g=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),h=X(b);e=h.A;h=h.cssBuild;var k=gg(e,d);return zf(b,e,function(l){var m="";l.l||Zf(l);l.l.cssText&&(m=bg(a,l.l.cssText,c));l.cssText=m;if(!Q&&!jf(l)&&l.cssText){var q=m=l.cssText;null==l.ua&&(l.ua=bf.test(m));if(l.ua)if(null==l.ba){l.ba=[];for(var v in k)q=k[v],q=q(m),m!==q&&(m=q,l.ba.push(v))}else{for(v=0;v<l.ba.length;++v)q=k[l.ba[v]],m=q(m);q=m}l.cssText=q;l.m=l.m||
215
- l.selector;m="."+d;v=rf(l.m);q=0;for(var T=v.length,cb=void 0;q<T&&(cb=v[q]);q++)v[q]=cb.match(g)?cb.replace(f,m):m+" "+cb;l.selector=v.join(",")}},h)}function gg(a,b){a=a.h;var c={};if(!Q&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,g=b;f.o=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.g=f.keyframesName+"-"+g;f.m=f.m||f.selector;f.selector=f.m.replace(f.keyframesName,f.g);c[e.keyframesName]=hg(e)}return c}function hg(a){return function(b){return b.replace(a.o,a.g)}}
216
- function ig(a,b){var c=jg,d=hf(a);a.textContent=ff(d,function(e){var f=e.cssText=e.parsedCssText;e.l&&e.l.cssText&&(f=f.replace(Re,"").replace(Se,""),e.cssText=bg(c,f,b))})}ca.Object.defineProperties(Xf.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var jg=new Xf;var kg={},lg=window.customElements;if(lg&&!Q&&!Ye){var mg=lg.define;lg.define=function(a,b,c){kg[a]||(kg[a]=mf(a));mg.call(lg,a,b,c)}};function ng(){this.cache={}}ng.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({B:b,styleElement:c,v:d});100<e.length&&e.shift();this.cache[a]=e};function og(){}var pg=new RegExp(V.g+"\\s*([^\\s]*)");function qg(a){return(a=(a.classList&&a.classList.value?a.classList.value:a.getAttribute("class")||"").match(pg))?a[1]:""}function rg(a){var b=qf(a).getRootNode();return b===a||b===a.ownerDocument?"":(a=b.host)?U(a).is:""}
217
- function sg(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=qg(e);if(g&&f===e.ownerDocument&&("style"!==e.localName&&"template"!==e.localName||""===sf(e)))yf(e,g);else if(f instanceof ShadowRoot)for(f=rg(e),f!==g&&xf(e,g,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+V.g+")"),g=0;g<e.length;g++){f=e[g];
218
- var h=rg(f);h&&W(f,h)}}}}}
219
- if(!(Q||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var tg=new MutationObserver(sg),ug=function(a){tg.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)ug(document);else{var vg=function(){ug(document.body)};window.HTMLImports?window.HTMLImports.whenReady(vg):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){vg();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",
220
- a)}else vg()})}og=function(){sg(tg.takeRecords())}};var wg={};var xg=Promise.resolve();function yg(a){if(a=wg[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function zg(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Ag(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a._validating||(a._validating=!0,xg.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a._validating=!1}))};var Bg={},Cg=new ng;function Y(){this.va={};this.i=document.documentElement;var a=new Ee;a.rules=[];this.o=Tf(this.i,new Sf(a));this.ca=!1;this.g=this.h=null}n=Y.prototype;n.flush=function(){og()};n.Ja=function(a){return hf(a)};n.Ua=function(a){return ff(a)};n.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)};
221
- n.prepareTemplateStyles=function(a,b,c){if(!a._prepared&&!Ye){Q||kg[b]||(kg[b]=mf(b));a._prepared=!0;a.name=b;a.extends=c;wg[b]=a;var d=sf(a),e=tf(d);c={is:b,extends:c};for(var f=[],g=a.content.querySelectorAll("style"),h=0;h<g.length;h++){var k=g[h];if(k.hasAttribute("shady-unscoped")){if(!Q){var l=k.textContent;if(!ef.has(l)){ef.add(l);var m=document.createElement("style");m.setAttribute("shady-unscoped","");m.textContent=l;document.head.appendChild(m)}k.parentNode.removeChild(k)}}else f.push(k.textContent),
222
- k.parentNode.removeChild(k)}f=f.join("").trim()+(Bg[b]||"");Dg(this);if(!e){if(g=!d)g=$e.test(f)||Ze.test(f),$e.lastIndex=0,Ze.lastIndex=0;h=Fe(f);g&&R&&this.h&&this.h.transformRules(h,b);a._styleAst=h}g=[];R||(g=Yf(a._styleAst));if(!g.length||R)h=Q?a.content:null,b=kg[b]||null,d=zf(c,a._styleAst,null,d,e?f:""),d=d.length?kf(d,c.is,h,b):null,a._style=d;a.g=g}};n.Oa=function(a,b){Bg[b]=a.join(" ")};
223
- n.prepareTemplateDom=function(a,b){if(!Ye){var c=sf(a);Q||"shady"===c||a._domPrepared||(a._domPrepared=!0,vf(a.content,b))}};function Eg(a){var b=U(a),c=b.is;b=b.T;var d=kg[c]||null,e=wg[c];if(e){c=e._styleAst;var f=e.g;e=sf(e);b=new Sf(c,d,f,b,e);Tf(a,b);return b}}
224
- function Fg(a){!a.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.g=window.ShadyCSS.CustomStyleInterface,a.g.transformCallback=function(b){a.ya(b)},a.g.validateCallback=function(){requestAnimationFrame(function(){(a.g.enqueued||a.ca)&&a.flushCustomStyles()})})}function Dg(a){if(!a.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){a.h=window.ShadyCSS.ApplyShim;a.h.invalidCallback=yg;var b=!0}else b=!1;Fg(a);return b}
225
- n.flushCustomStyles=function(){if(!Ye){var a=Dg(this);if(this.g){var b=this.g.processStyles();if((a||this.g.enqueued)&&!tf(this.o.cssBuild)){if(R){if(!this.o.cssBuild)for(a=0;a<b.length;a++){var c=this.g.getStyleForCustomStyle(b[a]);if(c&&R&&this.h){var d=hf(c);Dg(this);this.h.transformRules(d);c.textContent=ff(d)}}}else{Gg(this,b);Hg(this,this.i,this.o);for(a=0;a<b.length;a++)(c=this.g.getStyleForCustomStyle(b[a]))&&ig(c,this.o.C);this.ca&&this.styleDocument()}this.g.enqueued=!1}}}};
226
- function Gg(a,b){b=b.map(function(c){return a.g.getStyleForCustomStyle(c)}).filter(function(c){return!!c});b.sort(function(c,d){c=d.compareDocumentPosition(c);return c&Node.DOCUMENT_POSITION_FOLLOWING?1:c&Node.DOCUMENT_POSITION_PRECEDING?-1:0});a.o.A.rules=b.map(function(c){return hf(c)})}
227
- n.styleElement=function(a,b){if(Ye){if(b){X(a)||Tf(a,new Sf(null));var c=X(a);c.u=c.u||{};Object.assign(c.u,b);Ig(this,a,c)}}else if(c=X(a)||Eg(a))if(a!==this.i&&(this.ca=!0),b&&(c.u=c.u||{},Object.assign(c.u,b)),R)Ig(this,a,c);else if(this.flush(),Hg(this,a,c),c.la&&c.la.length){b=U(a).is;var d;a:{if(d=Cg.cache[b])for(var e=d.length-1;0<=e;e--){var f=d[e];b:{var g=c.la;for(var h=0;h<g.length;h++){var k=g[h];if(f.B[k]!==c.C[k]){g=!1;break b}}g=!0}if(g){d=f;break a}}d=void 0}g=d?d.styleElement:null;
228
- e=c.v;(f=d&&d.v)||(f=this.va[b]=(this.va[b]||0)+1,f=b+"-"+f);c.v=f;f=c.v;h=jg;h=g?g.textContent||"":fg(h,a,c.C,f);k=X(a);var l=k.g;l&&!Q&&l!==g&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));Q?k.g?(k.g.textContent=h,g=k.g):h&&(g=kf(h,f,a.shadowRoot,k.h)):g?g.parentNode||(Wf&&-1<h.indexOf("@media")&&(g.textContent=h),lf(g,null,k.h)):h&&(g=kf(h,f,null,k.h));g&&(g._useCount=g._useCount||0,k.g!=g&&g._useCount++,k.g=g);f=g;Q||(g=c.v,k=h=a.getAttribute("class")||"",e&&(k=h.replace(new RegExp("\\s*x-scope\\s*"+
229
- e+"\\s*","g")," ")),k+=(k?" ":"")+"x-scope "+g,h!==k&&pf(a,k));d||Cg.store(b,c.C,f,c.v)}};
230
- function Ig(a,b,c){var d=U(b).is;if(c.u){var e=c.u,f;for(f in e)null===f?b.style.removeProperty(f):b.style.setProperty(f,e[f])}e=wg[d];if(!(!e&&b!==a.i||e&&""!==sf(e))&&e&&e._style&&!zg(e)){if(zg(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)Dg(a),a.h&&a.h.transformRules(e._styleAst,d),e._style.textContent=zf(b,c.A),Ag(e);Q&&(a=b.shadowRoot)&&(a=a.querySelector("style"))&&(a.textContent=zf(b,c.A));c.A=e._styleAst}}
231
- function Jg(a,b){return(b=qf(b).getRootNode().host)?X(b)||Eg(b)?b:Jg(a,b):a.i}function Hg(a,b,c){var d=Jg(a,b),e=X(d),f=e.C;d===a.i||f||(Hg(a,d,e),f=e.C);a=Object.create(f||null);d=eg(b,c.A,c.cssBuild);b=cg(e.A,b).B;Object.assign(a,d.La,b,d.Qa);b=c.u;for(var g in b)if((e=b[g])||0===e)a[g]=e;g=jg;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=ag(g,a[d],a);c.C=a}n.styleDocument=function(a){this.styleSubtree(this.i,a)};
232
- n.styleSubtree=function(a,b){var c=qf(a),d=c.shadowRoot,e=a===this.i;(d||e)&&this.styleElement(a,b);if(a=e?c:d)for(a=Array.from(a.querySelectorAll("*")).filter(function(f){return qf(f).shadowRoot}),b=0;b<a.length;b++)this.styleSubtree(a[b])};
233
- n.ya=function(a){var b=this,c=sf(a);c!==this.o.cssBuild&&(this.o.cssBuild=c);if(!tf(c)){var d=hf(a);gf(d,function(e){if(Q)Rf(e);else{var f=V;e.selector=e.parsedSelector;Rf(e);e.selector=e.m=Cf(f,e,f.i,void 0,void 0)}R&&""===c&&(Dg(b),b.h&&b.h.transformRule(e))});R?a.textContent=ff(d):this.o.A.rules.push(d)}};n.getComputedStyleValue=function(a,b){var c;R||(c=(X(a)||X(Jg(this,a))).C[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};
234
- n.Ta=function(a,b){var c=qf(a).getRootNode();b=b?("string"===typeof b?b:String(b)).split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===V.g){c=d[e+1];break}}}c&&b.push(V.g,c);R||(c=X(a))&&c.v&&b.push(jg.g,c.v);pf(a,b.join(" "))};n.Fa=function(a){return X(a)};n.Sa=function(a,b){W(a,b)};n.Va=function(a,b){W(a,b,!0)};n.Ra=function(a){return rg(a)};n.Ia=function(a){return qg(a)};Y.prototype.flush=Y.prototype.flush;
188
+ function Fe(){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=""}
189
+ function Ge(a){var b=a=a.replace(He,"").replace(Ie,""),c=new Fe;c.start=0;c.end=b.length;for(var d=c,e=0,f=b.length;e<f;e++)if("{"===b[e]){d.rules||(d.rules=[]);var g=d,h=g.rules[g.rules.length-1]||null;d=new Fe;d.start=e+1;d.parent=g;d.previous=h;g.rules.push(d)}else"}"===b[e]&&(d.end=e+1,d=d.parent||c);return Je(c,a)}
190
+ function Je(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=Ke(c),c=c.replace(Le," "),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=Me:c.match(Ne)&&(a.type=Oe,a.keyframesName=a.selector.split(Le).pop()):a.type=0===c.indexOf("--")?Pe:Qe);if(c=a.rules)for(var d=0,e=c.length,f=void 0;d<e&&(f=c[d]);d++)Je(f,
191
+ b);return a}function Ke(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(b,c){b=c;for(c=6-b.length;c--;)b="0"+b;return"\\"+b})}
192
+ function Re(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=Re(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(Se,"").replace(Te,""),b=b.replace(Ue,"").replace(Ve,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}
193
+ var Qe=1,Oe=7,Me=4,Pe=1E3,He=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Ie=/@import[^;]*;/gim,Se=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Te=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Ue=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Ve=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Ne=/^@[^\s]*keyframes/,Le=/\s+/g;var Q=!(window.ShadyDOM&&window.ShadyDOM.inUse),We;function Xe(a){We=a&&a.shimcssproperties?!1:Q||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}var Ye;window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(Ye=window.ShadyCSS.cssBuild);var Ze=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);
194
+ window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?We=window.ShadyCSS.nativeCss:window.ShadyCSS?(Xe(window.ShadyCSS),window.ShadyCSS=void 0):Xe(window.WebComponents&&window.WebComponents.flags);var R=We;var $e=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,af=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,bf=/(--[\w-]+)\s*([:,;)]|$)/gi,cf=/(animation\s*:)|(animation-name\s*:)/,df=/@media\s(.*)/,ef=/\{[^}]*\}/g;var ff=new Set;function gf(a,b){if(!a)return"";"string"===typeof a&&(a=Ge(a));b&&hf(a,b);return Re(a,R)}function jf(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ge(a.textContent));return a.__cssRules||null}function kf(a){return!!a.parent&&a.parent.type===Oe}function hf(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===Me){var g=a.selector.match(df);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===Qe?b(a):c&&f===Oe?c(a):f===Pe&&(e=!0);if((a=a.rules)&&!e)for(e=0,f=a.length,g=void 0;e<f&&(g=a[e]);e++)hf(g,b,c,d)}}
195
+ function lf(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;mf(e,c,d);return e}var S=null;function nf(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(S?S.nextSibling:null)||b.firstChild);return S=a}function mf(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);S?a.compareDocumentPosition(S)===Node.DOCUMENT_POSITION_PRECEDING&&(S=a):S=a}
196
+ function of(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 pf(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=of(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=pf(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 qf(a,b){Q?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}
197
+ var rf=window.ShadyDOM&&window.ShadyDOM.wrap||function(a){return a};function U(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,T:c}}function sf(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=of(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}
198
+ function tf(a){if(void 0!==Ye)return Ye;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||""}
199
+ function uf(a){a=void 0===a?"":a;return""!==a&&R?Q?"shadow"===a:"shady"===a:!1};function vf(){}function wf(a,b){xf(V,a,function(c){W(c,b||"")})}function xf(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++)xf(a,d[b],c)}
200
+ function W(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,""),qf(a,b)):qf(a,(d?d+" ":"")+"style-scope "+b)}}function yf(a,b,c){xf(V,a,function(d){W(d,b,!0);W(d,c)})}function zf(a,b){xf(V,a,function(c){W(c,b||"",!0)})}
201
+ function Af(a,b,c,d,e){var f=V;e=void 0===e?"":e;""===e&&(Q||"shady"===(void 0===d?"":d)?e=gf(b,c):(a=U(a),e=Bf(f,b,a.is,a.T,c)+"\n\n"));return e.trim()}function Bf(a,b,c,d,e){var f=Cf(c,d);c=c?"."+c:"";return gf(b,function(g){g.i||(g.selector=g.m=Df(a,g,a.h,c,f),g.i=!0);e&&e(g,c,f)})}function Cf(a,b){return b?"[is="+a+"]":a}
202
+ function Df(a,b,c,d,e){var f=sf(b.selector);if(!kf(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(k){return!!k}).join(",")}function Ef(a){return a.replace(Ff,function(b,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}
203
+ function Gf(a){for(var b=[],c;c=a.match(Hf);){var d=c.index,e=of(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{na:a,matches:b}}function If(a,b){var c=a.split("\ue000");return b.reduce(function(d,e,f){return d+e+c[f+1]},c[0])}
204
+ vf.prototype.h=function(a,b,c){var d=!1;a=a.trim();var e=Ff.test(a);e&&(a=a.replace(Ff,function(h,k,l){return":"+k+"("+l.replace(/\s/g,"")+")"}),a=Ef(a));var f=Hf.test(a);if(f){var g=Gf(a);a=g.na;g=g.matches}a=a.replace(Jf,":host $1");a=a.replace(Kf,function(h,k,l){d||(h=Lf(l,k,b,c),d=d||h.stop,k=h.Ga,l=h.value);return k+l});f&&(a=If(a,g));e&&(a=Ef(a));return a=a.replace(Mf,function(h,k,l,m){return'[dir="'+l+'"] '+k+m+", "+k+'[dir="'+l+'"]'+m})};
205
+ function Lf(a,b,c,d){var e=a.indexOf("::slotted");0<=a.indexOf(":host")?a=Nf(a,d):0!==e&&(a=c?Of(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(Pf,function(g,h){return" > "+h}))}return{value:a,Ga:b,stop:f}}function Of(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("")}
206
+ function Nf(a,b){var c=a.match(Qf);return(c=c&&c[2].trim()||"")?c[0].match(Rf)?a.replace(Qf,function(d,e,f){return b+f}):c.split(Rf)[0]===b?c:"should_not_match":a.replace(":host",b)}function Sf(a){":root"===a.selector&&(a.selector="html")}vf.prototype.i=function(a){return a.match(":host")?"":a.match("::slotted")?this.h(a,":not(.style-scope)"):Of(a.trim(),":not(.style-scope)")};ca.Object.defineProperties(vf.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});
207
+ var Ff=/:(nth[-\w]+)\(([^)]+)\)/,Kf=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Rf=/[[.:#*]/,Jf=/^(::slotted)/,Qf=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Pf=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Mf=/(.*):dir\((?:(ltr|rtl))\)(.*)/,Hf=/:(?:matches|any|-(?:webkit|moz)-any)/,V=new vf;function Tf(a,b,c,d,e){this.A=a||null;this.h=b||null;this.la=c||[];this.u=null;this.cssBuild=e||"";this.T=d||"";this.g=this.v=this.C=null}function X(a){return a?a.__styleInfo:null}function Uf(a,b){return a.__styleInfo=b}Tf.prototype.i=function(){return this.A};Tf.prototype._getStyleRules=Tf.prototype.i;function Vf(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var Wf=/:host\s*>\s*/,Xf=navigator.userAgent.match("Trident");function Yf(){}function Zf(a){var b={},c=[],d=0;hf(a,function(f){$f(f);f.index=d++;f=f.l.cssText;for(var g;g=bf.exec(f);){var h=g[1];":"!==g[2]&&(b[h]=!0)}},function(f){c.push(f)});a.h=c;a=[];for(var e in b)a.push(e);return a}
208
+ function $f(a){if(!a.l){var b={},c={};ag(a,c)&&(b.B=c,a.rules=null);b.cssText=a.parsedCssText.replace(ef,"").replace($e,"");a.l=b}}function ag(a,b){var c=a.l;if(c){if(c.B)return Object.assign(b,c.B),!0}else{c=a.parsedCssText;for(var d;a=$e.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
209
+ function bg(a,b,c){b&&(b=0<=b.indexOf(";")?cg(a,b,c):pf(b,function(d,e,f,g){if(!e)return d+g;(e=bg(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=bg(a,c[f]||f,c)||f;return d+(e||"")+g}));return b&&b.trim()||""}
210
+ function cg(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){af.lastIndex=0;if(f=af.exec(e))e=bg(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var g=e.substring(f);g=g.trim();g=bg(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(";")}
211
+ function dg(a,b){var c={},d=[];hf(a,function(e){e.l||$f(e);var f=e.m||e.parsedSelector;b&&e.l.B&&f&&Vf.call(b,f)&&(ag(e,c),e=e.index,f=parseInt(e/32,10),d[f]=(d[f]||0)|1<<e%32)},null,!0);return{B:c,key:d}}
212
+ function eg(a,b,c,d){b.l||$f(b);if(b.l.B){var e=U(a);a=e.is;e=e.T;e=a?Cf(a,e):"html";var f=b.parsedSelector;var g=!!f.match(Wf)||"html"===e&&-1<f.indexOf("html");var 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.m||(b.m=Df(V,b,V.h,a?"."+a:"",e)),c=b.m||e),g&&"html"===e&&(c=b.m||b.ca),d({na:c,Ma:h,Za:g})}}
213
+ function fg(a,b,c){var d={},e={};hf(b,function(f){eg(a,f,c,function(g){Vf.call(a._element||a,g.na)&&(g.Ma?ag(f,d):ag(f,e))})},null,!0);return{Qa:e,La:d}}
214
+ function gg(a,b,c,d){var e=U(b),f=Cf(e.is,e.T),g=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),h=X(b);e=h.A;h=h.cssBuild;var k=hg(e,d);return Af(b,e,function(l){var m="";l.l||$f(l);l.l.cssText&&(m=cg(a,l.l.cssText,c));l.cssText=m;if(!Q&&!kf(l)&&l.cssText){var q=m=l.cssText;null==l.ua&&(l.ua=cf.test(m));if(l.ua)if(null==l.ba){l.ba=[];for(var v in k)q=k[v],q=q(m),m!==q&&(m=q,l.ba.push(v))}else{for(v=0;v<l.ba.length;++v)q=k[l.ba[v]],m=q(m);q=m}l.cssText=q;l.m=l.m||
215
+ l.selector;m="."+d;v=sf(l.m);q=0;for(var T=v.length,db=void 0;q<T&&(db=v[q]);q++)v[q]=db.match(g)?db.replace(f,m):m+" "+db;l.selector=v.join(",")}},h)}function hg(a,b){a=a.h;var c={};if(!Q&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,g=b;f.o=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.g=f.keyframesName+"-"+g;f.m=f.m||f.selector;f.selector=f.m.replace(f.keyframesName,f.g);c[e.keyframesName]=ig(e)}return c}function ig(a){return function(b){return b.replace(a.o,a.g)}}
216
+ function jg(a,b){var c=kg,d=jf(a);a.textContent=gf(d,function(e){var f=e.cssText=e.parsedCssText;e.l&&e.l.cssText&&(f=f.replace(Se,"").replace(Te,""),e.cssText=cg(c,f,b))})}ca.Object.defineProperties(Yf.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var kg=new Yf;var lg={},mg=window.customElements;if(mg&&!Q&&!Ze){var ng=mg.define;mg.define=function(a,b,c){lg[a]||(lg[a]=nf(a));ng.call(mg,a,b,c)}};function og(){this.cache={}}og.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({B:b,styleElement:c,v:d});100<e.length&&e.shift();this.cache[a]=e};function pg(){}var qg=new RegExp(V.g+"\\s*([^\\s]*)");function rg(a){return(a=(a.classList&&a.classList.value?a.classList.value:a.getAttribute("class")||"").match(qg))?a[1]:""}function sg(a){var b=rf(a).getRootNode();return b===a||b===a.ownerDocument?"":(a=b.host)?U(a).is:""}
217
+ function tg(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=rg(e);if(g&&f===e.ownerDocument&&("style"!==e.localName&&"template"!==e.localName||""===tf(e)))zf(e,g);else if(f instanceof ShadowRoot)for(f=sg(e),f!==g&&yf(e,g,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+V.g+")"),g=0;g<e.length;g++){f=e[g];
218
+ var h=sg(f);h&&W(f,h)}}}}}
219
+ if(!(Q||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var ug=new MutationObserver(tg),vg=function(a){ug.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)vg(document);else{var wg=function(){vg(document.body)};window.HTMLImports?window.HTMLImports.whenReady(wg):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){wg();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",
220
+ a)}else wg()})}pg=function(){tg(ug.takeRecords())}};var xg={};var yg=Promise.resolve();function zg(a){if(a=xg[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Ag(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Bg(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a._validating||(a._validating=!0,yg.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a._validating=!1}))};var Cg={},Dg=new og;function Y(){this.va={};this.i=document.documentElement;var a=new Fe;a.rules=[];this.o=Uf(this.i,new Tf(a));this.ca=!1;this.g=this.h=null}n=Y.prototype;n.flush=function(){pg()};n.Ja=function(a){return jf(a)};n.Ua=function(a){return gf(a)};n.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)};
221
+ n.prepareTemplateStyles=function(a,b,c){if(!a._prepared&&!Ze){Q||lg[b]||(lg[b]=nf(b));a._prepared=!0;a.name=b;a.extends=c;xg[b]=a;var d=tf(a),e=uf(d);c={is:b,extends:c};for(var f=[],g=a.content.querySelectorAll("style"),h=0;h<g.length;h++){var k=g[h];if(k.hasAttribute("shady-unscoped")){if(!Q){var l=k.textContent;if(!ff.has(l)){ff.add(l);var m=document.createElement("style");m.setAttribute("shady-unscoped","");m.textContent=l;document.head.appendChild(m)}k.parentNode.removeChild(k)}}else f.push(k.textContent),
222
+ k.parentNode.removeChild(k)}f=f.join("").trim()+(Cg[b]||"");Eg(this);if(!e){if(g=!d)g=af.test(f)||$e.test(f),af.lastIndex=0,$e.lastIndex=0;h=Ge(f);g&&R&&this.h&&this.h.transformRules(h,b);a._styleAst=h}g=[];R||(g=Zf(a._styleAst));if(!g.length||R)h=Q?a.content:null,b=lg[b]||null,d=Af(c,a._styleAst,null,d,e?f:""),d=d.length?lf(d,c.is,h,b):null,a._style=d;a.g=g}};n.Oa=function(a,b){Cg[b]=a.join(" ")};
223
+ n.prepareTemplateDom=function(a,b){if(!Ze){var c=tf(a);Q||"shady"===c||a._domPrepared||(a._domPrepared=!0,wf(a.content,b))}};function Fg(a){var b=U(a),c=b.is;b=b.T;var d=lg[c]||null,e=xg[c];if(e){c=e._styleAst;var f=e.g;e=tf(e);b=new Tf(c,d,f,b,e);Uf(a,b);return b}}
224
+ function Gg(a){!a.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.g=window.ShadyCSS.CustomStyleInterface,a.g.transformCallback=function(b){a.ya(b)},a.g.validateCallback=function(){requestAnimationFrame(function(){(a.g.enqueued||a.ca)&&a.flushCustomStyles()})})}function Eg(a){if(!a.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){a.h=window.ShadyCSS.ApplyShim;a.h.invalidCallback=zg;var b=!0}else b=!1;Gg(a);return b}
225
+ n.flushCustomStyles=function(){if(!Ze){var a=Eg(this);if(this.g){var b=this.g.processStyles();if((a||this.g.enqueued)&&!uf(this.o.cssBuild)){if(R){if(!this.o.cssBuild)for(a=0;a<b.length;a++){var c=this.g.getStyleForCustomStyle(b[a]);if(c&&R&&this.h){var d=jf(c);Eg(this);this.h.transformRules(d);c.textContent=gf(d)}}}else{Hg(this,b);Ig(this,this.i,this.o);for(a=0;a<b.length;a++)(c=this.g.getStyleForCustomStyle(b[a]))&&jg(c,this.o.C);this.ca&&this.styleDocument()}this.g.enqueued=!1}}}};
226
+ function Hg(a,b){b=b.map(function(c){return a.g.getStyleForCustomStyle(c)}).filter(function(c){return!!c});b.sort(function(c,d){c=d.compareDocumentPosition(c);return c&Node.DOCUMENT_POSITION_FOLLOWING?1:c&Node.DOCUMENT_POSITION_PRECEDING?-1:0});a.o.A.rules=b.map(function(c){return jf(c)})}
227
+ n.styleElement=function(a,b){if(Ze){if(b){X(a)||Uf(a,new Tf(null));var c=X(a);c.u=c.u||{};Object.assign(c.u,b);Jg(this,a,c)}}else if(c=X(a)||Fg(a))if(a!==this.i&&(this.ca=!0),b&&(c.u=c.u||{},Object.assign(c.u,b)),R)Jg(this,a,c);else if(this.flush(),Ig(this,a,c),c.la&&c.la.length){b=U(a).is;var d;a:{if(d=Dg.cache[b])for(var e=d.length-1;0<=e;e--){var f=d[e];b:{var g=c.la;for(var h=0;h<g.length;h++){var k=g[h];if(f.B[k]!==c.C[k]){g=!1;break b}}g=!0}if(g){d=f;break a}}d=void 0}g=d?d.styleElement:null;
228
+ e=c.v;(f=d&&d.v)||(f=this.va[b]=(this.va[b]||0)+1,f=b+"-"+f);c.v=f;f=c.v;h=kg;h=g?g.textContent||"":gg(h,a,c.C,f);k=X(a);var l=k.g;l&&!Q&&l!==g&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));Q?k.g?(k.g.textContent=h,g=k.g):h&&(g=lf(h,f,a.shadowRoot,k.h)):g?g.parentNode||(Xf&&-1<h.indexOf("@media")&&(g.textContent=h),mf(g,null,k.h)):h&&(g=lf(h,f,null,k.h));g&&(g._useCount=g._useCount||0,k.g!=g&&g._useCount++,k.g=g);f=g;Q||(g=c.v,k=h=a.getAttribute("class")||"",e&&(k=h.replace(new RegExp("\\s*x-scope\\s*"+
229
+ e+"\\s*","g")," ")),k+=(k?" ":"")+"x-scope "+g,h!==k&&qf(a,k));d||Dg.store(b,c.C,f,c.v)}};
230
+ function Jg(a,b,c){var d=U(b).is;if(c.u){var e=c.u,f;for(f in e)null===f?b.style.removeProperty(f):b.style.setProperty(f,e[f])}e=xg[d];if(!(!e&&b!==a.i||e&&""!==tf(e))&&e&&e._style&&!Ag(e)){if(Ag(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)Eg(a),a.h&&a.h.transformRules(e._styleAst,d),e._style.textContent=Af(b,c.A),Bg(e);Q&&(a=b.shadowRoot)&&(a=a.querySelector("style"))&&(a.textContent=Af(b,c.A));c.A=e._styleAst}}
231
+ function Kg(a,b){return(b=rf(b).getRootNode().host)?X(b)||Fg(b)?b:Kg(a,b):a.i}function Ig(a,b,c){var d=Kg(a,b),e=X(d),f=e.C;d===a.i||f||(Ig(a,d,e),f=e.C);a=Object.create(f||null);d=fg(b,c.A,c.cssBuild);b=dg(e.A,b).B;Object.assign(a,d.La,b,d.Qa);b=c.u;for(var g in b)if((e=b[g])||0===e)a[g]=e;g=kg;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=bg(g,a[d],a);c.C=a}n.styleDocument=function(a){this.styleSubtree(this.i,a)};
232
+ n.styleSubtree=function(a,b){var c=rf(a),d=c.shadowRoot,e=a===this.i;(d||e)&&this.styleElement(a,b);if(a=e?c:d)for(a=Array.from(a.querySelectorAll("*")).filter(function(f){return rf(f).shadowRoot}),b=0;b<a.length;b++)this.styleSubtree(a[b])};
233
+ n.ya=function(a){var b=this,c=tf(a);c!==this.o.cssBuild&&(this.o.cssBuild=c);if(!uf(c)){var d=jf(a);hf(d,function(e){if(Q)Sf(e);else{var f=V;e.selector=e.parsedSelector;Sf(e);e.selector=e.m=Df(f,e,f.i,void 0,void 0)}R&&""===c&&(Eg(b),b.h&&b.h.transformRule(e))});R?a.textContent=gf(d):this.o.A.rules.push(d)}};n.getComputedStyleValue=function(a,b){var c;R||(c=(X(a)||X(Kg(this,a))).C[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};
234
+ n.Ta=function(a,b){var c=rf(a).getRootNode();b=b?("string"===typeof b?b:String(b)).split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===V.g){c=d[e+1];break}}}c&&b.push(V.g,c);R||(c=X(a))&&c.v&&b.push(kg.g,c.v);qf(a,b.join(" "))};n.Fa=function(a){return X(a)};n.Sa=function(a,b){W(a,b)};n.Va=function(a,b){W(a,b,!0)};n.Ra=function(a){return sg(a)};n.Ia=function(a){return rg(a)};Y.prototype.flush=Y.prototype.flush;
235
235
  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.Ta;Y.prototype._styleInfoForNode=Y.prototype.Fa;Y.prototype.transformCustomStyleForDocument=Y.prototype.ya;Y.prototype.getStyleAst=Y.prototype.Ja;Y.prototype.styleAstToString=Y.prototype.Ua;
236
- Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles;Y.prototype.scopeNode=Y.prototype.Sa;Y.prototype.unscopeNode=Y.prototype.Va;Y.prototype.scopeForNode=Y.prototype.Ra;Y.prototype.currentScopeForNode=Y.prototype.Ia;Y.prototype.prepareAdoptedCssText=Y.prototype.Oa;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return Q}},nativeCss:{get:function(){return R}}});var Z=new Y,Kg,Lg;window.ShadyCSS&&(Kg=window.ShadyCSS.ApplyShim,Lg=window.ShadyCSS.CustomStyleInterface);
236
+ Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles;Y.prototype.scopeNode=Y.prototype.Sa;Y.prototype.unscopeNode=Y.prototype.Va;Y.prototype.scopeForNode=Y.prototype.Ra;Y.prototype.currentScopeForNode=Y.prototype.Ia;Y.prototype.prepareAdoptedCssText=Y.prototype.Oa;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return Q}},nativeCss:{get:function(){return R}}});var Z=new Y,Lg,Mg;window.ShadyCSS&&(Lg=window.ShadyCSS.ApplyShim,Mg=window.ShadyCSS.CustomStyleInterface);
237
237
  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()},
238
- getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:R,nativeShadow:Q,cssBuild:Xe,disableRuntime:Ye};Kg&&(window.ShadyCSS.ApplyShim=Kg);Lg&&(window.ShadyCSS.CustomStyleInterface=Lg);}).call(this);
238
+ getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:R,nativeShadow:Q,cssBuild:Ye,disableRuntime:Ze};Lg&&(window.ShadyCSS.ApplyShim=Lg);Mg&&(window.ShadyCSS.CustomStyleInterface=Mg);}).call(this);
239
239
 
240
240
  //# sourceMappingURL=webcomponents-sd-ce.js.map
@@ -34,7 +34,7 @@ this;return E.firstChild()}},lastChild:{get:function(){E.currentNode=this;return
34
34
  document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),c="",d;d=b.nextNode();)c+=d.nodeValue;return c;default:return this.nodeValue}},set:function(b){if("undefined"===typeof b||null===b)b="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Ya(this);(0<b.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(b),void 0);break;default:this.nodeValue=b}}}});D(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" "));
35
35
  D(HTMLElement.prototype,["parentElement","contains"]);a={firstElementChild:{get:function(){F.currentNode=this;return F.firstChild()}},lastElementChild:{get:function(){F.currentNode=this;return F.lastChild()}},children:{get:function(){var b=[];F.currentNode=this;for(var c=F.firstChild();c;)b.push(c),c=F.nextSibling();return sa(b)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};Sa?(D(Element.prototype,Za),D(Element.prototype,["previousElementSibling","nextElementSibling",
36
36
  "innerHTML","className"]),D(HTMLElement.prototype,["children","innerHTML","className"])):(Wa(Element.prototype,a),Wa(Element.prototype,{previousElementSibling:{get:function(){F.currentNode=this;return F.previousSibling()}},nextElementSibling:{get:function(){F.currentNode=this;return F.nextSibling()}},innerHTML:{get:function(){return Ra(this,ta)},set:function(b){var c="template"===this.localName?this.content:this;Ya(c);var d=this.localName||"div";d=this.namespaceURI&&this.namespaceURI!==Xa.namespaceURI?
37
- Xa.createElementNS(this.namespaceURI,d):Xa.createElement(d);d.innerHTML=b;for(b="template"===this.localName?d.content:d;d=b.__shady_native_firstChild;)c.__shady_native_insertBefore(d,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(b){this.setAttribute("class",b)}}}));D(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" "));D(Element.prototype,$a);D(HTMLElement.prototype,["focus","blur"]);window.HTMLTemplateElement&&
37
+ Xa.createElementNS(this.namespaceURI,d):Xa.createElement(d);d.innerHTML=b;for(b="template"===this.localName?d.content:d;d=b.__shady_native_firstChild;)c.__shady_native_insertBefore(d,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(b){this.setAttribute("class",b)}}}));D(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" "));D(Element.prototype,$a);D(HTMLElement.prototype,["focus","blur"]);window.HTMLTemplateElement&&
38
38
  D(window.HTMLTemplateElement.prototype,["innerHTML"]);Sa?D(DocumentFragment.prototype,Za):Wa(DocumentFragment.prototype,a);D(DocumentFragment.prototype,$a);Sa?(D(Document.prototype,Za),D(Document.prototype,["activeElement"])):Wa(Document.prototype,a);D(Document.prototype,["importNode","getElementById","elementFromPoint",ia()]);D(Document.prototype,$a)};var bb=B({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),cb=B({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=
39
39
  a},get innerHTML(){return this.__shady_innerHTML},set innerHTML(a){this.__shady_innerHTML=a}}),db=B({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(a){this.__shady_className=
40
40
  a}});function eb(a){for(var b in a){var c=a[b];c&&(c.enumerable=!1)}}eb(bb);eb(cb);eb(db);var fb=w.j||!0===w.s,gb=fb?function(){}:function(a){var b=t(a);b.na||(b.na=!0,wa(a,db))},hb=fb?function(){}:function(a){var b=t(a);b.ma||(b.ma=!0,wa(a,bb),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!w.s||wa(a,cb))};var ib="__eventWrappers"+Date.now(),jb=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),kb=function(){function a(){}var b=!1,c={get capture(){b=!0;return!1}};window.addEventListener("test",a,c);window.removeEventListener("test",a,c);return b}();function lb(a){if(null===a||"object"!==typeof a&&"function"!==typeof a){var b=!!a;var c=!1}else{b=!!a.capture;c=!!a.once;var d=a.F}return{ja:d,capture:b,once:c,ia:kb?a:b}}
@@ -95,7 +95,7 @@ var vc=B({after:function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=argumen
95
95
  arguments[c];c=this.__shady_parentNode;if(null!==c){var d=this.__shady_nextSibling;c.__shady_removeChild(this);c.__shady_insertBefore(C.apply(null,q(b)),d)}}});var wc=window.document;function xc(a,b){if("slot"===b)a=a.__shady_parentNode,ja(a)&&I(v(a).root);else if("slot"===a.localName&&"name"===b&&(b=H(a))){if(b.g){yc(b);var c=a.oa,d=zc(a);if(d!==c){c=b.h[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.h[d]||(b.h[d]=[]);c.push(a);1<c.length&&(b.h[d]=Ac(c))}}I(b)}}
96
96
  var Bc=B({get previousElementSibling(){var a=v(this);if(a&&void 0!==a.previousSibling){for(a=this.__shady_previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_previousSibling;return a}return this.__shady_native_previousElementSibling},get nextElementSibling(){var a=v(this);if(a&&void 0!==a.nextSibling){for(a=this.__shady_nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_nextSibling;return a}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},
97
97
  set slot(a){this.__shady_setAttribute("slot",a)},get className(){return this.getAttribute("class")||""},set className(a){this.__shady_setAttribute("class",a)},setAttribute:function(a,b){this.ownerDocument!==wc?this.__shady_native_setAttribute(a,b):Tb(this,a,b)||(this.__shady_native_setAttribute(a,b),xc(this,a))},removeAttribute:function(a){this.ownerDocument!==wc?this.__shady_native_removeAttribute(a):Tb(this,a,"")?""===this.getAttribute(a)&&this.__shady_native_removeAttribute(a):(this.__shady_native_removeAttribute(a),
98
- xc(this,a))}});w.L||Lb.forEach(function(a){Bc[a]=Nb(a)});
98
+ xc(this,a))},toggleAttribute:function(a,b){if(this.ownerDocument!==wc)return this.__shady_native_toggleAttribute(a,b);if(!Tb(this,a,""))return b=this.__shady_native_toggleAttribute(a,b),xc(this,a),b;if(""===this.getAttribute(a)&&!b)return this.__shady_native_toggleAttribute(a,b)}});w.L||Lb.forEach(function(a){Bc[a]=Nb(a)});
99
99
  var Gc=B({attachShadow:function(a){if(!this)throw Error("Must provide a host.");if(!a)throw Error("Not enough arguments.");if(a.shadyUpgradeFragment&&!w.la){var b=a.shadyUpgradeFragment;b.__proto__=ShadowRoot.prototype;Cc(b,this,a);Dc(b,b);a=b.__noInsertionPoint?null:b.querySelectorAll("slot");b.__noInsertionPoint=void 0;if(a&&a.length){var c=b;fc(c);c.i.push.apply(c.i,q(a));I(b)}b.host.__shady_native_appendChild(b)}else b=new Ec(Fc,this,a);return this.__CE_shadowRoot=b},get shadowRoot(){var a=v(this);
100
100
  return a&&a.Ba||null}});xa(Bc,Gc);var Hc=document.implementation.createHTMLDocument("inert"),Ic=B({get innerHTML(){return x(this)?Ra("template"===this.localName?this.content:this,ua):this.__shady_native_innerHTML},set innerHTML(a){if("template"===this.localName)this.__shady_native_innerHTML=a;else{bc(this);var b=this.localName||"div";b=this.namespaceURI&&this.namespaceURI!==Hc.namespaceURI?Hc.createElementNS(this.namespaceURI,b):Hc.createElement(b);for(w.j?b.__shady_native_innerHTML=a:b.innerHTML=a;a=b.__shady_firstChild;)this.__shady_insertBefore(a)}}});var Jc=B({blur:function(){var a=v(this);(a=(a=a&&a.root)&&a.activeElement)?a.__shady_blur():this.__shady_native_blur()}});w.L||Mb.forEach(function(a){Jc[a]=Nb(a)});var Kc=B({assignedNodes:function(a){if("slot"===this.localName){var b=this.__shady_getRootNode();b&&y(b)&&kc(b);return(b=v(this))?(a&&a.flatten?b.H:b.assignedNodes)||[]:[]}},addEventListener:function(a,b,c){if("slot"!==this.localName||"slotchange"===a)Db.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.F=this;d.__shady_addEventListener(a,b,c)}},removeEventListener:function(a,
101
101
  b,c){if("slot"!==this.localName||"slotchange"===a)Eb.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.F=this;d.__shady_removeEventListener(a,b,c)}}});var Lc=B({getElementById:function(a){return""===a?null:pc(this,function(b){return b.id==a},function(b){return!!b})[0]||null}});function Mc(a,b){for(var c;b&&!a.has(c=b.__shady_getRootNode());)b=c.host;return b}function Nc(a){var b=new Set;for(b.add(a);y(a)&&a.host;)a=a.host.__shady_getRootNode(),b.add(a);return b}
@@ -121,11 +121,11 @@ configurable:!0})})})(Ec.prototype);
121
121
  if(window.customElements&&window.customElements.define&&w.Z&&!w.preferPerformance){var gd=new Map;bd=function(){var a=[];gd.forEach(function(d,e){a.push([e,d])});gd.clear();for(var b=0;b<a.length;b++){var c=a[b][0];a[b][1]?c.__shadydom_connectedCallback():c.__shadydom_disconnectedCallback()}};P&&document.addEventListener("readystatechange",function(){P=!1;bd()},{once:!0});var hd=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.__shadydom_connectedCallback=
122
122
  function(){P?gd.set(this,!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=a.prototype.__shadydom_disconnectedCallback=function(){P?this.isConnected||gd.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},id=window.customElements.define,jd=function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;id.call(window.customElements,a,hd(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d};window.customElements.define=
123
123
  jd;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:jd,configurable:!0})}function H(a){a=a.__shady_getRootNode();if(y(a))return a};function Q(a){this.node=a}n=Q.prototype;n.addEventListener=function(a,b,c){return this.node.__shady_addEventListener(a,b,c)};n.removeEventListener=function(a,b,c){return this.node.__shady_removeEventListener(a,b,c)};n.appendChild=function(a){return this.node.__shady_appendChild(a)};n.insertBefore=function(a,b){return this.node.__shady_insertBefore(a,b)};n.removeChild=function(a){return this.node.__shady_removeChild(a)};n.replaceChild=function(a,b){return this.node.__shady_replaceChild(a,b)};
124
- n.cloneNode=function(a){return this.node.__shady_cloneNode(a)};n.getRootNode=function(a){return this.node.__shady_getRootNode(a)};n.contains=function(a){return this.node.__shady_contains(a)};n.dispatchEvent=function(a){return this.node.__shady_dispatchEvent(a)};n.setAttribute=function(a,b){this.node.__shady_setAttribute(a,b)};n.getAttribute=function(a){return this.node.__shady_native_getAttribute(a)};n.removeAttribute=function(a){this.node.__shady_removeAttribute(a)};n.attachShadow=function(a){return this.node.__shady_attachShadow(a)};
125
- n.focus=function(){this.node.__shady_native_focus()};n.blur=function(){this.node.__shady_blur()};n.importNode=function(a,b){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(a,b)};n.getElementById=function(a){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(a)};n.elementsFromPoint=function(a,b){return this.node.__shady_elementsFromPoint(a,b)};n.elementFromPoint=function(a,b){return this.node.__shady_elementFromPoint(a,b)};
126
- n.querySelector=function(a){return this.node.__shady_querySelector(a)};n.querySelectorAll=function(a,b){return this.node.__shady_querySelectorAll(a,b)};n.assignedNodes=function(a){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(a)};n.append=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_append.apply(this.node,q(b))};
127
- n.prepend=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_prepend.apply(this.node,q(b))};n.after=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_after.apply(this.node,q(b))};n.before=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_before.apply(this.node,q(b))};n.remove=function(){return this.node.__shady_remove()};
128
- n.replaceWith=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_replaceWith.apply(this.node,q(b))};
124
+ n.cloneNode=function(a){return this.node.__shady_cloneNode(a)};n.getRootNode=function(a){return this.node.__shady_getRootNode(a)};n.contains=function(a){return this.node.__shady_contains(a)};n.dispatchEvent=function(a){return this.node.__shady_dispatchEvent(a)};n.setAttribute=function(a,b){this.node.__shady_setAttribute(a,b)};n.getAttribute=function(a){return this.node.__shady_native_getAttribute(a)};n.removeAttribute=function(a){this.node.__shady_removeAttribute(a)};
125
+ n.toggleAttribute=function(a,b){return this.node.__shady_toggleAttribute(a,b)};n.attachShadow=function(a){return this.node.__shady_attachShadow(a)};n.focus=function(){this.node.__shady_native_focus()};n.blur=function(){this.node.__shady_blur()};n.importNode=function(a,b){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(a,b)};n.getElementById=function(a){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(a)};
126
+ n.elementsFromPoint=function(a,b){return this.node.__shady_elementsFromPoint(a,b)};n.elementFromPoint=function(a,b){return this.node.__shady_elementFromPoint(a,b)};n.querySelector=function(a){return this.node.__shady_querySelector(a)};n.querySelectorAll=function(a,b){return this.node.__shady_querySelectorAll(a,b)};n.assignedNodes=function(a){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(a)};
127
+ n.append=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_append.apply(this.node,q(b))};n.prepend=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_prepend.apply(this.node,q(b))};n.after=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_after.apply(this.node,q(b))};
128
+ n.before=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_before.apply(this.node,q(b))};n.remove=function(){return this.node.__shady_remove()};n.replaceWith=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_replaceWith.apply(this.node,q(b))};
129
129
  ca.Object.defineProperties(Q.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,
130
130
  enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,
131
131
  get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},
@@ -16,3 +16,4 @@ import '../platform/matches.js';
16
16
  import '../platform/parent-node/index.js';
17
17
  import '../platform/child-node/index.js';
18
18
  import '../platform/svg-element-class-list.js';
19
+ import '../platform/toggle-attribute.js';
@@ -0,0 +1,39 @@
1
+ /**
2
+ @license
3
+ Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at
5
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
6
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
7
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
8
+ part of the polymer project is also subject to an additional IP rights grant
9
+ found at http://polymer.github.io/PATENTS.txt
10
+ */
11
+ const Element_prototype = Element.prototype;
12
+ const nativeHasAttribute = Element.prototype.hasAttribute;
13
+ const nativeSetAttribute = Element.prototype.setAttribute;
14
+ const nativeRemoveAttribute = Element.prototype.removeAttribute;
15
+ if (!Element_prototype.hasOwnProperty('toggleAttribute')) {
16
+ Element_prototype.toggleAttribute = function toggleAttribute(name, force) {
17
+ if (force === undefined) {
18
+ if (nativeHasAttribute.call(this, name)) {
19
+ nativeRemoveAttribute.call(this, name);
20
+ return false;
21
+ }
22
+ else {
23
+ nativeSetAttribute.call(this, name, '');
24
+ return true;
25
+ }
26
+ }
27
+ if (force) {
28
+ if (!nativeHasAttribute.call(this, name)) {
29
+ nativeSetAttribute.call(this, name, '');
30
+ }
31
+ return true;
32
+ }
33
+ // force is falsey
34
+ nativeRemoveAttribute.call(this, name);
35
+ return false;
36
+ };
37
+ }
38
+ export {};
39
+ //# sourceMappingURL=toggle-attribute.js.map