| 28 window.CustomElements={flags:{}};var SideTable;if("undefined"!=typeof WeakMap&&n
avigator.userAgent.indexOf("Firefox/")<0?SideTable=WeakMap:function(){var a=Obje
ct.defineProperty,b=Object.hasOwnProperty,c=(new Date).getTime()%1e9;SideTable=f
unction(){this.name="__st"+(1e9*Math.random()>>>0)+(c++ +"__")},SideTable.protot
ype={set:function(b,c){a(b,this.name,{value:c,writable:!0})},get:function(a){ret
urn b.call(a,this.name)?a[this.name]:void 0},"delete":function(a){this.set(a,voi
d 0)}}}(),function(a){function b(a){u.push(a),t||(t=!0,q(d))}function c(a){retur
n window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(a)||a}function
d(){t=!1;var a=u;u=[],a.sort(function(a,b){return a.uid_-b.uid_});var b=!1;a.fo
rEach(function(a){var c=a.takeRecords();e(a),c.length&&(a.callback_(c,a),b=!0)})
,b&&d()}function e(a){a.nodes_.forEach(function(b){var c=p.get(b);c&&c.forEach(f
unction(b){b.observer===a&&b.removeTransientObservers()})})}function f(a,b){for(
var c=a;c;c=c.parentNode){var d=p.get(c);if(d)for(var e=0;e<d.length;e++){var f=
d[e],g=f.options;if(c===a||g.subtree){var h=b(g);h&&f.enqueue(h)}}}}function g(a
){this.callback_=a,this.nodes_=[],this.records_=[],this.uid_=++v}function h(a,b)
{this.type=a,this.target=b,this.addedNodes=[],this.removedNodes=[],this.previous
Sibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespa
ce=null,this.oldValue=null}function i(a){var b=new h(a.type,a.target);return b.a
ddedNodes=a.addedNodes.slice(),b.removedNodes=a.removedNodes.slice(),b.previousS
ibling=a.previousSibling,b.nextSibling=a.nextSibling,b.attributeName=a.attribute
Name,b.attributeNamespace=a.attributeNamespace,b.oldValue=a.oldValue,b}function
j(a,b){return w=new h(a,b)}function k(a){return x?x:(x=i(w),x.oldValue=a,x)}func
tion l(){w=x=void 0}function m(a){return a===x||a===w}function n(a,b){return a==
=b?a:x&&m(a)?x:null}function o(a,b,c){this.observer=a,this.target=b,this.options
=c,this.transientObservedNodes=[]}var p=new SideTable,q=window.msSetImmediate;if
(!q){var r=[],s=String(Math.random());window.addEventListener("message",function
(a){if(a.data===s){var b=r;r=[],b.forEach(function(a){a()})}}),q=function(a){r.p
ush(a),window.postMessage(s,"*")}}var t=!1,u=[],v=0;g.prototype={observe:functio
n(a,b){if(a=c(a),!b.childList&&!b.attributes&&!b.characterData||b.attributeOldVa
lue&&!b.attributes||b.attributeFilter&&b.attributeFilter.length&&!b.attributes||
b.characterDataOldValue&&!b.characterData)throw new SyntaxError;var d=p.get(a);d
||p.set(a,d=[]);for(var e,f=0;f<d.length;f++)if(d[f].observer===this){e=d[f],e.r
emoveListeners(),e.options=b;break}e||(e=new o(this,a,b),d.push(e),this.nodes_.p
ush(a)),e.addListeners()},disconnect:function(){this.nodes_.forEach(function(a){
for(var b=p.get(a),c=0;c<b.length;c++){var d=b[c];if(d.observer===this){d.remove
Listeners(),b.splice(c,1);break}}},this),this.records_=[]},takeRecords:function(
){var a=this.records_;return this.records_=[],a}};var w,x;o.prototype={enqueue:f
unction(a){var c=this.observer.records_,d=c.length;if(c.length>0){var e=c[d-1],f
=n(e,a);if(f)return c[d-1]=f,void 0}else b(this.observer);c[d]=a},addListeners:f
unction(){this.addListeners_(this.target)},addListeners_:function(a){var b=this.
options;b.attributes&&a.addEventListener("DOMAttrModified",this,!0),b.characterD
ata&&a.addEventListener("DOMCharacterDataModified",this,!0),b.childList&&a.addEv
entListener("DOMNodeInserted",this,!0),(b.childList||b.subtree)&&a.addEventListe
ner("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(
this.target)},removeListeners_:function(a){var b=this.options;b.attributes&&a.re
moveEventListener("DOMAttrModified",this,!0),b.characterData&&a.removeEventListe
ner("DOMCharacterDataModified",this,!0),b.childList&&a.removeEventListener("DOMN
odeInserted",this,!0),(b.childList||b.subtree)&&a.removeEventListener("DOMNodeRe
moved",this,!0)},addTransientObserver:function(a){if(a!==this.target){this.addLi
steners_(a),this.transientObservedNodes.push(a);var b=p.get(a);b||p.set(a,b=[]),
b.push(this)}},removeTransientObservers:function(){var a=this.transientObservedN
odes;this.transientObservedNodes=[],a.forEach(function(a){this.removeListeners_(
a);for(var b=p.get(a),c=0;c<b.length;c++)if(b[c]===this){b.splice(c,1);break}},t
his)},handleEvent:function(a){switch(a.stopImmediatePropagation(),a.type){case"D
OMAttrModified":var b=a.attrName,c=a.relatedNode.namespaceURI,d=a.target,e=new j
("attributes",d);e.attributeName=b,e.attributeNamespace=c;var g=a.attrChange===M
utationEvent.ADDITION?null:a.prevValue;f(d,function(a){return!a.attributes||a.at
tributeFilter&&a.attributeFilter.length&&-1===a.attributeFilter.indexOf(b)&&-1==
=a.attributeFilter.indexOf(c)?void 0:a.attributeOldValue?k(g):e});break;case"DOM
CharacterDataModified":var d=a.target,e=j("characterData",d),g=a.prevValue;f(d,f
unction(a){return a.characterData?a.characterDataOldValue?k(g):e:void 0});break;
case"DOMNodeRemoved":this.addTransientObserver(a.target);case"DOMNodeInserted":v
ar h,i,d=a.relatedNode,m=a.target;"DOMNodeInserted"===a.type?(h=[m],i=[]):(h=[],
i=[m]);var n=m.previousSibling,o=m.nextSibling,e=j("childList",d);e.addedNodes=h
,e.removedNodes=i,e.previousSibling=n,e.nextSibling=o,f(d,function(a){return a.c
hildList?e:void 0})}l()}},a.JsMutationObserver=g}(this),!window.MutationObserver
&&(window.MutationObserver=window.WebKitMutationObserver||window.JsMutationObser
ver,!MutationObserver))throw new Error("no mutation observer support");!function
(a){function b(a,c,d){var e=a.firstElementChild;if(!e)for(e=a.firstChild;e&&e.no
deType!==Node.ELEMENT_NODE;)e=e.nextSibling;for(;e;)c(e,d)!==!0&&b(e,c,d),e=e.ne
xtElementSibling;return null}function c(a,b){for(var c=a.webkitShadowRoot;c;)d(c
,b),c=c.olderShadowRoot}function d(a,d){b(a,function(a){return d(a)?!0:(c(a,d),v
oid 0)}),c(a,d)}function e(a){return h(a)?(i(a),!0):(j(a),void 0)}function f(a){
d(a,function(a){return e(a)?!0:void 0})}function g(a){return e(a)||f(a)}function
h(b){if(!b.__upgraded__&&b.nodeType===Node.ELEMENT_NODE){var c=b.getAttribute("
is")||b.localName,d=a.registry[c];if(d)return logFlags.dom&&console.group("upgra
de:",b.localName),a.upgrade(b),logFlags.dom&&console.groupEnd(),!0}}function i(a
){j(a),m(a)&&d(a,function(a){j(a)})}function j(a){(a.enteredDocumentCallback||a.
__upgraded__&&logFlags.dom)&&(logFlags.dom&&console.group("inserted:",a.localNam
e),m(a)&&(a.__inserted=(a.__inserted||0)+1,a.__inserted<1&&(a.__inserted=1),a.__
inserted>1?logFlags.dom&&console.warn("inserted:",a.localName,"insert/remove cou
nt:",a.__inserted):a.enteredDocumentCallback&&(logFlags.dom&&console.log("insert
ed:",a.localName),a.enteredDocumentCallback())),logFlags.dom&&console.groupEnd()
)}function k(a){l(a),d(a,function(a){l(a)})}function l(a){(a.leftDocumentCallbac
k||a.__upgraded__&&logFlags.dom)&&(logFlags.dom&&console.log("removed:",a.localN
ame),m(a)||(a.__inserted=(a.__inserted||0)-1,a.__inserted>0&&(a.__inserted=0),a.
__inserted<0?logFlags.dom&&console.warn("removed:",a.localName,"insert/remove co
unt:",a.__inserted):a.leftDocumentCallback&&a.leftDocumentCallback()))}function
m(a){for(var b=a;b;){if(b==a.ownerDocument)return!0;b=b.parentNode||b.host}}func
tion n(a){if(a.webkitShadowRoot&&!a.webkitShadowRoot.__watched){logFlags.dom&&co
nsole.log("watching shadow-root for: ",a.localName);for(var b=a.webkitShadowRoot
;b;)o(b),b=b.olderShadowRoot}}function o(a){a.__watched||(t(a),a.__watched=!0)}f
unction p(a){n(a),d(a,function(){n(a)})}function q(a){switch(a.localName){case"s
tyle":case"script":case"template":case void 0:return!0}}function r(a){if(logFlag
s.dom){var b=a[0];if(b&&"childList"===b.type&&b.addedNodes&&b.addedNodes){for(va
r c=b.addedNodes[0];c&&c!==document&&!c.host;)c=c.parentNode;var d=c&&(c.URL||c.
_URL||c.host&&c.host.localName)||"";d=d.split("/?").shift().split("/").pop()}con
sole.group("mutations (%d) [%s]",a.length,d||"")}a.forEach(function(a){"childLis
t"===a.type&&(x(a.addedNodes,function(a){q(a)||g(a)}),x(a.removedNodes,function(
a){q(a)||k(a)}))}),logFlags.dom&&console.groupEnd()}function s(){r(w.takeRecords
())}function t(a){w.observe(a,{childList:!0,subtree:!0})}function u(a){t(a)}func
tion v(a){logFlags.dom&&console.group("upgradeDocument: ",(a.URL||a._URL||"").sp
lit("/").pop()),g(a),logFlags.dom&&console.groupEnd()}var w=new MutationObserver
(r),x=Array.prototype.forEach.call.bind(Array.prototype.forEach);a.watchShadow=n
,a.watchAllShadows=p,a.upgradeAll=g,a.upgradeSubtree=f,a.observeDocument=u,a.upg
radeDocument=v,a.takeRecords=s}(window.CustomElements),function(a){function b(b,
f){var g=f||{};if(!b)throw new Error("document.register: first argument `name` m
ust not be empty");if(b.indexOf("-")<0)throw new Error("document.register: first
argument `name` must contain a dash ('-'). Argument was '"+String(b)+"'.");if(g
.name=b,!g.prototype)throw new Error("Options missing required prototype propert
y");return g.lifecycle=g.lifecycle||{},g.ancestry=c(g.extends),d(g),e(g),k(g.pro
totype),m(b,g),g.ctor=n(g),g.ctor.prototype=g.prototype,g.prototype.constructor=
g.ctor,a.ready&&a.upgradeAll(document),g.ctor}function c(a){var b=v[a];return b?
c(b.extends).concat([b]):[]}function d(a){for(var b,c=a.extends,d=0;b=a.ancestry
[d];d++)c=b.is&&b.tag;a.tag=c||a.name,c&&(a.is=a.name)}function e(a){if(!Object.
__proto__){var b=HTMLElement.prototype;if(a.is){var c=document.createElement(a.t
ag);b=Object.getPrototypeOf(c)}for(var d,e=a.prototype;e&&e!==b;){var d=Object.g
etPrototypeOf(e);e.__proto__=d,e=d}}a.native=b}function f(a){return g(w(a.tag),a
)}function g(b,c){return c.is&&b.setAttribute("is",c.is),h(b,c),b.__upgraded__=!
0,a.upgradeSubtree(b),j(b),b}function h(a,b){Object.__proto__?a.__proto__=b.prot
otype:(i(a,b.prototype,b.native),a.__proto__=b.prototype)}function i(a,b,c){for(
var d={},e=b;e!==c&&e!==HTMLUnknownElement.prototype;){for(var f,g=Object.getOwn
PropertyNames(e),h=0;f=g[h];h++)d[f]||(Object.defineProperty(a,f,Object.getOwnPr
opertyDescriptor(e,f)),d[f]=1);e=Object.getPrototypeOf(e)}}function j(a){a.creat
edCallback&&a.createdCallback()}function k(a){var b=a.setAttribute;a.setAttribut
e=function(a,c){l.call(this,a,c,b)};var c=a.removeAttribute;a.removeAttribute=fu
nction(a,b){l.call(this,a,b,c)}}function l(a,b,c){var d=this.getAttribute(a);c.a
pply(this,arguments),this.attributeChangedCallback&&this.getAttribute(a)!==d&&th
is.attributeChangedCallback(a,d)}function m(a,b){if(v[a])throw new Error("a type
with that name is already registered.");v[a]=b}function n(a){return function(){
return f(a)}}function o(a,b){var c=v[b||a];if(c){if(a==c.tag&&b==c.is)return new
c.ctor;if(!b&&!c.is)return new c.ctor}if(b){var d=o(a);return d.setAttribute("i
s",b),d}var d=w(a);return a.indexOf("-")>=0&&h(d,HTMLElement),d}function p(a){if
(!a.__upgraded__&&a.nodeType===Node.ELEMENT_NODE){var b=a.getAttribute("is"),c=v
[b||a.localName];if(c){if(b&&c.tag==a.localName)return g(a,c);if(!b&&!c.extends)
return g(a,c)}}}function q(b){var c=x.call(this,b);return a.upgradeAll(c),c}a||(
a=window.CustomElements={flags:{}});var r=a.flags,s=Boolean(document.webkitRegis
ter||document.register),t=!r.register&&s;if(t){document.register=document.regist
er||document.webkitRegister;var u=function(){};a.registry={},a.upgradeElement=u,
a.watchShadow=u,a.watchAllShadows=u,a.upgrade=u,a.upgradeAll=u,a.upgradeSubtree=
u,a.observeDocument=u,a.upgradeDocument=u,a.takeRecords=u}else{var v={},w=docume
nt.createElement.bind(document),x=Node.prototype.cloneNode;document.register=b,d
ocument.createElement=o,Node.prototype.cloneNode=q,a.registry=v,a.upgrade=p}a.ha
sNative=s,a.useNative=t}(window.CustomElements),function(){function a(a){return"
link"===a.localName&&a.getAttribute("rel")===b}var b=window.HTMLImports?HTMLImpo
rts.IMPORT_LINK_TYPE:"none",c={selectors:["link[rel="+b+"]"],map:{link:"parseLin
k"},parse:function(a){if(!a.__parsed){a.__parsed=!0;var b=a.querySelectorAll(c.s
electors);d(b,function(a){c[c.map[a.localName]](a)}),CustomElements.upgradeDocum
ent(a),CustomElements.observeDocument(a)}},parseLink:function(b){a(b)&&this.pars
eImport(b)},parseImport:function(a){a.content&&c.parse(a.content)}},d=Array.prot
otype.forEach.call.bind(Array.prototype.forEach);CustomElements.parser=c}(),func
tion(){function a(){setTimeout(function(){CustomElements.parser.parse(document),
CustomElements.upgradeDocument(document),CustomElements.ready=!0,CustomElements.
readyTime=Date.now(),window.HTMLImports&&(CustomElements.elapsed=CustomElements.
readyTime-HTMLImports.readyTime),document.body.dispatchEvent(new CustomEvent("We
bComponentsReady",{bubbles:!0}))},0)}if("function"!=typeof window.CustomEvent&&(
window.CustomEvent=function(a){var b=document.createEvent("HTMLEvents");return b
.initEvent(a,!0,!0),b}),"complete"===document.readyState)a();else{var b=window.H
TMLImports?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(b,a)}}
(); | 28 window.CustomElements={flags:{}};var SideTable;if("undefined"!=typeof WeakMap&&n
avigator.userAgent.indexOf("Firefox/")<0?SideTable=WeakMap:function(){var a=Obje
ct.defineProperty,b=Date.now()%1e9;SideTable=function(){this.name="__st"+(1e9*Ma
th.random()>>>0)+(b++ +"__")},SideTable.prototype={set:function(b,c){var d=b[thi
s.name];d&&d[0]===b?d[1]=c:a(b,this.name,{value:[b,c],writable:!0})},get:functio
n(a){var b;return(b=a[this.name])&&b[0]===a?b[1]:void 0},"delete":function(a){th
is.set(a,void 0)}}}(),function(a){function b(a){u.push(a),t||(t=!0,q(d))}functio
n c(a){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(a)
||a}function d(){t=!1;var a=u;u=[],a.sort(function(a,b){return a.uid_-b.uid_});v
ar b=!1;a.forEach(function(a){var c=a.takeRecords();e(a),c.length&&(a.callback_(
c,a),b=!0)}),b&&d()}function e(a){a.nodes_.forEach(function(b){var c=p.get(b);c&
&c.forEach(function(b){b.observer===a&&b.removeTransientObservers()})})}function
f(a,b){for(var c=a;c;c=c.parentNode){var d=p.get(c);if(d)for(var e=0;e<d.length
;e++){var f=d[e],g=f.options;if(c===a||g.subtree){var h=b(g);h&&f.enqueue(h)}}}}
function g(a){this.callback_=a,this.nodes_=[],this.records_=[],this.uid_=++v}fun
ction h(a,b){this.type=a,this.target=b,this.addedNodes=[],this.removedNodes=[],t
his.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attr
ibuteNamespace=null,this.oldValue=null}function i(a){var b=new h(a.type,a.target
);return b.addedNodes=a.addedNodes.slice(),b.removedNodes=a.removedNodes.slice()
,b.previousSibling=a.previousSibling,b.nextSibling=a.nextSibling,b.attributeName
=a.attributeName,b.attributeNamespace=a.attributeNamespace,b.oldValue=a.oldValue
,b}function j(a,b){return w=new h(a,b)}function k(a){return x?x:(x=i(w),x.oldVal
ue=a,x)}function l(){w=x=void 0}function m(a){return a===x||a===w}function n(a,b
){return a===b?a:x&&m(a)?x:null}function o(a,b,c){this.observer=a,this.target=b,
this.options=c,this.transientObservedNodes=[]}var p=new SideTable,q=window.msSet
Immediate;if(!q){var r=[],s=String(Math.random());window.addEventListener("messa
ge",function(a){if(a.data===s){var b=r;r=[],b.forEach(function(a){a()})}}),q=fun
ction(a){r.push(a),window.postMessage(s,"*")}}var t=!1,u=[],v=0;g.prototype={obs
erve:function(a,b){if(a=c(a),!b.childList&&!b.attributes&&!b.characterData||b.at
tributeOldValue&&!b.attributes||b.attributeFilter&&b.attributeFilter.length&&!b.
attributes||b.characterDataOldValue&&!b.characterData)throw new SyntaxError;var
d=p.get(a);d||p.set(a,d=[]);for(var e,f=0;f<d.length;f++)if(d[f].observer===this
){e=d[f],e.removeListeners(),e.options=b;break}e||(e=new o(this,a,b),d.push(e),t
his.nodes_.push(a)),e.addListeners()},disconnect:function(){this.nodes_.forEach(
function(a){for(var b=p.get(a),c=0;c<b.length;c++){var d=b[c];if(d.observer===th
is){d.removeListeners(),b.splice(c,1);break}}},this),this.records_=[]},takeRecor
ds:function(){var a=this.records_;return this.records_=[],a}};var w,x;o.prototyp
e={enqueue:function(a){var c=this.observer.records_,d=c.length;if(c.length>0){va
r e=c[d-1],f=n(e,a);if(f)return c[d-1]=f,void 0}else b(this.observer);c[d]=a},ad
dListeners:function(){this.addListeners_(this.target)},addListeners_:function(a)
{var b=this.options;b.attributes&&a.addEventListener("DOMAttrModified",this,!0),
b.characterData&&a.addEventListener("DOMCharacterDataModified",this,!0),b.childL
ist&&a.addEventListener("DOMNodeInserted",this,!0),(b.childList||b.subtree)&&a.a
ddEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.remov
eListeners_(this.target)},removeListeners_:function(a){var b=this.options;b.attr
ibutes&&a.removeEventListener("DOMAttrModified",this,!0),b.characterData&&a.remo
veEventListener("DOMCharacterDataModified",this,!0),b.childList&&a.removeEventLi
stener("DOMNodeInserted",this,!0),(b.childList||b.subtree)&&a.removeEventListene
r("DOMNodeRemoved",this,!0)},addTransientObserver:function(a){if(a!==this.target
){this.addListeners_(a),this.transientObservedNodes.push(a);var b=p.get(a);b||p.
set(a,b=[]),b.push(this)}},removeTransientObservers:function(){var a=this.transi
entObservedNodes;this.transientObservedNodes=[],a.forEach(function(a){this.remov
eListeners_(a);for(var b=p.get(a),c=0;c<b.length;c++)if(b[c]===this){b.splice(c,
1);break}},this)},handleEvent:function(a){switch(a.stopImmediatePropagation(),a.
type){case"DOMAttrModified":var b=a.attrName,c=a.relatedNode.namespaceURI,d=a.ta
rget,e=new j("attributes",d);e.attributeName=b,e.attributeNamespace=c;var g=a.at
trChange===MutationEvent.ADDITION?null:a.prevValue;f(d,function(a){return!a.attr
ibutes||a.attributeFilter&&a.attributeFilter.length&&-1===a.attributeFilter.inde
xOf(b)&&-1===a.attributeFilter.indexOf(c)?void 0:a.attributeOldValue?k(g):e});br
eak;case"DOMCharacterDataModified":var d=a.target,e=j("characterData",d),g=a.pre
vValue;f(d,function(a){return a.characterData?a.characterDataOldValue?k(g):e:voi
d 0});break;case"DOMNodeRemoved":this.addTransientObserver(a.target);case"DOMNod
eInserted":var h,i,d=a.relatedNode,m=a.target;"DOMNodeInserted"===a.type?(h=[m],
i=[]):(h=[],i=[m]);var n=m.previousSibling,o=m.nextSibling,e=j("childList",d);e.
addedNodes=h,e.removedNodes=i,e.previousSibling=n,e.nextSibling=o,f(d,function(a
){return a.childList?e:void 0})}l()}},a.JsMutationObserver=g}(this),!window.Muta
tionObserver&&(window.MutationObserver=window.WebKitMutationObserver||window.JsM
utationObserver,!MutationObserver))throw new Error("no mutation observer support
");!function(a){function b(a,c,d){var e=a.firstElementChild;if(!e)for(e=a.firstC
hild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.nextSibling;for(;e;)c(e,d)!==!0&&b(e
,c,d),e=e.nextElementSibling;return null}function c(a,b){for(var c=a.webkitShado
wRoot;c;)d(c,b),c=c.olderShadowRoot}function d(a,d){b(a,function(a){return d(a)?
!0:(c(a,d),void 0)}),c(a,d)}function e(a){return h(a)?(i(a),!0):(j(a),void 0)}fu
nction f(a){d(a,function(a){return e(a)?!0:void 0})}function g(a){return e(a)||f
(a)}function h(b){if(!b.__upgraded__&&b.nodeType===Node.ELEMENT_NODE){var c=b.ge
tAttribute("is")||b.localName,d=a.registry[c];if(d)return v.dom&&console.group("
upgrade:",b.localName),a.upgrade(b),v.dom&&console.groupEnd(),!0}}function i(a){
j(a),m(a)&&d(a,function(a){j(a)})}function j(a){(a.enteredViewCallback||a.__upgr
aded__&&v.dom)&&(v.dom&&console.group("inserted:",a.localName),m(a)&&(a.__insert
ed=(a.__inserted||0)+1,a.__inserted<1&&(a.__inserted=1),a.__inserted>1?v.dom&&co
nsole.warn("inserted:",a.localName,"insert/remove count:",a.__inserted):a.entere
dViewCallback&&(v.dom&&console.log("inserted:",a.localName),a.enteredViewCallbac
k())),v.dom&&console.groupEnd())}function k(a){l(a),d(a,function(a){l(a)})}funct
ion l(a){(a.leftViewCallback||a.__upgraded__&&v.dom)&&(v.dom&&console.log("remov
ed:",a.localName),m(a)||(a.__inserted=(a.__inserted||0)-1,a.__inserted>0&&(a.__i
nserted=0),a.__inserted<0?v.dom&&console.warn("removed:",a.localName,"insert/rem
ove count:",a.__inserted):a.leftViewCallback&&a.leftViewCallback()))}function m(
a){for(var b=a,c=window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded
(document)||document;b;){if(b==c)return!0;b=b.parentNode||b.host}}function n(a){
if(a.webkitShadowRoot&&!a.webkitShadowRoot.__watched){v.dom&&console.log("watchi
ng shadow-root for: ",a.localName);for(var b=a.webkitShadowRoot;b;)o(b),b=b.olde
rShadowRoot}}function o(a){a.__watched||(s(a),a.__watched=!0)}function p(a){swit
ch(a.localName){case"style":case"script":case"template":case void 0:return!0}}fu
nction q(a){if(v.dom){var b=a[0];if(b&&"childList"===b.type&&b.addedNodes&&b.add
edNodes){for(var c=b.addedNodes[0];c&&c!==document&&!c.host;)c=c.parentNode;var
d=c&&(c.URL||c._URL||c.host&&c.host.localName)||"";d=d.split("/?").shift().split
("/").pop()}console.group("mutations (%d) [%s]",a.length,d||"")}a.forEach(functi
on(a){"childList"===a.type&&(x(a.addedNodes,function(a){p(a)||g(a)}),x(a.removed
Nodes,function(a){p(a)||k(a)}))}),v.dom&&console.groupEnd()}function r(){q(w.tak
eRecords())}function s(a){w.observe(a,{childList:!0,subtree:!0})}function t(a){s
(a)}function u(a){v.dom&&console.group("upgradeDocument: ",(a.URL||a._URL||"").s
plit("/").pop()),g(a),v.dom&&console.groupEnd()}var v=window.logFlags||{},w=new
MutationObserver(q),x=Array.prototype.forEach.call.bind(Array.prototype.forEach)
;a.watchShadow=n,a.upgradeAll=g,a.upgradeSubtree=f,a.observeDocument=t,a.upgrade
Document=u,a.takeRecords=r}(window.CustomElements),function(a){function b(b,f){v
ar g=f||{};if(!b)throw new Error("document.register: first argument `name` must
not be empty");if(b.indexOf("-")<0)throw new Error("document.register: first arg
ument ('name') must contain a dash ('-'). Argument provided was '"+String(b)+"'.
");if(g.name=b,!g.prototype)throw new Error("Options missing required prototype
property");return g.lifecycle=g.lifecycle||{},g.ancestry=c(g.extends),d(g),e(g),
k(g.prototype),m(b,g),g.ctor=n(g),g.ctor.prototype=g.prototype,g.prototype.const
ructor=g.ctor,a.ready&&a.upgradeAll(document),g.ctor}function c(a){var b=v[a];re
turn b?c(b.extends).concat([b]):[]}function d(a){for(var b,c=a.extends,d=0;b=a.a
ncestry[d];d++)c=b.is&&b.tag;a.tag=c||a.name,c&&(a.is=a.name)}function e(a){if(!
Object.__proto__){var b=HTMLElement.prototype;if(a.is){var c=document.createElem
ent(a.tag);b=Object.getPrototypeOf(c)}for(var d,e=a.prototype;e&&e!==b;){var d=O
bject.getPrototypeOf(e);e.__proto__=d,e=d}}a.native=b}function f(a){return g(w(a
.tag),a)}function g(b,c){return c.is&&b.setAttribute("is",c.is),h(b,c),b.__upgra
ded__=!0,a.upgradeSubtree(b),j(b),b}function h(a,b){Object.__proto__?a.__proto__
=b.prototype:(i(a,b.prototype,b.native),a.__proto__=b.prototype)}function i(a,b,
c){for(var d={},e=b;e!==c&&e!==HTMLUnknownElement.prototype;){for(var f,g=Object
.getOwnPropertyNames(e),h=0;f=g[h];h++)d[f]||(Object.defineProperty(a,f,Object.g
etOwnPropertyDescriptor(e,f)),d[f]=1);e=Object.getPrototypeOf(e)}}function j(a){
a.createdCallback&&a.createdCallback()}function k(a){var b=a.setAttribute;a.setA
ttribute=function(a,c){l.call(this,a,c,b)};var c=a.removeAttribute;a.removeAttri
bute=function(a,b){l.call(this,a,b,c)}}function l(a,b,c){var d=this.getAttribute
(a);c.apply(this,arguments),this.attributeChangedCallback&&this.getAttribute(a)!
==d&&this.attributeChangedCallback(a,d)}function m(a,b){if(v[a])throw new Error(
"Cannot register a tag more than once");v[a]=b}function n(a){return function(){r
eturn f(a)}}function o(a,b){var c=v[b||a];if(c){if(a==c.tag&&b==c.is)return new
c.ctor;if(!b&&!c.is)return new c.ctor}if(b){var d=o(a);return d.setAttribute("is
",b),d}var d=w(a);return a.indexOf("-")>=0&&h(d,HTMLElement),d}function p(a){if(
!a.__upgraded__&&a.nodeType===Node.ELEMENT_NODE){var b=a.getAttribute("is"),c=v[
b||a.localName];if(c){if(b&&c.tag==a.localName)return g(a,c);if(!b&&!c.extends)r
eturn g(a,c)}}}function q(b){var c=x.call(this,b);return a.upgradeAll(c),c}a||(a
=window.CustomElements={flags:{}});var r=a.flags,s=Boolean(document.register),t=
!r.register&&s;if(t){var u=function(){};a.registry={},a.upgradeElement=u,a.watch
Shadow=u,a.upgrade=u,a.upgradeAll=u,a.upgradeSubtree=u,a.observeDocument=u,a.upg
radeDocument=u,a.takeRecords=u}else{var v={},w=document.createElement.bind(docum
ent),x=Node.prototype.cloneNode;document.register=b,document.createElement=o,Nod
e.prototype.cloneNode=q,a.registry=v,a.upgrade=p}a.hasNative=s,a.useNative=t}(wi
ndow.CustomElements),function(){function a(a){return"link"===a.localName&&a.getA
ttribute("rel")===b}var b=window.HTMLImports?HTMLImports.IMPORT_LINK_TYPE:"none"
,c={selectors:["link[rel="+b+"]"],map:{link:"parseLink"},parse:function(a){if(!a
.__parsed){a.__parsed=!0;var b=a.querySelectorAll(c.selectors);d(b,function(a){c
[c.map[a.localName]](a)}),CustomElements.upgradeDocument(a),CustomElements.obser
veDocument(a)}},parseLink:function(b){a(b)&&this.parseImport(b)},parseImport:fun
ction(a){a.content&&c.parse(a.content)}},d=Array.prototype.forEach.call.bind(Arr
ay.prototype.forEach);CustomElements.parser=c}(),function(){function a(){CustomE
lements.parser.parse(document),CustomElements.upgradeDocument(document);var a=wi
ndow.Platform&&Platform.endOfMicrotask?Platform.endOfMicrotask:setTimeout;a(func
tion(){CustomElements.ready=!0,CustomElements.readyTime=Date.now(),window.HTMLIm
ports&&(CustomElements.elapsed=CustomElements.readyTime-HTMLImports.readyTime),d
ocument.body.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})
}if("function"!=typeof window.CustomEvent&&(window.CustomEvent=function(a){var b
=document.createEvent("HTMLEvents");return b.initEvent(a,!0,!0),b}),"complete"==
=document.readyState)a();else{var b=window.HTMLImports?"HTMLImportsLoaded":"DOMC
ontentLoaded";window.addEventListener(b,a)}}(); |