@fluid-topics/ft-accordion 0.2.21 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
1
  import { PropertyValues } from "lit";
2
- import { ElementDefinitionsMap, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
2
+ import { ElementDefinitionsMap, FtLitElement } from "@fluid-topics/ft-wc-utils";
3
3
  export interface FtAccordionItemProperties {
4
4
  icon?: string;
5
5
  label?: string;
6
6
  active?: boolean;
7
7
  }
8
8
  export declare const FtAccordionItemCssVariables: {
9
- horizontalSpacing: FtCssVariable;
10
- verticalSpacing: FtCssVariable;
11
- colorOutline: FtCssVariable;
9
+ horizontalSpacing: import("@fluid-topics/ft-wc-utils").FtCssVariable;
10
+ verticalSpacing: import("@fluid-topics/ft-wc-utils").FtCssVariable;
11
+ colorOutline: import("@fluid-topics/ft-wc-utils").FtCssVariable;
12
12
  };
13
13
  export declare class FtAccordionItem extends FtLitElement implements FtAccordionItemProperties {
14
14
  static elementDefinitions: ElementDefinitionsMap;
@@ -6,14 +6,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { css, html } from "lit";
8
8
  import { property } from "lit/decorators.js";
9
- import { designSystemVariables, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
9
+ import { designSystemVariables, FtCssVariableFactory, FtLitElement } from "@fluid-topics/ft-wc-utils";
10
10
  import { FtRipple } from "@fluid-topics/ft-ripple";
11
11
  import { FtTypography } from "@fluid-topics/ft-typography";
12
12
  import { FtIcon } from "@fluid-topics/ft-icon";
13
13
  export const FtAccordionItemCssVariables = {
14
- horizontalSpacing: FtCssVariable.create("--ft-accordion-toggle-horizontal-spacing", "SIZE", "16px"),
15
- verticalSpacing: FtCssVariable.create("--ft-accordion-toggle-vertical-spacing", "SIZE", "16px"),
16
- colorOutline: FtCssVariable.external(designSystemVariables.colorOutline, "Design system"),
14
+ horizontalSpacing: FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing", "SIZE", "16px"),
15
+ verticalSpacing: FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing", "SIZE", "16px"),
16
+ colorOutline: FtCssVariableFactory.external(designSystemVariables.colorOutline, "Design system"),
17
17
  };
18
18
  export class FtAccordionItem extends FtLitElement {
19
19
  constructor() {
@@ -6,7 +6,7 @@
6
6
  .ft-accordion {
7
7
  box-sizing: border-box;
8
8
  }
9
- `,n([o.property({type:Boolean})],l.prototype,"multi",void 0),n([o.query("slot")],l.prototype,"content",void 0);var p=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const a=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),f=a,h=e.FtCssVariable.extend("--ft-ripple-background-color",a),c=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),d=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),g=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),y=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),x=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),u=x,v=e.FtCssVariable.extend("--ft-ripple-background-color",x),m=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),b=m,$=e.FtCssVariable.extend("--ft-ripple-background-color",m);class w extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
9
+ `,n([o.property({type:Boolean})],l.prototype,"multi",void 0),n([o.query("slot")],l.prototype,"content",void 0);var p=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const a=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),f=a,h=e.FtCssVariableFactory.extend("--ft-ripple-background-color",a),c=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),d=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),g=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),y=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),x=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),u=x,m=e.FtCssVariableFactory.extend("--ft-ripple-background-color",x),v=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),b=v,$=e.FtCssVariableFactory.extend("--ft-ripple-background-color",v);class w extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
10
10
  <style>
11
11
  .ft-ripple .ft-ripple--effect,
12
12
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -67,7 +67,7 @@ var k;w.elementDefinitions={},w.styles=i.css`
67
67
  }
68
68
 
69
69
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
70
- background-color: ${v};
70
+ background-color: ${m};
71
71
  }
72
72
 
73
73
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
@@ -118,24 +118,24 @@ var k;w.elementDefinitions={},w.styles=i.css`
118
118
  opacity: ${c};
119
119
  transform: translate(-50%, -50%) scale(1);
120
120
  }
121
- `,p([o.property({type:Boolean})],w.prototype,"primary",void 0),p([o.property({type:Boolean})],w.prototype,"secondary",void 0),p([o.property({type:Boolean})],w.prototype,"unbounded",void 0),p([o.property({type:Boolean})],w.prototype,"activated",void 0),p([o.property({type:Boolean})],w.prototype,"selected",void 0),p([o.property({type:Boolean})],w.prototype,"disabled",void 0),p([o.state()],w.prototype,"hovered",void 0),p([o.state()],w.prototype,"focused",void 0),p([o.state()],w.prototype,"pressed",void 0),p([o.state()],w.prototype,"rippling",void 0),p([o.state()],w.prototype,"rippleSize",void 0),p([o.state()],w.prototype,"originX",void 0),p([o.state()],w.prototype,"originY",void 0),p([o.query(".ft-ripple")],w.prototype,"ripple",void 0),p([o.query(".ft-ripple--effect")],w.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(w);const z=globalThis.trustedTypes,j=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,S="?"+N,O=`<${S}>`,_=document,A=(t="")=>_.createComment(t),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,T=/>/g,U=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,B=/'/g,W=/"/g,Z=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),K=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),G=new WeakMap,q=_.createTreeWalker(_,129,null,!1),F=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=I;for(let e=0;e<i;e++){const i=t[e];let l,p,a=-1,f=0;for(;f<i.length&&(n.lastIndex=f,p=n.exec(i),null!==p);)f=n.lastIndex,n===I?"!--"===p[1]?n=M:void 0!==p[1]?n=T:void 0!==p[2]?(Z.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=U):void 0!==p[3]&&(n=U):n===U?">"===p[0]?(n=null!=s?s:I,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?U:'"'===p[3]?W:B):n===W||n===B?n=U:n===M||n===T?n=I:(n=U,s=void 0);const h=n===U&&t[e+1].startsWith("/>")?" ":"";r+=n===I?i+O:a>=0?(o.push(l),i.slice(0,a)+"$lit$"+i.slice(a)+N+h):i+N+(-2===a?(o.push(void 0),e):h)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(l):l,o]};class H{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[p,a]=F(t,e);if(this.el=H.createElement(p,i),q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=q.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(N)){const i=a[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?P:"?"===e[1]?V:"@"===e[1]?tt:J})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(Z.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),q.nextNode(),l.push({type:2,index:++s});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===S)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)l.push({type:7,index:s}),t+=N.length-1}s++}}static createElement(t,e){const i=_.createElement("template");return i.innerHTML=t,i}}function L(t,e,i=t,o){var s,r,n,l;if(e===K)return e;let p=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=E(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Cl)&&void 0!==n?n:l._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=L(t,p._$AS(t,e.values),p,o)),e}class X{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_).importNode(i,!0);q.currentNode=s;let r=q.nextNode(),n=0,l=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new Y(r,r.nextSibling,this,t):1===p.type?e=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(e=new et(r,this,t)),this.v.push(e),p=o[++l]}n!==(null==p?void 0:p.index)&&(r=q.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var s;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=L(this,t,e),E(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==K&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return C(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==R&&E(this._$AH)?this._$AA.nextSibling.data=t:this.k(_.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=H.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new X(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new H(t)),e}S(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Y(this.M(A()),this.M(A()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,o,s){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=L(this,t,e,0),r=!E(t)||t!==this._$AH&&t!==K,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=L(this,o[i+n],e,n),l===K&&(l=this._$AH[n]),r||(r=!E(l)||l!==this._$AH[n]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.C(t)}C(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===R?void 0:t}}const Q=z?z.emptyScript:"";class V extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==R?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class tt extends J{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=L(this,t,e,0))&&void 0!==i?i:R)===K)return;const o=this._$AH,s=t===R&&o!==R||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==R&&(o===R||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class et{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}}const it=window.litHtmlPolyfillSupport;null==it||it(H,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.4");
121
+ `,p([o.property({type:Boolean})],w.prototype,"primary",void 0),p([o.property({type:Boolean})],w.prototype,"secondary",void 0),p([o.property({type:Boolean})],w.prototype,"unbounded",void 0),p([o.property({type:Boolean})],w.prototype,"activated",void 0),p([o.property({type:Boolean})],w.prototype,"selected",void 0),p([o.property({type:Boolean})],w.prototype,"disabled",void 0),p([o.state()],w.prototype,"hovered",void 0),p([o.state()],w.prototype,"focused",void 0),p([o.state()],w.prototype,"pressed",void 0),p([o.state()],w.prototype,"rippling",void 0),p([o.state()],w.prototype,"rippleSize",void 0),p([o.state()],w.prototype,"originX",void 0),p([o.state()],w.prototype,"originY",void 0),p([o.query(".ft-ripple")],w.prototype,"ripple",void 0),p([o.query(".ft-ripple--effect")],w.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(w);const z=globalThis.trustedTypes,j=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,S="?"+N,O=`<${S}>`,_=document,A=(t="")=>_.createComment(t),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,C=/>/g,U=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),B=/'/g,R=/"/g,W=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),D=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),G=new WeakMap,P=_.createTreeWalker(_,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=M;for(let e=0;e<i;e++){const i=t[e];let l,p,a=-1,f=0;for(;f<i.length&&(n.lastIndex=f,p=n.exec(i),null!==p);)f=n.lastIndex,n===M?"!--"===p[1]?n=T:void 0!==p[1]?n=C:void 0!==p[2]?(W.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=U):void 0!==p[3]&&(n=U):n===U?">"===p[0]?(n=null!=s?s:M,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?U:'"'===p[3]?R:B):n===R||n===B?n=U:n===T||n===C?n=M:(n=U,s=void 0);const h=n===U&&t[e+1].startsWith("/>")?" ":"";r+=n===M?i+O:a>=0?(o.push(l),i.slice(0,a)+"$lit$"+i.slice(a)+N+h):i+N+(-2===a?(o.push(void 0),e):h)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(l):l,o]};class F{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[p,a]=q(t,e);if(this.el=F.createElement(p,i),P.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=P.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(N)){const i=a[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?J:"?"===e[1]?V:"@"===e[1]?tt:Y})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),P.nextNode(),l.push({type:2,index:++s});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===S)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)l.push({type:7,index:s}),t+=N.length-1}s++}}static createElement(t,e){const i=_.createElement("template");return i.innerHTML=t,i}}function H(t,e,i=t,o){var s,r,n,l;if(e===D)return e;let p=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=E(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Cl)&&void 0!==n?n:l._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=H(t,p._$AS(t,e.values),p,o)),e}class L{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_).importNode(i,!0);P.currentNode=s;let r=P.nextNode(),n=0,l=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new X(r,r.nextSibling,this,t):1===p.type?e=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(e=new et(r,this,t)),this.v.push(e),p=o[++l]}n!==(null==p?void 0:p.index)&&(r=P.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class X{constructor(t,e,i,o){var s;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=H(this,t,e),E(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==D&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>I(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==K&&E(this._$AH)?this._$AA.nextSibling.data=t:this.k(_.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=F.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new L(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new F(t)),e}S(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new X(this.j(A()),this.j(A()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,s){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=H(this,t,e,0),r=!E(t)||t!==this._$AH&&t!==D,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=H(this,o[i+n],e,n),l===D&&(l=this._$AH[n]),r||(r=!E(l)||l!==this._$AH[n]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.P(t)}P(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class J extends Y{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===K?void 0:t}}const Q=z?z.emptyScript:"";class V extends Y{constructor(){super(...arguments),this.type=4}P(t){t&&t!==K?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class tt extends Y{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=H(this,t,e,0))&&void 0!==i?i:K)===D)return;const o=this._$AH,s=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==K&&(o===K||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class et{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const it=window.litHtmlPolyfillSupport;null==it||it(F,X),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.7");
122
122
  /**
123
123
  * @license
124
124
  * Copyright 2020 Google LLC
125
125
  * SPDX-License-Identifier: BSD-3-Clause
126
126
  */
127
- const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ot)return null===(i=t)||void 0===i?void 0:i._$litStatic$},rt=t=>({_$litStatic$:t,r:ot}),nt=new Map,lt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(r=i[a],s=st(r));)p+=s+e[++a],f=!0;l.push(r),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=nt.get(t))&&(n.raw=n,nt.set(t,e=n)),i=l}return t(e,...i)})(D);var pt,at=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!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"}(pt||(pt={}));const ft=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),ht=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ct={fontFamily:ht,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","NUMBER","1.5"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},dt=e.FtCssVariable.extend("--ft-typography-title-font-family",ft),gt=e.FtCssVariable.extend("--ft-typography-title-font-size",ct.fontSize,"20px"),yt=e.FtCssVariable.extend("--ft-typography-title-font-weight",ct.fontWeight,"normal"),xt=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",ct.letterSpacing,"0.15px"),ut=e.FtCssVariable.extend("--ft-typography-title-line-height",ct.lineHeight,"1.2"),vt=e.FtCssVariable.extend("--ft-typography-title-text-transform",ct.textTransform,"inherit"),mt=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",ft),bt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",ct.fontSize,"14px"),$t=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",ct.fontWeight,"normal"),wt=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",ct.letterSpacing,"0.105px"),kt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",ct.lineHeight,"1.7"),zt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",ct.textTransform,"inherit"),jt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",ht),Nt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",ct.fontSize,"16px"),St=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",ct.fontWeight,"600"),Ot=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",ct.letterSpacing,"0.144px"),_t=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",ct.lineHeight,"1.5"),At=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",ct.textTransform,"inherit"),Et=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",ht),Ct=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",ct.fontSize,"14px"),It=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",ct.fontWeight,"normal"),Mt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",ct.letterSpacing,"0.098px"),Tt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",ct.lineHeight,"1.7"),Ut=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",ct.textTransform,"inherit"),Bt=e.FtCssVariable.extend("--ft-typography-body1-font-family",ht),Wt=e.FtCssVariable.extend("--ft-typography-body1-font-size",ct.fontSize,"16px"),Zt=e.FtCssVariable.extend("--ft-typography-body1-font-weight",ct.fontWeight,"normal"),Dt=e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",ct.letterSpacing,"0.496px"),Kt=e.FtCssVariable.extend("--ft-typography-body1-line-height",ct.lineHeight,"1.5"),Rt=e.FtCssVariable.extend("--ft-typography-body1-text-transform",ct.textTransform,"inherit"),Gt=e.FtCssVariable.extend("--ft-typography-body2-font-family",ht),qt=e.FtCssVariable.extend("--ft-typography-body2-font-size",ct.fontSize,"14px"),Ft=e.FtCssVariable.extend("--ft-typography-body2-font-weight",ct.fontWeight,"normal"),Ht=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",ct.letterSpacing,"0.252px"),Lt=e.FtCssVariable.extend("--ft-typography-body2-line-height",ct.lineHeight,"1.4"),Xt=e.FtCssVariable.extend("--ft-typography-body2-text-transform",ct.textTransform,"inherit"),Yt=e.FtCssVariable.extend("--ft-typography-caption-font-family",ht),Jt=e.FtCssVariable.extend("--ft-typography-caption-font-size",ct.fontSize,"12px"),Pt=e.FtCssVariable.extend("--ft-typography-caption-font-weight",ct.fontWeight,"normal"),Qt=e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",ct.letterSpacing,"0.396px"),Vt=e.FtCssVariable.extend("--ft-typography-caption-line-height",ct.lineHeight,"1.33"),te=e.FtCssVariable.extend("--ft-typography-caption-text-transform",ct.textTransform,"inherit"),ee=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",ht),ie=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",ct.fontSize,"10px"),oe=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",ct.fontWeight,"normal"),se=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",ct.letterSpacing,"0.33px"),re=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",ct.lineHeight,"1.6"),ne=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",ct.textTransform,"inherit"),le=e.FtCssVariable.extend("--ft-typography-overline-font-family",ht),pe=e.FtCssVariable.extend("--ft-typography-overline-font-size",ct.fontSize,"10px"),ae=e.FtCssVariable.extend("--ft-typography-overline-font-weight",ct.fontWeight,"normal"),fe=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",ct.letterSpacing,"1.5px"),he=e.FtCssVariable.extend("--ft-typography-overline-line-height",ct.lineHeight,"1.6"),ce=e.FtCssVariable.extend("--ft-typography-overline-text-transform",ct.textTransform,"uppercase"),de=e.FtCssVariable.extend("--ft-typography-button-font-family",ht),ge=e.FtCssVariable.extend("--ft-typography-button-font-size",ct.fontSize,"14px"),ye=e.FtCssVariable.extend("--ft-typography-button-font-weight",ct.fontWeight,"600"),xe=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",ct.letterSpacing,"1.246px"),ue=e.FtCssVariable.extend("--ft-typography-button-line-height",ct.lineHeight,"1.15"),ve=e.FtCssVariable.extend("--ft-typography-button-text-transform",ct.textTransform,"uppercase"),me=i.css`
127
+ const ot=Symbol.for(""),st=t=>{if((null==t?void 0:t.r)===ot)return null==t?void 0:t._$litStatic$},rt=t=>({_$litStatic$:t,r:ot}),nt=new Map,lt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(r=i[a],s=st(r));)p+=s+e[++a],f=!0;l.push(r),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=nt.get(t))&&(n.raw=n,nt.set(t,e=n)),i=l}return t(e,...i)})(Z);var pt,at=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!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"}(pt||(pt={}));const ft=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),ht=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ct={fontFamily:ht,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},dt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",ft),gt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",ct.fontSize,"20px"),yt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ct.fontWeight,"normal"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ct.letterSpacing,"0.15px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",ct.lineHeight,"1.2"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ct.textTransform,"inherit"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ft),bt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ct.fontSize,"14px"),$t=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ct.fontWeight,"normal"),wt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ct.letterSpacing,"0.105px"),kt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ct.lineHeight,"1.7"),zt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ct.textTransform,"inherit"),jt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",ht),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ct.fontSize,"16px"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ct.fontWeight,"600"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ct.letterSpacing,"0.144px"),_t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ct.lineHeight,"1.5"),At=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ct.textTransform,"inherit"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",ht),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ct.fontSize,"14px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ct.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ct.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ct.lineHeight,"1.7"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ct.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",ht),Rt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ct.fontSize,"16px"),Wt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ct.fontWeight,"normal"),Zt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ct.letterSpacing,"0.496px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ct.lineHeight,"1.5"),Kt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ct.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",ht),Pt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ct.fontSize,"14px"),qt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ct.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ct.letterSpacing,"0.252px"),Ht=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ct.lineHeight,"1.4"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ct.textTransform,"inherit"),Xt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",ht),Yt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ct.fontSize,"12px"),Jt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ct.fontWeight,"normal"),Qt=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ct.letterSpacing,"0.396px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ct.lineHeight,"1.33"),te=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ct.textTransform,"inherit"),ee=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",ht),ie=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ct.fontSize,"10px"),oe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ct.fontWeight,"normal"),se=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ct.letterSpacing,"0.33px"),re=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ct.lineHeight,"1.6"),ne=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ct.textTransform,"inherit"),le=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",ht),pe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ct.fontSize,"10px"),ae=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ct.fontWeight,"normal"),fe=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ct.letterSpacing,"1.5px"),he=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ct.lineHeight,"1.6"),ce=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ct.textTransform,"uppercase"),de=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",ht),ge=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",ct.fontSize,"14px"),ye=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ct.fontWeight,"600"),xe=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ct.letterSpacing,"1.246px"),ue=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",ct.lineHeight,"1.15"),me=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ct.textTransform,"uppercase"),ve=i.css`
128
128
  .ft-typography--title {
129
129
  font-family: ${dt};
130
130
  font-size: ${gt};
131
131
  font-weight: ${yt};
132
132
  letter-spacing: ${xt};
133
133
  line-height: ${ut};
134
- text-transform: ${vt};
134
+ text-transform: ${mt};
135
135
  }
136
136
  `,be=i.css`
137
137
  .ft-typography--title-dense {
138
- font-family: ${mt};
138
+ font-family: ${vt};
139
139
  font-size: ${bt};
140
140
  font-weight: ${$t};
141
141
  letter-spacing: ${wt};
@@ -154,36 +154,36 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
154
154
  `,we=i.css`
155
155
  .ft-typography--subtitle2 {
156
156
  font-family: ${Et};
157
- font-size: ${Ct};
158
- font-weight: ${It};
159
- letter-spacing: ${Mt};
160
- line-height: ${Tt};
157
+ font-size: ${It};
158
+ font-weight: ${Mt};
159
+ letter-spacing: ${Tt};
160
+ line-height: ${Ct};
161
161
  text-transform: ${Ut};
162
162
  }
163
163
 
164
164
  `,ke=i.css`
165
165
  .ft-typography--body1 {
166
166
  font-family: ${Bt};
167
- font-size: ${Wt};
168
- font-weight: ${Zt};
169
- letter-spacing: ${Dt};
170
- line-height: ${Kt};
171
- text-transform: ${Rt};
167
+ font-size: ${Rt};
168
+ font-weight: ${Wt};
169
+ letter-spacing: ${Zt};
170
+ line-height: ${Dt};
171
+ text-transform: ${Kt};
172
172
  }
173
173
  `,ze=i.css`
174
174
  .ft-typography--body2 {
175
175
  font-family: ${Gt};
176
- font-size: ${qt};
177
- font-weight: ${Ft};
178
- letter-spacing: ${Ht};
179
- line-height: ${Lt};
180
- text-transform: ${Xt};
176
+ font-size: ${Pt};
177
+ font-weight: ${qt};
178
+ letter-spacing: ${Ft};
179
+ line-height: ${Ht};
180
+ text-transform: ${Lt};
181
181
  }
182
182
  `,je=i.css`
183
183
  .ft-typography--caption {
184
- font-family: ${Yt};
185
- font-size: ${Jt};
186
- font-weight: ${Pt};
184
+ font-family: ${Xt};
185
+ font-size: ${Yt};
186
+ font-weight: ${Jt};
187
187
  letter-spacing: ${Qt};
188
188
  line-height: ${Vt};
189
189
  text-transform: ${te};
@@ -213,7 +213,7 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
213
213
  font-weight: ${ye};
214
214
  letter-spacing: ${xe};
215
215
  line-height: ${ue};
216
- text-transform: ${ve};
216
+ text-transform: ${me};
217
217
  }
218
218
  `;class _e extends e.FtLitElement{constructor(){super(...arguments),this.variant=pt.body1}render(){return this.element?lt`
219
219
  <${rt(this.element)}
@@ -222,51 +222,52 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
222
222
  </${rt(this.element)}>
223
223
  `:lt`
224
224
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
225
- `}}var Ae,Ee;_e.styles=[me,be,$e,we,ke,ze,je,Ne,Se,Oe,i.css`
225
+ `}}var Ae,Ee;_e.styles=[ve,be,$e,we,ke,ze,je,Ne,Se,Oe,i.css`
226
226
  .ft-typography {
227
227
  vertical-align: inherit;
228
228
  }
229
- `],at([o.property()],_e.prototype,"element",void 0),at([o.property()],_e.prototype,"variant",void 0),e.customElement("ft-typography")(_e),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(Ae||(Ae={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ee||(Ee={})),new Map([...["abw"].map((t=>[t,Ee.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ee.AUDIO])),...["avi"].map((t=>[t,Ee.AVI])),...["chm","xhs"].map((t=>[t,Ee.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ee.CODE])),...["csv"].map((t=>[t,Ee.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ee.DITA])),...["epub"].map((t=>[t,Ee.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ee.EXCEL])),...["flac"].map((t=>[t,Ee.FLAC])),...["gif"].map((t=>[t,Ee.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ee.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ee.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ee.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ee.JPEG])),...["json"].map((t=>[t,Ee.JSON])),...["m4a","m4p"].map((t=>[t,Ee.M4A])),...["mov","qt"].map((t=>[t,Ee.MOV])),...["mp3"].map((t=>[t,Ee.MP3])),...["mp4","m4v"].map((t=>[t,Ee.MP4])),...["ogg","oga"].map((t=>[t,Ee.OGG])),...["pdf","ps"].map((t=>[t,Ee.PDF])),...["png"].map((t=>[t,Ee.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ee.POWERPOINT])),...["rar"].map((t=>[t,Ee.RAR])),...["stp"].map((t=>[t,Ee.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ee.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ee.VIDEO])),...["wav"].map((t=>[t,Ee.WAV])),...["wma"].map((t=>[t,Ee.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ee.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ee.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ee.YAML])),...["zip"].map((t=>[t,Ee.ZIP]))]);var Ce,Ie=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ce||(Ce={}));const Me=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),Te=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ue=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Be=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class We extends e.FtLitElement{constructor(){super(...arguments),this.variant=Ce.fluid_topics}render(){return i.html`
230
- <i class="ft-icon ${"ft-icon--"+this.variant}">
231
- ${r.unsafeHTML(this.getIcon())}
232
- <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
233
- </i>
234
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===Ce.file_format?null!==(t=Ee[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Ce.fluid_topics?null!==(e=Ae[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}We.elementDefinitions={},We.styles=i.css`
235
- :host {
236
- display: inline-block;
237
- }
238
- :host, i.ft-icon {
239
- width: ${Me};
240
- height: ${Me};
241
- text-align: center;
242
- }
229
+ `],at([o.property()],_e.prototype,"element",void 0),at([o.property()],_e.prototype,"variant",void 0),e.customElement("ft-typography")(_e),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(Ae||(Ae={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ee||(Ee={})),new Map([...["abw"].map((t=>[t,Ee.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ee.AUDIO])),...["avi"].map((t=>[t,Ee.AVI])),...["chm","xhs"].map((t=>[t,Ee.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ee.CODE])),...["csv"].map((t=>[t,Ee.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ee.DITA])),...["epub"].map((t=>[t,Ee.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ee.EXCEL])),...["flac"].map((t=>[t,Ee.FLAC])),...["gif"].map((t=>[t,Ee.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ee.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ee.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ee.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ee.JPEG])),...["json"].map((t=>[t,Ee.JSON])),...["m4a","m4p"].map((t=>[t,Ee.M4A])),...["mov","qt"].map((t=>[t,Ee.MOV])),...["mp3"].map((t=>[t,Ee.MP3])),...["mp4","m4v"].map((t=>[t,Ee.MP4])),...["ogg","oga"].map((t=>[t,Ee.OGG])),...["pdf","ps"].map((t=>[t,Ee.PDF])),...["png"].map((t=>[t,Ee.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ee.POWERPOINT])),...["rar"].map((t=>[t,Ee.RAR])),...["stp"].map((t=>[t,Ee.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ee.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ee.VIDEO])),...["wav"].map((t=>[t,Ee.WAV])),...["wma"].map((t=>[t,Ee.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ee.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ee.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ee.YAML])),...["zip"].map((t=>[t,Ee.ZIP]))]);var Ie,Me=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ie||(Ie={}));const Te=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),Ce=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ue=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Be=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class Re extends e.FtLitElement{constructor(){super(...arguments),this.variant=Ie.fluid_topics}getStyles(){return i.css`
230
+ :host {
231
+ display: inline-block;
232
+ }
243
233
 
244
- i.ft-icon {
245
- font-size: ${Me};
246
- line-height: 1;
247
- font-weight: normal;
248
- text-transform: none;
249
- font-style: normal;
250
- font-variant: normal;
251
- speak: none;
252
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
253
- text-rendering: auto;
254
- -webkit-font-smoothing: antialiased;
255
- -moz-osx-font-smoothing: grayscale;
256
- }
234
+ :host, i.ft-icon {
235
+ width: ${Te};
236
+ height: ${Te};
237
+ text-align: center;
238
+ }
257
239
 
258
- .ft-icon--fluid-topics {
259
- font-family: ${Te}, ft-icons, fticons, sans-serif;
260
- }
240
+ i.ft-icon {
241
+ font-size: ${Te};
242
+ line-height: 1;
243
+ font-weight: normal;
244
+ text-transform: none;
245
+ font-style: normal;
246
+ font-variant: normal;
247
+ speak: none;
248
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
249
+ text-rendering: auto;
250
+ -webkit-font-smoothing: antialiased;
251
+ -moz-osx-font-smoothing: grayscale;
252
+ }
261
253
 
262
- .ft-icon--file-format {
263
- font-family: ${Ue}, ft-mime, sans-serif;
264
- }
254
+ .ft-icon--fluid-topics {
255
+ font-family: ${Ce}, ft-icons, fticons, sans-serif;
256
+ }
265
257
 
266
- .ft-icon--material {
267
- font-family: ${Be}, "Material Icons", sans-serif;
268
- }
269
- `,Ie([o.property()],We.prototype,"variant",void 0),Ie([o.query("slot")],We.prototype,"slottedContent",void 0),e.customElement("ft-icon")(We);var Ze=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const De={horizontalSpacing:e.FtCssVariable.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:e.FtCssVariable.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system")};class Ke extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
258
+ .ft-icon--file-format {
259
+ font-family: ${Ue}, ft-mime, sans-serif;
260
+ }
261
+
262
+ .ft-icon--material {
263
+ font-family: ${Be}, "Material Icons", sans-serif;
264
+ }
265
+ `}getTemplate(){return i.html`
266
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
267
+ ${r.unsafeHTML(this.getIcon())}
268
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
269
+ </i>
270
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===Ie.file_format?null!==(t=Ee[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Ie.fluid_topics?null!==(e=Ae[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}Re.elementDefinitions={},Me([o.property()],Re.prototype,"variant",void 0),Me([o.query("slot")],Re.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Re);var We=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const Ze={horizontalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system")};class De extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
270
271
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
271
272
  <div class="ft-accordion-item--toggle"
272
273
  part="toggle"
@@ -290,7 +291,7 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
290
291
  </div>
291
292
  <div class="ft-accordion-item--separator" part="separator"></div>
292
293
  </div>
293
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Ke.elementDefinitions={"ft-ripple":w,"ft-typography":_e,"ft-icon":We},Ke.styles=i.css`
294
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}De.elementDefinitions={"ft-ripple":w,"ft-typography":_e,"ft-icon":Re},De.styles=i.css`
294
295
  .ft-accordion-item {
295
296
  display: flex;
296
297
  flex-direction: column;
@@ -303,8 +304,8 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
303
304
  display: flex;
304
305
  align-items: center;
305
306
  cursor: pointer;
306
- padding: ${De.verticalSpacing} ${De.horizontalSpacing};
307
- gap: calc(${De.horizontalSpacing} / 2);
307
+ padding: ${Ze.verticalSpacing} ${Ze.horizontalSpacing};
308
+ gap: calc(${Ze.horizontalSpacing} / 2);
308
309
  outline: none;
309
310
  }
310
311
 
@@ -329,10 +330,10 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
329
330
  .ft-accordion-item--active .ft-accordion-item--content {
330
331
  height: initial;
331
332
  overflow: visible;
332
- padding: ${De.verticalSpacing} ${De.horizontalSpacing};
333
+ padding: ${Ze.verticalSpacing} ${Ze.horizontalSpacing};
333
334
  }
334
335
 
335
336
  .ft-accordion-item--separator {
336
- border-bottom: 1px solid ${De.colorOutline};
337
+ border-bottom: 1px solid ${Ze.colorOutline};
337
338
  }
338
- `,Ze([o.property({type:String})],Ke.prototype,"icon",void 0),Ze([o.property({type:String})],Ke.prototype,"label",void 0),Ze([o.property({type:Boolean,reflect:!0})],Ke.prototype,"active",void 0),e.customElement("ft-accordion")(l),e.customElement("ft-accordion-item")(Ke),t.FtAccordion=l,t.FtAccordionCssVariables={},t.FtAccordionItem=Ke,t.FtAccordionItemCssVariables=De,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
339
+ `,We([o.property({type:String})],De.prototype,"icon",void 0),We([o.property({type:String})],De.prototype,"label",void 0),We([o.property({type:Boolean,reflect:!0})],De.prototype,"active",void 0),e.customElement("ft-accordion")(l),e.customElement("ft-accordion-item")(De),t.FtAccordion=l,t.FtAccordionCssVariables={},t.FtAccordionItem=De,t.FtAccordionItemCssVariables=Ze,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,r=new WeakMap,n=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,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=s.prototype.attributeChangedCallback,l=new Set(s.observedAttributes||[]);f(s,l,a);const c={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(s,c);let p=i.call(o,t);p||(p=h(t),e.call(o,t,p)),this===window.customElements&&(n.set(s,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=p(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):r.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,s),i.call(this,r,t,s)}else o.call(this,r,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),x.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(ci){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}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=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,r=new WeakMap,n=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,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=s.prototype.attributeChangedCallback,l=new Set(s.observedAttributes||[]);f(s,l,a);const p={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(s,p);let c=i.call(o,t);c||(c=h(t),e.call(o,t,c)),this===window.customElements&&(n.set(s,p),p.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!p(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):r.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,s),i.call(this,r,t,s)}else o.call(this,r,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),x.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(pi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}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=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -46,34 +46,34 @@ function r(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o)
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const l=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),p=new Map;class h{constructor(t,e){if(this._$cssResult$=!0,e!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=p.get(this.cssText);return l&&void 0===t&&(p.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const f=t=>new h("string"==typeof t?t:t+"",c),d=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(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.")})(i)+t[o+1]),t[0]);return new h(i,c)},u=(t,e)=>{l?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},y=l?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return f(e)})(t):t
49
+ const l=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),c=new WeakMap;class h{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(l&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&c.set(e,t))}return t}toString(){return this.cssText}}const f=t=>new h("string"==typeof t?t:t+"",void 0,p),d=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(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.")})(i)+t[o+1]),t[0]);return new h(i,t,p)},u=(t,e)=>{l?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},y=l?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return f(e)})(t):t
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;var x;const g=window.trustedTypes,v=g?g.emptyScript:"",m=window.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},w=(t,e)=>e!==t&&(e==e||t==t),$={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:w};class O extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},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,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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 e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(e,this.constructor.elementStyles),e}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 e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=$){var o,s;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const n=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:b.toAttribute)(e,i.type);this._$Ei=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Ei=null}}_$AK(t,e){var i,o,s;const r=this.constructor,n=r._$Eu.get(t);if(void 0!==n&&this._$Ei!==n){const t=r.getPropertyOptions(n),a=t.converter,l=null!==(s=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==s?s:b.fromAttribute;this._$Ei=n,this[n]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){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,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.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._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
54
+ */;var x;const g=window.trustedTypes,v=g?g.emptyScript:"",m=window.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},w=(t,e)=>e!==t&&(e==e||t==t),$={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:w};class O extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},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._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=$){var o,s;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const n=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:b.toAttribute)(e,i.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i,o;const s=this.constructor,r=s._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=s.getPropertyOptions(r),n=t.converter,a=null!==(o=null!==(i=null==n?void 0:n.fromAttribute)&&void 0!==i?i:"function"==typeof n?n:null)&&void 0!==o?o:b.fromAttribute;this._$El=r,this[r]=a(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}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._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var S;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:O}),(null!==(x=globalThis.reactiveElementVersions)&&void 0!==x?x:globalThis.reactiveElementVersions=[]).push("1.3.2");const N=globalThis.trustedTypes,C=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,k="?"+E,R=`<${k}>`,M=document,U=(t="")=>M.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,L=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,B=/'/g,T=/"/g,P=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),I=new WeakMap,H=M.createTreeWalker(M,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=j;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,p=0;for(;p<i.length&&(n.lastIndex=p,l=n.exec(i),null!==l);)p=n.lastIndex,n===j?"!--"===l[1]?n=A:void 0!==l[1]?n=L:void 0!==l[2]?(P.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=_):void 0!==l[3]&&(n=_):n===_?">"===l[0]?(n=null!=s?s:j,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?_:'"'===l[3]?T:B):n===T||n===B?n=_:n===A||n===L?n=j:(n=_,s=void 0);const h=n===_&&t[e+1].startsWith("/>")?" ":"";r+=n===j?i+R:c>=0?(o.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+E+h):i+E+(-2===c?(o.push(void 0),e):h)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==C?C.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,a=this.parts,[l,c]=Z(t,e);if(this.el=V.createElement(l,i),H.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=H.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=c[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),H.nextNode(),a.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===k)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:s}),t+=E.length-1}s++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var s,r,n,a;if(e===W)return e;let l=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const c=F(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class q{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);H.currentNode=s;let r=H.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new X(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new it(r,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(r=H.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class X{constructor(t,e,i,o){var s;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=J(this,t,e),F(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return z(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&F(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new q(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new V(t)),e}S(t){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new X(this.M(U()),this.M(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,s){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=J(this,t,e,0),r=!F(t)||t!==this._$AH&&t!==W,r&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=J(this,o[i+n],e,n),a===W&&(a=this._$AH[n]),r||(r=!F(a)||a!==this._$AH[n]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+s[n+1]),this._$AH[n]=a}r&&!o&&this.C(t)}C(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===K?void 0:t}}const Q=N?N.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}C(t){t&&t!==K?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:K)===W)return;const o=this._$AH,s=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==K&&(o===K||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class it{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const ot=window.litHtmlPolyfillSupport;
60
+ var S;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:O}),(null!==(x=globalThis.reactiveElementVersions)&&void 0!==x?x:globalThis.reactiveElementVersions=[]).push("1.3.4");const N=globalThis.trustedTypes,k=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,C="?"+E,R=`<${C}>`,M=document,U=(t="")=>M.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,F=Array.isArray,z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,L=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),T=/'/g,_=/"/g,P=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),I=new WeakMap,H=M.createTreeWalker(M,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=z;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,c=0;for(;c<i.length&&(n.lastIndex=c,l=n.exec(i),null!==l);)c=n.lastIndex,n===z?"!--"===l[1]?n=A:void 0!==l[1]?n=L:void 0!==l[2]?(P.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=B):void 0!==l[3]&&(n=B):n===B?">"===l[0]?(n=null!=s?s:z,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?B:'"'===l[3]?_:T):n===_||n===T?n=B:n===A||n===L?n=z:(n=B,s=void 0);const h=n===B&&t[e+1].startsWith("/>")?" ":"";r+=n===z?i+R:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+E+h):i+E+(-2===p?(o.push(void 0),e):h)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,a=this.parts,[l,p]=Z(t,e);if(this.el=V.createElement(l,i),H.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=H.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=p[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),H.nextNode(),a.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===C)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:s}),t+=E.length-1}s++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var s,r,n,a;if(e===W)return e;let l=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const p=j(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class q{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);H.currentNode=s;let r=H.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new X(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new it(r,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(r=H.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class X{constructor(t,e,i,o){var s;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=J(this,t,e),j(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==W&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>F(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==K&&j(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new q(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new V(t)),e}S(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new X(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,s){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=J(this,t,e,0),r=!j(t)||t!==this._$AH&&t!==W,r&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=J(this,o[i+n],e,n),a===W&&(a=this._$AH[n]),r||(r=!j(a)||a!==this._$AH[n]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+s[n+1]),this._$AH[n]=a}r&&!o&&this.P(t)}P(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===K?void 0:t}}const Q=N?N.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}P(t){t&&t!==K?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:K)===W)return;const o=this._$AH,s=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==K&&(o===K||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class it{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const ot=window.litHtmlPolyfillSupport;
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
65
  */
66
- var st,rt;null==ot||ot(V,X),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S:globalThis.litHtmlVersions=[]).push("2.2.4");class nt extends O{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=r._$litPart$;if(void 0===n){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;r._$litPart$=n=new X(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,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 W}}nt.finalized=!0,nt._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:nt});const at=globalThis.litElementPolyfillSupport;null==at||at({LitElement:nt}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.2.0");class lt{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,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,e,i){return new lt(t,e,void 0,i)}static extend(t,e,i){return new lt(t,e.category,e,i)}static external(t,e){return new lt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return d`var(${f(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):f(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const ct={colorPrimary:lt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:lt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:lt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:lt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:lt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:lt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:lt.create("--ft-color-error","COLOR","#B00020"),colorOutline:lt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:lt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:lt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:lt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:lt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:lt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:lt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:lt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:lt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:lt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:lt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:lt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:lt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:lt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:lt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:lt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:lt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:lt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:lt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:lt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:lt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:lt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:lt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:lt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:lt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:lt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:lt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:lt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:lt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:lt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:lt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:lt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:lt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:lt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:lt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:lt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:lt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:lt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:lt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:lt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:lt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:lt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
+ var st,rt;null==ot||ot(V,X),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S:globalThis.litHtmlVersions=[]).push("2.2.7");class nt extends O{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=r._$litPart$;if(void 0===n){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;r._$litPart$=n=new X(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return W}}nt.finalized=!0,nt._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:nt});const at=globalThis.litElementPolyfillSupport;null==at||at({LitElement:nt}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.2.2");class lt{static create(t,e,i){let o=t=>f(null!=t?t:i),s=d`var(${f(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>d`var(${f(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=d`var(${f(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>d`var(${f(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):f(null!=e?e:t.defaultValue),o=d`var(${f(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>d`var(${f(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const pt={colorPrimary:lt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:lt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:lt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:lt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:lt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:lt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:lt.create("--ft-color-error","COLOR","#B00020"),colorOutline:lt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:lt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:lt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:lt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:lt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:lt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:lt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:lt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:lt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:lt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:lt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:lt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:lt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:lt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:lt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:lt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:lt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:lt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:lt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:lt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:lt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:lt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:lt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:lt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:lt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:lt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:lt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:lt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:lt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:lt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:lt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:lt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:lt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:lt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:lt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:lt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:lt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.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:lt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:lt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:lt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:lt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:lt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:lt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
67
67
  /**
68
68
  * @license
69
69
  * Copyright 2021 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
71
- */var pt,ht,ft=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class dt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(s,this.constructor.elementStyles),s}}}(nt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),D`
71
+ */var ct,ht,ft=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class dt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(s,this.constructor.elementStyles),s}}}(nt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),D`
72
72
  ${t.map((t=>D`
73
73
  <style>${t}</style>
74
74
  `))}
75
75
  ${this.getTemplate()}
76
- `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,s,r,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(n=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}contentAvailableCallback(t){}}ft([o()],dt.prototype,"exportpartsPrefix",void 0),ft([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],dt.prototype,"exportpartsPrefixes",void 0),d`
76
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,s,r,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(n=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const c=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}contentAvailableCallback(t){}}ft([o()],dt.prototype,"exportpartsPrefix",void 0),ft([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],dt.prototype,"exportpartsPrefixes",void 0),d`
77
77
  .ft-no-text-select {
78
78
  -webkit-touch-callout: none;
79
79
  -webkit-user-select: none;
@@ -82,7 +82,7 @@ var st,rt;null==ot||ot(V,X),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S
82
82
  -ms-user-select: none;
83
83
  user-select: none;
84
84
  }
85
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ht=null===(pt=window.safari)||void 0===pt?void 0:pt.pushNotification)||void 0===ht||ht.toString());var ut=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class yt extends dt{constructor(){super(...arguments),this.multi=!1}render(){return D`
85
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ht=null===(ct=window.safari)||void 0===ct?void 0:ct.pushNotification)||void 0===ht||ht.toString());var ut=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class yt extends dt{constructor(){super(...arguments),this.multi=!1}render(){return D`
86
86
  <div class="ft-accordion">
87
87
  <slot @activated=${this.onChange}></slot>
88
88
  </div>
@@ -101,7 +101,7 @@ const xt=1,gt=2,vt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
101
101
  * @license
102
102
  * Copyright 2018 Google LLC
103
103
  * SPDX-License-Identifier: BSD-3-Clause
104
- */const bt=vt(class extends mt{constructor(t){var e;if(super(t),t.type!==xt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return W}});var wt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const $t=lt.extend("--ft-ripple-color",ct.colorContent),Ot=$t,St=lt.extend("--ft-ripple-background-color",$t),Nt=lt.external(ct.opacityContentOnSurfacePressed,"Design system"),Ct=lt.external(ct.opacityContentOnSurfaceHover,"Design system"),Et=lt.external(ct.opacityContentOnSurfaceFocused,"Design system"),kt=lt.external(ct.opacityContentOnSurfaceSelected,"Design system"),Rt=lt.extend("--ft-ripple-color",ct.colorPrimary),Mt=Rt,Ut=lt.extend("--ft-ripple-background-color",Rt),Ft=lt.extend("--ft-ripple-color",ct.colorSecondary),zt=Ft,jt=lt.extend("--ft-ripple-background-color",Ft);class At extends dt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return D`
104
+ */const bt=vt(class extends mt{constructor(t){var e;if(super(t),t.type!==xt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const s=t.element.classList;this.nt.forEach((t=>{t in e||(s.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.nt.add(t)):(s.remove(t),this.nt.delete(t)))}return W}});var wt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const $t=lt.extend("--ft-ripple-color",pt.colorContent),Ot=$t,St=lt.extend("--ft-ripple-background-color",$t),Nt=lt.external(pt.opacityContentOnSurfacePressed,"Design system"),kt=lt.external(pt.opacityContentOnSurfaceHover,"Design system"),Et=lt.external(pt.opacityContentOnSurfaceFocused,"Design system"),Ct=lt.external(pt.opacityContentOnSurfaceSelected,"Design system"),Rt=lt.extend("--ft-ripple-color",pt.colorPrimary),Mt=Rt,Ut=lt.extend("--ft-ripple-background-color",Rt),jt=lt.extend("--ft-ripple-color",pt.colorSecondary),Ft=jt,zt=lt.extend("--ft-ripple-background-color",jt);class At extends dt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return D`
105
105
  <style>
106
106
  .ft-ripple .ft-ripple--effect,
107
107
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -148,11 +148,11 @@ const xt=1,gt=2,vt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
148
148
  }
149
149
 
150
150
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
151
- background-color: ${jt};
151
+ background-color: ${zt};
152
152
  }
153
153
 
154
154
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
155
- background-color: ${zt};
155
+ background-color: ${Ft};
156
156
  }
157
157
 
158
158
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
@@ -192,11 +192,11 @@ const xt=1,gt=2,vt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
192
192
  }
193
193
 
194
194
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
195
- opacity: ${Ct};
195
+ opacity: ${kt};
196
196
  }
197
197
 
198
198
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
199
- opacity: ${kt};
199
+ opacity: ${Ct};
200
200
  }
201
201
 
202
202
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
@@ -213,7 +213,7 @@ const xt=1,gt=2,vt=t=>(...e)=>({_$litDirective$:t,values:e});class mt{constructo
213
213
  * Copyright 2020 Google LLC
214
214
  * SPDX-License-Identifier: BSD-3-Clause
215
215
  */
216
- const Lt=Symbol.for(""),_t=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Lt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Bt=t=>({_$litStatic$:t,r:Lt}),Tt=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],a=[];let l,c=0,p=!1;for(;c<o;){for(l=e[c];c<o&&void 0!==(r=i[c],s=_t(r));)l+=s+e[++c],p=!0;a.push(r),n.push(l),c++}if(c===o&&n.push(e[o]),p){const t=n.join("$$lit$$");void 0===(e=Tt.get(t))&&(n.raw=n,Tt.set(t,e=n)),i=a}return t(e,...i)})(D);var Dt,Wt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!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"}(Dt||(Dt={}));const Kt=lt.extend("--ft-typography-font-family",ct.titleFont),It=lt.extend("--ft-typography-font-family",ct.contentFont),Ht={fontFamily:It,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=lt.extend("--ft-typography-title-font-family",Kt),Vt=lt.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Jt=lt.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),qt=lt.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),Xt=lt.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Yt=lt.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Gt=lt.extend("--ft-typography-title-dense-font-family",Kt),Qt=lt.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),te=lt.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),ee=lt.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ie=lt.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),oe=lt.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),se=lt.extend("--ft-typography-subtitle1-font-family",It),re=lt.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),ne=lt.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),ae=lt.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),le=lt.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),ce=lt.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),pe=lt.extend("--ft-typography-subtitle2-font-family",It),he=lt.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),fe=lt.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),de=lt.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),ue=lt.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),ye=lt.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),xe=lt.extend("--ft-typography-body1-font-family",It),ge=lt.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),ve=lt.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),me=lt.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),be=lt.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),we=lt.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),$e=lt.extend("--ft-typography-body2-font-family",It),Oe=lt.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),Se=lt.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),Ne=lt.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),Ce=lt.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),Ee=lt.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit"),ke=lt.extend("--ft-typography-caption-font-family",It),Re=lt.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),Me=lt.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Ue=lt.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),Fe=lt.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),ze=lt.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),je=lt.extend("--ft-typography-breadcrumb-font-family",It),Ae=lt.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),Le=lt.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),_e=lt.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Be=lt.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),Te=lt.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Pe=lt.extend("--ft-typography-overline-font-family",It),De=lt.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),We=lt.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Ke=lt.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),Ie=lt.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),He=lt.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Ze=lt.extend("--ft-typography-button-font-family",It),Ve=lt.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),Je=lt.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),qe=lt.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),Xe=lt.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),Ye=lt.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase"),Ge=d`
216
+ const Lt=Symbol.for(""),Bt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void 0:t._$litStatic$},Tt=t=>({_$litStatic$:t,r:Lt}),_t=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],a=[];let l,p=0,c=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(r=i[p],s=Bt(r));)l+=s+e[++p],c=!0;a.push(r),n.push(l),p++}if(p===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=_t.get(t))&&(n.raw=n,_t.set(t,e=n)),i=a}return t(e,...i)})(D);var Dt,Wt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!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"}(Dt||(Dt={}));const Kt=lt.extend("--ft-typography-font-family",pt.titleFont),It=lt.extend("--ft-typography-font-family",pt.contentFont),Ht={fontFamily:It,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=lt.extend("--ft-typography-title-font-family",Kt),Vt=lt.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Jt=lt.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),qt=lt.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),Xt=lt.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Yt=lt.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Gt=lt.extend("--ft-typography-title-dense-font-family",Kt),Qt=lt.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),te=lt.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),ee=lt.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ie=lt.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),oe=lt.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),se=lt.extend("--ft-typography-subtitle1-font-family",It),re=lt.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),ne=lt.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),ae=lt.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),le=lt.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),pe=lt.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),ce=lt.extend("--ft-typography-subtitle2-font-family",It),he=lt.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),fe=lt.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),de=lt.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),ue=lt.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),ye=lt.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),xe=lt.extend("--ft-typography-body1-font-family",It),ge=lt.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),ve=lt.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),me=lt.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),be=lt.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),we=lt.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),$e=lt.extend("--ft-typography-body2-font-family",It),Oe=lt.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),Se=lt.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),Ne=lt.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),ke=lt.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),Ee=lt.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit"),Ce=lt.extend("--ft-typography-caption-font-family",It),Re=lt.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),Me=lt.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Ue=lt.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),je=lt.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Fe=lt.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),ze=lt.extend("--ft-typography-breadcrumb-font-family",It),Ae=lt.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),Le=lt.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Be=lt.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Te=lt.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),_e=lt.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Pe=lt.extend("--ft-typography-overline-font-family",It),De=lt.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),We=lt.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Ke=lt.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),Ie=lt.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),He=lt.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Ze=lt.extend("--ft-typography-button-font-family",It),Ve=lt.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),Je=lt.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),qe=lt.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),Xe=lt.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),Ye=lt.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase"),Ge=d`
217
217
  .ft-typography--title {
218
218
  font-family: ${Zt};
219
219
  font-size: ${Vt};
@@ -238,11 +238,11 @@ const Lt=Symbol.for(""),_t=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
238
238
  font-weight: ${ne};
239
239
  letter-spacing: ${ae};
240
240
  line-height: ${le};
241
- text-transform: ${ce};
241
+ text-transform: ${pe};
242
242
  }
243
243
  `,ei=d`
244
244
  .ft-typography--subtitle2 {
245
- font-family: ${pe};
245
+ font-family: ${ce};
246
246
  font-size: ${he};
247
247
  font-weight: ${fe};
248
248
  letter-spacing: ${de};
@@ -265,26 +265,26 @@ const Lt=Symbol.for(""),_t=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
265
265
  font-size: ${Oe};
266
266
  font-weight: ${Se};
267
267
  letter-spacing: ${Ne};
268
- line-height: ${Ce};
268
+ line-height: ${ke};
269
269
  text-transform: ${Ee};
270
270
  }
271
271
  `,si=d`
272
272
  .ft-typography--caption {
273
- font-family: ${ke};
273
+ font-family: ${Ce};
274
274
  font-size: ${Re};
275
275
  font-weight: ${Me};
276
276
  letter-spacing: ${Ue};
277
- line-height: ${Fe};
278
- text-transform: ${ze};
277
+ line-height: ${je};
278
+ text-transform: ${Fe};
279
279
  }
280
280
  `,ri=d`
281
281
  .ft-typography--breadcrumb {
282
- font-family: ${je};
282
+ font-family: ${ze};
283
283
  font-size: ${Ae};
284
284
  font-weight: ${Le};
285
- letter-spacing: ${_e};
286
- line-height: ${Be};
287
- text-transform: ${Te};
285
+ letter-spacing: ${Be};
286
+ line-height: ${Te};
287
+ text-transform: ${_e};
288
288
  }
289
289
  `,ni=d`
290
290
  .ft-typography--overline {
@@ -305,10 +305,10 @@ const Lt=Symbol.for(""),_t=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
305
305
  text-transform: ${Ye};
306
306
  }
307
307
  `;class li extends dt{constructor(){super(...arguments),this.variant=Dt.body1}render(){return this.element?Pt`
308
- <${Bt(this.element)}
308
+ <${Tt(this.element)}
309
309
  class="ft-typography ft-typography--${this.variant}">
310
310
  <slot></slot>
311
- </${Bt(this.element)}>
311
+ </${Tt(this.element)}>
312
312
  `:Pt`
313
313
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
314
314
  `}}li.styles=[Ge,Qe,ti,ei,ii,oi,si,ri,ni,ai,d`
@@ -321,47 +321,48 @@ const Lt=Symbol.for(""),_t=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
321
321
  * Copyright 2017 Google LLC
322
322
  * SPDX-License-Identifier: BSD-3-Clause
323
323
  */
324
- class ci extends mt{constructor(t){if(super(t),this.it=K,t.type!==gt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.ft=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ci.directiveName="unsafeHTML",ci.resultType=1;const pi=vt(ci);var hi,fi;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(hi||(hi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(fi||(fi={})),new Map([...["abw"].map((t=>[t,fi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,fi.AUDIO])),...["avi"].map((t=>[t,fi.AVI])),...["chm","xhs"].map((t=>[t,fi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,fi.CODE])),...["csv"].map((t=>[t,fi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fi.DITA])),...["epub"].map((t=>[t,fi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fi.EXCEL])),...["flac"].map((t=>[t,fi.FLAC])),...["gif"].map((t=>[t,fi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fi.GZIP])),...["html","htm","xhtml"].map((t=>[t,fi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,fi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fi.JPEG])),...["json"].map((t=>[t,fi.JSON])),...["m4a","m4p"].map((t=>[t,fi.M4A])),...["mov","qt"].map((t=>[t,fi.MOV])),...["mp3"].map((t=>[t,fi.MP3])),...["mp4","m4v"].map((t=>[t,fi.MP4])),...["ogg","oga"].map((t=>[t,fi.OGG])),...["pdf","ps"].map((t=>[t,fi.PDF])),...["png"].map((t=>[t,fi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fi.POWERPOINT])),...["rar"].map((t=>[t,fi.RAR])),...["stp"].map((t=>[t,fi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,fi.VIDEO])),...["wav"].map((t=>[t,fi.WAV])),...["wma"].map((t=>[t,fi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fi.WORD])),...["xml","xsl","rdf"].map((t=>[t,fi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fi.YAML])),...["zip"].map((t=>[t,fi.ZIP]))]);var di,ui=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(di||(di={}));const yi=lt.create("--ft-icon-font-size","SIZE","24px"),xi=lt.extend("--ft-icon-fluid-topics-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),gi=lt.extend("--ft-icon-file-format-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),vi=lt.extend("--ft-icon-material-font-family",lt.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class mi extends dt{constructor(){super(...arguments),this.variant=di.fluid_topics}render(){return D`
325
- <i class="ft-icon ${"ft-icon--"+this.variant}">
326
- ${pi(this.getIcon())}
327
- <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
328
- </i>
329
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===di.file_format?null!==(t=fi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===di.fluid_topics?null!==(e=hi[i.toUpperCase()])&&void 0!==e?e:i:K}}mi.elementDefinitions={},mi.styles=d`
330
- :host {
331
- display: inline-block;
332
- }
333
- :host, i.ft-icon {
334
- width: ${yi};
335
- height: ${yi};
336
- text-align: center;
337
- }
324
+ class pi extends mt{constructor(t){if(super(t),this.it=K,t.type!==gt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this._t=void 0,this.it=t;if(t===W)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}pi.directiveName="unsafeHTML",pi.resultType=1;const ci=vt(pi);var hi,fi;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(hi||(hi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(fi||(fi={})),new Map([...["abw"].map((t=>[t,fi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,fi.AUDIO])),...["avi"].map((t=>[t,fi.AVI])),...["chm","xhs"].map((t=>[t,fi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,fi.CODE])),...["csv"].map((t=>[t,fi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fi.DITA])),...["epub"].map((t=>[t,fi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fi.EXCEL])),...["flac"].map((t=>[t,fi.FLAC])),...["gif"].map((t=>[t,fi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fi.GZIP])),...["html","htm","xhtml"].map((t=>[t,fi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,fi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fi.JPEG])),...["json"].map((t=>[t,fi.JSON])),...["m4a","m4p"].map((t=>[t,fi.M4A])),...["mov","qt"].map((t=>[t,fi.MOV])),...["mp3"].map((t=>[t,fi.MP3])),...["mp4","m4v"].map((t=>[t,fi.MP4])),...["ogg","oga"].map((t=>[t,fi.OGG])),...["pdf","ps"].map((t=>[t,fi.PDF])),...["png"].map((t=>[t,fi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fi.POWERPOINT])),...["rar"].map((t=>[t,fi.RAR])),...["stp"].map((t=>[t,fi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,fi.VIDEO])),...["wav"].map((t=>[t,fi.WAV])),...["wma"].map((t=>[t,fi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fi.WORD])),...["xml","xsl","rdf"].map((t=>[t,fi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fi.YAML])),...["zip"].map((t=>[t,fi.ZIP]))]);var di,ui=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(di||(di={}));const yi=lt.create("--ft-icon-font-size","SIZE","24px"),xi=lt.extend("--ft-icon-fluid-topics-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),gi=lt.extend("--ft-icon-file-format-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),vi=lt.extend("--ft-icon-material-font-family",lt.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class mi extends dt{constructor(){super(...arguments),this.variant=di.fluid_topics}getStyles(){return d`
325
+ :host {
326
+ display: inline-block;
327
+ }
338
328
 
339
- i.ft-icon {
340
- font-size: ${yi};
341
- line-height: 1;
342
- font-weight: normal;
343
- text-transform: none;
344
- font-style: normal;
345
- font-variant: normal;
346
- speak: none;
347
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
348
- text-rendering: auto;
349
- -webkit-font-smoothing: antialiased;
350
- -moz-osx-font-smoothing: grayscale;
351
- }
329
+ :host, i.ft-icon {
330
+ width: ${yi};
331
+ height: ${yi};
332
+ text-align: center;
333
+ }
352
334
 
353
- .ft-icon--fluid-topics {
354
- font-family: ${xi}, ft-icons, fticons, sans-serif;
355
- }
335
+ i.ft-icon {
336
+ font-size: ${yi};
337
+ line-height: 1;
338
+ font-weight: normal;
339
+ text-transform: none;
340
+ font-style: normal;
341
+ font-variant: normal;
342
+ speak: none;
343
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
344
+ text-rendering: auto;
345
+ -webkit-font-smoothing: antialiased;
346
+ -moz-osx-font-smoothing: grayscale;
347
+ }
356
348
 
357
- .ft-icon--file-format {
358
- font-family: ${gi}, ft-mime, sans-serif;
359
- }
349
+ .ft-icon--fluid-topics {
350
+ font-family: ${xi}, ft-icons, fticons, sans-serif;
351
+ }
360
352
 
361
- .ft-icon--material {
362
- font-family: ${vi}, "Material Icons", sans-serif;
363
- }
364
- `,ui([o()],mi.prototype,"variant",void 0),ui([r("slot")],mi.prototype,"slottedContent",void 0),a("ft-icon")(mi);var bi=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const wi={horizontalSpacing:lt.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:lt.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:lt.external(ct.colorOutline,"Design system")};class $i extends dt{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return D`
353
+ .ft-icon--file-format {
354
+ font-family: ${gi}, ft-mime, sans-serif;
355
+ }
356
+
357
+ .ft-icon--material {
358
+ font-family: ${vi}, "Material Icons", sans-serif;
359
+ }
360
+ `}getTemplate(){return D`
361
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
362
+ ${ci(this.getIcon())}
363
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
364
+ </i>
365
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===di.file_format?null!==(t=fi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===di.fluid_topics?null!==(e=hi[i.toUpperCase()])&&void 0!==e?e:i:K}}mi.elementDefinitions={},ui([o()],mi.prototype,"variant",void 0),ui([r("slot")],mi.prototype,"slottedContent",void 0),a("ft-icon")(mi);var bi=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const wi={horizontalSpacing:lt.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:lt.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:lt.external(pt.colorOutline,"Design system")};class $i extends dt{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return D`
365
366
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
366
367
  <div class="ft-accordion-item--toggle"
367
368
  part="toggle"
@@ -430,4 +431,4 @@ class ci extends mt{constructor(t){if(super(t),this.it=K,t.type!==gt)throw Error
430
431
  .ft-accordion-item--separator {
431
432
  border-bottom: 1px solid ${wi.colorOutline};
432
433
  }
433
- `,bi([o({type:String})],$i.prototype,"icon",void 0),bi([o({type:String})],$i.prototype,"label",void 0),bi([o({type:Boolean,reflect:!0})],$i.prototype,"active",void 0),a("ft-accordion")(yt),a("ft-accordion-item")($i),t.FtAccordion=yt,t.FtAccordionCssVariables={},t.FtAccordionItem=$i,t.FtAccordionItemCssVariables=wi,Object.defineProperty(t,"t",{value:!0})}({});
434
+ `,bi([o({type:String})],$i.prototype,"icon",void 0),bi([o({type:String})],$i.prototype,"label",void 0),bi([o({type:Boolean,reflect:!0})],$i.prototype,"active",void 0),a("ft-accordion")(yt),a("ft-accordion-item")($i),t.FtAccordion=yt,t.FtAccordionCssVariables={},t.FtAccordionItem=$i,t.FtAccordionItemCssVariables=wi,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-accordion",
3
- "version": "0.2.21",
3
+ "version": "0.3.1",
4
4
  "description": "The accordion component allows the user to show and hide sections of related content on a page.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -11,19 +11,19 @@
11
11
  "web": "build/ft-accordion.min.js",
12
12
  "typings": "build/index",
13
13
  "files": [
14
- "build/*.ts",
15
- "build/*.js"
14
+ "build/**/*.ts",
15
+ "build/**/*.js"
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "^0.2.21",
23
- "@fluid-topics/ft-ripple": "^0.2.21",
24
- "@fluid-topics/ft-typography": "^0.2.21",
25
- "@fluid-topics/ft-wc-utils": "^0.2.21",
26
- "lit": "2.1.3"
22
+ "@fluid-topics/ft-icon": "0.3.1",
23
+ "@fluid-topics/ft-ripple": "0.3.1",
24
+ "@fluid-topics/ft-typography": "0.3.1",
25
+ "@fluid-topics/ft-wc-utils": "0.3.1",
26
+ "lit": "2.2.8"
27
27
  },
28
- "gitHead": "081fdb95b1d88ac385722f9d37abb3ff9e20efd1"
28
+ "gitHead": "59991498f66c54210024c0fc6702955901f94952"
29
29
  }