CoreFiles by mySites.guru
webcomponents-sd-ce.min.js1 lines, 84,596 bytes, from Joomla_4.0.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta2
md5
98d8836ce48ae36148a7ea86289c6f5a
sha1
46ef0e1e4935b044d4aecb6cd51363c2a5217e0e
sha256
f3a1a6e6a312775917436949b519e3c5d3c76f215b2cb670d5153be25953f9c2
(function(){"use strict";var e;function t(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}(e)}}function n(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var o="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function r(){}function i(e){return e.__shady||(e.__shady=new r),e.__shady}function a(e){return e&&e.__shady}r.prototype.toJSON=function(){return{}};var s=window.ShadyDOM||{};s.Aa=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var l=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function c(e){return(e=a(e))&&void 0!==e.firstChild}function d(e){return e instanceof ShadowRoot}function u(e){return(e=(e=a(e))&&e.root)&&Ut(e)}s.h=!!(l&&l.configurable&&l.get),s.ca=s.force||!s.Aa,s.j=s.noPatch||!1,s.W=s.preferPerformance,s.ea="on-demand"===s.j,s.qa=navigator.userAgent.match("Trident");var h=Element.prototype,f=h.matches||h.matchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector||h.webkitMatchesSelector,p=document.createTextNode(""),_=0,m=[];function v(e){m.push(e),p.textContent=_++}new MutationObserver(function(){for(;m.length;)try{m.shift()()}catch(e){throw p.textContent=_++,e}}).observe(p,{characterData:!0});var y=!!document.contains;function g(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function b(e){for(var n=e.length-1;0<=n;n--){var o=e[n],r=o.getAttribute("id")||o.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=o)}return e.item=function(t){return e[t]},e.namedItem=function(n){if("length"!==n&&isNaN(n)&&e[n])return e[n];for(var o=t(e),r=o.next();!r.done;r=o.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==n)return r;return null},e}function E(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function N(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function w(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function C(e,t,n,o){for(var r in n=void 0===n?"":n,t)o&&0<=o.indexOf(r)||w(e,n+r,t[r])}function S(e,t){for(var n in t)n in e&&w(e,n,t[n])}function T(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}function O(e,t){for(var n,o=Object.getOwnPropertyNames(t),r=0;r<o.length;r++)e[n=o[r]]=t[n]}var x,D=[];function M(e){x||(x=!0,v(L)),D.push(e)}function L(){x=!1;for(var e=!!D.length;D.length;)D.shift()();return e}function A(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.S=new Set}L.list=D,A.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.S.forEach(function(t){t(e)})}},A.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var P=/[&\u00A0"]/g,k=/[&\u00A0<>]/g;function R(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function j(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var H=j("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),F=j("style script xmp iframe noembed noframes plaintext noscript".split(" "));function I(e,t){"template"===e.localName&&(e=e.content);for(var n="",o=t?t(e):e.childNodes,r=0,i=o.length,a=void 0;r<i&&(a=o[r]);r++){e:{var s=a,l=e,c=t;switch(s.nodeType){case Node.ELEMENT_NODE:for(var d,u="<"+(l=s.localName),h=s.attributes,f=0;d=h[f];f++)u+=" "+d.name+'="'+d.value.replace(P,R)+'"';u+=">",s=H[l]?u:u+I(s,c)+"</"+l+">";break e;case Node.TEXT_NODE:s=s.data,s=l&&F[l.localName]?s:s.replace(k,R);break e;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break e;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var B=s.h,U={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},V={};function W(e){V[e]=function(t){return t["__shady_native_"+e]}}function q(e,t){for(var n in C(e,t,"__shady_native_"),t)W(n)}function G(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var o=t[n],r=Object.getOwnPropertyDescriptor(e,o);r&&(Object.defineProperty(e,"__shady_native_"+o,r),r.value?U[o]||(U[o]=r.value):W(o))}}var z=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),J=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),K=document.implementation.createHTMLDocument("inert");function X(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var $=["firstElementChild","lastElementChild","children","childElementCount"],Y=["querySelector","querySelectorAll"];var Z=T({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}}),Q=T({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),ee=T({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(e){return this.__shady_className=e}});function te(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}te(Z),te(Q),te(ee);var ne,oe=s.h||!0===s.j,re=oe?function(){}:function(e){var t=i(e);t.sa||(t.sa=!0,S(e,ee))},ie=oe?function(){}:function(e){var t=i(e);t.ra||(t.ra=!0,S(e,Z),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!s.j||S(e,Q))},ae="__eventWrappers"+Date.now(),se=(ne=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return ne.get.call(e)}:null,le=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function ce(e){if(e&&"object"==typeof e)var t=!!e.capture,n=!!e.once,o=!!e.passive,r=e.A;else t=!!e,o=n=!1;return{oa:r,capture:t,once:n,passive:o,na:le?e:t}}var de={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(e){return e instanceof Node?e.__shady_getRootNode():e}function fe(e,t){var n=[],o=e;for(e=he(e);o;)n.push(o),o=o.__shady_assignedSlot?o.__shady_assignedSlot:o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host&&(t||o!==e)?o.host:o.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function pe(e,t){if(!d)return e;e=fe(e,!0);for(var n,o,r=0,i=void 0,a=void 0;r<t.length;r++)if((o=he(n=t[r]))!==i&&(a=e.indexOf(o),i=o),!d(o)||-1<a)return n}function _e(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var me={focus:!0,blur:!0};function ve(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function ye(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var o,r=0;(o=n[r])&&(!ve(e)||e.target!==e.relatedTarget)&&(o.call(t,e),!e.__immediatePropagationStopped);r++);}function ge(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return r},configurable:!0});for(var o=n.length-1;0<=o;o--){var r=n[o];if(ye(e,r,"capture"),e.X)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),o=0;o<n.length;o++){var i=a(r=n[o]);if(i=i&&i.root,(0===o||i&&i===t)&&(ye(e,r,"bubble"),r!==window&&(t=r.__shady_getRootNode()),e.X))break}}function be(e,t,n,o,r,i){for(var a=0;a<e.length;a++){var s=e[a],l=s.type,c=s.capture,d=s.once,u=s.passive;if(t===s.node&&n===l&&o===c&&r===d&&i===u)return a}return-1}function Ee(e){return L(),this.__shady_native_dispatchEvent(e)}function Ne(e,t,n){var o=ce(n),r=o.capture,i=o.once,a=o.passive,s=o.oa;if(o=o.na,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(ue[e])return this.__shady_native_addEventListener(e,t,o);var c=s||this;if(s=t[ae]){if(-1<be(s,c,e,r,i,a))return}else t[ae]=[];s=function(o){if(i&&this.__shady_removeEventListener(e,t,n),o.__target||Se(o),c!==this){var r=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return c},configurable:!0})}if(o.__previousCurrentTarget=o.currentTarget,(!d(c)&&"slot"!==c.localName||-1!=o.composedPath().indexOf(c))&&(o.composed||-1<o.composedPath().indexOf(c)))if(ve(o)&&o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===c||c instanceof Window){var a="function"===l?t.call(c,o):t.handleEvent&&t.handleEvent(o);return c!==this&&(r?(Object.defineProperty(o,"currentTarget",r),r=null):delete o.currentTarget),a}},t[ae].push({node:c,type:e,capture:r,once:i,passive:a,Oa:s}),me[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][r?"capture":"bubble"].push(s)):this.__shady_native_addEventListener(e,s,o)}}}function we(e,t,n){if(t){var o=ce(n);n=o.capture;var r=o.once,i=o.passive,a=o.oa;if(o=o.na,ue[e])return this.__shady_native_removeEventListener(e,t,o);var s=a||this;a=void 0;var l=null;try{l=t[ae]}catch(e){}l&&(-1<(r=be(l,s,e,n,r,i))&&(a=l.splice(r,1)[0].Oa,l.length||(t[ae]=void 0))),this.__shady_native_removeEventListener(e,a||t,o),a&&me[e]&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(a))&&e.splice(t,1))}}var Ce=T({get composed(){return void 0===this.__composed&&(se?this.__composed="focusin"===this.type||"focusout"===this.type||se(this):!1!==this.isTrusted&&(this.__composed=de[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=fe(this.__target,this.composed)),this.__composedPath},get target(){return pe(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=fe(this.__relatedTarget,!0)),pe(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.X=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.X=this.__immediatePropagationStopped=!0}});function Se(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,s.h){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,C(n,Ce),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else C(e,Ce)}var Te=_e(Event),Oe=_e(CustomEvent),xe=_e(MouseEvent);var De=Object.getOwnPropertyNames(Element.prototype).filter(function(e){return"on"===e.substring(0,2)}),Me=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(e){return"on"===e.substring(0,2)});function Le(e){return{set:function(t){var n=i(this),o=e.substring(2);n.w||(n.w={}),n.w[e]&&this.removeEventListener(o,n.w[e]),this.__shady_addEventListener(o,t),n.w[e]=t},get:function(){var t=a(this);return t&&t.w&&t.w[e]},configurable:!0}}function Ae(e,t){return{index:e,J:[],R:t}}function Pe(e,t,n,o){var r=0,i=0,a=0,s=0,l=Math.min(t-r,o-i);if(0==r&&0==i)e:{for(a=0;a<l;a++)if(e[a]!==n[a])break e;a=l}if(t==e.length&&o==n.length){s=e.length;for(var c=n.length,d=0;d<l-a&&ke(e[--s],n[--c]);)d++;s=d}if(i+=a,o-=s,0==(t-=s)-(r+=a)&&0==o-i)return[];if(r==t){for(t=Ae(r,0);i<o;)t.J.push(n[i++]);return[t]}if(i==o)return[Ae(r,t-r)];for(o=o-(a=i)+1,s=t-(l=r)+1,t=Array(o),c=0;c<o;c++)t[c]=Array(s),t[c][0]=c;for(c=0;c<s;c++)t[0][c]=c;for(c=1;c<o;c++)for(d=1;d<s;d++)if(e[l+d-1]===n[a+c-1])t[c][d]=t[c-1][d-1];else{var u=t[c-1][d]+1,h=t[c][d-1]+1;t[c][d]=u<h?u:h}for(l=t.length-1,a=t[0].length-1,o=t[l][a],e=[];0<l||0<a;)0==l?(e.push(2),a--):0==a?(e.push(3),l--):(s=t[l-1][a-1],(u=(c=t[l-1][a])<(d=t[l][a-1])?c<s?c:s:d<s?d:s)==s?(s==o?e.push(0):(e.push(1),o=s),l--,a--):u==c?(e.push(3),l--,o=c):(e.push(2),a--,o=d));for(e.reverse(),t=void 0,l=[],a=0;a<e.length;a++)switch(e[a]){case 0:t&&(l.push(t),t=void 0),r++,i++;break;case 1:t||(t=Ae(r,0)),t.R++,r++,t.J.push(n[i]),i++;break;case 2:t||(t=Ae(r,0)),t.R++,r++;break;case 3:t||(t=Ae(r,0)),t.J.push(n[i]),i++}return t&&l.push(t),l}function ke(e,t){return e===t}var Re=T({dispatchEvent:Ee,addEventListener:Ne,removeEventListener:we}),je=null;function He(){return je||(je=window.ShadyCSS&&window.ShadyCSS.ScopingShim),je||null}function Fe(e,t,n){var o=He();return!(!o||"class"!==t)&&(o.setElementClass(e,n),!0)}function Ie(e,t){var n=He();n&&n.unscopeNode(e,t)}function Be(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=He();return t?t.currentScopeForNode(e):""}function Ue(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Ue(e,t)}var Ve=window.document,We=s.W,qe=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ge=qe&&qe.get;function ze(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Je(e,t,n){if(e=(e=a(e))&&e.I){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var o=0,r=t.childNodes.length;o<r;o++)e.addedNodes.push(t.childNodes[o]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,v(function(){e.flush()}))}(e)}}var Ke=T({get parentNode(){var e=a(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=a(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=a(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=a(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=a(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(c(this)){var e=a(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=a(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ge&&Ge.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(y){if(e.__shady_native_contains(this))return!0}else if(e.documentElement&&e.documentElement.__shady_native_contains(this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(d(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(c(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(void 0!==e&&null!==e||(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!c(this)&&s.h){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&ze(this),this.__shady_native_textContent=e}else ze(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,o){if(this.ownerDocument!==Ve&&e.ownerDocument!==Ve)return this.__shady_native_insertBefore(e,o),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(o){var r=a(o);if(void 0!==(r=r&&r.parentNode)&&r!==this||void 0===r&&o.__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(o===e)return e;Je(this,e);var s=[],l=(r=Gt(this))?r.host.localName:Be(this),h=e.__shady_parentNode;if(h){var f=Be(e),p=!!r||!Gt(e)||We&&void 0!==this.__noInsertionPoint;h.__shady_removeChild(e,p)}h=!0;var _=(!We||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var o=He();if(!o)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(o=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)o=o&&e(t,n);return o}return t.nodeType!==Node.ELEMENT_NODE||o.currentScopeForNode(t)===n}(e,l),m=r&&!e.__noInsertionPoint&&(!We||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(m||_)&&(_&&(f=f||Be(e)),Ue(e,function(e){if(m&&"slot"===e.localName&&s.push(e),_){var t=f;He()&&(t&&Ie(e,t),(t=He())&&t.scopeNode(e,l))}})),s.length&&(Ht(r),r.c.push.apply(r.c,s instanceof Array?s:n(t(s))),At(r)),c(this)&&(function(e,t,n){Et(t,2);var o=i(t);if(void 0!==o.firstChild&&(o.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)Nt(e,t,o,n);else Nt(e,t,o,n)}(e,this,o),(p=a(this)).root?(h=!1,u(this)&&At(p.root)):r&&"slot"===this.localName&&(h=!1,At(r))),h?(r=d(this)?this.host:this,o?(o=function e(t){var n=t;if(t&&"slot"===t.localName){var o=a(t);(o=o&&o.G)&&(n=o.length?o[0]:e(t.__shady_nextSibling))}return n}(o),r.__shady_native_insertBefore(e,o)):r.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!d(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==Ve)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);Je(this,null,e);var n=Gt(e),o=n&&function(e,t){if(e.a){Ft(e);var n,o=e.b;for(n in o)for(var r=o[n],i=0;i<r.length;i++){var s=r[i];if(g(t,s)){r.splice(i,1);var l=e.a.indexOf(s);if(0<=l&&(e.a.splice(l,1),(l=a(s.__shady_parentNode))&&l.L&&l.L--),i--,s=a(s),l=s.G)for(var c=0;c<l.length;c++){var d=l[c],u=d.__shady_native_parentNode;u&&u.__shady_native_removeChild(d)}s.G=[],s.assignedNodes=[],l=!0}}return l}}(n,e),r=a(this);if(c(this)&&(function(e,t){var n=i(e);t=i(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var o=n.nextSibling;e&&(i(e).nextSibling=o),o&&(i(o).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),u(this))){At(r.root);var s=!0}if(He()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var l=Be(e);Ue(e,function(e){Ie(e,l)})}return function e(t){var n=a(t);if(n&&void 0!==n.V)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=a(t))&&(t.V=void 0)}(e),n&&((t="slot"===this.localName)&&(s=!0),(o||t)&&At(n)),s||(s=d(this)?this.host:this,(!r.root&&"slot"!==e.localName||s===e.__shady_native_parentNode)&&s.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=i(this),n=t.V;return void 0===n&&(d(this)?(n=this,t.V=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.V=n))),n}},contains:function(e){return g(this,e)}}),Xe=T({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Pt(e),(e=a(this))&&e.assignedSlot||null}});function $e(e,t,n){var o=[];return function e(t,n,o,r){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var a=n,s=o,l=r,c=a(i=t);c&&l.push(i),s&&s(c)?i=c:(e(i,a,s,l),i=void 0)}if(i)break}}(e,t,n,o),o}var Ye=T({get firstElementChild(){var e=a(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=a(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return c(this)?b(Array.prototype.filter.call(N(this),function(e){return e.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}}),Ze=T({querySelector:function(e){return $e(this,function(t){return f.call(t,e)},function(e){return!!e})[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return b(t.filter(function(e){return e.__shady_getRootNode()==n}))}return b($e(this,function(t){return f.call(t,e)}))}}),Qe=s.W&&!s.j?O({},Ye):Ye;O(Ye,Ze);var et=window.document;function tt(e,t){if("slot"===t)u(e=e.__shady_parentNode)&&At(a(e).root);else if("slot"===e.localName&&"name"===t&&(t=Gt(e))){if(t.a){Ft(t);var n=e.ta,o=It(e);if(o!==n){var r=(n=t.b[n]).indexOf(e);0<=r&&n.splice(r,1),(n=t.b[o]||(t.b[o]=[])).push(e),1<n.length&&(t.b[o]=Bt(n))}}At(t)}}var nt=T({get previousElementSibling(){var e=a(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=a(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==et?this.__shady_native_setAttribute(e,t):Fe(this,e,t)||(this.__shady_native_setAttribute(e,t),tt(this,e))},removeAttribute:function(e){this.ownerDocument!==et?this.__shady_native_removeAttribute(e):Fe(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),tt(this,e))}});s.W||De.forEach(function(e){nt[e]=Le(e)});var ot=T({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!s.qa){var o=e.shadyUpgradeFragment;if(o.__proto__=ShadowRoot.prototype,Lt(o,this,e),wt(o,o),e=o.__noInsertionPoint?null:o.querySelectorAll("slot"),o.__noInsertionPoint=void 0,e&&e.length){var r=o;Ht(r),r.c.push.apply(r.c,e instanceof Array?e:n(t(e))),At(o)}o.host.__shady_native_appendChild(o)}else o=new Mt(Ot,this,e);return this.__CE_shadowRoot=o},get shadowRoot(){var e=a(this);return e&&e.Fa||null}});O(nt,ot);var rt=document.implementation.createHTMLDocument("inert"),it=T({get innerHTML(){return c(this)?I("template"===this.localName?this.content:this,N):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{ze(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==rt.namespaceURI?rt.createElementNS(this.namespaceURI,t):rt.createElement(t),s.h?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),at=T({blur:function(){var e=a(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});s.W||Me.forEach(function(e){at[e]=Le(e)});var st=T({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&d(t)&&Pt(t),(t=a(this))&&(e&&e.flatten?t.G:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)Ne.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.A=this,o.__shady_addEventListener(e,t,n)}},removeEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)we.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.A=this,o.__shady_removeEventListener(e,t,n)}}}),lt=T({getElementById:function(e){return""===e?null:$e(this,function(t){return t.id==e},function(e){return!!e})[0]||null}}),ct=T({get activeElement(){var e=s.h?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!d(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Gt(e);t&&t!==this;)t=Gt(e=t.host);return this===document?t?null:e:t===this?e:null}}),dt=window.document,ut=T({importNode:function(e,t){if(e.ownerDocument!==dt||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),ht=T({dispatchEvent:Ee,addEventListener:Ne.bind(window),removeEventListener:we.bind(window)}),ft={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(ft.parentElement=Ke.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(ft.contains=Ke.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(ft.children=Ye.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(ft.innerHTML=it.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(ft.className=nt.className);var pt={EventTarget:[Re],Node:[Ke,window.EventTarget?null:Re],Text:[Xe],Comment:[Xe],CDATASection:[Xe],ProcessingInstruction:[Xe],Element:[nt,Ye,Xe,!s.h||"innerHTML"in Element.prototype?it:null,window.HTMLSlotElement?null:st],HTMLElement:[at,ft],HTMLSlotElement:[st],DocumentFragment:[Qe,lt],Document:[ut,Qe,lt,ct],Window:[ht]},_t=s.h?null:["innerHTML","textContent"];function mt(e,t,n,o){t.forEach(function(t){return e&&t&&C(e,t,n,o)})}function vt(e){var t,n=e?null:_t;for(t in pt)mt(window[t]&&window[t].prototype,pt[t],e,n)}function yt(e){return e.__shady_protoIsPatched=!0,mt(e,pt.EventTarget),mt(e,pt.Node),mt(e,pt.Element),mt(e,pt.HTMLElement),mt(e,pt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,mt(n,pt.EventTarget),mt(n,pt.Node),pt[e]&&mt(n,pt[e]),t.prototype.__shady_patchedProto=n});var gt=s.ea,bt=s.h;function Et(e,t){if(gt&&!e.__shady_protoIsPatched&&!d(e)){var n=Object.getPrototypeOf(e),o=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;o||(yt(o=Object.create(n)),n.__shady_patchedProto=o),Object.setPrototypeOf(e,o)}bt||(1===t?re(e):2===t&&ie(e))}function Nt(e,t,n,o){Et(e,1),o=o||null;var r=i(e),s=o?i(o):null;r.previousSibling=o?s.previousSibling:t.__shady_lastChild,(s=a(r.previousSibling))&&(s.nextSibling=e),(s=a(r.nextSibling=o))&&(s.previousSibling=e),r.parentNode=t,o?o===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function wt(e,t){var n=i(e);if(t||void 0===n.firstChild){n.childNodes=null;var o=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,Et(e,2),n=o,o=void 0;n;n=n.__shady_native_nextSibling){var r=i(n);r.parentNode=t||e,r.nextSibling=n.__shady_native_nextSibling,r.previousSibling=o||null,o=n,Et(n,1)}}}var Ct=T({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.A=n.A||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.A=n.A||this,this.host.__shady_removeEventListener(e,t,n)}});function St(e,t){C(e,Ct,t),C(e,ct,t),C(e,it,t),C(e,Ye,t),s.j&&!t?(C(e,Ke,t),C(e,lt,t)):s.h||(C(e,ee),C(e,Z),C(e,Q))}var Tt,Ot={},xt=s.deferConnectionCallbacks&&"loading"===document.readyState;function Dt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Mt(e,t,n){if(e!==Ot)throw new TypeError("Illegal constructor");this.a=null,Lt(this,t,n)}function Lt(e,t,n){if(e.host=t,e.mode=n&&n.mode,wt(e.host),(t=i(e.host)).root=e,t.Fa="closed"!==e.mode?e:null,(t=i(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,s.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else At(e)}function At(e){e.F||(e.F=!0,M(function(){return Pt(e)}))}function Pt(e){var t;if(t=e.F){for(var n;e;)e.F&&(n=e),d(e=(t=e).host.__shady_getRootNode())&&(t=a(t.host))&&0<t.L||(e=void 0);t=n}(n=t)&&n._renderSelf()}function kt(e,t,n){var o=i(t),r=o.Z;o.Z=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(i(n).assignedNodes.push(t),o.assignedSlot=n):o.assignedSlot=void 0,r!==o.assignedSlot&&o.assignedSlot&&(i(o.assignedSlot).ba=!0)}function Rt(e,t,n){for(var o=0,r=void 0;o<n.length&&(r=n[o]);o++)if("slot"==r.localName){var i=a(r).assignedNodes;i&&i.length&&Rt(e,t,i)}else t.push(n[o])}function jt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=a(t)).assignedSlot&&jt(e,t.assignedSlot)}function Ht(e){e.c=e.c||[],e.a=e.a||[],e.b=e.b||{}}function Ft(e){if(e.c&&e.c.length){for(var t,n=e.c,o=0;o<n.length;o++){var r=n[o];wt(r);var i=r.__shady_parentNode;wt(i),(i=a(i)).L=(i.L||0)+1,i=It(r),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(r)):e.b[i]=[r],e.a.push(r)}if(t)for(var s in t)e.b[s]=Bt(e.b[s]);e.c=[]}}function It(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.ta=t}function Bt(e){return e.sort(function(e,t){e=Dt(e);for(var n=Dt(t),o=0;o<e.length;o++){t=e[o];var r=n[o];if(t!==r)return(e=N(t.__shady_parentNode)).indexOf(t)-e.indexOf(r)}})}function Ut(e){return Ft(e),!(!e.a||!e.a.length)}if(Mt.prototype._renderSelf=function(){var e=xt;if(xt=!0,this.F=!1,this.a){Ft(this);for(var t,n=0;n<this.a.length;n++){var o=a(t=this.a[n]),r=o.assignedNodes;if(o.assignedNodes=[],o.G=[],o.ja=r)for(o=0;o<r.length;o++){var i=a(r[o]);i.Z=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)kt(this,n);for(n=0;n<this.a.length;n++){if(!(r=a(t=this.a[n])).assignedNodes.length)for(o=t.__shady_firstChild;o;o=o.__shady_nextSibling)kt(this,o,t);if((o=(o=a(t.__shady_parentNode))&&o.root)&&(Ut(o)||o.F)&&o._renderSelf(),Rt(this,r.G,r.assignedNodes),o=r.ja){for(i=0;i<o.length;i++)a(o[i]).Z=null;r.ja=null,o.length>r.assignedNodes.length&&(r.ba=!0)}r.ba&&(r.ba=!1,jt(this,t))}for(t=this.a,n=[],r=0;r<t.length;r++)(i=a(o=t[r].__shady_parentNode))&&i.root||!(0>n.indexOf(o))||n.push(o);for(t=0;t<n.length;t++){for(r=(i=n[t])===this?this.host:i,o=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var l=a(i).G,c=0;c<l.length;c++)o.push(l[c]);else o.push(i);i=E(r),l=Pe(o,o.length,i,i.length);for(var d=c=0,u=void 0;c<l.length&&(u=l[c]);c++){for(var h=0,f=void 0;h<u.J.length&&(f=u.J[h]);h++)f.__shady_native_parentNode===r&&r.__shady_native_removeChild(f),i.splice(u.index+d,1);d-=u.R}for(d=0,u=void 0;d<l.length&&(u=l[d]);d++)for(c=i[u.index],h=u.index;h<u.index+u.R;h++)f=o[h],r.__shady_native_insertBefore(f,c),i.splice(h,0,f)}}if(!s.preferPerformance&&!this.ia)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=a(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.ia=!0,xt=e,Tt&&Tt()},function(e){e.__proto__=DocumentFragment.prototype,St(e,"__shady_"),St(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach(function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})})}(Mt.prototype),window.customElements&&window.customElements.define&&s.ca&&!s.preferPerformance){var Vt=new Map;Tt=function(){var e=[];Vt.forEach(function(t,n){e.push([n,t])}),Vt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},xt&&document.addEventListener("readystatechange",function(){xt=!1,Tt()},{once:!0});var Wt=window.customElements.define,qt=function(e,t){var n=t.prototype.connectedCallback,o=t.prototype.disconnectedCallback;Wt.call(window.customElements,e,function(e,t,n){var o=0,r="__isConnected"+o++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){xt?Vt.set(this,!0):this[r]||(this[r]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){xt?this.isConnected||Vt.set(this,!1):this[r]&&(this[r]=!1,n&&n.call(this))}),e}(t,n,o)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=o};window.customElements.define=qt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:qt,configurable:!0})}function Gt(e){if(d(e=e.__shady_getRootNode()))return e}function zt(e){this.node=e}function Jt(e){Object.defineProperty(zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(e=zt.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},e.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},e.appendChild=function(e){return this.node.__shady_appendChild(e)},e.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},e.removeChild=function(e){return this.node.__shady_removeChild(e)},e.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},e.cloneNode=function(e){return this.node.__shady_cloneNode(e)},e.getRootNode=function(e){return this.node.__shady_getRootNode(e)},e.contains=function(e){return this.node.__shady_contains(e)},e.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},e.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},e.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},e.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},e.attachShadow=function(e){return this.node.__shady_attachShadow(e)},e.focus=function(){this.node.__shady_native_focus()},e.blur=function(){this.node.__shady_blur()},e.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},e.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},e.querySelector=function(e){return this.node.__shady_querySelector(e)},e.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},e.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},o.Object.defineProperties(zt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(d(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(d(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(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),De.forEach(function(e){return Jt(e)}),Me.forEach(function(e){return Jt(e)});var Kt=new WeakMap;function Xt(e){if(d(e)||e instanceof zt)return e;var t=Kt.get(e);return t||(t=new zt(e),Kt.set(e,t)),t}if(s.ca){var $t=s.h?function(e){return e}:function(e){return ie(e),re(e),e},Yt={inUse:s.ca,patch:$t,isShadyRoot:d,enqueue:M,flush:L,flushInitial:function(e){!e.ia&&e.F&&Pt(e)},settings:s,filterMutations:function(e,t){var n=t.getRootNode();return e.map(function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter(function(e){return n===e.getRootNode()})).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){var n=i(e);n.I||(n.I=new A),n.I.S.add(t);var o=n.I;return{ua:t,D:o,va:e,takeRecords:function(){return o.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.D;t&&(t.S.delete(e.ua),t.S.size||(i(e.va).I=null))},deferConnectionCallbacks:s.deferConnectionCallbacks,preferPerformance:s.preferPerformance,handlesDynamicScoping:!0,wrap:s.j?Xt:$t,wrapIfNeeded:!0===s.j?Xt:function(e){return e},Wrapper:zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=fe(e.target,!0)),e.__composedPath},noPatch:s.j,patchOnDemand:s.ea,nativeMethods:U,nativeTree:V,patchElementProto:yt};window.ShadyDOM=Yt,function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?G(window.EventTarget.prototype,e):(G(Node.prototype,e),G(Window.prototype,e)),B?G(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):q(Node.prototype,{parentNode:{get:function(){return z.currentNode=this,z.parentNode()}},firstChild:{get:function(){return z.currentNode=this,z.firstChild()}},lastChild:{get:function(){return z.currentNode=this,z.lastChild()}},previousSibling:{get:function(){return z.currentNode=this,z.previousSibling()}},nextSibling:{get:function(){return z.currentNode=this,z.nextSibling()}},childNodes:{get:function(){var e=[];z.currentNode=this;for(var t=z.firstChild();t;)e.push(t),t=z.nextSibling();return e}},parentElement:{get:function(){return J.currentNode=this,J.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(void 0!==e&&null!==e||(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:X(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),G(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),G(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return J.currentNode=this,J.firstChild()}},lastElementChild:{get:function(){return J.currentNode=this,J.lastChild()}},children:{get:function(){var e=[];J.currentNode=this;for(var t=J.firstChild();t;)e.push(t),t=J.nextSibling();return b(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},B?(G(Element.prototype,$),G(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),G(HTMLElement.prototype,["children","innerHTML","className"])):(q(Element.prototype,e),q(Element.prototype,{previousElementSibling:{get:function(){return J.currentNode=this,J.previousSibling()}},nextElementSibling:{get:function(){return J.currentNode=this,J.nextSibling()}},innerHTML:{get:function(){return I(this,E)},set:function(e){var t="template"===this.localName?this.content:this;X(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==K.namespaceURI?K.createElementNS(this.namespaceURI,n):K.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),G(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),G(Element.prototype,Y),G(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&G(window.HTMLTemplateElement.prototype,["innerHTML"]),B?G(DocumentFragment.prototype,$):q(DocumentFragment.prototype,e),G(DocumentFragment.prototype,Y),B?(G(Document.prototype,$),G(Document.prototype,["activeElement"])):q(Document.prototype,e),G(Document.prototype,["importNode","getElementById"]),G(Document.prototype,Y)}(),vt("__shady_"),Object.defineProperty(document,"_activeElement",ct.activeElement),C(Window.prototype,ht,"__shady_"),s.j?s.ea&&C(Element.prototype,ot):(vt(),function(){if(!se&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in me)window.__shady_native_addEventListener(e,function(e){e.__target||(Se(e),ge(e))},!0)}(),window.Event=Te,window.CustomEvent=Oe,window.MouseEvent=xe,window.ShadowRoot=Mt}var Zt=window.Document.prototype.createElement,Qt=window.Document.prototype.createElementNS,en=window.Document.prototype.importNode,tn=window.Document.prototype.prepend,nn=window.Document.prototype.append,on=window.DocumentFragment.prototype.prepend,rn=window.DocumentFragment.prototype.append,an=window.Node.prototype.cloneNode,sn=window.Node.prototype.appendChild,ln=window.Node.prototype.insertBefore,cn=window.Node.prototype.removeChild,dn=window.Node.prototype.replaceChild,un=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),hn=window.Element.prototype.attachShadow,fn=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),pn=window.Element.prototype.getAttribute,_n=window.Element.prototype.setAttribute,mn=window.Element.prototype.removeAttribute,vn=window.Element.prototype.getAttributeNS,yn=window.Element.prototype.setAttributeNS,gn=window.Element.prototype.removeAttributeNS,bn=window.Element.prototype.insertAdjacentElement,En=window.Element.prototype.insertAdjacentHTML,Nn=window.Element.prototype.prepend,wn=window.Element.prototype.append,Cn=window.Element.prototype.before,Sn=window.Element.prototype.after,Tn=window.Element.prototype.replaceWith,On=window.Element.prototype.remove,xn=window.HTMLElement,Dn=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Mn=window.HTMLElement.prototype.insertAdjacentElement,Ln=window.HTMLElement.prototype.insertAdjacentHTML,An=new Set;function Pn(e){var t=An.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(e){return An.add(e)});var kn=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function Rn(e){var t=e.isConnected;if(void 0!==t)return t;if(kn(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function jn(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function Hn(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function Fn(){var e=!(null===io||void 0===io||!io.noDocumentConstructionObserver),t=!(null===io||void 0===io||!io.shadyDomFastWalk);this.H=[],this.a=[],this.C=!1,this.shadyDomFastWalk=t,this.Ma=!e}function In(e,t,n,o){var r=window.ShadyDom;if(e.shadyDomFastWalk&&r&&r.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=r.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)n(e[t])}else!function e(t,n,o){for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)e(r,n,o);r=Hn(t,i);continue}if("template"===a){r=Hn(t,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)e(i,n,o)}r=r.firstChild?r.firstChild:Hn(t,r)}}(t,n,o)}function Bn(e,t){e.C&&In(e,t,function(t){return Un(e,t)})}function Un(e,t){if(e.C&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.H.length;n++)e.H[n](t);for(n=0;n<e.a.length;n++)e.a[n](t)}}function Vn(e,t){var n=[];for(In(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var o=n[t];1===o.__CE_state?e.connectedCallback(o):Gn(e,o)}}function Wn(e,t){var n=[];for(In(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var o=n[t];1===o.__CE_state&&e.disconnectedCallback(o)}}function qn(e,t,n){var o=(n=void 0===n?{}:n).Na,r=n.upgrade||function(t){return Gn(e,t)},i=[];for(In(e,t,function(t){if(e.C&&Un(e,t),"link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:t.addEventListener("load",function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach(function(e){return i.add(e)}),i.delete(n)),qn(e,n,{Na:i,upgrade:r})}})}else i.push(t)},o),t=0;t<i.length;t++)r(i[t])}function Gn(e,t){try{var n=t.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?to(o,t.localName):void 0;if(r&&void 0===t.__CE_state){r.constructionStack.push(t);try{try{if(new r.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=r,r.attributeChangedCallback&&t.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=t.getAttribute(a);null!==s&&e.attributeChangedCallback(t,a,null,s,null)}}Rn(t)&&e.connectedCallback(t)}}catch(e){Jn(e)}}function zn(e,t,n,o){var r=t.__CE_registry;if(r&&(null===o||"http://www.w3.org/1999/xhtml"===o)&&(r=to(r,n)))try{var i=new r.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!==t)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(r){return Jn(r),t=null===o?Zt.call(t,n):Qt.call(t,o,n),Object.setPrototypeOf(t,HTMLUnknownElement.prototype),t.__CE_state=2,t.__CE_definition=void 0,Un(e,t),t}return Un(e,t=null===o?Zt.call(t,n):Qt.call(t,o,n)),t}function Jn(e){var t=e.message,n=e.sourceURL||e.fileName||"",o=e.line||e.lineNumber||0,r=e.column||e.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:t,filename:n,lineno:o,colno:r,error:e}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,n,o),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 e}}),window.dispatchEvent(i),i.defaultPrevented||console.error(e)}function Kn(){var e=this;this.a=void 0,this.ka=new Promise(function(t){e.b=t})}function Xn(e){var t=document;this.D=void 0,this.v=e,this.a=t,qn(this.v,this.a),"loading"===this.a.readyState&&(this.D=new MutationObserver(this.b.bind(this)),this.D.observe(this.a,{childList:!0,subtree:!0}))}function $n(e){e.D&&e.D.disconnect()}function Yn(e){this.N=new Map,this.O=new Map,this.ga=new Map,this.Y=!1,this.aa=new Map,this.M=function(e){return e()},this.B=!1,this.P=[],this.v=e,this.ha=e.Ma?new Xn(e):void 0}function Zn(e,t){if(!Pn(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(to(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.Y)throw Error("A custom element is already being defined.")}function Qn(e,t,n){var o;e.Y=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(e){var t=r[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},a=i("connectedCallback"),s=i("disconnectedCallback"),l=i("adoptedCallback"),c=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(e){throw e}finally{e.Y=!1}return n={localName:t,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:l,attributeChangedCallback:o,observedAttributes:c,constructionStack:[]},e.O.set(t,n),e.ga.set(n.constructorFunction,n),n}function eo(e){if(!1!==e.B){e.B=!1;for(var t=[],n=e.P,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(qn(e.v,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):e.O.has(r)&&t.push(n)}}}),r=0;r<t.length;r++)Gn(e.v,t[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)Gn(e.v,a[s]);(i=e.aa.get(i))&&i.resolve(void 0)}n.length=0}}function to(e,t){var n=e.O.get(t);if(n)return n;if(n=e.N.get(t)){e.N.delete(t);try{return Qn(e,t,n())}catch(e){Jn(e)}}}function no(e,t,n){function o(t){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Rn(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(t.apply(this,o),o=0;o<i.length;o++)Wn(e,i[o]);if(Rn(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&Vn(e,i)}}void 0!==n.prepend&&(t.prepend=o(n.prepend)),void 0!==n.append&&(t.append=o(n.append))}function oo(e){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var o=this,r=void 0;if(Rn(this)&&(r=[],In(e,this,function(e){e!==o&&r.push(e)})),n.set.call(this,t),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&e.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?qn(e,this):Bn(e,this),t}})}function n(t,n){t.insertAdjacentElement=function(t,o){var r=Rn(o);return t=n.call(this,t,o),r&&Wn(e,o),Rn(t)&&Vn(e,o),t}}function o(t,n){function o(t,n){for(var o=[];t!==n;t=t.nextSibling)o.push(t);for(n=0;n<o.length;n++)qn(e,o[n])}t.insertAdjacentHTML=function(e,t){if("beforebegin"===(e=e.toLowerCase())){var r=this.previousSibling;n.call(this,e,t),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===e)r=this.firstChild,n.call(this,e,t),o(this.firstChild,r);else if("beforeend"===e)r=this.lastChild,n.call(this,e,t),o(r||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,e,t),o(this.nextSibling,r)}}}hn&&(Element.prototype.attachShadow=function(t){if(t=hn.call(this,t),e.C&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.H.length;n++)e.H[n](t)}return this.__CE_shadowRoot=t}),fn&&fn.get?t(Element.prototype,fn):Dn&&Dn.get?t(HTMLElement.prototype,Dn):function(e,t){e.C=!0,e.a.push(t)}(e,function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return an.call(this,!0).innerHTML},set:function(e){var t="template"===this.localName,n=t?this.content:this,o=Qt.call(document,this.namespaceURI,this.localName);for(o.innerHTML=e;0<n.childNodes.length;)cn.call(n,n.childNodes[0]);for(e=t?o.content:o;0<e.childNodes.length;)sn.call(n,e.childNodes[0])}})}),Element.prototype.setAttribute=function(t,n){if(1!==this.__CE_state)return _n.call(this,t,n);var o=pn.call(this,t);_n.call(this,t,n),n=pn.call(this,t),e.attributeChangedCallback(this,t,o,n,null)},Element.prototype.setAttributeNS=function(t,n,o){if(1!==this.__CE_state)return yn.call(this,t,n,o);var r=vn.call(this,t,n);yn.call(this,t,n,o),o=vn.call(this,t,n),e.attributeChangedCallback(this,n,r,o,t)},Element.prototype.removeAttribute=function(t){if(1!==this.__CE_state)return mn.call(this,t);var n=pn.call(this,t);mn.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)},Element.prototype.removeAttributeNS=function(t,n){if(1!==this.__CE_state)return gn.call(this,t,n);var o=vn.call(this,t,n);gn.call(this,t,n);var r=vn.call(this,t,n);o!==r&&e.attributeChangedCallback(this,n,o,r,t)},Mn?n(HTMLElement.prototype,Mn):bn&&n(Element.prototype,bn),Ln?o(HTMLElement.prototype,Ln):En&&o(Element.prototype,En),no(e,Element.prototype,{prepend:Nn,append:wn}),function(e){function t(t){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Rn(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(t.apply(this,o),o=0;o<i.length;o++)Wn(e,i[o]);if(Rn(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&Vn(e,i)}}var n=Element.prototype;void 0!==Cn&&(n.before=t(Cn)),void 0!==Sn&&(n.after=t(Sn)),void 0!==Tn&&(n.replaceWith=function(t){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&Rn(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=Rn(this),Tn.apply(this,n),n=0;n<r.length;n++)Wn(e,r[n]);if(i)for(Wn(e,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&Vn(e,r)}),void 0!==On&&(n.remove=function(){var t=Rn(this);On.call(this),t&&Wn(e,this)})}(e)}Fn.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(e){Jn(e)}},Fn.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(e){Jn(e)}},Fn.prototype.attributeChangedCallback=function(e,t,n,o,r){var i=e.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t))try{i.attributeChangedCallback.call(e,t,n,o,r)}catch(e){Jn(e)}},Kn.prototype.resolve=function(e){if(this.a)throw Error("Already resolved.");this.a=e,this.b(e)},Xn.prototype.b=function(e){var t=this.a.readyState;for("interactive"!==t&&"complete"!==t||$n(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,o=0;o<n.length;o++)qn(this.v,n[o])},(e=Yn.prototype).Da=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Zn(this,e),this.N.set(e,t),this.P.push(e),this.B||(this.B=!0,this.M(function(){return eo(n)}))},e.define=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");Zn(this,e),Qn(this,e,t),this.P.push(e),this.B||(this.B=!0,this.M(function(){return eo(n)}))},e.upgrade=function(e){qn(this.v,e)},e.get=function(e){if(e=to(this,e))return e.constructorFunction},e.whenDefined=function(e){if(!Pn(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.aa.get(e);if(t)return t.ka;t=new Kn,this.aa.set(e,t);var n=this.O.has(e)||this.N.has(e);return e=-1===this.P.indexOf(e),n&&e&&t.resolve(void 0),t.ka},e.polyfillWrapFlushCallback=function(e){this.ha&&$n(this.ha);var t=this.M;this.M=function(n){return e(function(){return t(n)})}},window.CustomElementRegistry=Yn,Yn.prototype.define=Yn.prototype.define,Yn.prototype.upgrade=Yn.prototype.upgrade,Yn.prototype.get=Yn.prototype.get,Yn.prototype.whenDefined=Yn.prototype.whenDefined,Yn.prototype.polyfillDefineLazy=Yn.prototype.Da,Yn.prototype.polyfillWrapFlushCallback=Yn.prototype.polyfillWrapFlushCallback;var ro={};var io=window.customElements;function ao(){var e=new Fn;!function(e){function t(){var t=this.constructor,n=document.__CE_registry.ga.get(t);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=Zt.call(document,n.localName),Object.setPrototypeOf(o,t.prototype),o.__CE_state=1,o.__CE_definition=n,Un(e,o),o;var r=o.length-1,i=o[r];if(i===ro)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return o[r]=ro,Object.setPrototypeOf(i,t.prototype),Un(e,i),i}t.prototype=xn.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),window.HTMLElement=t}(e),function(e){Document.prototype.createElement=function(t){return zn(e,this,t,null)},Document.prototype.importNode=function(t,n){return t=en.call(this,t,!!n),this.__CE_registry?qn(e,t):Bn(e,t),t},Document.prototype.createElementNS=function(t,n){return zn(e,this,n,t)},no(e,Document.prototype,{prepend:tn,append:nn})}(e),no(e,DocumentFragment.prototype,{prepend:on,append:rn}),function(e){function t(t,n){Object.defineProperty(t,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&Rn(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,t),o)for(t=0;t<o.length;t++)Wn(e,o[t])}}})}Node.prototype.insertBefore=function(t,n){if(t instanceof DocumentFragment){var o=jn(t);if(t=ln.call(this,t,n),Rn(this))for(n=0;n<o.length;n++)Vn(e,o[n]);return t}return o=t instanceof Element&&Rn(t),n=ln.call(this,t,n),o&&Wn(e,t),Rn(this)&&Vn(e,t),n},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var n=jn(t);if(t=sn.call(this,t),Rn(this))for(var o=0;o<n.length;o++)Vn(e,n[o]);return t}return n=t instanceof Element&&Rn(t),o=sn.call(this,t),n&&Wn(e,t),Rn(this)&&Vn(e,t),o},Node.prototype.cloneNode=function(t){return t=an.call(this,!!t),this.ownerDocument.__CE_registry?qn(e,t):Bn(e,t),t},Node.prototype.removeChild=function(t){var n=t instanceof Element&&Rn(t),o=cn.call(this,t);return n&&Wn(e,t),o},Node.prototype.replaceChild=function(t,n){if(t instanceof DocumentFragment){var o=jn(t);if(t=dn.call(this,t,n),Rn(this))for(Wn(e,n),n=0;n<o.length;n++)Vn(e,o[n]);return t}o=t instanceof Element&&Rn(t);var r=dn.call(this,t,n),i=Rn(this);return i&&Wn(e,n),o&&Wn(e,t),i&&Vn(e,t),r},un&&un.get?t(Node.prototype,un):function(e,t){e.C=!0,e.H.push(t)}(e,function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")},set:function(e){for(;this.firstChild;)cn.call(this,this.firstChild);null!=e&&""!==e&&sn.call(this,document.createTextNode(e))}})})}(e),oo(e),e=new Yn(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}function so(){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 lo(e){var t=e=e.replace(mo,"").replace(vo,""),n=new so;n.start=0,n.end=t.length;for(var o=n,r=0,i=t.length;r<i;r++)if("{"===t[r]){o.rules||(o.rules=[]);var a=o,s=a.rules[a.rules.length-1]||null;(o=new so).start=r+1,o.parent=a,o.previous=s,a.rules.push(o)}else"}"===t[r]&&(o.end=r+1,o=o.parent||n);return function e(t,n){var o=n.substring(t.start,t.end-1);t.parsedCssText=t.cssText=o.trim();t.parent&&(o=n.substring(t.previous?t.previous.end:t.parent.start,t.start-1),o=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e})}(o),o=o.replace(wo," "),o=o.substring(o.lastIndexOf(";")+1),o=t.parsedSelector=t.selector=o.trim(),t.atRule=0===o.indexOf("@"),t.atRule?0===o.indexOf("@media")?t.type=po:o.match(No)&&(t.type=fo,t.keyframesName=t.selector.split(wo).pop()):t.type=0===o.indexOf("--")?_o:ho);if(o=t.rules)for(var r=0,i=o.length,a=void 0;r<i&&(a=o[r]);r++)e(a,n);return t}(n,e)}io&&!io.forcePolyfill&&"function"==typeof io.define&&"function"==typeof io.get||ao(),window.__CE_installPolyfill=ao;var co,uo,ho=1,fo=7,po=4,_o=1e3,mo=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,vo=/@import[^;]*;/gim,yo=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,go=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,bo=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Eo=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,No=/^@[^\s]*keyframes/,wo=/\s+/g,Co=!(window.ShadyDOM&&window.ShadyDOM.inUse);function So(e){co=(!e||!e.shimcssproperties)&&(Co||!(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&&(uo=window.ShadyCSS.cssBuild);var To=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?co=window.ShadyCSS.nativeCss:window.ShadyCSS?(So(window.ShadyCSS),window.ShadyCSS=void 0):So(window.WebComponents&&window.WebComponents.flags);var Oo=co,xo=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Do=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Mo=/(--[\w-]+)\s*([:,;)]|$)/gi,Lo=/(animation\s*:)|(animation-name\s*:)/,Ao=/@media\s(.*)/,Po=/\{[^}]*\}/g,ko=new Set;function Ro(e,t){return e?("string"==typeof e&&(e=lo(e)),t&&Fo(e,t),function e(t,n,o){o=void 0===o?"":o;var r="";if(t.cssText||t.rules){var i,a=t.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++)r=e(l,n,r)}else n=n?t.cssText:(n=(n=t.cssText).replace(yo,"").replace(go,"")).replace(bo,"").replace(Eo,""),(r=n.trim())&&(r="  "+r+"\n")}return r&&(t.selector&&(o+=t.selector+" {\n"),o+=r,t.selector&&(o+="}\n\n")),o}(e,Oo)):""}function jo(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=lo(e.textContent)),e.__cssRules||null}function Ho(e){return!!e.parent&&e.parent.type===fo}function Fo(e,t,n,o){if(e){var r=!1,i=e.type;if(o&&i===po){var a=e.selector.match(Ao);a&&(window.matchMedia(a[1]).matches||(r=!0))}if(i===ho?t(e):n&&i===fo?n(e):i===_o&&(r=!0),(e=e.rules)&&!r)for(r=0,i=e.length,a=void 0;r<i&&(a=e[r]);r++)Fo(a,t,n,o)}}function Io(e,t,n,o){var r=document.createElement("style");return t&&r.setAttribute("scope",t),r.textContent=e,Vo(r,n,o),r}var Bo=null;function Uo(e){e=document.createComment(" Shady DOM styles for "+e+" ");var t=document.head;return t.insertBefore(e,(Bo?Bo.nextSibling:null)||t.firstChild),Bo=e}function Vo(e,t,n){(t=t||document.head).insertBefore(e,n&&n.nextSibling||t.firstChild),Bo?e.compareDocumentPosition(Bo)===Node.DOCUMENT_POSITION_PRECEDING&&(Bo=e):Bo=e}function Wo(e,t){for(var n=0,o=e.length;t<o;t++)if("("===e[t])n++;else if(")"===e[t]&&0==--n)return t;return-1}function qo(e,t){Co?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var Go=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function zo(e){var t=e.localName,n="";return t?-1<t.indexOf("-")||(n=t,t=e.getAttribute&&e.getAttribute("is")||""):(t=e.is,n=e.extends),{is:t,K:n}}function Jo(e){for(var t=[],n="",o=0;0<=o&&o<e.length;o++)if("("===e[o]){var r=Wo(e,o);n+=e.slice(o,r+1),o=r}else","===e[o]?(t.push(n),n=""):n+=e[o];return n&&t.push(n),t}function Ko(e){if(void 0!==uo)return uo;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||""}function Xo(e){return!(""===(e=void 0===e?"":e)||!Oo)&&(Co?"shadow"===e:"shady"===e)}function $o(){}function Yo(e,t,n){var o;if(t.nodeType===Node.ELEMENT_NODE&&n(t),o="template"===t.localName?(t.content||t._content||t).childNodes:t.children||t.childNodes)for(t=0;t<o.length;t++)Yo(e,o[t],n)}function Zo(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var o=e.getAttribute("class");n?o&&qo(e,t=o.replace("style-scope","").replace(t,"")):qo(e,(o?o+" ":"")+"style-scope "+t)}}function Qo(e,t,n){Yo(_r,e,function(e){Zo(e,t,!0),Zo(e,n)})}function er(e,t){Yo(_r,e,function(e){Zo(e,t||"",!0)})}function tr(e,t,n,o,r){var i=_r;return""===(r=void 0===r?"":r)&&(Co||"shady"===(void 0===o?"":o)?r=Ro(t,n):r=function(e,t,n,o,r){var i=nr(n,o);return n=n?"."+n:"",Ro(t,function(t){t.c||(t.selector=t.g=or(e,t,e.b,n,i),t.c=!0),r&&r(t,n,i)})}(i,t,(e=zo(e)).is,e.K,n)+"\n\n"),r.trim()}function nr(e,t){return t?"[is="+e+"]":e}function or(e,t,n,o,r){var i=Jo(t.selector);if(!Ho(t)){t=0;for(var a=i.length,s=void 0;t<a&&(s=i[t]);t++)i[t]=n.call(e,s,o,r)}return i.filter(function(e){return!!e}).join(",")}function rr(e){return e.replace(sr,function(e,t,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+t+"("+n+")"})}function ir(e,t){e=e.split(/(\[.+?\])/);for(var n=[],o=0;o<e.length;o++)if(1==o%2)n.push(e[o]);else{var r=e[o];""===r&&o===e.length-1||((r=r.split(":"))[0]+=t,n.push(r.join(":")))}return n.join("")}function ar(e){":root"===e.selector&&(e.selector="html")}$o.prototype.b=function(e,t,n){var o=!1;e=e.trim();var r=sr.test(e);r&&(e=rr(e=e.replace(sr,function(e,t,n){return":"+t+"("+n.replace(/\s/g,"")+")"})));var i=pr.test(e);if(i){var a=function(e){for(var t,n=[];t=e.match(pr);){var o=t.index,r=Wo(e,o);if(-1===r)throw Error(t.input+" selector missing ')'");t=e.slice(o,r+1),e=e.replace(t,""),n.push(t)}return{fa:e,matches:n}}(e);e=a.fa,a=a.matches}return e=(e=e.replace(dr,":host $1")).replace(lr,function(e,r,i){return o||(e=function(e,t,n,o){var r=e.indexOf("::slotted");if(0<=e.indexOf(":host")?e=function(e,t){var n=e.match(ur);return(n=n&&n[2].trim()||"")?n[0].match(cr)?e.replace(ur,function(e,n,o){return t+o}):n.split(cr)[0]===t?n:"should_not_match":e.replace(":host",t)}(e,o):0!==r&&(e=n?ir(e,n):e),n=!1,0<=r&&(t="",n=!0),n){var i=!0;n&&(e=e.replace(hr,function(e,t){return" > "+t}))}return{value:e,xa:t,stop:i}}(i,r,t,n),o=o||e.stop,r=e.xa,i=e.value),r+i}),i&&(e=function(e,t){var n=e.split("");return t.reduce(function(e,t,o){return e+t+n[o+1]},n[0])}(e,a)),r&&(e=rr(e)),e.replace(fr,function(e,t,n,o){return'[dir="'+n+'"] '+t+o+", "+t+'[dir="'+n+'"]'+o})},$o.prototype.c=function(e){return e.match(":host")?"":e.match("::slotted")?this.b(e,":not(.style-scope)"):ir(e.trim(),":not(.style-scope)")},o.Object.defineProperties($o.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var sr=/:(nth[-\w]+)\(([^)]+)\)/,lr=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,cr=/[[.:#*]/,dr=/^(::slotted)/,ur=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,hr=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,fr=/(.*):dir\((?:(ltr|rtl))\)(.*)/,pr=/:(?:matches|any|-(?:webkit|moz)-any)/,_r=new $o;function mr(e,t,n,o,r){this.o=e||null,this.b=t||null,this.da=n||[],this.l=null,this.cssBuild=r||"",this.K=o||"",this.a=this.m=this.u=null}function vr(e){return e?e.__styleInfo:null}function yr(e,t){return e.__styleInfo=t}function gr(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}mr.prototype.c=function(){return this.o},mr.prototype._getStyleRules=mr.prototype.c;var br=/:host\s*>\s*/,Er=navigator.userAgent.match("Trident");function Nr(){}function wr(e){if(!e.f){var t={},n={};Cr(e,n)&&(t.s=n,e.rules=null),t.cssText=e.parsedCssText.replace(Po,"").replace(xo,""),e.f=t}}function Cr(e,t){var n=e.f;if(!n){n=e.parsedCssText;for(var o;e=xo.exec(n);)"inherit"===(o=(e[2]||e[3]).trim())&&"unset"===o||(t[e[1].trim()]=o),o=!0;return o}if(n.s)return Object.assign(t,n.s),!0}function Sr(e,t,n){return t&&(t=0<=t.indexOf(";")?Tr(e,t,n):function e(t,n){var o=t.indexOf("var(");if(-1===o)return n(t,"","","");var r=Wo(t,o+3),i=t.substring(o+4,r);return o=t.substring(0,o),t=e(t.substring(r+1),n),-1===(r=i.indexOf(","))?n(o,i.trim(),"",t):n(o,i.substring(0,r).trim(),i.substring(r+1).trim(),t)}(t,function(t,o,r,i){return o?((o=Sr(e,n[o],n))&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=Sr(e,n[r]||r,n)||r,t+(o||"")+i):t+i})),t&&t.trim()||""}function Tr(e,t,n){t=t.split(";");for(var o,r,i=0;i<t.length;i++)if(o=t[i]){if(Do.lastIndex=0,r=Do.exec(o))o=Sr(e,n[r[1]],n);else if(-1!==(r=o.indexOf(":"))){var a=o.substring(r);a=Sr(e,a=a.trim(),n)||a,o=o.substring(0,r)+a}t[i]=o&&o.lastIndexOf(";")===o.length-1?o.slice(0,-1):o||""}return t.join(";")}function Or(e,t,n){var o={},r={};return Fo(t,function(t){!function(e,t,n,o){if(t.f||wr(t),t.f.s){var r=zo(e);e=r.is,r=r.K,r=e?nr(e,r):"html";var i=t.parsedSelector,a=!!i.match(br)||"html"===r&&-1<i.indexOf("html"),s=0===i.indexOf(":host")&&!a;"shady"===n&&(s=!(a=i===r+" > *."+r||-1!==i.indexOf("html"))&&0===i.indexOf(r)),(a||s)&&(n=r,s&&(t.g||(t.g=or(_r,t,_r.b,e?"."+e:"",r)),n=t.g||r),a&&"html"===r&&(n=t.g||t.T),o({fa:n,Ca:s,Pa:a}))}}(e,t,n,function(n){gr.call(e._element||e,n.fa)&&(n.Ca?Cr(t,o):Cr(t,r))})},null,!0),{Ga:r,Ba:o}}function xr(e,t,n,o){var r=zo(t),i=nr(r.is,r.K),a=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=vr(t);r=s.o,s=s.cssBuild;var l=function(e,t){e=e.b;var n={};if(!Co&&e)for(var o=0,r=e[o];o<e.length;r=e[++o]){var i=r,a=t;i.i=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.a=i.keyframesName+"-"+a,i.g=i.g||i.selector,i.selector=i.g.replace(i.keyframesName,i.a),n[r.keyframesName]=Dr(r)}return n}(r,o);return tr(t,r,function(t){var r="";if(t.f||wr(t),t.f.cssText&&(r=Tr(e,t.f.cssText,n)),t.cssText=r,!Co&&!Ho(t)&&t.cssText){var s=r=t.cssText;if(null==t.ma&&(t.ma=Lo.test(r)),t.ma)if(null==t.U)for(var c in t.U=[],l)r!==(s=(s=l[c])(r))&&(r=s,t.U.push(c));else{for(c=0;c<t.U.length;++c)r=(s=l[t.U[c]])(r);s=r}t.cssText=s,t.g=t.g||t.selector,r="."+o,s=0;for(var d=(c=Jo(t.g)).length,u=void 0;s<d&&(u=c[s]);s++)c[s]=u.match(a)?u.replace(i,r):r+" "+u;t.selector=c.join(",")}},s)}function Dr(e){return function(t){return t.replace(e.i,e.a)}}function Mr(e,t){var n=Lr,o=jo(e);e.textContent=Ro(o,function(e){var o=e.cssText=e.parsedCssText;e.f&&e.f.cssText&&(o=o.replace(yo,"").replace(go,""),e.cssText=Tr(n,o,t))})}o.Object.defineProperties(Nr.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Lr=new Nr,Ar={},Pr=window.customElements;if(Pr&&!Co&&!To){var kr=Pr.define;Pr.define=function(e,t,n){Ar[e]||(Ar[e]=Uo(e)),kr.call(Pr,e,t,n)}}function Rr(){this.cache={}}function jr(){}Rr.prototype.store=function(e,t,n,o){var r=this.cache[e]||[];r.push({s:t,styleElement:n,m:o}),100<r.length&&r.shift(),this.cache[e]=r};var Hr=new RegExp(_r.a+"\\s*([^\\s]*)");function Fr(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||"").match(Hr))?e[1]:""}function Ir(e){var t=Go(e).getRootNode();return t===e||t===e.ownerDocument?"":(e=t.host)?zo(e).is:""}function Br(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var o=0;o<n.addedNodes.length;o++){var r=n.addedNodes[o];if(r.nodeType===Node.ELEMENT_NODE){var i=r.getRootNode(),a=Fr(r);if(a&&i===r.ownerDocument&&("style"!==r.localName&&"template"!==r.localName||""===Ko(r)))er(r,a);else if(i instanceof ShadowRoot)for((i=Ir(r))!==a&&Qo(r,a,i),r=window.ShadyDOM.nativeMethods.querySelectorAll.call(r,":not(."+_r.a+")"),a=0;a<r.length;a++){var s=Ir(i=r[a]);s&&Zo(i,s)}}}}}if(!(Co||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ur=new MutationObserver(Br),Vr=function(e){Ur.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Vr(document);else{var Wr=function(){Vr(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Wr):requestAnimationFrame(function(){if("loading"===document.readyState){var e=function(){Wr(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else Wr()})}jr=function(){Br(Ur.takeRecords())}}var qr={},Gr=Promise.resolve();function zr(e){(e=qr[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function Jr(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var Kr={},Xr=new Rr;function $r(){this.la={},this.c=document.documentElement;var e=new so;e.rules=[],this.i=yr(this.c,new mr(e)),this.T=!1,this.a=this.b=null}function Yr(e){var t=zo(e),n=t.is;t=t.K;var o=Ar[n]||null,r=qr[n];if(r)return yr(e,t=new mr(n=r._styleAst,o,r.a,t,r=Ko(r))),t}function Zr(e){if(!e.b&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.b=window.ShadyCSS.ApplyShim,e.b.invalidCallback=zr;var t=!0}else t=!1;return function(e){!e.a&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.a=window.ShadyCSS.CustomStyleInterface,e.a.transformCallback=function(t){e.pa(t)},e.a.validateCallback=function(){requestAnimationFrame(function(){(e.a.enqueued||e.T)&&e.flushCustomStyles()})})}(e),t}function Qr(e,t,n){var o=zo(t).is;if(n.l){var r,i=n.l;for(r in i)null===r?t.style.removeProperty(r):t.style.setProperty(r,i[r])}!(i=qr[o])&&t!==e.c||i&&""!==Ko(i)||!i||!i._style||Jr(i)||((Jr(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(Zr(e),e.b&&e.b.transformRules(i._styleAst,o),i._style.textContent=tr(t,n.o),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,Gr.then(function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1}))}(i)),Co&&(e=t.shadowRoot)&&(e=e.querySelector("style"))&&(e.textContent=tr(t,n.o)),n.o=i._styleAst)}function ei(e,t){return(t=Go(t).getRootNode().host)?vr(t)||Yr(t)?t:ei(e,t):e.c}function ti(e,t,n){var o=ei(e,t),r=vr(o),i=r.u;for(var a in o===e.c||i||(ti(e,o,r),i=r.u),e=Object.create(i||null),o=Or(t,n.o,n.cssBuild),t=function(e,t){var n={},o=[];return Fo(e,function(e){e.f||wr(e);var r=e.g||e.parsedSelector;t&&e.f.s&&r&&gr.call(t,r)&&(Cr(e,n),e=e.index,r=parseInt(e/32,10),o[r]=(o[r]||0)|1<<e%32)},null,!0),{s:n,key:o}}(r.o,t).s,Object.assign(e,o.Ba,t,o.Ga),t=n.l)((r=t[a])||0===r)&&(e[a]=r);for(a=Lr,t=Object.getOwnPropertyNames(e),r=0;r<t.length;r++)e[o=t[r]]=Sr(a,e[o],e);n.u=e}(e=$r.prototype).flush=function(){jr()},e.za=function(e){return jo(e)},e.Ka=function(e){return Ro(e)},e.prepareTemplate=function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)},e.prepareTemplateStyles=function(e,t,n){if(!e._prepared&&!To){Co||Ar[t]||(Ar[t]=Uo(t)),e._prepared=!0,e.name=t,e.extends=n,qr[t]=e;var o=Ko(e),r=Xo(o);n={is:t,extends:n};for(var i=[],a=e.content.querySelectorAll("style"),s=0;s<a.length;s++){var l=a[s];if(l.hasAttribute("shady-unscoped")){if(!Co){var c=l.textContent;if(!ko.has(c)){ko.add(c);var d=document.createElement("style");d.setAttribute("shady-unscoped",""),d.textContent=c,document.head.appendChild(d)}l.parentNode.removeChild(l)}}else i.push(l.textContent),l.parentNode.removeChild(l)}i=i.join("").trim()+(Kr[t]||""),Zr(this),r||((a=!o)&&(a=Do.test(i)||xo.test(i),Do.lastIndex=0,xo.lastIndex=0),s=lo(i),a&&Oo&&this.b&&this.b.transformRules(s,t),e._styleAst=s),a=[],Oo||(a=function(e){var t={},n=[],o=0;for(var r in Fo(e,function(e){wr(e),e.index=o++,e=e.f.cssText;for(var n;n=Mo.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}},function(e){n.push(e)}),e.b=n,e=[],t)e.push(r);return e}(e._styleAst)),a.length&&!Oo||(s=Co?e.content:null,t=Ar[t]||null,o=(o=tr(n,e._styleAst,null,o,r?i:"")).length?Io(o,n.is,s,t):null,e._style=o),e.a=a}},e.Ea=function(e,t){Kr[t]=e.join(" ")},e.prepareTemplateDom=function(e,t){if(!To){var n=Ko(e);Co||"shady"===n||e._domPrepared||(e._domPrepared=!0,function(e,t){Yo(_r,e,function(e){Zo(e,t||"")})}(e.content,t))}},e.flushCustomStyles=function(){if(!To){var e=Zr(this);if(this.a){var t=this.a.processStyles();if((e||this.a.enqueued)&&!Xo(this.i.cssBuild)){if(Oo){if(!this.i.cssBuild)for(e=0;e<t.length;e++){var n=this.a.getStyleForCustomStyle(t[e]);if(n&&Oo&&this.b){var o=jo(n);Zr(this),this.b.transformRules(o),n.textContent=Ro(o)}}}else{for(function(e,t){(t=t.map(function(t){return e.a.getStyleForCustomStyle(t)}).filter(function(e){return!!e})).sort(function(e,t){return(e=t.compareDocumentPosition(e))&Node.DOCUMENT_POSITION_FOLLOWING?1:e&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),e.i.o.rules=t.map(function(e){return jo(e)})}(this,t),ti(this,this.c,this.i),e=0;e<t.length;e++)(n=this.a.getStyleForCustomStyle(t[e]))&&Mr(n,this.i.u);this.T&&this.styleDocument()}this.a.enqueued=!1}}}},e.styleElement=function(e,t){if(To){if(t){vr(e)||yr(e,new mr(null));var n=vr(e);n.l=n.l||{},Object.assign(n.l,t),Qr(this,e,n)}}else if(n=vr(e)||Yr(e))if(e!==this.c&&(this.T=!0),t&&(n.l=n.l||{},Object.assign(n.l,t)),Oo)Qr(this,e,n);else if(this.flush(),ti(this,e,n),n.da&&n.da.length){var o;t=zo(e).is;e:{if(o=Xr.cache[t])for(var r=o.length-1;0<=r;r--){var i=o[r];t:{for(var a=n.da,s=0;s<a.length;s++){var l=a[s];if(i.s[l]!==n.u[l]){a=!1;break t}}a=!0}if(a){o=i;break e}}o=void 0}a=o?o.styleElement:null,r=n.m,(i=o&&o.m)||(i=t+"-"+(i=this.la[t]=(this.la[t]||0)+1)),n.m=i,i=n.m,s=Lr,s=a?a.textContent||"":xr(s,e,n.u,i);var c=(l=vr(e)).a;c&&!Co&&c!==a&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),Co?l.a?(l.a.textContent=s,a=l.a):s&&(a=Io(s,i,e.shadowRoot,l.b)):a?a.parentNode||(Er&&-1<s.indexOf("@media")&&(a.textContent=s),Vo(a,null,l.b)):s&&(a=Io(s,i,null,l.b)),a&&(a._useCount=a._useCount||0,l.a!=a&&a._useCount++,l.a=a),i=a,Co||(a=n.m,l=s=e.getAttribute("class")||"",r&&(l=s.replace(new RegExp("\\s*x-scope\\s*"+r+"\\s*","g")," ")),s!==(l+=(l?" ":"")+"x-scope "+a)&&qo(e,l)),o||Xr.store(t,n.u,i,n.m)}},e.styleDocument=function(e){this.styleSubtree(this.c,e)},e.styleSubtree=function(e,t){var n=Go(e),o=n.shadowRoot,r=e===this.c;if((o||r)&&this.styleElement(e,t),e=r?n:o)for(e=Array.from(e.querySelectorAll("*")).filter(function(e){return Go(e).shadowRoot}),t=0;t<e.length;t++)this.styleSubtree(e[t])},e.pa=function(e){var t=this,n=Ko(e);if(n!==this.i.cssBuild&&(this.i.cssBuild=n),!Xo(n)){var o=jo(e);Fo(o,function(e){if(Co)ar(e);else{var o=_r;e.selector=e.parsedSelector,ar(e),e.selector=e.g=or(o,e,o.c,void 0,void 0)}Oo&&""===n&&(Zr(t),t.b&&t.b.transformRule(e))}),Oo?e.textContent=Ro(o):this.i.o.rules.push(o)}},e.getComputedStyleValue=function(e,t){var n;return Oo||(n=(vr(e)||vr(ei(this,e))).u[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""},e.Ja=function(e,t){var n,o=Go(e).getRootNode();if(n=t?("string"==typeof t?t:String(t)).split(/\s/):[],!(t=o.host&&o.host.localName)&&(o=e.getAttribute("class"))){o=o.split(/\s/);for(var r=0;r<o.length;r++)if(o[r]===_r.a){t=o[r+1];break}}t&&n.push(_r.a,t),Oo||(t=vr(e))&&t.m&&n.push(Lr.a,t.m),qo(e,n.join(" "))},e.wa=function(e){return vr(e)},e.Ia=function(e,t){Zo(e,t)},e.La=function(e,t){Zo(e,t,!0)},e.Ha=function(e){return Ir(e)},e.ya=function(e){return Fr(e)},$r.prototype.flush=$r.prototype.flush,$r.prototype.prepareTemplate=$r.prototype.prepareTemplate,$r.prototype.styleElement=$r.prototype.styleElement,$r.prototype.styleDocument=$r.prototype.styleDocument,$r.prototype.styleSubtree=$r.prototype.styleSubtree,$r.prototype.getComputedStyleValue=$r.prototype.getComputedStyleValue,$r.prototype.setElementClass=$r.prototype.Ja,$r.prototype._styleInfoForNode=$r.prototype.wa,$r.prototype.transformCustomStyleForDocument=$r.prototype.pa,$r.prototype.getStyleAst=$r.prototype.za,$r.prototype.styleAstToString=$r.prototype.Ka,$r.prototype.flushCustomStyles=$r.prototype.flushCustomStyles,$r.prototype.scopeNode=$r.prototype.Ia,$r.prototype.unscopeNode=$r.prototype.La,$r.prototype.scopeForNode=$r.prototype.Ha,$r.prototype.currentScopeForNode=$r.prototype.ya,$r.prototype.prepareAdoptedCssText=$r.prototype.Ea,Object.defineProperties($r.prototype,{nativeShadow:{get:function(){return Co}},nativeCss:{get:function(){return Oo}}});var ni,oi,ri=new $r;window.ShadyCSS&&(ni=window.ShadyCSS.ApplyShim,oi=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:ri,prepareTemplate:function(e,t,n){ri.flushCustomStyles(),ri.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){ri.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){ri.flushCustomStyles(),ri.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){ri.flushCustomStyles(),ri.styleSubtree(e,t)},styleElement:function(e){ri.flushCustomStyles(),ri.styleElement(e)},styleDocument:function(e){ri.flushCustomStyles(),ri.styleDocument(e)},flushCustomStyles:function(){ri.flushCustomStyles()},getComputedStyleValue:function(e,t){return ri.getComputedStyleValue(e,t)},nativeCss:Oo,nativeShadow:Co,cssBuild:uo,disableRuntime:To},ni&&(window.ShadyCSS.ApplyShim=ni),oi&&(window.ShadyCSS.CustomStyleInterface=oi)}).call(this);

The same content is in 3 releases, Joomla 4.0.0-beta to 4.0.0-beta3. See them all, or every version of this file.