- md5
- 493490e76504520f842ff45b1060d57e
- sha1
- ef3f645f26a0bedec6e7611377decaebe5bb202b
- sha256
- cf67acba2c8f3870866ebdd8c7bef71636f5e84654552f74395d2f17b91c69e9
(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 r="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function i(){}function o(e){return e.__shady||(e.__shady=new i),e.__shady}function s(e){return e&&e.__shady}i.prototype.toJSON=function(){return{}};var a=window.ShadyDOM||{};a.na=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var l=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function d(e){return(e=s(e))&&void 0!==e.firstChild}function u(e){return e instanceof ShadowRoot}function h(e){return(e=(e=s(e))&&e.root)&&Ut(e)}a.h=!!(l&&l.configurable&&l.get),a.R=a.force||!a.na,a.j=a.noPatch||!1,a.M=a.preferPerformance,a.T="on-demand"===a.j,a.ca=navigator.userAgent.match("Trident");var c=Element.prototype,_=c.matches||c.matchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector,f=document.createTextNode(""),p=0,v=[];function m(e){v.push(e),f.textContent=p++}new MutationObserver(function(){for(;v.length;)try{v.shift()()}catch(e){throw f.textContent=p++,e}}).observe(f,{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 r=e[n],i=r.getAttribute("id")||r.getAttribute("name");i&&"length"!==i&&isNaN(i)&&(e[i]=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),i=r.next();!i.done;i=r.next())if(((i=i.value).getAttribute("id")||i.getAttribute("name"))==n)return i;return null},e}function N(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function E(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function S(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 i in n=void 0===n?"":n,t)r&&0<=r.indexOf(i)||S(e,n+i,t[i])}function w(e,t){for(var n in t)n in e&&S(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),i=0;i<r.length;i++)e[n=r[i]]=t[n]}var x,D=[];function M(e){x||(x=!0,m(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.I=new Set}L.list=D,A.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.I.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,R=/[&\u00A0<>]/g;function j(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 k=I("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),H=I("style script xmp iframe noembed noframes plaintext noscript".split(" "));function B(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,i=0,o=r.length,s=void 0;i<o&&(s=r[i]);i++){e:{var a=s,l=e,d=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var u,h="<"+(l=a.localName),c=a.attributes,_=0;u=c[_];_++)h+=" "+u.name+'="'+u.value.replace(P,j)+'"';h+=">",a=k[l]?h:h+B(a,d)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&H[l.localName]?a:a.replace(R,j);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var F=a.h,U={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},V={};function q(e){V[e]=function(t){return t["__shady_native_"+e]}}function W(e,t){for(var n in C(e,t,"__shady_native_"),t)q(n)}function G(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],i=Object.getOwnPropertyDescriptor(e,r);i&&(Object.defineProperty(e,"__shady_native_"+r,i),i.value?U[r]||(U[r]=i.value):q(r))}}var $=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),X=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),J=document.implementation.createHTMLDocument("inert");function K(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var z=["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,re=a.h||!0===a.j,ie=re?function(){}:function(e){var t=o(e);t.ea||(t.ea=!0,w(e,ee))},oe=re?function(){}:function(e){var t=o(e);t.da||(t.da=!0,w(e,Z),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!a.j||w(e,Q))},se="__eventWrappers"+Date.now(),ae=(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 de(e){if(e&&"object"==typeof e)var t=!!e.capture,n=!!e.once,r=!!e.passive,i=e.w;else t=!!e,r=n=!1;return{aa:i,capture:t,once:n,passive:r,Z:le?e:t}}var ue={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},he={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ce(e){return e instanceof Node?e.__shady_getRootNode():e}function _e(e,t){var n=[],r=e;for(e=ce(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 fe(e,t){if(!u)return e;e=_e(e,!0);for(var n,r,i=0,o=void 0,s=void 0;i<t.length;i++)if((r=ce(n=t[i]))!==o&&(s=e.indexOf(r),o=r),!u(r)||-1<s)return n}function pe(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 ve={focus:!0,blur:!0};function me(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 r,i=0;(r=n[i])&&(!me(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);i++);}function ge(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return i},configurable:!0});for(var r=n.length-1;0<=r;r--){var i=n[r];if(ye(e,i,"capture"),e.N)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var o=s(i=n[r]);if(o=o&&o.root,(0===r||o&&o===t)&&(ye(e,i,"bubble"),i!==window&&(t=i.__shady_getRootNode()),e.N))break}}function be(e,t,n,r,i,o){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,d=a.capture,u=a.once,h=a.passive;if(t===a.node&&n===l&&r===d&&i===u&&o===h)return s}return-1}function Ne(e){return L(),this.__shady_native_dispatchEvent(e)}function Ee(e,t,n){var r=de(n),i=r.capture,o=r.once,s=r.passive,a=r.aa;if(r=r.Z,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(he[e])return this.__shady_native_addEventListener(e,t,r);var d=a||this;if(a=t[se]){if(-1<be(a,d,e,i,o,s))return}else t[se]=[];a=function(r){if(o&&this.__shady_removeEventListener(e,t,n),r.__target||we(r),d!==this){var i=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return d},configurable:!0})}if(r.__previousCurrentTarget=r.currentTarget,(!u(d)&&"slot"!==d.localName||-1!=r.composedPath().indexOf(d))&&(r.composed||-1<r.composedPath().indexOf(d)))if(me(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===d||d instanceof Window){var s="function"===l?t.call(d,r):t.handleEvent&&t.handleEvent(r);return d!==this&&(i?(Object.defineProperty(r,"currentTarget",i),i=null):delete r.currentTarget),s}},t[se].push({node:d,type:e,capture:i,once:o,passive:s,ya:a}),ve[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(a)):this.__shady_native_addEventListener(e,a,r)}}}function Se(e,t,n){if(t){var r=de(n);n=r.capture;var i=r.once,o=r.passive,s=r.aa;if(r=r.Z,he[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[se]}catch(e){}l&&(-1<(i=be(l,a,e,n,i,o))&&(s=l.splice(i,1)[0].ya,l.length||(t[se]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&ve[e]&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var Ce=T({get composed(){return void 0===this.__composed&&(ae?this.__composed="focusin"===this.type||"focusout"===this.type||ae(this):!1!==this.isTrusted&&(this.__composed=ue[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=_e(this.__target,this.composed)),this.__composedPath},get target(){return fe(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=_e(this.__relatedTarget,!0)),fe(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.N=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.N=this.__immediatePropagationStopped=!0}});function we(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,a.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=pe(Event),Oe=pe(CustomEvent),xe=pe(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=o(this),r=e.substring(2);n.v||(n.v={}),n.v[e]&&this.removeEventListener(r,n.v[e]),this.__shady_addEventListener(r,t),n.v[e]=t},get:function(){var t=s(this);return t&&t.v&&t.v[e]},configurable:!0}}function Ae(e,t){return{index:e,D:[],H:t}}function Pe(e,t,n,r){var i=0,o=0,s=0,a=0,l=Math.min(t-i,r-o);if(0==i&&0==o)e:{for(s=0;s<l;s++)if(e[s]!==n[s])break e;s=l}if(t==e.length&&r==n.length){a=e.length;for(var d=n.length,u=0;u<l-s&&Re(e[--a],n[--d]);)u++;a=u}if(o+=s,r-=a,0==(t-=a)-(i+=s)&&0==r-o)return[];if(i==t){for(t=Ae(i,0);o<r;)t.D.push(n[o++]);return[t]}if(o==r)return[Ae(i,t-i)];for(r=r-(s=o)+1,a=t-(l=i)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(a),t[d][0]=d;for(d=0;d<a;d++)t[0][d]=d;for(d=1;d<r;d++)for(u=1;u<a;u++)if(e[l+u-1]===n[s+d-1])t[d][u]=t[d-1][u-1];else{var h=t[d-1][u]+1,c=t[d][u-1]+1;t[d][u]=h<c?h:c}for(l=t.length-1,s=t[0].length-1,r=t[l][s],e=[];0<l||0<s;)0==l?(e.push(2),s--):0==s?(e.push(3),l--):(a=t[l-1][s-1],(h=(d=t[l-1][s])<(u=t[l][s-1])?d<a?d:a:u<a?u:a)==a?(a==r?e.push(0):(e.push(1),r=a),l--,s--):h==d?(e.push(3),l--,r=d):(e.push(2),s--,r=u));for(e.reverse(),t=void 0,l=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(l.push(t),t=void 0),i++,o++;break;case 1:t||(t=Ae(i,0)),t.H++,i++,t.D.push(n[o]),o++;break;case 2:t||(t=Ae(i,0)),t.H++,i++;break;case 3:t||(t=Ae(i,0)),t.D.push(n[o]),o++}return t&&l.push(t),l}function Re(e,t){return e===t}var je=T({dispatchEvent:Ne,addEventListener:Ee,removeEventListener:Se}),Ie=null;function ke(){return Ie||(Ie=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Ie||null}function He(e,t,n){var r=ke();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Be(e,t){var n=ke();n&&n.unscopeNode(e,t)}function Fe(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=ke();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,qe=a.M,We=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ge=We&&We.get;function $e(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Xe(e,t,n){if(e=(e=s(e))&&e.C){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,i=t.childNodes.length;r<i;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,m(function(){e.flush()}))}(e)}}var Je=T({get parentNode(){var e=s(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=s(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=s(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=s(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=s(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(d(this)){var e=s(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=s(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||(u(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)&&a.h){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&$e(this),this.__shady_native_textContent=e}else $e(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,r){if(this.ownerDocument!==Ve&&e.ownerDocument!==Ve)return this.__shady_native_insertBefore(e,r),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(r){var i=s(r);if(void 0!==(i=i&&i.parentNode)&&i!==this||void 0===i&&r.__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(r===e)return e;Xe(this,e);var a=[],l=(i=Gt(this))?i.host.localName:Fe(this),c=e.__shady_parentNode;if(c){var _=Fe(e),f=!!i||!Gt(e)||qe&&void 0!==this.__noInsertionPoint;c.__shady_removeChild(e,f)}c=!0;var p=(!qe||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=ke();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,l),v=i&&!e.__noInsertionPoint&&(!qe||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(v||p)&&(p&&(_=_||Fe(e)),Ue(e,function(e){if(v&&"slot"===e.localName&&a.push(e),p){var t=_;ke()&&(t&&Be(e,t),(t=ke())&&t.scopeNode(e,l))}})),a.length&&(kt(i),i.c.push.apply(i.c,a instanceof Array?a:n(t(a))),At(i)),d(this)&&(function(e,t,n){Nt(t,2);var r=o(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)Et(e,t,r,n);else Et(e,t,r,n)}(e,this,r),(f=s(this)).root?(c=!1,h(this)&&At(f.root)):i&&"slot"===this.localName&&(c=!1,At(i))),c?(i=u(this)?this.host:this,r?(r=function e(t){var n=t;if(t&&"slot"===t.localName){var r=s(t);(r=r&&r.B)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(r),i.__shady_native_insertBefore(e,r)):i.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!u(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);Xe(this,null,e);var n=Gt(e),r=n&&function(e,t){if(e.a){Ht(e);var n,r=e.b;for(n in r)for(var i=r[n],o=0;o<i.length;o++){var a=i[o];if(g(t,a)){i.splice(o,1);var l=e.a.indexOf(a);if(0<=l&&(e.a.splice(l,1),(l=s(a.__shady_parentNode))&&l.G&&l.G--),o--,a=s(a),l=a.B)for(var d=0;d<l.length;d++){var u=l[d],h=u.__shady_native_parentNode;h&&h.__shady_native_removeChild(u)}a.B=[],a.assignedNodes=[],l=!0}}return l}}(n,e),i=s(this);if(d(this)&&(function(e,t){var n=o(e);t=o(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(o(e).nextSibling=r),r&&(o(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),h(this))){At(i.root);var a=!0}if(ke()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var l=Fe(e);Ue(e,function(e){Be(e,l)})}return function e(t){var n=s(t);if(n&&void 0!==n.L)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=s(t))&&(t.L=void 0)}(e),n&&((t="slot"===this.localName)&&(a=!0),(r||t)&&At(n)),a||(a=u(this)?this.host:this,(!i.root&&"slot"!==e.localName||a===e.__shady_native_parentNode)&&a.__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=o(this),n=t.L;return void 0===n&&(u(this)?(n=this,t.L=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.L=n))),n}},contains:function(e){return g(this,e)}}),Ke=T({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Pt(e),(e=s(this))&&e.assignedSlot||null}});function ze(e,t,n){var r=[];return function e(t,n,r,i){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var o;if(o=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=i,d=s(o=t);d&&l.push(o),a&&a(d)?o=d:(e(o,s,a,l),o=void 0)}if(o)break}}(e,t,n,r),r}var Ye=T({get firstElementChild(){var e=s(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=s(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(E(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 ze(this,function(t){return _.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 _.call(t,e)}))}}),Qe=a.M&&!a.j?O({},Ye):Ye;O(Ye,Ze);var et=window.document;function tt(e,t){if("slot"===t)h(e=e.__shady_parentNode)&&At(s(e).root);else if("slot"===e.localName&&"name"===t&&(t=Gt(e))){if(t.a){Ht(t);var n=e.fa,r=Bt(e);if(r!==n){var i=(n=t.b[n]).indexOf(e);0<=i&&n.splice(i,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=Ft(n))}}At(t)}}var nt=T({get previousElementSibling(){var e=s(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=s(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):He(this,e,t)||(this.__shady_native_setAttribute(e,t),tt(this,e))},removeAttribute:function(e){this.ownerDocument!==et?this.__shady_native_removeAttribute(e):He(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),tt(this,e))}});a.M||De.forEach(function(e){nt[e]=Le(e)});var rt=T({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!a.ca){var r=e.shadyUpgradeFragment;if(r.__proto__=ShadowRoot.prototype,Lt(r,this,e),St(r,r),e=r.__noInsertionPoint?null:r.querySelectorAll("slot"),r.__noInsertionPoint=void 0,e&&e.length){var i=r;kt(i),i.c.push.apply(i.c,e instanceof Array?e:n(t(e))),At(r)}r.host.__shady_native_appendChild(r)}else r=new Mt(Ot,this,e);return this.__CE_shadowRoot=r},get shadowRoot(){var e=s(this);return e&&e.ra||null}});O(nt,rt);var it=document.implementation.createHTMLDocument("inert"),ot=T({get innerHTML(){return d(this)?B("template"===this.localName?this.content:this,E):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{$e(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==it.namespaceURI?it.createElementNS(this.namespaceURI,t):it.createElement(t),a.h?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),st=T({blur:function(){var e=s(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});a.M||Me.forEach(function(e){st[e]=Le(e)});var at=T({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&u(t)&&Pt(t),(t=s(this))&&(e&&e.flatten?t.B:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)Ee.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.w=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.w=this,r.__shady_removeEventListener(e,t,n)}}}),lt=T({getElementById:function(e){return""===e?null:ze(this,function(t){return t.id==e},function(e){return!!e})[0]||null}}),dt=T({get activeElement(){var e=a.h?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!u(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}}),ut=window.document,ht=T({importNode:function(e,t){if(e.ownerDocument!==ut||"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}}),ct=T({dispatchEvent:Ne,addEventListener:Ee.bind(window),removeEventListener:Se.bind(window)}),_t={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(_t.parentElement=Je.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(_t.contains=Je.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(_t.children=Ye.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(_t.innerHTML=ot.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(_t.className=nt.className);var ft={EventTarget:[je],Node:[Je,window.EventTarget?null:je],Text:[Ke],Comment:[Ke],CDATASection:[Ke],ProcessingInstruction:[Ke],Element:[nt,Ye,Ke,!a.h||"innerHTML"in Element.prototype?ot:null,window.HTMLSlotElement?null:at],HTMLElement:[st,_t],HTMLSlotElement:[at],DocumentFragment:[Qe,lt],Document:[ht,Qe,lt,dt],Window:[ct]},pt=a.h?null:["innerHTML","textContent"];function vt(e,t,n,r){t.forEach(function(t){return e&&t&&C(e,t,n,r)})}function mt(e){var t,n=e?null:pt;for(t in ft)vt(window[t]&&window[t].prototype,ft[t],e,n)}function yt(e){return e.__shady_protoIsPatched=!0,vt(e,ft.EventTarget),vt(e,ft.Node),vt(e,ft.Element),vt(e,ft.HTMLElement),vt(e,ft.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,vt(n,ft.EventTarget),vt(n,ft.Node),ft[e]&&vt(n,ft[e]),t.prototype.__shady_patchedProto=n});var gt=a.T,bt=a.h;function Nt(e,t){if(gt&&!e.__shady_protoIsPatched&&!u(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(yt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}bt||(1===t?ie(e):2===t&&oe(e))}function Et(e,t,n,r){Nt(e,1),r=r||null;var i=o(e),a=r?o(r):null;i.previousSibling=r?a.previousSibling:t.__shady_lastChild,(a=s(i.previousSibling))&&(a.nextSibling=e),(a=s(i.nextSibling=r))&&(a.previousSibling=e),i.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function St(e,t){var n=o(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,Nt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var i=o(n);i.parentNode=t||e,i.nextSibling=n.__shady_native_nextSibling,i.previousSibling=r||null,r=n,Nt(n,1)}}}var Ct=T({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.w=n.w||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.w=n.w||this,this.host.__shady_removeEventListener(e,t,n)}});function wt(e,t){C(e,Ct,t),C(e,dt,t),C(e,ot,t),C(e,Ye,t),a.j&&!t?(C(e,Je,t),C(e,lt,t)):a.h||(C(e,ee),C(e,Z),C(e,Q))}var Tt,Ot={},xt=a.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,St(e.host),(t=o(e.host)).root=e,t.ra="closed"!==e.mode?e:null,(t=o(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,a.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else At(e)}function At(e){e.A||(e.A=!0,M(function(){return Pt(e)}))}function Pt(e){var t;if(t=e.A){for(var n;e;)e.A&&(n=e),u(e=(t=e).host.__shady_getRootNode())&&(t=s(t.host))&&0<t.G||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Rt(e,t,n){var r=o(t),i=r.O;r.O=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(o(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,i!==r.assignedSlot&&r.assignedSlot&&(o(r.assignedSlot).P=!0)}function jt(e,t,n){for(var r=0,i=void 0;r<n.length&&(i=n[r]);r++)if("slot"==i.localName){var o=s(i).assignedNodes;o&&o.length&&jt(e,t,o)}else t.push(n[r])}function It(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=s(t)).assignedSlot&&It(e,t.assignedSlot)}function kt(e){e.c=e.c||[],e.a=e.a||[],e.b=e.b||{}}function Ht(e){if(e.c&&e.c.length){for(var t,n=e.c,r=0;r<n.length;r++){var i=n[r];St(i);var o=i.__shady_parentNode;St(o),(o=s(o)).G=(o.G||0)+1,o=Bt(i),e.b[o]?((t=t||{})[o]=!0,e.b[o].push(i)):e.b[o]=[i],e.a.push(i)}if(t)for(var a in t)e.b[a]=Ft(e.b[a]);e.c=[]}}function Bt(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.fa=t}function Ft(e){return e.sort(function(e,t){e=Dt(e);for(var n=Dt(t),r=0;r<e.length;r++){t=e[r];var i=n[r];if(t!==i)return(e=E(t.__shady_parentNode)).indexOf(t)-e.indexOf(i)}})}function Ut(e){return Ht(e),!(!e.a||!e.a.length)}if(Mt.prototype._renderSelf=function(){var e=xt;if(xt=!0,this.A=!1,this.a){Ht(this);for(var t,n=0;n<this.a.length;n++){var r=s(t=this.a[n]),i=r.assignedNodes;if(r.assignedNodes=[],r.B=[],r.W=i)for(r=0;r<i.length;r++){var o=s(i[r]);o.O=o.assignedSlot,o.assignedSlot===t&&(o.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Rt(this,n);for(n=0;n<this.a.length;n++){if(!(i=s(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Rt(this,r,t);if((r=(r=s(t.__shady_parentNode))&&r.root)&&(Ut(r)||r.A)&&r._renderSelf(),jt(this,i.B,i.assignedNodes),r=i.W){for(o=0;o<r.length;o++)s(r[o]).O=null;i.W=null,r.length>i.assignedNodes.length&&(i.P=!0)}i.P&&(i.P=!1,It(this,t))}for(t=this.a,n=[],i=0;i<t.length;i++)(o=s(r=t[i].__shady_parentNode))&&o.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(i=(o=n[t])===this?this.host:o,r=[],o=o.__shady_firstChild;o;o=o.__shady_nextSibling)if("slot"==o.localName)for(var l=s(o).B,d=0;d<l.length;d++)r.push(l[d]);else r.push(o);o=N(i),l=Pe(r,r.length,o,o.length);for(var u=d=0,h=void 0;d<l.length&&(h=l[d]);d++){for(var c=0,_=void 0;c<h.D.length&&(_=h.D[c]);c++)_.__shady_native_parentNode===i&&i.__shady_native_removeChild(_),o.splice(h.index+u,1);u-=h.H}for(u=0,h=void 0;u<l.length&&(h=l[u]);u++)for(d=o[h.index],c=h.index;c<h.index+h.H;c++)_=r[c],i.__shady_native_insertBefore(_,d),o.splice(c,0,_)}}if(!a.preferPerformance&&!this.V)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=s(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.V=!0,xt=e,Tt&&Tt()},function(e){e.__proto__=DocumentFragment.prototype,wt(e,"__shady_"),wt(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&&a.R&&!a.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 qt=window.customElements.define,Wt=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;qt.call(window.customElements,e,function(e,t,n){var r=0,i="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){xt?Vt.set(this,!0):this[i]||(this[i]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){xt?this.isConnected||Vt.set(this,!1):this[i]&&(this[i]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=Wt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Wt,configurable:!0})}function Gt(e){if(u(e=e.__shady_getRootNode()))return e}function $t(e){this.node=e}function Xt(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)},r.Object.defineProperties($t.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(u(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(u(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 Xt(e)}),Me.forEach(function(e){return Xt(e)});var Jt=new WeakMap;function Kt(e){if(u(e)||e instanceof $t)return e;var t=Jt.get(e);return t||(t=new $t(e),Jt.set(e,t)),t}if(a.R){var zt=a.h?function(e){return e}:function(e){return oe(e),ie(e),e},Yt={inUse:a.R,patch:zt,isShadyRoot:u,enqueue:M,flush:L,flushInitial:function(e){!e.V&&e.A&&Pt(e)},settings:a,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=o(e);n.C||(n.C=new A),n.C.I.add(t);var r=n.C;return{ga:t,ia:r,ha:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.ia;t&&(t.I.delete(e.ga),t.I.size||(o(e.ha).C=null))},deferConnectionCallbacks:a.deferConnectionCallbacks,preferPerformance:a.preferPerformance,handlesDynamicScoping:!0,wrap:a.j?Kt:zt,wrapIfNeeded:!0===a.j?Kt:function(e){return e},Wrapper:$t,composedPath:function(e){return e.__composedPath||(e.__composedPath=_e(e.target,!0)),e.__composedPath},noPatch:a.j,patchOnDemand:a.T,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)),F?G(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):W(Node.prototype,{parentNode:{get:function(){return $.currentNode=this,$.parentNode()}},firstChild:{get:function(){return $.currentNode=this,$.firstChild()}},lastChild:{get:function(){return $.currentNode=this,$.lastChild()}},previousSibling:{get:function(){return $.currentNode=this,$.previousSibling()}},nextSibling:{get:function(){return $.currentNode=this,$.nextSibling()}},childNodes:{get:function(){var e=[];$.currentNode=this;for(var t=$.firstChild();t;)e.push(t),t=$.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:K(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 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}}},F?(G(Element.prototype,z),G(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),G(HTMLElement.prototype,["children","innerHTML","className"])):(W(Element.prototype,e),W(Element.prototype,{previousElementSibling:{get:function(){return X.currentNode=this,X.previousSibling()}},nextElementSibling:{get:function(){return X.currentNode=this,X.nextSibling()}},innerHTML:{get:function(){return B(this,N)},set:function(e){var t="template"===this.localName?this.content:this;K(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==J.namespaceURI?J.createElementNS(this.namespaceURI,n):J.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"]),F?G(DocumentFragment.prototype,z):W(DocumentFragment.prototype,e),G(DocumentFragment.prototype,Y),F?(G(Document.prototype,z),G(Document.prototype,["activeElement"])):W(Document.prototype,e),G(Document.prototype,["importNode","getElementById"]),G(Document.prototype,Y)}(),mt("__shady_"),Object.defineProperty(document,"_activeElement",dt.activeElement),C(Window.prototype,ct,"__shady_"),a.j?a.T&&C(Element.prototype,rt):(mt(),function(){if(!ae&&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 ve)window.__shady_native_addEventListener(e,function(e){e.__target||(we(e),ge(e))},!0)}(),window.Event=Te,window.CustomEvent=Oe,window.MouseEvent=xe,window.ShadowRoot=Mt}function Zt(){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 Qt(e){var t=e=e.replace(an,"").replace(ln,""),n=new Zt;n.start=0,n.end=t.length;for(var r=n,i=0,o=t.length;i<o;i++)if("{"===t[i]){r.rules||(r.rules=[]);var s=r,a=s.rules[s.rules.length-1]||null;(r=new Zt).start=i+1,r.parent=s,r.previous=a,s.rules.push(r)}else"}"===t[i]&&(r.end=i+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(fn," "),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=on:r.match(_n)&&(t.type=rn,t.keyframesName=t.selector.split(fn).pop()):t.type=0===r.indexOf("--")?sn:nn);if(r=t.rules)for(var i=0,o=r.length,s=void 0;i<o&&(s=r[i]);i++)e(s,n);return t}(n,e)}var en,tn,nn=1,rn=7,on=4,sn=1e3,an=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,ln=/@import[^;]*;/gim,dn=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,un=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,hn=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,cn=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,_n=/^@[^\s]*keyframes/,fn=/\s+/g,pn=!(window.ShadyDOM&&window.ShadyDOM.inUse);function vn(e){en=(!e||!e.shimcssproperties)&&(pn||!(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&&(tn=window.ShadyCSS.cssBuild);var mn=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?en=window.ShadyCSS.nativeCss:window.ShadyCSS?(vn(window.ShadyCSS),window.ShadyCSS=void 0):vn(window.WebComponents&&window.WebComponents.flags);var yn=en,gn=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,bn=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Nn=/(--[\w-]+)\s*([:,;)]|$)/gi,En=/(animation\s*:)|(animation-name\s*:)/,Sn=/@media\s(.*)/,Cn=/\{[^}]*\}/g,wn=new Set;function Tn(e,t){return e?("string"==typeof e&&(e=Qt(e)),t&&Dn(e,t),function e(t,n,r){r=void 0===r?"":r;var i="";if(t.cssText||t.rules){var o,s=t.rules;if((o=s)&&(o=!((o=s[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var a=s.length,l=void 0;o<a&&(l=s[o]);o++)i=e(l,n,i)}else n=n?t.cssText:(n=(n=t.cssText).replace(dn,"").replace(un,"")).replace(hn,"").replace(cn,""),(i=n.trim())&&(i=" "+i+"\n")}return i&&(t.selector&&(r+=t.selector+" {\n"),r+=i,t.selector&&(r+="}\n\n")),r}(e,yn)):""}function On(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=Qt(e.textContent)),e.__cssRules||null}function xn(e){return!!e.parent&&e.parent.type===rn}function Dn(e,t,n,r){if(e){var i=!1,o=e.type;if(r&&o===on){var s=e.selector.match(Sn);s&&(window.matchMedia(s[1]).matches||(i=!0))}if(o===nn?t(e):n&&o===rn?n(e):o===sn&&(i=!0),(e=e.rules)&&!i)for(i=0,o=e.length,s=void 0;i<o&&(s=e[i]);i++)Dn(s,t,n,r)}}function Mn(e,t,n,r){var i=document.createElement("style");return t&&i.setAttribute("scope",t),i.textContent=e,Pn(i,n,r),i}var Ln=null;function An(e){e=document.createComment(" Shady DOM styles for "+e+" ");var t=document.head;return t.insertBefore(e,(Ln?Ln.nextSibling:null)||t.firstChild),Ln=e}function Pn(e,t,n){(t=t||document.head).insertBefore(e,n&&n.nextSibling||t.firstChild),Ln?e.compareDocumentPosition(Ln)===Node.DOCUMENT_POSITION_PRECEDING&&(Ln=e):Ln=e}function Rn(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 jn(e,t){pn?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var In=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function kn(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,F:n}}function Hn(e){for(var t=[],n="",r=0;0<=r&&r<e.length;r++)if("("===e[r]){var i=Rn(e,r);n+=e.slice(r,i+1),r=i}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function Bn(e){if(void 0!==tn)return tn;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 Fn(e){return!(""===(e=void 0===e?"":e)||!yn)&&(pn?"shadow"===e:"shady"===e)}function Un(){}function Vn(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++)Vn(e,r[t],n)}function qn(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&&jn(e,t=r.replace("style-scope","").replace(t,"")):jn(e,(r?r+" ":"")+"style-scope "+t)}}function Wn(e,t,n){Vn(sr,e,function(e){qn(e,t,!0),qn(e,n)})}function Gn(e,t){Vn(sr,e,function(e){qn(e,t||"",!0)})}function $n(e,t,n,r,i){var o=sr;return""===(i=void 0===i?"":i)&&(pn||"shady"===(void 0===r?"":r)?i=Tn(t,n):i=function(e,t,n,r,i){var o=Xn(n,r);return n=n?"."+n:"",Tn(t,function(t){t.c||(t.selector=t.g=Jn(e,t,e.b,n,o),t.c=!0),i&&i(t,n,o)})}(o,t,(e=kn(e)).is,e.F,n)+"\n\n"),i.trim()}function Xn(e,t){return t?"[is="+e+"]":e}function Jn(e,t,n,r,i){var o=Hn(t.selector);if(!xn(t)){t=0;for(var s=o.length,a=void 0;t<s&&(a=o[t]);t++)o[t]=n.call(e,a,r,i)}return o.filter(function(e){return!!e}).join(",")}function Kn(e){return e.replace(Zn,function(e,t,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+t+"("+n+")"})}function zn(e,t){e=e.split(/(\[.+?\])/);for(var n=[],r=0;r<e.length;r++)if(1==r%2)n.push(e[r]);else{var i=e[r];""===i&&r===e.length-1||((i=i.split(":"))[0]+=t,n.push(i.join(":")))}return n.join("")}function Yn(e){":root"===e.selector&&(e.selector="html")}Un.prototype.b=function(e,t,n){var r=!1;e=e.trim();var i=Zn.test(e);i&&(e=Kn(e=e.replace(Zn,function(e,t,n){return":"+t+"("+n.replace(/\s/g,"")+")"})));var o=or.test(e);if(o){var s=function(e){for(var t,n=[];t=e.match(or);){var r=t.index,i=Rn(e,r);if(-1===i)throw Error(t.input+" selector missing ')'");t=e.slice(r,i+1),e=e.replace(t,""),n.push(t)}return{U:e,matches:n}}(e);e=s.U,s=s.matches}return e=(e=e.replace(tr,":host $1")).replace(Qn,function(e,i,o){return r||(e=function(e,t,n,r){var i=e.indexOf("::slotted");if(0<=e.indexOf(":host")?e=function(e,t){var n=e.match(nr);return(n=n&&n[2].trim()||"")?n[0].match(er)?e.replace(nr,function(e,n,r){return t+r}):n.split(er)[0]===t?n:"should_not_match":e.replace(":host",t)}(e,r):0!==i&&(e=n?zn(e,n):e),n=!1,0<=i&&(t="",n=!0),n){var o=!0;n&&(e=e.replace(rr,function(e,t){return" > "+t}))}return{value:e,ka:t,stop:o}}(o,i,t,n),r=r||e.stop,i=e.ka,o=e.value),i+o}),o&&(e=function(e,t){var n=e.split("");return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}(e,s)),i&&(e=Kn(e)),e.replace(ir,function(e,t,n,r){return'[dir="'+n+'"] '+t+r+", "+t+'[dir="'+n+'"]'+r})},Un.prototype.c=function(e){return e.match(":host")?"":e.match("::slotted")?this.b(e,":not(.style-scope)"):zn(e.trim(),":not(.style-scope)")},r.Object.defineProperties(Un.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Zn=/:(nth[-\w]+)\(([^)]+)\)/,Qn=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,er=/[[.:#*]/,tr=/^(::slotted)/,nr=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,rr=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ir=/(.*):dir\((?:(ltr|rtl))\)(.*)/,or=/:(?:matches|any|-(?:webkit|moz)-any)/,sr=new Un;function ar(e,t,n,r,i){this.o=e||null,this.b=t||null,this.S=n||[],this.l=null,this.cssBuild=i||"",this.F=r||"",this.a=this.m=this.u=null}function lr(e){return e?e.__styleInfo:null}function dr(e,t){return e.__styleInfo=t}function ur(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}ar.prototype.c=function(){return this.o},ar.prototype._getStyleRules=ar.prototype.c;var hr=/:host\s*>\s*/,cr=navigator.userAgent.match("Trident");function _r(){}function fr(e){if(!e.f){var t={},n={};pr(e,n)&&(t.s=n,e.rules=null),t.cssText=e.parsedCssText.replace(Cn,"").replace(gn,""),e.f=t}}function pr(e,t){var n=e.f;if(!n){n=e.parsedCssText;for(var r;e=gn.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 vr(e,t,n){return t&&(t=0<=t.indexOf(";")?mr(e,t,n):function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var i=Rn(t,r+3),o=t.substring(r+4,i);return r=t.substring(0,r),t=e(t.substring(i+1),n),-1===(i=o.indexOf(","))?n(r,o.trim(),"",t):n(r,o.substring(0,i).trim(),o.substring(i+1).trim(),t)}(t,function(t,r,i,o){return r?((r=vr(e,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=vr(e,n[i]||i,n)||i,t+(r||"")+o):t+o})),t&&t.trim()||""}function mr(e,t,n){t=t.split(";");for(var r,i,o=0;o<t.length;o++)if(r=t[o]){if(bn.lastIndex=0,i=bn.exec(r))r=vr(e,n[i[1]],n);else if(-1!==(i=r.indexOf(":"))){var s=r.substring(i);s=vr(e,s=s.trim(),n)||s,r=r.substring(0,i)+s}t[o]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return t.join(";")}function yr(e,t,n){var r={},i={};return Dn(t,function(t){!function(e,t,n,r){if(t.f||fr(t),t.f.s){var i=kn(e);e=i.is,i=i.F,i=e?Xn(e,i):"html";var o=t.parsedSelector,s=!!o.match(hr)||"html"===i&&-1<o.indexOf("html"),a=0===o.indexOf(":host")&&!s;"shady"===n&&(a=!(s=o===i+" > *."+i||-1!==o.indexOf("html"))&&0===o.indexOf(i)),(s||a)&&(n=i,a&&(t.g||(t.g=Jn(sr,t,sr.b,e?"."+e:"",i)),n=t.g||i),s&&"html"===i&&(n=t.g||t.J),r({U:n,pa:a,za:s}))}}(e,t,n,function(n){ur.call(e._element||e,n.U)&&(n.pa?pr(t,r):pr(t,i))})},null,!0),{sa:i,oa:r}}function gr(e,t,n,r){var i=kn(t),o=Xn(i.is,i.F),s=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+o.slice(0,-1)+"\\]":o)+"($|[.:[\\s>+~])"),a=lr(t);i=a.o,a=a.cssBuild;var l=function(e,t){e=e.b;var n={};if(!pn&&e)for(var r=0,i=e[r];r<e.length;i=e[++r]){var o=i,s=t;o.i=new RegExp("\\b"+o.keyframesName+"(?!\\B|-)","g"),o.a=o.keyframesName+"-"+s,o.g=o.g||o.selector,o.selector=o.g.replace(o.keyframesName,o.a),n[i.keyframesName]=br(i)}return n}(i,r);return $n(t,i,function(t){var i="";if(t.f||fr(t),t.f.cssText&&(i=mr(e,t.f.cssText,n)),t.cssText=i,!pn&&!xn(t)&&t.cssText){var a=i=t.cssText;if(null==t.Y&&(t.Y=En.test(i)),t.Y)if(null==t.K)for(var d in t.K=[],l)i!==(a=(a=l[d])(i))&&(i=a,t.K.push(d));else{for(d=0;d<t.K.length;++d)i=(a=l[t.K[d]])(i);a=i}t.cssText=a,t.g=t.g||t.selector,i="."+r,a=0;for(var u=(d=Hn(t.g)).length,h=void 0;a<u&&(h=d[a]);a++)d[a]=h.match(s)?h.replace(o,i):i+" "+h;t.selector=d.join(",")}},a)}function br(e){return function(t){return t.replace(e.i,e.a)}}function Nr(e,t){var n=Er,r=On(e);e.textContent=Tn(r,function(e){var r=e.cssText=e.parsedCssText;e.f&&e.f.cssText&&(r=r.replace(dn,"").replace(un,""),e.cssText=mr(n,r,t))})}r.Object.defineProperties(_r.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Er=new _r,Sr={},Cr=window.customElements;if(Cr&&!pn&&!mn){var wr=Cr.define;Cr.define=function(e,t,n){Sr[e]||(Sr[e]=An(e)),wr.call(Cr,e,t,n)}}function Tr(){this.cache={}}function Or(){}Tr.prototype.store=function(e,t,n,r){var i=this.cache[e]||[];i.push({s:t,styleElement:n,m:r}),100<i.length&&i.shift(),this.cache[e]=i};var xr=new RegExp(sr.a+"\\s*([^\\s]*)");function Dr(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||"").match(xr))?e[1]:""}function Mr(e){var t=In(e).getRootNode();return t===e||t===e.ownerDocument?"":(e=t.host)?kn(e).is:""}function Lr(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 i=n.addedNodes[r];if(i.nodeType===Node.ELEMENT_NODE){var o=i.getRootNode(),s=Dr(i);if(s&&o===i.ownerDocument&&("style"!==i.localName&&"template"!==i.localName||""===Bn(i)))Gn(i,s);else if(o instanceof ShadowRoot)for((o=Mr(i))!==s&&Wn(i,s,o),i=window.ShadyDOM.nativeMethods.querySelectorAll.call(i,":not(."+sr.a+")"),s=0;s<i.length;s++){var a=Mr(o=i[s]);a&&qn(o,a)}}}}}if(!(pn||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ar=new MutationObserver(Lr),Pr=function(e){Ar.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Pr(document);else{var Rr=function(){Pr(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Rr):requestAnimationFrame(function(){if("loading"===document.readyState){var e=function(){Rr(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else Rr()})}Or=function(){Lr(Ar.takeRecords())}}var jr={},Ir=Promise.resolve();function kr(e){(e=jr[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function Hr(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var Br={},Fr=new Tr;function Ur(){this.X={},this.c=document.documentElement;var e=new Zt;e.rules=[],this.i=dr(this.c,new ar(e)),this.J=!1,this.a=this.b=null}function Vr(e){var t=kn(e),n=t.is;t=t.F;var r=Sr[n]||null,i=jr[n];if(i)return dr(e,t=new ar(n=i._styleAst,r,i.a,t,i=Bn(i))),t}function qr(e){if(!e.b&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.b=window.ShadyCSS.ApplyShim,e.b.invalidCallback=kr;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.ba(t)},e.a.validateCallback=function(){requestAnimationFrame(function(){(e.a.enqueued||e.J)&&e.flushCustomStyles()})})}(e),t}function Wr(e,t,n){var r=kn(t).is;if(n.l){var i,o=n.l;for(i in o)null===i?t.style.removeProperty(i):t.style.setProperty(i,o[i])}!(o=jr[r])&&t!==e.c||o&&""!==Bn(o)||!o||!o._style||Hr(o)||((Hr(o)||o._applyShimValidatingVersion!==o._applyShimNextVersion)&&(qr(e),e.b&&e.b.transformRules(o._styleAst,r),o._style.textContent=$n(t,n.o),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,Ir.then(function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1}))}(o)),pn&&(e=t.shadowRoot)&&(e=e.querySelector("style"))&&(e.textContent=$n(t,n.o)),n.o=o._styleAst)}function Gr(e,t){return(t=In(t).getRootNode().host)?lr(t)||Vr(t)?t:Gr(e,t):e.c}function $r(e,t,n){var r=Gr(e,t),i=lr(r),o=i.u;for(var s in r===e.c||o||($r(e,r,i),o=i.u),e=Object.create(o||null),r=yr(t,n.o,n.cssBuild),t=function(e,t){var n={},r=[];return Dn(e,function(e){e.f||fr(e);var i=e.g||e.parsedSelector;t&&e.f.s&&i&&ur.call(t,i)&&(pr(e,n),e=e.index,i=parseInt(e/32,10),r[i]=(r[i]||0)|1<<e%32)},null,!0),{s:n,key:r}}(i.o,t).s,Object.assign(e,r.oa,t,r.sa),t=n.l)((i=t[s])||0===i)&&(e[s]=i);for(s=Er,t=Object.getOwnPropertyNames(e),i=0;i<t.length;i++)e[r=t[i]]=vr(s,e[r],e);n.u=e}(e=Ur.prototype).flush=function(){Or()},e.ma=function(e){return On(e)},e.wa=function(e){return Tn(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&&!mn){pn||Sr[t]||(Sr[t]=An(t)),e._prepared=!0,e.name=t,e.extends=n,jr[t]=e;var r=Bn(e),i=Fn(r);n={is:t,extends:n};for(var o=[],s=e.content.querySelectorAll("style"),a=0;a<s.length;a++){var l=s[a];if(l.hasAttribute("shady-unscoped")){if(!pn){var d=l.textContent;if(!wn.has(d)){wn.add(d);var u=document.createElement("style");u.setAttribute("shady-unscoped",""),u.textContent=d,document.head.appendChild(u)}l.parentNode.removeChild(l)}}else o.push(l.textContent),l.parentNode.removeChild(l)}o=o.join("").trim()+(Br[t]||""),qr(this),i||((s=!r)&&(s=bn.test(o)||gn.test(o),bn.lastIndex=0,gn.lastIndex=0),a=Qt(o),s&&yn&&this.b&&this.b.transformRules(a,t),e._styleAst=a),s=[],yn||(s=function(e){var t={},n=[],r=0;for(var i in Dn(e,function(e){fr(e),e.index=r++,e=e.f.cssText;for(var n;n=Nn.exec(e);){var i=n[1];":"!==n[2]&&(t[i]=!0)}},function(e){n.push(e)}),e.b=n,e=[],t)e.push(i);return e}(e._styleAst)),s.length&&!yn||(a=pn?e.content:null,t=Sr[t]||null,r=(r=$n(n,e._styleAst,null,r,i?o:"")).length?Mn(r,n.is,a,t):null,e._style=r),e.a=s}},e.qa=function(e,t){Br[t]=e.join(" ")},e.prepareTemplateDom=function(e,t){if(!mn){var n=Bn(e);pn||"shady"===n||e._domPrepared||(e._domPrepared=!0,function(e,t){Vn(sr,e,function(e){qn(e,t||"")})}(e.content,t))}},e.flushCustomStyles=function(){if(!mn){var e=qr(this);if(this.a){var t=this.a.processStyles();if((e||this.a.enqueued)&&!Fn(this.i.cssBuild)){if(yn){if(!this.i.cssBuild)for(e=0;e<t.length;e++){var n=this.a.getStyleForCustomStyle(t[e]);if(n&&yn&&this.b){var r=On(n);qr(this),this.b.transformRules(r),n.textContent=Tn(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 On(e)})}(this,t),$r(this,this.c,this.i),e=0;e<t.length;e++)(n=this.a.getStyleForCustomStyle(t[e]))&&Nr(n,this.i.u);this.J&&this.styleDocument()}this.a.enqueued=!1}}}},e.styleElement=function(e,t){if(mn){if(t){lr(e)||dr(e,new ar(null));var n=lr(e);n.l=n.l||{},Object.assign(n.l,t),Wr(this,e,n)}}else if(n=lr(e)||Vr(e))if(e!==this.c&&(this.J=!0),t&&(n.l=n.l||{},Object.assign(n.l,t)),yn)Wr(this,e,n);else if(this.flush(),$r(this,e,n),n.S&&n.S.length){var r;t=kn(e).is;e:{if(r=Fr.cache[t])for(var i=r.length-1;0<=i;i--){var o=r[i];t:{for(var s=n.S,a=0;a<s.length;a++){var l=s[a];if(o.s[l]!==n.u[l]){s=!1;break t}}s=!0}if(s){r=o;break e}}r=void 0}s=r?r.styleElement:null,i=n.m,(o=r&&r.m)||(o=t+"-"+(o=this.X[t]=(this.X[t]||0)+1)),n.m=o,o=n.m,a=Er,a=s?s.textContent||"":gr(a,e,n.u,o);var d=(l=lr(e)).a;d&&!pn&&d!==s&&(d._useCount--,0>=d._useCount&&d.parentNode&&d.parentNode.removeChild(d)),pn?l.a?(l.a.textContent=a,s=l.a):a&&(s=Mn(a,o,e.shadowRoot,l.b)):s?s.parentNode||(cr&&-1<a.indexOf("@media")&&(s.textContent=a),Pn(s,null,l.b)):a&&(s=Mn(a,o,null,l.b)),s&&(s._useCount=s._useCount||0,l.a!=s&&s._useCount++,l.a=s),o=s,pn||(s=n.m,l=a=e.getAttribute("class")||"",i&&(l=a.replace(new RegExp("\\s*x-scope\\s*"+i+"\\s*","g")," ")),a!==(l+=(l?" ":"")+"x-scope "+s)&&jn(e,l)),r||Fr.store(t,n.u,o,n.m)}},e.styleDocument=function(e){this.styleSubtree(this.c,e)},e.styleSubtree=function(e,t){var n=In(e),r=n.shadowRoot,i=e===this.c;if((r||i)&&this.styleElement(e,t),e=i?n:r)for(e=Array.from(e.querySelectorAll("*")).filter(function(e){return In(e).shadowRoot}),t=0;t<e.length;t++)this.styleSubtree(e[t])},e.ba=function(e){var t=this,n=Bn(e);if(n!==this.i.cssBuild&&(this.i.cssBuild=n),!Fn(n)){var r=On(e);Dn(r,function(e){if(pn)Yn(e);else{var r=sr;e.selector=e.parsedSelector,Yn(e),e.selector=e.g=Jn(r,e,r.c,void 0,void 0)}yn&&""===n&&(qr(t),t.b&&t.b.transformRule(e))}),yn?e.textContent=Tn(r):this.i.o.rules.push(r)}},e.getComputedStyleValue=function(e,t){var n;return yn||(n=(lr(e)||lr(Gr(this,e))).u[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""},e.va=function(e,t){var n,r=In(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 i=0;i<r.length;i++)if(r[i]===sr.a){t=r[i+1];break}}t&&n.push(sr.a,t),yn||(t=lr(e))&&t.m&&n.push(Er.a,t.m),jn(e,n.join(" "))},e.ja=function(e){return lr(e)},e.ua=function(e,t){qn(e,t)},e.xa=function(e,t){qn(e,t,!0)},e.ta=function(e){return Mr(e)},e.la=function(e){return Dr(e)},Ur.prototype.flush=Ur.prototype.flush,Ur.prototype.prepareTemplate=Ur.prototype.prepareTemplate,Ur.prototype.styleElement=Ur.prototype.styleElement,Ur.prototype.styleDocument=Ur.prototype.styleDocument,Ur.prototype.styleSubtree=Ur.prototype.styleSubtree,Ur.prototype.getComputedStyleValue=Ur.prototype.getComputedStyleValue,Ur.prototype.setElementClass=Ur.prototype.va,Ur.prototype._styleInfoForNode=Ur.prototype.ja,Ur.prototype.transformCustomStyleForDocument=Ur.prototype.ba,Ur.prototype.getStyleAst=Ur.prototype.ma,Ur.prototype.styleAstToString=Ur.prototype.wa,Ur.prototype.flushCustomStyles=Ur.prototype.flushCustomStyles,Ur.prototype.scopeNode=Ur.prototype.ua,Ur.prototype.unscopeNode=Ur.prototype.xa,Ur.prototype.scopeForNode=Ur.prototype.ta,Ur.prototype.currentScopeForNode=Ur.prototype.la,Ur.prototype.prepareAdoptedCssText=Ur.prototype.qa,Object.defineProperties(Ur.prototype,{nativeShadow:{get:function(){return pn}},nativeCss:{get:function(){return yn}}});var Xr,Jr,Kr=new Ur;window.ShadyCSS&&(Xr=window.ShadyCSS.ApplyShim,Jr=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Kr,prepareTemplate:function(e,t,n){Kr.flushCustomStyles(),Kr.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){Kr.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){Kr.flushCustomStyles(),Kr.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){Kr.flushCustomStyles(),Kr.styleSubtree(e,t)},styleElement:function(e){Kr.flushCustomStyles(),Kr.styleElement(e)},styleDocument:function(e){Kr.flushCustomStyles(),Kr.styleDocument(e)},flushCustomStyles:function(){Kr.flushCustomStyles()},getComputedStyleValue:function(e,t){return Kr.getComputedStyleValue(e,t)},nativeCss:yn,nativeShadow:pn,cssBuild:tn,disableRuntime:mn},Xr&&(window.ShadyCSS.ApplyShim=Xr),Jr&&(window.ShadyCSS.CustomStyleInterface=Jr)}).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.