constt=window,i=t.ShadowRoot&&(void0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"inDocument.prototype&&"replace"inCSSStyleSheet.prototype,s=Symbol(),e=newWeakMap;classn{constructor(t,i,e){if(this._$cssResult$=!0,e!==s)throwError("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=i}getstyleSheet(){lett=this.i;consts=this.t;if(i&&void0===t){consti=void0!==s&&1===s.length;i&&(t=e.get(s)),void0===t&&((this.i=t=newCSSStyleSheet).replaceSync(this.cssText),i&&e.set(s,t))}returnt}toString(){returnthis.cssText}}consto=t=>newn("string"==typeoft?t:t+"",void0,s),r=(t,...i)=>{conste=1===t.length?t[0]:i.reduce(((i,s,e)=>i+(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.")})(s)+t[e+1]),t[0]);returnnewn(e,t,s)},l=(s,e)=>{i?s.adoptedStyleSheets=e.map((t=>tinstanceofCSSStyleSheet?t:t.styleSheet)):e.forEach((i=>{conste=document.createElement("style"),n=t.litNonce;void0!==n&&e.setAttribute("nonce",n),e.textContent=i.cssText,s.appendChild(e)}))},h=i?t=>t:t=>tinstanceofCSSStyleSheet?(t=>{leti="";for(constsoft.cssRules)i+=s.cssText;returno(i)})(t):t
classextendsDt{constructor(t){if(super(t),2!==t.type)throwError("asyncAppend can only be used in child expressions")}update(t,i){returnthis.st=t,super.update(t,i)}commitValue(t,i){0===i&&Mt(this.st);consts=Tt(this.st);xt(s,t)}}),qt=t=>gt(t)?t._$litType$.h:t.strings,Ft=Ut(classextendsVt{constructor(t){super(t),this.dt=newWeakMap}render(t){return[t]}update(t,[i]){consts=mt(this.vt)?qt(this.vt):null,e=mt(i)?qt(i):null;if(null!==s&&(null===e||s!==e)){consti=At(t).pop();lete=this.dt.get(s);if(void0===e){constt=document.createDocumentFragment();e=lt(W,t),e.setConnected(!1),this.dt.set(s,e)}Ct(e,[i]),Tt(e,void0,i)}if(null!==e){if(null===s||s!==e){consti=this.dt.get(e);if(void0!==i){consts=At(i).pop();Mt(t),Tt(t,void0,s),Ct(t,[s])}}this.vt=i}elsethis.vt=void0;returnthis.render(i)}}),Gt=(t,i,s)=>{for(constsofi)if(s[0]===t)return(0,s[1])();returnnull==s?void0:s()},Jt=Ut(
classextendsVt{constructor(t){vari;if(super(t),1!==t.type||"class"!==t.name||(null===(i=t.strings)||void0===i?void0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){vars,e;if(void0===this.ft){this.ft=newSet,void0!==t.strings&&(this.yt=newSet(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(consttini)i[t]&&!(null===(s=this.yt)||void0===s?void0:s.has(t))&&this.ft.add(t);returnthis.render(i)}constn=t.element.classList;this.ft.forEach((t=>{tini||(n.remove(t),this.ft.delete(t))}));for(consttini){consts=!!i[t];s===this.ft.has(t)||(null===(e=this.yt)||void0===e?void0:e.has(t))||(s?(n.add(t),this.ft.add(t)):(n.remove(t),this.ft.delete(t)))}returnD}}),Kt={},Yt=Ut(classextendsVt{constructor(){super(...arguments),this.bt=Kt}render(t,i){returni()}update(t,[i,s]){if(Array.isArray(i)){if(Array.isArray(this.bt)&&this.bt.length===i.length&&i.every(((t,i)=>t===this.bt[i])))returnD}elseif(this.bt===i)returnD;returnthis.bt=Array.isArray(i)?Array.from(i):i,this.render(i,s)}}),Qt=t=>null!=t?t:W
classextendsVt{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,[i]){if(i===D||i===W)returni;consts=t.element,e=t.name;if(3===t.type){if(i===s[e])returnD}elseif(4===t.type){if(!!i===s.hasAttribute(e))returnD}elseif(1===t.type&&s.getAttribute(e)===i+"")returnD;returnCt(t),i}});
*/const ni=()=>new oi;class oi{}const ri=new WeakMap,li=Ut(class extends Ht{render(t){return W}update(t,[i]){var s;const e=i!==this.ot;return e&&void 0!==this.ot&&this.gt(void 0),(e||this.wt!==this._t)&&(this.ot=i,this.$t=null===(s=t.options)||void 0===s?void 0:s.host,this.gt(this._t=t.element)),W}gt(t){var i;if("function"==typeof this.ot){const s=null!==(i=this.$t)&&void 0!==i?i:globalThis;let e=ri.get(s);void 0===e&&(e=new WeakMap,ri.set(s,e)),void 0!==e.get(this.ot)&&this.ot.call(this.$t,void 0),e.set(this.ot,t),void 0!==t&&this.ot.call(this.$t,t)}else this.ot.value=t}get wt(){var t,i,s;return"function"==typeof this.ot?null===(i=ri.get(null!==(t=this.$t)&&void 0!==t?t:globalThis))||void 0===i?void 0:i.get(this.ot):null===(s=this.ot)||void 0===s?void 0:s.value}disconnected(){this.wt===this._t&&this.gt(void 0)}reconnected(){this.gt(this._t)}}),hi=(t,i,s)=>{const e=new Map;for(let n=i;n<=s;n++)e.set(t[n],n);return e},ui=Ut(class extends Vt{constructor(t){if(super(t),2!==t.type)throw Error("repeat() can only be used in text expressions")}St(t,i,s){let e;void 0===s?s=i:void 0!==i&&(e=i);const n=[],o=[];let r=0;for(const i of t)n[r]=e?e(i,r):r,o[r]=s(i,r),r++;return{values:o,keys:n}}render(t,i,s){return this.St(t,i,s).values}update(t,[i,s,e]){var n;const o=At(t),{values:r,keys:l}=this.St(i,s,e);if(!Array.isArray(o))return this.Tt=l,r;const h=null!==(n=this.Tt)&&void 0!==n?n:this.Tt=[],u=[];let c,d,a=0,v=o.length-1,f=0,p=r.length-1;for(;a<=v&&f<=p;)if(null===o[a])a++;else if(null===o[v])v--;else if(h[a]===l[f])u[f]=xt(o[a],r[f]),a++,f++;else if(h[v]===l[p])u[p]=xt(o[v],r[p]),v--,p--;else if(h[a]===l[p])u[p]=xt(o[a],r[p]),Tt(t,u[p+1],o[a]),a++,p--;else if(h[v]===l[f])u[f]=xt(o[v],r[f]),Tt(t,o[a],o[v]),v--,f++;else if(void 0===c&&(c=hi(l,f,p),d=hi(h,a,v)),c.has(h[a]))if(c.has(h[v])){const i=d.get(l[f]),s=void 0!==i?o[i]:null;if(null===s){const i=Tt(t,o[a]);xt(i,r[f]),u[f]=i}else u[f]=xt(s,r[f]),Tt(t,o[a],s),o[i]=null;f++}else kt(o[v]),v--;else kt(o[a]),a++;for(;f<=p;){const i=Tt(t,u[p+1]);xt(i,r[f]),u[f++]=i}for(;a<=v;){const t=o[a++];null!==t&&kt(t)}return this.Tt=l,Ct(t,u),D}}),ci="important",di=" !"+ci,ai=Ut(class extends Vt{constructor(t){var i;if(super(t),1!==t.type||"style"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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(((i,s)=>{const e=t[s];return null==e?i:i+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`}),"")}update(t,[i]){const{style:s}=t.element;if(void 0===this.xt){this.xt=new Set;for(const t in i)this.xt.add(t);return this.render(i)}this.xt.forEach((t=>{null==i[t]&&(this.xt.delete(t),t.includes("-")?s.removeProperty(t):s[t]="")}));for(const t in i){const e=i[t];if(null!=e){this.xt.add(t);const i="string"==typeof e&&e.endsWith(di);t.includes("-")||i?s.setProperty(t,i?e.slice(0,-11):e,i?ci:""):s[t]=e}}return D}}),vi=Ut(
classextendsVt{constructor(t){if(super(t),2!==t.type)throwError("templateContent can only be used in child bindings")}render(t){returnthis.Et===t?D:(this.Et=t,document.importNode(t.content,!0))}});classfiextendsVt{constructor(t){if(super(t),this.vt=W,2!==t.type)throwError(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)returnthis.Ct=void0,this.vt=t;if(t===D)returnt;if("string"!=typeoft)throwError(this.constructor.directiveName+"() called with a non-string value");if(t===this.vt)returnthis.Ct;this.vt=t;consti=[t];returni.raw=i,this.Ct={_$litType$:this.constructor.resultType,strings:i,values:[]}}}fi.directiveName="unsafeHTML",fi.resultType=1;constpi=Ut(fi);
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{HtasAsyncDirective,DtasAsyncReplaceDirective,nasCSSResult,VtasDirective,dtasLitElement,PtasPartType,masReactiveElement,btasTemplateResultType,fiasUnsafeHTMLDirective,wiasUntilDirective,ctasUpdatingElement,vtas_$LE,otas_$LH,lasadoptStyles,ZtasasyncAppend,WtasasyncReplace,Ftascache,Gtaschoose,JtasclassMap,MtasclearPart,niascreateRef,rascss,fasdefaultConverter,Utasdirective,AtasgetCommittedValue,hasgetCompatibleStyle,_tasgetDirectiveClass,Ytasguard,Iashtml,QtasifDefined,TtasinsertPart,gtasisCompiledTemplateResult,wtasisDirectiveResult,ytasisPrimitive,ftasisServer,$tasisSingleExpression,mtasisTemplateResult,Xtasjoin,tiaskeyed,Eiasliteral,iiaslive,siasmap,DasnoChange,pasnotEqual,Wasnothing,eiasrange,liasref,ktasremovePart,ltasrender,uiasrepeat,xtassetChildPartValue,CtassetCommittedValue,kiasstaticHtml,MiasstaticSvg,aiasstyleMap,iassupportsAdoptingStyleSheets,Bassvg,viastemplateContent,oasunsafeCSS,piasunsafeHTML,biasunsafeSVG,xiasunsafeStatic,_iasuntil,$iaswhen,AiaswithStatic};