constt=window.ShadowRoot&&(void0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,e=Symbol(),a=newMap;classo{constructor(t,a){if(this._$cssResult$=!0,a!==e)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}getstyleSheet(){lete=a.get(this.cssText);returnt&&void0===e&&(a.set(this.cssText,e=newCSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){returnthis.cssText}}consti=t=>newo("string"==typeoft?t:t+"",e),r=(t,...a)=>{consti=1===t.length?t[0]:a.reduce((e,a,o)=>e+(t=>{if(!0===t._$cssResult$)returnt.cssText;if("number"==typeoft)returnt;throwError("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[o+1],t[0]);returnnewo(i,e)},n=(e,a)=>{t?e.adoptedStyleSheets=a.map(t=>tinstanceofCSSStyleSheet?t:t.styleSheet):a.forEach(t=>{consta=document.createElement("style"),o=window.litNonce;void0!==o&&a.setAttribute("nonce",o),a.textContent=t.cssText,e.appendChild(a)})},s=t?t=>t:t=>tinstanceofCSSStyleSheet?(t=>{lete="";for(constaoft.cssRules)e+=a.cssText;returni(e)})(t):t;varl;constc=window.trustedTypes,_=c?c.emptyScript:"",u=window.reactiveElementPolyfillSupport,d={toAttribute(t,e){switch(e){caseBoolean:t=t?_:null;break;caseObject:caseArray:t=null==t?t:JSON.stringify(t)}returnt},fromAttribute(t,e){leta=t;switch(e){caseBoolean:a=null!==t;break;caseNumber:a=null===t?null:Number(t);break;caseObject:caseArray:try{a=JSON.parse(t)}catch(t){a=null}}returna}},h=(t,e)=>e!==t&&(e==e||t==t),m={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:h};classpextendsHTMLElement{constructor(){super(),this._$Et=newMap,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}staticaddInitializer(t){vare;null!==(e=this.l)&&void0!==e||(this.l=[]),this.l.push(t)}staticgetobservedAttributes(){this.finalize();constt=[];returnthis.elementProperties.forEach((e,a)=>{consto=this._$Eh(a,e);void0!==o&&(this._$Eu.set(o,a),t.push(o))}),t}staticcreateProperty(t,e=m){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){consta="symbol"==typeoft?Symbol():"__"+t,o=this.getPropertyDescriptor(t,a,e);void0!==o&&Object.defineProperty(this.prototype,t,o)}}staticgetPropertyDescriptor(t,e,a){return{get(){returnthis[e]},set(o){consti=this[t];this[e]=o,this.requestUpdate(t,i,a)},configurable:!0,enumerable:!0}}staticgetPropertyOptions(t){returnthis.elementProperties.get(t)||m}staticfinalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;constt=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=newMap(t.elementProperties),this._$Eu=newMap,this.hasOwnProperty("properties")){constt=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(constaofe)this.createProperty(a,t[a])}returnthis.elementStyles=this.finalizeStyles(this.styles),!0}staticfinalizeStyles(t){conste=[];if(Array.isArray(t)){consta=newSet(t.flat(1/0).reverse());for(consttofa)e.unshift(s(t))}elsevoid0!==t&&e.push(s(t));returne}static_$Eh(t,e){consta=e.attribute;return!1===a?void0:"string"==typeofa?a:"string"==typeoft?t.toLowerCase():void0}o(){vart;this._$Ep=newPromise(t=>this.enableUpdating=t),this._$AL=newMap,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void0===t||t.forEach(t=>t(this))}addController(t){vare,a;(null!==(e=this._$Eg)&&void0!==e?e:this._$Eg=[]).push(t),void0!==this.renderRoot&&this.isConnected&&(null===(a=t.hostConnected)||void0===a||a.call(t))}removeController(t){vare;null===(e=this._$Eg)||void0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),deletethis[e])})}createRenderRoot(){vart;conste=null!==(t=this.shadowRoot)&&void0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);returnn(e,t