Socket
Socket
Sign inDemoInstall

@fluid-topics/ft-tooltip

Package Overview
Dependencies
Maintainers
2
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluid-topics/ft-tooltip - npm Package Compare versions

Comparing version 0.1.17 to 0.1.18

build/ft-tooltip.inline-styles.js

4

build/ft-tooltip.d.ts

@@ -20,3 +20,3 @@ import { PropertyValues } from "lit";

static elementDefinitions: ElementDefinitionsMap;
protected getStyles(): import("lit").CSSResult;
static styles: import("lit").CSSResult;
text: string;

@@ -33,3 +33,3 @@ manual: boolean;

private visible;
protected getTemplate(): import("lit-html").TemplateResult<1>;
protected render(): import("lit-html").TemplateResult<1>;
protected update(props: PropertyValues): void;

@@ -36,0 +36,0 @@ protected contentAvailableCallback(props: PropertyValues): void;

@@ -9,3 +9,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { property, query, queryAssignedNodes, state } from "lit/decorators.js";
import { customElement, Debouncer, designSystemVariables, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
import { Debouncer, designSystemVariables, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
import { FtTypography } from "@fluid-topics/ft-typography";

@@ -19,3 +19,3 @@ export const FtTooltipCssVariables = {

};
let FtTooltip = class FtTooltip extends FtLitElement {
export class FtTooltip extends FtLitElement {
constructor() {

@@ -32,39 +32,3 @@ super(...arguments);

}
// language=CSS
getStyles() {
return css `
.ft-tooltip--container {
display: block;
position: relative;
}
.ft-tooltip--inline {
display: inline-block;
max-width: 100%;
}
.ft-tooltip {
position: absolute;
box-sizing: border-box;
overflow: hidden;
width: max-content;
max-width: 150px;
text-align: center;
padding: ${FtTooltipCssVariables.distance};
z-index: ${FtTooltipCssVariables.zIndex};
}
.ft-tooltip--content {
padding: 4px 8px;
border-radius: ${FtTooltipCssVariables.borderRadiusS};
background-color: ${FtTooltipCssVariables.backgroundColor};
color: ${FtTooltipCssVariables.color};
top: -500px;
left: -500px;
position: relative;
word-break: break-word;
}
`;
}
getTemplate() {
render() {
return html `

@@ -196,6 +160,40 @@ <div part="container"

}
};
}
FtTooltip.elementDefinitions = {
"ft-typography": FtTypography,
};
// language=CSS
FtTooltip.styles = css `
.ft-tooltip--container {
display: block;
position: relative;
}
.ft-tooltip--inline {
display: inline-block;
max-width: 100%;
}
.ft-tooltip {
position: absolute;
box-sizing: border-box;
overflow: hidden;
width: max-content;
max-width: 150px;
text-align: center;
padding: ${FtTooltipCssVariables.distance};
z-index: ${FtTooltipCssVariables.zIndex};
}
.ft-tooltip--content {
padding: 4px 8px;
border-radius: ${FtTooltipCssVariables.borderRadiusS};
background-color: ${FtTooltipCssVariables.backgroundColor};
color: ${FtTooltipCssVariables.color};
top: -500px;
left: -500px;
position: relative;
word-break: break-word;
}
`;
__decorate([

@@ -234,6 +232,2 @@ property()

], FtTooltip.prototype, "visible", void 0);
FtTooltip = __decorate([
customElement("ft-tooltip")
], FtTooltip);
export { FtTooltip };
//# sourceMappingURL=ft-tooltip.js.map

@@ -13,3 +13,3 @@ !function(t,i,o,e){

*/
const R=t=>({_$litStatic$:t}),Z=new Map,W=(t=>(i,...o)=>{var e;const s=o.length;let n,r;const h=[],l=[];let p,a=0,f=!1;for(;a<s;){for(p=i[a];a<s&&void 0!==(r=o[a],n=null===(e=r)||void 0===e?void 0:e._$litStatic$);)p+=n+i[++a],f=!0;l.push(r),h.push(p),a++}if(a===s&&h.push(i[s]),f){const t=h.join("$$lit$$");void 0===(i=Z.get(t))&&(h.raw=h,Z.set(t,i=h)),o=l}return t(i,...o)})(m);var B,G=function(t,i,o,e){for(var s,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,o):e,h=t.length-1;h>=0;h--)(s=t[h])&&(r=(n<3?s(r):n>3?s(i,o,r):s(i,o))||r);return n>3&&r&&Object.defineProperty(i,o,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(B||(B={}));const H=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),L=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),K={fontFamily:L,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},D=e.FtCssVariable.extend("--ft-typography-title-font-family",H),q=e.FtCssVariable.extend("--ft-typography-title-font-size",K.fontSize,"20px"),J=e.FtCssVariable.extend("--ft-typography-title-font-weight",K.fontWeight,"normal"),P=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",K.letterSpacing,"0.15px"),Q=e.FtCssVariable.extend("--ft-typography-title-line-height",K.lineHeight,"24px"),V=e.FtCssVariable.extend("--ft-typography-title-text-transform",K.textTransform,"inherit"),X=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",H),Y=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",K.fontSize,"14px"),tt=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",K.fontWeight,"normal"),it=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",K.letterSpacing,"0.105px"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",K.lineHeight,"24px"),et=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",K.textTransform,"inherit"),st=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",L),nt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",K.fontSize,"16px"),rt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",K.fontWeight,"600"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",K.letterSpacing,"0.144px"),lt=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",K.lineHeight,"24px"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",K.textTransform,"inherit"),at=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",L),ft=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",K.fontSize,"14px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",K.fontWeight,"normal"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",K.letterSpacing,"0.098px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",K.lineHeight,"24px"),dt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",K.textTransform,"inherit"),ut=e.FtCssVariable.extend("--ft-typography-body1-font-family",L),vt=e.FtCssVariable.extend("--ft-typography-body1-font-size",K.fontSize,"16px"),$t=e.FtCssVariable.extend("--ft-typography-body1-font-weight",K.fontWeight,"normal"),bt=e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",K.letterSpacing,"0.496px"),xt=e.FtCssVariable.extend("--ft-typography-body1-line-height",K.lineHeight,"24px"),mt=e.FtCssVariable.extend("--ft-typography-body1-text-transform",K.textTransform,"inherit"),wt=e.FtCssVariable.extend("--ft-typography-body2-font-family",L),zt=e.FtCssVariable.extend("--ft-typography-body2-font-size",K.fontSize,"14px"),kt=e.FtCssVariable.extend("--ft-typography-body2-font-weight",K.fontWeight,"normal"),At=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",K.letterSpacing,"0.252px"),_t=e.FtCssVariable.extend("--ft-typography-body2-line-height",K.lineHeight,"20px"),Nt=e.FtCssVariable.extend("--ft-typography-body2-text-transform",K.textTransform,"inherit"),St=e.FtCssVariable.extend("--ft-typography-caption-font-family",L),Tt=e.FtCssVariable.extend("--ft-typography-caption-font-size",K.fontSize,"12px"),Ot=e.FtCssVariable.extend("--ft-typography-caption-font-weight",K.fontWeight,"normal"),Et=e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",K.letterSpacing,"0.396px"),Ct=e.FtCssVariable.extend("--ft-typography-caption-line-height",K.lineHeight,"16px"),It=e.FtCssVariable.extend("--ft-typography-caption-text-transform",K.textTransform,"inherit"),Mt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",L),Ft=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",K.fontSize,"10px"),Ut=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",K.fontWeight,"normal"),jt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",K.letterSpacing,"0.33px"),Rt=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",K.lineHeight,"16px"),Zt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",K.textTransform,"inherit"),Wt=e.FtCssVariable.extend("--ft-typography-overline-font-family",L),Bt=e.FtCssVariable.extend("--ft-typography-overline-font-size",K.fontSize,"10px"),Gt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",K.fontWeight,"normal"),Ht=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",K.letterSpacing,"1.5px"),Lt=e.FtCssVariable.extend("--ft-typography-overline-line-height",K.lineHeight,"16px"),Kt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",K.textTransform,"uppercase"),Dt=e.FtCssVariable.extend("--ft-typography-button-font-family",L),qt=e.FtCssVariable.extend("--ft-typography-button-font-size",K.fontSize,"14px"),Jt=e.FtCssVariable.extend("--ft-typography-button-font-weight",K.fontWeight,"600"),Pt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",K.letterSpacing,"1.246px"),Qt=e.FtCssVariable.extend("--ft-typography-button-line-height",K.lineHeight,"16px"),Vt=e.FtCssVariable.extend("--ft-typography-button-text-transform",K.textTransform,"uppercase"),Xt=i.css`
const R=t=>({_$litStatic$:t}),Z=new Map,W=(t=>(i,...o)=>{var e;const s=o.length;let n,r;const h=[],l=[];let p,a=0,f=!1;for(;a<s;){for(p=i[a];a<s&&void 0!==(r=o[a],n=null===(e=r)||void 0===e?void 0:e._$litStatic$);)p+=n+i[++a],f=!0;l.push(r),h.push(p),a++}if(a===s&&h.push(i[s]),f){const t=h.join("$$lit$$");void 0===(i=Z.get(t))&&(h.raw=h,Z.set(t,i=h)),o=l}return t(i,...o)})(m);var B,G=function(t,i,o,e){for(var s,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,o):e,h=t.length-1;h>=0;h--)(s=t[h])&&(r=(n<3?s(r):n>3?s(i,o,r):s(i,o))||r);return n>3&&r&&Object.defineProperty(i,o,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(B||(B={}));const H=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),L=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),K={fontFamily:L,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},D=i.FtCssVariable.extend("--ft-typography-title-font-family",H),q=i.FtCssVariable.extend("--ft-typography-title-font-size",K.fontSize,"20px"),J=i.FtCssVariable.extend("--ft-typography-title-font-weight",K.fontWeight,"normal"),P=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",K.letterSpacing,"0.15px"),Q=i.FtCssVariable.extend("--ft-typography-title-line-height",K.lineHeight,"24px"),V=i.FtCssVariable.extend("--ft-typography-title-text-transform",K.textTransform,"inherit"),X=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",H),Y=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",K.fontSize,"14px"),tt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",K.fontWeight,"normal"),it=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",K.letterSpacing,"0.105px"),ot=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",K.lineHeight,"24px"),et=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",K.textTransform,"inherit"),st=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",L),nt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",K.fontSize,"16px"),rt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",K.fontWeight,"600"),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",K.letterSpacing,"0.144px"),lt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",K.lineHeight,"24px"),pt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",K.textTransform,"inherit"),at=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",L),ft=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",K.fontSize,"14px"),yt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",K.fontWeight,"normal"),gt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",K.letterSpacing,"0.098px"),ct=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",K.lineHeight,"24px"),dt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",K.textTransform,"inherit"),ut=i.FtCssVariable.extend("--ft-typography-body1-font-family",L),vt=i.FtCssVariable.extend("--ft-typography-body1-font-size",K.fontSize,"16px"),$t=i.FtCssVariable.extend("--ft-typography-body1-font-weight",K.fontWeight,"normal"),bt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",K.letterSpacing,"0.496px"),xt=i.FtCssVariable.extend("--ft-typography-body1-line-height",K.lineHeight,"24px"),mt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",K.textTransform,"inherit"),wt=i.FtCssVariable.extend("--ft-typography-body2-font-family",L),zt=i.FtCssVariable.extend("--ft-typography-body2-font-size",K.fontSize,"14px"),kt=i.FtCssVariable.extend("--ft-typography-body2-font-weight",K.fontWeight,"normal"),At=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",K.letterSpacing,"0.252px"),_t=i.FtCssVariable.extend("--ft-typography-body2-line-height",K.lineHeight,"20px"),Nt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",K.textTransform,"inherit"),St=i.FtCssVariable.extend("--ft-typography-caption-font-family",L),Tt=i.FtCssVariable.extend("--ft-typography-caption-font-size",K.fontSize,"12px"),Ot=i.FtCssVariable.extend("--ft-typography-caption-font-weight",K.fontWeight,"normal"),Et=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",K.letterSpacing,"0.396px"),Ct=i.FtCssVariable.extend("--ft-typography-caption-line-height",K.lineHeight,"16px"),It=i.FtCssVariable.extend("--ft-typography-caption-text-transform",K.textTransform,"inherit"),Mt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",L),Ft=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",K.fontSize,"10px"),Ut=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",K.fontWeight,"normal"),jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",K.letterSpacing,"0.33px"),Rt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",K.lineHeight,"16px"),Zt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",K.textTransform,"inherit"),Wt=i.FtCssVariable.extend("--ft-typography-overline-font-family",L),Bt=i.FtCssVariable.extend("--ft-typography-overline-font-size",K.fontSize,"10px"),Gt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",K.fontWeight,"normal"),Ht=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",K.letterSpacing,"1.5px"),Lt=i.FtCssVariable.extend("--ft-typography-overline-line-height",K.lineHeight,"16px"),Kt=i.FtCssVariable.extend("--ft-typography-overline-text-transform",K.textTransform,"uppercase"),Dt=i.FtCssVariable.extend("--ft-typography-button-font-family",L),qt=i.FtCssVariable.extend("--ft-typography-button-font-size",K.fontSize,"14px"),Jt=i.FtCssVariable.extend("--ft-typography-button-font-weight",K.fontWeight,"600"),Pt=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",K.letterSpacing,"1.246px"),Qt=i.FtCssVariable.extend("--ft-typography-button-line-height",K.lineHeight,"16px"),Vt=i.FtCssVariable.extend("--ft-typography-button-text-transform",K.textTransform,"uppercase"),Xt=o.css`
.ft-typography--title {

@@ -23,3 +23,3 @@ font-family: ${D};

}
`,Yt=i.css`
`,Yt=o.css`
.ft-typography--title-dense {

@@ -33,3 +33,3 @@ font-family: ${X};

}
`,ti=i.css`
`,ti=o.css`
.ft-typography--subtitle1 {

@@ -43,3 +43,3 @@ font-family: ${st};

}
`,ii=i.css`
`,ii=o.css`
.ft-typography--subtitle2 {

@@ -54,3 +54,3 @@ font-family: ${at};

`,oi=i.css`
`,oi=o.css`
.ft-typography--body1 {

@@ -64,3 +64,3 @@ font-family: ${ut};

}
`,ei=i.css`
`,ei=o.css`
.ft-typography--body2 {

@@ -74,3 +74,3 @@ font-family: ${wt};

}
`,si=i.css`
`,si=o.css`
.ft-typography--caption {

@@ -84,3 +84,3 @@ font-family: ${St};

}
`,ni=i.css`
`,ni=o.css`
.ft-typography--breadcrumb {

@@ -94,3 +94,3 @@ font-family: ${Mt};

}
`,ri=i.css`
`,ri=o.css`
.ft-typography--overline {

@@ -104,3 +104,3 @@ font-family: ${Wt};

}
`,hi=i.css`
`,hi=o.css`
.ft-typography--button {

@@ -114,7 +114,3 @@ font-family: ${Dt};

}
`;let li=class extends e.FtLitElement{constructor(){super(...arguments),this.variant=B.body1}getStyles(){return[Xt,Yt,ti,ii,oi,ei,si,ni,ri,hi,i.css`
.ft-typography {
vertical-align: inherit;
}
`]}getTemplate(){return this.element?W`
`;class li extends i.FtLitElement{constructor(){super(...arguments),this.variant=B.body1}render(){return this.element?W`
<${R(this.element)}

@@ -126,35 +122,7 @@ class="ft-typography ft-typography--${this.variant}">

<slot class="ft-typography ft-typography--${this.variant}"></slot>
`}};G([o.property()],li.prototype,"element",void 0),G([o.property()],li.prototype,"variant",void 0),li=G([e.customElement("ft-typography")],li);var pi=function(t,i,o,e){for(var s,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,o):e,h=t.length-1;h>=0;h--)(s=t[h])&&(r=(n<3?s(r):n>3?s(i,o,r):s(i,o))||r);return n>3&&r&&Object.defineProperty(i,o,r),r};const ai={distance:e.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),color:e.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:e.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:e.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system")};t.FtTooltip=class extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}getStyles(){return i.css`
.ft-tooltip--container {
display: block;
position: relative;
`}}li.styles=[Xt,Yt,ti,ii,oi,ei,si,ni,ri,hi,o.css`
.ft-typography {
vertical-align: inherit;
}
.ft-tooltip--inline {
display: inline-block;
max-width: 100%;
}
.ft-tooltip {
position: absolute;
box-sizing: border-box;
overflow: hidden;
width: max-content;
max-width: 150px;
text-align: center;
padding: ${ai.distance};
z-index: ${ai.zIndex};
}
.ft-tooltip--content {
padding: 4px 8px;
border-radius: ${ai.borderRadiusS};
background-color: ${ai.backgroundColor};
color: ${ai.color};
top: -500px;
left: -500px;
position: relative;
word-break: break-word;
}
`}getTemplate(){return i.html`
`],G([e.property()],li.prototype,"element",void 0),G([e.property()],li.prototype,"variant",void 0),i.customElement("ft-typography")(li);var pi=function(t,i,o,e){for(var s,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,o):e,h=t.length-1;h>=0;h--)(s=t[h])&&(r=(n<3?s(r):n>3?s(i,o,r):s(i,o))||r);return n>3&&r&&Object.defineProperty(i,o,r),r};const ai={distance:i.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),color:i.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:i.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:i.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),borderRadiusS:i.FtCssVariable.external(i.designSystemVariables.borderRadiusS,"Design system")};class fi extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return o.html`
<div part="container"

@@ -174,2 +142,34 @@ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"

</div>
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),o=(i.height-this.tooltip.clientHeight)/2,e=(i.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=e+"px";break;case"bottom":s.top=i.height+"px",s.left=e+"px";break;case"left":s.top=o+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=o+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}},t.FtTooltip.elementDefinitions={"ft-typography":li},pi([o.property()],t.FtTooltip.prototype,"text",void 0),pi([o.property({type:Boolean})],t.FtTooltip.prototype,"manual",void 0),pi([o.property({type:Boolean})],t.FtTooltip.prototype,"inline",void 0),pi([o.property({type:Number})],t.FtTooltip.prototype,"delay",void 0),pi([o.property()],t.FtTooltip.prototype,"position",void 0),pi([o.queryAssignedNodes("",!0)],t.FtTooltip.prototype,"slotNodes",void 0),pi([o.query(".ft-tooltip--container")],t.FtTooltip.prototype,"container",void 0),pi([o.query("slot")],t.FtTooltip.prototype,"target",void 0),pi([o.query(".ft-tooltip")],t.FtTooltip.prototype,"tooltip",void 0),pi([o.query(".ft-tooltip--content")],t.FtTooltip.prototype,"tooltipContent",void 0),pi([o.state()],t.FtTooltip.prototype,"visible",void 0),t.FtTooltip=pi([e.customElement("ft-tooltip")],t.FtTooltip),t.FtTooltipCssVariables=ai,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.wcUtils);
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),o=(i.height-this.tooltip.clientHeight)/2,e=(i.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=e+"px";break;case"bottom":s.top=i.height+"px",s.left=e+"px";break;case"left":s.top=o+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=o+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}fi.elementDefinitions={"ft-typography":li},fi.styles=o.css`
.ft-tooltip--container {
display: block;
position: relative;
}
.ft-tooltip--inline {
display: inline-block;
max-width: 100%;
}
.ft-tooltip {
position: absolute;
box-sizing: border-box;
overflow: hidden;
width: max-content;
max-width: 150px;
text-align: center;
padding: ${ai.distance};
z-index: ${ai.zIndex};
}
.ft-tooltip--content {
padding: 4px 8px;
border-radius: ${ai.borderRadiusS};
background-color: ${ai.backgroundColor};
color: ${ai.color};
top: -500px;
left: -500px;
position: relative;
word-break: break-word;
}
`,pi([e.property()],fi.prototype,"text",void 0),pi([e.property({type:Boolean})],fi.prototype,"manual",void 0),pi([e.property({type:Boolean})],fi.prototype,"inline",void 0),pi([e.property({type:Number})],fi.prototype,"delay",void 0),pi([e.property()],fi.prototype,"position",void 0),pi([e.queryAssignedNodes("",!0)],fi.prototype,"slotNodes",void 0),pi([e.query(".ft-tooltip--container")],fi.prototype,"container",void 0),pi([e.query("slot")],fi.prototype,"target",void 0),pi([e.query(".ft-tooltip")],fi.prototype,"tooltip",void 0),pi([e.query(".ft-tooltip--content")],fi.prototype,"tooltipContent",void 0),pi([e.state()],fi.prototype,"visible",void 0),i.customElement("ft-tooltip")(fi),t.FtTooltip=fi,t.FtTooltipCssVariables=ai,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);
!function(t){
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
*/
const i=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e=Symbol(),o=new Map;class n{constructor(t,i){if(this._$cssResult$=!0,i!==e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=o.get(this.cssText);return i&&void 0===t&&(o.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const r=t=>new n("string"==typeof t?t:t+"",e),s=(t,...i)=>{const o=1===t.length?t[0]:i.reduce(((i,e,o)=>i+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("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.")})(e)+t[o+1]),t[0]);return new n(o,e)},a=(t,e)=>{i?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((i=>{const e=document.createElement("style"),o=window.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}))},l=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return r(i)})(t):t
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=e.call(o,t);c||(c=p(t),i.call(o,t,c)),this===window.customElements&&(r.set(n,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)s.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=l;if(i)return l=void 0,i;const e=r.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),n.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let i=t.getRootNode();if(!h(i)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=a.get(i)?.getRootNode()||document)}return i.customElements},p=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=c(e)||window.customElements,n=o._getDefinition(i);return n?d(e,n):s.set(e,o),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(i.has(s)){const t=this.getAttribute(s);o.call(this,s,n),e.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(i.has(o)){const t=this.getAttribute(o);n.call(this,o),e.call(this,o,t,null)}else n.call(this,o)})},u=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):u(e)},d=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),l=t;try{new i.elementClass}catch(t){u(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=y.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let g=[document];const v=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){g.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),n=i.get(o)||[];this[+e]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new s(i)}})}}try{window.customElements.define("custom-element",null)}catch(t){const i=window.customElements.define;window.customElements.define=(t,e,o)=>{try{i.bind(window.customElements)(t,e,o)}catch(i){console.warn(t,e,o,i)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){this.callbacks=[t],this.debounce(i)}queue(t,i){this.callbacks.push(t),this.debounce(i)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
/**

@@ -12,3 +22,3 @@ * @license

* SPDX-License-Identifier: BSD-3-Clause
*/;var h;const c=window.trustedTypes,p=c?c.emptyScript:"",f=window.reactiveElementPolyfillSupport,u={toAttribute(t,i){switch(i){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},d=(t,i)=>i!==t&&(i==i||t==t),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:d};class v extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const o=this._$Eh(e,i);void 0!==o&&(this._$Eu.set(o,e),t.push(o))})),t}static createProperty(t,i=y){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,e,i);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(o){const n=this[t];this[i]=o,this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||y}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(l(t))}else void 0!==t&&i.push(l(t));return i}static _$Eh(t,i){const e=i.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,e;(null!==(i=this._$Eg)&&void 0!==i?i:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$Eg)||void 0===i||i.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return a(i,this.constructor.elementStyles),i}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$ES(t,i,e=y){var o,n;const r=this.constructor._$Eh(t,e);if(void 0!==r&&!0===e.reflect){const s=(null!==(n=null===(o=e.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:u.toAttribute)(i,e.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,i){var e,o,n;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,l=null!==(n=null!==(o=null===(e=a)||void 0===e?void 0:e.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:u.fromAttribute;this._$Ei=s,this[s]=l(i,t.type),this._$Ei=null}}requestUpdate(t,i,e){let o=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||d)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,e))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$EU()}catch(t){throw i=!1,this._$EU(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$Eg)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,i)=>this._$ES(i,this[i],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
*/const e=(t,i)=>"method"===i.kind&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(e){e.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){"function"==typeof i.initializer&&(this[i.key]=i.initializer.call(this))},finisher(e){e.createProperty(i.key,t)}};function o(t){return(i,o)=>void 0!==o?((t,i,e)=>{i.constructor.createProperty(e,t)})(t,i,o):e(t,i)
/**

@@ -18,4 +28,3 @@ * @license

* SPDX-License-Identifier: BSD-3-Clause
*/
var g;v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==f||f({ReactiveElement:v}),(null!==(h=globalThis.reactiveElementVersions)&&void 0!==h?h:globalThis.reactiveElementVersions=[]).push("1.2.2");const b=globalThis.trustedTypes,m=b?b.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,O=`<${w}>`,$=document,S=(t="")=>$.createComment(t),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,R=Array.isArray,E=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,M=/>/g,U=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,k=/'/g,F=/"/g,j=/^(?:script|style|textarea|title)$/i,T=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),L=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),z=new WeakMap,B=$.createTreeWalker($,129,null,!1),P=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=E;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===E?"!--"===l[1]?s=C:void 0!==l[1]?s=M:void 0!==l[2]?(j.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=U):void 0!==l[3]&&(s=U):s===U?">"===l[0]?(s=null!=n?n:E,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?U:'"'===l[3]?F:k):s===F||s===k?s=U:s===C||s===M?s=E:(s=U,n=void 0);const p=s===U&&t[i+1].startsWith("/>")?" ":"";r+=s===E?e+O:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+x+p):e+x+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==m?m.createHTML(a):a,o]};class _{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=P(t,i);if(this.el=_.createElement(l,e),B.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=B.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(x)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(x),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?I:"?"===i[1]?V:"@"===i[1]?q:K})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(j.test(o.tagName)){const t=o.textContent.split(x),i=t.length-1;if(i>0){o.textContent=b?b.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],S()),B.nextNode(),a.push({type:2,index:++n});o.append(t[i],S())}}}else if(8===o.nodeType)if(o.data===w)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(x,t+1));)a.push({type:7,index:n}),t+=x.length-1}n++}}static createElement(t,i){const e=$.createElement("template");return e.innerHTML=t,e}}function W(t,i,e=t,o){var n,r,s,a;if(i===L)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const h=N(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=W(t,l._$AS(t,i.values),l,o)),i}class D{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:$).importNode(e,!0);B.currentNode=n;let r=B.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new H(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new J(r,this,t)),this.v.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=B.nextNode(),s++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class H{constructor(t,i,e,o){var n;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=W(this,t,i),N(t)?t===A||null==t||""===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==L&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return R(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==A&&N(this._$AH)?this._$AA.nextSibling.data=t:this.S($.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=_.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new D(n,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=z.get(t.strings);return void 0===i&&z.set(t.strings,i=new _(t)),i}A(t){R(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new H(this.M(S()),this.M(S()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class K{constructor(t,i,e,o,n){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=W(this,t,i,0),r=!N(t)||t!==this._$AH&&t!==L,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=W(this,o[e+s],i,s),a===L&&(a=this._$AH[s]),r||(r=!N(a)||a!==this._$AH[s]),a===A?t=A:t!==A&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.k(t)}k(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class I extends K{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===A?void 0:t}}const Z=b?b.emptyScript:"";class V extends K{constructor(){super(...arguments),this.type=4}k(t){t&&t!==A?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class q extends K{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=W(this,t,i,0))&&void 0!==e?e:A)===L)return;const o=this._$AH,n=t===A&&o!==A||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==A&&(o===A||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class J{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}}const X=window.litHtmlPolyfillSupport;
*/}
/**

@@ -26,3 +35,3 @@ * @license

*/
var G,Q;null==X||X(_,H),(null!==(g=globalThis.litHtmlVersions)&&void 0!==g?g:globalThis.litHtmlVersions=[]).push("2.1.3");class Y extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,i,e)=>{var o,n;const r=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new H(i.insertBefore(S(),t),t,void 0,null!=e?e:{})}return s._$AI(t),s})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return L}}Y.finalized=!0,Y._$litElement$=!0,null===(G=globalThis.litElementHydrateSupport)||void 0===G||G.call(globalThis,{LitElement:Y});const tt=globalThis.litElementPolyfillSupport;null==tt||tt({LitElement:Y}),(null!==(Q=globalThis.litElementVersions)&&void 0!==Q?Q:globalThis.litElementVersions=[]).push("3.1.2");
const n=({finisher:t,descriptor:i})=>(e,o)=>{var n;if(void 0===o){const o=null!==(n=e.originalKey)&&void 0!==n?n:e.key,s=null!=i?{kind:"method",placement:"prototype",key:o,descriptor:i(e.key)}:{...e,key:o};return null!=t&&(s.finisher=function(i){t(i,o)}),s}{const n=e.constructor;void 0!==i&&Object.defineProperty(e,o,i(o)),null==t||t(n,o)}}
/**

@@ -32,15 +41,18 @@ * @license

* SPDX-License-Identifier: BSD-3-Clause
*/
const it=(t,i)=>"method"===i.kind&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(e){e.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){"function"==typeof i.initializer&&(this[i.key]=i.initializer.call(this))},finisher(e){e.createProperty(i.key,t)}};function et(t){return(i,e)=>void 0!==e?((t,i,e)=>{i.constructor.createProperty(e,t)})(t,i,e):it(t,i)
*/;function s(t,i){return n({descriptor:e=>{const o={get(){var i,e;return null!==(e=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(i){const i="symbol"==typeof e?Symbol():"__"+e;o.get=function(){var e,o;return void 0===this[i]&&(this[i]=null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null),this[i]}}return o}})}
/**
* @license
* Copyright 2017 Google LLC
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/}
*/var r;const a=null!=(null===(r=window.HTMLSlotElement)||void 0===r?void 0:r.prototype.assignedElements)?(t,i)=>t.assignedElements(i):(t,i)=>t.assignedNodes(i).filter((t=>t.nodeType===Node.ELEMENT_NODE));const l=t=>i=>{window.customElements.get(t)||window.customElements.define(t,i)}
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/,h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),p=new Map;class f{constructor(t,i){if(this._$cssResult$=!0,i!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=p.get(this.cssText);return h&&void 0===t&&(p.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new f("string"==typeof t?t:t+"",c),d=(t,...i)=>{const e=1===t.length?t[0]:i.reduce(((i,e,o)=>i+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("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.")})(e)+t[o+1]),t[0]);return new f(e,c)},y=(t,i)=>{h?t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):i.forEach((i=>{const e=document.createElement("style"),o=window.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}))},g=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return u(i)})(t):t
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const ot=({finisher:t,descriptor:i})=>(e,o)=>{var n;if(void 0===o){const o=null!==(n=e.originalKey)&&void 0!==n?n:e.key,r=null!=i?{kind:"method",placement:"prototype",key:o,descriptor:i(e.key)}:{...e,key:o};return null!=t&&(r.finisher=function(i){t(i,o)}),r}{const n=e.constructor;void 0!==i&&Object.defineProperty(e,o,i(o)),null==t||t(n,o)}}
*/;var v;const b=window.trustedTypes,m=b?b.emptyScript:"",x=window.reactiveElementPolyfillSupport,w={toAttribute(t,i){switch(i){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,i)=>i!==t&&(i==i||t==t),$={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:O};class S extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const o=this._$Eh(e,i);void 0!==o&&(this._$Eu.set(o,e),t.push(o))})),t}static createProperty(t,i=$){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,e,i);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(o){const n=this[t];this[i]=o,this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||$}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(g(t))}else void 0!==t&&i.push(g(t));return i}static _$Eh(t,i){const e=i.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,e;(null!==(i=this._$Eg)&&void 0!==i?i:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$Eg)||void 0===i||i.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(i,this.constructor.elementStyles),i}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$ES(t,i,e=$){var o,n;const s=this.constructor._$Eh(t,e);if(void 0!==s&&!0===e.reflect){const r=(null!==(n=null===(o=e.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:w.toAttribute)(i,e.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,i){var e,o,n;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),a=t.converter,l=null!==(n=null!==(o=null===(e=a)||void 0===e?void 0:e.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:w.fromAttribute;this._$Ei=r,this[r]=l(i,t.type),this._$Ei=null}}requestUpdate(t,i,e){let o=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,e))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$EU()}catch(t){throw i=!1,this._$EU(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$Eg)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,i)=>this._$ES(i,this[i],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
/**

@@ -50,8 +62,10 @@ * @license

* SPDX-License-Identifier: BSD-3-Clause
*/;function nt(t,i){return ot({descriptor:e=>{const o={get(){var i,e;return null!==(e=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(i){const i="symbol"==typeof e?Symbol():"__"+e;o.get=function(){var e,o;return void 0===this[i]&&(this[i]=null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null),this[i]}}return o}})}
*/
var N;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:S}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.2.2");const C=globalThis.trustedTypes,R=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,M="?"+E,k=`<${M}>`,U=document,F=(t="")=>U.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,B=/>/g,P=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,_=/'/g,j=/"/g,D=/^(?:script|style|textarea|title)$/i,W=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),I=new WeakMap,Z=U.createTreeWalker(U,129,null,!1),V=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=z;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(r.lastIndex=c,l=r.exec(e),null!==l);)c=r.lastIndex,r===z?"!--"===l[1]?r=A:void 0!==l[1]?r=B:void 0!==l[2]?(D.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=P):void 0!==l[3]&&(r=P):r===P?">"===l[0]?(r=null!=n?n:z,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?P:'"'===l[3]?j:_):r===j||r===_?r=P:r===A||r===B?r=z:(r=P,n=void 0);const p=r===P&&t[i+1].startsWith("/>")?" ":"";s+=r===z?e+k:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+E+p):e+E+(-2===h?(o.push(void 0),i):p)}const a=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(a):a,o]};class q{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=V(t,i);if(this.el=q.createElement(l,e),Z.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Z.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(E)){const e=h[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(E),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?Y:"?"===i[1]?it:"@"===i[1]?et:Q})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(D.test(o.tagName)){const t=o.textContent.split(E),i=t.length-1;if(i>0){o.textContent=C?C.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],F()),Z.nextNode(),a.push({type:2,index:++n});o.append(t[i],F())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,i){const e=U.createElement("template");return e.innerHTML=t,e}}function J(t,i,e=t,o){var n,s,r,a;if(i===H)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const h=L(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(a=e)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=J(t,l._$AS(t,i.values),l,o)),i}class X{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:U).importNode(e,!0);Z.currentNode=n;let s=Z.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new G(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new ot(s,this,t)),this.v.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=Z.nextNode(),r++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class G{constructor(t,i,e,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=J(this,t,i),L(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return T(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&L(this._$AH)?this._$AA.nextSibling.data=t:this.S(U.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new X(n,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=I.get(t.strings);return void 0===i&&I.set(t.strings,i=new q(t)),i}A(t){T(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new G(this.M(F()),this.M(F()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Q{constructor(t,i,e,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=J(this,t,i,0),s=!L(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=J(this,o[e+r],i,r),a===H&&(a=this._$AH[r]),s||(s=!L(a)||a!==this._$AH[r]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.k(t)}k(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends Q{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===K?void 0:t}}const tt=C?C.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}k(t){t&&t!==K?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class et extends Q{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=J(this,t,i,0))&&void 0!==e?e:K)===H)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class ot{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const nt=window.litHtmlPolyfillSupport;
/**
* @license
* Copyright 2021 Google LLC
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var rt;const st=null!=(null===(rt=window.HTMLSlotElement)||void 0===rt?void 0:rt.prototype.assignedElements)?(t,i)=>t.assignedElements(i):(t,i)=>t.assignedNodes(i).filter((t=>t.nodeType===Node.ELEMENT_NODE));(function(){function t(t){var i=0;return function(){return i<t.length?{done:!1,value:t[i++]}:{done:!0}}}function i(i){var e="undefined"!=typeof Symbol&&Symbol.iterator&&i[Symbol.iterator];return e?e.call(i):{next:t(i)}}function e(t){if(!(t instanceof Array)){t=i(t);for(var e,o=[];!(e=t.next()).done;)o.push(e.value);t=o}return t}var o="function"==typeof Object.create?Object.create:function(t){function i(){}return i.prototype=t,new i};var n,r=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var i=0;i<t.length;++i){var e=t[i];if(e&&e.Math==Math)return e}throw Error("Cannot find global object")}(this),s=function(){if("undefined"!=typeof Reflect&&Reflect.construct){if(function(){function t(){}return Reflect.construct(t,[],(function(){})),new t instanceof t}())return Reflect.construct;var t=Reflect.construct;return function(i,e,o){return i=t(i,e),o&&Reflect.setPrototypeOf(i,o.prototype),i}}return function(t,i,e){return void 0===e&&(e=t),e=o(e.prototype||Object.prototype),Function.prototype.apply.call(t,e,i)||e}}();if("function"==typeof Object.setPrototypeOf)n=Object.setPrototypeOf;else{var a;t:{var l={};try{l.__proto__={a:!0},a=l.a;break t}catch(t){}a=!1}n=a?function(t,i){if(t.__proto__=i,t.__proto__!==i)throw new TypeError(t+" is not extensible");return t}:null}var h=n;if(!ShadowRoot.prototype.createElement){var c,p=window.HTMLElement,f=window.customElements.define,u=window.customElements.get,d=window.customElements,y=new WeakMap,v=new WeakMap,g=new WeakMap,b=new WeakMap;window.CustomElementRegistry=function(){this.l=new Map,this.o=new Map,this.i=new Map,this.h=new Map},window.CustomElementRegistry.prototype.define=function(t,e){if(t=t.toLowerCase(),void 0!==this.j(t))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': the name \""+t+'" has already been used with this registry');if(void 0!==this.o.get(e))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");var o=e.prototype.attributeChangedCallback,n=new Set(e.observedAttributes||[]);if(x(e,n,o),o={g:e,connectedCallback:e.prototype.connectedCallback,disconnectedCallback:e.prototype.disconnectedCallback,adoptedCallback:e.prototype.adoptedCallback,attributeChangedCallback:o,formAssociated:e.formAssociated,formAssociatedCallback:e.prototype.formAssociatedCallback,formDisabledCallback:e.prototype.formDisabledCallback,formResetCallback:e.prototype.formResetCallback,formStateRestoreCallback:e.prototype.formStateRestoreCallback,observedAttributes:n},this.l.set(t,o),this.o.set(e,o),(n=u.call(d,t))||(n=m(t),f.call(d,t,n)),this===window.customElements&&(g.set(e,o),o.s=n),n=this.h.get(t)){this.h.delete(t);for(var r=(n=i(n)).next();!r.done;r=n.next())r=r.value,v.delete(r),O(r,o,!0)}return void 0!==(o=this.i.get(t))&&(o.resolve(e),this.i.delete(t)),e},window.CustomElementRegistry.prototype.upgrade=function(){S.push(this),d.upgrade.apply(d,arguments),S.pop()},window.CustomElementRegistry.prototype.get=function(t){var i;return null==(i=this.l.get(t))?void 0:i.g},window.CustomElementRegistry.prototype.j=function(t){return this.l.get(t)},window.CustomElementRegistry.prototype.whenDefined=function(t){var i=this.j(t);if(void 0!==i)return Promise.resolve(i.g);var e=this.i.get(t);return void 0===e&&((e={}).promise=new Promise((function(t){return e.resolve=t})),this.i.set(t,e)),e.promise},window.CustomElementRegistry.prototype.m=function(t,i,e){var o=this.h.get(i);o||this.h.set(i,o=new Set),e?o.add(t):o.delete(t)},window.HTMLElement=function(){var t=c;if(t)return c=void 0,t;var i=g.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return t=Reflect.construct(p,[],i.s),Object.setPrototypeOf(t,this.constructor.prototype),y.set(t,i),t},window.HTMLElement.prototype=p.prototype;var m=function(t){function i(){var i=Reflect.construct(p,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);t:{var e=i.getRootNode();if(!(e===document||e instanceof ShadowRoot)){if((e=S[S.length-1])instanceof CustomElementRegistry){var o=e;break t}(e=e.getRootNode())===document||e instanceof ShadowRoot||(e=(null==(o=b.get(e))?void 0:o.getRootNode())||document)}o=e.customElements}return(e=(o=o||window.customElements).j(t))?O(i,e):v.set(i,o),i}return r.Object.defineProperty(i,"formAssociated",{configurable:!0,enumerable:!0,get:function(){return!0}}),i.prototype.connectedCallback=function(){var i=y.get(this);i?i.connectedCallback&&i.connectedCallback.apply(this,arguments):v.get(this).m(this,t,!0)},i.prototype.disconnectedCallback=function(){var i=y.get(this);i?i.disconnectedCallback&&i.disconnectedCallback.apply(this,arguments):v.get(this).m(this,t,!1)},i.prototype.adoptedCallback=function(){var t,i;null==(t=y.get(this))||null==(i=t.adoptedCallback)||i.apply(this,arguments)},i.prototype.formAssociatedCallback=function(){var t,i=y.get(this);i&&i.formAssociated&&(null==i||null==(t=i.formAssociatedCallback)||t.apply(this,arguments))},i.prototype.formDisabledCallback=function(){var t,i=y.get(this);null!=i&&i.formAssociated&&(null==i||null==(t=i.formDisabledCallback)||t.apply(this,arguments))},i.prototype.formResetCallback=function(){var t,i=y.get(this);null!=i&&i.formAssociated&&(null==i||null==(t=i.formResetCallback)||t.apply(this,arguments))},i.prototype.formStateRestoreCallback=function(){var t,i=y.get(this);null!=i&&i.formAssociated&&(null==i||null==(t=i.formStateRestoreCallback)||t.apply(this,arguments))},i},x=function(t,i,e){if(0!==i.size&&void 0!==e){var o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){if(t=t.toLowerCase(),i.has(t)){var r=this.getAttribute(t);o.call(this,t,n),e.call(this,t,r,n)}else o.call(this,t,n)});var n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){if(t=t.toLowerCase(),i.has(t)){var o=this.getAttribute(t);n.call(this,t),e.call(this,t,o,null)}else n.call(this,t)})}},w=function(t){var i=Object.getPrototypeOf(t);if(i!==window.HTMLElement)return i===p?Object.setPrototypeOf(t,window.HTMLElement):w(i)},O=function(t,i,e){e=void 0!==e&&e,Object.setPrototypeOf(t,i.g.prototype),y.set(t,i),c=t;try{new i.g}catch(t){w(i.g),new i.g}i.observedAttributes.forEach((function(e){t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},$=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){var i=$.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};var S=[document],N=function(t,i,e){var o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){S.push(this);var t=o.apply(e||this,arguments);return void 0!==t&&b.set(t,this),S.pop(),t}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");var R=function(t){var i=Object.getOwnPropertyDescriptor(t.prototype,"innerHTML");Object.defineProperty(t.prototype,"innerHTML",Object.assign({},i,{set:function(t){S.push(this),i.set.call(this,t),S.pop()}}))};if(R(Element),R(ShadowRoot),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){var E=new WeakMap,C=HTMLElement.prototype.attachInternals;HTMLElement.prototype.attachInternals=function(t){for(var i=[],o=0;o<arguments.length;++o)i[o]=arguments[o];return i=C.call.apply(C,[this].concat(e(i))),E.set(i,this),i},["setFormValue","setValidity","checkValidity","reportValidity"].forEach((function(t){var i=window.ElementInternals.prototype,o=i[t];i[t]=function(t){for(var i=[],n=0;n<arguments.length;++n)i[n]=arguments[n];if(n=E.get(this),!0!==y.get(n).formAssociated)throw new DOMException("Failed to execute "+o+" on 'ElementInternals': The target element is not a form-associated custom element.");null==o||o.call.apply(o,[this].concat(e(i)))}}));var M=function(t){var i=s(Array,[].concat(e(t)),this.constructor);return i.h=t,i},U=M,k=Array;if(U.prototype=o(k.prototype),U.prototype.constructor=U,h)h(U,k);else for(var F in k)if("prototype"!=F)if(Object.defineProperties){var j=Object.getOwnPropertyDescriptor(k,F);j&&Object.defineProperty(U,F,j)}else U[F]=k[F];U.u=k.prototype,r.Object.defineProperty(M.prototype,"value",{configurable:!0,enumerable:!0,get:function(){var t;return(null==(t=this.h.find((function(t){return!0===t.checked})))?void 0:t.value)||""}});var T=function(t){var i=this,e=new Map;t.forEach((function(t,o){var n=t.getAttribute("name"),r=e.get(n)||[];i[+o]=t,r.push(t),e.set(n,r)})),this.length=t.length,e.forEach((function(t,e){t&&(i[e]=1===t.length?t[0]:new M(t))}))};T.prototype.namedItem=function(t){return this[t]};var L=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){for(var t=L.get.call(this,[]),e=[],o=(t=i(t)).next();!o.done;o=t.next()){o=o.value;var n=y.get(o);n&&!0!==n.formAssociated||e.push(o)}return new T(e)}})}}}).call("object"==typeof globalThis?globalThis:window);try{window.customElements.define("custom-element",null)}catch(t){const i=window.customElements.define;window.customElements.define=(t,e,o)=>{try{i.bind(window.customElements)(t,e,o)}catch(i){console.warn(t,e,o,i)}}}class at{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){this.callbacks=[t],this.debounce(i)}queue(t,i){this.callbacks.push(t),this.debounce(i)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}const lt=t=>i=>{window.customElements.get(t)||window.customElements.define(t,i)};class ht{constructor(t,i,e,o,n){this.name=t,this.category=i,this.fallbackVariable=e,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,i,e){return new ht(t,i,void 0,e)}static extend(t,i,e){return new ht(t,i.category,i,e)}static external(t,i){return new ht(t.name,t.category,t.fallbackVariable,t.defaultValue,i)}get(t){return s`var(${r(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):r(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,i;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(i=this.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const ct={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
*/
var st,rt;null==nt||nt(q,G),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?N:globalThis.litHtmlVersions=[]).push("2.1.3");class at extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,i,e)=>{var o,n;const s=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new G(i.insertBefore(F(),t),t,void 0,null!=e?e:{})}return r._$AI(t),r})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return H}}at.finalized=!0,at._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:at});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:at}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.1.2");class ht{constructor(t,i,e,o,n){this.name=t,this.category=i,this.fallbackVariable=e,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,i,e){return new ht(t,i,void 0,e)}static extend(t,i,e){return new ht(t,i.category,i,e)}static external(t,i){return new ht(t.name,t.category,t.fallbackVariable,t.defaultValue,i)}get(t){return d`var(${u(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):u(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,i;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(i=this.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const ct={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
/**

@@ -61,8 +75,8 @@ * @license

* SPDX-License-Identifier: BSD-3-Clause
*/class pt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:i,elementDefinitions:e,shadowRootOptions:o}=t;e&&!i&&(t.registry=new CustomElementRegistry,Object.entries(e).forEach((([i,e])=>t.registry.define(i,e))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return a(n,this.constructor.elementStyles),n}}}(Y)){constructor(){super(),this.constructorName=this.constructor.name,this.proto=this.constructor.prototype}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),T`
${t.map((t=>T`
*/class pt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:i,elementDefinitions:e,shadowRootOptions:o}=t;e&&!i&&(t.registry=new CustomElementRegistry,Object.entries(e).forEach((([i,e])=>t.registry.define(i,e))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return y(n,this.constructor.elementStyles),n}}}(at)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
${t.map((t=>W`
<style>${t}</style>
`))}
${this.getTemplate()}
`}adoptedCallback(){Object.getPrototypeOf(this)!==this.constructorName&&Object.setPrototypeOf(this,this.proto)}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var ft,ut;s`
`}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var ft,ut;d`
.ft-no-text-select {

@@ -82,3 +96,3 @@ -webkit-touch-callout: none;

*/
const dt=t=>({_$litStatic$:t}),yt=new Map,vt=(t=>(i,...e)=>{var o;const n=e.length;let r,s;const a=[],l=[];let h,c=0,p=!1;for(;c<n;){for(h=i[c];c<n&&void 0!==(s=e[c],r=null===(o=s)||void 0===o?void 0:o._$litStatic$);)h+=r+i[++c],p=!0;l.push(s),a.push(h),c++}if(c===n&&a.push(i[n]),p){const t=a.join("$$lit$$");void 0===(i=yt.get(t))&&(a.raw=a,yt.set(t,i=a)),e=l}return t(i,...e)})(T);var gt,bt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(gt||(gt={}));const mt=ht.extend("--ft-typography-font-family",ct.titleFont),xt=ht.extend("--ft-typography-font-family",ct.contentFont),wt={fontFamily:xt,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","SIZE","24px"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ot=ht.extend("--ft-typography-title-font-family",mt),$t=ht.extend("--ft-typography-title-font-size",wt.fontSize,"20px"),St=ht.extend("--ft-typography-title-font-weight",wt.fontWeight,"normal"),Nt=ht.extend("--ft-typography-title-letter-spacing",wt.letterSpacing,"0.15px"),Rt=ht.extend("--ft-typography-title-line-height",wt.lineHeight,"24px"),Et=ht.extend("--ft-typography-title-text-transform",wt.textTransform,"inherit"),Ct=ht.extend("--ft-typography-title-dense-font-family",mt),Mt=ht.extend("--ft-typography-title-dense-font-size",wt.fontSize,"14px"),Ut=ht.extend("--ft-typography-title-dense-font-weight",wt.fontWeight,"normal"),kt=ht.extend("--ft-typography-title-dense-letter-spacing",wt.letterSpacing,"0.105px"),Ft=ht.extend("--ft-typography-title-dense-line-height",wt.lineHeight,"24px"),jt=ht.extend("--ft-typography-title-dense-text-transform",wt.textTransform,"inherit"),Tt=ht.extend("--ft-typography-subtitle1-font-family",xt),Lt=ht.extend("--ft-typography-subtitle1-font-size",wt.fontSize,"16px"),At=ht.extend("--ft-typography-subtitle1-font-weight",wt.fontWeight,"600"),zt=ht.extend("--ft-typography-subtitle1-letter-spacing",wt.letterSpacing,"0.144px"),Bt=ht.extend("--ft-typography-subtitle1-line-height",wt.lineHeight,"24px"),Pt=ht.extend("--ft-typography-subtitle1-text-transform",wt.textTransform,"inherit"),_t=ht.extend("--ft-typography-subtitle2-font-family",xt),Wt=ht.extend("--ft-typography-subtitle2-font-size",wt.fontSize,"14px"),Dt=ht.extend("--ft-typography-subtitle2-font-weight",wt.fontWeight,"normal"),Ht=ht.extend("--ft-typography-subtitle2-letter-spacing",wt.letterSpacing,"0.098px"),Kt=ht.extend("--ft-typography-subtitle2-line-height",wt.lineHeight,"24px"),It=ht.extend("--ft-typography-subtitle2-text-transform",wt.textTransform,"inherit"),Zt=ht.extend("--ft-typography-body1-font-family",xt),Vt=ht.extend("--ft-typography-body1-font-size",wt.fontSize,"16px"),qt=ht.extend("--ft-typography-body1-font-weight",wt.fontWeight,"normal"),Jt=ht.extend("--ft-typography-body1-letter-spacing",wt.letterSpacing,"0.496px"),Xt=ht.extend("--ft-typography-body1-line-height",wt.lineHeight,"24px"),Gt=ht.extend("--ft-typography-body1-text-transform",wt.textTransform,"inherit"),Qt=ht.extend("--ft-typography-body2-font-family",xt),Yt=ht.extend("--ft-typography-body2-font-size",wt.fontSize,"14px"),ti=ht.extend("--ft-typography-body2-font-weight",wt.fontWeight,"normal"),ii=ht.extend("--ft-typography-body2-letter-spacing",wt.letterSpacing,"0.252px"),ei=ht.extend("--ft-typography-body2-line-height",wt.lineHeight,"20px"),oi=ht.extend("--ft-typography-body2-text-transform",wt.textTransform,"inherit"),ni=ht.extend("--ft-typography-caption-font-family",xt),ri=ht.extend("--ft-typography-caption-font-size",wt.fontSize,"12px"),si=ht.extend("--ft-typography-caption-font-weight",wt.fontWeight,"normal"),ai=ht.extend("--ft-typography-caption-letter-spacing",wt.letterSpacing,"0.396px"),li=ht.extend("--ft-typography-caption-line-height",wt.lineHeight,"16px"),hi=ht.extend("--ft-typography-caption-text-transform",wt.textTransform,"inherit"),ci=ht.extend("--ft-typography-breadcrumb-font-family",xt),pi=ht.extend("--ft-typography-breadcrumb-font-size",wt.fontSize,"10px"),fi=ht.extend("--ft-typography-breadcrumb-font-weight",wt.fontWeight,"normal"),ui=ht.extend("--ft-typography-breadcrumb-letter-spacing",wt.letterSpacing,"0.33px"),di=ht.extend("--ft-typography-breadcrumb-line-height",wt.lineHeight,"16px"),yi=ht.extend("--ft-typography-breadcrumb-text-transform",wt.textTransform,"inherit"),vi=ht.extend("--ft-typography-overline-font-family",xt),gi=ht.extend("--ft-typography-overline-font-size",wt.fontSize,"10px"),bi=ht.extend("--ft-typography-overline-font-weight",wt.fontWeight,"normal"),mi=ht.extend("--ft-typography-overline-letter-spacing",wt.letterSpacing,"1.5px"),xi=ht.extend("--ft-typography-overline-line-height",wt.lineHeight,"16px"),wi=ht.extend("--ft-typography-overline-text-transform",wt.textTransform,"uppercase"),Oi=ht.extend("--ft-typography-button-font-family",xt),$i=ht.extend("--ft-typography-button-font-size",wt.fontSize,"14px"),Si=ht.extend("--ft-typography-button-font-weight",wt.fontWeight,"600"),Ni=ht.extend("--ft-typography-button-letter-spacing",wt.letterSpacing,"1.246px"),Ri=ht.extend("--ft-typography-button-line-height",wt.lineHeight,"16px"),Ei=ht.extend("--ft-typography-button-text-transform",wt.textTransform,"uppercase"),Ci=s`
const dt=t=>({_$litStatic$:t}),yt=new Map,gt=(t=>(i,...e)=>{var o;const n=e.length;let s,r;const a=[],l=[];let h,c=0,p=!1;for(;c<n;){for(h=i[c];c<n&&void 0!==(r=e[c],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=s+i[++c],p=!0;l.push(r),a.push(h),c++}if(c===n&&a.push(i[n]),p){const t=a.join("$$lit$$");void 0===(i=yt.get(t))&&(a.raw=a,yt.set(t,i=a)),e=l}return t(i,...e)})(W);var vt,bt=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(vt||(vt={}));const mt=ht.extend("--ft-typography-font-family",ct.titleFont),xt=ht.extend("--ft-typography-font-family",ct.contentFont),wt={fontFamily:xt,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","SIZE","24px"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ot=ht.extend("--ft-typography-title-font-family",mt),$t=ht.extend("--ft-typography-title-font-size",wt.fontSize,"20px"),St=ht.extend("--ft-typography-title-font-weight",wt.fontWeight,"normal"),Nt=ht.extend("--ft-typography-title-letter-spacing",wt.letterSpacing,"0.15px"),Ct=ht.extend("--ft-typography-title-line-height",wt.lineHeight,"24px"),Rt=ht.extend("--ft-typography-title-text-transform",wt.textTransform,"inherit"),Et=ht.extend("--ft-typography-title-dense-font-family",mt),Mt=ht.extend("--ft-typography-title-dense-font-size",wt.fontSize,"14px"),kt=ht.extend("--ft-typography-title-dense-font-weight",wt.fontWeight,"normal"),Ut=ht.extend("--ft-typography-title-dense-letter-spacing",wt.letterSpacing,"0.105px"),Ft=ht.extend("--ft-typography-title-dense-line-height",wt.lineHeight,"24px"),Lt=ht.extend("--ft-typography-title-dense-text-transform",wt.textTransform,"inherit"),Tt=ht.extend("--ft-typography-subtitle1-font-family",xt),zt=ht.extend("--ft-typography-subtitle1-font-size",wt.fontSize,"16px"),At=ht.extend("--ft-typography-subtitle1-font-weight",wt.fontWeight,"600"),Bt=ht.extend("--ft-typography-subtitle1-letter-spacing",wt.letterSpacing,"0.144px"),Pt=ht.extend("--ft-typography-subtitle1-line-height",wt.lineHeight,"24px"),_t=ht.extend("--ft-typography-subtitle1-text-transform",wt.textTransform,"inherit"),jt=ht.extend("--ft-typography-subtitle2-font-family",xt),Dt=ht.extend("--ft-typography-subtitle2-font-size",wt.fontSize,"14px"),Wt=ht.extend("--ft-typography-subtitle2-font-weight",wt.fontWeight,"normal"),Ht=ht.extend("--ft-typography-subtitle2-letter-spacing",wt.letterSpacing,"0.098px"),Kt=ht.extend("--ft-typography-subtitle2-line-height",wt.lineHeight,"24px"),It=ht.extend("--ft-typography-subtitle2-text-transform",wt.textTransform,"inherit"),Zt=ht.extend("--ft-typography-body1-font-family",xt),Vt=ht.extend("--ft-typography-body1-font-size",wt.fontSize,"16px"),qt=ht.extend("--ft-typography-body1-font-weight",wt.fontWeight,"normal"),Jt=ht.extend("--ft-typography-body1-letter-spacing",wt.letterSpacing,"0.496px"),Xt=ht.extend("--ft-typography-body1-line-height",wt.lineHeight,"24px"),Gt=ht.extend("--ft-typography-body1-text-transform",wt.textTransform,"inherit"),Qt=ht.extend("--ft-typography-body2-font-family",xt),Yt=ht.extend("--ft-typography-body2-font-size",wt.fontSize,"14px"),ti=ht.extend("--ft-typography-body2-font-weight",wt.fontWeight,"normal"),ii=ht.extend("--ft-typography-body2-letter-spacing",wt.letterSpacing,"0.252px"),ei=ht.extend("--ft-typography-body2-line-height",wt.lineHeight,"20px"),oi=ht.extend("--ft-typography-body2-text-transform",wt.textTransform,"inherit"),ni=ht.extend("--ft-typography-caption-font-family",xt),si=ht.extend("--ft-typography-caption-font-size",wt.fontSize,"12px"),ri=ht.extend("--ft-typography-caption-font-weight",wt.fontWeight,"normal"),ai=ht.extend("--ft-typography-caption-letter-spacing",wt.letterSpacing,"0.396px"),li=ht.extend("--ft-typography-caption-line-height",wt.lineHeight,"16px"),hi=ht.extend("--ft-typography-caption-text-transform",wt.textTransform,"inherit"),ci=ht.extend("--ft-typography-breadcrumb-font-family",xt),pi=ht.extend("--ft-typography-breadcrumb-font-size",wt.fontSize,"10px"),fi=ht.extend("--ft-typography-breadcrumb-font-weight",wt.fontWeight,"normal"),ui=ht.extend("--ft-typography-breadcrumb-letter-spacing",wt.letterSpacing,"0.33px"),di=ht.extend("--ft-typography-breadcrumb-line-height",wt.lineHeight,"16px"),yi=ht.extend("--ft-typography-breadcrumb-text-transform",wt.textTransform,"inherit"),gi=ht.extend("--ft-typography-overline-font-family",xt),vi=ht.extend("--ft-typography-overline-font-size",wt.fontSize,"10px"),bi=ht.extend("--ft-typography-overline-font-weight",wt.fontWeight,"normal"),mi=ht.extend("--ft-typography-overline-letter-spacing",wt.letterSpacing,"1.5px"),xi=ht.extend("--ft-typography-overline-line-height",wt.lineHeight,"16px"),wi=ht.extend("--ft-typography-overline-text-transform",wt.textTransform,"uppercase"),Oi=ht.extend("--ft-typography-button-font-family",xt),$i=ht.extend("--ft-typography-button-font-size",wt.fontSize,"14px"),Si=ht.extend("--ft-typography-button-font-weight",wt.fontWeight,"600"),Ni=ht.extend("--ft-typography-button-letter-spacing",wt.letterSpacing,"1.246px"),Ci=ht.extend("--ft-typography-button-line-height",wt.lineHeight,"16px"),Ri=ht.extend("--ft-typography-button-text-transform",wt.textTransform,"uppercase"),Ei=d`
.ft-typography--title {

@@ -89,28 +103,28 @@ font-family: ${Ot};

letter-spacing: ${Nt};
line-height: ${Rt};
text-transform: ${Et};
line-height: ${Ct};
text-transform: ${Rt};
}
`,Mi=s`
`,Mi=d`
.ft-typography--title-dense {
font-family: ${Ct};
font-family: ${Et};
font-size: ${Mt};
font-weight: ${Ut};
letter-spacing: ${kt};
font-weight: ${kt};
letter-spacing: ${Ut};
line-height: ${Ft};
text-transform: ${jt};
text-transform: ${Lt};
}
`,Ui=s`
`,ki=d`
.ft-typography--subtitle1 {
font-family: ${Tt};
font-size: ${Lt};
font-size: ${zt};
font-weight: ${At};
letter-spacing: ${zt};
line-height: ${Bt};
text-transform: ${Pt};
letter-spacing: ${Bt};
line-height: ${Pt};
text-transform: ${_t};
}
`,ki=s`
`,Ui=d`
.ft-typography--subtitle2 {
font-family: ${_t};
font-size: ${Wt};
font-weight: ${Dt};
font-family: ${jt};
font-size: ${Dt};
font-weight: ${Wt};
letter-spacing: ${Ht};

@@ -121,3 +135,3 @@ line-height: ${Kt};

`,Fi=s`
`,Fi=d`
.ft-typography--body1 {

@@ -131,3 +145,3 @@ font-family: ${Zt};

}
`,ji=s`
`,Li=d`
.ft-typography--body2 {

@@ -141,7 +155,7 @@ font-family: ${Qt};

}
`,Ti=s`
`,Ti=d`
.ft-typography--caption {
font-family: ${ni};
font-size: ${ri};
font-weight: ${si};
font-size: ${si};
font-weight: ${ri};
letter-spacing: ${ai};

@@ -151,3 +165,3 @@ line-height: ${li};

}
`,Li=s`
`,zi=d`
.ft-typography--breadcrumb {

@@ -161,6 +175,6 @@ font-family: ${ci};

}
`,Ai=s`
`,Ai=d`
.ft-typography--overline {
font-family: ${vi};
font-size: ${gi};
font-family: ${gi};
font-size: ${vi};
font-weight: ${bi};

@@ -171,3 +185,3 @@ letter-spacing: ${mi};

}
`,zi=s`
`,Bi=d`
.ft-typography--button {

@@ -178,10 +192,6 @@ font-family: ${Oi};

letter-spacing: ${Ni};
line-height: ${Ri};
text-transform: ${Ei};
line-height: ${Ci};
text-transform: ${Ri};
}
`;let Bi=class extends pt{constructor(){super(...arguments),this.variant=gt.body1}getStyles(){return[Ci,Mi,Ui,ki,Fi,ji,Ti,Li,Ai,zi,s`
.ft-typography {
vertical-align: inherit;
}
`]}getTemplate(){return this.element?vt`
`;class Pi extends pt{constructor(){super(...arguments),this.variant=vt.body1}render(){return this.element?gt`
<${dt(this.element)}

@@ -191,37 +201,9 @@ class="ft-typography ft-typography--${this.variant}">

</${dt(this.element)}>
`:vt`
`:gt`
<slot class="ft-typography ft-typography--${this.variant}"></slot>
`}};bt([et()],Bi.prototype,"element",void 0),bt([et()],Bi.prototype,"variant",void 0),Bi=bt([lt("ft-typography")],Bi);var Pi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const _i={distance:ht.create("--ft-tooltip-distance","SIZE","4px"),color:ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:ht.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:ht.create("--ft-tooltip-z-index","NUMBER","1"),borderRadiusS:ht.external(ct.borderRadiusS,"Design system")};t.FtTooltip=class extends pt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new at,this.revealDebouncer=new at}getStyles(){return s`
.ft-tooltip--container {
display: block;
position: relative;
`}}Pi.styles=[Ei,Mi,ki,Ui,Fi,Li,Ti,zi,Ai,Bi,d`
.ft-typography {
vertical-align: inherit;
}
.ft-tooltip--inline {
display: inline-block;
max-width: 100%;
}
.ft-tooltip {
position: absolute;
box-sizing: border-box;
overflow: hidden;
width: max-content;
max-width: 150px;
text-align: center;
padding: ${_i.distance};
z-index: ${_i.zIndex};
}
.ft-tooltip--content {
padding: 4px 8px;
border-radius: ${_i.borderRadiusS};
background-color: ${_i.backgroundColor};
color: ${_i.color};
top: -500px;
left: -500px;
position: relative;
word-break: break-word;
}
`}getTemplate(){return T`
`],bt([o()],Pi.prototype,"element",void 0),bt([o()],Pi.prototype,"variant",void 0),l("ft-typography")(Pi);var _i=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const ji={distance:ht.create("--ft-tooltip-distance","SIZE","4px"),color:ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:ht.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:ht.create("--ft-tooltip-z-index","NUMBER","1"),borderRadiusS:ht.external(ct.borderRadiusS,"Design system")};class Di extends pt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i,this.revealDebouncer=new i}render(){return W`
<div part="container"

@@ -241,3 +223,35 @@ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"

</div>
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=i.height+"px",n.left=o+"px";break;case"left":n.top=e+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=e+"px",n.left=i.width+"px"}n.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}},t.FtTooltip.elementDefinitions={"ft-typography":Bi},Pi([et()],t.FtTooltip.prototype,"text",void 0),Pi([et({type:Boolean})],t.FtTooltip.prototype,"manual",void 0),Pi([et({type:Boolean})],t.FtTooltip.prototype,"inline",void 0),Pi([et({type:Number})],t.FtTooltip.prototype,"delay",void 0),Pi([et()],t.FtTooltip.prototype,"position",void 0),Pi([
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=i.height+"px",n.left=o+"px";break;case"left":n.top=e+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=e+"px",n.left=i.width+"px"}n.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Di.elementDefinitions={"ft-typography":Pi},Di.styles=d`
.ft-tooltip--container {
display: block;
position: relative;
}
.ft-tooltip--inline {
display: inline-block;
max-width: 100%;
}
.ft-tooltip {
position: absolute;
box-sizing: border-box;
overflow: hidden;
width: max-content;
max-width: 150px;
text-align: center;
padding: ${ji.distance};
z-index: ${ji.zIndex};
}
.ft-tooltip--content {
padding: 4px 8px;
border-radius: ${ji.borderRadiusS};
background-color: ${ji.backgroundColor};
color: ${ji.color};
top: -500px;
left: -500px;
position: relative;
word-break: break-word;
}
`,_i([o()],Di.prototype,"text",void 0),_i([o({type:Boolean})],Di.prototype,"manual",void 0),_i([o({type:Boolean})],Di.prototype,"inline",void 0),_i([o({type:Number})],Di.prototype,"delay",void 0),_i([o()],Di.prototype,"position",void 0),_i([
/**

@@ -248,2 +262,2 @@ * @license

*/
function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return ot({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),s=null!=r?st(r,t):[];return e?s.filter((t=>t.matches(e))):s},enumerable:!0,configurable:!0})})}({slot:n,flatten:i,selector:e}):ot({descriptor:t=>({get(){var t,i;const e="slot"+(n?`[name=${n}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==r?void 0:r.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],t.FtTooltip.prototype,"slotNodes",void 0),Pi([nt(".ft-tooltip--container")],t.FtTooltip.prototype,"container",void 0),Pi([nt("slot")],t.FtTooltip.prototype,"target",void 0),Pi([nt(".ft-tooltip")],t.FtTooltip.prototype,"tooltip",void 0),Pi([nt(".ft-tooltip--content")],t.FtTooltip.prototype,"tooltipContent",void 0),Pi([function(t){return et({...t,state:!0})}()],t.FtTooltip.prototype,"visible",void 0),t.FtTooltip=Pi([lt("ft-tooltip")],t.FtTooltip),t.FtTooltipCssVariables=_i,Object.defineProperty(t,"t",{value:!0})}({});
function(t,i,e){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return e?r.filter((t=>t.matches(e))):r},enumerable:!0,configurable:!0})})}({slot:s,flatten:i,selector:e}):n({descriptor:t=>({get(){var t,i;const e="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==n?void 0:n.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],Di.prototype,"slotNodes",void 0),_i([s(".ft-tooltip--container")],Di.prototype,"container",void 0),_i([s("slot")],Di.prototype,"target",void 0),_i([s(".ft-tooltip")],Di.prototype,"tooltip",void 0),_i([s(".ft-tooltip--content")],Di.prototype,"tooltipContent",void 0),_i([function(t){return o({...t,state:!0})}()],Di.prototype,"visible",void 0),l("ft-tooltip")(Di),t.FtTooltip=Di,t.FtTooltipCssVariables=ji,Object.defineProperty(t,"t",{value:!0})}({});
{
"name": "@fluid-topics/ft-tooltip",
"version": "0.1.17",
"version": "0.1.18",
"description": "A simple tooltip component",

@@ -10,5 +10,5 @@ "keywords": [

"license": "ISC",
"main": "build/ft-tooltip.js",
"main": "build/index.js",
"web": "build/ft-tooltip.min.js",
"typings": "build/ft-tooltip",
"typings": "build/index",
"files": [

@@ -23,7 +23,7 @@ "build/*.ts",

"dependencies": {
"@fluid-topics/ft-typography": "^0.1.17",
"@fluid-topics/ft-wc-utils": "^0.1.17",
"@fluid-topics/ft-typography": "^0.1.18",
"@fluid-topics/ft-wc-utils": "^0.1.18",
"lit": "2.1.3"
},
"gitHead": "59fc7ad4bb79bb7a36b5edc8217d1279abf471f3"
"gitHead": "cb05ea190a9302378594a08d3a62a7002e461433"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc