(function(){'use strict';function ee($t){return $t=te($t),re(oe($t),$t)}function te($t){return $t.replace(ke.comments,'').replace(ke.port,'')}function oe($t){let Zt=new Me;Zt.start=0,Zt.end=$t.length;let Qt=Zt;for(let eo=0,to=$t.length;eo{Ht=Zt}),'complete'===document.readyState?Ht():document.addEventListener('readystatechange',()=>{'complete'===document.readyState&&Ht()})),qt.then(function(){$t&&$t()}))}function we($t,Zt){for(let Qt in Zt)null===Qt?$t.style.removeProperty(Qt):$t.style.setProperty(Qt,Zt[Qt])}(function(){'use strict';var Zt=function(){var so=document.createEvent('Event');return so.initEvent('foo',!0,!0),so.preventDefault(),so.defaultPrevented}();if(!Zt){var Qt=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(Qt.call(this),Object.defineProperty(this,'defaultPrevented',{get:function(){return!0},configurable:!0}))}}var eo=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||eo&&'function'!=typeof window.CustomEvent)&&(window.CustomEvent=function(so,ao){ao=ao||{};var lo=document.createEvent('CustomEvent');return lo.initCustomEvent(so,!!ao.bubbles,!!ao.cancelable,ao.detail),lo},window.CustomEvent.prototype=window.Event.prototype),!window.Event||eo&&'function'!=typeof window.Event){var to=window.Event;if(window.Event=function(so,ao){ao=ao||{};var lo=document.createEvent('Event');return lo.initEvent(so,!!ao.bubbles,!!ao.cancelable),lo},to)for(var oo in to)window.Event[oo]=to[oo];window.Event.prototype=to.prototype}if(!window.MouseEvent||eo&&'function'!=typeof window.MouseEvent){var ro=window.MouseEvent;if(window.MouseEvent=function(so,ao){ao=ao||{};var lo=document.createEvent('MouseEvent');return lo.initMouseEvent(so,!!ao.bubbles,!!ao.cancelable,ao.view||window,ao.detail,ao.screenX,ao.screenY,ao.clientX,ao.clientY,ao.ctrlKey,ao.altKey,ao.shiftKey,ao.metaKey,ao.button,ao.relatedTarget),lo},ro)for(var oo in ro)window.MouseEvent[oo]=ro[oo];window.MouseEvent.prototype=ro.prototype}if(Array.from||(Array.from=function(so){return[].slice.call(so)}),!Object.assign){var no=function(so,ao){for(var po,lo=Object.getOwnPropertyNames(ao),io=0;ioyo&&-1==[34,35,60,62,63,96].indexOf(yo)?mo:encodeURIComponent(mo)}function oo(mo){var yo=mo.charCodeAt(0);return 32yo&&-1==[34,35,60,62,96].indexOf(yo)?mo:encodeURIComponent(mo)}function ro(mo,yo,fo){function go(Oo){No.push(Oo)}var So=yo||'scheme start',bo=0,Eo='',vo=!1,Co=!1,No=[];loop:for(;(mo[bo-1]!=co||0==bo)&&!this._isInvalid;){var Po=mo[bo];switch(So){case'scheme start':if(Po&&ho.test(Po))Eo+=Po.toLowerCase(),So='scheme';else if(!yo){Eo='',So='no scheme';continue}else{go('Invalid scheme.');break loop}break;case'scheme':if(Po&&uo.test(Po))Eo+=Po.toLowerCase();else if(':'==Po){if(this._scheme=Eo,Eo='',yo)break loop;Zt(this._scheme)&&(this._isRelative=!0),So='file'==this._scheme?'relative':this._isRelative&&fo&&fo._scheme==this._scheme?'relative or authority':this._isRelative?'authority first slash':'scheme data'}else if(!yo){Eo='',bo=0,So='no scheme';continue}else if(co==Po)break loop;else{go('Code point not allowed in scheme: '+Po);break loop}break;case'scheme data':'?'==Po?(this._query='?',So='query'):'#'==Po?(this._fragment='#',So='fragment'):co!=Po&&'\t'!=Po&&'\n'!=Po&&'\r'!=Po&&(this._schemeData+=to(Po));break;case'no scheme':if(!fo||!Zt(fo._scheme))go('Missing scheme.'),Qt.call(this);else{So='relative';continue}break;case'relative or authority':if('/'==Po&&'/'==mo[bo+1])So='authority ignore slashes';else{go('Expected /, got: '+Po),So='relative';continue}break;case'relative':if(this._isRelative=!0,'file'!=this._scheme&&(this._scheme=fo._scheme),co==Po){this._host=fo._host,this._port=fo._port,this._path=fo._path.slice(),this._query=fo._query,this._username=fo._username,this._password=fo._password;break loop}else if('/'==Po||'\\'==Po)'\\'==Po&&go('\\ is an invalid code point.'),So='relative slash';else if('?'==Po)this._host=fo._host,this._port=fo._port,this._path=fo._path.slice(),this._query='?',this._username=fo._username,this._password=fo._password,So='query';else if('#'==Po)this._host=fo._host,this._port=fo._port,this._path=fo._path.slice(),this._query=fo._query,this._fragment='#',this._username=fo._username,this._password=fo._password,So='fragment';else{var Ro=mo[bo+1],Ao=mo[bo+2];'file'==this._scheme&&ho.test(Po)&&(':'==Ro||'|'==Ro)&&(co==Ao||'/'==Ao||'\\'==Ao||'?'==Ao||'#'==Ao)||(this._host=fo._host,this._port=fo._port,this._username=fo._username,this._password=fo._password,this._path=fo._path.slice(),this._path.pop()),So='relative path';continue}break;case'relative slash':if('/'==Po||'\\'==Po)'\\'==Po&&go('\\ is an invalid code point.'),So='file'==this._scheme?'file host':'authority ignore slashes';else{'file'!=this._scheme&&(this._host=fo._host,this._port=fo._port,this._username=fo._username,this._password=fo._password),So='relative path';continue}break;case'authority first slash':if('/'==Po)So='authority second slash';else{go('Expected \'/\', got: '+Po),So='authority ignore slashes';continue}break;case'authority second slash':if(So='authority ignore slashes','/'!=Po){go('Expected \'/\', got: '+Po);continue}break;case'authority ignore slashes':if('/'!=Po&&'\\'!=Po){So='authority';continue}else go('Expected authority, got: '+Po);break;case'authority':if('@'==Po){vo&&(go('@ already seen.'),Eo+='%40'),vo=!0;for(var xo,To=0;To'===_o?'>':'\xA0'===_o?' ':void 0}function uo(_o){return _o.replace(po,ho)}var no=document.implementation.createHTMLDocument('template'),so=!0,ao=document.createElement('style');ao.textContent=oo+'{display:none;}';var lo=document.head;lo.insertBefore(ao,lo.firstElementChild),ro.prototype=Object.create(HTMLElement.prototype);var io=!document.createElement('div').hasOwnProperty('innerHTML');ro.decorate=function(_o){if(!_o.content){_o.content=no.createDocumentFragment();for(var mo;mo=_o.firstChild;)_o.content.appendChild(mo);if(io)_o.__proto__=ro.prototype;else if(_o.cloneNode=function(yo){return ro._cloneNode(this,yo)},so)try{co(_o)}catch(yo){so=!1}ro.bootstrap(_o.content)}},co(ro.prototype),ro.bootstrap=function(_o){for(var go,mo=_o.querySelectorAll(oo),yo=0,fo=mo.length;yo]/g}($t||to)&&(ro._cloneNode=function(co,ho){var uo=Zt.call(co,!1);return this.decorate&&this.decorate(uo),ho&&(uo.content.appendChild(Zt.call(co.content,!0)),this.fixClonedDom(uo.content,co.content)),uo},ro.prototype.cloneNode=function(co){return ro._cloneNode(this,co)},ro.fixClonedDom=function(co,ho){if(ho.querySelectorAll)for(var fo,go,uo=ho.querySelectorAll(oo),_o=co.querySelectorAll(oo),mo=0,yo=_o.length;mo{const Zt=!!('import'in document.createElement('link'));let Qt=null;!1=='currentScript'in document&&Object.defineProperty(document,'currentScript',{get(){return Qt||('complete'===document.readyState?null:document.scripts[document.scripts.length-1])},configurable:!0});const eo=/(^\/)|(^#)|(^[\w-\d]*:)/,to=/(url\()([^)]*)(\))/g,oo=/(@import[\s]+(?!url\())([^;]*)(;)/g,ro=/(]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,no={fixUrls(No,Po){No.href&&No.setAttribute('href',no.replaceAttrUrl(No.getAttribute('href'),Po)),No.src&&No.setAttribute('src',no.replaceAttrUrl(No.getAttribute('src'),Po)),'style'===No.localName&&no.resolveUrlsInStyle(No,Po)},fixUrlAttributes(No,Po){const Ro=['action','src','href','url','style'];for(let To,Ao=0;AoIo.search(/({{|\[\[)/)&&(xo.value='style'===To?no.resolveUrlsInCssText(Io,Po):no.replaceAttrUrl(Io,Po))}},fixUrlsInTemplates(No,Po){const Ro=No.querySelectorAll('template');for(let Ao=0;Ao{let wo=xo.replace(/["']/g,'');return Po&&(wo=no.resolveUrl(wo,Po)),To+'\''+wo+'\''+Io})},replaceAttrUrl(No,Po){return No&&eo.test(No)?No:no.resolveUrl(No,Po)},resolveUrl(No,Po){if(void 0===no.__workingURL){no.__workingURL=!1;try{const Ao=new URL('b','http://a');Ao.pathname='c%20d',no.__workingURL='http://a/c%20d'===Ao.href}catch(Ao){}}if(no.__workingURL)return new URL(No,Po).href;let Ro=no.__tempDoc;return Ro||(Ro=document.implementation.createHTMLDocument('temp'),no.__tempDoc=Ro,Ro.__base=Ro.createElement('base'),Ro.head.appendChild(Ro.__base),Ro.__anchor=Ro.createElement('a')),Ro.__base.href=Po,Ro.__anchor.href=No,Ro.__anchor.href||No}},so={async:!0,load(No,Po,Ro){if(!No)Ro('error: href must be specified');else if(No.match(/^data:/)){const Ao=No.split(','),To=Ao[0];let xo=Ao[1];xo=-1{let To=Ao.getResponseHeader('Location');if(To&&0===To.indexOf('/')){const Io=location.origin||location.protocol+'//'+location.host;To=Io+To}const xo=Ao.response||Ao.responseText;304===Ao.status||0===Ao.status||200<=Ao.status&&300>Ao.status?Po(xo,To):Ro(xo)},Ao.send()}}},ao=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent),lo='link[rel=import]',io='import-disable',po=`link[rel=stylesheet][href][type=${io}]`,co=`${lo}, ${po}, style:not([type]), link[rel=stylesheet][href]:not([type]), script:not([type]), script[type="application/javascript"], script[type="text/javascript"]`,ho='import-dependency',uo=`${lo}:not(${ho})`,_o=`script[${ho}]`,mo=`style[${ho}], link[rel=stylesheet][${ho}]`;const fo=No=>{return No.nodeType===Node.ELEMENT_NODE&&'link'===No.localName&&'import'===No.rel},go=(No,Po)=>{if(No.__loaded)Po&&Po();else if('script'===No.localName&&!No.src)No.__loaded=!0,Po&&Po();else{const Ro=Ao=>{No.removeEventListener(Ao.type,Ro),No.__loaded=!0,Po&&Po()};No.addEventListener('load',Ro),ao&&'style'===No.localName||No.addEventListener('error',Ro)}},So=No=>{bo(()=>Eo(()=>No&&No()))},bo=No=>{if('loading'!==document.readyState)No();else{const Po=()=>{'loading'!==document.readyState&&(document.removeEventListener('readystatechange',Po),No())};document.addEventListener('readystatechange',Po)}},Eo=No=>{let Po=document.querySelectorAll(uo),Ro=Po.length;if(!Ro)return void No();for(let xo,Ao=0,To=Po.length;Ao{0==--Ro&&No()})},vo=No=>{if(Zt)return No.ownerDocument===document?null:No.ownerDocument;let Po=No.__importDoc;if(!Po&&No.parentNode){if(Po=No.parentNode,'function'==typeof Po.closest)Po=Po.closest(lo);else for(;!fo(Po)&&(Po=Po.parentNode););No.__importDoc=Po}return Po},Co=(No,Po)=>{if('function'==typeof window.CustomEvent)return new CustomEvent(No,Po);const Ro=document.createEvent('CustomEvent');return Ro.initCustomEvent(No,!!Po.bubbles,!!Po.cancelable,Po.detail),Ro};if(Zt){const No=document.querySelectorAll(lo);for(let To,Ro=0,Ao=No.length;Ro{const Ao=Ro.target;fo(Ao)&&(Ao.__loaded=!0)};document.addEventListener('load',Po,!0),document.addEventListener('error',Po,!0)}else new class{constructor(){this.documents={},this.inflight=0,this.dynamicImportsMO=new MutationObserver(No=>this.handleMutations(No)),bo(()=>{this.dynamicImportsMO.observe(document.head,{childList:!0,subtree:!0}),this.loadImports(document)})}loadImports(No){const Po=No.querySelectorAll(lo);for(let Ro=0,Ao=Po.length;Ro{const To=this.makeDocument(Ro,Ao||Po);this.documents[Po]=To,this.inflight--,this.loadImports(To),this.processImportsIfLoadingDone()},()=>{this.documents[Po]=null,this.inflight--,this.processImportsIfLoadingDone()})}makeDocument(No,Po){if(!No)return document.createDocumentFragment();ao&&(No=No.replace(ro,(wo,Mo,Oo)=>{return-1===wo.indexOf('type=')?`${Mo} type=${io} ${Oo}`:wo}));let Ro;const Ao=document.createElement('template');if(Ao.innerHTML=No,Ao.content)Ro=Ao.content;else for(Ro=document.createDocumentFragment();Ao.firstChild;)Ro.appendChild(Ao.firstChild);const To=Ro.querySelector('base');To&&(Po=no.replaceAttrUrl(To.getAttribute('href'),Po),To.removeAttribute('href'));const xo=Ro.querySelectorAll(co);let Io=0;for(let Oo,wo=0,Mo=xo.length;wo{Po&&No&&(this.dynamicImportsMO.observe(document.head,{childList:!0,subtree:!0}),this.fireEvents())};this.waitForStyles(()=>{Po=!0,Ro()}),this.runScripts(()=>{No=!0,Ro()})}}flatten(No){const Po=No.querySelectorAll(lo);for(let To,Ro=0,Ao=Po.length;RoTo.href,configurable:!0,enumerable:!0}),this.flatten(xo),To.appendChild(xo))}}runScripts(No){const Po=document.querySelectorAll(_o),Ro=Po.length,Ao=To=>{if(To{Qt=null,Ao(To+1)})}else No()};Ao(0)}waitForStyles(No){const Po=document.querySelectorAll(mo);let Ro=Po.length;if(!Ro)return void No();const Ao=ao&&!!document.querySelector(po);for(let Io,To=0,xo=Po.length;To{Io.removeAttribute(ho),0==--Ro&&No()}),Ao&&Io.parentNode!==document.head){const wo=document.createElement(Io.localName);wo.__appliedElement=Io,wo.setAttribute('type','import-placeholder'),Io.parentNode.insertBefore(wo,Io.nextSibling);let Mo=vo(Io);for(;Mo&&vo(Mo);)Mo=vo(Mo);Mo.parentNode!==document.head&&(Mo=null),document.head.insertBefore(Io,Mo),Io.removeAttribute('type')}}fireEvents(){const No=document.querySelectorAll(lo);for(let Ro,Po=No.length-1;0<=Po&&(Ro=No[Po]);Po--)this.fireEventIfNeeded(Ro)}fireEventIfNeeded(No){if(!No.__loaded){No.__loaded=!0,No.import&&(No.import.readyState='complete');const Po=No.import?'load':'error';No.dispatchEvent(Co(Po,{bubbles:!1,cancelable:!1,detail:void 0}))}}handleMutations(No){for(let Po=0;Podocument.dispatchEvent(Co('HTMLImportsLoaded',{cancelable:!0,bubbles:!0,detail:void 0}))),$t.useNative=Zt,$t.whenReady=So,$t.importForElement=vo})(window.HTMLImports=window.HTMLImports||{}),function(){'use strict';window.WebComponents=window.WebComponents||{flags:{}};var Zt=document.querySelector('script[src*="'+'webcomponents-lite.js'+'"]'),Qt={};if(!Qt.noOpts){if(location.search.slice(1).split('&').forEach(function(ao){var io,lo=ao.split('=');lo[0]&&(io=lo[0].match(/wc-(.+)/))&&(Qt[io[1]]=lo[1]||!0)}),Zt)for(var to,eo=0;to=Zt.attributes[eo];eo++)'src'!==to.name&&(Qt[to.name]=to.value||!0);if(Qt.log&&Qt.log.split){var oo=Qt.log.split(',');Qt.log={},oo.forEach(function(ao){Qt.log[ao]=!0})}else Qt.log={}}WebComponents.flags=Qt;var ro=window.WebComponents,no=ro.flags.shadydom;no&&(window.ShadyDOM=window.ShadyDOM||{},ShadyDOM.force=no);var so=ro.flags.register||ro.flags.ce;so&&window.customElements&&(customElements.forcePolyfill=so)}(),function(){'use strict';function $t(jr,Br,Kr){return{index:jr,removed:Br,addedCount:Kr}}function Zt(jr){return'ShadyRoot'===jr.__localName}function Qt(jr,Br){if(jr&&Br)for(var Yr,Kr=Object.getOwnPropertyNames(Br),Gr=0;Gr'===jr?'>':'"'===jr?'"':'\xA0'===jr?' ':void 0}function ro(jr){for(var Br={},Kr=0;Kr';case Node.TEXT_NODE:return jr=jr.data,Br&&$o[Br.localName]?jr:jr.replace(zo,oo);case Node.COMMENT_NODE:return'';default:throw window.console.error(jr),Error('not implemented');}}function so(jr,Br){'template'===jr.localName&&(jr=jr.content);for(var Xr,Kr='',Gr=Br?Br(jr):jr.childNodes,Yr=0,Vr=Gr.length;Yr]/g,Jo=ro('area base br col command embed hr img input keygen link meta param source track wbr'.split(' ')),$o=ro('style script xmp iframe noembed noframes plaintext noscript'.split(' '));Vo.getOuterHTML=no,Vo.getInnerHTML=so;var Zo={},Qo=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),er=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);Zo.parentNode=function(jr){return Qo.currentNode=jr,Qo.parentNode()},Zo.firstChild=function(jr){return Qo.currentNode=jr,Qo.firstChild()},Zo.lastChild=function(jr){return Qo.currentNode=jr,Qo.lastChild()},Zo.previousSibling=function(jr){return Qo.currentNode=jr,Qo.previousSibling()},Zo.nextSibling=function(jr){return Qo.currentNode=jr,Qo.nextSibling()},Zo.childNodes=ao,Zo.parentElement=function(jr){return er.currentNode=jr,er.parentNode()},Zo.firstElementChild=function(jr){return er.currentNode=jr,er.firstChild()},Zo.lastElementChild=function(jr){return er.currentNode=jr,er.lastChild()},Zo.previousElementSibling=function(jr){return er.currentNode=jr,er.previousSibling()},Zo.nextElementSibling=function(jr){return er.currentNode=jr,er.nextSibling()},Zo.children=function(jr){var Br=[];for(er.currentNode=jr,jr=er.firstChild();jr;)Br.push(jr),jr=er.nextSibling();return Br},Zo.innerHTML=function(jr){return Vo.getInnerHTML(jr,function(Br){return ao(Br)})},Zo.textContent=function(jr){if(jr.nodeType!==Node.ELEMENT_NODE)return jr.nodeValue;jr=document.createTreeWalker(jr,NodeFilter.SHOW_TEXT,null,!1);for(var Kr,Br='';Kr=jr.nextNode();)Br+=Kr.nodeValue;return Br};var tr={},or=Object.getOwnPropertyDescriptor(Element.prototype,'innerHTML')||Object.getOwnPropertyDescriptor(HTMLElement.prototype,'innerHTML'),rr=document.implementation.createHTMLDocument('inert').createElement('div'),nr=Object.getOwnPropertyDescriptor(Document.prototype,'activeElement'),sr={parentElement:lo('parentElement'),parentNode:lo('parentNode'),nextSibling:lo('nextSibling'),previousSibling:lo('previousSibling'),className:{get:function(){return this.getAttribute('class')},set:function(jr){this.setAttribute('class',jr)},configurable:!0},nextElementSibling:{get:function(){if(Yo.hasProperty(this,'nextSibling')){for(var jr=this.nextSibling;jr&&jr.nodeType!==Node.ELEMENT_NODE;)jr=jr.nextSibling;return jr}return Zo.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){if(Yo.hasProperty(this,'previousSibling')){for(var jr=this.previousSibling;jr&&jr.nodeType!==Node.ELEMENT_NODE;)jr=jr.previousSibling;return jr}return Zo.previousElementSibling(this)},configurable:!0}},ar={childNodes:{get:function(){if(Yo.hasProperty(this,'firstChild')){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var jr=this.firstChild;jr;jr=jr.nextSibling)this.__shady.childNodes.push(jr)}return this.__shady.childNodes}return Zo.childNodes(this)},configurable:!0},firstChild:lo('firstChild'),lastChild:lo('lastChild'),textContent:{get:function(){if(Yo.hasProperty(this,'firstChild')){for(var Gr,jr=[],Br=0,Kr=this.childNodes;Gr=Kr[Br];Br++)Gr.nodeType!==Node.COMMENT_NODE&&jr.push(Gr.textContent);return jr.join('')}return Zo.textContent(this)},set:function(jr){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=jr;else{for(;this.firstChild;)this.removeChild(this.firstChild);jr&&this.appendChild(document.createTextNode(jr))}},configurable:!0},firstElementChild:{get:function(){if(Yo.hasProperty(this,'firstChild')){for(var jr=this.firstChild;jr&&jr.nodeType!==Node.ELEMENT_NODE;)jr=jr.nextSibling;return jr}return Zo.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){if(Yo.hasProperty(this,'lastChild')){for(var jr=this.lastChild;jr&&jr.nodeType!==Node.ELEMENT_NODE;)jr=jr.previousSibling;return jr}return Zo.lastElementChild(this)},configurable:!0},children:{get:function(){return Yo.hasProperty(this,'firstChild')?Array.prototype.filter.call(this.childNodes,function(jr){return jr.nodeType===Node.ELEMENT_NODE}):Zo.children(this)},configurable:!0},innerHTML:{get:function(){var jr='template'===this.localName?this.content:this;return Yo.hasProperty(this,'firstChild')?Vo.getInnerHTML(jr):Zo.innerHTML(jr)},set:function(jr){for(var Br='template'===this.localName?this.content:this;Br.firstChild;)Br.removeChild(Br.firstChild);for(or&&or.set?or.set.call(rr,jr):rr.innerHTML=jr;rr.firstChild;)Br.appendChild(rr.firstChild)},configurable:!0}},lr={shadowRoot:{get:function(){return this.shadyRoot},set:function(jr){this.shadyRoot=jr},configurable:!0}},ir={activeElement:{get:function(){var jr;if(jr=nr&&nr.get?nr.get.call(document):Lo.settings.hasDescriptors?void 0:document.activeElement,jr&&jr.nodeType){var Br=!!Lo.isShadyRoot(this);if(this===document||Br&&this.host!==jr&&this.host.contains(jr)){for(Br=Lo.ownerShadyRootForNode(jr);Br&&Br!==this;)jr=Br.host,Br=Lo.ownerShadyRootForNode(jr);jr=this===document?Br?null:jr:Br===this?jr:null}else jr=null}else jr=null;return jr},set:function(){},configurable:!0}},dr=Lo.settings.hasDescriptors?function(){}:function(jr){jr.__shady&&jr.__shady.__outsideAccessors||(jr.__shady=jr.__shady||{},jr.__shady.__outsideAccessors=!0,io(jr,sr,!0))},pr=Lo.settings.hasDescriptors?function(){}:function(jr){jr.__shady&&jr.__shady.__insideAccessors||(jr.__shady=jr.__shady||{},jr.__shady.__insideAccessors=!0,io(jr,ar,!0),io(jr,lr,!0))};tr.ShadowRootAccessor=lr,tr.ActiveElementAccessor=ir,tr.patchAccessors=function(jr){io(jr,sr),io(jr,ar),io(jr,ir)},tr.patchShadowRootAccessors=function(jr){io(jr,ar,!0),io(jr,ir,!0)},tr.patchOutsideElementAccessors=dr,tr.patchInsideElementAccessors=pr;var cr={};cr.recordInsertBefore=function(jr,Br,Kr){if(tr.patchInsideElementAccessors(Br),Br.__shady=Br.__shady||{},Yo.hasProperty(Br,'firstChild')&&(Br.__shady.childNodes=null),jr.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var Gr=jr.childNodes,Yr=0;Yr`:${oo}(${ro.replace(/\s/g,'')})`),$t=$t.replace(yt,`${ht} $1`),$t=$t.replace(pt,(to,oo,ro)=>{if(!eo){let no=this._transformCompoundSelector(ro,oo,Zt,Qt);eo=eo||no.stop,oo=no.combinator,ro=no.value}return oo+ro}),$t}_transformCompoundSelector($t,Zt,Qt,eo){let to=$t.indexOf(mt);0<=$t.indexOf(ht)?$t=this._transformHostSelector($t,eo):0!==to&&($t=Qt?this._transformSimpleSelector($t,Qt):$t);let oo=!1;0<=to&&(Zt='',oo=!0);let ro;return oo&&(ro=!0,oo&&($t=$t.replace(gt,(no,so)=>` > ${so}`))),$t=$t.replace(St,(no,so,ao)=>`[dir="${ao}"] ${so}, ${so}[dir="${ao}"]`),{value:$t,combinator:Zt,stop:ro}}_transformSimpleSelector($t,Zt){let Qt=$t.split(Et);return Qt[0]+=Zt,Qt.join(Et)}_transformHostSelector($t,Zt){let Qt=$t.match(ft),eo=Qt&&Qt[2].trim()||'';if(eo){if(!eo[0].match(ct)){let to=eo.split(ct)[0];return to===Zt?eo:'should_not_match'}return $t.replace(ft,function(to,oo,ro){return Zt+ro})}return $t.replace(ht,Zt)}documentRule($t){$t.selector=$t.parsedSelector,this.normalizeRootSelector($t),this._transformRule($t,this._transformDocumentSelector)}normalizeRootSelector($t){$t.selector===':root'&&($t.selector='html')}_transformDocumentSelector($t){return $t.match(mt)?this._transformComplexSelector($t,lt):this._transformSimpleSelector($t.trim(),lt)}}let Qe=/:(nth[-\w]+)\(([^)]+)\)/,lt=`:not(.${$e})`,dt=',',pt=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,ct=/[[.:#*]/,ht=':host',mt='::slotted',yt=/^(::slotted)/,ft=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,gt=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,St=/(.*):dir\((?:(ltr|rtl))\)/,Et=':';var Nt=new Ze;const Pt='__styleInfo';class Rt{static get($t){return $t?$t[Pt]:null}static set($t,Zt){return $t[Pt]=Zt,Zt}constructor($t,Zt,Qt,eo,to,oo){this.styleRules=$t||null,this.placeholder=Zt||null,this.ownStylePropertyNames=Qt||[],this.overrideStyleProperties=null,this.elementName=eo||'',this.cssBuild=oo||'',this.typeExtension=to||'',this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}_getStyleRules(){return this.styleRules}}Rt.prototype._getStyleRules=Rt.prototype._getStyleRules;const At=($t=>$t.matches||$t.matchesSelector||$t.mozMatchesSelector||$t.msMatchesSelector||$t.oMatchesSelector||$t.webkitMatchesSelector)(window.Element.prototype),Tt=navigator.userAgent.match('Trident'),xt='x-scope';class It{get XSCOPE_NAME(){return xt}decorateStyles($t){let Zt=this,Qt={},eo=[],to=0;me($t,function(ro){Zt.decorateRule(ro),ro.index=to++,Zt.collectPropertiesInCssText(ro.propertyInfo.cssText,Qt)},function(no){eo.push(no)}),$t._keyframes=eo;let oo=[];for(let ro in Qt)oo.push(ro);return oo}decorateRule($t){if($t.propertyInfo)return $t.propertyInfo;let Zt={},Qt={},eo=this.collectProperties($t,Qt);return eo&&(Zt.properties=Qt,$t.rules=null),Zt.cssText=this.collectCssText($t),$t.propertyInfo=Zt,Zt}collectProperties($t,Zt){let Qt=$t.propertyInfo;if(!Qt){let eo,oo=$t.parsedCssText,ro,no;for(;eo=je.exec(oo);)ro=(eo[2]||eo[3]).trim(),('inherit'!==ro||'unset'!==ro)&&(Zt[eo[1].trim()]=ro),no=!0;return no}else if(Qt.properties)return Object.assign(Zt,Qt.properties),!0}collectCssText($t){return this.collectConsumingCssText($t.parsedCssText)}collectConsumingCssText($t){return $t.replace(Ve,'').replace(je,'')}collectPropertiesInCssText($t,Zt){for(let Qt,eo;Qt=Ke.exec($t);)eo=Qt[1],':'!==Qt[2]&&(Zt[eo]=!0)}reify($t){let Zt=Object.getOwnPropertyNames($t);for(let eo,Qt=0;Qt *'===no||'html'===no,ao=0===no.indexOf(':host')&&!so;if('shady'===Qt&&(so=no===ro+' > *.'+ro||-1!==no.indexOf('html'),ao=!so&&0===no.indexOf(ro)),'shadow'===Qt&&(so=':host > *'===no||'html'===no,ao=ao&&!so),so||ao){let lo=ro;ao&&(He&&!Zt.transformedSelector&&(Zt.transformedSelector=Nt._transformRuleCss(Zt,Nt._transformComplexSelector,Nt._calcElementScope(to),ro)),lo=Zt.transformedSelector||ro),eo({selector:lo,isHost:ao,isRoot:so})}}}hostAndRootPropertiesForScope($t,Zt){let Qt={},eo={},to=this,oo=Zt&&Zt.__cssBuild;return me(Zt,function(ro){to.whenHostOrRootRule($t,ro,oo,function(no){let so=$t._element||$t;At.call(so,no.selector)&&(no.isHost?to.collectProperties(ro,Qt):to.collectProperties(ro,eo))})},null,!0),{rootProps:eo,hostProps:Qt}}transformStyles($t,Zt,Qt){let eo=this,{is:to,typeExtension:oo}=Ce($t),ro=Nt._calcHostScope(to,oo),no=$t.extends?'\\'+ro.slice(0,-1)+'\\]':ro,so=new RegExp('(?:^|[^.#[:])'+no+'($|[.:[\\s>+~])'),ao=Rt.get($t).styleRules,lo=this._elementKeyframeTransforms($t,ao,Qt);return Nt.elementStyles($t,ao,function(io){eo.applyProperties(io,Zt),He||_e(io)||!io.cssText||(eo.applyKeyframeTransforms(io,lo),eo._scopeSelector(io,so,ro,Qt))})}_elementKeyframeTransforms($t,Zt,Qt){let eo=Zt._keyframes,to={};if(!He&&eo)for(let oo=0,ro=eo[oo];oo=ro._useCount&&ro.parentNode&&ro.parentNode.removeChild(ro)),He?oo.customStyle?(oo.customStyle.textContent=to,eo=oo.customStyle):to&&(eo=ye(to,Qt,$t.shadowRoot,oo.placeholder)):eo?!eo.parentNode&&Se(eo,null,oo.placeholder):to&&(eo=ye(to,Qt,null,oo.placeholder)),eo&&(eo._useCount=eo._useCount||0,oo.customStyle!=eo&&eo._useCount++,oo.customStyle=eo),Tt&&(eo.textContent=eo.textContent),eo}applyCustomStyle($t,Zt){let Qt=ue($t),eo=this;$t.textContent=he(Qt,function(to){let oo=to.cssText=to.parsedCssText;to.propertyInfo&&to.propertyInfo.cssText&&(oo=ie(oo),to.cssText=eo.valueForProperties(oo,Zt))})}}var wt=new It;let Mt={};const Ot=window.customElements;if(Ot&&!He){const $t=Ot.define;Ot.define=(Qt,eo,to)=>{return Mt[Qt]=ge(Qt),$t.call(Ot,Qt,eo,to)}}let Lt=function(){};if(!He){let $t=oo=>{return oo.classList&&!oo.classList.contains(Nt.SCOPE_NAME)||oo instanceof window.SVGElement&&(!oo.hasAttribute('class')||0>oo.getAttribute('class').indexOf(Nt.SCOPE_NAME))},Zt=oo=>{for(let no,ro=0;ro{Qt.observe(oo,{childList:!0,subtree:!0})},to=window.customElements&&!window.customElements.flush;if(to)eo(document);else{let oo=()=>{eo(document.body)};window.HTMLImports?window.HTMLImports.whenReady(oo):requestAnimationFrame(function(){if('loading'===document.readyState){let ro=function(){oo(),document.removeEventListener('readystatechange',ro)};document.addEventListener('readystatechange',ro)}else oo()})}Lt=function(){Zt(Qt.takeRecords())}}const kt={},Ft=Promise.resolve();let qt=null,Ut=window.HTMLImports&&window.HTMLImports.whenReady||null,Ht;const Wt='__processedByShadyCSS',jt='__seenByShadyCSS';let Bt=null,Kt=null;class Gt{constructor(){this.customStyles=[],this.enqueued=!1}enqueueDocumentValidation(){this.enqueued||!Kt||(this.enqueued=!0,Ie(Kt))}addCustomStyle($t){$t[jt]||($t[jt]=!0,this.customStyles.push($t),this.enqueueDocumentValidation())}getStyleForCustomStyle($t){let Zt;return Zt=$t.getStyle?$t.getStyle():$t,Zt}processStyles(){let $t=this.customStyles;for(let Qt,Zt=0;Zt<$t.length;Zt++)if(Qt=$t[Zt],!Qt[Wt]){let eo=this.getStyleForCustomStyle(Qt);if(eo){Qt[Wt]=!0;let to=eo.__appliedElement;if(to)for(let ro,oo=0;oothis.typeMax&&to.shift(),this.cache[$t]=to}fetch($t,Zt,Qt){let eo=this.cache[$t];if(eo)for(let oo,to=eo.length-1;0<=to;to--)if(oo=eo[to],this._validate(oo,Zt,Qt))return oo}};class Vt{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;let $t=new Me;$t.rules=[],this._documentOwnerStyleInfo=Rt.set(this._documentOwner,new Rt($t)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null,Ie(()=>{this._ensure()})}flush(){Lt()}_generateScopeSelector($t){let Zt=this._scopeCounter[$t]=(this._scopeCounter[$t]||0)+1;return`${$t}-${Zt}`}getStyleAst($t){return ue($t)}styleAstToString($t){return he($t)}_gatherStyles($t){let Zt=$t.content.querySelectorAll('style'),Qt=[];for(let to,eo=0;eo{this.transformCustomStyleForDocument($t)},this._customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})}):this._customStyleInterface={['processStyles'](){},enqueued:!1,['getStyleForCustomStyle'](){return null}})}_ensure(){this._ensureApplyShim(),this._ensureCustomStyleInterface()}flushCustomStyles(){this._ensure();let $t=this._customStyleInterface.processStyles();this._customStyleInterface.enqueued&&(We?this._revalidateCustomStyleApplyShim($t):(this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles($t)),this._customStyleInterface.enqueued=!1,this._elementsHaveApplied&&!We&&this.styleDocument())}styleElement($t,Zt){let{is:Qt}=Ce($t),eo=Rt.get($t);if(eo||(eo=this._prepareHost($t)),this._isRootOwner($t)||(this._elementsHaveApplied=!0),Zt&&(eo.overrideStyleProperties=eo.overrideStyleProperties||{},Object.assign(eo.overrideStyleProperties,Zt)),!We)this._updateProperties($t,eo),eo.ownStylePropertyNames&&eo.ownStylePropertyNames.length&&this._applyStyleProperties($t,eo);else{eo.overrideStyleProperties&&we($t,eo.overrideStyleProperties);let to=kt[Qt];if(!to&&!this._isRootOwner($t))return;if(to&&to._style&&!Ae(to)){if(Te(to)||(this._ensure(),this._applyShim.transformRules(to._styleAst,Qt),to._style.textContent=Nt.elementStyles($t,eo.styleRules),xe(to)),He){let oo=$t.shadowRoot;if(oo){let ro=oo.querySelector('style');ro.textContent=Nt.elementStyles($t,eo.styleRules)}}eo.styleRules=to._styleAst}}}_styleOwnerForNode($t){let Zt=$t.getRootNode(),Qt=Zt.host;return Qt?Rt.get(Qt)?Qt:this._styleOwnerForNode(Qt):this._documentOwner}_isRootOwner($t){return $t===this._documentOwner}_applyStyleProperties($t,Zt){let Qt=Ce($t).is,eo=Yt.fetch(Qt,Zt.styleProperties,Zt.ownStylePropertyNames),to=eo&&eo.scopeSelector,oo=eo?eo.styleElement:null,ro=Zt.scopeSelector;Zt.scopeSelector=to||this._generateScopeSelector(Qt);let no=wt.applyElementStyle($t,Zt.styleProperties,Zt.scopeSelector,oo);return He||wt.applyElementScopeSelector($t,Zt.scopeSelector,ro),eo||Yt.store(Qt,Zt.styleProperties,no,Zt.scopeSelector),no}_updateProperties($t,Zt){let Qt=this._styleOwnerForNode($t),eo=Rt.get(Qt),to=eo.styleProperties,oo=Object.create(to||null),ro=wt.hostAndRootPropertiesForScope($t,Zt.styleRules),no=wt.propertyDataFromStyles(eo.styleRules,$t),so=no.properties;Object.assign(oo,ro.hostProps,so,ro.rootProps),this._mixinOverrideStyles(oo,Zt.overrideStyleProperties),wt.reify(oo),Zt.styleProperties=oo}_mixinOverrideStyles($t,Zt){for(let Qt in Zt){let eo=Zt[Qt];(eo||0===eo)&&($t[Qt]=eo)}}styleDocument($t){this.styleSubtree(this._documentOwner,$t)}styleSubtree($t,Zt){let Qt=$t.shadowRoot;(Qt||this._isRootOwner($t))&&this.styleElement($t,Zt);let eo=Qt&&(Qt.children||Qt.childNodes);if(eo)for(let oo,to=0;to{He?Nt.normalizeRootSelector(Qt):Nt.documentRule(Qt),We&&(this._ensure(),this._applyShim.transformRule(Qt))}),We?$t.textContent=he(Zt):this._documentOwnerStyleInfo.styleRules.rules.push(Zt)}_revalidateApplyShim($t){if(We){let Zt=ue($t);this._ensure(),this._applyShim.transformRules(Zt),$t.textContent=he(Zt)}}getComputedStyleValue($t,Zt){let Qt;if(!We){let eo=Rt.get($t)||Rt.get(this._styleOwnerForNode($t));Qt=eo.styleProperties[Zt]}return Qt=Qt||window.getComputedStyle($t).getPropertyValue(Zt),Qt?Qt.trim():''}setElementClass($t,Zt){let Qt=$t.getRootNode(),eo=Zt?Zt.split(/\s/):[],to=Qt.host&&Qt.host.localName;if(!to){var oo=$t.getAttribute('class');if(oo){let ro=oo.split(/\s/);for(let no=0;no