11 "undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now(
)%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.proto
type={set:function(t,n){var o=t[this.name];return o&&o[0]===t?o[1]=n:e(t,this.na
me,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])
&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return t&&t[0]==
=e?(t[0]=t[1]=void 0,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===
e:!1}},window.WeakMap=n}(),function(e){function t(e){E.push(e),b||(b=!0,w(o))}fu
nction n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeed
ed(e)||e}function o(){b=!1;var e=E;E=[],e.sort(function(e,t){return e.uid_-t.uid
_});var t=!1;e.forEach(function(e){var n=e.takeRecords();r(e),n.length&&(e.callb
ack_(n,e),t=!0)}),t&&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(
t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}fun
ction i(e,t){for(var n=e;n;n=n.parentNode){var o=v.get(n);if(o)for(var r=0;r<o.l
ength;r++){var i=o[r],a=i.options;if(n===e||a.subtree){var d=t(a);d&&i.enqueue(d
)}}}}function a(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++
_}function d(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes
=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this
.attributeNamespace=null,this.oldValue=null}function s(e){var t=new d(e.type,e.t
arget);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.sl
ice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attribut
eName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.old
Value,t}function u(e,t){return y=new d(e,t)}function c(e){return N?N:(N=s(y),N.o
ldValue=e,N)}function l(){y=N=void 0}function f(e){return e===N||e===y}function
p(e,t){return e===t?e:N&&f(e)?N:null}function m(e,t,n){this.observer=e,this.targ
et=t,this.options=n,this.transientObservedNodes=[]}if(!e.JsMutationObserver){var
w,v=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))w=setTimeout;else i
f(window.setImmediate)w=window.setImmediate;else{var h=[],g=String(Math.random()
);window.addEventListener("message",function(e){if(e.data===g){var t=h;h=[],t.fo
rEach(function(e){e()})}}),w=function(e){h.push(e),window.postMessage(g,"*")}}va
r b=!1,E=[],_=0;a.prototype={observe:function(e,t){if(e=n(e),!t.childList&&!t.at
tributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilte
r&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characte
rData)throw new SyntaxError;var o=v.get(e);o||v.set(e,o=[]);for(var r,i=0;i<o.le
ngth;i++)if(o[i].observer===this){r=o[i],r.removeListeners(),r.options=t;break}r
||(r=new m(this,e,t),o.push(r),this.nodes_.push(e)),r.addListeners()},disconnect
:function(){this.nodes_.forEach(function(e){for(var t=v.get(e),n=0;n<t.length;n+
+){var o=t[n];if(o.observer===this){o.removeListeners(),t.splice(n,1);break}}},t
his),this.records_=[]},takeRecords:function(){var e=this.records_;return this.re
cords_=[],e}};var y,N;m.prototype={enqueue:function(e){var n=this.observer.recor
ds_,o=n.length;if(n.length>0){var r=n[o-1],i=p(r,e);if(i)return void(n[o-1]=i)}e
lse t(this.observer);n[o]=e},addListeners:function(){this.addListeners_(this.tar
get)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListe
ner("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacter
DataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0
),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},remove
Listeners:function(){this.removeListeners_(this.target)},removeListeners_:functi
on(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",t
his,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!
0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t
.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver
:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNod
es.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObserve
rs:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e
.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n<t.length;
n++)if(t[n]===this){t.splice(n,1);break}},this)},handleEvent:function(e){switch(
e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.
relatedNode.namespaceURI,o=e.target,r=new u("attributes",o);r.attributeName=t,r.
attributeNamespace=n;var a=e.attrChange===MutationEvent.ADDITION?null:e.prevValu
e;i(o,function(e){return!e.attributes||e.attributeFilter&&e.attributeFilter.leng
th&&-1===e.attributeFilter.indexOf(t)&&-1===e.attributeFilter.indexOf(n)?void 0:
e.attributeOldValue?c(a):r});break;case"DOMCharacterDataModified":var o=e.target
,r=u("characterData",o),a=e.prevValue;i(o,function(e){return e.characterData?e.c
haracterDataOldValue?c(a):r:void 0});break;case"DOMNodeRemoved":this.addTransien
tObserver(e.target);case"DOMNodeInserted":var d,s,f=e.target;"DOMNodeInserted"==
=e.type?(d=[f],s=[]):(d=[],s=[f]);var p=f.previousSibling,m=f.nextSibling,r=u("c
hildList",e.target.parentNode);r.addedNodes=d,r.removedNodes=s,r.previousSibling
=p,r.nextSibling=m,i(e.relatedNode,function(e){return e.childList?r:void 0})}l()
}},e.JsMutationObserver=a,e.MutationObserver||(e.MutationObserver=a,a._isPolyfil
led=!0)}}(self),function(e){"use strict";if(!window.performance){var t=Date.now(
);window.performance={now:function(){return Date.now()-t}}}window.requestAnimati
onFrame||(window.requestAnimationFrame=function(){var e=window.webkitRequestAnim
ationFrame||window.mozRequestAnimationFrame;return e?function(t){return e(functi
on(){t(performance.now())})}:function(e){return window.setTimeout(e,1e3/60)}}())
,window.cancelAnimationFrame||(window.cancelAnimationFrame=function(){return win
dow.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clea
rTimeout(e)}}());var n=function(){var e=document.createEvent("Event");return e.i
nitEvent("foo",!0,!0),e.preventDefault(),e.defaultPrevented}();if(!n){var o=Even
t.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancel
able&&(o.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(
){return!0},configurable:!0}))}}var r=/Trident/.test(navigator.userAgent);if((!w
indow.CustomEvent||r&&"function"!=typeof window.CustomEvent)&&(window.CustomEven
t=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initC
ustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.Custom
Event.prototype=window.Event.prototype),!window.Event||r&&"function"!=typeof win
dow.Event){var i=window.Event;window.Event=function(e,t){t=t||{};var n=document.
createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelabl
e)),n},window.Event.prototype=i.prototype}}(window.WebComponents),window.CustomE
lements=window.CustomElements||{flags:{}},function(e){var t=e.flags,n=[],o=funct
ion(e){n.push(e)},r=function(){n.forEach(function(t){t(e)})};e.addModule=o,e.ini
tializeModules=r,e.hasNative=Boolean(document.registerElement),e.isIE=/Trident/.
test(navigator.userAgent),e.useNative=!t.register&&e.hasNative&&!window.ShadowDO
MPolyfill&&(!window.HTMLImports||window.HTMLImports.useNative)}(window.CustomEle
ments),window.CustomElements.addModule(function(e){function t(e,t){n(e,function(
e){return t(e)?!0:void o(e,t)}),o(e,t)}function n(e,t,o){var r=e.firstElementChi
ld;if(!r)for(r=e.firstChild;r&&r.nodeType!==Node.ELEMENT_NODE;)r=r.nextSibling;f
or(;r;)t(r,o)!==!0&&n(r,t,o),r=r.nextElementSibling;return null}function o(e,n){
for(var o=e.shadowRoot;o;)t(o,n),o=o.olderShadowRoot}function r(e,t){i(e,t,[])}f
unction i(e,t,n){if(e=window.wrap(e),!(n.indexOf(e)>=0)){n.push(e);for(var o,r=e
.querySelectorAll("link[rel="+a+"]"),d=0,s=r.length;s>d&&(o=r[d]);d++)o["import"
]&&i(o["import"],t,n);t(e)}}var a=window.HTMLImports?window.HTMLImports.IMPORT_L
INK_TYPE:"none";e.forDocumentTree=r,e.forSubtree=t}),window.CustomElements.addMo
dule(function(e){function t(e,t){return n(e,t)||o(e,t)}function n(t,n){return e.
upgrade(t,n)?!0:void(n&&a(t))}function o(e,t){b(e,function(e){return n(e,t)?!0:v
oid 0})}function r(e){N.push(e),y||(y=!0,setTimeout(i))}function i(){y=!1;for(va
r e,t=N,n=0,o=t.length;o>n&&(e=t[n]);n++)e();N=[]}function a(e){_?r(function(){d
(e)}):d(e)}function d(e){e.__upgraded__&&!e.__attached&&(e.__attached=!0,e.attac
hedCallback&&e.attachedCallback())}function s(e){u(e),b(e,function(e){u(e)})}fun
ction u(e){_?r(function(){c(e)}):c(e)}function c(e){e.__upgraded__&&e.__attached
&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function l(e){for(v
ar t=e,n=window.wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.nodeType==
=Node.DOCUMENT_FRAGMENT_NODE&&t.host}}function f(e){if(e.shadowRoot&&!e.shadowRo
ot.__watched){g.dom&&console.log("watching shadow-root for: ",e.localName);for(v
ar t=e.shadowRoot;t;)w(t),t=t.olderShadowRoot}}function p(e,n){if(g.dom){var o=n
[0];if(o&&"childList"===o.type&&o.addedNodes&&o.addedNodes){for(var r=o.addedNod
es[0];r&&r!==document&&!r.host;)r=r.parentNode;var i=r&&(r.URL||r._URL||r.host&&
r.host.localName)||"";i=i.split("/?").shift().split("/").pop()}console.group("mu
tations (%d) [%s]",n.length,i||"")}var a=l(e);n.forEach(function(e){"childList"=
==e.type&&(M(e.addedNodes,function(e){e.localName&&t(e,a)}),M(e.removedNodes,fun
ction(e){e.localName&&s(e)}))}),g.dom&&console.groupEnd()}function m(e){for(e=wi
ndow.wrap(e),e||(e=window.wrap(document));e.parentNode;)e=e.parentNode;var t=e._
_observer;t&&(p(e,t.takeRecords()),i())}function w(e){if(!e.__observer){var t=ne
w MutationObserver(p.bind(this,e));t.observe(e,{childList:!0,subtree:!0}),e.__ob
server=t}}function v(e){e=window.wrap(e),g.dom&&console.group("upgradeDocument:
",e.baseURI.split("/").pop());var n=e===window.wrap(document);t(e,n),w(e),g.dom&
&console.groupEnd()}function h(e){E(e,v)}var g=e.flags,b=e.forSubtree,E=e.forDoc
umentTree,_=window.MutationObserver._isPolyfilled&&g["throttle-attached"];e.hasP
olyfillMutations=_,e.hasThrottledAttached=_;var y=!1,N=[],M=Array.prototype.forE
ach.call.bind(Array.prototype.forEach),O=Element.prototype.createShadowRoot;O&&(
Element.prototype.createShadowRoot=function(){var e=O.call(this);return window.C
ustomElements.watchShadow(this),e}),e.watchShadow=f,e.upgradeDocumentTree=h,e.up
gradeDocument=v,e.upgradeSubtree=o,e.upgradeAll=t,e.attached=a,e.takeRecords=m})
,window.CustomElements.addModule(function(e){function t(t,o){if("template"===t.l
ocalName&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplate
Element.decorate(t),!t.__upgraded__&&t.nodeType===Node.ELEMENT_NODE){var r=t.get
Attribute("is"),i=e.getRegisteredDefinition(t.localName)||e.getRegisteredDefinit
ion(r);if(i&&(r&&i.tag==t.localName||!r&&!i["extends"]))return n(t,i,o)}}functio
n n(t,n,r){return a.upgrade&&console.group("upgrade:",t.localName),n.is&&t.setAt
tribute("is",n.is),o(t,n),t.__upgraded__=!0,i(t),r&&e.attached(t),e.upgradeSubtr
ee(t,r),a.upgrade&&console.groupEnd(),t}function o(e,t){Object.__proto__?e.__pro
to__=t.prototype:(r(e,t.prototype,t["native"]),e.__proto__=t.prototype)}function
r(e,t,n){for(var o={},r=t;r!==n&&r!==HTMLElement.prototype;){for(var i,a=Object
.getOwnPropertyNames(r),d=0;i=a[d];d++)o[i]||(Object.defineProperty(e,i,Object.g
etOwnPropertyDescriptor(r,i)),o[i]=1);r=Object.getPrototypeOf(r)}}function i(e){
e.createdCallback&&e.createdCallback()}var a=e.flags;e.upgrade=t,e.upgradeWithDe
finition=n,e.implementPrototype=o}),window.CustomElements.addModule(function(e){
function t(t,o){var s=o||{};if(!t)throw new Error("document.registerElement: fir
st argument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("docu
ment.registerElement: first argument ('name') must contain a dash ('-'). Argumen
t provided was '"+String(t)+"'.");if(r(t))throw new Error("Failed to execute 're
gisterElement' on 'Document': Registration failed for type '"+String(t)+"'. The
type name is invalid.");if(u(t))throw new Error("DuplicateDefinitionError: a typ
e with name '"+String(t)+"' is already registered");return s.prototype||(s.proto
type=Object.create(HTMLElement.prototype)),s.__name=t.toLowerCase(),s["extends"]
&&(s["extends"]=s["extends"].toLowerCase()),s.lifecycle=s.lifecycle||{},s.ancest
ry=i(s["extends"]),a(s),d(s),n(s.prototype),c(s.__name,s),s.ctor=l(s),s.ctor.pro
totype=s.prototype,s.prototype.constructor=s.ctor,e.ready&&v(document),s.ctor}fu
nction n(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=
function(e,n){o.call(this,e,n,t)};var n=e.removeAttribute;e.removeAttribute=func
tion(e){o.call(this,e,null,n)},e.setAttribute._polyfilled=!0}}function o(e,t,n){
e=e.toLowerCase();var o=this.getAttribute(e);n.apply(this,arguments);var r=this.
getAttribute(e);this.attributeChangedCallback&&r!==o&&this.attributeChangedCallb
ack(e,o,r)}function r(e){for(var t=0;t<_.length;t++)if(e===_[t])return!0}functio
n i(e){var t=u(e);return t?i(t["extends"]).concat([t]):[]}function a(e){for(var
t,n=e["extends"],o=0;t=e.ancestry[o];o++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.i
s=e.__name)}function d(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e
.is){var n=document.createElement(e.tag);t=Object.getPrototypeOf(n)}for(var o,r=
e.prototype,i=!1;r;)r==t&&(i=!0),o=Object.getPrototypeOf(r),o&&(r.__proto__=o),r
=o;i||console.warn(e.tag+" prototype not found in prototype chain for "+e.is),e[
"native"]=t}}function s(e){return g(M(e.tag),e)}function u(e){return e?y[e.toLow
erCase()]:void 0}function c(e,t){y[e]=t}function l(e){return function(){return s
(e)}}function f(e,t,n){return e===N?p(t,n):O(e,t)}function p(e,t){e&&(e=e.toLowe
rCase()),t&&(t=t.toLowerCase());var n=u(t||e);if(n){if(e==n.tag&&t==n.is)return
new n.ctor;if(!t&&!n.is)return new n.ctor}var o;return t?(o=p(e),o.setAttribute(
"is",t),o):(o=M(e),e.indexOf("-")>=0&&b(o,HTMLElement),o)}function m(e,t){var n=
e[t];e[t]=function(){var e=n.apply(this,arguments);return h(e),e}}var w,v=(e.isI
E,e.upgradeDocumentTree),h=e.upgradeAll,g=e.upgradeWithDefinition,b=e.implementP
rototype,E=e.useNative,_=["annotation-xml","color-profile","font-face","font-fac
e-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],y={}
,N="http://www.w3.org/1999/xhtml",M=document.createElement.bind(document),O=docu
ment.createElementNS.bind(document);w=Object.__proto__||E?function(e,t){return e
instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t
.prototype)return!0;n=n.__proto__}return!1},m(Node.prototype,"cloneNode"),m(docu
ment,"importNode"),document.registerElement=t,document.createElement=p,document.
createElementNS=f,e.registry=y,e["instanceof"]=w,e.reservedTagList=_,e.getRegist
eredDefinition=u,document.register=document.registerElement}),function(e){functi
on t(){i(window.wrap(document)),window.CustomElements.ready=!0;var e=window.requ
estAnimationFrame||function(e){setTimeout(e,16)};e(function(){setTimeout(functio
n(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.Custo
mElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),
document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}v
ar n=e.useNative,o=e.initializeModules;e.isIE;if(n){var r=function(){};e.watchSh
adow=r,e.upgrade=r,e.upgradeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.t
akeRecords=r,e["instanceof"]=function(e,t){return e instanceof t}}else o();var i
=e.upgradeDocumentTree,a=e.upgradeDocument;if(window.wrap||(window.ShadowDOMPoly
fill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.Sha
dowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),
window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e["impo
rt"]&&a(wrap(e["import"]))}),"complete"===document.readyState||e.flags.eager)t()
;else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImp
orts&&!window.HTMLImports.ready){var d=window.HTMLImports&&!window.HTMLImports.r
eady?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(d,t)}else t(
)}(window.CustomElements); | 11 "undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now(
)%1e9,r=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};r.proto
type={set:function(t,r){var n=t[this.name];return n&&n[0]===t?n[1]=r:e(t,this.na
me,{value:[t,r],writable:!0}),this},get:function(e){var t;return(t=e[this.name])
&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return t&&t[0]==
=e?(t[0]=t[1]=void 0,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===
e:!1}},window.WeakMap=r}(),function(e){function t(e){_.push(e),b||(b=!0,h(n))}fu
nction r(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeed
ed(e)||e}function n(){b=!1;var e=_;_=[],e.sort(function(e,t){return e.uid_-t.uid
_});var t=!1;e.forEach(function(e){var r=e.takeRecords();o(e),r.length&&(e.callb
ack_(r,e),t=!0)}),t&&n()}function o(e){e.nodes_.forEach(function(t){var r=v.get(
t);r&&r.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}fun
ction i(e,t){for(var r=e;r;r=r.parentNode){var n=v.get(r);if(n)for(var o=0;o<n.l
ength;o++){var i=n[o],a=i.options;if(r===e||a.subtree){var s=t(a);s&&i.enqueue(s
)}}}}function a(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++
E}function s(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes
=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this
.attributeNamespace=null,this.oldValue=null}function d(e){var t=new s(e.type,e.t
arget);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.sl
ice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attribut
eName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.old
Value,t}function u(e,t){return y=new s(e,t)}function c(e){return N?N:(N=d(y),N.o
ldValue=e,N)}function l(){y=N=void 0}function f(e){return e===N||e===y}function
p(e,t){return e===t?e:N&&f(e)?N:null}function m(e,t,r){this.observer=e,this.targ
et=t,this.options=r,this.transientObservedNodes=[]}var h,v=new WeakMap;if(/Tride
nt|Edge/.test(navigator.userAgent))h=setTimeout;else if(window.setImmediate)h=wi
ndow.setImmediate;else{var w=[],g=String(Math.random());window.addEventListener(
"message",function(e){if(e.data===g){var t=w;w=[],t.forEach(function(e){e()})}})
,h=function(e){w.push(e),window.postMessage(g,"*")}}var b=!1,_=[],E=0;a.prototyp
e={observe:function(e,t){if(e=r(e),!t.childList&&!t.attributes&&!t.characterData
||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.lengt
h&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxErro
r;var n=v.get(e);n||v.set(e,n=[]);for(var o,i=0;i<n.length;i++)if(n[i].observer=
==this){o=n[i],o.removeListeners(),o.options=t;break}o||(o=new m(this,e,t),n.pus
h(o),this.nodes_.push(e)),o.addListeners()},disconnect:function(){this.nodes_.fo
rEach(function(e){for(var t=v.get(e),r=0;r<t.length;r++){var n=t[r];if(n.observe
r===this){n.removeListeners(),t.splice(r,1);break}}},this),this.records_=[]},tak
eRecords:function(){var e=this.records_;return this.records_=[],e}};var y,N;m.pr
ototype={enqueue:function(e){var r=this.observer.records_,n=r.length;if(r.length
>0){var o=r[n-1],i=p(o,e);if(i)return void(r[n-1]=i)}else t(this.observer);r[n]=
e},addListeners:function(){this.addListeners_(this.target)},addListeners_:functi
on(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this
,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.c
hildList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)
&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.
removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t
.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e
.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEv
entListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventLi
stener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.t
arget){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);
t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.t
ransientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.
removeListeners_(e);for(var t=v.get(e),r=0;r<t.length;r++)if(t[r]===this){t.spli
ce(r,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation
(),e.type){case"DOMAttrModified":var t=e.attrName,r=e.relatedNode.namespaceURI,n
=e.target,o=new u("attributes",n);o.attributeName=t,o.attributeNamespace=r;var a
=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;i(n,function(e){return!e
.attributes||e.attributeFilter&&e.attributeFilter.length&&-1===e.attributeFilter
.indexOf(t)&&-1===e.attributeFilter.indexOf(r)?void 0:e.attributeOldValue?c(a):o
});break;case"DOMCharacterDataModified":var n=e.target,o=u("characterData",n),a=
e.prevValue;i(n,function(e){return e.characterData?e.characterDataOldValue?c(a):
o:void 0});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"D
OMNodeInserted":var s,d,f=e.target;"DOMNodeInserted"===e.type?(s=[f],d=[]):(s=[]
,d=[f]);var p=f.previousSibling,m=f.nextSibling,o=u("childList",e.target.parentN
ode);o.addedNodes=s,o.removedNodes=d,o.previousSibling=p,o.nextSibling=m,i(e.rel
atedNode,function(e){return e.childList?o:void 0})}l()}},e.JsMutationObserver=a,
e.MutationObserver||(e.MutationObserver=a)}(this),window.CustomElements=window.C
ustomElements||{flags:{}},function(e){var t=e.flags,r=[],n=function(e){r.push(e)
},o=function(){r.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=o
,e.hasNative=Boolean(document.registerElement),e.useNative=!t.register&&e.hasNat
ive&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||HTMLImports.useNative)}(Cu
stomElements),CustomElements.addModule(function(e){function t(e,t){r(e,function(
e){return t(e)?!0:void n(e,t)}),n(e,t)}function r(e,t,n){var o=e.firstElementChi
ld;if(!o)for(o=e.firstChild;o&&o.nodeType!==Node.ELEMENT_NODE;)o=o.nextSibling;f
or(;o;)t(o,n)!==!0&&r(o,t,n),o=o.nextElementSibling;return null}function n(e,r){
for(var n=e.shadowRoot;n;)t(n,r),n=n.olderShadowRoot}function o(e,t){i(e,t,[])}f
unction i(e,t,r){if(e=wrap(e),!(r.indexOf(e)>=0)){r.push(e);for(var n,o=e.queryS
electorAll("link[rel="+a+"]"),s=0,d=o.length;d>s&&(n=o[s]);s++)n["import"]&&i(n[
"import"],t,r);t(e)}}var a=window.HTMLImports?HTMLImports.IMPORT_LINK_TYPE:"none
";e.forDocumentTree=o,e.forSubtree=t}),CustomElements.addModule(function(e){func
tion t(e){return r(e)||n(e)}function r(t){return e.upgrade(t)?!0:void s(t)}funct
ion n(e){_(e,function(e){return r(e)?!0:void 0})}function o(e){s(e),f(e)&&_(e,fu
nction(e){s(e)})}function i(e){M.push(e),N||(N=!0,setTimeout(a))}function a(){N=
!1;for(var e,t=M,r=0,n=t.length;n>r&&(e=t[r]);r++)e();M=[]}function s(e){y?i(fun
ction(){d(e)}):d(e)}function d(e){e.__upgraded__&&(e.attachedCallback||e.detache
dCallback)&&!e.__attached&&f(e)&&(e.__attached=!0,e.attachedCallback&&e.attached
Callback())}function u(e){c(e),_(e,function(e){c(e)})}function c(e){y?i(function
(){l(e)}):l(e)}function l(e){e.__upgraded__&&(e.attachedCallback||e.detachedCall
back)&&e.__attached&&!f(e)&&(e.__attached=!1,e.detachedCallback&&e.detachedCallb
ack())}function f(e){for(var t=e,r=wrap(document);t;){if(t==r)return!0;t=t.paren
tNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}function p(e){if(e.shad
owRoot&&!e.shadowRoot.__watched){b.dom&&console.log("watching shadow-root for: "
,e.localName);for(var t=e.shadowRoot;t;)v(t),t=t.olderShadowRoot}}function m(e){
if(b.dom){var r=e[0];if(r&&"childList"===r.type&&r.addedNodes&&r.addedNodes){for
(var n=r.addedNodes[0];n&&n!==document&&!n.host;)n=n.parentNode;var o=n&&(n.URL|
|n._URL||n.host&&n.host.localName)||"";o=o.split("/?").shift().split("/").pop()}
console.group("mutations (%d) [%s]",e.length,o||"")}e.forEach(function(e){"child
List"===e.type&&(O(e.addedNodes,function(e){e.localName&&t(e)}),O(e.removedNodes
,function(e){e.localName&&u(e)}))}),b.dom&&console.groupEnd()}function h(e){for(
e=wrap(e),e||(e=wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;
t&&(m(t.takeRecords()),a())}function v(e){if(!e.__observer){var t=new MutationOb
server(m);t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function w(e){e
=wrap(e),b.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop()),t(
e),v(e),b.dom&&console.groupEnd()}function g(e){E(e,w)}var b=e.flags,_=e.forSubt
ree,E=e.forDocumentTree,y=!window.MutationObserver||window.MutationObserver===wi
ndow.JsMutationObserver;e.hasPolyfillMutations=y;var N=!1,M=[],O=Array.prototype
.forEach.call.bind(Array.prototype.forEach),L=Element.prototype.createShadowRoot
;L&&(Element.prototype.createShadowRoot=function(){var e=L.call(this);return Cus
tomElements.watchShadow(this),e}),e.watchShadow=p,e.upgradeDocumentTree=g,e.upgr
adeSubtree=n,e.upgradeAll=t,e.attachedNode=o,e.takeRecords=h}),CustomElements.ad
dModule(function(e){function t(t){if(!t.__upgraded__&&t.nodeType===Node.ELEMENT_
NODE){var n=t.getAttribute("is"),o=e.getRegisteredDefinition(n||t.localName);if(
o){if(n&&o.tag==t.localName)return r(t,o);if(!n&&!o["extends"])return r(t,o)}}}f
unction r(t,r){return a.upgrade&&console.group("upgrade:",t.localName),r.is&&t.s
etAttribute("is",r.is),n(t,r),t.__upgraded__=!0,i(t),e.attachedNode(t),e.upgrade
Subtree(t),a.upgrade&&console.groupEnd(),t}function n(e,t){Object.__proto__?e.__
proto__=t.prototype:(o(e,t.prototype,t["native"]),e.__proto__=t.prototype)}funct
ion o(e,t,r){for(var n={},o=t;o!==r&&o!==HTMLElement.prototype;){for(var i,a=Obj
ect.getOwnPropertyNames(o),s=0;i=a[s];s++)n[i]||(Object.defineProperty(e,i,Objec
t.getOwnPropertyDescriptor(o,i)),n[i]=1);o=Object.getPrototypeOf(o)}}function i(
e){e.createdCallback&&e.createdCallback()}var a=e.flags;e.upgrade=t,e.upgradeWit
hDefinition=r,e.implementPrototype=n}),CustomElements.addModule(function(e){func
tion t(t,n){var d=n||{};if(!t)throw new Error("document.registerElement: first a
rgument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("document
.registerElement: first argument ('name') must contain a dash ('-'). Argument pr
ovided was '"+String(t)+"'.");if(o(t))throw new Error("Failed to execute 'regist
erElement' on 'Document': Registration failed for type '"+String(t)+"'. The type
name is invalid.");if(u(t))throw new Error("DuplicateDefinitionError: a type wi
th name '"+String(t)+"' is already registered");return d.prototype||(d.prototype
=Object.create(HTMLElement.prototype)),d.__name=t.toLowerCase(),d.lifecycle=d.li
fecycle||{},d.ancestry=i(d["extends"]),a(d),s(d),r(d.prototype),c(d.__name,d),d.
ctor=l(d),d.ctor.prototype=d.prototype,d.prototype.constructor=d.ctor,e.ready&&w
(document),d.ctor}function r(e){if(!e.setAttribute._polyfilled){var t=e.setAttri
bute;e.setAttribute=function(e,r){n.call(this,e,r,t)};var r=e.removeAttribute;e.
removeAttribute=function(e){n.call(this,e,null,r)},e.setAttribute._polyfilled=!0
}}function n(e,t,r){e=e.toLowerCase();var n=this.getAttribute(e);r.apply(this,ar
guments);var o=this.getAttribute(e);this.attributeChangedCallback&&o!==n&&this.a
ttributeChangedCallback(e,n,o)}function o(e){for(var t=0;t<y.length;t++)if(e===y
[t])return!0}function i(e){var t=u(e);return t?i(t["extends"]).concat([t]):[]}fu
nction a(e){for(var t,r=e["extends"],n=0;t=e.ancestry[n];n++)r=t.is&&t.tag;e.tag
=r||e.__name,r&&(e.is=e.__name)}function s(e){if(!Object.__proto__){var t=HTMLEl
ement.prototype;if(e.is){var r=document.createElement(e.tag),n=Object.getPrototy
peOf(r);n===e.prototype&&(t=n)}for(var o,i=e.prototype;i&&i!==t;)o=Object.getPro
totypeOf(i),i.__proto__=o,i=o;e["native"]=t}}function d(e){return b(O(e.tag),e)}
function u(e){return e?N[e.toLowerCase()]:void 0}function c(e,t){N[e]=t}function
l(e){return function(){return d(e)}}function f(e,t,r){return e===M?p(t,r):L(e,t
)}function p(e,t){var r=u(t||e);if(r){if(e==r.tag&&t==r.is)return new r.ctor;if(
!t&&!r.is)return new r.ctor}var n;return t?(n=p(e),n.setAttribute("is",t),n):(n=
O(e),e.indexOf("-")>=0&&_(n,HTMLElement),n)}function m(e,t){var r=e[t];e[t]=func
tion(){var e=r.apply(this,arguments);return g(e),e}}var h,v=e.isIE11OrOlder,w=e.
upgradeDocumentTree,g=e.upgradeAll,b=e.upgradeWithDefinition,_=e.implementProtot
ype,E=e.useNative,y=["annotation-xml","color-profile","font-face","font-face-src
","font-face-uri","font-face-format","font-face-name","missing-glyph"],N={},M="h
ttp://www.w3.org/1999/xhtml",O=document.createElement.bind(document),L=document.
createElementNS.bind(document);h=Object.__proto__||E?function(e,t){return e inst
anceof t}:function(e,t){for(var r=e;r;){if(r===t.prototype)return!0;r=r.__proto_
_}return!1},m(Node.prototype,"cloneNode"),m(document,"importNode"),v&&!function(
){var e=document.importNode;document.importNode=function(){var t=e.apply(documen
t,arguments);if(t.nodeType==t.DOCUMENT_FRAGMENT_NODE){var r=document.createDocum
entFragment();return r.appendChild(t),r}return t}}(),document.registerElement=t,
document.createElement=p,document.createElementNS=f,e.registry=N,e["instanceof"]
=h,e.reservedTagList=y,e.getRegisteredDefinition=u,document.register=document.re
gisterElement}),function(e){function t(){a(wrap(document)),window.HTMLImports&&(
HTMLImports.__importsParsingHook=function(e){a(wrap(e["import"]))}),CustomElemen
ts.ready=!0,setTimeout(function(){CustomElements.readyTime=Date.now(),window.HTM
LImports&&(CustomElements.elapsed=CustomElements.readyTime-HTMLImports.readyTime
),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}v
ar r=e.useNative,n=e.initializeModules,o=/Trident/.test(navigator.userAgent);if(
r){var i=function(){};e.watchShadow=i,e.upgrade=i,e.upgradeAll=i,e.upgradeDocume
ntTree=i,e.upgradeSubtree=i,e.takeRecords=i,e["instanceof"]=function(e,t){return
e instanceof t}}else n();var a=e.upgradeDocumentTree;if(window.wrap||(window.Sh
adowDOMPolyfill?(window.wrap=ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=Shadow
DOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),o&&
"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{}
;var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,Boolean(t.
bubbles),Boolean(t.cancelable),t.detail),r},window.CustomEvent.prototype=window.
Event.prototype),"complete"===document.readyState||e.flags.eager)t();else if("in
teractive"!==document.readyState||window.attachEvent||window.HTMLImports&&!windo
w.HTMLImports.ready){var s=window.HTMLImports&&!HTMLImports.ready?"HTMLImportsLo
aded":"DOMContentLoaded";window.addEventListener(s,t)}else t();e.isIE11OrOlder=o
}(window.CustomElements); |