cas-ds-web-components 1.2.56 → 1.2.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (function(o,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(o=typeof globalThis<"u"?globalThis:o||self,i(o["base-styles"]={}))})(this,function(o){"use strict";const i="Rubik-Bold",t="16px",e="700",a="24px",c="#01A49A",n="#01736C",d="#E6F6F5",r="#4DBFB8",g="#CCEDEB",h="#5143D5",s="color",L="#392F95",l="color",M="#EEECFB",y="color",F="#857BE2",C="color",u="#CBC7F2",m="color",S="#DCD9F7",T="#203442",B="color",P="#364855",b="color",H="#4D5D68",W="color",p="#63717B",I="color",v="#79858E",z="color",D="#909AA1",k="color",E="#A6AEB3",N="color",R="#BCC2C6",w="color",A="#D2D6D9",f="color",j="#E9EBEC",O="color",q="#FFFFFF",G="color",J="#F2F5F9",K="color",Q="rgba(201, 207, 227, 0.75)",U="color",V="#E53935",X="color",Y="#FFEBEE",Z="color",_="#B71C1C",$="color",x="#FFCDD2",oo="color",io="#FFB300",to="color",eo="#FFF8E1",ao="color",co="#FF8F00",no="color",ro="#FFECB3",go="color",ho="#7CB342",so="color",Lo="#F1F8E9",lo="color",Mo="#33691E",yo="color",Fo="#DCEDC8",Co="color",uo="0 2px 2px rgba(1, 164, 154, 0.25)",mo="shadow",So="0 4px 10px rgba(1, 115, 108, 0.35)",To="shadow",Bo="0 1px 2px rgba(1, 115, 108, 0.5)",Po="shadow",bo="0 2px 2px rgba(121, 133, 142, 0.25)",Ho="shadow",Wo="0 2px 2px rgba(229, 57, 53, 0.25)",po="shadow",Io="0 4px 10px rgba(183, 28, 28, 0.35)",vo="shadow",zo="0 1px 2px rgba(183, 28, 28, 0.5)",Do="shadow",ko="0 2px 2px rgba(121, 133, 142, 0.25)",Eo="shadow",No="Rubik",Ro="300",wo="400",Ao="500",fo="700",jo="900",Oo="Rubik-Regular",qo="Rubik-Medium",Go="Rubik-Bold",Jo="0.0120588",Ko="16",Qo="24",Uo="28",Vo="32",Xo="36",Yo="40",Zo="48",_o="56",$o="10",xo="11",oi="12",ii="14",ti="16",ei="18",ai="24",ci="28",ni="32",di="40",ri="48",gi="'Rubik', sans-serif",hi="0.0120588",si="0.0120588em",Li="16px",li="24px",Mi="28px",yi="32px",Fi="36px",Ci="40px",ui="48px",mi="56px",Si="10px",Ti="11px",Bi="12px",Pi="14px",bi="16px",Hi="18px",Wi="24px",pi="28px",Ii="32px",vi="40px",zi="48px",Di="#FFFFFF",ki="color",Ei="#FFFFFF",Ni="color",Ri="#FFFFFF",wi="color",Ai="#FFFFFF",fi="color",ji="#FFFFFF",Oi="color",qi="#E9EBEC",Gi="color",Ji="#E9EBEC",Ki="color",Qi="#D2D6D9",Ui="color",Vi="#909AA1",Xi="color",Yi="#392F95",Zi="color",_i="#D2D6D9",$i="color",xi="#7CB342",ot="color",it="E53935",tt="color",et="#E9EBEC",at="color",ct="#E9EBEC",nt="color",dt="#79858E",rt="color",gt="#364855",ht="color",st="#392F95",Lt="color",lt="#392F95",Mt="color",yt="#7CB342",Ft="color",Ct="E53935",ut="color",mt="#79858E",St="color",Tt="#79858E",Bt="color",Pt="Rubik-Regular",bt="16px",Ht="400",Wt="24px",pt="Rubik-Medium",It="16px",vt="500",zt="20px",Dt="Rubik-Medium",kt="12px",Et="500",Nt="16px",Rt="Rubik-Regular",wt="12px",At="400",ft="16px",jt="Rubik-Medium",Ot="48px",qt="500",Gt="56px",Jt="Rubik-Medium",Kt="40px",Qt="500",Ut="48px",Vt="Rubik-Bold",Xt="32px",Yt="700",Zt="40px",_t="Rubik-Medium",$t="14px",xt="500",oe="24px",ie="Rubik-Regular",te="14px",ee="400",ae="24px",ce="Rubik-Medium",ne="28px",de="500",re="36px",ge="Rubik-Medium",he="24px",se="500",Le="32px",le="Rubik-Medium",Me="18px",ye="500",Fe="28px",Ce="Rubik-Regular",ue="24px",me="400",Se="32px",Te="Rubik-Medium",Be="14px",Pe="700",be="24px";o.casBody1FontFamilyModeLight=Pt,o.casBody1FontSizeModeLight=bt,o.casBody1FontWeightModeLight=Ht,o.casBody1LineHeightModeLight=Wt,o.casBody2FontFamilyModeLight=pt,o.casBody2FontSizeModeLight=It,o.casBody2FontWeightModeLight=vt,o.casBody2LineHeightModeLight=zt,o.casButtonFontFamilyModeLight=i,o.casButtonFontSizeModeLight=t,o.casButtonFontWeightModeLight=e,o.casButtonLineHeightModeLight=a,o.casButtonShadowPrimaryDisabledModeLight=bo,o.casButtonShadowPrimaryDisabledModeLightType=Ho,o.casButtonShadowPrimaryHoverModeLight=So,o.casButtonShadowPrimaryHoverModeLightType=To,o.casButtonShadowPrimaryNormalModeLight=uo,o.casButtonShadowPrimaryNormalModeLightType=mo,o.casButtonShadowPrimaryPressedModeLight=Bo,o.casButtonShadowPrimaryPressedModeLightType=Po,o.casButtonShadowPrimaryRedDisabledModeLight=ko,o.casButtonShadowPrimaryRedDisabledModeLightType=Eo,o.casButtonShadowPrimaryRedHoverModeLight=Io,o.casButtonShadowPrimaryRedHoverModeLightType=vo,o.casButtonShadowPrimaryRedNormalModeLight=Wo,o.casButtonShadowPrimaryRedNormalModeLightType=po,o.casButtonShadowPrimaryRedPressedModeLight=zo,o.casButtonShadowPrimaryRedPressedModeLightType=Do,o.casCaption1FontFamilyModeLight=Dt,o.casCaption1FontSizeModeLight=kt,o.casCaption1FontWeightModeLight=Et,o.casCaption1LineHeightModeLight=Nt,o.casCaption2FontFamilyModeLight=Rt,o.casCaption2FontSizeModeLight=wt,o.casCaption2FontWeightModeLight=At,o.casCaption2LineHeightModeLight=ft,o.casColorBackground1ModeLight=q,o.casColorBackground1ModeLightType=G,o.casColorBackground2ModeLight=J,o.casColorBackground2ModeLightType=K,o.casColorError1ModeLight=V,o.casColorError1ModeLightType=X,o.casColorError2ModeLight=Y,o.casColorError2ModeLightType=Z,o.casColorError3ModeLight=_,o.casColorError3ModeLightType=$,o.casColorError4ModeLight=x,o.casColorError4ModeLightType=oo,o.casColorPrimary1ModeLight=c,o.casColorPrimary2ModeLight=n,o.casColorPrimary3ModeLight=d,o.casColorPrimary4ModeLight=r,o.casColorPrimary5ModeLight=g,o.casColorSecondary1ModeLight=h,o.casColorSecondary1ModeLightType=s,o.casColorSecondary2ModeLight=L,o.casColorSecondary2ModeLightType=l,o.casColorSecondary3ModeLight=M,o.casColorSecondary3ModeLightType=y,o.casColorSecondary4ModeLight=F,o.casColorSecondary4ModeLightType=C,o.casColorSecondary5ModeLight=u,o.casColorSecondary5ModeLightType=m,o.casColorSecondary6ModeLight=S,o.casColorShadow1ModeLight=Q,o.casColorShadow1ModeLightType=U,o.casColorSuccess1ModeLight=ho,o.casColorSuccess1ModeLightType=so,o.casColorSuccess2ModeLight=Lo,o.casColorSuccess2ModeLightType=lo,o.casColorSuccess3ModeLight=Mo,o.casColorSuccess3ModeLightType=yo,o.casColorSuccess4ModeLight=Fo,o.casColorSuccess4ModeLightType=Co,o.casColorTertiary10ModeLight=j,o.casColorTertiary10ModeLightType=O,o.casColorTertiary1ModeLight=T,o.casColorTertiary1ModeLightType=B,o.casColorTertiary2ModeLight=P,o.casColorTertiary2ModeLightType=b,o.casColorTertiary3ModeLight=H,o.casColorTertiary3ModeLightType=W,o.casColorTertiary4ModeLight=p,o.casColorTertiary4ModeLightType=I,o.casColorTertiary5ModeLight=v,o.casColorTertiary5ModeLightType=z,o.casColorTertiary6ModeLight=D,o.casColorTertiary6ModeLightType=k,o.casColorTertiary7ModeLight=E,o.casColorTertiary7ModeLightType=N,o.casColorTertiary8ModeLight=R,o.casColorTertiary8ModeLightType=w,o.casColorTertiary9ModeLight=A,o.casColorTertiary9ModeLightType=f,o.casColorWarning1ModeLight=io,o.casColorWarning1ModeLightType=to,o.casColorWarning2ModeLight=eo,o.casColorWarning2ModeLightType=ao,o.casColorWarning3ModeLight=co,o.casColorWarning3ModeLightType=no,o.casColorWarning4ModeLight=ro,o.casColorWarning4ModeLightType=go,o.casDisplay1FontFamilyModeLight=jt,o.casDisplay1FontSizeModeLight=Ot,o.casDisplay1FontWeightModeLight=qt,o.casDisplay1LineHeightModeLight=Gt,o.casDisplay2FontFamilyModeLight=Jt,o.casDisplay2FontSizeModeLight=Kt,o.casDisplay2FontWeightModeLight=Qt,o.casDisplay2LineHeightModeLight=Ut,o.casDisplay3FontFamilyModeLight=Vt,o.casDisplay3FontSizeModeLight=Xt,o.casDisplay3FontWeightModeLight=Yt,o.casDisplay3LineHeightModeLight=Zt,o.casFontFamilyModeLight=No,o.casFontWeightBlackModeLight=jo,o.casFontWeightBoldModeLight=fo,o.casFontWeightLightModeLight=Ro,o.casFontWeightMediumModeLight=Ao,o.casFontWeightRegularModeLight=wo,o.casFootnote1FontFamilyModeLight=_t,o.casFootnote1FontSizeModeLight=$t,o.casFootnote1FontWeightModeLight=xt,o.casFootnote1LineHeightModeLight=oe,o.casFootnote2FontFamilyModeLight=ie,o.casFootnote2FontSizeModeLight=te,o.casFootnote2FontWeightModeLight=ee,o.casFootnote2LineHeightModeLight=ae,o.casHeadline1FontFamilyModeLight=ce,o.casHeadline1FontSizeModeLight=ne,o.casHeadline1FontWeightModeLight=de,o.casHeadline1LineHeightModeLight=re,o.casHeadline2FontFamilyModeLight=ge,o.casHeadline2FontSizeModeLight=he,o.casHeadline2FontWeightModeLight=se,o.casHeadline2LineHeightModeLight=Le,o.casHeadline3FontFamilyModeLight=le,o.casHeadline3FontSizeModeLight=Me,o.casHeadline3FontWeightModeLight=ye,o.casHeadline3LineHeightModeLight=Fe,o.casHeadline4FontFamilyModeLight=Ce,o.casHeadline4FontSizeModeLight=ue,o.casHeadline4FontWeightModeLight=me,o.casHeadline4LineHeightModeLight=Se,o.casInputBackgroundColorPrimaryActiveModeLight=Ri,o.casInputBackgroundColorPrimaryActiveModeLightType=wi,o.casInputBackgroundColorPrimaryDisabledModeLight=Ji,o.casInputBackgroundColorPrimaryDisabledModeLightType=Ki,o.casInputBackgroundColorPrimaryErrorModeLight=qi,o.casInputBackgroundColorPrimaryErrorModeLightType=Gi,o.casInputBackgroundColorPrimaryFilledModeLight=Ai,o.casInputBackgroundColorPrimaryFilledModeLightType=fi,o.casInputBackgroundColorPrimaryHoverModeLight=Ei,o.casInputBackgroundColorPrimaryHoverModeLightType=Ni,o.casInputBackgroundColorPrimaryNormalModeLight=Di,o.casInputBackgroundColorPrimaryNormalModeLightType=ki,o.casInputBackgroundColorPrimarySuccessModeLight=ji,o.casInputBackgroundColorPrimarySuccessModeLightType=Oi,o.casInputBorderColorPrimaryActiveModeLight=Yi,o.casInputBorderColorPrimaryActiveModeLightType=Zi,o.casInputBorderColorPrimaryDisableFilledModeLight=ct,o.casInputBorderColorPrimaryDisableFilledModeLightType=nt,o.casInputBorderColorPrimaryDisabledModeLight=et,o.casInputBorderColorPrimaryDisabledModeLightType=at,o.casInputBorderColorPrimaryErrorModeLight=it,o.casInputBorderColorPrimaryErrorModeLightType=tt,o.casInputBorderColorPrimaryFilledModeLight=_i,o.casInputBorderColorPrimaryFilledModeLightType=$i,o.casInputBorderColorPrimaryHoverModeLight=Vi,o.casInputBorderColorPrimaryHoverModeLightType=Xi,o.casInputBorderColorPrimaryNormalModeLight=Qi,o.casInputBorderColorPrimaryNormalModeLightType=Ui,o.casInputBorderColorPrimarySuccessModeLight=xi,o.casInputBorderColorPrimarySuccessModeLightType=ot,o.casInputLabelColorPrimaryActiveModeLight=st,o.casInputLabelColorPrimaryActiveModeLightType=Lt,o.casInputLabelColorPrimaryDisableFilledModeLight=Tt,o.casInputLabelColorPrimaryDisableFilledModeLightType=Bt,o.casInputLabelColorPrimaryDisabledModeLight=mt,o.casInputLabelColorPrimaryDisabledModeLightType=St,o.casInputLabelColorPrimaryErrorModeLight=Ct,o.casInputLabelColorPrimaryErrorModeLightType=ut,o.casInputLabelColorPrimaryFilledModeLight=lt,o.casInputLabelColorPrimaryFilledModeLightType=Mt,o.casInputLabelColorPrimaryHoverModeLight=gt,o.casInputLabelColorPrimaryHoverModeLightType=ht,o.casInputLabelColorPrimaryNormalModeLight=dt,o.casInputLabelColorPrimaryNormalModeLightType=rt,o.casInputLabelColorPrimarySuccessModeLight=yt,o.casInputLabelColorPrimarySuccessModeLightType=Ft,o.casLinkFontFamilyModeLight=Te,o.casLinkFontSizeModeLight=Be,o.casLinkFontWeightModeLight=Pe,o.casLinkLineHeightModeLight=be,o.casNativeFontFamilyBoldModeLight=Go,o.casNativeFontFamilyMediumModeLight=qo,o.casNativeFontFamilyRegularModeLight=Oo,o.casNativeFontLetterSpacing=Jo,o.casNativeFontLineHeight16ModeLight=Ko,o.casNativeFontLineHeight24ModeLight=Qo,o.casNativeFontLineHeight28ModeLight=Uo,o.casNativeFontLineHeight32ModeLight=Vo,o.casNativeFontLineHeight36ModeLight=Xo,o.casNativeFontLineHeight40ModeLight=Yo,o.casNativeFontLineHeight48ModeLight=Zo,o.casNativeFontLineHeight56ModeLight=_o,o.casNativeFontSize10ModeLight=$o,o.casNativeFontSize11ModeLight=xo,o.casNativeFontSize12ModeLight=oi,o.casNativeFontSize14ModeLight=ii,o.casNativeFontSize16ModeLight=ti,o.casNativeFontSize18ModeLight=ei,o.casNativeFontSize24ModeLight=ai,o.casNativeFontSize28ModeLight=ci,o.casNativeFontSize32ModeLight=ni,o.casNativeFontSize40ModeLight=di,o.casNativeFontSize48ModeLight=ri,o.casWebFontFamilyModeLight=gi,o.casWebFontLetterSpacing=hi,o.casWebFontLineHeight=si,o.casWebFontLineHeight16ModeLight=Li,o.casWebFontLineHeight24ModeLight=li,o.casWebFontLineHeight28ModeLight=Mi,o.casWebFontLineHeight32ModeLight=yi,o.casWebFontLineHeight36ModeLight=Fi,o.casWebFontLineHeight40ModeLight=Ci,o.casWebFontLineHeight48ModeLight=ui,o.casWebFontLineHeight56ModeLight=mi,o.casWebFontSize10ModeLight=Si,o.casWebFontSize11ModeLight=Ti,o.casWebFontSize12ModeLight=Bi,o.casWebFontSize14ModeLight=Pi,o.casWebFontSize16ModeLight=bi,o.casWebFontSize18ModeLight=Hi,o.casWebFontSize24ModeLight=Wi,o.casWebFontSize28ModeLight=pi,o.casWebFontSize32ModeLight=Ii,o.casWebFontSize40ModeLight=vi,o.casWebFontSize48ModeLight=zi,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
@@ -1,41 +1,39 @@
1
- (function(E,_){typeof exports=="object"&&typeof module<"u"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(E=typeof globalThis<"u"?globalThis:E||self,_(E["cas-accordion"]={}))})(this,function(E){"use strict";/**
1
+ (function(A,_){typeof exports=="object"&&typeof module<"u"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(A=typeof globalThis<"u"?globalThis:A||self,_(A["cas-accordion"]={}))})(this,function(A){"use strict";var Pe=Object.defineProperty;var Re=(A,_,g)=>_ in A?Pe(A,_,{enumerable:!0,configurable:!0,writable:!0,value:g}):A[_]=g;var Q=(A,_,g)=>(Re(A,typeof _!="symbol"?_+"":_,g),g);/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const _=window,B=_.ShadowRoot&&(_.ShadyCSS===void 0||_.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ot=new WeakMap;class Mt{constructor(t,e,i){if(this._$cssResult$=!0,i!==st)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(B&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=ot.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&ot.set(e,t))}return t}toString(){return this.cssText}}const Rt=o=>new Mt(typeof o=="string"?o:o+"",void 0,st),kt=(o,t)=>{B?o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=_.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,o.appendChild(i)})},nt=B?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Rt(e)})(o):o;/**
5
+ */const _=window,g=_.ShadowRoot&&(_.ShadyCSS===void 0||_.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,X=Symbol(),$t=new WeakMap;let vt=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==X)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(g&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=$t.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&$t.set(e,t))}return t}toString(){return this.cssText}};const f=n=>new vt(typeof n=="string"?n:n+"",void 0,X),Gt=(n,...t)=>{const e=n.length===1?n[0]:t.reduce((i,s,o)=>i+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+n[o+1],n[0]);return new vt(e,n,X)},Qt=(n,t)=>{g?n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=_.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,n.appendChild(i)})},_t=g?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return f(e)})(n):n;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */var D;const k=window,rt=k.trustedTypes,Nt=rt?rt.emptyScript:"",lt=k.reactiveElementPolyfillSupport,I={toAttribute(o,t){switch(t){case Boolean:o=o?Nt:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},at=(o,t)=>t!==o&&(t==t||o==o),V={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:at},q="finalized";class C extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=V){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const n=this[t];this[e]=s,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||V}static finalize(){if(this.hasOwnProperty(q))return!1;this[q]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(nt(s))}else t!==void 0&&e.push(nt(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return kt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=V){var s;const n=this.constructor._$Ep(t,i);if(n!==void 0&&i.reflect===!0){const r=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:I).toAttribute(e,i.type);this._$El=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,n=s._$Ev.get(t);if(n!==void 0&&this._$El!==n){const r=s.getPropertyOptions(n),h=typeof r.converter=="function"?{fromAttribute:r.converter}:((i=r.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?r.converter:I;this._$El=n,this[n]=h.fromAttribute(e,r.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||at)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,n)=>this[n]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var n;return(n=s.hostUpdate)===null||n===void 0?void 0:n.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}C[q]=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},lt?.({ReactiveElement:C}),((D=k.reactiveElementVersions)!==null&&D!==void 0?D:k.reactiveElementVersions=[]).push("1.6.3");/**
9
+ */var tt;const Z=window,At=Z.trustedTypes,Xt=At?At.emptyScript:"",ft=Z.reactiveElementPolyfillSupport,et={toAttribute(n,t){switch(t){case Boolean:n=n?Xt:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},gt=(n,t)=>t!==n&&(t==t||n==n),it={attribute:!0,type:String,converter:et,reflect:!1,hasChanged:gt},st="finalized";let T=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=it){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||it}static finalize(){if(this.hasOwnProperty(st))return!1;this[st]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(_t(s))}else t!==void 0&&e.push(_t(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Qt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=it){var s;const o=this.constructor._$Ep(t,i);if(o!==void 0&&i.reflect===!0){const r=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:et).toAttribute(e,i.type);this._$El=t,r==null?this.removeAttribute(o):this.setAttribute(o,r),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,o=s._$Ev.get(t);if(o!==void 0&&this._$El!==o){const r=s.getPropertyOptions(o),a=typeof r.converter=="function"?{fromAttribute:r.converter}:((i=r.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?r.converter:et;this._$El=o,this[o]=a.fromAttribute(e,r.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||gt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,o)=>this[o]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var o;return(o=s.hostUpdate)===null||o===void 0?void 0:o.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};T[st]=!0,T.elementProperties=new Map,T.elementStyles=[],T.shadowRootOptions={mode:"open"},ft==null||ft({ReactiveElement:T}),((tt=Z.reactiveElementVersions)!==null&&tt!==void 0?tt:Z.reactiveElementVersions=[]).push("1.6.3");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */var F;const N=window,S=N.trustedTypes,ht=S?S.createPolicy("lit-html",{createHTML:o=>o}):void 0,W="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,ct="?"+f,Ht=`<${ct}>`,y=document,U=()=>y.createComment(""),P=o=>o===null||typeof o!="object"&&typeof o!="function",dt=Array.isArray,Lt=o=>dt(o)||typeof o?.[Symbol.iterator]=="function",J=`[
14
- \f\r]`,O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pt=/-->/g,ut=/>/g,g=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),$t=/'/g,vt=/"/g,_t=/^(?:script|style|textarea|title)$/i,jt=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),zt=jt(1),m=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),ft=new WeakMap,A=y.createTreeWalker(y,129,null,!1);function yt(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return ht!==void 0?ht.createHTML(t):t}const Bt=(o,t)=>{const e=o.length-1,i=[];let s,n=t===2?"<svg>":"",r=O;for(let h=0;h<e;h++){const l=o[h];let a,c,d=-1,u=0;for(;u<l.length&&(r.lastIndex=u,c=r.exec(l),c!==null);)u=r.lastIndex,r===O?c[1]==="!--"?r=pt:c[1]!==void 0?r=ut:c[2]!==void 0?(_t.test(c[2])&&(s=RegExp("</"+c[2],"g")),r=g):c[3]!==void 0&&(r=g):r===g?c[0]===">"?(r=s??O,d=-1):c[1]===void 0?d=-2:(d=r.lastIndex-c[2].length,a=c[1],r=c[3]===void 0?g:c[3]==='"'?vt:$t):r===vt||r===$t?r=g:r===pt||r===ut?r=O:(r=g,s=void 0);const v=r===g&&o[h+1].startsWith("/>")?" ":"";n+=r===O?l+Ht:d>=0?(i.push(a),l.slice(0,d)+W+l.slice(d)+f+v):l+f+(d===-2?(i.push(void 0),h):v)}return[yt(o,n+(o[e]||"<?>")+(t===2?"</svg>":"")),i]};class T{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,r=0;const h=t.length-1,l=this.parts,[a,c]=Bt(t,e);if(this.el=T.createElement(a,i),A.currentNode=this.el.content,e===2){const d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(s=A.nextNode())!==null&&l.length<h;){if(s.nodeType===1){if(s.hasAttributes()){const d=[];for(const u of s.getAttributeNames())if(u.endsWith(W)||u.startsWith(f)){const v=c[r++];if(d.push(u),v!==void 0){const he=s.getAttribute(v.toLowerCase()+W).split(f),z=/([.?@])?(.*)/.exec(v);l.push({type:1,index:n,name:z[2],strings:he,ctor:z[1]==="."?It:z[1]==="?"?qt:z[1]==="@"?Ft:H})}else l.push({type:6,index:n})}for(const u of d)s.removeAttribute(u)}if(_t.test(s.tagName)){const d=s.textContent.split(f),u=d.length-1;if(u>0){s.textContent=S?S.emptyScript:"";for(let v=0;v<u;v++)s.append(d[v],U()),A.nextNode(),l.push({type:2,index:++n});s.append(d[u],U())}}}else if(s.nodeType===8)if(s.data===ct)l.push({type:2,index:n});else{let d=-1;for(;(d=s.data.indexOf(f,d+1))!==-1;)l.push({type:7,index:n}),d+=f.length-1}n++}}static createElement(t,e){const i=y.createElement("template");return i.innerHTML=t,i}}function b(o,t,e=o,i){var s,n,r,h;if(t===m)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const a=P(t)?void 0:t._$litDirective$;return l?.constructor!==a&&((n=l?._$AO)===null||n===void 0||n.call(l,!1),a===void 0?l=void 0:(l=new a(o),l._$AT(o,e,i)),i!==void 0?((r=(h=e)._$Co)!==null&&r!==void 0?r:h._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=b(o,l._$AS(o,t.values),l,i)),t}class Dt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:s}=this._$AD,n=((e=t?.creationScope)!==null&&e!==void 0?e:y).importNode(i,!0);A.currentNode=n;let r=A.nextNode(),h=0,l=0,a=s[0];for(;a!==void 0;){if(h===a.index){let c;a.type===2?c=new M(r,r.nextSibling,this,t):a.type===1?c=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(c=new Wt(r,this,t)),this._$AV.push(c),a=s[++l]}h!==a?.index&&(r=A.nextNode(),h++)}return A.currentNode=y,n}v(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class M{constructor(t,e,i,s){var n;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(n=s?.isConnected)===null||n===void 0||n}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=b(this,t,e),P(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Lt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==p&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=T.createElement(yt(s.h,s.h[0]),this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===n)this._$AH.v(i);else{const r=new Dt(n,this),h=r.u(this.options);r.v(i),this.$(h),this._$AH=r}}_$AC(t){let e=ft.get(t.strings);return e===void 0&&ft.set(t.strings,e=new T(t)),e}T(t){dt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const n of t)s===e.length?e.push(i=new M(this.k(U()),this.k(U()),this,this.options)):i=e[s],i._$AI(n),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class H{constructor(t,e,i,s,n){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=p}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const n=this.strings;let r=!1;if(n===void 0)t=b(this,t,e,0),r=!P(t)||t!==this._$AH&&t!==m,r&&(this._$AH=t);else{const h=t;let l,a;for(t=n[0],l=0;l<n.length-1;l++)a=b(this,h[i+l],e,l),a===m&&(a=this._$AH[l]),r||(r=!P(a)||a!==this._$AH[l]),a===p?t=p:t!==p&&(t+=(a??"")+n[l+1]),this._$AH[l]=a}r&&!s&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class It extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}}const Vt=S?S.emptyScript:"";class qt extends H{constructor(){super(...arguments),this.type=4}j(t){t&&t!==p?this.element.setAttribute(this.name,Vt):this.element.removeAttribute(this.name)}}class Ft extends H{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){var i;if((t=(i=b(this,t,e,0))!==null&&i!==void 0?i:p)===m)return;const s=this._$AH,n=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==p&&(s===p||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}}class Wt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){b(this,t)}}const gt=N.litHtmlPolyfillSupport;gt?.(T,M),((F=N.litHtmlVersions)!==null&&F!==void 0?F:N.litHtmlVersions=[]).push("2.8.0");const Jt=(o,t,e)=>{var i,s;const n=(i=e?.renderBefore)!==null&&i!==void 0?i:t;let r=n._$litPart$;if(r===void 0){const h=(s=e?.renderBefore)!==null&&s!==void 0?s:null;n._$litPart$=r=new M(t.insertBefore(U(),h),h,void 0,e??{})}return r._$AI(o),r};/**
16
- * @license
17
- * Copyright 2019 Google LLC
18
- * SPDX-License-Identifier: BSD-3-Clause
19
- */const L=window,K=L.ShadowRoot&&(L.ShadyCSS===void 0||L.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Z=Symbol(),mt=new WeakMap;class At{constructor(t,e,i){if(this._$cssResult$=!0,i!==Z)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(K&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&mt.set(e,t))}return t}toString(){return this.cssText}}const $=o=>new At(typeof o=="string"?o:o+"",void 0,Z),Kt=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((i,s,n)=>i+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+o[n+1],o[0]);return new At(e,o,Z)},Zt=(o,t)=>{K?o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const i=document.createElement("style"),s=L.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,o.appendChild(i)})},Et=K?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return $(e)})(o):o;/**
13
+ */var nt;const q=window,N=q.trustedTypes,mt=N?N.createPolicy("lit-html",{createHTML:n=>n}):void 0,ot="$lit$",y=`lit$${(Math.random()+"").slice(9)}$`,yt="?"+y,te=`<${yt}>`,b=document,J=()=>b.createComment(""),B=n=>n===null||typeof n!="object"&&typeof n!="function",xt=Array.isArray,ee=n=>xt(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",rt=`[
14
+ \f\r]`,I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bt=/-->/g,Et=/>/g,E=RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),St=/'/g,wt=/"/g,Ct=/^(?:script|style|textarea|title)$/i,ie=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),se=ie(1),M=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Ht=new WeakMap,S=b.createTreeWalker(b,129,null,!1);function Tt(n,t){if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return mt!==void 0?mt.createHTML(t):t}const ne=(n,t)=>{const e=n.length-1,i=[];let s,o=t===2?"<svg>":"",r=I;for(let a=0;a<e;a++){const l=n[a];let h,c,d=-1,u=0;for(;u<l.length&&(r.lastIndex=u,c=r.exec(l),c!==null);)u=r.lastIndex,r===I?c[1]==="!--"?r=bt:c[1]!==void 0?r=Et:c[2]!==void 0?(Ct.test(c[2])&&(s=RegExp("</"+c[2],"g")),r=E):c[3]!==void 0&&(r=E):r===E?c[0]===">"?(r=s??I,d=-1):c[1]===void 0?d=-2:(d=r.lastIndex-c[2].length,h=c[1],r=c[3]===void 0?E:c[3]==='"'?wt:St):r===wt||r===St?r=E:r===bt||r===Et?r=I:(r=E,s=void 0);const p=r===E&&n[a+1].startsWith("/>")?" ":"";o+=r===I?l+te:d>=0?(i.push(h),l.slice(0,d)+ot+l.slice(d)+y+p):l+y+(d===-2?(i.push(void 0),a):p)}return[Tt(n,o+(n[e]||"<?>")+(t===2?"</svg>":"")),i]};let lt=class Kt{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,r=0;const a=t.length-1,l=this.parts,[h,c]=ne(t,e);if(this.el=Kt.createElement(h,i),S.currentNode=this.el.content,e===2){const d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(s=S.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes()){const d=[];for(const u of s.getAttributeNames())if(u.endsWith(ot)||u.startsWith(y)){const p=c[r++];if(d.push(u),p!==void 0){const pt=s.getAttribute(p.toLowerCase()+ot).split(y),m=/([.?@])?(.*)/.exec(p);l.push({type:1,index:o,name:m[2],strings:pt,ctor:m[1]==="."?re:m[1]==="?"?he:m[1]==="@"?ae:K})}else l.push({type:6,index:o})}for(const u of d)s.removeAttribute(u)}if(Ct.test(s.tagName)){const d=s.textContent.split(y),u=d.length-1;if(u>0){s.textContent=N?N.emptyScript:"";for(let p=0;p<u;p++)s.append(d[p],J()),S.nextNode(),l.push({type:2,index:++o});s.append(d[u],J())}}}else if(s.nodeType===8)if(s.data===yt)l.push({type:2,index:o});else{let d=-1;for(;(d=s.data.indexOf(y,d+1))!==-1;)l.push({type:7,index:o}),d+=y.length-1}o++}}static createElement(t,e){const i=b.createElement("template");return i.innerHTML=t,i}};function U(n,t,e=n,i){var s,o,r,a;if(t===M)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const h=B(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==h&&((o=l==null?void 0:l._$AO)===null||o===void 0||o.call(l,!1),h===void 0?l=void 0:(l=new h(n),l._$AT(n,e,i)),i!==void 0?((r=(a=e)._$Co)!==null&&r!==void 0?r:a._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=U(n,l._$AS(n,t.values),l,i)),t}let oe=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:s}=this._$AD,o=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:b).importNode(i,!0);S.currentNode=o;let r=S.nextNode(),a=0,l=0,h=s[0];for(;h!==void 0;){if(a===h.index){let c;h.type===2?c=new Nt(r,r.nextSibling,this,t):h.type===1?c=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(c=new ce(r,this,t)),this._$AV.push(c),h=s[++l]}a!==(h==null?void 0:h.index)&&(r=S.nextNode(),a++)}return S.currentNode=b,o}v(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},Nt=class Yt{constructor(t,e,i,s){var o;this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(o=s==null?void 0:s.isConnected)===null||o===void 0||o}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=U(this,t,e),B(t)?t===$||t==null||t===""?(this._$AH!==$&&this._$AR(),this._$AH=$):t!==this._$AH&&t!==M&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ee(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==$&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(b.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=lt.createElement(Tt(s.h,s.h[0]),this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===o)this._$AH.v(i);else{const r=new oe(o,this),a=r.u(this.options);r.v(i),this.$(a),this._$AH=r}}_$AC(t){let e=Ht.get(t.strings);return e===void 0&&Ht.set(t.strings,e=new lt(t)),e}T(t){xt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new Yt(this.k(J()),this.k(J()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}},K=class{constructor(t,e,i,s,o){this.type=1,this._$AH=$,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=$}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let r=!1;if(o===void 0)t=U(this,t,e,0),r=!B(t)||t!==this._$AH&&t!==M,r&&(this._$AH=t);else{const a=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=U(this,a[i+l],e,l),h===M&&(h=this._$AH[l]),r||(r=!B(h)||h!==this._$AH[l]),h===$?t=$:t!==$&&(t+=(h??"")+o[l+1]),this._$AH[l]=h}r&&!s&&this.j(t)}j(t){t===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},re=class extends K{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===$?void 0:t}};const le=N?N.emptyScript:"";let he=class extends K{constructor(){super(...arguments),this.type=4}j(t){t&&t!==$?this.element.setAttribute(this.name,le):this.element.removeAttribute(this.name)}},ae=class extends K{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=U(this,t,e,0))!==null&&i!==void 0?i:$)===M)return;const s=this._$AH,o=t===$&&s!==$||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==$&&(s===$||o);o&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}},ce=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}};const Mt=q.litHtmlPolyfillSupport;Mt==null||Mt(lt,Nt),((nt=q.litHtmlVersions)!==null&&nt!==void 0?nt:q.litHtmlVersions=[]).push("2.8.0");/**
20
16
  * @license
21
17
  * Copyright 2017 Google LLC
22
18
  * SPDX-License-Identifier: BSD-3-Clause
23
- */var Y;const j=window,St=j.trustedTypes,Yt=St?St.emptyScript:"",bt=j.reactiveElementPolyfillSupport,G={toAttribute(o,t){switch(t){case Boolean:o=o?Yt:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},xt=(o,t)=>t!==o&&(t==t||o==o),Q={attribute:!0,type:String,converter:G,reflect:!1,hasChanged:xt},X="finalized";class x extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=Q){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const n=this[t];this[e]=s,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Q}static finalize(){if(this.hasOwnProperty(X))return!1;this[X]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(Et(s))}else t!==void 0&&e.push(Et(t));return e}static _$Ep(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Zt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=Q){var s;const n=this.constructor._$Ep(t,i);if(n!==void 0&&i.reflect===!0){const r=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:G).toAttribute(e,i.type);this._$El=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,n=s._$Ev.get(t);if(n!==void 0&&this._$El!==n){const r=s.getPropertyOptions(n),h=typeof r.converter=="function"?{fromAttribute:r.converter}:((i=r.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?r.converter:G;this._$El=n,this[n]=h.fromAttribute(e,r.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||xt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,n)=>this[n]=s),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var n;return(n=s.hostUpdate)===null||n===void 0?void 0:n.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}x[X]=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},bt?.({ReactiveElement:x}),((Y=j.reactiveElementVersions)!==null&&Y!==void 0?Y:j.reactiveElementVersions=[]).push("1.6.3");/**
19
+ */var ht;const Y=window,P=Y.trustedTypes,Ut=P?P.createPolicy("lit-html",{createHTML:n=>n}):void 0,at="$lit$",x=`lit$${(Math.random()+"").slice(9)}$`,Pt="?"+x,de=`<${Pt}>`,w=document,j=()=>w.createComment(""),z=n=>n===null||typeof n!="object"&&typeof n!="function",Rt=Array.isArray,ue=n=>Rt(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",ct=`[
20
+ \f\r]`,D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,kt=/-->/g,Ot=/>/g,C=RegExp(`>|${ct}(?:([^\\s"'>=/]+)(${ct}*=${ct}*(?:[^
21
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Lt=/'/g,Bt=/"/g,It=/^(?:script|style|textarea|title)$/i,R=Symbol.for("lit-noChange"),v=Symbol.for("lit-nothing"),jt=new WeakMap,H=w.createTreeWalker(w,129,null,!1);function zt(n,t){if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ut!==void 0?Ut.createHTML(t):t}const pe=(n,t)=>{const e=n.length-1,i=[];let s,o=t===2?"<svg>":"",r=D;for(let a=0;a<e;a++){const l=n[a];let h,c,d=-1,u=0;for(;u<l.length&&(r.lastIndex=u,c=r.exec(l),c!==null);)u=r.lastIndex,r===D?c[1]==="!--"?r=kt:c[1]!==void 0?r=Ot:c[2]!==void 0?(It.test(c[2])&&(s=RegExp("</"+c[2],"g")),r=C):c[3]!==void 0&&(r=C):r===C?c[0]===">"?(r=s??D,d=-1):c[1]===void 0?d=-2:(d=r.lastIndex-c[2].length,h=c[1],r=c[3]===void 0?C:c[3]==='"'?Bt:Lt):r===Bt||r===Lt?r=C:r===kt||r===Ot?r=D:(r=C,s=void 0);const p=r===C&&n[a+1].startsWith("/>")?" ":"";o+=r===D?l+de:d>=0?(i.push(h),l.slice(0,d)+at+l.slice(d)+x+p):l+x+(d===-2?(i.push(void 0),a):p)}return[zt(n,o+(n[e]||"<?>")+(t===2?"</svg>":"")),i]};class V{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,r=0;const a=t.length-1,l=this.parts,[h,c]=pe(t,e);if(this.el=V.createElement(h,i),H.currentNode=this.el.content,e===2){const d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(s=H.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes()){const d=[];for(const u of s.getAttributeNames())if(u.endsWith(at)||u.startsWith(x)){const p=c[r++];if(d.push(u),p!==void 0){const pt=s.getAttribute(p.toLowerCase()+at).split(x),m=/([.?@])?(.*)/.exec(p);l.push({type:1,index:o,name:m[2],strings:pt,ctor:m[1]==="."?ve:m[1]==="?"?Ae:m[1]==="@"?fe:G})}else l.push({type:6,index:o})}for(const u of d)s.removeAttribute(u)}if(It.test(s.tagName)){const d=s.textContent.split(x),u=d.length-1;if(u>0){s.textContent=P?P.emptyScript:"";for(let p=0;p<u;p++)s.append(d[p],j()),H.nextNode(),l.push({type:2,index:++o});s.append(d[u],j())}}}else if(s.nodeType===8)if(s.data===Pt)l.push({type:2,index:o});else{let d=-1;for(;(d=s.data.indexOf(x,d+1))!==-1;)l.push({type:7,index:o}),d+=x.length-1}o++}}static createElement(t,e){const i=w.createElement("template");return i.innerHTML=t,i}}function k(n,t,e=n,i){var s,o,r,a;if(t===R)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl;const h=z(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==h&&((o=l==null?void 0:l._$AO)===null||o===void 0||o.call(l,!1),h===void 0?l=void 0:(l=new h(n),l._$AT(n,e,i)),i!==void 0?((r=(a=e)._$Co)!==null&&r!==void 0?r:a._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=k(n,l._$AS(n,t.values),l,i)),t}class $e{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:s}=this._$AD,o=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:w).importNode(i,!0);H.currentNode=o;let r=H.nextNode(),a=0,l=0,h=s[0];for(;h!==void 0;){if(a===h.index){let c;h.type===2?c=new W(r,r.nextSibling,this,t):h.type===1?c=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(c=new ge(r,this,t)),this._$AV.push(c),h=s[++l]}a!==(h==null?void 0:h.index)&&(r=H.nextNode(),a++)}return H.currentNode=w,o}v(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class W{constructor(t,e,i,s){var o;this.type=2,this._$AH=v,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(o=s==null?void 0:s.isConnected)===null||o===void 0||o}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=k(this,t,e),z(t)?t===v||t==null||t===""?(this._$AH!==v&&this._$AR(),this._$AH=v):t!==this._$AH&&t!==R&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ue(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==v&&z(this._$AH)?this._$AA.nextSibling.data=t:this.$(w.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=V.createElement(zt(s.h,s.h[0]),this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===o)this._$AH.v(i);else{const r=new $e(o,this),a=r.u(this.options);r.v(i),this.$(a),this._$AH=r}}_$AC(t){let e=jt.get(t.strings);return e===void 0&&jt.set(t.strings,e=new V(t)),e}T(t){Rt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new W(this.k(j()),this.k(j()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class G{constructor(t,e,i,s,o){this.type=1,this._$AH=v,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=v}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let r=!1;if(o===void 0)t=k(this,t,e,0),r=!z(t)||t!==this._$AH&&t!==R,r&&(this._$AH=t);else{const a=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=k(this,a[i+l],e,l),h===R&&(h=this._$AH[l]),r||(r=!z(h)||h!==this._$AH[l]),h===v?t=v:t!==v&&(t+=(h??"")+o[l+1]),this._$AH[l]=h}r&&!s&&this.j(t)}j(t){t===v?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ve extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===v?void 0:t}}const _e=P?P.emptyScript:"";class Ae extends G{constructor(){super(...arguments),this.type=4}j(t){t&&t!==v?this.element.setAttribute(this.name,_e):this.element.removeAttribute(this.name)}}class fe extends G{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=(i=k(this,t,e,0))!==null&&i!==void 0?i:v)===R)return;const s=this._$AH,o=t===v&&s!==v||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==v&&(s===v||o);o&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}}class ge{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){k(this,t)}}const Dt=Y.litHtmlPolyfillSupport;Dt==null||Dt(V,W),((ht=Y.litHtmlVersions)!==null&&ht!==void 0?ht:Y.litHtmlVersions=[]).push("2.8.0");const me=(n,t,e)=>{var i,s;const o=(i=e==null?void 0:e.renderBefore)!==null&&i!==void 0?i:t;let r=o._$litPart$;if(r===void 0){const a=(s=e==null?void 0:e.renderBefore)!==null&&s!==void 0?s:null;o._$litPart$=r=new W(t.insertBefore(j(),a),a,void 0,e??{})}return r._$AI(n),r};/**
24
22
  * @license
25
23
  * Copyright 2017 Google LLC
26
24
  * SPDX-License-Identifier: BSD-3-Clause
27
- */var tt,et;class w extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Jt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return m}}w.finalized=!0,w._$litElement$=!0,(tt=globalThis.litElementHydrateSupport)===null||tt===void 0||tt.call(globalThis,{LitElement:w});const wt=globalThis.litElementPolyfillSupport;wt?.({LitElement:w}),((et=globalThis.litElementVersions)!==null&&et!==void 0?et:globalThis.litElementVersions=[]).push("3.3.3");/**
25
+ */var dt,ut;let O=class extends T{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=me(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return R}};O.finalized=!0,O._$litElement$=!0,(dt=globalThis.litElementHydrateSupport)===null||dt===void 0||dt.call(globalThis,{LitElement:O});const Vt=globalThis.litElementPolyfillSupport;Vt==null||Vt({LitElement:O}),((ut=globalThis.litElementVersions)!==null&&ut!==void 0?ut:globalThis.litElementVersions=[]).push("3.3.3");/**
28
26
  * @license
29
27
  * Copyright 2020 Google LLC
30
28
  * SPDX-License-Identifier: BSD-3-Clause
31
- */const Gt=Symbol.for(""),Qt=o=>{if(o?.r===Gt)return o?._$litStatic$},Ct=new Map,Xt=o=>(t,...e)=>{const i=e.length;let s,n;const r=[],h=[];let l,a=0,c=!1;for(;a<i;){for(l=t[a];a<i&&(n=e[a],(s=Qt(n))!==void 0);)l+=s+t[++a],c=!0;a!==i&&h.push(n),r.push(l),a++}if(a===i&&r.push(t[i]),c){const d=r.join("$$lit$$");(t=Ct.get(d))===void 0&&(r.raw=r,Ct.set(d,t=r)),e=h}return o(t,...e)},R=Xt(zt),Ut="#01A49A",te="#01736C",ee="#4DBFB8",Pt="#364855",ie="#4D5D68",Ot="#E9EBEC",Tt="#FFFFFF";var se=Kt`
29
+ */const ye=Symbol.for(""),xe=n=>{if((n==null?void 0:n.r)===ye)return n==null?void 0:n._$litStatic$},Wt=new Map,be=n=>(t,...e)=>{const i=e.length;let s,o;const r=[],a=[];let l,h=0,c=!1;for(;h<i;){for(l=t[h];h<i&&(o=e[h],(s=xe(o))!==void 0);)l+=s+t[++h],c=!0;h!==i&&a.push(o),r.push(l),h++}if(h===i&&r.push(t[i]),c){const d=r.join("$$lit$$");(t=Wt.get(d))===void 0&&(r.raw=r,Wt.set(d,t=r)),e=a}return n(t,...e)},F=be(se),Ft="#01A49A",Ee="#01736C",Se="#4DBFB8",Zt="#364855",we="#4D5D68",qt="#E9EBEC",Jt="#FFFFFF",Ce=Gt`
32
30
  .accordion-container {
33
31
  position: relative;
34
32
  box-sizing: border-box;
35
33
  display: flex;
36
34
  flex-direction: column;
37
35
  width: 100%;
38
- background: ${$(Tt)};
36
+ background: ${f(Jt)};
39
37
  border-radius: 8px;
40
38
  margin-bottom: 12px;
41
39
  }
@@ -49,17 +47,17 @@
49
47
  }
50
48
 
51
49
  .box:hover {
52
- background: ${$(Tt)};
50
+ background: ${f(Jt)};
53
51
  box-shadow: 0 6px 20px #b2b9cf;
54
52
  border-radius: 8px;
55
53
  }
56
54
 
57
55
  .accordion-container:hover header {
58
- color: ${$(Ut)};
56
+ color: ${f(Ft)};
59
57
  }
60
58
 
61
59
  .accordion-container:active header {
62
- color: ${$(te)};
60
+ color: ${f(Ee)};
63
61
  }
64
62
 
65
63
  header {
@@ -71,7 +69,7 @@
71
69
  align-items: center;
72
70
  gap: 32px;
73
71
  padding: 24px 32px 24px 40px;
74
- color: ${$(Pt)};
72
+ color: ${f(Zt)};
75
73
  }
76
74
 
77
75
  header:after {
@@ -82,11 +80,11 @@
82
80
  display: flex;
83
81
  width: 100%;
84
82
  height: 1px;
85
- background: ${$(Ot)};
83
+ background: ${f(qt)};
86
84
  }
87
85
 
88
86
  .open header:after {
89
- background: ${$(ee)};
87
+ background: ${f(Se)};
90
88
  }
91
89
 
92
90
  .box header:after {
@@ -96,15 +94,15 @@
96
94
  }
97
95
 
98
96
  header cas-text:nth-child(2) {
99
- color: ${$(ie)};
97
+ color: ${f(we)};
100
98
  }
101
99
 
102
100
  .open.box header {
103
- color: ${$(Ut)};
101
+ color: ${f(Ft)};
104
102
  }
105
103
 
106
104
  .open.box header:after {
107
- background: ${$(Ot)};
105
+ background: ${f(qt)};
108
106
  }
109
107
 
110
108
  header .left {
@@ -120,7 +118,7 @@
120
118
  display: flex;
121
119
  flex-direction: column;
122
120
  gap: 24px;
123
- color: ${$(Pt)};
121
+ color: ${f(Zt)};
124
122
  }
125
123
 
126
124
  .box .content {
@@ -149,24 +147,24 @@
149
147
  * @license
150
148
  * Copyright 2017 Google LLC
151
149
  * SPDX-License-Identifier: BSD-3-Clause
152
- */const oe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ne=o=>(...t)=>({_$litDirective$:o,values:t});class re{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}/**
150
+ */const He={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Te=n=>(...t)=>({_$litDirective$:n,values:t});class Ne{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}/**
153
151
  * @license
154
152
  * Copyright 2018 Google LLC
155
153
  * SPDX-License-Identifier: BSD-3-Clause
156
- */const le=ne(class extends re{constructor(o){var t;if(super(o),o.type!==oe.ATTRIBUTE||o.name!=="class"||((t=o.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){var e,i;if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(const n in t)t[n]&&!(!((e=this.nt)===null||e===void 0)&&e.has(n))&&this.it.add(n);return this.render(t)}const s=o.element.classList;this.it.forEach(n=>{n in t||(s.remove(n),this.it.delete(n))});for(const n in t){const r=!!t[n];r===this.it.has(n)||((i=this.nt)===null||i===void 0?void 0:i.has(n))||(r?(s.add(n),this.it.add(n)):(s.remove(n),this.it.delete(n)))}return m}});function ae({variant:o,open:t}){const e=le({"accordion-container":!0,[o]:!0,open:t}),s=(()=>{if(window.matchMedia("(min-width: 768px)").matches)return"desktop";if(window.matchMedia("(max-width: 767px)").matches)return"mobile"})();return{accordionStyle:e,iconSize:{desktop:"24",mobile:"16"}[s]}}class it extends w{static styles=se;static shadowRootOptions={...w.shadowRootOptions,mode:"open"};constructor(){super(),this.open=!1,this.variant="simple",this.title="",this.text=""}static properties={open:{type:Boolean},variant:{type:String},title:{type:String},text:{type:String},content:{type:String}};toggleAccordion(){this.open=!this.open,this.requestUpdate()}render(){const{open:t,title:e,text:i,content:s}=this,{accordionStyle:n,iconSize:r}=ae({variant:this.variant,open:this.open}),h={true:"flat-minus",false:"flat-plus"};return R`
157
- <article class=${n}>
154
+ */const Me=Te(class extends Ne{constructor(n){var t;if(super(n),n.type!==He.ATTRIBUTE||n.name!=="class"||((t=n.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(t=>n[t]).join(" ")+" "}update(n,[t]){var e,i;if(this.it===void 0){this.it=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!(!((e=this.nt)===null||e===void 0)&&e.has(o))&&this.it.add(o);return this.render(t)}const s=n.element.classList;this.it.forEach(o=>{o in t||(s.remove(o),this.it.delete(o))});for(const o in t){const r=!!t[o];r===this.it.has(o)||!((i=this.nt)===null||i===void 0)&&i.has(o)||(r?(s.add(o),this.it.add(o)):(s.remove(o),this.it.delete(o)))}return M}});function Ue({variant:n,open:t}){const e=Me({"accordion-container":!0,[n]:!0,open:t}),s=(()=>{if(window.matchMedia("(min-width: 768px)").matches)return"desktop";if(window.matchMedia("(max-width: 767px)").matches)return"mobile"})();return{accordionStyle:e,iconSize:{desktop:"24",mobile:"16"}[s]}}class L extends O{constructor(){super(),this.open=!1,this.variant="simple",this.title="",this.text=""}toggleAccordion(){this.open=!this.open,this.requestUpdate()}render(){const{open:t,title:e,text:i,content:s}=this,{accordionStyle:o,iconSize:r}=Ue({variant:this.variant,open:this.open}),a={true:"flat-minus",false:"flat-plus"};return F`
155
+ <article class=${o}>
158
156
  <header @click="${this.toggleAccordion}">
159
157
  <div class="left">
160
- ${e!==""?R` <cas-text variant="headline3">${e}</cas-text>`:""}
161
- ${i!==""?R` <cas-text variant="footnote2">${i}</cas-text>`:""}
158
+ ${e!==""?F` <cas-text variant="headline3">${e}</cas-text>`:""}
159
+ ${i!==""?F` <cas-text variant="footnote2">${i}</cas-text>`:""}
162
160
  </div>
163
- <cas-icon name="${h[t]}" size="${r}"></cas-icon>
161
+ <cas-icon name="${a[t]}" size="${r}"></cas-icon>
164
162
  </header>
165
- ${t?R`
163
+ ${t?F`
166
164
  <div class="content">
167
- ${s!==""?R` <cas-text variant="body1" text="${s}"></cas-text>`:""}
165
+ ${s!==""?F` <cas-text variant="body1" text="${s}"></cas-text>`:""}
168
166
  <slot></slot>
169
167
  </div>
170
168
  `:""}
171
169
  </article>
172
- `}}customElements.define("cas-accordion",it),customElements.get("cas-accordion-element")||customElements.define("cas-accordion-element",class extends it{}),E.CasAccordion=it,Object.defineProperties(E,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
170
+ `}}Q(L,"styles",Ce),Q(L,"shadowRootOptions",{...O.shadowRootOptions,mode:"open"}),Q(L,"properties",{open:{type:Boolean},variant:{type:String},title:{type:String},text:{type:String},content:{type:String}}),customElements.define("cas-accordion",L),customElements.get("cas-accordion-element")||customElements.define("cas-accordion-element",class extends L{}),A.CasAccordion=L,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})});