Files
webcomponentsjs/webcomponents-hi-sd-ce.js
2017-02-15 22:16:41 -08:00

7 lines
83 KiB
JavaScript

(function(){'use strict';function _(Wt){return Wt=$(Wt),te(ee(Wt),Wt)}function $(Wt){return Wt.replace(we.comments,'').replace(we.port,'')}function ee(Wt){let Bt=new Ie;Bt.start=0,Bt.end=Wt.length;let jt=Bt;for(let Kt=0,Gt=Wt.length;Kt<Gt;Kt++)if(Wt[Kt]===Me){jt.rules||(jt.rules=[]);let Vt=jt,Xt=Vt.rules[Vt.rules.length-1]||null;jt=new Ie,jt.start=Kt+1,jt.parent=Vt,jt.previous=Xt,Vt.rules.push(jt)}else Wt[Kt]===De&&(jt.end=Kt+1,jt=jt.parent||Bt);return Bt}function te(Wt,Bt){let jt=Bt.substring(Wt.start,Wt.end-1);if(Wt.parsedCssText=Wt.cssText=jt.trim(),Wt.parent){let Gt=Wt.previous?Wt.previous.end:Wt.parent.start;jt=Bt.substring(Gt,Wt.start-1),jt=oe(jt),jt=jt.replace(we.multipleSpaces,' '),jt=jt.substring(jt.lastIndexOf(';')+1);let Vt=Wt.parsedSelector=Wt.selector=jt.trim();Wt.atRule=0===Vt.indexOf('@'),Wt.atRule?0===Vt.indexOf('@media')?Wt.type=Oe.MEDIA_RULE:Vt.match(we.keyframesRule)&&(Wt.type=Oe.KEYFRAMES_RULE,Wt.keyframesName=Wt.selector.split(we.multipleSpaces).pop()):0===Vt.indexOf(Le)?Wt.type=Oe.MIXIN_RULE:Wt.type=Oe.STYLE_RULE}let Kt=Wt.rules;if(Kt)for(let Xt,Gt=0,Vt=Kt.length;Gt<Vt&&(Xt=Kt[Gt]);Gt++)te(Xt,Bt);return Wt}function oe(Wt){return Wt.replace(/\\([0-9a-f]{1,6})\s/gi,function(){let Bt=arguments[1],jt=6-Bt.length;for(;jt--;)Bt='0'+Bt;return'\\'+Bt})}function re(Wt,Bt,jt=''){let Kt='';if(Wt.cssText||Wt.rules){let Gt=Wt.rules;if(Gt&&!ne(Gt))for(let Yt,Vt=0,Xt=Gt.length;Vt<Xt&&(Yt=Gt[Vt]);Vt++)Kt=re(Yt,Bt,Kt);else Kt=Bt?Wt.cssText:se(Wt.cssText),Kt=Kt.trim(),Kt&&(Kt=' '+Kt+'\n')}return Kt&&(Wt.selector&&(jt+=Wt.selector+' '+Me+'\n'),jt+=Kt,Wt.selector&&(jt+=De+'\n\n')),jt}function ne(Wt){let Bt=Wt[0];return!!Bt&&!!Bt.selector&&0===Bt.selector.indexOf(Le)}function se(Wt){return Wt=le(Wt),ae(Wt)}function le(Wt){return Wt.replace(we.customProp,'').replace(we.mixinProp,'')}function ae(Wt){return Wt.replace(we.mixinApply,'').replace(we.varApply,'')}function de(Wt){Wt&&(Ue=Ue&&!Wt.nativeCss&&!Wt.shimcssproperties,He=He&&!Wt.nativeShadow&&!Wt.shimshadow)}function ie(Wt,Bt){return'string'==typeof Wt&&(Wt=_(Wt)),Bt&&ue(Wt,Bt),re(Wt,Ue)}function pe(Wt){return!Wt.__cssRules&&Wt.textContent&&(Wt.__cssRules=_(Wt.textContent)),Wt.__cssRules}function he(Wt){return!!Wt.parent&&Wt.parent.type===Oe.KEYFRAMES_RULE}function ue(Wt,Bt,jt,Kt){if(Wt){let Gt=!1,Vt=Wt.type;if(Kt&&Vt===Oe.MEDIA_RULE){let Yt=Wt.selector.match(Ke);Yt&&!window.matchMedia(Yt[1]).matches&&(Gt=!0)}Vt===Oe.STYLE_RULE?Bt(Wt):jt&&Vt===Oe.KEYFRAMES_RULE?jt(Wt):Vt===Oe.MIXIN_RULE&&(Gt=!0);let Xt=Wt.rules;if(Xt&&!Gt)for(let $t,Yt=0,zt=Xt.length;Yt<zt&&($t=Xt[Yt]);Yt++)ue($t,Bt,jt,Kt)}}function _e(Wt,Bt,jt,Kt){let Gt=me(Wt,Bt);return ye(Gt,jt,Kt)}function ye(Wt,Bt,jt){Bt=Bt||document.head;let Kt=jt&&jt.nextSibling||Bt.firstChild;return Ye=Wt,Bt.insertBefore(Wt,Kt)}function me(Wt,Bt){let jt=document.createElement('style');return Bt&&jt.setAttribute('scope',Bt),jt.textContent=Wt,jt}function ge(Wt){let Bt=document.createComment(' Shady DOM styles for '+Wt+' '),jt=Ye?Ye.nextSibling:null,Kt=document.head;return Kt.insertBefore(Bt,jt||Kt.firstChild),Ye=Bt,Bt}function fe(Wt,Bt){let jt=0;for(let Kt=Bt,Gt=Wt.length;Kt<Gt;Kt++)if('('===Wt[Kt])jt++;else if(')'===Wt[Kt]&&0==--jt)return Kt;return-1}function Se(Wt,Bt){let jt=Wt.indexOf('var(');if(-1===jt)return Bt(Wt,'','','');let Kt=fe(Wt,jt+3),Gt=Wt.substring(jt+4,Kt),Vt=Wt.substring(0,jt),Xt=Se(Wt.substring(Kt+1),Bt),Yt=Gt.indexOf(',');if(-1===Yt)return Bt(Vt,Gt.trim(),'',Xt);let zt=Gt.substring(0,Yt).trim(),$t=Gt.substring(Yt+1).trim();return Bt(Vt,zt,$t,Xt)}function be(Wt,Bt){window.ShadyDOM?window.ShadyDOM.nativeMethods.setAttribute.call(Wt,'class',Bt):Wt.setAttribute('class',Bt)}function Ne(Wt){let Bt=Wt.is||Wt.getAttribute&&Wt.getAttribute('is')||Wt.localName,jt=Wt.extends||Wt.localName!==Bt?Wt.localName:'';return{is:Bt,extends:jt}}function Ce(Wt,Bt){let jt=parseInt(Wt/32,10);Bt[jt]=(Bt[jt]||0)|1<<Wt%32}function Ee(Wt){let Bt=Tt[Wt];Bt&&ve(Bt)}function ve(Wt){Wt._applyShimInvalid=!0}function Pe(Wt){return!Wt._applyShimInvalid}function Te(Wt){return Wt._validating}function Re(Wt){Wt._validating||(Wt._validating=!0,Rt.then(function(){Wt._applyShimInvalid=!1,Wt._validating=!1}))}function Ae(Wt){xt?xt(Wt):(!At&&(At=new Promise(Bt=>{It=Bt}),'complete'===document.readyState?It():document.addEventListener('readystatechange',()=>{'complete'===document.readyState&&It()})),At.then(function(){Wt&&Wt()}))}function xe(Wt,Bt){for(let jt in Bt)null===jt?Wt.style.removeProperty(jt):Wt.style.setProperty(jt,Bt[jt])}(Wt=>{const Bt=!!('import'in document.createElement('link'));let jt=null;!1=='currentScript'in document&&Object.defineProperty(document,'currentScript',{get(){return jt||('complete'===document.readyState?null:document.scripts[document.scripts.length-1])},configurable:!0});const Kt=/(^\/)|(^#)|(^[\w-\d]*:)/,Gt=/(url\()([^)]*)(\))/g,Vt=/(@import[\s]+(?!url\())([^;]*)(;)/g,Xt=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,Yt={fixUrls(_o,yo){_o.href&&_o.setAttribute('href',Yt.replaceAttrUrl(_o.getAttribute('href'),yo)),_o.src&&_o.setAttribute('src',Yt.replaceAttrUrl(_o.getAttribute('src'),yo)),'style'===_o.localName&&Yt.resolveUrlsInStyle(_o,yo)},fixUrlAttributes(_o,yo){const mo=['action','src','href','url','style'];for(let fo,go=0;go<mo.length&&(fo=mo[go]);go++){const So=_o.attributes[fo],bo=So&&So.value;bo&&0>bo.search(/({{|\[\[)/)&&(So.value='style'===fo?Yt.resolveUrlsInCssText(bo,yo):Yt.replaceAttrUrl(bo,yo))}},fixUrlsInTemplates(_o,yo){const mo=_o.querySelectorAll('template');for(let go=0;go<mo.length;go++)Yt.fixUrlsInTemplate(mo[go],yo)},fixUrlsInTemplate(_o,yo){const mo=_o.content||_o,go=mo.querySelectorAll('style, form[action], [src], [href], [url], [style]');for(let fo=0;fo<go.length;fo++){const So=go[fo];'style'==So.localName?Yt.resolveUrlsInStyle(So,yo):Yt.fixUrlAttributes(So,yo)}Yt.fixUrlsInTemplates(mo,yo)},resolveUrlsInStyle(_o,yo){_o.textContent=Yt.resolveUrlsInCssText(_o.textContent,yo)},resolveUrlsInCssText(_o,yo){let mo=Yt.replaceUrls(_o,yo,Gt);return mo=Yt.replaceUrls(mo,yo,Vt),mo},replaceUrls(_o,yo,mo){return _o.replace(mo,(go,fo,So,bo)=>{let No=So.replace(/["']/g,'');return yo&&(No=Yt.resolveUrl(No,yo)),fo+'\''+No+'\''+bo})},replaceAttrUrl(_o,yo){return _o&&Kt.test(_o)?_o:Yt.resolveUrl(_o,yo)},resolveUrl(_o,yo){if(void 0===Yt.__workingURL){Yt.__workingURL=!1;try{const go=new URL('b','http://a');go.pathname='c%20d',Yt.__workingURL='http://a/c%20d'===go.href}catch(go){}}if(Yt.__workingURL)return new URL(_o,yo).href;let mo=Yt.__tempDoc;return mo||(mo=document.implementation.createHTMLDocument('temp'),Yt.__tempDoc=mo,mo.__base=mo.createElement('base'),mo.head.appendChild(mo.__base),mo.__anchor=mo.createElement('a')),mo.__base.href=yo,mo.__anchor.href=_o,mo.__anchor.href||_o}},zt={async:!0,load(_o,yo,mo){if(!_o)mo('error: href must be specified');else if(_o.match(/^data:/)){const go=_o.split(','),fo=go[0];let So=go[1];So=-1<fo.indexOf(';base64')?atob(So):decodeURIComponent(So),yo(So)}else{const go=new XMLHttpRequest;go.open('GET',_o,zt.async),go.onload=()=>{let fo=go.getResponseHeader('Location');if(fo&&0===fo.indexOf('/')){const bo=location.origin||location.protocol+'//'+location.host;fo=bo+fo}const So=go.response||go.responseText;304===go.status||0===go.status||200<=go.status&&300>go.status?yo(So,fo):mo(So)},go.send()}}},$t=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent),Zt='link[rel=import]',Qt='import-disable',Jt=`link[rel=stylesheet][href][type=${Qt}]`,eo=`${Zt}, ${Jt},
style:not([type]), link[rel=stylesheet][href]:not([type]),
script:not([type]), script[type="application/javascript"],
script[type="text/javascript"]`,to='import-dependency',oo=`${Zt}:not(${to})`,ro=`script[${to}]`,no=`style[${to}],
link[rel=stylesheet][${to}]`;const lo=_o=>{return _o.nodeType===Node.ELEMENT_NODE&&'link'===_o.localName&&'import'===_o.rel},ao=(_o,yo)=>{if(_o.__loaded)yo&&yo();else if('script'===_o.localName&&!_o.src)_o.__loaded=!0,yo&&yo();else{const mo=go=>{_o.removeEventListener(go.type,mo),_o.__loaded=!0,yo&&yo()};_o.addEventListener('load',mo),$t&&'style'===_o.localName||_o.addEventListener('error',mo)}},io=_o=>{po(()=>co(()=>_o&&_o()))},po=_o=>{if('loading'!==document.readyState)_o();else{const yo=()=>{'loading'!==document.readyState&&(document.removeEventListener('readystatechange',yo),_o())};document.addEventListener('readystatechange',yo)}},co=_o=>{let yo=document.querySelectorAll(oo),mo=yo.length;if(!mo)return void _o();for(let So,go=0,fo=yo.length;go<fo&&(So=yo[go]);go++)ao(So,()=>{0==--mo&&_o()})},ho=_o=>{if(Bt)return _o.ownerDocument===document?null:_o.ownerDocument;let yo=_o.__importDoc;if(!yo&&_o.parentNode){if(yo=_o.parentNode,'function'==typeof yo.closest)yo=yo.closest(Zt);else for(;!lo(yo)&&(yo=yo.parentNode););_o.__importDoc=yo}return yo},uo=(_o,yo)=>{if('function'==typeof window.CustomEvent)return new CustomEvent(_o,yo);const mo=document.createEvent('CustomEvent');return mo.initCustomEvent(_o,!!yo.bubbles,!!yo.cancelable,yo.detail),mo};if(Bt){const _o=document.querySelectorAll(Zt);for(let fo,mo=0,go=_o.length;mo<go&&(fo=_o[mo]);mo++)fo.import&&'loading'===fo.import.readyState||(fo.__loaded=!0);const yo=mo=>{const go=mo.target;lo(go)&&(go.__loaded=!0)};document.addEventListener('load',yo,!0),document.addEventListener('error',yo,!0)}else new class{constructor(){this.documents={},this.inflight=0,this.dynamicImportsMO=new MutationObserver(_o=>this.handleMutations(_o)),po(()=>{this.dynamicImportsMO.observe(document.head,{childList:!0,subtree:!0}),this.loadImports(document)})}loadImports(_o){const yo=_o.querySelectorAll(Zt);for(let mo=0,go=yo.length;mo<go;mo++)this.loadImport(yo[mo])}loadImport(_o){const yo=_o.href;if(void 0!==this.documents[yo]){const mo=this.documents[yo];return void(mo&&mo.__loaded&&(_o.import=mo,this.fireEventIfNeeded(_o)))}this.inflight++,this.documents[yo]='pending',zt.load(yo,(mo,go)=>{const fo=this.makeDocument(mo,go||yo);this.documents[yo]=fo,this.inflight--,this.loadImports(fo),this.processImportsIfLoadingDone()},()=>{this.documents[yo]=null,this.inflight--,this.processImportsIfLoadingDone()})}makeDocument(_o,yo){if(!_o)return document.createDocumentFragment();$t&&(_o=_o.replace(Xt,(No,Co,Eo)=>{return-1===No.indexOf('type=')?`${Co} type=${Qt} ${Eo}`:No}));let mo;const go=document.createElement('template');if(go.innerHTML=_o,go.content)mo=go.content;else for(mo=document.createDocumentFragment();go.firstChild;)mo.appendChild(go.firstChild);const fo=mo.querySelector('base');fo&&(yo=Yt.replaceAttrUrl(fo.getAttribute('href'),yo),fo.removeAttribute('href'));const So=mo.querySelectorAll(eo);let bo=0;for(let Eo,No=0,Co=So.length;No<Co&&(Eo=So[No]);No++)if(ao(Eo),Yt.fixUrls(Eo,yo),Eo.setAttribute(to,''),'script'===Eo.localName&&!Eo.src&&Eo.textContent){const vo=bo?`-${bo}`:'',Po=Eo.textContent+`\n//# sourceURL=${yo}${vo}.js\n`;Eo.setAttribute('src','data:text/javascript;charset=utf-8,'+encodeURIComponent(Po)),Eo.textContent='',bo++}return Yt.fixUrlsInTemplates(mo,yo),mo}processImportsIfLoadingDone(){if(!this.inflight){this.dynamicImportsMO.disconnect(),this.flatten(document);let _o=!1,yo=!1;const mo=()=>{yo&&_o&&(this.dynamicImportsMO.observe(document.head,{childList:!0,subtree:!0}),this.fireEvents())};this.waitForStyles(()=>{yo=!0,mo()}),this.runScripts(()=>{_o=!0,mo()})}}flatten(_o){const yo=_o.querySelectorAll(Zt);for(let fo,mo=0,go=yo.length;mo<go&&(fo=yo[mo]);mo++){const So=this.documents[fo.href];fo.import=So,So&&So.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(this.documents[fo.href]=fo,fo.readyState='loading',fo.import=fo,Object.defineProperty(fo,'baseURI',{get:()=>fo.href,configurable:!0,enumerable:!0}),this.flatten(So),fo.appendChild(So))}}runScripts(_o){const yo=document.querySelectorAll(ro),mo=yo.length,go=fo=>{if(fo<mo){const So=yo[fo],bo=document.createElement('script');So.removeAttribute(to);for(let No=0,Co=So.attributes.length;No<Co;No++)bo.setAttribute(So.attributes[No].name,So.attributes[No].value);jt=bo,So.parentNode.replaceChild(bo,So),ao(bo,()=>{jt=null,go(fo+1)})}else _o()};go(0)}waitForStyles(_o){const yo=document.querySelectorAll(no);let mo=yo.length;if(!mo)return void _o();const go=$t&&!!document.querySelector(Jt);for(let bo,fo=0,So=yo.length;fo<So&&(bo=yo[fo]);fo++)if(ao(bo,()=>{bo.removeAttribute(to),0==--mo&&_o()}),go&&bo.parentNode!==document.head){const No=document.createElement(bo.localName);No.__appliedElement=bo,No.setAttribute('type','import-placeholder'),bo.parentNode.insertBefore(No,bo.nextSibling);let Co=ho(bo);for(;Co&&ho(Co);)Co=ho(Co);Co.parentNode!==document.head&&(Co=null),document.head.insertBefore(bo,Co),bo.removeAttribute('type')}}fireEvents(){const _o=document.querySelectorAll(Zt);for(let mo,yo=_o.length-1;0<=yo&&(mo=_o[yo]);yo--)this.fireEventIfNeeded(mo)}fireEventIfNeeded(_o){if(!_o.__loaded){_o.__loaded=!0,_o.import&&(_o.import.readyState='complete');const yo=_o.import?'load':'error';_o.dispatchEvent(uo(yo,{bubbles:!1,cancelable:!1,detail:void 0}))}}handleMutations(_o){for(let yo=0;yo<_o.length;yo++){const mo=_o[yo];if(mo.addedNodes)for(let go=0;go<mo.addedNodes.length;go++){const fo=mo.addedNodes[go];fo&&fo.nodeType===Node.ELEMENT_NODE&&(lo(fo)?this.loadImport(fo):this.loadImports(fo))}}}};io(()=>document.dispatchEvent(uo('HTMLImportsLoaded',{cancelable:!0,bubbles:!0,detail:void 0}))),Wt.useNative=Bt,Wt.whenReady=io,Wt.importForElement=ho})(window.HTMLImports=window.HTMLImports||{}),function(){'use strict';function Wt(Mr,Dr,wr){return{index:Mr,removed:Dr,addedCount:wr}}function Bt(Mr){return'ShadyRoot'===Mr.__localName}function jt(Mr,Dr){if(Mr&&Dr)for(var kr,wr=Object.getOwnPropertyNames(Dr),Lr=0;Lr<wr.length&&(kr=wr[Lr]);Lr++){var Fr=kr,Ur=Object.getOwnPropertyDescriptor(Dr,Fr);Ur&&Object.defineProperty(Mr,Fr,Ur)}return Mr||Dr}function Kt(){Lo=!1;for(var Mr=!!wo.length;wo.length;)wo.shift()();return Mr}function Gt(Mr,Dr){return Mr.__shady&&Mr.__shady[Dr]}function Vt(Mr){return'&'===Mr?'&amp;':'<'===Mr?'&lt;':'>'===Mr?'&gt;':'"'===Mr?'&quot;':'\xA0'===Mr?'&nbsp;':void 0}function Xt(Mr){for(var Dr={},wr=0;wr<Mr.length;wr++)Dr[Mr[wr]]=!0;return Dr}function Yt(Mr,Dr,wr){switch(Mr.nodeType){case Node.ELEMENT_NODE:Dr=Mr.localName;for(var Hr,Lr='<'+Dr,kr=Mr.attributes,Fr=0;Hr=kr[Fr];Fr++)Lr+=' '+Hr.name+'="'+Hr.value.replace(Ho,Vt)+'"';return Lr+='>',qo[Dr]?Lr:Lr+zt(Mr,wr)+'</'+Dr+'>';case Node.TEXT_NODE:return Mr=Mr.data,Dr&&Wo[Dr.localName]?Mr:Mr.replace(Uo,Vt);case Node.COMMENT_NODE:return'<!--'+Mr.data+'-->';default:throw window.console.error(Mr),Error('not implemented');}}function zt(Mr,Dr){'template'===Mr.localName&&(Mr=Mr.content);for(var Hr,wr='',Lr=Dr?Dr(Mr):Mr.childNodes,kr=0,Fr=Lr.length;kr<Fr&&(Hr=Lr[kr]);kr++)wr+=Yt(Hr,Mr,Dr);return wr}function $t(Mr){var Dr=[];for(jo.currentNode=Mr,Mr=jo.firstChild();Mr;)Dr.push(Mr),Mr=jo.nextSibling();return Dr}function Zt(Mr){return{get:function(){var Dr=ko.getProperty(this,Mr);return void 0===Dr?Bo[Mr](this):Dr},configurable:!0}}function Qt(Mr,Dr,wr){for(var Lr in Dr){var kr=Object.getOwnPropertyDescriptor(Mr,Lr);kr&&kr.configurable||!kr&&wr?Object.defineProperty(Mr,Lr,Dr[Lr]):wr&&console.warn('Could not define',Lr,'on',Mr)}}function Jt(Mr,Dr,wr){Go.patchOutsideElementAccessors(Mr),wr=wr||null,Mr.__shady=Mr.__shady||{},Dr.__shady=Dr.__shady||{},wr&&(wr.__shady=wr.__shady||{}),Mr.__shady.previousSibling=wr?wr.__shady.previousSibling:Dr.lastChild;var Lr=Mr.__shady.previousSibling;Lr&&Lr.__shady&&(Lr.__shady.nextSibling=Mr),(Lr=Mr.__shady.nextSibling=wr)&&Lr.__shady&&(Lr.__shady.previousSibling=Mr),Mr.__shady.parentNode=Dr,wr?wr===Dr.__shady.firstChild&&(Dr.__shady.firstChild=Mr):(Dr.__shady.lastChild=Mr,Dr.__shady.firstChild||(Dr.__shady.firstChild=Mr)),Dr.__shady.childNodes=null}function eo(Mr){this.root=Mr,this.insertionPointTag='slot'}function to(Mr,Dr){if(Mr!==_r)throw new TypeError('Illegal constructor');return Mr=document.createDocumentFragment(),Mr.__proto__=to.prototype,Mr._init(Dr),Mr}function oo(Mr){var wr,Dr=ko.hasProperty(Mr,'parentNode')&&ko.getProperty(Mr,'parentNode'),Lr=Po.ownerShadyRootForNode(Mr);if(Dr||Lr){wr=ao(Mr),Dr&&tr.recordRemoveChild(Mr,Dr);var kr;if(kr=Lr){var Fr;kr=Lr._insertionPoints;for(var Hr=0;Hr<kr.length;Hr++){var qr,Ur=kr[Hr];a:{for(qr=Ur;qr;){if(qr==Mr){qr=!0;break a}qr=qr.parentNode}qr=void 0}if(qr)for(Ur=Ur.assignedNodes({flatten:!0}),qr=0;qr<Ur.length;qr++){Fr=!0;var Wr=Ur[qr],Br=Bo.parentNode(Wr);Br&&or.removeChild.call(Br,Wr)}}kr=Fr}Fr=kr,Dr=Dr&&Lr&&Dr.localName===Lr.getInsertionPointTag(),(Fr||Dr)&&(Lr._skipUpdateInsertionPoints=!1,io(Lr))}return lo(Mr),wr}function ro(Mr,Dr,wr){(Mr=Mr.__shady&&Mr.__shady.observer)&&(Dr&&Mr.addedNodes.push(Dr),wr&&Mr.removedNodes.push(wr),Mr.schedule())}function no(Mr){if(Mr&&Mr.nodeType){var Dr=Mr.__ownerShadyRoot;return void 0===Dr&&(Dr=Po.isShadyRoot(Mr)?Mr:(Dr=Mr.parentNode)?no(Dr):Mr,document.documentElement.contains(Mr)&&(Mr.__ownerShadyRoot=Dr)),Dr}}function so(Mr,Dr,wr){var Lr,kr=wr.getInsertionPointTag();if(Mr.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||Mr.__noInsertionPoint)Mr.localName===kr&&(tr.recordChildNodes(Dr),tr.recordChildNodes(Mr),Lr=!0);else for(var Hr,Ur,kr=Mr.querySelectorAll(kr),Fr=0;Fr<kr.length&&(Hr=kr[Fr]);Fr++)Ur=Hr.parentNode,Ur===Mr&&(Ur=Dr),Ur=so(Hr,Ur,wr),Lr=Lr||Ur;return Lr}function lo(Mr){if(void 0!==Mr.__ownerShadyRoot)for(var kr,Dr=Mr.childNodes,wr=0,Lr=Dr.length;wr<Lr&&(kr=Dr[wr]);wr++)lo(kr);Mr.__ownerShadyRoot=void 0}function ao(Mr){if((Mr=Mr.parentNode)&&Mr.shadyRoot&&Mr.shadyRoot.hasInsertionPoint())return io(Mr.shadyRoot),!0}function io(Mr){Mr._changePending=!0,Mr.update()}function po(Mr,Dr){'slot'===Dr?ao(Mr):'slot'===Mr.localName&&'name'==Dr&&(Mr=Po.ownerShadyRootForNode(Mr))&&Mr.update()}function co(Mr,Dr,wr,Lr){for(var Hr,kr=0,Fr=Mr.length;kr<Fr&&(Hr=Mr[kr]);kr++){var Ur;if(Ur=Hr.nodeType===Node.ELEMENT_NODE){Ur=Hr;var qr=Dr,Wr=wr,Br=Lr,jr=qr(Ur);jr&&Br.push(Ur),Wr&&Wr(jr)?Ur=jr:(co(Ur.childNodes,qr,Wr,Br),Ur=void 0)}if(Ur)return!0}}function ho(Mr,Dr){if(Mr.ownerDocument!==document)return or.importNode.call(document,Mr,Dr);var wr=or.importNode.call(document,Mr,!1);if(Dr){Mr=Mr.childNodes,Dr=0;for(var Lr;Dr<Mr.length;Dr++)Lr=ho(Mr[Dr],!0),wr.appendChild(Lr)}return wr}function uo(){this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}function _o(Mr,Dr){var wr=[],Lr=Mr;for(Mr=Mr===window?window:Mr.getRootNode();Lr;)wr.push(Lr),Lr=Lr.assignedSlot?Lr.assignedSlot:Lr.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Lr.host&&(Dr||Lr!==Mr)?Lr.host:Lr.parentNode;return wr[wr.length-1]===document&&wr.push(window),wr}function yo(Mr,Dr){if(!Po.isShadyRoot)return Mr;Mr=_o(Mr,!0);for(var Lr,kr,Fr,Hr,wr=0;wr<Dr.length;wr++)if(Lr=Dr[wr],Fr=Lr===window?window:Lr.getRootNode(),Fr!==kr&&(Hr=Mr.indexOf(Fr),kr=Fr),!Po.isShadyRoot(Fr)||-1<Hr)return Lr}function mo(Mr){function Dr(wr,Lr){return wr=new Mr(wr,Lr),wr.__composed=Lr&&!!Lr.composed,wr}return Po.mixin(Dr,Mr),Dr.prototype=Mr.prototype,Dr}function go(Mr,Dr,wr){if(wr=Dr.__handlers&&Dr.__handlers[Mr.type]&&Dr.__handlers[Mr.type][wr])for(var kr,Lr=0;(kr=wr[Lr])&&(kr.call(Dr,Mr),!Mr.__immediatePropagationStopped);Lr++);}function fo(Mr){var wr,Dr=Mr.composedPath();Object.defineProperty(Mr,'currentTarget',{get:function(){return wr},configurable:!0});for(var Lr=Dr.length-1;0<=Lr;Lr--)if(wr=Dr[Lr],go(Mr,wr,'capture'),Mr.__propagationStopped)return;Object.defineProperty(Mr,'eventPhase',{value:Event.AT_TARGET});for(var kr,Lr=0;Lr<Dr.length&&!((wr=Dr[Lr],0===Lr||wr.shadowRoot&&wr.shadowRoot===kr)&&(go(Mr,wr,'bubble'),wr!==window&&(kr=wr.getRootNode()),Mr.__propagationStopped));Lr++);}function So(){for(var Mr in Nr)window.addEventListener(Mr,function(Dr){Dr.__target||(bo(Dr),fo(Dr),Dr.stopImmediatePropagation())},!0)}function bo(Mr){Mr.__target=Mr.target,Mr.__relatedTarget=Mr.relatedTarget,Po.settings.hasDescriptors?Po.patchPrototype(Mr,br):Po.extend(Mr,br)}function No(Mr){return yr.renderRootNode(Mr),ko.getProperty(Mr,'assignedSlot')||null}function Co(Mr,Dr){for(var wr=Object.getOwnPropertyNames(Dr),Lr=0;Lr<wr.length;Lr++){var kr=wr[Lr],Fr=Object.getOwnPropertyDescriptor(Dr,kr);Fr.value?Mr[kr]=Fr.value:Object.defineProperty(Mr,kr,Fr)}}var Eo={},vo={calcEditDistances:function(Mr,Dr,wr,Lr,kr,Fr){Fr=Fr-kr+1,wr=wr-Dr+1;for(var Hr=Array(Fr),Ur=0;Ur<Fr;Ur++)Hr[Ur]=Array(wr),Hr[Ur][0]=Ur;for(Ur=0;Ur<wr;Ur++)Hr[0][Ur]=Ur;for(Ur=1;Ur<Fr;Ur++)for(var qr=1;qr<wr;qr++)if(this.equals(Mr[Dr+qr-1],Lr[kr+Ur-1]))Hr[Ur][qr]=Hr[Ur-1][qr-1];else{var Wr=Hr[Ur-1][qr]+1,Br=Hr[Ur][qr-1]+1;Hr[Ur][qr]=Wr<Br?Wr:Br}return Hr},spliceOperationsFromEditDistances:function(Mr){for(var Dr=Mr.length-1,wr=Mr[0].length-1,Lr=Mr[Dr][wr],kr=[];0<Dr||0<wr;)if(0==Dr)kr.push(2),wr--;else if(0==wr)kr.push(3),Dr--;else{var qr,Fr=Mr[Dr-1][wr-1],Hr=Mr[Dr-1][wr],Ur=Mr[Dr][wr-1];qr=Hr<Ur?Hr<Fr?Hr:Fr:Ur<Fr?Ur:Fr,qr==Fr?(Fr==Lr?kr.push(0):(kr.push(1),Lr=Fr),Dr--,wr--):qr==Hr?(kr.push(3),Dr--,Lr=Hr):(kr.push(2),wr--,Lr=Ur)}return kr.reverse(),kr},calcSplices:function(Mr,Dr,wr,Lr,kr,Fr){var Hr=0,Ur=0,qr=Math.min(wr-Dr,Fr-kr);if(0==Dr&&0==kr&&(Hr=this.sharedPrefix(Mr,Lr,qr)),wr==Mr.length&&Fr==Lr.length&&(Ur=this.sharedSuffix(Mr,Lr,qr-Hr)),Dr+=Hr,kr+=Hr,wr-=Ur,Fr-=Ur,0==wr-Dr&&0==Fr-kr)return[];if(Dr==wr){for(Mr=Wt(Dr,[],0);kr<Fr;)Mr.removed.push(Lr[kr++]);return[Mr]}if(kr==Fr)return[Wt(Dr,[],wr-Dr)];for(Fr=this.spliceOperationsFromEditDistances(this.calcEditDistances(Mr,Dr,wr,Lr,kr,Fr)),Mr=void 0,wr=[],Hr=0;Hr<Fr.length;Hr++)switch(Fr[Hr]){case 0:Mr&&(wr.push(Mr),Mr=void 0),Dr++,kr++;break;case 1:Mr||(Mr=Wt(Dr,[],0)),Mr.addedCount++,Dr++,Mr.removed.push(Lr[kr]),kr++;break;case 2:Mr||(Mr=Wt(Dr,[],0)),Mr.addedCount++,Dr++;break;case 3:Mr||(Mr=Wt(Dr,[],0)),Mr.removed.push(Lr[kr]),kr++;}return Mr&&wr.push(Mr),wr},sharedPrefix:function(Mr,Dr,wr){for(var Lr=0;Lr<wr;Lr++)if(!this.equals(Mr[Lr],Dr[Lr]))return Lr;return wr},sharedSuffix:function(Mr,Dr,wr){for(var Lr=Mr.length,kr=Dr.length,Fr=0;Fr<wr&&this.equals(Mr[--Lr],Dr[--kr]);)Fr++;return Fr},calculateSplices:function(Mr,Dr){return this.calcSplices(Mr,0,Mr.length,Dr,0,Dr.length)},equals:function(Mr,Dr){return Mr===Dr}};Eo.calculateSplices=function(Mr,Dr){return vo.calculateSplices(Mr,Dr)};var Po={},To=window.ShadyDOM||{};To.hasNativeShadowDOM=Element.prototype.attachShadow&&Node.prototype.getRootNode;var Ro=Object.getOwnPropertyDescriptor(Node.prototype,'firstChild');To.hasDescriptors=!!(Ro&&Ro.configurable&&Ro.get),To.inUse=To.force||!To.hasNativeShadowDOM;var Ao=Element.prototype,xo=Ao.matches||Ao.matchesSelector||Ao.mozMatchesSelector||Ao.msMatchesSelector||Ao.oMatchesSelector||Ao.webkitMatchesSelector,Io=document.createTextNode(''),Oo=0,Mo=[];new MutationObserver(function(){for(;Mo.length;)try{Mo.shift()()}catch(Mr){throw Io.textContent=Oo++,Mr}}).observe(Io,{characterData:!0}),Po.settings=To,Po.isShadyRoot=Bt,Po.ownerShadyRootForNode=function(Mr){if(Mr=Mr.getRootNode(),Bt(Mr))return Mr},Po.matchesSelector=function(Mr,Dr){return xo.call(Mr,Dr)},Po.extend=jt,Po.extendAll=function(Mr){for(var wr=[],Lr=1;Lr<arguments.length;++Lr)wr[Lr-1]=arguments[Lr];for(Lr=0;Lr<wr.length;Lr++)jt(Mr,wr[Lr]);return Mr},Po.mixin=function(Mr,Dr){for(var wr in Dr)Mr[wr]=Dr[wr];return Mr},Po.patchPrototype=function(Mr,Dr){var wr=Object.getPrototypeOf(Mr);if(!wr.hasOwnProperty('__patchProto')){var Lr=Object.create(wr);Lr.__sourceProto=wr,jt(Lr,Dr),wr.__patchProto=Lr}Mr.__proto__=wr.__patchProto},Po.microtask=function(Mr){Mo.push(Mr),Io.textContent=Oo++};var Lo,Do={},wo=[];Kt.list=wo,Do.enqueue=function(Mr){Lo||(Lo=!0,Po.microtask(Kt)),wo.push(Mr)},Do.flush=Kt;var ko={};ko.getProperty=Gt,ko.hasProperty=function(Mr,Dr){return void 0!==Gt(Mr,Dr)};var Fo={},Ho=/[&\u00A0"]/g,Uo=/[&\u00A0<>]/g,qo=Xt('area base br col command embed hr img input keygen link meta param source track wbr'.split(' ')),Wo=Xt('style script xmp iframe noembed noframes plaintext noscript'.split(' '));Fo.getOuterHTML=Yt,Fo.getInnerHTML=zt;var Bo={},jo=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Ko=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);Bo.parentNode=function(Mr){return jo.currentNode=Mr,jo.parentNode()},Bo.firstChild=function(Mr){return jo.currentNode=Mr,jo.firstChild()},Bo.lastChild=function(Mr){return jo.currentNode=Mr,jo.lastChild()},Bo.previousSibling=function(Mr){return jo.currentNode=Mr,jo.previousSibling()},Bo.nextSibling=function(Mr){return jo.currentNode=Mr,jo.nextSibling()},Bo.childNodes=$t,Bo.parentElement=function(Mr){return Ko.currentNode=Mr,Ko.parentNode()},Bo.firstElementChild=function(Mr){return Ko.currentNode=Mr,Ko.firstChild()},Bo.lastElementChild=function(Mr){return Ko.currentNode=Mr,Ko.lastChild()},Bo.previousElementSibling=function(Mr){return Ko.currentNode=Mr,Ko.previousSibling()},Bo.nextElementSibling=function(Mr){return Ko.currentNode=Mr,Ko.nextSibling()},Bo.children=function(Mr){var Dr=[];for(Ko.currentNode=Mr,Mr=Ko.firstChild();Mr;)Dr.push(Mr),Mr=Ko.nextSibling();return Dr},Bo.innerHTML=function(Mr){return Fo.getInnerHTML(Mr,function(Dr){return $t(Dr)})},Bo.textContent=function(Mr){if(Mr.nodeType!==Node.ELEMENT_NODE)return Mr.nodeValue;Mr=document.createTreeWalker(Mr,NodeFilter.SHOW_TEXT,null,!1);for(var wr,Dr='';wr=Mr.nextNode();)Dr+=wr.nodeValue;return Dr};var Go={},Vo=Object.getOwnPropertyDescriptor(Element.prototype,'innerHTML')||Object.getOwnPropertyDescriptor(HTMLElement.prototype,'innerHTML'),Xo=document.implementation.createHTMLDocument('inert').createElement('div'),Yo=Object.getOwnPropertyDescriptor(Document.prototype,'activeElement'),zo={parentElement:Zt('parentElement'),parentNode:Zt('parentNode'),nextSibling:Zt('nextSibling'),previousSibling:Zt('previousSibling'),className:{get:function(){return this.getAttribute('class')},set:function(Mr){this.setAttribute('class',Mr)},configurable:!0},nextElementSibling:{get:function(){if(ko.hasProperty(this,'nextSibling')){for(var Mr=this.nextSibling;Mr&&Mr.nodeType!==Node.ELEMENT_NODE;)Mr=Mr.nextSibling;return Mr}return Bo.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){if(ko.hasProperty(this,'previousSibling')){for(var Mr=this.previousSibling;Mr&&Mr.nodeType!==Node.ELEMENT_NODE;)Mr=Mr.previousSibling;return Mr}return Bo.previousElementSibling(this)},configurable:!0}},$o={childNodes:{get:function(){if(ko.hasProperty(this,'firstChild')){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var Mr=this.firstChild;Mr;Mr=Mr.nextSibling)this.__shady.childNodes.push(Mr)}return this.__shady.childNodes}return Bo.childNodes(this)},configurable:!0},firstChild:Zt('firstChild'),lastChild:Zt('lastChild'),textContent:{get:function(){if(ko.hasProperty(this,'firstChild')){for(var Lr,Mr=[],Dr=0,wr=this.childNodes;Lr=wr[Dr];Dr++)Lr.nodeType!==Node.COMMENT_NODE&&Mr.push(Lr.textContent);return Mr.join('')}return Bo.textContent(this)},set:function(Mr){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=Mr;else{for(;this.firstChild;)this.removeChild(this.firstChild);Mr&&this.appendChild(document.createTextNode(Mr))}},configurable:!0},firstElementChild:{get:function(){if(ko.hasProperty(this,'firstChild')){for(var Mr=this.firstChild;Mr&&Mr.nodeType!==Node.ELEMENT_NODE;)Mr=Mr.nextSibling;return Mr}return Bo.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){if(ko.hasProperty(this,'lastChild')){for(var Mr=this.lastChild;Mr&&Mr.nodeType!==Node.ELEMENT_NODE;)Mr=Mr.previousSibling;return Mr}return Bo.lastElementChild(this)},configurable:!0},children:{get:function(){return ko.hasProperty(this,'firstChild')?Array.prototype.filter.call(this.childNodes,function(Mr){return Mr.nodeType===Node.ELEMENT_NODE}):Bo.children(this)},configurable:!0},innerHTML:{get:function(){var Mr='template'===this.localName?this.content:this;return ko.hasProperty(this,'firstChild')?Fo.getInnerHTML(Mr):Bo.innerHTML(Mr)},set:function(Mr){for(var Dr='template'===this.localName?this.content:this;Dr.firstChild;)Dr.removeChild(Dr.firstChild);for(Vo&&Vo.set?Vo.set.call(Xo,Mr):Xo.innerHTML=Mr;Xo.firstChild;)Dr.appendChild(Xo.firstChild)},configurable:!0}},Zo={shadowRoot:{get:function(){return this.shadyRoot},set:function(Mr){this.shadyRoot=Mr},configurable:!0}},Qo={activeElement:{get:function(){var Mr;if(Mr=Yo&&Yo.get?Yo.get.call(document):Po.settings.hasDescriptors?void 0:document.activeElement,Mr){var Dr=!!Po.isShadyRoot(this);if(this===document||Dr&&this.host!==Mr&&this.host.contains(Mr)){for(Dr=Po.ownerShadyRootForNode(Mr);Dr&&Dr!==this;)Mr=Dr.host,Dr=Po.ownerShadyRootForNode(Mr);Mr=this===document?Dr?null:Mr:Dr===this?Mr:null}else Mr=null}else Mr=null;return Mr},set:function(){},configurable:!0}},Jo=Po.settings.hasDescriptors?function(){}:function(Mr){Mr.__shady&&Mr.__shady.__outsideAccessors||(Mr.__shady=Mr.__shady||{},Mr.__shady.__outsideAccessors=!0,Qt(Mr,zo,!0))},er=Po.settings.hasDescriptors?function(){}:function(Mr){Mr.__shady&&Mr.__shady.__insideAccessors||(Mr.__shady=Mr.__shady||{},Mr.__shady.__insideAccessors=!0,Qt(Mr,$o,!0),Qt(Mr,Zo,!0))};Go.ShadowRootAccessor=Zo,Go.ActiveElementAccessor=Qo,Go.patchAccessors=function(Mr){Qt(Mr,zo),Qt(Mr,$o),Qt(Mr,Qo)},Go.patchShadowRootAccessors=function(Mr){Qt(Mr,$o,!0),Qt(Mr,Qo,!0)},Go.patchOutsideElementAccessors=Jo,Go.patchInsideElementAccessors=er;var tr={};tr.recordInsertBefore=function(Mr,Dr,wr){if(Go.patchInsideElementAccessors(Dr),Dr.__shady=Dr.__shady||{},ko.hasProperty(Dr,'firstChild')&&(Dr.__shady.childNodes=null),Mr.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var Lr=Mr.childNodes,kr=0;kr<Lr.length;kr++)Jt(Lr[kr],Dr,wr);Mr.__shady=Mr.__shady||{},Dr=ko.hasProperty(Mr,'firstChild')?null:void 0,Mr.__shady.firstChild=Mr.__shady.lastChild=Dr,Mr.__shady.childNodes=Dr}else Jt(Mr,Dr,wr)},tr.recordRemoveChild=function(Mr,Dr){Mr.__shady=Mr.__shady||{},Dr.__shady=Dr.__shady||{},Mr===Dr.__shady.firstChild&&(Dr.__shady.firstChild=Mr.__shady.nextSibling),Mr===Dr.__shady.lastChild&&(Dr.__shady.lastChild=Mr.__shady.previousSibling);var wr=Mr.__shady.previousSibling,Lr=Mr.__shady.nextSibling;wr&&(wr.__shady=wr.__shady||{},wr.__shady.nextSibling=Lr),Lr&&(Lr.__shady=Lr.__shady||{},Lr.__shady.previousSibling=wr),Mr.__shady.parentNode=Mr.__shady.previousSibling=Mr.__shady.nextSibling=void 0,ko.hasProperty(Dr,'childNodes')&&(Dr.__shady.childNodes=null)},tr.recordChildNodes=function(Mr){if(!ko.hasProperty(Mr,'firstChild')){Mr.__shady=Mr.__shady||{},Mr.__shady.firstChild=Bo.firstChild(Mr),Mr.__shady.lastChild=Bo.lastChild(Mr),Go.patchInsideElementAccessors(Mr);for(var Lr,Dr=Mr.__shady.childNodes=Bo.childNodes(Mr),wr=0;wr<Dr.length&&(Lr=Dr[wr]);wr++)Lr.__shady=Lr.__shady||{},Lr.__shady.parentNode=Mr,Lr.__shady.nextSibling=Dr[wr+1]||null,Lr.__shady.previousSibling=Dr[wr-1]||null,Go.patchOutsideElementAccessors(Lr)}};var or={},rr=Element.prototype.insertBefore,nr=Element.prototype.removeChild,sr=Element.prototype.setAttribute,lr=Element.prototype.removeAttribute,ar=Element.prototype.cloneNode,dr=Document.prototype.importNode,ir=Element.prototype.addEventListener,pr=Element.prototype.removeEventListener;or.appendChild=Element.prototype.appendChild,or.insertBefore=rr,or.removeChild=nr,or.setAttribute=sr,or.removeAttribute=lr,or.cloneNode=ar,or.importNode=dr,or.addEventListener=ir,or.removeEventListener=pr;var cr={},hr='function'==typeof Event?Event:function(Mr,Dr){Dr=Dr||{};var wr=document.createEvent('Event');return wr.initEvent(Mr,!!Dr.bubbles,!!Dr.cancelable),wr};eo.prototype.getInsertionPoints=function(){return this.root.querySelectorAll(this.insertionPointTag)},eo.prototype.hasInsertionPoint=function(){return this.root._insertionPoints&&this.root._insertionPoints.length},eo.prototype.isInsertionPoint=function(Mr){return Mr.localName&&Mr.localName==this.insertionPointTag},eo.prototype.distribute=function(){return this.hasInsertionPoint()?this.distributePool(this.root,this.collectPool()):[]},eo.prototype.collectPool=function(){for(var Mr=[],Dr=0,wr=this.root.host.firstChild;wr;wr=wr.nextSibling)Mr[Dr++]=wr;return Mr},eo.prototype.distributePool=function(Mr,Dr){Mr=[];for(var Fr,wr=this.root._insertionPoints,Lr=0,kr=wr.length;Lr<kr&&(Fr=wr[Lr]);Lr++){this.distributeInsertionPoint(Fr,Dr);var Hr=Fr.parentNode;Hr&&Hr.shadyRoot&&this.hasInsertionPoint(Hr.shadyRoot)&&Mr.push(Hr.shadyRoot)}for(wr=0;wr<Dr.length;wr++)(Fr=Dr[wr])&&(Fr.__shady=Fr.__shady||{},Fr.__shady.assignedSlot=void 0,(Lr=Bo.parentNode(Fr))&&or.removeChild.call(Lr,Fr));return Mr},eo.prototype.distributeInsertionPoint=function(Mr,Dr){var wr=Mr.__shady.assignedNodes;wr&&this.clearAssignedSlots(Mr,!0),Mr.__shady.assignedNodes=[];for(var Ur,Lr=!1,kr=!1,Fr=0,Hr=Dr.length;Fr<Hr;Fr++)(Ur=Dr[Fr])&&this.matchesInsertionPoint(Ur,Mr)&&(Ur.__shady._prevAssignedSlot!=Mr&&(Lr=!0),this.distributeNodeInto(Ur,Mr),Dr[Fr]=void 0,kr=!0);if(!kr)for(Dr=Mr.childNodes,kr=0;kr<Dr.length;kr++)Ur=Dr[kr],Ur.__shady._prevAssignedSlot!=Mr&&(Lr=!0),this.distributeNodeInto(Ur,Mr);if(wr){for(Ur=0;Ur<wr.length;Ur++)wr[Ur].__shady._prevAssignedSlot=null;Mr.__shady.assignedNodes.length<wr.length&&(Lr=!0)}this.setDistributedNodesOnInsertionPoint(Mr),Lr&&this._fireSlotChange(Mr)},eo.prototype.clearAssignedSlots=function(Mr,Dr){var wr=Mr.__shady.assignedNodes;if(wr)for(var kr,Lr=0;Lr<wr.length;Lr++)kr=wr[Lr],Dr&&(kr.__shady._prevAssignedSlot=kr.__shady.assignedSlot),kr.__shady.assignedSlot===Mr&&(kr.__shady.assignedSlot=null)},eo.prototype.matchesInsertionPoint=function(Mr,Dr){return Dr=(Dr=Dr.getAttribute('name'))?Dr.trim():'',Mr=(Mr=Mr.getAttribute&&Mr.getAttribute('slot'))?Mr.trim():'',Mr==Dr},eo.prototype.distributeNodeInto=function(Mr,Dr){Dr.__shady.assignedNodes.push(Mr),Mr.__shady.assignedSlot=Dr},eo.prototype.setDistributedNodesOnInsertionPoint=function(Mr){var Dr=Mr.__shady.assignedNodes;Mr.__shady.distributedNodes=[];for(var Lr,wr=0;wr<Dr.length&&(Lr=Dr[wr]);wr++)if(this.isInsertionPoint(Lr)){var kr=Lr.__shady.distributedNodes;if(kr)for(var Fr=0;Fr<kr.length;Fr++)Mr.__shady.distributedNodes.push(kr[Fr])}else Mr.__shady.distributedNodes.push(Dr[wr])},eo.prototype._fireSlotChange=function(Mr){Mr.dispatchEvent(new hr('slotchange')),Mr.__shady.assignedSlot&&this._fireSlotChange(Mr.__shady.assignedSlot)},eo.prototype.isFinalDestination=function(Mr){return!Mr.__shady.assignedSlot},cr.default=eo;var ur={},_r={};to.prototype=Object.create(DocumentFragment.prototype),Po.extendAll(to.prototype,{_init:function(Mr){this.__localName='ShadyRoot',tr.recordChildNodes(Mr),tr.recordChildNodes(this),Mr.shadowRoot=this,this.host=Mr,this._changePending=this._hasRendered=this._renderPending=!1,this._distributor=new cr.default(this),this.update()},update:function(){var Mr=this;this._renderPending||(this._renderPending=!0,Do.enqueue(function(){return Mr.render()}))},_getRenderRoot:function(){for(var Mr=this,Dr=this;Dr;)Dr._renderPending&&(Mr=Dr),Dr=Dr._rendererForHost();return Mr},_rendererForHost:function(){var Mr=this.host.getRootNode();if(Po.isShadyRoot(Mr))for(var Lr,Dr=this.host.childNodes,wr=0;wr<Dr.length;wr++)if(Lr=Dr[wr],this._distributor.isInsertionPoint(Lr))return Mr},render:function(){this._renderPending&&this._getRenderRoot()._render()},_render:function(){this._changePending=this._renderPending=!1,this._skipUpdateInsertionPoints?this._hasRendered||(this._insertionPoints=[]):this.updateInsertionPoints(),this._skipUpdateInsertionPoints=!1,this.distribute(),this.compose(),this._hasRendered=!0},forceRender:function(){this._renderPending=!0,this.render()},distribute:function(){for(var Mr=this._distributor.distribute(),Dr=0;Dr<Mr.length;Dr++)Mr[Dr]._render()},updateInsertionPoints:function(){var Mr=this.__insertionPoints;if(Mr)for(var wr,Dr=0;Dr<Mr.length;Dr++)wr=Mr[Dr],wr.getRootNode()!==this&&this._distributor.clearAssignedSlots(wr);for(Mr=this._insertionPoints=this._distributor.getInsertionPoints(),Dr=0;Dr<Mr.length;Dr++)wr=Mr[Dr],wr.__shady=wr.__shady||{},tr.recordChildNodes(wr),tr.recordChildNodes(wr.parentNode)},get _insertionPoints(){return this.__insertionPoints||this.updateInsertionPoints(),this.__insertionPoints||(this.__insertionPoints=[])},set _insertionPoints(Mr){this.__insertionPoints=Mr},hasInsertionPoint:function(){return this._distributor.hasInsertionPoint()},compose:function(){this._composeTree()},_composeTree:function(){this._updateChildNodes(this.host,this._composeNode(this.host));for(var Lr,kr,Mr=this._insertionPoints||[],Dr=0,wr=Mr.length;Dr<wr&&(Lr=Mr[Dr]);Dr++)kr=Lr.parentNode,kr!==this.host&&kr!==this&&this._updateChildNodes(kr,this._composeNode(kr))},_composeNode:function(Mr){var Dr=[];Mr=(Mr.shadyRoot||Mr).childNodes;for(var Lr,wr=0;wr<Mr.length;wr++)if(Lr=Mr[wr],this._distributor.isInsertionPoint(Lr))for(var Hr,kr=Lr.__shady.distributedNodes||(Lr.__shady.distributedNodes=[]),Fr=0;Fr<kr.length;Fr++)Hr=kr[Fr],this.isFinalDestination(Lr,Hr)&&Dr.push(Hr);else Dr.push(Lr);return Dr},isFinalDestination:function(Mr,Dr){return this._distributor.isFinalDestination(Mr,Dr)},_updateChildNodes:function(Mr,Dr){for(var Hr,wr=Bo.childNodes(Mr),Lr=Eo.calculateSplices(Dr,wr),kr=0,Fr=0;kr<Lr.length&&(Hr=Lr[kr]);kr++){for(var qr,Ur=0;Ur<Hr.removed.length&&(qr=Hr.removed[Ur]);Ur++)Bo.parentNode(qr)===Mr&&or.removeChild.call(Mr,qr),wr.splice(Hr.index+Fr,1);Fr-=Hr.addedCount}for(kr=0;kr<Lr.length&&(Hr=Lr[kr]);kr++)for(Fr=wr[Hr.index],Ur=Hr.index;Ur<Hr.index+Hr.addedCount;Ur++)qr=Dr[Ur],or.insertBefore.call(Mr,qr,Fr),wr.splice(Ur,0,qr)},getInsertionPointTag:function(){return this._distributor.insertionPointTag}}),Go.patchShadowRootAccessors(to.prototype),ur.ShadyRoot=to,ur.attachShadow=function(Mr,Dr){if(!Mr)throw'Must provide a host.';if(!Dr)throw'Not enough arguments.';return new to(_r,Mr)};var yr={},mr=null;yr.getRootNode=no,yr.query=function(Mr,Dr,wr){var Lr=[];return co(Mr.childNodes,Dr,wr,Lr),Lr},yr.renderRootNode=function(Mr){Mr=Mr.getRootNode(),Po.isShadyRoot(Mr)&&Mr.render()},yr.setAttribute=function(Mr,Dr,wr){mr||(mr=window.ShadyCSS&&window.ShadyCSS.ScopingShim),mr&&'class'===Dr&&Mr.ownerDocument===document?mr.setElementClass(Mr,wr):(or.setAttribute.call(Mr,Dr,wr),po(Mr,Dr))},yr.removeAttribute=function(Mr,Dr){or.removeAttribute.call(Mr,Dr),po(Mr,Dr)},yr.insertBefore=function(Mr,Dr,wr){if(wr){var Lr=ko.getProperty(wr,'parentNode');if(void 0!==Lr&&Lr!==Mr)throw Error('The ref_node to be inserted before is not a child of this node')}Dr.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&(Lr=ko.getProperty(Dr,'parentNode'),Lr?(ro(Lr,null,Dr),oo(Dr)):(Dr.parentNode&&or.removeChild.call(Dr.parentNode,Dr),lo(Dr)));var Fr,kr=wr,Lr=Po.ownerShadyRootForNode(Mr);Lr&&(Dr.__noInsertionPoint&&!Lr._changePending&&(Lr._skipUpdateInsertionPoints=!0),Fr=so(Dr,Mr,Lr))&&(Lr._skipUpdateInsertionPoints=!1),ko.hasProperty(Mr,'firstChild')&&tr.recordInsertBefore(Dr,Mr,kr);var kr=Fr,Hr=Lr&&Lr.getInsertionPointTag()||'',Ur=Dr.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!Dr.__noInsertionPoint&&Hr&&Dr.querySelector(Hr);if(Fr=Ur&&Ur.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE,((Ur=Ur||Dr.localName===Hr)||Mr.localName===Hr||kr)&&Lr&&io(Lr),(Lr=Mr&&Mr.shadyRoot&&Mr.shadyRoot.hasInsertionPoint())&&io(Mr.shadyRoot),!(Lr||Ur&&!Fr||Mr.shadyRoot)){if(wr&&(Lr=Po.ownerShadyRootForNode(wr))){var qr;if(wr.localName===Lr.getInsertionPointTag())a:{for(Lr=wr.assignedNodes({flatten:!0}),Fr=no(wr),kr=0,Hr=Lr.length;kr<Hr&&(qr=Lr[kr]);kr++)if(Fr.isFinalDestination(wr,qr))break a;qr=void 0}else qr=wr;wr=qr}qr=Po.isShadyRoot(Mr)?Mr.host:Mr,wr?or.insertBefore.call(qr,Dr,wr):or.appendChild.call(qr,Dr)}return ro(Mr,Dr),Dr},yr.removeChild=function(Mr,Dr){if(Dr.parentNode!==Mr)throw Error('The node to be removed is not a child of this node: '+Dr);if(!oo(Dr)){var wr=Po.isShadyRoot(Mr)?Mr.host:Mr,Lr=Bo.parentNode(Dr);wr===Lr&&or.removeChild.call(wr,Dr)}return ro(Mr,null,Dr),Dr},yr.cloneNode=function(Mr,Dr){if('template'==Mr.localName)return or.cloneNode.call(Mr,Dr);var wr=or.cloneNode.call(Mr,!1);if(Dr){Mr=Mr.childNodes,Dr=0;for(var Lr;Dr<Mr.length;Dr++)Lr=Mr[Dr].cloneNode(!0),wr.appendChild(Lr)}return wr},yr.importNode=ho;var gr={};uo.prototype.schedule=function(){var Mr=this;this._scheduled||(this._scheduled=!0,Po.microtask(function(){Mr.flush()}))},uo.prototype.flush=function(){if(this._scheduled){this._scheduled=!1;var Mr=this.takeRecords();Mr.length&&this.callbacks.forEach(function(Dr){Dr(Mr)})}},uo.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var Mr=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],Mr}return[]},gr.observeChildren=function(Mr,Dr){Mr.__shady=Mr.__shady||{},Mr.__shady.observer||(Mr.__shady.observer=new uo),Mr.__shady.observer.callbacks.add(Dr);var wr=Mr.__shady.observer;return{_callback:Dr,_observer:wr,_node:Mr,takeRecords:function(){return wr.takeRecords()}}},gr.unobserveChildren=function(Mr){var Dr=Mr&&Mr._observer;Dr&&(Dr.callbacks.delete(Mr._callback),Dr.callbacks.size||(Mr._node.__shady.observer=null))},gr.filterMutations=function(Mr,Dr){var wr=Dr.getRootNode();return Mr.map(function(Lr){var kr=wr===Lr.target.getRootNode();if(kr&&Lr.addedNodes){if(kr=Array.from(Lr.addedNodes).filter(function(Fr){return wr===Fr.getRootNode()}),kr.length)return Lr=Object.create(Lr),Object.defineProperty(Lr,'addedNodes',{value:kr,configurable:!0}),Lr;}else if(kr)return Lr}).filter(function(Lr){return Lr})};var fr={},Sr={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},br={get composed(){return this.isTrusted&&void 0===this.__composed&&(this.__composed=Sr[this.type]),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=_o(this.__target,this.composed)),this.__composedPath},get target(){return yo(this.currentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=_o(this.__relatedTarget,!0)),yo(this.currentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.__propagationStopped=this.__immediatePropagationStopped=!0}},Nr={focus:!0,blur:!0},Cr=mo(window.Event),Er=mo(window.CustomEvent),vr=mo(window.MouseEvent);fr.addEventListener=function(Mr,Dr,wr){if(Dr){var Lr,kr,Fr;if('object'==typeof wr?(Lr=!!wr.capture,kr=!!wr.once,Fr=!!wr.passive):(Lr=!!wr,Fr=kr=!1),Dr.__eventWrappers){for(var Hr=0;Hr<Dr.__eventWrappers.length;Hr++)if(Dr.__eventWrappers[Hr].node===this&&Dr.__eventWrappers[Hr].type===Mr&&Dr.__eventWrappers[Hr].capture===Lr&&Dr.__eventWrappers[Hr].once===kr&&Dr.__eventWrappers[Hr].passive===Fr)return;}else Dr.__eventWrappers=[];Hr=function(Ur){if(kr&&this.removeEventListener(Mr,Dr,wr),Ur.__target||bo(Ur),Ur.composed||-1<Ur.composedPath().indexOf(this))if(Ur.eventPhase===Event.BUBBLING_PHASE&&Ur.target===Ur.relatedTarget)Ur.stopImmediatePropagation();else return Dr(Ur)},Dr.__eventWrappers.push({node:this,type:Mr,capture:Lr,once:kr,passive:Fr,wrapperFn:Hr}),Nr[Mr]?(this.__handlers=this.__handlers||{},this.__handlers[Mr]=this.__handlers[Mr]||{capture:[],bubble:[]},this.__handlers[Mr][Lr?'capture':'bubble'].push(Hr)):or.addEventListener.call(this,Mr,Hr,wr)}},fr.removeEventListener=function(Mr,Dr,wr){if(Dr){var Lr,kr,Fr;'object'==typeof wr?(Lr=!!wr.capture,kr=!!wr.once,Fr=!!wr.passive):(Lr=!!wr,Fr=kr=!1);var Hr;if(Dr.__eventWrappers)for(var Ur=0;Ur<Dr.__eventWrappers.length;Ur++)if(Dr.__eventWrappers[Ur].node===this&&Dr.__eventWrappers[Ur].type===Mr&&Dr.__eventWrappers[Ur].capture===Lr&&Dr.__eventWrappers[Ur].once===kr&&Dr.__eventWrappers[Ur].passive===Fr){Hr=Dr.__eventWrappers.splice(Ur,1)[0].wrapperFn,Dr.__eventWrappers.length||(Dr.__eventWrappers=void 0);break}or.removeEventListener.call(this,Mr,Hr||Dr,wr),Hr&&Nr[Mr]&&this.__handlers&&this.__handlers[Mr]&&(Mr=this.__handlers[Mr][Lr?'capture':'bubble'],Hr=Mr.indexOf(Hr),-1<Hr&&Mr.splice(Hr,1))}},fr.patchEvents=function(){window.Event=Cr,window.CustomEvent=Er,window.MouseEvent=vr,So()};var Pr={},Tr={addEventListener:fr.addEventListener,removeEventListener:fr.removeEventListener,appendChild:function(Mr){return yr.insertBefore(this,Mr)},insertBefore:function(Mr,Dr){return yr.insertBefore(this,Mr,Dr)},removeChild:function(Mr){return yr.removeChild(this,Mr)},replaceChild:function(Mr,Dr){return this.insertBefore(Mr,Dr),this.removeChild(Dr),Mr},cloneNode:function(Mr){return yr.cloneNode(this,Mr)},getRootNode:function(Mr){return yr.getRootNode(this,Mr)},get isConnected(){var Mr=this.ownerDocument;if(Mr&&Mr.contains&&Mr.contains(this)||(Mr=Mr.documentElement)&&Mr.contains&&Mr.contains(this))return!0;for(Mr=this;Mr&&!(Mr instanceof Document);)Mr=Mr.parentNode||(Mr instanceof ur.ShadyRoot?Mr.host:void 0);return!!(Mr&&Mr instanceof Document)}},Rr={get assignedSlot(){return No(this)}},Ar={querySelector:function(Mr){return yr.query(this,function(Dr){return Po.matchesSelector(Dr,Mr)},function(Dr){return!!Dr})[0]||null},querySelectorAll:function(Mr){return yr.query(this,function(Dr){return Po.matchesSelector(Dr,Mr)})}},xr={assignedNodes:function(Mr){if('slot'===this.localName)return yr.renderRootNode(this),this.__shady?(Mr&&Mr.flatten?this.__shady.distributedNodes:this.__shady.assignedNodes)||[]:[]}},Ir=Po.extendAll({setAttribute:function(Mr,Dr){yr.setAttribute(this,Mr,Dr)},removeAttribute:function(Mr){yr.removeAttribute(this,Mr)},attachShadow:function(Mr){return ur.attachShadow(this,Mr)},get slot(){return this.getAttribute('slot')},set slot(Mr){this.setAttribute('slot',Mr)},get assignedSlot(){return No(this)}},Ar,xr);Object.defineProperties(Ir,Go.ShadowRootAccessor);var Or=Po.extendAll({importNode:function(Mr,Dr){return yr.importNode(Mr,Dr)}},Ar);Object.defineProperties(Or,{_activeElement:Go.ActiveElementAccessor.activeElement}),Pr.patchBuiltins=function(){Co(window.Node.prototype,Tr),Co(window.Text.prototype,Rr),Co(window.DocumentFragment.prototype,Ar),Co(window.Element.prototype,Ir),Co(window.Document.prototype,Or),window.HTMLSlotElement&&Co(window.HTMLSlotElement.prototype,xr),Po.settings.hasDescriptors&&(Go.patchAccessors(window.Node.prototype),Go.patchAccessors(window.Text.prototype),Go.patchAccessors(window.DocumentFragment.prototype),Go.patchAccessors(window.Element.prototype),Go.patchAccessors((window.customElements&&customElements.nativeHTMLElement||HTMLElement).prototype),Go.patchAccessors(window.Document.prototype),window.HTMLSlotElement&&Go.patchAccessors(window.HTMLSlotElement.prototype))},Po.settings.inUse&&(window.ShadyDOM={inUse:Po.settings.inUse,patch:function(Mr){return Mr},isShadyRoot:Po.isShadyRoot,enqueue:Do.enqueue,flush:Do.flush,settings:Po.settings,filterMutations:gr.filterMutations,observeChildren:gr.observeChildren,unobserveChildren:gr.unobserveChildren,nativeMethods:or,nativeTree:Bo},fr.patchEvents(),Pr.patchBuiltins(),window.ShadowRoot=ur.ShadyRoot)}.call(void 0),function(){'use strict';function Wt(Xo){var Yo=_o.has(Xo);return Xo=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(Xo),!Yo&&Xo}function Bt(Xo){var Yo=Xo.isConnected;if(void 0!==Yo)return Yo;for(;Xo&&!(Xo.__CE_isImportDocument||Xo instanceof Document);)Xo=Xo.parentNode||(window.ShadowRoot&&Xo instanceof ShadowRoot?Xo.host:void 0);return Xo&&(Xo.__CE_isImportDocument||Xo instanceof Document)}function jt(Xo,Yo){for(;Yo&&Yo!==Xo&&!Yo.nextSibling;)Yo=Yo.parentNode;return Yo&&Yo!==Xo?Yo.nextSibling:null}function Kt(Xo,Yo,zo){zo=zo?zo:new Set;for(var $o=Xo;$o;){if($o.nodeType===Node.ELEMENT_NODE){var Zo=$o;Yo(Zo);var Qo=Zo.localName;if('link'===Qo&&'import'===Zo.getAttribute('rel')){if($o=Zo.import,$o instanceof Node&&!zo.has($o))for(zo.add($o),$o=$o.firstChild;$o;$o=$o.nextSibling)Kt($o,Yo,zo);$o=jt(Xo,Zo);continue}else if('template'===Qo){$o=jt(Xo,Zo);continue}if(Zo=Zo.__CE_shadowRoot)for(Zo=Zo.firstChild;Zo;Zo=Zo.nextSibling)Kt(Zo,Yo,zo)}$o=$o.firstChild?$o.firstChild:jt(Xo,$o)}}function Gt(Xo,Yo,zo){Xo[Yo]=zo}function Vt(){this.a=new Map,this.f=new Map,this.c=[],this.b=!1}function Xt(Xo,Yo,zo){Xo.a.set(Yo,zo),Xo.f.set(zo.constructor,zo)}function Yt(Xo,Yo){Xo.b=!0,Xo.c.push(Yo)}function zt(Xo,Yo){Xo.b&&Kt(Yo,function(zo){return $t(Xo,zo)})}function $t(Xo,Yo){if(Xo.b&&!Yo.__CE_patched){Yo.__CE_patched=!0;for(var zo=0;zo<Xo.c.length;zo++)Xo.c[zo](Yo)}}function Zt(Xo,Yo){var zo=[];for(Kt(Yo,function(Zo){return zo.push(Zo)}),Yo=0;Yo<zo.length;Yo++){var $o=zo[Yo];1===$o.__CE_state?Xo.connectedCallback($o):eo(Xo,$o)}}function Qt(Xo,Yo){var zo=[];for(Kt(Yo,function(Zo){return zo.push(Zo)}),Yo=0;Yo<zo.length;Yo++){var $o=zo[Yo];1===$o.__CE_state&&Xo.disconnectedCallback($o)}}function Jt(Xo,Yo,zo){zo=zo?zo:new Set;var $o=[];if(Kt(Yo,function(Zo){if('link'===Zo.localName&&'import'===Zo.getAttribute('rel')){var Qo=Zo.import;Qo instanceof Node&&'complete'===Qo.readyState?(Qo.__CE_isImportDocument=!0,Qo.__CE_hasRegistry=!0):Zo.addEventListener('load',function(){var Jo=Zo.import;Jo.__CE_documentLoadHandled||(Jo.__CE_documentLoadHandled=!0,Jo.__CE_isImportDocument=!0,Jo.__CE_hasRegistry=!0,new Set(zo),zo.delete(Jo),Jt(Xo,Jo,zo))})}else $o.push(Zo)},zo),Xo.b)for(Yo=0;Yo<$o.length;Yo++)$t(Xo,$o[Yo]);for(Yo=0;Yo<$o.length;Yo++)eo(Xo,$o[Yo])}function eo(Xo,Yo){if(void 0===Yo.__CE_state){var zo=Xo.a.get(Yo.localName);if(zo){zo.constructionStack.push(Yo);var $o=zo.constructor;try{try{if(new $o!==Yo)throw Error('The custom element constructor did not produce the element being upgraded.')}finally{zo.constructionStack.pop()}}catch(Jo){throw Yo.__CE_state=2,Jo}if(Yo.__CE_state=1,Yo.__CE_definition=zo,zo.attributeChangedCallback)for(zo=zo.observedAttributes,$o=0;$o<zo.length;$o++){var Zo=zo[$o],Qo=Yo.getAttribute(Zo);null!==Qo&&Xo.attributeChangedCallback(Yo,Zo,null,Qo,null)}Bt(Yo)&&Xo.connectedCallback(Yo)}}}function to(Xo,Yo){this.c=Xo,this.a=Yo,this.b=void 0,Jt(this.c,this.a),'loading'===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function oo(Xo){Xo.b&&Xo.b.disconnect()}function ro(){var Xo=this;this.b=this.a=void 0,this.c=new Promise(function(Yo){Xo.b=Yo,Xo.a&&Yo(Xo.a)})}function no(Xo){if(Xo.a)throw Error('Already resolved.');Xo.a=void 0,Xo.b&&Xo.b(void 0)}function so(Xo){this.f=!1,this.a=Xo,this.h=new Map,this.g=function(Yo){return Yo()},this.b=!1,this.c=[],this.j=new to(Xo,document)}function lo(){var Xo=Go;window.HTMLElement=function(){function Yo(){var zo=this.constructor,$o=Xo.f.get(zo);if(!$o)throw Error('The custom element being constructed was not registered with `customElements`.');var Zo=$o.constructionStack;if(!Zo.length)return Zo=yo.call(document,$o.localName),Object.setPrototypeOf(Zo,zo.prototype),Zo.__CE_state=1,Zo.__CE_definition=$o,$t(Xo,Zo),Zo;var $o=Zo.length-1,Qo=Zo[$o];if(Qo===uo)throw Error('The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.');return Zo[$o]=uo,Object.setPrototypeOf(Qo,zo.prototype),$t(Xo,Qo),Qo}return Yo.prototype=Wo.prototype,Yo}()}function ao(Xo,Yo,zo){Yo.prepend=function(){for(var Zo=[],Qo=0;Qo<arguments.length;++Qo)Zo[Qo-0]=arguments[Qo];Qo=Zo.filter(function(er){return er instanceof Node&&Bt(er)}),zo.i.apply(this,Zo);for(var Jo=0;Jo<Qo.length;Jo++)Qt(Xo,Qo[Jo]);if(Bt(this))for(Qo=0;Qo<Zo.length;Qo++)Jo=Zo[Qo],Jo instanceof Element&&Zt(Xo,Jo)},Yo.append=function(){for(var Zo=[],Qo=0;Qo<arguments.length;++Qo)Zo[Qo-0]=arguments[Qo];Qo=Zo.filter(function(er){return er instanceof Node&&Bt(er)}),zo.append.apply(this,Zo);for(var Jo=0;Jo<Qo.length;Jo++)Qt(Xo,Qo[Jo]);if(Bt(this))for(Qo=0;Qo<Zo.length;Qo++)Jo=Zo[Qo],Jo instanceof Element&&Zt(Xo,Jo)}}function io(){var Xo=Go;Gt(Document.prototype,'createElement',function(Yo){if(this.__CE_hasRegistry){var zo=Xo.a.get(Yo);if(zo)return new zo.constructor}return Yo=yo.call(this,Yo),$t(Xo,Yo),Yo}),Gt(Document.prototype,'importNode',function(Yo,zo){return Yo=go.call(this,Yo,zo),this.__CE_hasRegistry?Jt(Xo,Yo):zt(Xo,Yo),Yo}),Gt(Document.prototype,'createElementNS',function(Yo,zo){if(this.__CE_hasRegistry&&(null===Yo||'http://www.w3.org/1999/xhtml'===Yo)){var $o=Xo.a.get(zo);if($o)return new $o.constructor}return Yo=mo.call(this,Yo,zo),$t(Xo,Yo),Yo}),ao(Xo,Document.prototype,{i:fo,append:So})}function po(){function Xo(zo,$o){Object.defineProperty(zo,'textContent',{enumerable:$o.enumerable,configurable:!0,get:$o.get,set:function(Zo){if(this.nodeType===Node.TEXT_NODE)$o.set.call(this,Zo);else{var Qo;if(this.firstChild){var Jo=this.childNodes,er=Jo.length;if(0<er&&Bt(this))for(var Qo=Array(er),tr=0;tr<er;tr++)Qo[tr]=Jo[tr]}if($o.set.call(this,Zo),Qo)for(Zo=0;Zo<Qo.length;Zo++)Qt(Yo,Qo[Zo])}}})}var Yo=Go;Gt(Node.prototype,'insertBefore',function(zo,$o){if(zo instanceof DocumentFragment){var Zo=Array.prototype.slice.apply(zo.childNodes);if(zo=Co.call(this,zo,$o),Bt(this))for($o=0;$o<Zo.length;$o++)Zt(Yo,Zo[$o]);return zo}return Zo=Bt(zo),$o=Co.call(this,zo,$o),Zo&&Qt(Yo,zo),Bt(this)&&Zt(Yo,zo),$o}),Gt(Node.prototype,'appendChild',function(zo){if(zo instanceof DocumentFragment){var $o=Array.prototype.slice.apply(zo.childNodes);if(zo=No.call(this,zo),Bt(this))for(var Zo=0;Zo<$o.length;Zo++)Zt(Yo,$o[Zo]);return zo}return $o=Bt(zo),Zo=No.call(this,zo),$o&&Qt(Yo,zo),Bt(this)&&Zt(Yo,zo),Zo}),Gt(Node.prototype,'cloneNode',function(zo){return zo=bo.call(this,zo),this.ownerDocument.__CE_hasRegistry?Jt(Yo,zo):zt(Yo,zo),zo}),Gt(Node.prototype,'removeChild',function(zo){var $o=Bt(zo),Zo=Eo.call(this,zo);return $o&&Qt(Yo,zo),Zo}),Gt(Node.prototype,'replaceChild',function(zo,$o){if(zo instanceof DocumentFragment){var Zo=Array.prototype.slice.apply(zo.childNodes);if(zo=vo.call(this,zo,$o),Bt(this))for(Qt(Yo,$o),$o=0;$o<Zo.length;$o++)Zt(Yo,Zo[$o]);return zo}var Zo=Bt(zo),Qo=vo.call(this,zo,$o),Jo=Bt(this);return Jo&&Qt(Yo,$o),Zo&&Qt(Yo,zo),Jo&&Zt(Yo,zo),Qo}),Po&&Po.get?Xo(Node.prototype,Po):Yt(Yo,function(zo){Xo(zo,{enumerable:!0,configurable:!0,get:function(){for(var $o=[],Zo=0;Zo<this.childNodes.length;Zo++)$o.push(this.childNodes[Zo].textContent);return $o.join('')},set:function($o){for(;this.firstChild;)Eo.call(this,this.firstChild);No.call(this,document.createTextNode($o))}})})}function co(Xo){var Yo=Element.prototype;Yo.before=function(){for(var $o=[],Zo=0;Zo<arguments.length;++Zo)$o[Zo-0]=arguments[Zo];Zo=$o.filter(function(Jo){return Jo instanceof Node&&Bt(Jo)}),Fo.apply(this,$o);for(var Qo=0;Qo<Zo.length;Qo++)Qt(Xo,Zo[Qo]);if(Bt(this))for(Zo=0;Zo<$o.length;Zo++)Qo=$o[Zo],Qo instanceof Element&&Zt(Xo,Qo)},Yo.after=function(){for(var $o=[],Zo=0;Zo<arguments.length;++Zo)$o[Zo-0]=arguments[Zo];Zo=$o.filter(function(Jo){return Jo instanceof Node&&Bt(Jo)}),Ho.apply(this,$o);for(var Qo=0;Qo<Zo.length;Qo++)Qt(Xo,Zo[Qo]);if(Bt(this))for(Zo=0;Zo<$o.length;Zo++)Qo=$o[Zo],Qo instanceof Element&&Zt(Xo,Qo)},Yo.replaceWith=function(){for(var $o=[],Zo=0;Zo<arguments.length;++Zo)$o[Zo-0]=arguments[Zo];var Zo=$o.filter(function(er){return er instanceof Node&&Bt(er)}),Qo=Bt(this);Uo.apply(this,$o);for(var Jo=0;Jo<Zo.length;Jo++)Qt(Xo,Zo[Jo]);if(Qo)for(Qt(Xo,this),Zo=0;Zo<$o.length;Zo++)Qo=$o[Zo],Qo instanceof Element&&Zt(Xo,Qo)},Yo.remove=function(){var zo=Bt(this);qo.call(this),zo&&Qt(Xo,this)}}function ho(){function Xo(Zo,Qo){Object.defineProperty(Zo,'innerHTML',{enumerable:Qo.enumerable,configurable:!0,get:Qo.get,set:function(Jo){var tr,er=this;if(Bt(this)&&(tr=[],Kt(this,function(nr){nr!==er&&tr.push(nr)})),Qo.set.call(this,Jo),tr)for(var rr,or=0;or<tr.length;or++)rr=tr[or],1===rr.__CE_state&&zo.disconnectedCallback(rr);return this.ownerDocument.__CE_hasRegistry?Jt(zo,this):zt(zo,this),Jo}})}function Yo(Zo,Qo){Gt(Zo,'insertAdjacentElement',function(Jo,er){var tr=Bt(er);return Jo=Qo.call(this,Jo,er),tr&&Qt(zo,er),Bt(Jo)&&Zt(zo,er),Jo})}var zo=Go;if(To?Gt(Element.prototype,'attachShadow',function(Zo){return this.__CE_shadowRoot=Zo=To.call(this,Zo)}):console.warn('Custom Elements: `Element#attachShadow` was not patched.'),Ro&&Ro.get)Xo(Element.prototype,Ro);else if(Bo&&Bo.get)Xo(HTMLElement.prototype,Bo);else{var $o=yo.call(document,'div');Yt(zo,function(Zo){Xo(Zo,{enumerable:!0,configurable:!0,get:function(){return bo.call(this,!0).innerHTML},set:function(Qo){var Jo='template'===this.localName?this.content:this;for($o.innerHTML=Qo;0<Jo.childNodes.length;)Eo.call(Jo,Jo.childNodes[0]);for(;0<$o.childNodes.length;)No.call(Jo,$o.childNodes[0])}})})}Gt(Element.prototype,'setAttribute',function(Zo,Qo){if(1!==this.__CE_state)return xo.call(this,Zo,Qo);var Jo=Ao.call(this,Zo);xo.call(this,Zo,Qo),Qo=Ao.call(this,Zo),Jo!==Qo&&zo.attributeChangedCallback(this,Zo,Jo,Qo,null)}),Gt(Element.prototype,'setAttributeNS',function(Zo,Qo,Jo){if(1!==this.__CE_state)return Mo.call(this,Zo,Qo,Jo);var er=Oo.call(this,Zo,Qo);Mo.call(this,Zo,Qo,Jo),Jo=Oo.call(this,Zo,Qo),er!==Jo&&zo.attributeChangedCallback(this,Qo,er,Jo,Zo)}),Gt(Element.prototype,'removeAttribute',function(Zo){if(1!==this.__CE_state)return Io.call(this,Zo);var Qo=Ao.call(this,Zo);Io.call(this,Zo),null!==Qo&&zo.attributeChangedCallback(this,Zo,Qo,null,null)}),Gt(Element.prototype,'removeAttributeNS',function(Zo,Qo){if(1!==this.__CE_state)return Do.call(this,Zo,Qo);var Jo=Oo.call(this,Zo,Qo);Do.call(this,Zo,Qo);var er=Oo.call(this,Zo,Qo);Jo!==er&&zo.attributeChangedCallback(this,Qo,Jo,er,Zo)}),jo?Yo(HTMLElement.prototype,jo):wo?Yo(Element.prototype,wo):console.warn('Custom Elements: `Element#insertAdjacentElement` was not patched.'),ao(zo,Element.prototype,{i:Lo,append:ko}),co(zo)}var uo=new function(){},_o=new Set('annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph'.split(' '));Vt.prototype.connectedCallback=function(Xo){var Yo=Xo.__CE_definition;Yo.connectedCallback&&Yo.connectedCallback.call(Xo)},Vt.prototype.disconnectedCallback=function(Xo){var Yo=Xo.__CE_definition;Yo.disconnectedCallback&&Yo.disconnectedCallback.call(Xo)},Vt.prototype.attributeChangedCallback=function(Xo,Yo,zo,$o,Zo){var Qo=Xo.__CE_definition;Qo.attributeChangedCallback&&-1<Qo.observedAttributes.indexOf(Yo)&&Qo.attributeChangedCallback.call(Xo,Yo,zo,$o,Zo)},to.prototype.f=function(Xo){var Yo=this.a.readyState;for('interactive'!==Yo&&'complete'!==Yo||oo(this),Yo=0;Yo<Xo.length;Yo++)for(var zo=Xo[Yo].addedNodes,$o=0;$o<zo.length;$o++)Jt(this.c,zo[$o])},so.prototype.l=function(Xo,Yo){var zo=this;if(!(Yo instanceof Function))throw new TypeError('Custom element constructors must be functions.');if(!Wt(Xo))throw new SyntaxError('The element name \''+Xo+'\' is not valid.');if(this.a.a.get(Xo))throw Error('A custom element with name \''+Xo+'\' has already been defined.');if(this.f)throw Error('A custom element is already being defined.');this.f=!0;var $o,Zo,Qo,Jo,er;try{var tr=function(rr){var nr=or[rr];if(void 0!==nr&&!(nr instanceof Function))throw Error('The \''+rr+'\' callback must be a function.');return nr},or=Yo.prototype;if(!(or instanceof Object))throw new TypeError('The custom element constructor\'s prototype is not an object.');$o=tr('connectedCallback'),Zo=tr('disconnectedCallback'),Qo=tr('adoptedCallback'),Jo=tr('attributeChangedCallback'),er=Yo.observedAttributes||[]}catch(rr){return}finally{this.f=!1}Xt(this.a,Xo,{localName:Xo,constructor:Yo,connectedCallback:$o,disconnectedCallback:Zo,adoptedCallback:Qo,attributeChangedCallback:Jo,observedAttributes:er,constructionStack:[]}),this.c.push(Xo),this.b||(this.b=!0,this.g(function(){if(!1!==zo.b)for(zo.b=!1,Jt(zo.a,document);0<zo.c.length;){var rr=zo.c.shift();(rr=zo.h.get(rr))&&no(rr)}}))},so.prototype.get=function(Xo){if(Xo=this.a.a.get(Xo))return Xo.constructor},so.prototype.o=function(Xo){if(!Wt(Xo))return Promise.reject(new SyntaxError('\''+Xo+'\' is not a valid custom element name.'));var Yo=this.h.get(Xo);return Yo?Yo.c:(Yo=new ro,this.h.set(Xo,Yo),this.a.a.get(Xo)&&-1===this.c.indexOf(Xo)&&no(Yo),Yo.c)},so.prototype.m=function(Xo){oo(this.j);var Yo=this.g;this.g=function(zo){return Xo(function(){return Yo(zo)})}},window.CustomElementRegistry=so,so.prototype.define=so.prototype.l,so.prototype.get=so.prototype.get,so.prototype.whenDefined=so.prototype.o,so.prototype.polyfillWrapFlushCallback=so.prototype.m;var yo=window.Document.prototype.createElement,mo=window.Document.prototype.createElementNS,go=window.Document.prototype.importNode,fo=window.Document.prototype.prepend,So=window.Document.prototype.append,bo=window.Node.prototype.cloneNode,No=window.Node.prototype.appendChild,Co=window.Node.prototype.insertBefore,Eo=window.Node.prototype.removeChild,vo=window.Node.prototype.replaceChild,Po=Object.getOwnPropertyDescriptor(window.Node.prototype,'textContent'),To=window.Element.prototype.attachShadow,Ro=Object.getOwnPropertyDescriptor(window.Element.prototype,'innerHTML'),Ao=window.Element.prototype.getAttribute,xo=window.Element.prototype.setAttribute,Io=window.Element.prototype.removeAttribute,Oo=window.Element.prototype.getAttributeNS,Mo=window.Element.prototype.setAttributeNS,Do=window.Element.prototype.removeAttributeNS,wo=window.Element.prototype.insertAdjacentElement,Lo=window.Element.prototype.prepend,ko=window.Element.prototype.append,Fo=window.Element.prototype.before,Ho=window.Element.prototype.after,Uo=window.Element.prototype.replaceWith,qo=window.Element.prototype.remove,Wo=window.HTMLElement,Bo=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,'innerHTML'),jo=window.HTMLElement.prototype.insertAdjacentElement,Ko=window.customElements;if(!Ko||Ko.forcePolyfill||'function'!=typeof Ko.define||'function'!=typeof Ko.get){var Go=new Vt;lo(),io(),po(),ho(),document.__CE_hasRegistry=!0;var Vo=new so(Go);Object.defineProperty(window,'customElements',{configurable:!0,enumerable:!0,value:Vo})}}.call(self);class Ie{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText='',this.cssText='',this.atRule=!1,this.type=0,this.keyframesName='',this.selector='',this.parsedSelector=''}}const Oe={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},Me='{',De='}',we={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},Le='--';let He=!(window.ShadyDOM&&window.ShadyDOM.inUse),Ue=!navigator.userAgent.match('AppleWebKit/601')&&window.CSS&&CSS.supports&&CSS.supports('box-shadow','0 0 0 var(--foo)');window.ShadyCSS?de(window.ShadyCSS):window.WebComponents&&de(window.WebComponents.flags);const qe=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,We=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Be=/(--[\w-]+)\s*([:,;)]|$)/gi,je=/(animation\s*:)|(animation-name\s*:)/,Ke=/@media[^(]*(\([^)]*\))/,Ge=/\{[^}]*\}/g;let Ye=null;const ze='style-scope';class $e{get SCOPE_NAME(){return ze}dom(Wt,Bt,jt){Wt.__styleScoped?Wt.__styleScoped=null:this._transformDom(Wt,Bt||'',jt)}_transformDom(Wt,Bt,jt){Wt.nodeType===Node.ELEMENT_NODE&&this.element(Wt,Bt,jt);let Kt='template'===Wt.localName?(Wt.content||Wt._content).childNodes:Wt.children||Wt.childNodes;if(Kt)for(let Gt=0;Gt<Kt.length;Gt++)this._transformDom(Kt[Gt],Bt,jt)}element(Wt,Bt,jt){if(Bt)if(Wt.classList)jt?(Wt.classList.remove(ze),Wt.classList.remove(Bt)):(Wt.classList.add(ze),Wt.classList.add(Bt));else if(Wt.getAttribute){let Kt=Wt.getAttribute('class');if(!jt){let Gt=(Kt?Kt+' ':'')+ze+' '+Bt;be(Wt,Gt)}else if(Kt){let Gt=Kt.replace(ze,'').replace(Bt,'');be(Wt,Gt)}}}elementStyles(Wt,Bt,jt){let Kt=Wt.__cssBuild,Gt='';if(He||'shady'===Kt)Gt=ie(Bt,jt);else{let{is:Vt,extends:Xt}=Ne(Wt);Gt=this.css(Bt,Vt,Xt,jt)+'\n\n'}return Gt.trim()}css(Wt,Bt,jt,Kt){let Gt=this._calcHostScope(Bt,jt);Bt=this._calcElementScope(Bt);let Vt=this;return ie(Wt,function(Xt){Xt.isScoped||(Vt.rule(Xt,Bt,Gt),Xt.isScoped=!0),Kt&&Kt(Xt,Bt,Gt)})}_calcElementScope(Wt){return Wt?'.'+Wt:''}_calcHostScope(Wt,Bt){return Bt?`[is=${Wt}]`:Wt}rule(Wt,Bt,jt){this._transformRule(Wt,this._transformComplexSelector,Bt,jt)}_transformRule(Wt,Bt,jt,Kt){Wt.selector=Wt.transformedSelector=this._transformRuleCss(Wt,Bt,jt,Kt)}_transformRuleCss(Wt,Bt,jt,Kt){let Gt=Wt.selector.split(Je);if(!he(Wt))for(let Yt,Vt=0,Xt=Gt.length;Vt<Xt&&(Yt=Gt[Vt]);Vt++)Gt[Vt]=Bt.call(this,Yt,jt,Kt);return Gt.join(Je)}_transformComplexSelector(Wt,Bt,jt){let Kt=!1;return Wt=Wt.trim(),Wt=Wt.replace(Ze,(Gt,Vt,Xt)=>`:${Vt}(${Xt.replace(/\s/g,'')})`),Wt=Wt.replace(st,`${ot} $1`),Wt=Wt.replace(et,(Gt,Vt,Xt)=>{if(!Kt){let Yt=this._transformCompoundSelector(Xt,Vt,Bt,jt);Kt=Kt||Yt.stop,Vt=Yt.combinator,Xt=Yt.value}return Vt+Xt}),Wt}_transformCompoundSelector(Wt,Bt,jt,Kt){let Gt=Wt.indexOf(nt);0<=Wt.indexOf(ot)?Wt=this._transformHostSelector(Wt,Kt):0!==Gt&&(Wt=jt?this._transformSimpleSelector(Wt,jt):Wt);let Vt=!1;0<=Gt&&(Bt='',Vt=!0);let Xt;return Vt&&(Xt=!0,Vt&&(Wt=Wt.replace(dt,(Yt,zt)=>` > ${zt}`))),Wt=Wt.replace(it,(Yt,zt,$t)=>`[dir="${$t}"] ${zt}, ${zt}[dir="${$t}"]`),{value:Wt,combinator:Bt,stop:Xt}}_transformSimpleSelector(Wt,Bt){let jt=Wt.split(ct);return jt[0]+=Bt,jt.join(ct)}_transformHostSelector(Wt,Bt){let jt=Wt.match(lt),Kt=jt&&jt[2].trim()||'';if(Kt){if(!Kt[0].match(tt)){let Gt=Kt.split(tt)[0];return Gt===Bt?Kt:'should_not_match'}return Wt.replace(lt,function(Gt,Vt,Xt){return Bt+Xt})}return Wt.replace(ot,Bt)}documentRule(Wt){Wt.selector=Wt.parsedSelector,this.normalizeRootSelector(Wt),this._transformRule(Wt,this._transformDocumentSelector)}normalizeRootSelector(Wt){Wt.selector===':root'&&(Wt.selector='html')}_transformDocumentSelector(Wt){return Wt.match(nt)?this._transformComplexSelector(Wt,Qe):this._transformSimpleSelector(Wt.trim(),Qe)}}let Ze=/:(nth[-\w]+)\(([^)]+)\)/,Qe=`:not(.${ze})`,Je=',',et=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,tt=/[[.:#*]/,ot=':host',nt='::slotted',st=/^(::slotted)/,lt=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,dt=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,it=/(.*):dir\((?:(ltr|rtl))\)/,ct=':';var _t=new $e;const yt='__styleInfo';class mt{static get(Wt){return Wt?Wt[yt]:null}static set(Wt,Bt){return Wt[yt]=Bt,Bt}constructor(Wt,Bt,jt,Kt,Gt,Vt){this.styleRules=Wt||null,this.placeholder=Bt||null,this.ownStylePropertyNames=jt||[],this.overrideStyleProperties=null,this.elementName=Kt||'',this.cssBuild=Vt||'',this.typeExtension=Gt||'',this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}_getStyleRules(){return this.styleRules}}mt.prototype._getStyleRules=mt.prototype._getStyleRules;const gt=(Wt=>Wt.matches||Wt.matchesSelector||Wt.mozMatchesSelector||Wt.msMatchesSelector||Wt.oMatchesSelector||Wt.webkitMatchesSelector)(window.Element.prototype),ft=navigator.userAgent.match('Trident'),St='x-scope';class bt{get XSCOPE_NAME(){return St}decorateStyles(Wt){let Bt=this,jt={},Kt=[],Gt=0;ue(Wt,function(Xt){Bt.decorateRule(Xt),Xt.index=Gt++,Bt.collectPropertiesInCssText(Xt.propertyInfo.cssText,jt)},function(Yt){Kt.push(Yt)}),Wt._keyframes=Kt;let Vt=[];for(let Xt in jt)Vt.push(Xt);return Vt}decorateRule(Wt){if(Wt.propertyInfo)return Wt.propertyInfo;let Bt={},jt={},Kt=this.collectProperties(Wt,jt);return Kt&&(Bt.properties=jt,Wt.rules=null),Bt.cssText=this.collectCssText(Wt),Wt.propertyInfo=Bt,Bt}collectProperties(Wt,Bt){let jt=Wt.propertyInfo;if(!jt){let Kt,Vt=Wt.parsedCssText,Xt,Yt;for(;Kt=qe.exec(Vt);)Xt=(Kt[2]||Kt[3]).trim(),('inherit'!==Xt||'unset'!==Xt)&&(Bt[Kt[1].trim()]=Xt),Yt=!0;return Yt}else if(jt.properties)return Object.assign(Bt,jt.properties),!0}collectCssText(Wt){return this.collectConsumingCssText(Wt.parsedCssText)}collectConsumingCssText(Wt){return Wt.replace(Ge,'').replace(qe,'')}collectPropertiesInCssText(Wt,Bt){for(let jt,Kt;jt=Be.exec(Wt);)Kt=jt[1],':'!==jt[2]&&(Bt[Kt]=!0)}reify(Wt){let Bt=Object.getOwnPropertyNames(Wt);for(let Kt,jt=0;jt<Bt.length;jt++)Kt=Bt[jt],Wt[Kt]=this.valueForProperty(Wt[Kt],Wt)}valueForProperty(Wt,Bt){if(Wt)if(0<=Wt.indexOf(';'))Wt=this.valueForProperties(Wt,Bt);else{let jt=this;Wt=Se(Wt,function(Gt,Vt,Xt,Yt){if(!Vt)return Gt+Yt;let zt=jt.valueForProperty(Bt[Vt],Bt);return zt&&'initial'!==zt?'apply-shim-inherit'===zt&&(zt='inherit'):zt=jt.valueForProperty(Bt[Xt]||Xt,Bt)||Xt,Gt+(zt||'')+Yt})}return Wt&&Wt.trim()||''}valueForProperties(Wt,Bt){let jt=Wt.split(';');for(let Gt,Vt,Kt=0;Kt<jt.length;Kt++)if(Gt=jt[Kt]){if(We.lastIndex=0,Vt=We.exec(Gt),Vt)Gt=this.valueForProperty(Bt[Vt[1]],Bt);else{let Xt=Gt.indexOf(':');if(-1!==Xt){let Yt=Gt.substring(Xt);Yt=Yt.trim(),Yt=this.valueForProperty(Yt,Bt)||Yt,Gt=Gt.substring(0,Xt)+Yt}}jt[Kt]=Gt&&Gt.lastIndexOf(';')===Gt.length-1?Gt.slice(0,-1):Gt||''}return jt.join(';')}applyProperties(Wt,Bt){let jt='';Wt.propertyInfo||this.decorateRule(Wt),Wt.propertyInfo.cssText&&(jt=this.valueForProperties(Wt.propertyInfo.cssText,Bt)),Wt.cssText=jt}applyKeyframeTransforms(Wt,Bt){let jt=Wt.cssText,Kt=Wt.cssText;if(null==Wt.hasAnimations&&(Wt.hasAnimations=je.test(jt)),Wt.hasAnimations){let Gt;if(null==Wt.keyframeNamesToTransform)for(let Vt in Wt.keyframeNamesToTransform=[],Bt)Gt=Bt[Vt],Kt=Gt(jt),jt!==Kt&&(jt=Kt,Wt.keyframeNamesToTransform.push(Vt));else{for(let Vt=0;Vt<Wt.keyframeNamesToTransform.length;++Vt)Gt=Bt[Wt.keyframeNamesToTransform[Vt]],jt=Gt(jt);Kt=jt}}Wt.cssText=Kt}propertyDataFromStyles(Wt,Bt){let jt={},Kt=this,Gt=[];return ue(Wt,function(Vt){Vt.propertyInfo||Kt.decorateRule(Vt);let Xt=Vt.transformedSelector||Vt.parsedSelector;Bt&&Vt.propertyInfo.properties&&Xt&&gt.call(Bt,Xt)&&(Kt.collectProperties(Vt,jt),Ce(Vt.index,Gt))},null,!0),{properties:jt,key:Gt}}whenHostOrRootRule(Wt,Bt,jt,Kt){if(Bt.propertyInfo||this.decorateRule(Bt),!!Bt.propertyInfo.properties){let Gt=Ne(Wt),Vt=Wt.is?_t._calcHostScope(Gt.is,Gt.extends):'html',Xt=Bt.parsedSelector,Yt=':host > *'===Xt||'html'===Xt,zt=0===Xt.indexOf(':host')&&!Yt;if('shady'===jt&&(Yt=Xt===Vt+' > *.'+Vt||-1!==Xt.indexOf('html'),zt=!Yt&&0===Xt.indexOf(Vt)),'shadow'===jt&&(Yt=':host > *'===Xt||'html'===Xt,zt=zt&&!Yt),Yt||zt){let $t=Vt;zt&&(He&&!Bt.transformedSelector&&(Bt.transformedSelector=_t._transformRuleCss(Bt,_t._transformComplexSelector,_t._calcElementScope(Gt.is),Vt)),$t=Bt.transformedSelector||Vt),Kt({selector:$t,isHost:zt,isRoot:Yt})}}}hostAndRootPropertiesForScope(Wt,Bt){let jt={},Kt={},Gt=this,Vt=Bt&&Bt.__cssBuild;return ue(Bt,function(Xt){Gt.whenHostOrRootRule(Wt,Xt,Vt,function(Yt){let zt=Wt._element||Wt;gt.call(zt,Yt.selector)&&(Yt.isHost?Gt.collectProperties(Xt,jt):Gt.collectProperties(Xt,Kt))})},null,!0),{rootProps:Kt,hostProps:jt}}transformStyles(Wt,Bt,jt){let Kt=this,Gt=Ne(Wt),Vt=_t._calcHostScope(Gt.is,Gt.extends),Xt=Wt.extends?'\\'+Vt.slice(0,-1)+'\\]':Vt,Yt=new RegExp('(?:^|[^.#[:])'+Xt+'($|[.:[\\s>+~])'),zt=mt.get(Wt).styleRules,$t=this._elementKeyframeTransforms(Wt,zt,jt);return _t.elementStyles(Wt,zt,function(Zt){Kt.applyProperties(Zt,Bt),He||he(Zt)||!Zt.cssText||(Kt.applyKeyframeTransforms(Zt,$t),Kt._scopeSelector(Zt,Yt,Vt,jt))})}_elementKeyframeTransforms(Wt,Bt,jt){let Kt=Bt._keyframes,Gt={};if(!He&&Kt)for(let Vt=0,Xt=Kt[Vt];Vt<Kt.length;Xt=Kt[++Vt])this._scopeKeyframes(Xt,jt),Gt[Xt.keyframesName]=this._keyframesRuleTransformer(Xt);return Gt}_keyframesRuleTransformer(Wt){return function(Bt){return Bt.replace(Wt.keyframesNameRx,Wt.transformedKeyframesName)}}_scopeKeyframes(Wt,Bt){Wt.keyframesNameRx=new RegExp(Wt.keyframesName,'g'),Wt.transformedKeyframesName=Wt.keyframesName+'-'+Bt,Wt.transformedSelector=Wt.transformedSelector||Wt.selector,Wt.selector=Wt.transformedSelector.replace(Wt.keyframesName,Wt.transformedKeyframesName)}_scopeSelector(Wt,Bt,jt,Kt){Wt.transformedSelector=Wt.transformedSelector||Wt.selector;let Gt=Wt.transformedSelector,Vt='.'+Kt,Xt=Gt.split(',');for(let $t,Yt=0,zt=Xt.length;Yt<zt&&($t=Xt[Yt]);Yt++)Xt[Yt]=$t.match(Bt)?$t.replace(jt,Vt):Vt+' '+$t;Wt.selector=Xt.join(',')}applyElementScopeSelector(Wt,Bt,jt){let Kt=Wt.getAttribute('class')||'',Gt=Kt;jt&&(Gt=Kt.replace(new RegExp('\\s*'+St+'\\s*'+jt+'\\s*','g'),' ')),Gt+=(Gt?' ':'')+St+' '+Bt,Kt!==Gt&&be(Wt,Gt)}applyElementStyle(Wt,Bt,jt,Kt){let Gt=Kt?Kt.textContent||'':this.transformStyles(Wt,Bt,jt),Vt=mt.get(Wt),Xt=Vt.customStyle;return Xt&&!He&&Xt!==Kt&&(Xt._useCount--,0>=Xt._useCount&&Xt.parentNode&&Xt.parentNode.removeChild(Xt)),He?Vt.customStyle?(Vt.customStyle.textContent=Gt,Kt=Vt.customStyle):Gt&&(Kt=_e(Gt,jt,Wt.shadowRoot,Vt.placeholder)):Kt?!Kt.parentNode&&ye(Kt,null,Vt.placeholder):Gt&&(Kt=_e(Gt,jt,null,Vt.placeholder)),Kt&&(Kt._useCount=Kt._useCount||0,Vt.customStyle!=Kt&&Kt._useCount++,Vt.customStyle=Kt),ft&&(Kt.textContent=Kt.textContent),Kt}applyCustomStyle(Wt,Bt){let jt=pe(Wt),Kt=this;Wt.textContent=ie(jt,function(Gt){let Vt=Gt.cssText=Gt.parsedCssText;Gt.propertyInfo&&Gt.propertyInfo.cssText&&(Vt=le(Vt),Gt.cssText=Kt.valueForProperties(Vt,Bt))})}}var Nt=new bt;let Ct={};const Et=window.customElements;if(Et&&!He){const Wt=Et.define;Et.define=function(Bt,jt,Kt){return Ct[Bt]=ge(Bt),Wt.call(Et,Bt,jt,Kt)}}let Pt=function(){};if(!He){let Wt=Vt=>{return Vt.classList&&!Vt.classList.contains(_t.SCOPE_NAME)||Vt instanceof window.SVGElement&&(!Vt.hasAttribute('class')||0>Vt.getAttribute('class').indexOf(_t.SCOPE_NAME))},Bt=Vt=>{for(let Yt,Xt=0;Xt<Vt.length;Xt++)if(Yt=Vt[Xt],Yt.target!==document.documentElement&&Yt.target!==document.head){for(let $t,zt=0;zt<Yt.addedNodes.length;zt++)if($t=Yt.addedNodes[zt],Wt($t)){let Zt=$t.getRootNode();if(Zt.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let Qt=Zt.host;if(Qt){let{is:Jt}=Ne(Qt);_t.dom($t,Jt)}}}for(let $t,zt=0;zt<Yt.removedNodes.length;zt++)if($t=Yt.removedNodes[zt],$t.nodeType===Node.ELEMENT_NODE){let Zt;if($t.classList?Zt=Array.from($t.classList):$t.hasAttribute('class')&&(Zt=$t.getAttribute('class').split(/\s+/)),void 0!=Zt){let Qt=Zt.indexOf(_t.SCOPE_NAME);if(0<=Qt){let Jt=Zt[Qt+1];Jt&&_t.dom($t,Jt,!0)}}}}},jt=new MutationObserver(Bt),Kt=Vt=>{jt.observe(Vt,{childList:!0,subtree:!0})},Gt=window.customElements&&!window.customElements.flush;if(Gt)Kt(document);else{let Vt=()=>{Kt(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Vt):requestAnimationFrame(function(){if('loading'===document.readyState){let Xt=function(){Vt(),document.removeEventListener('readystatechange',Xt)};document.addEventListener('readystatechange',Xt)}else Vt()})}Pt=function(){Bt(jt.takeRecords())}}const Tt={},Rt=Promise.resolve();let At=null,xt=window.HTMLImports&&window.HTMLImports.whenReady||null,It;const Ot='__processedByShadyCSS',Mt='__seenByShadyCSS';let Dt=null,wt=null;class Lt{constructor(){this.customStyles=[],this.enqueued=!1}enqueueDocumentValidation(){this.enqueued||!wt||(this.enqueued=!0,Ae(wt))}addCustomStyle(Wt){Wt[Mt]||(Wt[Mt]=!0,this.customStyles.push(Wt),this.enqueueDocumentValidation())}getStyleForCustomStyle(Wt){let Bt;return Bt=Wt.getStyle?Wt.getStyle():Wt,Bt}findStyles(){let Wt=this.customStyles;for(let jt,Bt=0;Bt<Wt.length;Bt++)if(jt=Wt[Bt],!jt[Ot]){let Kt=this.getStyleForCustomStyle(jt);if(Kt){jt[Ot]=!0;let Gt=Kt.__appliedElement;if(Gt)for(let Xt,Vt=0;Vt<Kt.attributes.length;Vt++)Xt=Kt.attributes[Vt],Gt.setAttribute(Xt.name,Xt.value);Dt&&Dt(Gt||Kt)}}}}Lt.prototype.addCustomStyle=Lt.prototype.addCustomStyle,Lt.prototype.getStyleForCustomStyle=Lt.prototype.getStyleForCustomStyle,Lt.prototype.findStyles=Lt.prototype.findStyles,Object.defineProperties(Lt.prototype,{transformCallback:{get(){return Dt},set(Wt){Dt=Wt}},validateCallback:{get(){return wt},set(Wt){let Bt=!1;wt||(Bt=!0),wt=Wt,Bt&&this.enqueueDocumentValidation()}}});const kt=new class{constructor(Wt=100){this.cache={},this.typeMax=Wt}_validate(Wt,Bt,jt){for(let Gt,Kt=0;Kt<jt.length;Kt++)if(Gt=jt[Kt],Wt.properties[Gt]!==Bt[Gt])return!1;return!0}store(Wt,Bt,jt,Kt){let Gt=this.cache[Wt]||[];Gt.push({properties:Bt,styleElement:jt,scopeSelector:Kt}),Gt.length>this.typeMax&&Gt.shift(),this.cache[Wt]=Gt}fetch(Wt,Bt,jt){let Kt=this.cache[Wt];if(Kt)for(let Vt,Gt=Kt.length-1;0<=Gt;Gt--)if(Vt=Kt[Gt],this._validate(Vt,Bt,jt))return Vt}};class Ft{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;let Wt=new Ie;Wt.rules=[],this._documentOwnerStyleInfo=mt.set(document.documentElement,new mt(Wt)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null,Ae(()=>{this._ensure()})}flush(){Pt()}_generateScopeSelector(Wt){let Bt=this._scopeCounter[Wt]=(this._scopeCounter[Wt]||0)+1;return`${Wt}-${Bt}`}getStyleAst(Wt){return pe(Wt)}styleAstToString(Wt){return ie(Wt)}_gatherStyles(Wt){let Bt=Wt.content.querySelectorAll('style'),jt=[];for(let Gt,Kt=0;Kt<Bt.length;Kt++)Gt=Bt[Kt],jt.push(Gt.textContent),Gt.parentNode.removeChild(Gt);return jt.join('').trim()}_getCssBuild(Wt){let Bt=Wt.content.querySelector('style');return Bt?Bt.getAttribute('css-build')||'':''}prepareTemplate(Wt,Bt,jt){if(!Wt._prepared){Wt._prepared=!0,Wt.name=Bt,Wt.extends=jt,Tt[Bt]=Wt;let Kt=this._getCssBuild(Wt),Gt=this._gatherStyles(Wt),Vt={is:Bt,extends:jt,__cssBuild:Kt};He||_t.dom(Wt.content,Bt),this._ensure();let Xt=this._applyShim.detectMixin(Gt),Yt=_(Gt);Xt&&Ue&&this._applyShim.transformRules(Yt,Bt),Wt._styleAst=Yt,Wt._cssBuild=Kt;let zt=[];if(Ue||(zt=Nt.decorateStyles(Wt._styleAst,Vt)),!zt.length||Ue){let $t=He?Wt.content:null,Zt=Ct[Bt],Qt=this._generateStaticStyle(Vt,Wt._styleAst,$t,Zt);Wt._style=Qt}Wt._ownPropertyNames=zt}}_generateStaticStyle(Wt,Bt,jt,Kt){let Gt=_t.elementStyles(Wt,Bt);if(Gt.length)return _e(Gt,Wt.is,jt,Kt)}_prepareHost(Wt){let Vt,Xt,Yt,{is:Bt,extends:jt}=Ne(Wt),Kt=Ct[Bt],Gt=Tt[Bt];return Gt&&(Vt=Gt._styleAst,Xt=Gt._ownPropertyNames,Yt=Gt._cssBuild),mt.set(Wt,new mt(Vt,Kt,Xt,Bt,jt,Yt))}_ensureApplyShim(){this._applyShim||(window.ShadyCSS.ApplyShim?(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ee):this._applyShim={['detectMixin'](){return!1},['transformRule'](){},['transformRules'](){}})}_ensureCustomStyleInterface(){this._customStyleInterface||(window.ShadyCSS.CustomStyleInterface?(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=Wt=>{this.transformCustomStyleForDocument(Wt)},this._customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})}):this._customStyleInterface={['findStyles'](){},enqueued:!1,['getStyleForCustomStyle'](){return null}})}_ensure(){this._ensureApplyShim(),this._ensureCustomStyleInterface()}flushCustomStyles(){if(this._ensure(),this._customStyleInterface.findStyles(),!!this._customStyleInterface.enqueued){let Wt=this._customStyleInterface.customStyles;Ue?this._revalidateCustomStyleApplyShim(Wt):(this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(Wt)),this._customStyleInterface.enqueued=!1,this._elementsHaveApplied&&!Ue&&this.styleDocument()}}styleElement(Wt,Bt){let{is:jt}=Ne(Wt),Kt=mt.get(Wt);if(Kt||(Kt=this._prepareHost(Wt)),this._isRootOwner(Wt)||(this._elementsHaveApplied=!0),Bt&&(Kt.overrideStyleProperties=Kt.overrideStyleProperties||{},Object.assign(Kt.overrideStyleProperties,Bt)),!Ue)this._updateProperties(Wt,Kt),Kt.ownStylePropertyNames&&Kt.ownStylePropertyNames.length&&this._applyStyleProperties(Wt,Kt);else{Kt.overrideStyleProperties&&xe(Wt,Kt.overrideStyleProperties);let Gt=Tt[jt];if(!Gt&&!this._isRootOwner(Wt))return;if(Gt&&Gt._style&&!Pe(Gt)){if(Te(Gt)||(this._ensure(),this._applyShim.transformRules(Gt._styleAst,jt),Gt._style.textContent=_t.elementStyles(Wt,Kt.styleRules),Re(Gt)),He){let Vt=Wt.shadowRoot;if(Vt){let Xt=Vt.querySelector('style');Xt.textContent=_t.elementStyles(Wt,Kt.styleRules)}}Kt.styleRules=Gt._styleAst}}}_styleOwnerForNode(Wt){let Bt=Wt.getRootNode(),jt=Bt.host;return jt?mt.get(jt)?jt:this._styleOwnerForNode(jt):this._documentOwner}_isRootOwner(Wt){return Wt===this._documentOwner}_applyStyleProperties(Wt,Bt){let jt=Ne(Wt).is,Kt=kt.fetch(jt,Bt.styleProperties,Bt.ownStylePropertyNames),Gt=Kt&&Kt.scopeSelector,Vt=Kt?Kt.styleElement:null,Xt=Bt.scopeSelector;Bt.scopeSelector=Gt||this._generateScopeSelector(jt);let Yt=Nt.applyElementStyle(Wt,Bt.styleProperties,Bt.scopeSelector,Vt);return He||Nt.applyElementScopeSelector(Wt,Bt.scopeSelector,Xt),Kt||kt.store(jt,Bt.styleProperties,Yt,Bt.scopeSelector),Yt}_updateProperties(Wt,Bt){let jt=this._styleOwnerForNode(Wt),Kt=mt.get(jt),Gt=Kt.styleProperties,Vt=Object.create(Gt||null),Xt=Nt.hostAndRootPropertiesForScope(Wt,Bt.styleRules),Yt=Nt.propertyDataFromStyles(Kt.styleRules,Wt),zt=Yt.properties;Object.assign(Vt,Xt.hostProps,zt,Xt.rootProps),this._mixinOverrideStyles(Vt,Bt.overrideStyleProperties),Nt.reify(Vt),Bt.styleProperties=Vt}_mixinOverrideStyles(Wt,Bt){for(let jt in Bt){let Kt=Bt[jt];(Kt||0===Kt)&&(Wt[jt]=Kt)}}styleDocument(Wt){this.styleSubtree(this._documentOwner,Wt)}styleSubtree(Wt,Bt){(Wt.shadowRoot||this._isRootOwner(Wt))&&this.styleElement(Wt,Bt);let jt=Wt.shadowRoot,Kt=jt&&(jt.children||jt.childNodes);if(Kt)for(let Xt,Vt=0;Vt<Kt.length;Vt++)Xt=Kt[Vt],this.styleSubtree(Xt);let Gt=Wt.children||Wt.childNodes;if(Gt)for(let Xt,Vt=0;Vt<Gt.length;Vt++)Xt=Gt[Vt],this.styleSubtree(Xt)}_revalidateCustomStyleApplyShim(Wt){for(let Bt=0;Bt<Wt.length;Bt++){let jt=Wt[Bt],Kt=this._customStyleInterface.getStyleForCustomStyle(jt);Kt&&this._revalidateApplyShim(Kt)}}_applyCustomStyles(Wt){for(let Bt=0;Bt<Wt.length;Bt++){let jt=Wt[Bt],Kt=this._customStyleInterface.getStyleForCustomStyle(jt);Kt&&Nt.applyCustomStyle(Kt,this._documentOwnerStyleInfo.styleProperties)}}transformCustomStyleForDocument(Wt){let Bt=pe(Wt);ue(Bt,jt=>{He?_t.normalizeRootSelector(jt):_t.documentRule(jt),Ue&&(this._ensure(),this._applyShim.transformRule(jt))}),Ue?Wt.textContent=ie(Bt):this._documentOwnerStyleInfo.styleRules.rules.push(Bt)}_revalidateApplyShim(Wt){if(Ue){let Bt=pe(Wt);this._ensure(),this._applyShim.transformRules(Bt),Wt.textContent=ie(Bt)}}getComputedStyleValue(Wt,Bt){let jt;if(!Ue){let Kt=mt.get(Wt)||mt.get(this._styleOwnerForNode(Wt));jt=Kt.styleProperties[Bt]}return jt=jt||window.getComputedStyle(Wt).getPropertyValue(Bt),jt.trim()}setElementClass(Wt,Bt){let jt=Wt.getRootNode(),Kt=Bt?Bt.split(/\s/):[],Gt=jt.host&&jt.host.localName;if(!Gt){var Vt=Wt.getAttribute('class');if(Vt){let Xt=Vt.split(/\s/);for(let Yt=0;Yt<Xt.length;Yt++)if(Xt[Yt]===_t.SCOPE_NAME){Gt=Xt[Yt+1];break}}}if(Gt&&Kt.push(_t.SCOPE_NAME,Gt),!Ue){let Xt=mt.get(Wt);Xt&&Xt.scopeSelector&&Kt.push(Nt.XSCOPE_NAME,Xt.scopeSelector)}be(Wt,Kt.join(' '))}_styleInfoForNode(Wt){return mt.get(Wt)}}Ft.prototype.flush=Ft.prototype.flush,Ft.prototype.prepareTemplate=Ft.prototype.prepareTemplate,Ft.prototype.styleElement=Ft.prototype.styleElement,Ft.prototype.styleDocument=Ft.prototype.styleDocument,Ft.prototype.styleSubtree=Ft.prototype.styleSubtree,Ft.prototype.getComputedStyleValue=Ft.prototype.getComputedStyleValue,Ft.prototype.setElementClass=Ft.prototype.setElementClass,Ft.prototype._styleInfoForNode=Ft.prototype._styleInfoForNode,Ft.prototype.transformCustomStyleForDocument=Ft.prototype.transformCustomStyleForDocument,Ft.prototype.getStyleAst=Ft.prototype.getStyleAst,Ft.prototype.styleAstToString=Ft.prototype.styleAstToString,Ft.prototype.flushCustomStyles=Ft.prototype.flushCustomStyles,Object.defineProperties(Ft.prototype,{nativeShadow:{get(){return He}},nativeCss:{get(){return Ue}}});const Ht=new Ft;let Ut,qt;window.ShadyCSS&&(Ut=window.ShadyCSS.ApplyShim,qt=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Ht,prepareTemplate(Wt,Bt,jt){Ht.flushCustomStyles(),Ht.prepareTemplate(Wt,Bt,jt)},styleSubtree(Wt,Bt){Ht.flushCustomStyles(),Ht.styleSubtree(Wt,Bt)},styleElement(Wt){Ht.flushCustomStyles(),Ht.styleElement(Wt)},styleDocument(Wt){Ht.flushCustomStyles(),Ht.styleDocument(Wt)},getComputedStyleValue(Wt,Bt){return Ht.getComputedStyleValue(Wt,Bt)},nativeCss:Ue,nativeShadow:He},Ut&&(window.ShadyCSS.ApplyShim=Ut),qt&&(window.ShadyCSS.CustomStyleInterface=qt),function(){'use strict';if(customElements&&customElements.polyfillWrapFlushCallback){function Bt(){if(jt){let Gt=jt;return jt=null,Gt(),!0}}let jt,Kt=HTMLImports.whenReady;customElements.polyfillWrapFlushCallback(function(Gt){jt=Gt,Kt(Bt)}),HTMLImports.whenReady=function(Gt){Kt(function(){Bt()?HTMLImports.whenReady(Gt):Gt()})}}HTMLImports.whenReady(function(){requestAnimationFrame(function(){window.dispatchEvent(new CustomEvent('WebComponentsReady'))})})}(window.WebComponents),function(){var Bt=document.createElement('style');Bt.textContent='body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n';var jt=document.querySelector('head');jt.insertBefore(Bt,jt.firstChild)}(window.WebComponents)})();
//# sourceMappingURL=webcomponents-hi-sd-ce.js.map