constt=globalThis,s=t.ShadowRoot&&(void0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,i=Symbol(),e=newWeakMap;classn{constructor(t,s,e){if(this._$cssResult$=!0,e!==i)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}getstyleSheet(){lett=this.i;consti=this.t;if(s&&void0===t){consts=void0!==i&&1===i.length;s&&(t=e.get(i)),void0===t&&((this.i=t=newCSSStyleSheet).replaceSync(this.cssText),s&&e.set(i,t))}returnt}toString(){returnthis.cssText}}constr=t=>newn("string"==typeoft?t:t+"",void0,i),o=(t,...s)=>{conste=1===t.length?t[0]:s.reduce(((s,i,e)=>s+(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.")})(i)+t[e+1]),t[0]);returnnewn(e,t,i)},h=(i,e)=>{if(s)i.adoptedStyleSheets=e.map((t=>tinstanceofCSSStyleSheet?t:t.styleSheet));elsefor(constsofe){conste=document.createElement("style"),n=t.litNonce;void0!==n&&e.setAttribute("nonce",n),e.textContent=s.cssText,i.appendChild(e)}},c=s?t=>t:t=>tinstanceofCSSStyleSheet?(t=>{lets="";for(constioft.cssRules)s+=i.cssText;returnr(s)})(t):t
classextendsWt{constructor(t){if(super(t),2!==t.type)throwError("asyncAppend can only be used in child expressions")}update(t,s){returnthis.ot=t,super.update(t,s)}commitValue(t,s){0===s&&kt(this.ot);consti=xt(this.ot);Et(i,t)}}),Ft=t=>wt(t)?t._$litType$.h:t.strings,Gt=Vt(classextendsOt{constructor(t){super(t),this.yt=newWeakMap}render(t){return[t]}update(t,[s]){consti=gt(this.bt)?Ft(this.bt):null,e=gt(s)?Ft(s):null;if(null!==i&&(null===e||i!==e)){consts=At(t).pop();lete=this.yt.get(i);if(void0===e){constt=document.createDocumentFragment();e=ut(J,t),e.setConnected(!1),this.yt.set(i,e)}Pt(e,[s]),xt(e,void0,s)}if(null!==e){if(null===i||i!==e){consts=this.yt.get(e);if(void0!==s){consti=At(s).pop();kt(t),xt(t,void0,i),Pt(t,[i])}}this.bt=s}elsethis.bt=void0;returnthis.render(s)}}),Jt=(t,s,i)=>{for(constiofs)if(i[0]===t)return(0,i[1])();returni?.()},Kt=Vt(
classextendsOt{constructor(t){if(super(t),1!==t.type||"class"!==t.name||t.strings?.length>2)throwError("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(t,[s]){if(void0===this.gt){this.gt=newSet,void0!==t.strings&&(this.wt=newSet(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(consttins)s[t]&&!this.wt?.has(t)&&this.gt.add(t);returnthis.render(s)}consti=t.element.classList;for(consttofthis.gt)tins||(i.remove(t),this.gt.delete(t));for(consttins){conste=!!s[t];e===this.gt.has(t)||this.wt?.has(t)||(e?(i.add(t),this.gt.add(t)):(i.remove(t),this.gt.delete(t)))}returnG}}),Yt={},Qt=Vt(classextendsOt{constructor(){super(...arguments),this._t=Yt}render(t,s){returns()}update(t,[s,i]){if(Array.isArray(s)){if(Array.isArray(this._t)&&this._t.length===s.length&&s.every(((t,s)=>t===this._t[s])))returnG}elseif(this._t===s)returnG;returnthis._t=Array.isArray(s)?Array.from(s):s,this.render(s,i)}}),Xt=t=>t??J
classextendsOt{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throwError("The `live` directive is not allowed on child or event bindings");if(!$t(t))throwError("`live` bindings can only contain a single expression")}render(t){returnt}update(t,[s]){if(s===G||s===J)returns;consti=t.element,e=t.name;if(3===t.type){if(s===i[e])returnG}elseif(4===t.type){if(!!s===i.hasAttribute(e))returnG}elseif(1===t.type&&i.getAttribute(e)===s+"")returnG;returnPt(t),s}});
*/const rs=()=>new os;class os{}const hs=new WeakMap,cs=Vt(class extends It{render(t){return J}update(t,[s]){const i=s!==this.ct;return i&&void 0!==this.ct&&this.St(void 0),(i||this.$t!==this.Tt)&&(this.ct=s,this.xt=t.options?.host,this.St(this.Tt=t.element)),J}St(t){if(this.isConnected||(t=void 0),"function"==typeof this.ct){const s=this.xt??globalThis;let i=hs.get(s);void 0===i&&(i=new WeakMap,hs.set(s,i)),void 0!==i.get(this.ct)&&this.ct.call(this.xt,void 0),i.set(this.ct,t),void 0!==t&&this.ct.call(this.xt,t)}else this.ct.value=t}get $t(){return"function"==typeof this.ct?hs.get(this.xt??globalThis)?.get(this.ct):this.ct?.value}disconnected(){this.$t===this.Tt&&this.St(void 0)}reconnected(){this.St(this.Tt)}}),ls=(t,s,i)=>{const e=new Map;for(let n=s;n<=i;n++)e.set(t[n],n);return e},as=Vt(class extends Ot{constructor(t){if(super(t),2!==t.type)throw Error("repeat() can only be used in text expressions")}Et(t,s,i){let e;void 0===i?i=s:void 0!==s&&(e=s);const n=[],r=[];let o=0;for(const s of t)n[o]=e?e(s,o):o,r[o]=i(s,o),o++;return{values:r,keys:n}}render(t,s,i){return this.Et(t,s,i).values}update(t,[s,i,e]){const n=At(t),{values:r,keys:o}=this.Et(s,i,e);if(!Array.isArray(n))return this.Ct=o,r;const h=this.Ct??=[],c=[];let l,a,u=0,d=n.length-1,f=0,p=r.length-1;for(;u<=d&&f<=p;)if(null===n[u])u++;else if(null===n[d])d--;else if(h[u]===o[f])c[f]=Et(n[u],r[f]),u++,f++;else if(h[d]===o[p])c[p]=Et(n[d],r[p]),d--,p--;else if(h[u]===o[p])c[p]=Et(n[u],r[p]),xt(t,c[p+1],n[u]),u++,p--;else if(h[d]===o[f])c[f]=Et(n[d],r[f]),xt(t,n[u],n[d]),d--,f++;else if(void 0===l&&(l=ls(o,f,p),a=ls(h,u,d)),l.has(h[u]))if(l.has(h[d])){const s=a.get(o[f]),i=void 0!==s?n[s]:null;if(null===i){const s=xt(t,n[u]);Et(s,r[f]),c[f]=s}else c[f]=Et(i,r[f]),xt(t,n[u],i),n[s]=null;f++}else Mt(n[d]),d--;else Mt(n[u]),u++;for(;f<=p;){const s=xt(t,c[p+1]);Et(s,r[f]),c[f++]=s}for(;u<=d;){const t=n[u++];null!==t&&Mt(t)}return this.Ct=o,Pt(t,c),G}}),us="important",ds=" !"+us,fs=Vt(class extends Ot{constructor(t){if(super(t),1!==t.type||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((s,i)=>{const e=t[i];return null==e?s:s+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`}),"")}update(t,[s]){const{style:i}=t.element;if(void 0===this.Pt)return this.Pt=new Set(Object.keys(s)),this.render(s);for(const t of this.Pt)null==s[t]&&(this.Pt.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in s){const e=s[t];if(null!=e){this.Pt.add(t);const s="string"==typeof e&&e.endsWith(ds);t.includes("-")||s?i.setProperty(t,s?e.slice(0,-11):e,s?us:""):i[t]=e}}return G}}),ps=Vt(
classextendsOt{constructor(t){if(super(t),2!==t.type)throwError("templateContent can only be used in child bindings")}render(t){returnthis.At===t?G:(this.At=t,document.importNode(t.content,!0))}});classvsextendsOt{constructor(t){if(super(t),this.bt=J,2!==t.type)throwError(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||null==t)returnthis.Mt=void0,this.bt=t;if(t===G)returnt;if("string"!=typeoft)throwError(this.constructor.directiveName+"() called with a non-string value");if(t===this.bt)returnthis.Mt;this.bt=t;consts=[t];returns.raw=s,this.Mt={_$litType$:this.constructor.resultType,strings:s,values:[]}}}vs.directiveName="unsafeHTML",vs.resultType=1;constys=Vt(vs);
window.litDisableBundleWarning||console.warn("Lit has been loaded from a bundle that combines all core features into a single file. To reduce transfer size and parsing cost, consider using the `lit` npm package directly in your project.");export{ItasAsyncDirective,WtasAsyncReplaceDirective,nasCSSResult,OtasDirective,dtasLitElement,UtasPartType,$asReactiveElement,btasTemplateResultType,vsasUnsafeHTMLDirective,_sasUntilDirective,ptas_$LE,ltas_$LH,hasadoptStyles,qtasasyncAppend,ZtasasyncReplace,Gtascache,Jtaschoose,KtasclassMap,ktasclearPart,rsascreateRef,oascss,wasdefaultConverter,Vtasdirective,AtasgetCommittedValue,casgetCompatibleStyle,StasgetDirectiveClass,Qtasguard,Zashtml,XtasifDefined,xtasinsertPart,wtasisCompiledTemplateResult,_tasisDirectiveResult,mtasisPrimitive,vtasisServer,$tasisSingleExpression,gtasisTemplateResult,tsasjoin,ssaskeyed,Csasliteral,isaslive,esasmap,Fasmathml,GasnoChange,_asnotEqual,Jasnothing,nsasrange,csasref,MtasremovePart,utasrender,asasrepeat,EtassetChildPartValue,PtassetCommittedValue,MsasstaticHtml,ksasstaticSvg,fsasstyleMap,sassupportsAdoptingStyleSheets,qassvg,psastemplateContent,rasunsafeCSS,ysasunsafeHTML,bsasunsafeSVG,EsasunsafeStatic,Ssasuntil,$saswhen,AsaswithStatic};