CoreFiles by mySites.guru
webcomponents-sd-ce-pf.min.js1 lines, 111,800 bytes, from Joomla_4.0.0-beta4-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta3
md5
17dd5a06fc3d57b3b4b05f43aa769796
sha1
1fd70c16a1f30082e889abaf3258b03977cfdd93
sha256
b22d8d5a8937fb5f2ce83757eaaf5b2d4f986871d2c2c0b456e42518b0f3365e
(function(){"use strict";var t;function e(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}var n="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},r="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function o(){o=function(){},r.Symbol||(r.Symbol=s)}function i(t,e){this.a=t,n(this,"description",{configurable:!0,writable:!0,value:e})}i.prototype.toString=function(){return this.a};var a,s=function(){var t=0;return function e(n){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new i("jscomp_symbol_"+(n||"")+"_"+t++,n)}}();function l(){o();var t=r.Symbol.iterator;t||(t=r.Symbol.iterator=r.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[t]&&n(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return t=e(this),l(),(t={next:t})[r.Symbol.iterator]=function(){return this},t;var t}}),l=function(){}}function c(t){var n="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return n?n.call(t):{next:e(t)}}function u(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}if("function"==typeof Object.setPrototypeOf)a=Object.setPrototypeOf;else{var h;t:{var d={};try{d.__proto__={Pa:!0},h=d.Pa;break t}catch(F){}h=!1}a=h?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var f=a;function p(){this.l=!1,this.b=null,this.Ea=void 0,this.a=1,this.Y=0,this.c=null}function _(t){if(t.l)throw new TypeError("Generator is already running");t.l=!0}function m(t,e){t.c={Sa:e,Wa:!0},t.a=t.Y}function v(t,e){return t.a=3,{value:e}}function y(t,e,n,r){try{var o=e.call(t.a.b,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return t.a.l=!1,o;var i=o.value}catch(e){return t.a.b=null,m(t.a,e),g(t)}return t.a.b=null,r.call(t.a,i),g(t)}function g(t){for(;t.a.a;)try{var e=t.b(t.a);if(e)return t.a.l=!1,{value:e.value,done:!1}}catch(e){t.a.Ea=void 0,m(t.a,e)}if(t.a.l=!1,t.a.c){if(e=t.a.c,t.a.c=null,e.Wa)throw e.Sa;return{value:e.return,done:!0}}return{value:void 0,done:!0}}function b(t){this.next=function(e){return _(t.a),t.a.b?e=y(t,t.a.b.next,e,t.a.J):(t.a.J(e),e=g(t)),e},this.throw=function(e){return _(t.a),t.a.b?e=y(t,t.a.b.throw,e,t.a.J):(m(t.a,e),e=g(t)),e},this.return=function(e){return function(t,e){_(t.a);var n=t.a.b;return n?y(t,"return"in n?n.return:function(t){return{value:t,done:!0}},e,t.a.return):(t.a.return(e),g(t))}(t,e)},l(),this[Symbol.iterator]=function(){return this}}function E(t,e){return e=new b(new function(t){this.a=new p,this.b=t}(e)),f&&f(e,t.prototype),e}p.prototype.J=function(t){this.Ea=t},p.prototype.return=function(t){this.c={return:t},this.a=this.Y},Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t){for(var e,n=[].slice.call(arguments,1),r=0;r<n.length;r++)if(e=n[r])for(var o=t,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a];o[s]=e[s]}return t});var w=document.createEvent("Event");if(w.initEvent("foo",!0,!0),w.preventDefault(),!w.defaultPrevented){var N=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(N.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var C=/Trident/.test(navigator.userAgent);if(!window.Event||C&&"function"!=typeof window.Event){var S=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},S){for(var T in S)window.Event[T]=S[T];window.Event.prototype=S.prototype}}if((!window.CustomEvent||C&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||C&&"function"!=typeof window.MouseEvent){var O=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},O)for(var D in O)window.MouseEvent[D]=O[D];window.MouseEvent.prototype=O.prototype}!function(){function t(){}function e(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return _.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return m.call(t,e);default:return p.call(t,e)}}var n="undefined"==typeof HTMLTemplateElement,r=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),o=!1;/Trident/.test(navigator.userAgent)&&function(){function t(t,e){if(t instanceof DocumentFragment)for(var r;r=t.firstChild;)n.call(this,r,e);else n.call(this,t,e);return t}o=!0;var e=Node.prototype.cloneNode;Node.prototype.cloneNode=function(t){return t=e.call(this,t),this instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var n=Node.prototype.insertBefore;Node.prototype.insertBefore=t;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(e){return e instanceof DocumentFragment?t.call(this,e,null):r.call(this,e),e};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(e,n){return e instanceof DocumentFragment?(t.call(this,e,n),i.call(this,n)):a.call(this,e,n),n},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){return e=s.call(this,t,e||!1),t instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e}}();var i=Node.prototype.cloneNode,a=Document.prototype.createElement,s=Document.prototype.importNode,l=Node.prototype.removeChild,c=Node.prototype.appendChild,u=Node.prototype.replaceChild,h=DOMParser.prototype.parseFromString,d=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},f=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,_=Document.prototype.querySelectorAll,m=DocumentFragment.prototype.querySelectorAll,v=function(){if(!n){var t=document.createElement("template"),e=document.createElement("template");return e.content.appendChild(document.createElement("div")),t.content.appendChild(e),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||r}}();if(n){var y=document.implementation.createHTMLDocument("template"),g=!0,b=document.createElement("style");b.textContent="template{display:none;}";var E=document.head;E.insertBefore(b,E.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var w=!document.createElement("div").hasOwnProperty("innerHTML");t.U=function(e){if(!e.content&&e.namespaceURI===document.documentElement.namespaceURI){e.content=y.createDocumentFragment();for(var n;n=e.firstChild;)c.call(e.content,n);if(w)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.b(this,e)},g)try{C(e),S(e)}catch(t){g=!1}t.a(e.content)}};var N={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},C=function(e){Object.defineProperty(e,"innerHTML",{get:function(){return P(this)},set:function(e){var n=N[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()];if(n)for(var r=0;r<n.length;r++)e="<"+n[r]+">"+e+"</"+n[r]+">";for(y.body.innerHTML=e,t.a(y);this.content.firstChild;)l.call(this.content,this.content.firstChild);if(e=y.body,n)for(r=0;r<n.length;r++)e=e.lastChild;for(;e.firstChild;)c.call(this.content,e.firstChild)},configurable:!0})},S=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(y.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();y.body.firstChild;)c.call(t,y.body.firstChild);u.call(this.parentNode,t,this)},configurable:!0})};C(t.prototype),S(t.prototype),t.a=function(n){for(var r,o=0,i=(n=e(n,"template")).length;o<i&&(r=n[o]);o++)t.U(r)},document.addEventListener("DOMContentLoaded",function(){t.a(document)}),Document.prototype.createElement=function(){var e=a.apply(this,arguments);return"template"===e.localName&&t.U(e),e},DOMParser.prototype.parseFromString=function(){var e=h.apply(this,arguments);return t.a(e),e},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return P(this)},set:function(e){d.set.call(this,e),t.a(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,O=/[&\u00A0<>]/g,D=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}},x=(b=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),M=b("style script xmp iframe noembed noframes plaintext noscript".split(" ")),P=function(t,e){"template"===t.localName&&(t=t.content);for(var n,r="",o=e?e(t):f.get.call(t),i=0,a=o.length;i<a&&(n=o[i]);i++){t:{var s=n,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,h="<"+u,d=s.attributes,p=0;l=d[p];p++)h+=" "+l.name+'="'+l.value.replace(T,D)+'"';h+=">",s=x[u]?h:h+P(s,c)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&M[l.localName]?s:s.replace(O,D);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}r+=s}return r}}if(n||v){t.b=function(t,e){var n=i.call(t,!1);return this.U&&this.U(n),e&&(c.call(n.content,i.call(t.content,!0)),A(n.content,t.content)),n};var A=function(n,r){if(r.querySelectorAll&&0!==(r=e(r,"template")).length)for(var o,i,a=0,s=(n=e(n,"template")).length;a<s;a++)i=r[a],o=n[a],t&&t.U&&t.U(i),u.call(o.parentNode,L.call(i,!0),o)},L=Node.prototype.cloneNode=function(e){if(!o&&r&&this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var n=j.call(this.ownerDocument,this,!0)}else n=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?t.b(this,e):i.call(this,e);return e&&A(n,this),n},j=Document.prototype.importNode=function(n,r){if(r=r||!1,"template"===n.localName)return t.b(n,r);var o=s.call(this,n,r);if(r){A(o,n),n=e(o,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var i,l=0;l<n.length;l++){i=n[l],(r=a.call(document,"script")).textContent=i.textContent;for(var c,h=i.attributes,d=0;d<h.length;d++)c=h[d],r.setAttribute(c.name,c.value);u.call(i.parentNode,r,i)}}return o}}n&&(window.HTMLTemplateElement=t)}();var x=setTimeout;function M(){}function P(t){if(!(this instanceof P))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.I=0,this.za=!1,this.C=void 0,this.W=[],R(t,this)}function A(t,e){for(;3===t.I;)t=t.C;0===t.I?t.W.push(e):(t.za=!0,W(function(){var n=1===t.I?e.Ya:e.Za;if(null===n)(1===t.I?L:j)(e.va,t.C);else{try{var r=n(t.C)}catch(t){return void j(e.va,t)}L(e.va,r)}}))}function L(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof P)return t.I=3,t.C=e,void k(t);if("function"==typeof n)return void R(function(t,e){return function(){t.apply(e,arguments)}}(n,e),t)}t.I=1,t.C=e,k(t)}catch(e){j(t,e)}}function j(t,e){t.I=2,t.C=e,k(t)}function k(t){2===t.I&&0===t.W.length&&W(function(){t.za||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t.C)});for(var e=0,n=t.W.length;e<n;e++)A(t,t.W[e]);t.W=null}function R(t,e){var n=!1;try{t(function(t){n||(n=!0,L(e,t))},function(t){n||(n=!0,j(e,t))})}catch(t){n||(n=!0,j(e,t))}}function H(t){return t&&"object"==typeof t&&t.constructor===P?t:new P(function(e){e(t)})}P.prototype.catch=function(t){return this.then(null,t)},P.prototype.then=function(t,e){var n=new this.constructor(M);return A(this,new function(t,e,n){this.Ya="function"==typeof t?t:null,this.Za="function"==typeof e?e:null,this.va=n}(t,e,n)),n},P.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})};var F,I,U,B,q,V,W="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){x(t,0)};if(!window.Promise){window.Promise=P,P.prototype.then=P.prototype.then,P.all=function(t){return new P(function(e,n){function r(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){r(t,e)},n)}o[t]=a,0==--i&&e(o)}catch(t){n(t)}}if(!t||void 0===t.length)return n(new TypeError("Promise.all accepts an array"));var o=Array.prototype.slice.call(t);if(0===o.length)return e([]);for(var i=o.length,a=0;a<o.length;a++)r(a,o[a])})},P.race=function(t){return new P(function(e,n){if(!t||void 0===t.length)return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=t.length;r<o;r++)H(t[r]).then(e,n)})},P.resolve=H,P.reject=function(t){return new P(function(e,n){n(t)})};var G=document.createTextNode(""),K=[];new MutationObserver(function(){for(var t=K.length,e=0;e<t;e++)K[e]();K.splice(0,t)}).observe(G,{characterData:!0}),W=function(t){K.push(t),G.textContent=0<G.textContent.length?"":"a"}}!function(t,e){if(!(e in t)){var n=typeof global==typeof n?window:global,r=0,o=""+Math.random(),i="__symbol@@"+o,a=t.getOwnPropertyNames,s=t.getOwnPropertyDescriptor,l=t.create,c=t.keys,u=t.freeze||t,h=t.defineProperty,d=t.defineProperties,f=s(t,"getOwnPropertyNames"),p=t.prototype,_=p.hasOwnProperty,m=p.propertyIsEnumerable,v=p.toString,y=function(t,e,n){_.call(t,i)||h(t,i,{enumerable:!1,configurable:!1,writable:!1,value:{}}),t[i]["@@"+e]=n},g=function(){},b=function(t){return t!=i&&!_.call(S,t)},E=function(t){return t!=i&&_.call(S,t)},w=function(t){var e=""+t;return E(e)?_.call(this,e)&&this[i]["@@"+e]:m.call(this,t)},N=function(e){return h(p,e,{enumerable:!1,configurable:!0,get:g,set:function(t){M(this,e,{enumerable:!1,configurable:!0,writable:!0,value:t}),y(this,e,!0)}}),u(S[e]=h(t(e),"constructor",T))},C=function t(e){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return N("__symbol:".concat(e||"",o,++r))},S=l(null),T={value:C},O=function(t){return S[t]},D=function(t,e,n){var r=""+e;if(E(r)){if(e=M,n.enumerable){var o=l(n);o.enumerable=!1}else o=n;e(t,r,o),y(t,r,!!n.enumerable)}else h(t,e,n);return t},x=function(t){return a(t).filter(E).map(O)};f.value=D,h(t,"defineProperty",f),f.value=x,h(t,e,f),f.value=function(t){return a(t).filter(b)},h(t,"getOwnPropertyNames",f),f.value=function(t,e){var n=x(e);return n.length?c(e).concat(n).forEach(function(n){w.call(e,n)&&D(t,n,e[n])}):d(t,e),t},h(t,"defineProperties",f),f.value=w,h(p,"propertyIsEnumerable",f),f.value=C,h(n,"Symbol",f),f.value=function(t){return(t="__symbol:".concat("__symbol:",t,o))in p?S[t]:N(t)},h(C,"for",f),f.value=function(t){if(b(t))throw new TypeError(t+" is not a symbol");if(_.call(S,t)&&("__symbol:"===(t=t.slice(10)).slice(0,10)&&(t=t.slice(10))!==o))return 0<(t=t.slice(0,t.length-o.length)).length?t:void 0},h(C,"keyFor",f),f.value=function(t,e){var n=s(t,e);return n&&E(e)&&(n.enumerable=w.call(t,e)),n},h(t,"getOwnPropertyDescriptor",f),f.value=function(t,e){return 1===arguments.length||void 0===e?l(t):function(t,e){var n=l(t);return a(e).forEach(function(t){w.call(e,t)&&D(n,t,e[t])}),n}(t,e)},h(t,"create",f),f.value=function(){var t=v.call(this);return"[object String]"===t&&E(this)?"[object Symbol]":t},h(p,"toString",f);try{if(!0!==l(h({},"__symbol:",{get:function(){return h(this,"__symbol:",{value:!0})["__symbol:"]}}))["__symbol:"])throw"IE11";var M=h}catch(t){M=function(t,e,n){var r=s(p,e);delete p[e],h(t,e,n),h(p,e,r)}}}}(Object,"getOwnPropertySymbols"),F=Object,I=Symbol,B=F.defineProperty,q=F.prototype,V=q.toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach(function(t){if(!(t in I))switch(B(I,t,{value:I(t)}),t){case"toStringTag":(U=F.getOwnPropertyDescriptor(q,"toString")).value=function(){var t=V.call(this),e=null!=this?this[I.toStringTag]:this;return null==e?t:"[object "+e+"]"},B(q,"toString",U)}}),function(t,e,n){function r(){return this}e[t]||(e[t]=function(){var e=0,n=this,o={next:function(){var t=n.length<=e;return t?{done:t}:{done:t,value:n[e++]}}};return o[t]=r,o}),n[t]||(n[t]=function(){var e=String.fromCodePoint,n=this,o=0,i=n.length,a={next:function(){var t=i<=o,r=t?"":e(n.codePointAt(o));return o+=r.length,t?{done:t}:{done:t,value:r}}};return a[t]=r,a})}(Symbol.iterator,Array.prototype,String.prototype);var X=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":X.call(this)},Object.keys=function(t){return Object.getOwnPropertyNames(t).filter(function(e){return(e=Object.getOwnPropertyDescriptor(t,e))&&e.enumerable})},o(),l(),String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(o(),l(),String.prototype[Symbol.iterator]=function t(){var e,n=this;return E(t,function(t){if(1==t.a&&(e=0),3!=t.a)return e<n.length?t=v(t,n[e]):(t.a=0,t=void 0),t;e++,t.a=2})}),o(),l(),Set.prototype[Symbol.iterator]||(o(),l(),Set.prototype[Symbol.iterator]=function t(){var e,n,r=this;return E(t,function(t){if(1==t.a&&(e=[],r.forEach(function(t){e.push(t)}),n=0),3!=t.a)return n<e.length?t=v(t,e[n]):(t.a=0,t=void 0),t;n++,t.a=2})}),o(),l(),Map.prototype[Symbol.iterator]||(o(),l(),Map.prototype[Symbol.iterator]=function t(){var e,n,r=this;return E(t,function(t){if(1==t.a&&(e=[],r.forEach(function(t,n){e.push([n,t])}),n=0),3!=t.a)return n<e.length?t=v(t,e[n]):(t.a=0,t=void 0),t;n++,t.a=2})});var z=window;z.WebComponents=z.WebComponents||{flags:{}};var J=document.querySelector('script[src*="webcomponents-bundle"]'),$=/wc-(.+)/,Y={};if(!Y.noOpts){if(location.search.slice(1).split("&").forEach(function(t){var e;(t=t.split("="))[0]&&(e=t[0].match($))&&(Y[e[1]]=t[1]||!0)}),J)for(var Z=0,Q=void 0;Q=J.attributes[Z];Z++)"src"!==Q.name&&(Y[Q.name]=Q.value||!0);var tt={};Y.log&&Y.log.split&&Y.log.split(",").forEach(function(t){tt[t]=!0}),Y.log=tt}z.WebComponents.flags=Y;var et=Y.shadydom;if(et){z.ShadyDOM=z.ShadyDOM||{},z.ShadyDOM.force=et;var nt=Y.noPatch;z.ShadyDOM.noPatch="true"===nt||nt}var rt=Y.register||Y.ce;function ot(){}function it(t){return t.__shady||(t.__shady=new ot),t.__shady}function at(t){return t&&t.__shady}rt&&window.customElements&&(z.customElements.forcePolyfill=rt),ot.prototype.toJSON=function(){return{}};var st=window.ShadyDOM||{};st.Ua=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var lt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function ct(t){return(t=at(t))&&void 0!==t.firstChild}function ut(t){return t instanceof ShadowRoot}function ht(t){return(t=(t=at(t))&&t.root)&&Bn(t)}st.B=!!(lt&&lt.configurable&&lt.get),st.sa=st.force||!st.Ua,st.D=st.noPatch||!1,st.aa=st.preferPerformance,st.ua="on-demand"===st.D,st.Ia=navigator.userAgent.match("Trident");var dt=Element.prototype,ft=dt.matches||dt.matchesSelector||dt.mozMatchesSelector||dt.msMatchesSelector||dt.oMatchesSelector||dt.webkitMatchesSelector,pt=document.createTextNode(""),_t=0,mt=[];function vt(t){mt.push(t),pt.textContent=_t++}new MutationObserver(function(){for(;mt.length;)try{mt.shift()()}catch(t){throw pt.textContent=_t++,t}}).observe(pt,{characterData:!0});var yt=document.contains?function(t,e){return t.__shady_native_contains(e)}:function(t,e){return t===e||t.documentElement&&t.documentElement.__shady_native_contains(e)};function gt(t,e){for(;e;){if(e==t)return!0;e=e.__shady_parentNode}return!1}function bt(t){for(var e=t.length-1;0<=e;e--){var n=t[e],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(t[r]=n)}return t.item=function(e){return t[e]},t.namedItem=function(e){if("length"!==e&&isNaN(e)&&t[e])return t[e];for(var n=c(t),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==e)return r;return null},t}function Et(t){var e=[];for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)e.push(t);return e}function wt(t){var e=[];for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e.push(t);return e}function Nt(t,e,n){if(n.configurable=!0,n.value)t[e]=n.value;else try{Object.defineProperty(t,e,n)}catch(t){}}function Ct(t,e,n,r){for(var o in n=void 0===n?"":n,e)r&&0<=r.indexOf(o)||Nt(t,n+o,e[o])}function St(t,e){for(var n in e)n in t&&Nt(t,n,e[n])}function Tt(t){var e={};return Object.getOwnPropertyNames(t).forEach(function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)}),e}function Ot(t,e){for(var n,r=Object.getOwnPropertyNames(e),o=0;o<r.length;o++)t[n=r[o]]=e[n]}var Dt,xt=[];function Mt(t){Dt||(Dt=!0,vt(Pt)),xt.push(t)}function Pt(){Dt=!1;for(var t=!!xt.length;xt.length;)xt.shift()();return t}function At(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.ja=new Set}Pt.list=xt,At.prototype.flush=function(){if(this.a){this.a=!1;var t=this.takeRecords();t.length&&this.ja.forEach(function(e){e(t)})}},At.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var Lt=/[&\u00A0"]/g,jt=/[&\u00A0<>]/g;function kt(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Rt(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var Ht=Rt("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ft=Rt("style script xmp iframe noembed noframes plaintext noscript".split(" "));function It(t,e){"template"===t.localName&&(t=t.content);for(var n="",r=e?e(t):t.childNodes,o=0,i=r.length,a=void 0;o<i&&(a=r[o]);o++){t:{var s=a,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u,h="<"+(l=s.localName),d=s.attributes,f=0;u=d[f];f++)h+=" "+u.name+'="'+u.value.replace(Lt,kt)+'"';h+=">",s=Ht[l]?h:h+It(s,c)+"</"+l+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&Ft[l.localName]?s:s.replace(jt,kt);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var Ut=st.B,Bt={querySelector:function(t){return this.__shady_native_querySelector(t)},querySelectorAll:function(t){return this.__shady_native_querySelectorAll(t)}},qt={};function Vt(t){qt[t]=function(e){return e["__shady_native_"+t]}}function Wt(t,e){for(var n in Ct(t,e,"__shady_native_"),e)Vt(n)}function Gt(t,e){e=void 0===e?[]:e;for(var n=0;n<e.length;n++){var r=e[n],o=Object.getOwnPropertyDescriptor(t,r);o&&(Object.defineProperty(t,"__shady_native_"+r,o),o.value?Bt[r]||(Bt[r]=o.value):Vt(r))}}var Kt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Xt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),zt=document.implementation.createHTMLDocument("inert");function Jt(t){for(var e;e=t.__shady_native_firstChild;)t.__shady_native_removeChild(e)}var $t=["firstElementChild","lastElementChild","children","childElementCount"],Yt=["querySelector","querySelectorAll"];var Zt=Tt({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),Qt=Tt({get textContent(){return this.__shady_textContent},set textContent(t){this.__shady_textContent=t},get innerHTML(){return this.__shady_innerHTML},set innerHTML(t){return this.__shady_innerHTML=t}}),te=Tt({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(t){return this.__shady_className=t}});function ee(t){for(var e in t){var n=t[e];n&&(n.enumerable=!1)}}ee(Zt),ee(Qt),ee(te);var ne=st.B||!0===st.D,re=ne?function(){}:function(t){var e=it(t);e.Ka||(e.Ka=!0,St(t,te))},oe=ne?function(){}:function(t){var e=it(t);e.Ja||(e.Ja=!0,St(t,Zt),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!st.D||St(t,Qt))},ie="__eventWrappers"+Date.now(),ae=function(){var t=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return t?function(e){return t.get.call(e)}:null}(),se=function(){function t(){}var e=!1,n={get capture(){return e=!0,!1}};return window.addEventListener("test",t,n),window.removeEventListener("test",t,n),e}();function le(t){if(t&&"object"==typeof t)var e=!!t.capture,n=!!t.once,r=!!t.passive,o=t.O;else e=!!t,r=n=!1;return{Ga:o,capture:e,once:n,passive:r,Fa:se?t:e}}var ce={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},ue={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function he(t){return t instanceof Node?t.__shady_getRootNode():t}function de(t,e){var n=[],r=t;for(t=he(t);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(e||r!==t)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function fe(t,e){if(!ut)return t;t=de(t,!0);for(var n,r,o=0,i=void 0,a=void 0;o<e.length;o++)if((r=he(n=e[o]))!==i&&(a=t.indexOf(r),i=r),!ut(r)||-1<a)return n}function pe(t){function e(e,n){return(e=new t(e,n)).__composed=n&&!!n.composed,e}return e.__proto__=t,e.prototype=t.prototype,e}var _e={focus:!0,blur:!0};function me(t){return t.__target!==t.target||t.__relatedTarget!==t.relatedTarget}function ve(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var r,o=0;(r=n[o])&&(!me(t)||t.target!==t.relatedTarget)&&(r.call(e,t),!t.__immediatePropagationStopped);o++);}function ye(t){var e=t.composedPath(),n=e.map(function(t){return fe(t,e)}),r=t.bubbles;Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return a}});var o=Event.CAPTURING_PHASE;Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=e.length-1;0<=i;i--){var a=e[i];if(o=a===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,ve(t,a,"capture"),t.ma)return}for(i=0;i<e.length;i++){var s=(a=e[i])===n[i];if((s||r)&&(o=s?Event.AT_TARGET:Event.BUBBLING_PHASE,ve(t,a,"bubble"),t.ma))return}o=0,a=null}function ge(t,e,n,r,o,i){for(var a=0;a<t.length;a++){var s=t[a],l=s.type,c=s.capture,u=s.once,h=s.passive;if(e===s.node&&n===l&&r===c&&o===u&&i===h)return a}return-1}function be(t){return Pt(),!st.aa&&this instanceof Node&&!yt(document,this)?(t.__target||Ce(t,this),ye(t)):this.__shady_native_dispatchEvent(t)}function Ee(t,e,n){var r=le(n),o=r.capture,i=r.once,a=r.passive,s=r.Ga;if(r=r.Fa,e){var l=typeof e;if(("function"===l||"object"===l)&&("object"!==l||e.handleEvent&&"function"==typeof e.handleEvent)){if(ue[t])return this.__shady_native_addEventListener(t,e,r);var c=s||this;if(s=e[ie]){if(-1<ge(s,c,t,o,i,a))return}else e[ie]=[];s=function(r){if(i&&this.__shady_removeEventListener(t,e,n),r.__target||Ce(r),c!==this){var a=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return c},configurable:!0});var s=Object.getOwnPropertyDescriptor(r,"eventPhase");Object.defineProperty(r,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(r.__previousCurrentTarget=r.currentTarget,(!ut(c)&&"slot"!==c.localName||-1!=r.composedPath().indexOf(c))&&(r.composed||-1<r.composedPath().indexOf(c)))if(me(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===c||c instanceof Window){var u="function"===l?e.call(c,r):e.handleEvent&&e.handleEvent(r);return c!==this&&(a?(Object.defineProperty(r,"currentTarget",a),a=null):delete r.currentTarget,s?(Object.defineProperty(r,"eventPhase",s),s=null):delete r.eventPhase),u}},e[ie].push({node:c,type:t,capture:o,once:i,passive:a,lb:s}),this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][o?"capture":"bubble"].push(s),_e[t]||this.__shady_native_addEventListener(t,s,r)}}}function we(t,e,n){if(e){var r=le(n);n=r.capture;var o=r.once,i=r.passive,a=r.Ga;if(r=r.Fa,ue[t])return this.__shady_native_removeEventListener(t,e,r);var s=a||this;a=void 0;var l=null;try{l=e[ie]}catch(t){}l&&(-1<(o=ge(l,s,t,n,o,i))&&(a=l.splice(o,1)[0].lb,l.length||(e[ie]=void 0))),this.__shady_native_removeEventListener(t,a||e,r),a&&this.__handlers&&this.__handlers[t]&&(-1<(e=(t=this.__handlers[t][n?"capture":"bubble"]).indexOf(a))&&t.splice(e,1))}}var Ne=Tt({get composed(){return void 0===this.__composed&&(ae?this.__composed="focusin"===this.type||"focusout"===this.type||ae(this):!1!==this.isTrusted&&(this.__composed=ce[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=de(this.__target,this.composed)),this.__composedPath},get target(){return fe(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=de(this.__relatedTarget,!0)),fe(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ma=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ma=this.__immediatePropagationStopped=!0}});function Ce(t,e){if(e=void 0===e?t.target:e,t.__target=e,t.__relatedTarget=t.relatedTarget,st.B){if(!(e=Object.getPrototypeOf(t)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(e);n.__shady_sourceProto=e,Ct(n,Ne),e.__shady_patchedProto=n}t.__proto__=e.__shady_patchedProto}else Ct(t,Ne)}var Se=pe(Event),Te=pe(CustomEvent),Oe=pe(MouseEvent);var De=Object.getOwnPropertyNames(Element.prototype).filter(function(t){return"on"===t.substring(0,2)}),xe=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(t){return"on"===t.substring(0,2)});function Me(t){return{set:function(e){var n=it(this),r=t.substring(2);n.N||(n.N={}),n.N[t]&&this.removeEventListener(r,n.N[t]),this.__shady_addEventListener(r,e),n.N[t]=e},get:function(){var e=at(this);return e&&e.N&&e.N[t]},configurable:!0}}function Pe(t,e){return{index:t,ba:[],ia:e}}function Ae(t,e,n,r){var o=0,i=0,a=0,s=0,l=Math.min(e-o,r-i);if(0==o&&0==i)t:{for(a=0;a<l;a++)if(t[a]!==n[a])break t;a=l}if(e==t.length&&r==n.length){s=t.length;for(var c=n.length,u=0;u<l-a&&Le(t[--s],n[--c]);)u++;s=u}if(i+=a,r-=s,0==(e-=s)-(o+=a)&&0==r-i)return[];if(o==e){for(e=Pe(o,0);i<r;)e.ba.push(n[i++]);return[e]}if(i==r)return[Pe(o,e-o)];for(r=r-(a=i)+1,s=e-(l=o)+1,e=Array(r),c=0;c<r;c++)e[c]=Array(s),e[c][0]=c;for(c=0;c<s;c++)e[0][c]=c;for(c=1;c<r;c++)for(u=1;u<s;u++)if(t[l+u-1]===n[a+c-1])e[c][u]=e[c-1][u-1];else{var h=e[c-1][u]+1,d=e[c][u-1]+1;e[c][u]=h<d?h:d}for(l=e.length-1,a=e[0].length-1,r=e[l][a],t=[];0<l||0<a;)0==l?(t.push(2),a--):0==a?(t.push(3),l--):(s=e[l-1][a-1],(h=(c=e[l-1][a])<(u=e[l][a-1])?c<s?c:s:u<s?u:s)==s?(s==r?t.push(0):(t.push(1),r=s),l--,a--):h==c?(t.push(3),l--,r=c):(t.push(2),a--,r=u));for(t.reverse(),e=void 0,l=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(l.push(e),e=void 0),o++,i++;break;case 1:e||(e=Pe(o,0)),e.ia++,o++,e.ba.push(n[i]),i++;break;case 2:e||(e=Pe(o,0)),e.ia++,o++;break;case 3:e||(e=Pe(o,0)),e.ba.push(n[i]),i++}return e&&l.push(e),l}function Le(t,e){return t===e}var je=Tt({dispatchEvent:be,addEventListener:Ee,removeEventListener:we}),ke=null;function Re(){return ke||(ke=window.ShadyCSS&&window.ShadyCSS.ScopingShim),ke||null}function He(t,e,n){var r=Re();return!(!r||"class"!==e)&&(r.setElementClass(t,n),!0)}function Fe(t,e){var n=Re();n&&n.unscopeNode(t,e)}function Ie(t){if(t.nodeType!==Node.ELEMENT_NODE)return"";var e=Re();return e?e.currentScopeForNode(t):""}function Ue(t,e){if(t)for(t.nodeType===Node.ELEMENT_NODE&&e(t),t=t.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType===Node.ELEMENT_NODE&&Ue(t,e)}var Be=window.document,qe=st.aa,Ve=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),We=Ve&&Ve.get;function Ge(t){for(var e;e=t.__shady_firstChild;)t.__shady_removeChild(e)}function Ke(t,e,n){if(t=(t=at(t))&&t.Z){if(e)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=e.childNodes.length;r<o;r++)t.addedNodes.push(e.childNodes[r]);else t.addedNodes.push(e);n&&t.removedNodes.push(n),function(t){t.a||(t.a=!0,vt(function(){t.flush()}))}(t)}}var Xe=Tt({get parentNode(){var t=at(this);return void 0!==(t=t&&t.parentNode)?t:this.__shady_native_parentNode},get firstChild(){var t=at(this);return void 0!==(t=t&&t.firstChild)?t:this.__shady_native_firstChild},get lastChild(){var t=at(this);return void 0!==(t=t&&t.lastChild)?t:this.__shady_native_lastChild},get nextSibling(){var t=at(this);return void 0!==(t=t&&t.nextSibling)?t:this.__shady_native_nextSibling},get previousSibling(){var t=at(this);return void 0!==(t=t&&t.previousSibling)?t:this.__shady_native_previousSibling},get childNodes(){if(ct(this)){var t=at(this);if(!t.childNodes){t.childNodes=[];for(var e=this.__shady_firstChild;e;e=e.__shady_nextSibling)t.childNodes.push(e)}var n=t.childNodes}else n=this.__shady_native_childNodes;return n.item=function(t){return n[t]},n},get parentElement(){var t=at(this);return(t=t&&t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:this.__shady_native_parentElement},get isConnected(){if(We&&We.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var t=this.ownerDocument;if(null===t||yt(t,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.__shady_parentNode||(ut(t)?t.host:void 0);return!!(t&&t instanceof Document)},get textContent(){if(ct(this)){for(var t=[],e=this.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.__shady_textContent);return t.join("")}return this.__shady_native_textContent},set textContent(t){switch(void 0!==t&&null!==t||(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!ct(this)&&st.B){var e=this.__shady_firstChild;(e!=this.__shady_lastChild||e&&e.nodeType!=Node.TEXT_NODE)&&Ge(this),this.__shady_native_textContent=t}else Ge(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(t));break;default:this.nodeValue=t}},insertBefore:function(t,e){if(this.ownerDocument!==Be&&t.ownerDocument!==Be)return this.__shady_native_insertBefore(t,e),t;if(t===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(e){var n=at(e);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&e.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(e===t)return t;Ke(this,t);var r=[],o=(n=Gn(this))?n.host.localName:Ie(this),i=t.__shady_parentNode;if(i){var a=Ie(t),s=!!n||!Gn(t)||qe&&void 0!==this.__noInsertionPoint;i.__shady_removeChild(t,s)}i=!0;var l=(!qe||void 0===t.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function t(e,n){var r=Re();if(!r)return!0;if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,e=e.__shady_firstChild;e;e=e.__shady_nextSibling)r=r&&t(e,n);return r}return e.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(e)===n}(t,o),h=n&&!t.__noInsertionPoint&&(!qe||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(h||l)&&(l&&(a=a||Ie(t)),Ue(t,function(t){if(h&&"slot"===t.localName&&r.push(t),l){var e=a;Re()&&(e&&Fe(t,e),(e=Re())&&e.scopeNode(t,o))}})),r.length&&(Hn(n),n.c.push.apply(n.c,r instanceof Array?r:u(c(r))),An(n)),ct(this)&&(function(t,e,n){En(e,2);var r=it(e);if(void 0!==r.firstChild&&(r.childNodes=null),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)wn(t,e,r,n);else wn(t,e,r,n)}(t,this,e),(s=at(this)).root?(i=!1,ht(this)&&An(s.root)):n&&"slot"===this.localName&&(i=!1,An(n))),i?(n=ut(this)?this.host:this,e?(e=function t(e){var n=e;if(e&&"slot"===e.localName){var r=at(e);(r=r&&r.V)&&(n=r.length?r[0]:t(e.__shady_nextSibling))}return n}(e),n.__shady_native_insertBefore(t,e)):n.__shady_native_appendChild(t)):t.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(t),t},appendChild:function(t){if(this!=t||!ut(t))return this.__shady_insertBefore(t)},removeChild:function(t,e){if(e=void 0!==e&&e,this.ownerDocument!==Be)return this.__shady_native_removeChild(t);if(t.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+t);Ke(this,null,t);var n=Gn(t),r=n&&function(t,e){if(t.a){Fn(t);var n,r=t.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var a=o[i];if(gt(e,a)){o.splice(i,1);var s=t.a.indexOf(a);if(0<=s&&(t.a.splice(s,1),(s=at(a.__shady_parentNode))&&s.da&&s.da--),i--,a=at(a),s=a.V)for(var l=0;l<s.length;l++){var c=s[l],u=c.__shady_native_parentNode;u&&u.__shady_native_removeChild(c)}a.V=[],a.assignedNodes=[],s=!0}}return s}}(n,t),o=at(this);if(ct(this)&&(function(t,e){var n=it(t);e=it(e),t===e.firstChild&&(e.firstChild=n.nextSibling),t===e.lastChild&&(e.lastChild=n.previousSibling),t=n.previousSibling;var r=n.nextSibling;t&&(it(t).nextSibling=r),r&&(it(r).previousSibling=t),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==e.childNodes&&(e.childNodes=null)}(t,this),ht(this))){An(o.root);var i=!0}if(Re()&&!e&&n&&t.nodeType!==Node.TEXT_NODE){var a=Ie(t);Ue(t,function(t){Fe(t,a)})}return function t(e){var n=at(e);if(n&&void 0!==n.la)for(n=e.__shady_firstChild;n;n=n.__shady_nextSibling)t(n);(e=at(e))&&(e.la=void 0)}(t),n&&((e="slot"===this.localName)&&(i=!0),(r||e)&&An(n)),i||(i=ut(this)?this.host:this,(!o.root&&"slot"!==t.localName||i===t.__shady_native_parentNode)&&i.__shady_native_removeChild(t)),t},replaceChild:function(t,e){return this.__shady_insertBefore(t,e),this.__shady_removeChild(e),t},cloneNode:function(t){if("template"==this.localName)return this.__shady_native_cloneNode(t);var e=this.__shady_native_cloneNode(!1);if(t&&e.nodeType!==Node.ATTRIBUTE_NODE){t=this.__shady_firstChild;for(var n;t;t=t.__shady_nextSibling)n=t.__shady_cloneNode(!0),e.__shady_appendChild(n)}return e},getRootNode:function(t){if(this&&this.nodeType){var e=it(this),n=e.la;return void 0===n&&(ut(this)?(n=this,e.la=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(t):this,document.documentElement.__shady_native_contains(this)&&(e.la=n))),n}},contains:function(t){return gt(this,t)}}),ze=Tt({get assignedSlot(){var t=this.__shady_parentNode;return(t=t&&t.__shady_shadowRoot)&&Ln(t),(t=at(this))&&t.assignedSlot||null}});function Je(t,e,n){var r=[];return function t(e,n,r,o){for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling){var i;if(i=e.nodeType===Node.ELEMENT_NODE){var a=n,s=r,l=o,c=a(i=e);c&&l.push(i),s&&s(c)?i=c:(t(i,a,s,l),i=void 0)}if(i)break}}(t,e,n,r),r}var $e=Tt({get firstElementChild(){var t=at(this);if(t&&void 0!==t.firstChild){for(t=this.__shady_firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_firstElementChild},get lastElementChild(){var t=at(this);if(t&&void 0!==t.lastChild){for(t=this.__shady_lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_lastElementChild},get children(){return ct(this)?bt(Array.prototype.filter.call(wt(this),function(t){return t.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var t=this.__shady_children;return t?t.length:0}}),Ye=Tt({querySelector:function(t){return Je(this,function(e){return ft.call(e,t)},function(t){return!!t})[0]||null},querySelectorAll:function(t,e){if(e){e=Array.prototype.slice.call(this.__shady_native_querySelectorAll(t));var n=this.__shady_getRootNode();return bt(e.filter(function(t){return t.__shady_getRootNode()==n}))}return bt(Je(this,function(e){return ft.call(e,t)}))}}),Ze=st.aa&&!st.D?Ot({},$e):$e;Ot($e,Ye);var Qe=window.document;function tn(t,e){if("slot"===e)ht(t=t.__shady_parentNode)&&An(at(t).root);else if("slot"===t.localName&&"name"===e&&(e=Gn(t))){if(e.a){Fn(e);var n=t.La,r=In(t);if(r!==n){var o=(n=e.b[n]).indexOf(t);0<=o&&n.splice(o,1),(n=e.b[r]||(e.b[r]=[])).push(t),1<n.length&&(e.b[r]=Un(n))}}An(e)}}var en=Tt({get previousElementSibling(){var t=at(this);if(t&&void 0!==t.previousSibling){for(t=this.__shady_previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_previousElementSibling},get nextElementSibling(){var t=at(this);if(t&&void 0!==t.nextSibling){for(t=this.__shady_nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(t){this.__shady_setAttribute("slot",t)},get className(){return this.getAttribute("class")||""},set className(t){this.__shady_setAttribute("class",t)},setAttribute:function(t,e){this.ownerDocument!==Qe?this.__shady_native_setAttribute(t,e):He(this,t,e)||(this.__shady_native_setAttribute(t,e),tn(this,t))},removeAttribute:function(t){this.ownerDocument!==Qe?this.__shady_native_removeAttribute(t):He(this,t,"")?""===this.getAttribute(t)&&this.__shady_native_removeAttribute(t):(this.__shady_native_removeAttribute(t),tn(this,t))}});st.aa||De.forEach(function(t){en[t]=Me(t)});var nn=Tt({attachShadow:function(t){if(!this)throw Error("Must provide a host.");if(!t)throw Error("Not enough arguments.");if(t.shadyUpgradeFragment&&!st.Ia){var e=t.shadyUpgradeFragment;if(e.__proto__=ShadowRoot.prototype,Pn(e,this,t),Nn(e,e),t=e.__noInsertionPoint?null:e.querySelectorAll("slot"),e.__noInsertionPoint=void 0,t&&t.length){var n=e;Hn(n),n.c.push.apply(n.c,t instanceof Array?t:u(c(t))),An(e)}e.host.__shady_native_appendChild(e)}else e=new Mn(On,this,t);return this.__CE_shadowRoot=e},get shadowRoot(){var t=at(this);return t&&t.bb||null}});Ot(en,nn);var rn=document.implementation.createHTMLDocument("inert"),on=Tt({get innerHTML(){return ct(this)?It("template"===this.localName?this.content:this,wt):this.__shady_native_innerHTML},set innerHTML(t){if("template"===this.localName)this.__shady_native_innerHTML=t;else{Ge(this);var e=this.localName||"div";for(e=this.namespaceURI&&this.namespaceURI!==rn.namespaceURI?rn.createElementNS(this.namespaceURI,e):rn.createElement(e),st.B?e.__shady_native_innerHTML=t:e.innerHTML=t;t=e.__shady_firstChild;)this.__shady_insertBefore(t)}}}),an=Tt({blur:function(){var t=at(this);(t=(t=t&&t.root)&&t.activeElement)?t.__shady_blur():this.__shady_native_blur()}});st.aa||xe.forEach(function(t){an[t]=Me(t)});var sn=Tt({assignedNodes:function(t){if("slot"===this.localName){var e=this.__shady_getRootNode();return e&&ut(e)&&Ln(e),(e=at(this))&&(t&&t.flatten?e.V:e.assignedNodes)||[]}},addEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)Ee.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.O=this,r.__shady_addEventListener(t,e,n)}},removeEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)we.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.O=this,r.__shady_removeEventListener(t,e,n)}}}),ln=Tt({getElementById:function(t){return""===t?null:Je(this,function(e){return e.id==t},function(t){return!!t})[0]||null}}),cn=Tt({get activeElement(){var t=st.B?document.__shady_native_activeElement:document.activeElement;if(!t||!t.nodeType)return null;var e=!!ut(this);if(!(this===document||e&&this.host!==t&&this.host.__shady_native_contains(t)))return null;for(e=Gn(t);e&&e!==this;)e=Gn(t=e.host);return this===document?e?null:t:e===this?t:null}}),un=window.document,hn=Tt({importNode:function(t,e){if(t.ownerDocument!==un||"template"===t.localName)return this.__shady_native_importNode(t,e);var n=this.__shady_native_importNode(t,!1);if(e)for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e=this.__shady_importNode(t,!0),n.__shady_appendChild(e);return n}}),dn=Tt({dispatchEvent:be,addEventListener:Ee.bind(window),removeEventListener:we.bind(window)}),fn={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(fn.parentElement=Xe.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(fn.contains=Xe.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(fn.children=$e.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(fn.innerHTML=on.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(fn.className=en.className);var pn={EventTarget:[je],Node:[Xe,window.EventTarget?null:je],Text:[ze],Comment:[ze],CDATASection:[ze],ProcessingInstruction:[ze],Element:[en,$e,ze,!st.B||"innerHTML"in Element.prototype?on:null,window.HTMLSlotElement?null:sn],HTMLElement:[an,fn],HTMLSlotElement:[sn],DocumentFragment:[Ze,ln],Document:[hn,Ze,ln,cn],Window:[dn]},_n=st.B?null:["innerHTML","textContent"];function mn(t,e,n,r){e.forEach(function(e){return t&&e&&Ct(t,e,n,r)})}function vn(t){var e,n=t?null:_n;for(e in pn)mn(window[e]&&window[e].prototype,pn[e],t,n)}function yn(t){return t.__shady_protoIsPatched=!0,mn(t,pn.EventTarget),mn(t,pn.Node),mn(t,pn.Element),mn(t,pn.HTMLElement),mn(t,pn.HTMLSlotElement),t}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(t){var e=window[t],n=Object.create(e.prototype);n.__shady_protoIsPatched=!0,mn(n,pn.EventTarget),mn(n,pn.Node),pn[t]&&mn(n,pn[t]),e.prototype.__shady_patchedProto=n});var gn=st.ua,bn=st.B;function En(t,e){if(gn&&!t.__shady_protoIsPatched&&!ut(t)){var n=Object.getPrototypeOf(t),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(yn(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(t,r)}bn||(1===e?re(t):2===e&&oe(t))}function wn(t,e,n,r){En(t,1),r=r||null;var o=it(t),i=r?it(r):null;o.previousSibling=r?i.previousSibling:e.__shady_lastChild,(i=at(o.previousSibling))&&(i.nextSibling=t),(i=at(o.nextSibling=r))&&(i.previousSibling=t),o.parentNode=e,r?r===n.firstChild&&(n.firstChild=t):(n.lastChild=t,n.firstChild||(n.firstChild=t)),n.childNodes=null}function Nn(t,e){var n=it(t);if(e||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=t.__shady_native_firstChild;for(n.lastChild=t.__shady_native_lastChild,En(t,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=it(n);o.parentNode=e||t,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,En(n,1)}}}var Cn=Tt({addEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.O=n.O||this,this.host.__shady_addEventListener(t,e,n)},removeEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.O=n.O||this,this.host.__shady_removeEventListener(t,e,n)}});function Sn(t,e){Ct(t,Cn,e),Ct(t,cn,e),Ct(t,on,e),Ct(t,$e,e),st.D&&!e?(Ct(t,Xe,e),Ct(t,ln,e)):st.B||(Ct(t,te),Ct(t,Zt),Ct(t,Qt))}var Tn,On={},Dn=st.deferConnectionCallbacks&&"loading"===document.readyState;function xn(t){var e=[];do{e.unshift(t)}while(t=t.__shady_parentNode);return e}function Mn(t,e,n){if(t!==On)throw new TypeError("Illegal constructor");this.a=null,Pn(this,e,n)}function Pn(t,e,n){if(t.host=e,t.mode=n&&n.mode,Nn(t.host),(e=it(t.host)).root=t,e.bb="closed"!==t.mode?t:null,(e=it(t)).firstChild=e.lastChild=e.parentNode=e.nextSibling=e.previousSibling=null,st.preferPerformance)for(;e=t.host.__shady_native_firstChild;)t.host.__shady_native_removeChild(e);else An(t)}function An(t){t.T||(t.T=!0,Mt(function(){return Ln(t)}))}function Ln(t){var e;if(e=t.T){for(var n;t;)t.T&&(n=t),ut(t=(e=t).host.__shady_getRootNode())&&(e=at(e.host))&&0<e.da||(t=void 0);e=n}(n=e)&&n._renderSelf()}function jn(t,e,n){var r=it(e),o=r.oa;r.oa=null,n||(n=(t=t.b[e.__shady_slot||"__catchall"])&&t[0]),n?(it(n).assignedNodes.push(e),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(it(r.assignedSlot).ra=!0)}function kn(t,e,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=at(o).assignedNodes;i&&i.length&&kn(t,e,i)}else e.push(n[r])}function Rn(t,e){e.__shady_native_dispatchEvent(new Event("slotchange")),(e=at(e)).assignedSlot&&Rn(t,e.assignedSlot)}function Hn(t){t.c=t.c||[],t.a=t.a||[],t.b=t.b||{}}function Fn(t){if(t.c&&t.c.length){for(var e,n=t.c,r=0;r<n.length;r++){var o=n[r];Nn(o);var i=o.__shady_parentNode;Nn(i),(i=at(i)).da=(i.da||0)+1,i=In(o),t.b[i]?((e=e||{})[i]=!0,t.b[i].push(o)):t.b[i]=[o],t.a.push(o)}if(e)for(var a in e)t.b[a]=Un(t.b[a]);t.c=[]}}function In(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.La=e}function Un(t){return t.sort(function(t,e){t=xn(t);for(var n=xn(e),r=0;r<t.length;r++){e=t[r];var o=n[r];if(e!==o)return(t=wt(e.__shady_parentNode)).indexOf(e)-t.indexOf(o)}})}function Bn(t){return Fn(t),!(!t.a||!t.a.length)}if(Mn.prototype._renderSelf=function(){var t=Dn;if(Dn=!0,this.T=!1,this.a){Fn(this);for(var e,n=0;n<this.a.length;n++){var r=at(e=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.V=[],r.Ba=o)for(r=0;r<o.length;r++){var i=at(o[r]);i.oa=i.assignedSlot,i.assignedSlot===e&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)jn(this,n);for(n=0;n<this.a.length;n++){if(!(o=at(e=this.a[n])).assignedNodes.length)for(r=e.__shady_firstChild;r;r=r.__shady_nextSibling)jn(this,r,e);if((r=(r=at(e.__shady_parentNode))&&r.root)&&(Bn(r)||r.T)&&r._renderSelf(),kn(this,o.V,o.assignedNodes),r=o.Ba){for(i=0;i<r.length;i++)at(r[i]).oa=null;o.Ba=null,r.length>o.assignedNodes.length&&(o.ra=!0)}o.ra&&(o.ra=!1,Rn(this,e))}for(e=this.a,n=[],o=0;o<e.length;o++)(i=at(r=e[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(e=0;e<n.length;e++){for(o=(i=n[e])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var a=at(i).V,s=0;s<a.length;s++)r.push(a[s]);else r.push(i);i=Et(o),a=Ae(r,r.length,i,i.length);for(var l=s=0,c=void 0;s<a.length&&(c=a[s]);s++){for(var u=0,h=void 0;u<c.ba.length&&(h=c.ba[u]);u++)h.__shady_native_parentNode===o&&o.__shady_native_removeChild(h),i.splice(c.index+l,1);l-=c.ia}for(l=0,c=void 0;l<a.length&&(c=a[l]);l++)for(s=i[c.index],u=c.index;u<c.index+c.ia;u++)h=r[u],o.__shady_native_insertBefore(h,s),i.splice(u,0,h)}}if(!st.preferPerformance&&!this.Aa)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)e=at(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&e.assignedSlot||this.host.__shady_native_removeChild(n);this.Aa=!0,Dn=t,Tn&&Tn()},function(t){t.__proto__=DocumentFragment.prototype,Sn(t,"__shady_"),Sn(t),Object.defineProperties(t,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach(function(e){Object.defineProperty(t,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(function(e){Object.defineProperty(t,e,{get:function(){return this.host[e]},configurable:!0})})}(Mn.prototype),window.customElements&&window.customElements.define&&st.sa&&!st.preferPerformance){var qn=new Map;Tn=function(){var t=[];qn.forEach(function(e,n){t.push([n,e])}),qn.clear();for(var e=0;e<t.length;e++){var n=t[e][0];t[e][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Dn&&document.addEventListener("readystatechange",function(){Dn=!1,Tn()},{once:!0});var Vn=window.customElements.define,Wn=function(t,e){var n=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;Vn.call(window.customElements,t,function(t,e,n){var r=0,o="__isConnected"+r++;return(e||n)&&(t.prototype.connectedCallback=t.prototype.__shadydom_connectedCallback=function(){Dn?qn.set(this,!0):this[o]||(this[o]=!0,e&&e.call(this))},t.prototype.disconnectedCallback=t.prototype.__shadydom_disconnectedCallback=function(){Dn?this.isConnected||qn.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),t}(e,n,r)),e.prototype.connectedCallback=n,e.prototype.disconnectedCallback=r};window.customElements.define=Wn,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Wn,configurable:!0})}function Gn(t){if(ut(t=t.__shady_getRootNode()))return t}function Kn(t){this.node=t}function Xn(t){Object.defineProperty(Kn.prototype,t,{get:function(){return this.node["__shady_"+t]},set:function(e){this.node["__shady_"+t]=e},configurable:!0})}(t=Kn.prototype).addEventListener=function(t,e,n){return this.node.__shady_addEventListener(t,e,n)},t.removeEventListener=function(t,e,n){return this.node.__shady_removeEventListener(t,e,n)},t.appendChild=function(t){return this.node.__shady_appendChild(t)},t.insertBefore=function(t,e){return this.node.__shady_insertBefore(t,e)},t.removeChild=function(t){return this.node.__shady_removeChild(t)},t.replaceChild=function(t,e){return this.node.__shady_replaceChild(t,e)},t.cloneNode=function(t){return this.node.__shady_cloneNode(t)},t.getRootNode=function(t){return this.node.__shady_getRootNode(t)},t.contains=function(t){return this.node.__shady_contains(t)},t.dispatchEvent=function(t){return this.node.__shady_dispatchEvent(t)},t.setAttribute=function(t,e){this.node.__shady_setAttribute(t,e)},t.getAttribute=function(t){return this.node.__shady_native_getAttribute(t)},t.hasAttribute=function(t){return this.node.__shady_native_hasAttribute(t)},t.removeAttribute=function(t){this.node.__shady_removeAttribute(t)},t.attachShadow=function(t){return this.node.__shady_attachShadow(t)},t.focus=function(){this.node.__shady_native_focus()},t.blur=function(){this.node.__shady_blur()},t.importNode=function(t,e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(t,e)},t.getElementById=function(t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(t)},t.querySelector=function(t){return this.node.__shady_querySelector(t)},t.querySelectorAll=function(t,e){return this.node.__shady_querySelectorAll(t,e)},t.assignedNodes=function(t){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(t)},r.Object.defineProperties(Kn.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(ut(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(ut(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(t){this.node.__shady_innerHTML=t}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(t){this.node.__shady_textContent=t}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(t){this.node.__shady_slot=t}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(t){return this.node.__shady_className=t}}}),De.forEach(function(t){return Xn(t)}),xe.forEach(function(t){return Xn(t)});var zn=new WeakMap;function Jn(t){if(ut(t)||t instanceof Kn)return t;var e=zn.get(t);return e||(e=new Kn(t),zn.set(t,e)),e}if(st.sa){var $n=st.B?function(t){return t}:function(t){return oe(t),re(t),t},Yn={inUse:st.sa,patch:$n,isShadyRoot:ut,enqueue:Mt,flush:Pt,flushInitial:function(t){!t.Aa&&t.T&&Ln(t)},settings:st,filterMutations:function(t,e){var n=e.getRootNode();return t.map(function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if((e=[].slice.call(t.addedNodes).filter(function(t){return n===t.getRootNode()})).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t}).filter(function(t){return t})},observeChildren:function(t,e){var n=it(t);n.Z||(n.Z=new At),n.Z.ja.add(e);var r=n.Z;return{Ma:e,S:r,Na:t,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.S;e&&(e.ja.delete(t.Ma),e.ja.size||(it(t.Na).Z=null))},deferConnectionCallbacks:st.deferConnectionCallbacks,preferPerformance:st.preferPerformance,handlesDynamicScoping:!0,wrap:st.D?Jn:$n,wrapIfNeeded:!0===st.D?Jn:function(t){return t},Wrapper:Kn,composedPath:function(t){return t.__composedPath||(t.__composedPath=de(t.target,!0)),t.__composedPath},noPatch:st.D,patchOnDemand:st.ua,nativeMethods:Bt,nativeTree:qt,patchElementProto:yn};window.ShadyDOM=Yn,function(){var t=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?Gt(window.EventTarget.prototype,t):(Gt(Node.prototype,t),Gt(Window.prototype,t)),Ut?Gt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Wt(Node.prototype,{parentNode:{get:function(){return Kt.currentNode=this,Kt.parentNode()}},firstChild:{get:function(){return Kt.currentNode=this,Kt.firstChild()}},lastChild:{get:function(){return Kt.currentNode=this,Kt.lastChild()}},previousSibling:{get:function(){return Kt.currentNode=this,Kt.previousSibling()}},nextSibling:{get:function(){return Kt.currentNode=this,Kt.nextSibling()}},childNodes:{get:function(){var t=[];Kt.currentNode=this;for(var e=Kt.firstChild();e;)t.push(e),e=Kt.nextSibling();return t}},parentElement:{get:function(){return Xt.currentNode=this,Xt.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var t,e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return this.nodeValue}},set:function(t){switch(void 0!==t&&null!==t||(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Jt(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(t),void 0);break;default:this.nodeValue=t}}}}),Gt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Gt(HTMLElement.prototype,["parentElement","contains"]),t={firstElementChild:{get:function(){return Xt.currentNode=this,Xt.firstChild()}},lastElementChild:{get:function(){return Xt.currentNode=this,Xt.lastChild()}},children:{get:function(){var t=[];Xt.currentNode=this;for(var e=Xt.firstChild();e;)t.push(e),e=Xt.nextSibling();return bt(t)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ut?(Gt(Element.prototype,$t),Gt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Gt(HTMLElement.prototype,["children","innerHTML","className"])):(Wt(Element.prototype,t),Wt(Element.prototype,{previousElementSibling:{get:function(){return Xt.currentNode=this,Xt.previousSibling()}},nextElementSibling:{get:function(){return Xt.currentNode=this,Xt.nextSibling()}},innerHTML:{get:function(){return It(this,Et)},set:function(t){var e="template"===this.localName?this.content:this;Jt(e);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==zt.namespaceURI?zt.createElementNS(this.namespaceURI,n):zt.createElement(n)).innerHTML=t,t="template"===this.localName?n.content:n;n=t.__shady_native_firstChild;)e.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)}}})),Gt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Gt(Element.prototype,Yt),Gt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Gt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ut?Gt(DocumentFragment.prototype,$t):Wt(DocumentFragment.prototype,t),Gt(DocumentFragment.prototype,Yt),Ut?(Gt(Document.prototype,$t),Gt(Document.prototype,["activeElement"])):Wt(Document.prototype,t),Gt(Document.prototype,["importNode","getElementById"]),Gt(Document.prototype,Yt)}(),vn("__shady_"),Object.defineProperty(document,"_activeElement",cn.activeElement),Ct(Window.prototype,dn,"__shady_"),st.D?st.ua&&Ct(Element.prototype,nn):(vn(),function(){if(!ae&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var t=function(){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(t)};Element.prototype.click?Element.prototype.click=t:HTMLElement.prototype.click&&(HTMLElement.prototype.click=t)}}()),function(){for(var t in _e)window.__shady_native_addEventListener(t,function(t){t.__target||(Ce(t),ye(t))},!0)}(),window.Event=Se,window.CustomEvent=Te,window.MouseEvent=Oe,window.ShadowRoot=Mn}var Zn=window.Document.prototype.createElement,Qn=window.Document.prototype.createElementNS,tr=window.Document.prototype.importNode,er=window.Document.prototype.prepend,nr=window.Document.prototype.append,rr=window.DocumentFragment.prototype.prepend,or=window.DocumentFragment.prototype.append,ir=window.Node.prototype.cloneNode,ar=window.Node.prototype.appendChild,sr=window.Node.prototype.insertBefore,lr=window.Node.prototype.removeChild,cr=window.Node.prototype.replaceChild,ur=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),hr=window.Element.prototype.attachShadow,dr=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),fr=window.Element.prototype.getAttribute,pr=window.Element.prototype.setAttribute,_r=window.Element.prototype.removeAttribute,mr=window.Element.prototype.getAttributeNS,vr=window.Element.prototype.setAttributeNS,yr=window.Element.prototype.removeAttributeNS,gr=window.Element.prototype.insertAdjacentElement,br=window.Element.prototype.insertAdjacentHTML,Er=window.Element.prototype.prepend,wr=window.Element.prototype.append,Nr=window.Element.prototype.before,Cr=window.Element.prototype.after,Sr=window.Element.prototype.replaceWith,Tr=window.Element.prototype.remove,Or=window.HTMLElement,Dr=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),xr=window.HTMLElement.prototype.insertAdjacentElement,Mr=window.HTMLElement.prototype.insertAdjacentHTML,Pr=new Set;function Ar(t){var e=Pr.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(t){return Pr.add(t)});var Lr=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function jr(t){var e=t.isConnected;if(void 0!==e)return e;if(Lr(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function kr(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function Rr(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function Hr(){var t=!(null===oo||void 0===oo||!oo.noDocumentConstructionObserver),e=!(null===oo||void 0===oo||!oo.shadyDomFastWalk);this.X=[],this.a=[],this.R=!1,this.shadyDomFastWalk=e,this.jb=!t}function Fr(t,e,n,r){var o=window.ShadyDom;if(t.shadyDomFastWalk&&o&&o.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=o.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,r){for(var o=e;o;){if(o.nodeType===Node.ELEMENT_NODE){var i=o;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(o=i.import,void 0===r&&(r=new Set),o instanceof Node&&!r.has(o))for(r.add(o),o=o.firstChild;o;o=o.nextSibling)t(o,n,r);o=Rr(e,i);continue}if("template"===a){o=Rr(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,r)}o=o.firstChild?o.firstChild:Rr(e,o)}}(e,n,r)}function Ir(t,e){t.R&&Fr(t,e,function(e){return Ur(t,e)})}function Ur(t,e){if(t.R&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.X.length;n++)t.X[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function Br(t,e){var n=[];for(Fr(t,e,function(t){return n.push(t)}),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state?t.connectedCallback(r):Wr(t,r)}}function qr(t,e){var n=[];for(Fr(t,e,function(t){return n.push(t)}),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state&&t.disconnectedCallback(r)}}function Vr(t,e,n){var r=(n=void 0===n?{}:n).kb,o=n.upgrade||function(e){return Wr(t,e)},i=[];for(Fr(t,e,function(e){if(t.R&&Ur(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;r&&(r.forEach(function(t){return i.add(t)}),i.delete(n)),Vr(t,n,{kb:i,upgrade:o})}})}else i.push(e)},r),e=0;e<i.length;e++)o(i[e])}function Wr(t,e){try{var n=e.ownerDocument,r=n.__CE_registry,o=r&&(n.defaultView||n.__CE_isImportDocument)?to(r,e.localName):void 0;if(o&&void 0===e.__CE_state){o.constructionStack.push(e);try{try{if(new o.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=o,o.attributeChangedCallback&&e.hasAttributes()){var i=o.observedAttributes;for(o=0;o<i.length;o++){var a=i[o],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}jr(e)&&t.connectedCallback(e)}}catch(t){Kr(t)}}function Gr(t,e,n,r){var o=e.__CE_registry;if(o&&(null===r||"http://www.w3.org/1999/xhtml"===r)&&(o=to(o,n)))try{var i=new o.constructorFunction;if(void 0===i.__CE_state||void 0===i.__CE_definition)throw Error("Failed to construct '"+n+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==i.namespaceURI)throw Error("Failed to construct '"+n+"': The constructed element's namespace must be the HTML namespace.");if(i.hasAttributes())throw Error("Failed to construct '"+n+"': The constructed element must not have any attributes.");if(null!==i.firstChild)throw Error("Failed to construct '"+n+"': The constructed element must not have any children.");if(null!==i.parentNode)throw Error("Failed to construct '"+n+"': The constructed element must not have a parent node.");if(i.ownerDocument!==e)throw Error("Failed to construct '"+n+"': The constructed element's owner document is incorrect.");if(i.localName!==n)throw Error("Failed to construct '"+n+"': The constructed element's local name is incorrect.");return i}catch(o){return Kr(o),e=null===r?Zn.call(e,n):Qn.call(e,r,n),Object.setPrototypeOf(e,HTMLUnknownElement.prototype),e.__CE_state=2,e.__CE_definition=void 0,Ur(t,e),e}return Ur(t,e=null===r?Zn.call(e,n):Qn.call(e,r,n)),e}function Kr(t){var e=t.message,n=t.sourceURL||t.fileName||"",r=t.line||t.lineNumber||0,o=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:r,colno:o,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,r),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Xr(){var t=this;this.C=void 0,this.Ca=new Promise(function(e){t.a=e})}function zr(t){var e=document;this.S=void 0,this.M=t,this.a=e,Vr(this.M,this.a),"loading"===this.a.readyState&&(this.S=new MutationObserver(this.b.bind(this)),this.S.observe(this.a,{childList:!0,subtree:!0}))}function Jr(t){t.S&&t.S.disconnect()}function $r(t){this.fa=new Map,this.ga=new Map,this.xa=new Map,this.na=!1,this.qa=new Map,this.ea=function(t){return t()},this.P=!1,this.ha=[],this.M=t,this.ya=t.jb?new zr(t):void 0}function Yr(t,e){if(!Ar(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(to(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.na)throw Error("A custom element is already being defined.")}function Zr(t,e,n){var r;t.na=!0;try{var o=n.prototype;if(!(o instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=o[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),l=i("adoptedCallback"),c=(r=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.na=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:l,attributeChangedCallback:r,observedAttributes:c,constructionStack:[]},t.ga.set(e,n),t.xa.set(n.constructorFunction,n),n}function Qr(t){if(!1!==t.P){t.P=!1;for(var e=[],n=t.ha,r=new Map,o=0;o<n.length;o++)r.set(n[o],[]);for(Vr(t.M,document,{upgrade:function(n){if(void 0===n.__CE_state){var o=n.localName,i=r.get(o);i?i.push(n):t.ga.has(o)&&e.push(n)}}}),o=0;o<e.length;o++)Wr(t.M,e[o]);for(o=0;o<n.length;o++){for(var i=n[o],a=r.get(i),s=0;s<a.length;s++)Wr(t.M,a[s]);(i=t.qa.get(i))&&i.resolve(void 0)}n.length=0}}function to(t,e){var n=t.ga.get(e);if(n)return n;if(n=t.fa.get(e)){t.fa.delete(e);try{return Zr(t,e,n())}catch(t){Kr(t)}}}function eo(t,e,n){function r(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&jr(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)qr(t,i[r]);if(jr(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Br(t,i)}}void 0!==n.prepend&&(e.prepend=r(n.prepend)),void 0!==n.append&&(e.append=r(n.append))}function no(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var r=this,o=void 0;if(jr(this)&&(o=[],Fr(t,this,function(t){t!==r&&o.push(t)})),n.set.call(this,e),o)for(var i=0;i<o.length;i++){var a=o[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?Vr(t,this):Ir(t,this),e}})}function n(e,n){e.insertAdjacentElement=function(e,r){var o=jr(r);return e=n.call(this,e,r),o&&qr(t,r),jr(e)&&Br(t,r),e}}function r(e,n){function r(e,n){for(var r=[];e!==n;e=e.nextSibling)r.push(e);for(n=0;n<r.length;n++)Vr(t,r[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),r(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),r(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),r(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),r(this.nextSibling,o)}}}hr&&(Element.prototype.attachShadow=function(e){if(e=hr.call(this,e),t.R&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.X.length;n++)t.X[n](e)}return this.__CE_shadowRoot=e}),dr&&dr.get?e(Element.prototype,dr):Dr&&Dr.get?e(HTMLElement.prototype,Dr):function(t,e){t.R=!0,t.a.push(e)}(t,function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return ir.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,r=Qn.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<n.childNodes.length;)lr.call(n,n.childNodes[0]);for(t=e?r.content:r;0<t.childNodes.length;)ar.call(n,t.childNodes[0])}})}),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return pr.call(this,e,n);var r=fr.call(this,e);pr.call(this,e,n),n=fr.call(this,e),t.attributeChangedCallback(this,e,r,n,null)},Element.prototype.setAttributeNS=function(e,n,r){if(1!==this.__CE_state)return vr.call(this,e,n,r);var o=mr.call(this,e,n);vr.call(this,e,n,r),r=mr.call(this,e,n),t.attributeChangedCallback(this,n,o,r,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _r.call(this,e);var n=fr.call(this,e);_r.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return yr.call(this,e,n);var r=mr.call(this,e,n);yr.call(this,e,n);var o=mr.call(this,e,n);r!==o&&t.attributeChangedCallback(this,n,r,o,e)},xr?n(HTMLElement.prototype,xr):gr&&n(Element.prototype,gr),Mr?r(HTMLElement.prototype,Mr):br&&r(Element.prototype,br),eo(t,Element.prototype,{prepend:Er,append:wr}),function(t){function e(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&jr(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)qr(t,i[r]);if(jr(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Br(t,i)}}var n=Element.prototype;void 0!==Nr&&(n.before=e(Nr)),void 0!==Cr&&(n.after=e(Cr)),void 0!==Sr&&(n.replaceWith=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var o=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&jr(a)&&o.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(i=jr(this),Sr.apply(this,n),n=0;n<o.length;n++)qr(t,o[n]);if(i)for(qr(t,this),n=0;n<r.length;n++)(o=r[n])instanceof Element&&Br(t,o)}),void 0!==Tr&&(n.remove=function(){var e=jr(this);Tr.call(this),e&&qr(t,this)})}(t)}Hr.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){Kr(t)}},Hr.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){Kr(t)}},Hr.prototype.attributeChangedCallback=function(t,e,n,r,o){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,r,o)}catch(t){Kr(t)}},Xr.prototype.resolve=function(t){if(this.C)throw Error("Already resolved.");this.C=t,this.a(t)},zr.prototype.b=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||Jr(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,r=0;r<n.length;r++)Vr(this.M,n[r])},(t=$r.prototype).$a=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Yr(this,t),this.fa.set(t,e),this.ha.push(t),this.P||(this.P=!0,this.ea(function(){return Qr(n)}))},t.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Yr(this,t),Zr(this,t,e),this.ha.push(t),this.P||(this.P=!0,this.ea(function(){return Qr(n)}))},t.upgrade=function(t){Vr(this.M,t)},t.get=function(t){if(t=to(this,t))return t.constructorFunction},t.whenDefined=function(t){if(!Ar(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.qa.get(t);if(e)return e.Ca;e=new Xr,this.qa.set(t,e);var n=this.ga.has(t)||this.fa.has(t);return t=-1===this.ha.indexOf(t),n&&t&&e.resolve(void 0),e.Ca},t.polyfillWrapFlushCallback=function(t){this.ya&&Jr(this.ya);var e=this.ea;this.ea=function(n){return t(function(){return e(n)})}},window.CustomElementRegistry=$r,$r.prototype.define=$r.prototype.define,$r.prototype.upgrade=$r.prototype.upgrade,$r.prototype.get=$r.prototype.get,$r.prototype.whenDefined=$r.prototype.whenDefined,$r.prototype.polyfillDefineLazy=$r.prototype.$a,$r.prototype.polyfillWrapFlushCallback=$r.prototype.polyfillWrapFlushCallback;var ro={};var oo=window.customElements;function io(){var t=new Hr;!function(t){function e(){var e=this.constructor,n=document.__CE_registry.xa.get(e);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=n.constructionStack;if(0===r.length)return r=Zn.call(document,n.localName),Object.setPrototypeOf(r,e.prototype),r.__CE_state=1,r.__CE_definition=n,Ur(t,r),r;var o=r.length-1,i=r[o];if(i===ro)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return r[o]=ro,Object.setPrototypeOf(i,e.prototype),Ur(t,i),i}e.prototype=Or.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),window.HTMLElement=e}(t),function(t){Document.prototype.createElement=function(e){return Gr(t,this,e,null)},Document.prototype.importNode=function(e,n){return e=tr.call(this,e,!!n),this.__CE_registry?Vr(t,e):Ir(t,e),e},Document.prototype.createElementNS=function(e,n){return Gr(t,this,n,e)},eo(t,Document.prototype,{prepend:er,append:nr})}(t),eo(t,DocumentFragment.prototype,{prepend:rr,append:or}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&jr(this)){r=Array(i);for(var a=0;a<i;a++)r[a]=o[a]}}if(n.set.call(this,e),r)for(e=0;e<r.length;e++)qr(t,r[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var r=kr(e);if(e=sr.call(this,e,n),jr(this))for(n=0;n<r.length;n++)Br(t,r[n]);return e}return r=e instanceof Element&&jr(e),n=sr.call(this,e,n),r&&qr(t,e),jr(this)&&Br(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=kr(e);if(e=ar.call(this,e),jr(this))for(var r=0;r<n.length;r++)Br(t,n[r]);return e}return n=e instanceof Element&&jr(e),r=ar.call(this,e),n&&qr(t,e),jr(this)&&Br(t,e),r},Node.prototype.cloneNode=function(e){return e=ir.call(this,!!e),this.ownerDocument.__CE_registry?Vr(t,e):Ir(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&jr(e),r=lr.call(this,e);return n&&qr(t,e),r},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var r=kr(e);if(e=cr.call(this,e,n),jr(this))for(qr(t,n),n=0;n<r.length;n++)Br(t,r[n]);return e}r=e instanceof Element&&jr(e);var o=cr.call(this,e,n),i=jr(this);return i&&qr(t,n),r&&qr(t,e),i&&Br(t,e),o},ur&&ur.get?e(Node.prototype,ur):function(t,e){t.R=!0,t.X.push(e)}(t,function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)lr.call(this,this.firstChild);null!=t&&""!==t&&ar.call(this,document.createTextNode(t))}})})}(t),no(t),t=new $r(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}function ao(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function so(t){var e=t=t.replace(_o,"").replace(mo,""),n=new ao;n.start=0,n.end=e.length;for(var r=n,o=0,i=e.length;o<i;o++)if("{"===e[o]){r.rules||(r.rules=[]);var a=r,s=a.rules[a.rules.length-1]||null;(r=new ao).start=o+1,r.parent=a,r.previous=s,a.rules.push(r)}else"}"===e[o]&&(r.end=o+1,r=r.parent||n);return function t(e,n){var r=n.substring(e.start,e.end-1);e.parsedCssText=e.cssText=r.trim();e.parent&&(r=n.substring(e.previous?e.previous.end:e.parent.start,e.start-1),r=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t})}(r),r=r.replace(wo," "),r=r.substring(r.lastIndexOf(";")+1),r=e.parsedSelector=e.selector=r.trim(),e.atRule=0===r.indexOf("@"),e.atRule?0===r.indexOf("@media")?e.type=fo:r.match(Eo)&&(e.type=ho,e.keyframesName=e.selector.split(wo).pop()):e.type=0===r.indexOf("--")?po:uo);if(r=e.rules)for(var o=0,i=r.length,a=void 0;o<i&&(a=r[o]);o++)t(a,n);return e}(n,t)}oo&&!oo.forcePolyfill&&"function"==typeof oo.define&&"function"==typeof oo.get||io(),window.__CE_installPolyfill=io;var lo,co,uo=1,ho=7,fo=4,po=1e3,_o=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,mo=/@import[^;]*;/gim,vo=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,yo=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,go=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,bo=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Eo=/^@[^\s]*keyframes/,wo=/\s+/g,No=!(window.ShadyDOM&&window.ShadyDOM.inUse);function Co(t){lo=(!t||!t.shimcssproperties)&&(No||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(co=window.ShadyCSS.cssBuild);var So=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?lo=window.ShadyCSS.nativeCss:window.ShadyCSS?(Co(window.ShadyCSS),window.ShadyCSS=void 0):Co(window.WebComponents&&window.WebComponents.flags);var To=lo,Oo=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Do=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,xo=/(--[\w-]+)\s*([:,;)]|$)/gi,Mo=/(animation\s*:)|(animation-name\s*:)/,Po=/@media\s(.*)/,Ao=/\{[^}]*\}/g,Lo=new Set;function jo(t,e){return t?("string"==typeof t&&(t=so(t)),e&&Ho(t,e),function t(e,n,r){r=void 0===r?"":r;var o="";if(e.cssText||e.rules){var i,a=e.rules;if((i=a)&&(i=!((i=a[0])&&i.selector&&0===i.selector.indexOf("--"))),i){i=0;for(var s=a.length,l=void 0;i<s&&(l=a[i]);i++)o=t(l,n,o)}else n=n?e.cssText:(n=(n=e.cssText).replace(vo,"").replace(yo,"")).replace(go,"").replace(bo,""),(o=n.trim())&&(o="  "+o+"\n")}return o&&(e.selector&&(r+=e.selector+" {\n"),r+=o,e.selector&&(r+="}\n\n")),r}(t,To)):""}function ko(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=so(t.textContent)),t.__cssRules||null}function Ro(t){return!!t.parent&&t.parent.type===ho}function Ho(t,e,n,r){if(t){var o=!1,i=t.type;if(r&&i===fo){var a=t.selector.match(Po);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===uo?e(t):n&&i===ho?n(t):i===po&&(o=!0),(t=t.rules)&&!o)for(o=0,i=t.length,a=void 0;o<i&&(a=t[o]);o++)Ho(a,e,n,r)}}function Fo(t,e,n,r){var o=document.createElement("style");return e&&o.setAttribute("scope",e),o.textContent=t,Bo(o,n,r),o}var Io=null;function Uo(t){t=document.createComment(" Shady DOM styles for "+t+" ");var e=document.head;return e.insertBefore(t,(Io?Io.nextSibling:null)||e.firstChild),Io=t}function Bo(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),Io?t.compareDocumentPosition(Io)===Node.DOCUMENT_POSITION_PRECEDING&&(Io=t):Io=t}function qo(t,e){for(var n=0,r=t.length;e<r;e++)if("("===t[e])n++;else if(")"===t[e]&&0==--n)return e;return-1}function Vo(t,e){No?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}var Wo=window.ShadyDOM&&window.ShadyDOM.wrap||function(t){return t};function Go(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,ca:n}}function Ko(t){for(var e=[],n="",r=0;0<=r&&r<t.length;r++)if("("===t[r]){var o=qo(t,r);n+=t.slice(r,o+1),r=o}else","===t[r]?(e.push(n),n=""):n+=t[r];return n&&e.push(n),e}function Xo(t){if(void 0!==co)return co;if(void 0===t.__cssBuild){var e=t.getAttribute("css-build");if(e)t.__cssBuild=e;else{if(""!==(e=(e="template"===t.localName?t.content.firstChild:t.firstChild)instanceof Comment&&"css-build"===(e=e.textContent.trim().split(":"))[0]?e[1]:"")){var n="template"===t.localName?t.content.firstChild:t.firstChild;n.parentNode.removeChild(n)}t.__cssBuild=e}}return t.__cssBuild||""}function zo(t){return!(""===(t=void 0===t?"":t)||!To)&&(No?"shadow"===t:"shady"===t)}function Jo(){}function $o(t,e,n){var r;if(e.nodeType===Node.ELEMENT_NODE&&n(e),r="template"===e.localName?(e.content||e._content||e).childNodes:e.children||e.childNodes)for(e=0;e<r.length;e++)$o(t,r[e],n)}function Yo(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var r=t.getAttribute("class");n?r&&Vo(t,e=r.replace("style-scope","").replace(e,"")):Vo(t,(r?r+" ":"")+"style-scope "+e)}}function Zo(t,e,n){$o(pi,t,function(t){Yo(t,e,!0),Yo(t,n)})}function Qo(t,e){$o(pi,t,function(t){Yo(t,e||"",!0)})}function ti(t,e,n,r,o){var i=pi;return""===(o=void 0===o?"":o)&&(No||"shady"===(void 0===r?"":r)?o=jo(e,n):o=function(t,e,n,r,o){var i=ei(n,r);return n=n?"."+n:"",jo(e,function(e){e.c||(e.selector=e.w=ni(t,e,t.b,n,i),e.c=!0),o&&o(e,n,i)})}(i,e,(t=Go(t)).is,t.ca,n)+"\n\n"),o.trim()}function ei(t,e){return e?"[is="+t+"]":t}function ni(t,e,n,r,o){var i=Ko(e.selector);if(!Ro(e)){e=0;for(var a=i.length,s=void 0;e<a&&(s=i[e]);e++)i[e]=n.call(t,s,r,o)}return i.filter(function(t){return!!t}).join(",")}function ri(t){return t.replace(ai,function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"})}function oi(t,e){t=t.split(/(\[.+?\])/);for(var n=[],r=0;r<t.length;r++)if(1==r%2)n.push(t[r]);else{var o=t[r];""===o&&r===t.length-1||((o=o.split(":"))[0]+=e,n.push(o.join(":")))}return n.join("")}function ii(t){":root"===t.selector&&(t.selector="html")}Jo.prototype.b=function(t,e,n){var r=!1;t=t.trim();var o=ai.test(t);o&&(t=ri(t=t.replace(ai,function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"})));var i=fi.test(t);if(i){var a=function(t){for(var e,n=[];e=t.match(fi);){var r=e.index,o=qo(t,r);if(-1===o)throw Error(e.input+" selector missing ')'");e=t.slice(r,o+1),t=t.replace(e,""),n.push(e)}return{wa:t,matches:n}}(t);t=a.wa,a=a.matches}return t=(t=t.replace(ci,":host $1")).replace(si,function(t,o,i){return r||(t=function(t,e,n,r){var o=t.indexOf("::slotted");if(0<=t.indexOf(":host")?t=function(t,e){var n=t.match(ui);return(n=n&&n[2].trim()||"")?n[0].match(li)?t.replace(ui,function(t,n,r){return e+r}):n.split(li)[0]===e?n:"should_not_match":t.replace(":host",e)}(t,r):0!==o&&(t=n?oi(t,n):t),n=!1,0<=o&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(hi,function(t,e){return" > "+e}))}return{value:t,Qa:e,stop:i}}(i,o,e,n),r=r||t.stop,o=t.Qa,i=t.value),o+i}),i&&(t=function(t,e){var n=t.split("");return e.reduce(function(t,e,r){return t+e+n[r+1]},n[0])}(t,a)),o&&(t=ri(t)),t.replace(di,function(t,e,n,r){return'[dir="'+n+'"] '+e+r+", "+e+'[dir="'+n+'"]'+r})},Jo.prototype.c=function(t){return t.match(":host")?"":t.match("::slotted")?this.b(t,":not(.style-scope)"):oi(t.trim(),":not(.style-scope)")},r.Object.defineProperties(Jo.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var ai=/:(nth[-\w]+)\(([^)]+)\)/,si=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,li=/[[.:#*]/,ci=/^(::slotted)/,ui=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,hi=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,di=/(.*):dir\((?:(ltr|rtl))\)(.*)/,fi=/:(?:matches|any|-(?:webkit|moz)-any)/,pi=new Jo;function _i(t,e,n,r,o){this.H=t||null,this.b=e||null,this.ta=n||[],this.F=null,this.cssBuild=o||"",this.ca=r||"",this.a=this.G=this.L=null}function mi(t){return t?t.__styleInfo:null}function vi(t,e){return t.__styleInfo=e}function yi(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}_i.prototype.c=function(){return this.H},_i.prototype._getStyleRules=_i.prototype.c;var gi=/:host\s*>\s*/,bi=navigator.userAgent.match("Trident");function Ei(){}function wi(t){if(!t.v){var e={},n={};Ni(t,n)&&(e.K=n,t.rules=null),e.cssText=t.parsedCssText.replace(Ao,"").replace(Oo,""),t.v=e}}function Ni(t,e){var n=t.v;if(!n){n=t.parsedCssText;for(var r;t=Oo.exec(n);)"inherit"===(r=(t[2]||t[3]).trim())&&"unset"===r||(e[t[1].trim()]=r),r=!0;return r}if(n.K)return Object.assign(e,n.K),!0}function Ci(t,e,n){return e&&(e=0<=e.indexOf(";")?Si(t,e,n):function t(e,n){var r=e.indexOf("var(");if(-1===r)return n(e,"","","");var o=qo(e,r+3),i=e.substring(r+4,o);return r=e.substring(0,r),e=t(e.substring(o+1),n),-1===(o=i.indexOf(","))?n(r,i.trim(),"",e):n(r,i.substring(0,o).trim(),i.substring(o+1).trim(),e)}(e,function(e,r,o,i){return r?((r=Ci(t,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=Ci(t,n[o]||o,n)||o,e+(r||"")+i):e+i})),e&&e.trim()||""}function Si(t,e,n){e=e.split(";");for(var r,o,i=0;i<e.length;i++)if(r=e[i]){if(Do.lastIndex=0,o=Do.exec(r))r=Ci(t,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var a=r.substring(o);a=Ci(t,a=a.trim(),n)||a,r=r.substring(0,o)+a}e[i]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return e.join(";")}function Ti(t,e,n){var r={},o={};return Ho(e,function(e){!function(t,e,n,r){if(e.v||wi(e),e.v.K){var o=Go(t);t=o.is,o=o.ca,o=t?ei(t,o):"html";var i=e.parsedSelector,a=!!i.match(gi)||"html"===o&&-1<i.indexOf("html"),s=0===i.indexOf(":host")&&!a;"shady"===n&&(s=!(a=i===o+" > *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),(a||s)&&(n=o,s&&(e.w||(e.w=ni(pi,e,pi.b,t?"."+t:"",o)),n=e.w||o),a&&"html"===o&&(n=e.w||e.J),r({wa:n,Xa:s,mb:a}))}}(t,e,n,function(n){yi.call(t._element||t,n.wa)&&(n.Xa?Ni(e,r):Ni(e,o))})},null,!0),{cb:o,Va:r}}function Oi(t,e,n,r){var o=Go(e),i=ei(o.is,o.ca),a=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=mi(e);o=s.H,s=s.cssBuild;var l=function(t,e){t=t.b;var n={};if(!No&&t)for(var r=0,o=t[r];r<t.length;o=t[++r]){var i=o,a=e;i.l=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.a=i.keyframesName+"-"+a,i.w=i.w||i.selector,i.selector=i.w.replace(i.keyframesName,i.a),n[o.keyframesName]=Di(o)}return n}(o,r);return ti(e,o,function(e){var o="";if(e.v||wi(e),e.v.cssText&&(o=Si(t,e.v.cssText,n)),e.cssText=o,!No&&!Ro(e)&&e.cssText){var s=o=e.cssText;if(null==e.Da&&(e.Da=Mo.test(o)),e.Da)if(null==e.ka)for(var c in e.ka=[],l)o!==(s=(s=l[c])(o))&&(o=s,e.ka.push(c));else{for(c=0;c<e.ka.length;++c)o=(s=l[e.ka[c]])(o);s=o}e.cssText=s,e.w=e.w||e.selector,o="."+r,s=0;for(var u=(c=Ko(e.w)).length,h=void 0;s<u&&(h=c[s]);s++)c[s]=h.match(a)?h.replace(i,o):o+" "+h;e.selector=c.join(",")}},s)}function Di(t){return function(e){return e.replace(t.l,t.a)}}function xi(t,e){var n=Mi,r=ko(t);t.textContent=jo(r,function(t){var r=t.cssText=t.parsedCssText;t.v&&t.v.cssText&&(r=r.replace(vo,"").replace(yo,""),t.cssText=Si(n,r,e))})}r.Object.defineProperties(Ei.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Mi=new Ei,Pi={},Ai=window.customElements;if(Ai&&!No&&!So){var Li=Ai.define;Ai.define=function(t,e,n){Pi[t]||(Pi[t]=Uo(t)),Li.call(Ai,t,e,n)}}function ji(){this.cache={}}function ki(){}ji.prototype.store=function(t,e,n,r){var o=this.cache[t]||[];o.push({K:e,styleElement:n,G:r}),100<o.length&&o.shift(),this.cache[t]=o};var Ri=new RegExp(pi.a+"\\s*([^\\s]*)");function Hi(t){return(t=(t.classList&&t.classList.value?t.classList.value:t.getAttribute("class")||"").match(Ri))?t[1]:""}function Fi(t){var e=Wo(t).getRootNode();return e===t||e===t.ownerDocument?"":(t=e.host)?Go(t).is:""}function Ii(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=o.getRootNode(),a=Hi(o);if(a&&i===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===Xo(o)))Qo(o,a);else if(i instanceof ShadowRoot)for((i=Fi(o))!==a&&Zo(o,a,i),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+pi.a+")"),a=0;a<o.length;a++){var s=Fi(i=o[a]);s&&Yo(i,s)}}}}}if(!(No||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ui=new MutationObserver(Ii),Bi=function(t){Ui.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Bi(document);else{var qi=function(){Bi(document.body)};window.HTMLImports?window.HTMLImports.whenReady(qi):requestAnimationFrame(function(){if("loading"===document.readyState){var t=function(){qi(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else qi()})}ki=function(){Ii(Ui.takeRecords())}}var Vi={},Wi=Promise.resolve();function Gi(t){(t=Vi[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function Ki(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var Xi={},zi=new ji;function Ji(){this.Y={},this.c=document.documentElement;var t=new ao;t.rules=[],this.l=vi(this.c,new _i(t)),this.J=!1,this.a=this.b=null}function $i(t){var e=Go(t),n=e.is;e=e.ca;var r=Pi[n]||null,o=Vi[n];if(o)return vi(t,e=new _i(n=o._styleAst,r,o.a,e,o=Xo(o))),e}function Yi(t){if(!t.b&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){t.b=window.ShadyCSS.ApplyShim,t.b.invalidCallback=Gi;var e=!0}else e=!1;return function(t){!t.a&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(t.a=window.ShadyCSS.CustomStyleInterface,t.a.transformCallback=function(e){t.Ha(e)},t.a.validateCallback=function(){requestAnimationFrame(function(){(t.a.enqueued||t.J)&&t.flushCustomStyles()})})}(t),e}function Zi(t,e,n){var r=Go(e).is;if(n.F){var o,i=n.F;for(o in i)null===o?e.style.removeProperty(o):e.style.setProperty(o,i[o])}!(i=Vi[r])&&e!==t.c||i&&""!==Xo(i)||!i||!i._style||Ki(i)||((Ki(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(Yi(t),t.b&&t.b.transformRules(i._styleAst,r),i._style.textContent=ti(e,n.H),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t._validating||(t._validating=!0,Wi.then(function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t._validating=!1}))}(i)),No&&(t=e.shadowRoot)&&(t=t.querySelector("style"))&&(t.textContent=ti(e,n.H)),n.H=i._styleAst)}function Qi(t,e){return(e=Wo(e).getRootNode().host)?mi(e)||$i(e)?e:Qi(t,e):t.c}function ta(t,e,n){var r=Qi(t,e),o=mi(r),i=o.L;for(var a in r===t.c||i||(ta(t,r,o),i=o.L),t=Object.create(i||null),r=Ti(e,n.H,n.cssBuild),e=function(t,e){var n={},r=[];return Ho(t,function(t){t.v||wi(t);var o=t.w||t.parsedSelector;e&&t.v.K&&o&&yi.call(e,o)&&(Ni(t,n),t=t.index,o=parseInt(t/32,10),r[o]=(r[o]||0)|1<<t%32)},null,!0),{K:n,key:r}}(o.H,e).K,Object.assign(t,r.Va,e,r.cb),e=n.F)((o=e[a])||0===o)&&(t[a]=o);for(a=Mi,e=Object.getOwnPropertyNames(t),o=0;o<e.length;o++)t[r=e[o]]=Ci(a,t[r],t);n.L=t}(t=Ji.prototype).flush=function(){ki()},t.Ta=function(t){return ko(t)},t.hb=function(t){return jo(t)},t.prepareTemplate=function(t,e,n){this.prepareTemplateDom(t,e),this.prepareTemplateStyles(t,e,n)},t.prepareTemplateStyles=function(t,e,n){if(!t._prepared&&!So){No||Pi[e]||(Pi[e]=Uo(e)),t._prepared=!0,t.name=e,t.extends=n,Vi[e]=t;var r=Xo(t),o=zo(r);n={is:e,extends:n};for(var i=[],a=t.content.querySelectorAll("style"),s=0;s<a.length;s++){var l=a[s];if(l.hasAttribute("shady-unscoped")){if(!No){var c=l.textContent;if(!Lo.has(c)){Lo.add(c);var u=document.createElement("style");u.setAttribute("shady-unscoped",""),u.textContent=c,document.head.appendChild(u)}l.parentNode.removeChild(l)}}else i.push(l.textContent),l.parentNode.removeChild(l)}i=i.join("").trim()+(Xi[e]||""),Yi(this),o||((a=!r)&&(a=Do.test(i)||Oo.test(i),Do.lastIndex=0,Oo.lastIndex=0),s=so(i),a&&To&&this.b&&this.b.transformRules(s,e),t._styleAst=s),a=[],To||(a=function(t){var e={},n=[],r=0;for(var o in Ho(t,function(t){wi(t),t.index=r++,t=t.v.cssText;for(var n;n=xo.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}},function(t){n.push(t)}),t.b=n,t=[],e)t.push(o);return t}(t._styleAst)),a.length&&!To||(s=No?t.content:null,e=Pi[e]||null,r=(r=ti(n,t._styleAst,null,r,o?i:"")).length?Fo(r,n.is,s,e):null,t._style=r),t.a=a}},t.ab=function(t,e){Xi[e]=t.join(" ")},t.prepareTemplateDom=function(t,e){if(!So){var n=Xo(t);No||"shady"===n||t._domPrepared||(t._domPrepared=!0,function(t,e){$o(pi,t,function(t){Yo(t,e||"")})}(t.content,e))}},t.flushCustomStyles=function(){if(!So){var t=Yi(this);if(this.a){var e=this.a.processStyles();if((t||this.a.enqueued)&&!zo(this.l.cssBuild)){if(To){if(!this.l.cssBuild)for(t=0;t<e.length;t++){var n=this.a.getStyleForCustomStyle(e[t]);if(n&&To&&this.b){var r=ko(n);Yi(this),this.b.transformRules(r),n.textContent=jo(r)}}}else{for(function(t,e){(e=e.map(function(e){return t.a.getStyleForCustomStyle(e)}).filter(function(t){return!!t})).sort(function(t,e){return(t=e.compareDocumentPosition(t))&Node.DOCUMENT_POSITION_FOLLOWING?1:t&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),t.l.H.rules=e.map(function(t){return ko(t)})}(this,e),ta(this,this.c,this.l),t=0;t<e.length;t++)(n=this.a.getStyleForCustomStyle(e[t]))&&xi(n,this.l.L);this.J&&this.styleDocument()}this.a.enqueued=!1}}}},t.styleElement=function(t,e){if(So){if(e){mi(t)||vi(t,new _i(null));var n=mi(t);n.F=n.F||{},Object.assign(n.F,e),Zi(this,t,n)}}else if(n=mi(t)||$i(t))if(t!==this.c&&(this.J=!0),e&&(n.F=n.F||{},Object.assign(n.F,e)),To)Zi(this,t,n);else if(this.flush(),ta(this,t,n),n.ta&&n.ta.length){var r;e=Go(t).is;t:{if(r=zi.cache[e])for(var o=r.length-1;0<=o;o--){var i=r[o];e:{for(var a=n.ta,s=0;s<a.length;s++){var l=a[s];if(i.K[l]!==n.L[l]){a=!1;break e}}a=!0}if(a){r=i;break t}}r=void 0}a=r?r.styleElement:null,o=n.G,(i=r&&r.G)||(i=e+"-"+(i=this.Y[e]=(this.Y[e]||0)+1)),n.G=i,i=n.G,s=Mi,s=a?a.textContent||"":Oi(s,t,n.L,i);var c=(l=mi(t)).a;c&&!No&&c!==a&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),No?l.a?(l.a.textContent=s,a=l.a):s&&(a=Fo(s,i,t.shadowRoot,l.b)):a?a.parentNode||(bi&&-1<s.indexOf("@media")&&(a.textContent=s),Bo(a,null,l.b)):s&&(a=Fo(s,i,null,l.b)),a&&(a._useCount=a._useCount||0,l.a!=a&&a._useCount++,l.a=a),i=a,No||(a=n.G,l=s=t.getAttribute("class")||"",o&&(l=s.replace(new RegExp("\\s*x-scope\\s*"+o+"\\s*","g")," ")),s!==(l+=(l?" ":"")+"x-scope "+a)&&Vo(t,l)),r||zi.store(e,n.L,i,n.G)}},t.styleDocument=function(t){this.styleSubtree(this.c,t)},t.styleSubtree=function(t,e){var n=Wo(t),r=n.shadowRoot,o=t===this.c;if((r||o)&&this.styleElement(t,e),t=o?n:r)for(t=Array.from(t.querySelectorAll("*")).filter(function(t){return Wo(t).shadowRoot}),e=0;e<t.length;e++)this.styleSubtree(t[e])},t.Ha=function(t){var e=this,n=Xo(t);if(n!==this.l.cssBuild&&(this.l.cssBuild=n),!zo(n)){var r=ko(t);Ho(r,function(t){if(No)ii(t);else{var r=pi;t.selector=t.parsedSelector,ii(t),t.selector=t.w=ni(r,t,r.c,void 0,void 0)}To&&""===n&&(Yi(e),e.b&&e.b.transformRule(t))}),To?t.textContent=jo(r):this.l.H.rules.push(r)}},t.getComputedStyleValue=function(t,e){var n;return To||(n=(mi(t)||mi(Qi(this,t))).L[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},t.gb=function(t,e){var n,r=Wo(t).getRootNode();if(n=e?("string"==typeof e?e:String(e)).split(/\s/):[],!(e=r.host&&r.host.localName)&&(r=t.getAttribute("class"))){r=r.split(/\s/);for(var o=0;o<r.length;o++)if(r[o]===pi.a){e=r[o+1];break}}e&&n.push(pi.a,e),To||(e=mi(t))&&e.G&&n.push(Mi.a,e.G),Vo(t,n.join(" "))},t.Oa=function(t){return mi(t)},t.fb=function(t,e){Yo(t,e)},t.ib=function(t,e){Yo(t,e,!0)},t.eb=function(t){return Fi(t)},t.Ra=function(t){return Hi(t)},Ji.prototype.flush=Ji.prototype.flush,Ji.prototype.prepareTemplate=Ji.prototype.prepareTemplate,Ji.prototype.styleElement=Ji.prototype.styleElement,Ji.prototype.styleDocument=Ji.prototype.styleDocument,Ji.prototype.styleSubtree=Ji.prototype.styleSubtree,Ji.prototype.getComputedStyleValue=Ji.prototype.getComputedStyleValue,Ji.prototype.setElementClass=Ji.prototype.gb,Ji.prototype._styleInfoForNode=Ji.prototype.Oa,Ji.prototype.transformCustomStyleForDocument=Ji.prototype.Ha,Ji.prototype.getStyleAst=Ji.prototype.Ta,Ji.prototype.styleAstToString=Ji.prototype.hb,Ji.prototype.flushCustomStyles=Ji.prototype.flushCustomStyles,Ji.prototype.scopeNode=Ji.prototype.fb,Ji.prototype.unscopeNode=Ji.prototype.ib,Ji.prototype.scopeForNode=Ji.prototype.eb,Ji.prototype.currentScopeForNode=Ji.prototype.Ra,Ji.prototype.prepareAdoptedCssText=Ji.prototype.ab,Object.defineProperties(Ji.prototype,{nativeShadow:{get:function(){return No}},nativeCss:{get:function(){return To}}});var ea,na,ra=new Ji;window.ShadyCSS&&(ea=window.ShadyCSS.ApplyShim,na=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:ra,prepareTemplate:function(t,e,n){ra.flushCustomStyles(),ra.prepareTemplate(t,e,n)},prepareTemplateDom:function(t,e){ra.prepareTemplateDom(t,e)},prepareTemplateStyles:function(t,e,n){ra.flushCustomStyles(),ra.prepareTemplateStyles(t,e,n)},styleSubtree:function(t,e){ra.flushCustomStyles(),ra.styleSubtree(t,e)},styleElement:function(t){ra.flushCustomStyles(),ra.styleElement(t)},styleDocument:function(t){ra.flushCustomStyles(),ra.styleDocument(t)},flushCustomStyles:function(){ra.flushCustomStyles()},getComputedStyleValue:function(t,e){return ra.getComputedStyleValue(t,e)},nativeCss:To,nativeShadow:No,cssBuild:co,disableRuntime:So},ea&&(window.ShadyCSS.ApplyShim=ea),na&&(window.ShadyCSS.CustomStyleInterface=na),function(t){function e(t){return""==t&&(i.call(this),this.h=!0),t.toLowerCase()}function n(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function r(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function o(t,o,a){function s(t){v.push(t)}var l=o||"scheme start",f=0,p="",_=!1,m=!1,v=[];t:for(;(void 0!=t[f-1]||0==f)&&!this.h;){var y=t[f];switch(l){case"scheme start":if(!y||!h.test(y)){if(o){s("Invalid scheme.");break t}p="",l="no scheme";continue}p+=y.toLowerCase(),l="scheme";break;case"scheme":if(y&&d.test(y))p+=y.toLowerCase();else{if(":"!=y){if(o){void 0!=y&&s("Code point not allowed in scheme: "+y);break t}p="",f=0,l="no scheme";continue}if(this.g=p,p="",o)break t;void 0!==c[this.g]&&(this.A=!0),l="file"==this.g?"relative":this.A&&a&&a.g==this.g?"relative or authority":this.A?"authority first slash":"scheme data"}break;case"scheme data":"?"==y?(this.o="?",l="query"):"#"==y?(this.u="#",l="fragment"):void 0!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.pa+=n(y));break;case"no scheme":if(a&&void 0!==c[a.g]){l="relative";continue}s("Missing scheme."),i.call(this),this.h=!0;break;case"relative or authority":if("/"!=y||"/"!=t[f+1]){s("Expected /, got: "+y),l="relative";continue}l="authority ignore slashes";break;case"relative":if(this.A=!0,"file"!=this.g&&(this.g=a.g),void 0==y){this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o=a.o,this.s=a.s,this.f=a.f;break t}if("/"==y||"\\"==y)"\\"==y&&s("\\ is an invalid code point."),l="relative slash";else if("?"==y)this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o="?",this.s=a.s,this.f=a.f,l="query";else{if("#"!=y){l=t[f+1];var g=t[f+2];("file"!=this.g||!h.test(y)||":"!=l&&"|"!=l||void 0!=g&&"/"!=g&&"\\"!=g&&"?"!=g&&"#"!=g)&&(this.i=a.i,this.m=a.m,this.s=a.s,this.f=a.f,this.j=a.j.slice(),this.j.pop()),l="relative path";continue}this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o=a.o,this.u="#",this.s=a.s,this.f=a.f,l="fragment"}break;case"relative slash":if("/"!=y&&"\\"!=y){"file"!=this.g&&(this.i=a.i,this.m=a.m,this.s=a.s,this.f=a.f),l="relative path";continue}"\\"==y&&s("\\ is an invalid code point."),l="file"==this.g?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=y){s("Expected '/', got: "+y),l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":if(l="authority ignore slashes","/"!=y){s("Expected '/', got: "+y);continue}break;case"authority ignore slashes":if("/"!=y&&"\\"!=y){l="authority";continue}s("Expected authority, got: "+y);break;case"authority":if("@"==y){for(_&&(s("@ already seen."),p+="%40"),_=!0,y=0;y<p.length;y++)"\t"==(g=p[y])||"\n"==g||"\r"==g?s("Invalid whitespace in authority."):":"==g&&null===this.f?this.f="":(g=n(g),null!==this.f?this.f+=g:this.s+=g);p=""}else{if(void 0==y||"/"==y||"\\"==y||"?"==y||"#"==y){f-=p.length,p="",l="host";continue}p+=y}break;case"file host":if(void 0==y||"/"==y||"\\"==y||"?"==y||"#"==y){2!=p.length||!h.test(p[0])||":"!=p[1]&&"|"!=p[1]?(0!=p.length&&(this.i=e.call(this,p),p=""),l="relative path start"):l="relative path";continue}"\t"==y||"\n"==y||"\r"==y?s("Invalid whitespace in file host."):p+=y;break;case"host":case"hostname":if(":"!=y||m){if(void 0==y||"/"==y||"\\"==y||"?"==y||"#"==y){if(this.i=e.call(this,p),p="",l="relative path start",o)break t;continue}"\t"!=y&&"\n"!=y&&"\r"!=y?("["==y?m=!0:"]"==y&&(m=!1),p+=y):s("Invalid code point in host/hostname: "+y)}else if(this.i=e.call(this,p),p="",l="port","hostname"==o)break t;break;case"port":if(/[0-9]/.test(y))p+=y;else{if(void 0==y||"/"==y||"\\"==y||"?"==y||"#"==y||o){if(""!=p&&((p=parseInt(p,10))!=c[this.g]&&(this.m=p+""),p=""),o)break t;l="relative path start";continue}"\t"==y||"\n"==y||"\r"==y?s("Invalid code point in port: "+y):(i.call(this),this.h=!0)}break;case"relative path start":if("\\"==y&&s("'\\' not allowed in path."),l="relative path","/"!=y&&"\\"!=y)continue;break;case"relative path":void 0!=y&&"/"!=y&&"\\"!=y&&(o||"?"!=y&&"#"!=y)?"\t"!=y&&"\n"!=y&&"\r"!=y&&(p+=n(y)):("\\"==y&&s("\\ not allowed in relative path."),(g=u[p.toLowerCase()])&&(p=g),".."==p?(this.j.pop(),"/"!=y&&"\\"!=y&&this.j.push("")):"."==p&&"/"!=y&&"\\"!=y?this.j.push(""):"."!=p&&("file"==this.g&&0==this.j.length&&2==p.length&&h.test(p[0])&&"|"==p[1]&&(p=p[0]+":"),this.j.push(p)),p="","?"==y?(this.o="?",l="query"):"#"==y&&(this.u="#",l="fragment"));break;case"query":o||"#"!=y?void 0!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.o+=r(y)):(this.u="#",l="fragment");break;case"fragment":void 0!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.u+=y)}f++}}function i(){this.s=this.pa=this.g="",this.f=null,this.m=this.i="",this.j=[],this.u=this.o="",this.A=this.h=!1}function a(t,e){void 0===e||e instanceof a||(e=new a(String(e))),this.a=t,i.call(this),o.call(this,this.a.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,e)}var s=!1;try{var l=new URL("b","http://a");l.pathname="c%20d",s="http://a/c%20d"===l.href}catch(t){}if(!s){var c=Object.create(null);c.ftp=21,c.file=0,c.gopher=70,c.http=80,c.https=443,c.ws=80,c.wss=443;var u=Object.create(null);u["%2e"]=".",u[".%2e"]="..",u["%2e."]="..",u["%2e%2e"]="..";var h=/[a-zA-Z]/,d=/[a-zA-Z0-9\+\-\.]/;a.prototype={toString:function(){return this.href},get href(){if(this.h)return this.a;var t="";return""==this.s&&null==this.f||(t=this.s+(null!=this.f?":"+this.f:"")+"@"),this.protocol+(this.A?"//"+t+this.host:"")+this.pathname+this.o+this.u},set href(t){i.call(this),o.call(this,t)},get protocol(){return this.g+":"},set protocol(t){this.h||o.call(this,t+":","scheme start")},get host(){return this.h?"":this.m?this.i+":"+this.m:this.i},set host(t){!this.h&&this.A&&o.call(this,t,"host")},get hostname(){return this.i},set hostname(t){!this.h&&this.A&&o.call(this,t,"hostname")},get port(){return this.m},set port(t){!this.h&&this.A&&o.call(this,t,"port")},get pathname(){return this.h?"":this.A?"/"+this.j.join("/"):this.pa},set pathname(t){!this.h&&this.A&&(this.j=[],o.call(this,t,"relative path start"))},get search(){return this.h||!this.o||"?"==this.o?"":this.o},set search(t){!this.h&&this.A&&(this.o="?","?"==t[0]&&(t=t.slice(1)),o.call(this,t,"query"))},get hash(){return this.h||!this.u||"#"==this.u?"":this.u},set hash(t){this.h||(t?(this.u="#","#"==t[0]&&(t=t.slice(1)),o.call(this,t,"fragment")):this.u="")},get origin(){var t;if(this.h||!this.g)return"";switch(this.g){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this.g+"://"+t:""}};var f=t.URL;f&&(a.createObjectURL=function(t){return f.createObjectURL.apply(f,arguments)},a.revokeObjectURL=function(t){f.revokeObjectURL(t)}),t.URL=a}}(window),Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var t=(this.ownerDocument||this).querySelector("base[href]");return t&&t.href||window.location.href},configurable:!0,enumerable:!0});var oa=document.createElement("style");oa.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var ia=document.querySelector("head");ia.insertBefore(oa,ia.firstChild)}).call(this);

The same content is in 2 releases, Joomla 4.0.0-beta4 to 4.0.0-beta5. See them all, or every version of this file.