var t;t=function(){
/**
       * @license
       * Copyright 2017 Google LLC
       * SPDX-License-Identifier: BSD-3-Clause
       */
var t,e="__scoped";null!==(t=globalThis.reactiveElementPolyfillSupport)&&void 0!==t||(globalThis.reactiveElementPolyfillSupport=function(t){var o=t.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var n=o.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(n);var i=n.createRenderRoot;n.createRenderRoot=function(){var t,o,n,a=this.localName;if(window.ShadyCSS.nativeShadow)return i.call(this);if(!this.constructor.hasOwnProperty(e)){this.constructor[e]=!0;var d=this.constructor.elementStyles.map((function(t){return t instanceof CSSStyleSheet?Array.from(t.cssRules).reduce((function(t,e){return t+e.cssText}),""):t.cssText}));null===(o=null===(t=window.ShadyCSS)||void 0===t?void 0:t.ScopingShim)||void 0===o||o.prepareAdoptedCssText(d,a),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),a)}return null!==(n=this.shadowRoot)&&void 0!==n?n:this.attachShadow(this.constructor.shadowRootOptions)};var a=n.connectedCallback;n.connectedCallback=function(){a.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var d=n._$AE;n._$AE=function(t){this.hasUpdated||window.ShadyCSS.styleElement(this),d.call(this,t)}}})},"function"==typeof define&&define.amd?define(t):t();