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