@fluid-topics/ft-file-drop 0.1.9 → 0.1.10

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.
package/README.md CHANGED
@@ -16,7 +16,7 @@ import { FileDropEvent } from "@fluid-topics/ft-file-drop"
16
16
 
17
17
  function render() {
18
18
  return html`
19
- <ft-file-drop @file-drop=${ (e: FileDropEvent) => console.log(e.detail) }></ft-file-drop>
19
+ <ft-file-drop @file-drop=${ (e: FileDropEvent) => console.log(e.detail) } style="height: 300px;"></ft-file-drop>
20
20
  `
21
21
  }
22
22
  ```
@@ -1,12 +1,20 @@
1
1
  import { ElementDefinitionsMap, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
2
2
  export interface FtFileDropProperties {
3
- dropHint?: string;
3
+ dropHint: string;
4
+ accept: string;
5
+ fileTypeError: string;
6
+ visible: boolean;
4
7
  }
5
8
  export declare const FtFileDropCssVariables: {
6
9
  zIndex: FtCssVariable;
7
- colorSurface: FtCssVariable;
8
- colorPrimary: FtCssVariable;
9
- colorError: FtCssVariable;
10
+ hintBackgroundColor: FtCssVariable;
11
+ hintColor: FtCssVariable;
12
+ errorColor: FtCssVariable;
13
+ borderRadius: FtCssVariable;
14
+ borderWidth: FtCssVariable;
15
+ borderColor: FtCssVariable;
16
+ visibleBorderColor: FtCssVariable;
17
+ activeBorderColor: FtCssVariable;
10
18
  };
11
19
  export declare class FileDropEvent extends CustomEvent<{
12
20
  file: File;
@@ -19,6 +27,7 @@ export declare class FtFileDrop extends FtLitElement implements FtFileDropProper
19
27
  dropHint: string;
20
28
  accept: string;
21
29
  fileTypeError: string;
30
+ visible: boolean;
22
31
  private dragging;
23
32
  private fileError;
24
33
  protected getTemplate(): import("lit-html").TemplateResult<1>;
@@ -12,9 +12,14 @@ import { matchAccept } from "./match-accept";
12
12
  import { FtChip, FtChipCssVariables } from "@fluid-topics/ft-chip";
13
13
  export const FtFileDropCssVariables = {
14
14
  zIndex: FtCssVariable.create("--ft-file-drop-z-index", "NUMBER", "10"),
15
- colorSurface: FtCssVariable.external(designSystemVariables.colorSurface, "Design system"),
16
- colorPrimary: FtCssVariable.external(designSystemVariables.colorPrimary, "Design system"),
17
- colorError: FtCssVariable.external(designSystemVariables.colorError, "Design system"),
15
+ hintBackgroundColor: FtCssVariable.extend("--ft-file-drop-hint-background-color", designSystemVariables.colorSurface),
16
+ hintColor: FtCssVariable.extend("--ft-file-drop-hint-color", designSystemVariables.colorPrimary),
17
+ errorColor: FtCssVariable.extend("--ft-file-drop-error-color", designSystemVariables.colorError),
18
+ borderRadius: FtCssVariable.extend("--ft-file-drop-border-radius", designSystemVariables.borderRadiusL),
19
+ borderWidth: FtCssVariable.create("--ft-file-drop-border-width", "SIZE", "4px"),
20
+ borderColor: FtCssVariable.create("--ft-file-drop-border-color", "COLOR", "transparent"),
21
+ visibleBorderColor: FtCssVariable.extend("--ft-file-drop-visible-border-color", designSystemVariables.colorOutline),
22
+ activeBorderColor: FtCssVariable.extend("--ft-file-drop-active-border-color", designSystemVariables.colorPrimary),
18
23
  };
19
24
  export class FileDropEvent extends CustomEvent {
20
25
  constructor(file) {
@@ -27,15 +32,31 @@ let FtFileDrop = class FtFileDrop extends FtLitElement {
27
32
  this.dropHint = "Drop your file here";
28
33
  this.accept = "";
29
34
  this.fileTypeError = "Unsupported file type";
35
+ this.visible = false;
30
36
  this.dragging = false;
31
37
  this.fileError = false;
32
38
  }
33
39
  // language=CSS
34
40
  getStyles() {
35
41
  return css `
42
+ :host {
43
+ display: block;
44
+ position: relative;
45
+ }
46
+
36
47
  #container {
37
48
  position: absolute;
38
49
  inset: 0;
50
+ border: dashed ${FtFileDropCssVariables.borderWidth} ${FtFileDropCssVariables.borderColor};
51
+ border-radius: ${FtFileDropCssVariables.borderRadius};
52
+ }
53
+
54
+ #container.visible {
55
+ border-color: ${FtFileDropCssVariables.visibleBorderColor}
56
+ }
57
+
58
+ #container.dragging {
59
+ border-color: ${FtFileDropCssVariables.activeBorderColor}
39
60
  }
40
61
 
41
62
  slot {
@@ -60,9 +81,9 @@ let FtFileDrop = class FtFileDrop extends FtLitElement {
60
81
  z-index: 1;
61
82
  position: absolute;
62
83
  inset: 0;
63
- background-color: ${FtFileDropCssVariables.colorPrimary};
84
+ background-color: ${FtFileDropCssVariables.activeBorderColor};
64
85
  opacity: 0.20;
65
- border-radius: 10px;
86
+ border-radius: ${FtFileDropCssVariables.borderRadius};
66
87
  }
67
88
 
68
89
  #overlay-drop {
@@ -75,8 +96,6 @@ let FtFileDrop = class FtFileDrop extends FtLitElement {
75
96
  z-index: 1;
76
97
  position: absolute;
77
98
  inset: 0;
78
- border: dashed 4px ${FtFileDropCssVariables.colorPrimary};
79
- border-radius: 10px;
80
99
  display: flex;
81
100
  align-items: flex-end;
82
101
  justify-content: center;
@@ -84,14 +103,14 @@ let FtFileDrop = class FtFileDrop extends FtLitElement {
84
103
 
85
104
  #overlay-content ft-chip {
86
105
  margin-bottom: 10%;
87
- ${setVariable(FtChipCssVariables.color, FtFileDropCssVariables.colorPrimary)};
106
+ ${setVariable(FtChipCssVariables.color, FtFileDropCssVariables.hintColor)};
88
107
  ${setVariable(FtChipCssVariables.iconSize, "32px")};
89
108
  ${setVariable(FtChipCssVariables.colorOutline, "transparent")};
90
109
  }
91
110
 
92
- ft-chip[icon=error] {
93
- ${setVariable(FtChipCssVariables.color, FtFileDropCssVariables.colorSurface)};
94
- ${setVariable(FtChipCssVariables.backgroundColor, FtFileDropCssVariables.colorError)};
111
+ #overlay-content xft-chip[icon=error] {
112
+ ${setVariable(FtChipCssVariables.color, FtFileDropCssVariables.errorColor)};
113
+ ${setVariable(FtChipCssVariables.backgroundColor, FtFileDropCssVariables.hintBackgroundColor)};
95
114
  }
96
115
 
97
116
  [hidden] {
@@ -101,7 +120,8 @@ let FtFileDrop = class FtFileDrop extends FtLitElement {
101
120
  }
102
121
  getTemplate() {
103
122
  let contentClasses = {
104
- dragging: this.dragging
123
+ dragging: this.dragging,
124
+ visible: this.visible,
105
125
  };
106
126
  return html `
107
127
  <div id="container"
@@ -164,6 +184,9 @@ __decorate([
164
184
  __decorate([
165
185
  property()
166
186
  ], FtFileDrop.prototype, "fileTypeError", void 0);
187
+ __decorate([
188
+ property({ type: Boolean })
189
+ ], FtFileDrop.prototype, "visible", void 0);
167
190
  __decorate([
168
191
  state()
169
192
  ], FtFileDrop.prototype, "dragging", void 0);
@@ -139,7 +139,7 @@ const k=e.css`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;-
139
139
  * Copyright 2020 Google LLC
140
140
  * SPDX-License-Identifier: Apache-2.0
141
141
  */
142
- class A{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}var S=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,p=t.length-1;p>=0;p--)(o=t[p])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const O={color:r.FtCssVariable.extend("--ft-ripple-color",r.designSystemVariables.colorContent),primaryColor:r.FtCssVariable.extend("--ft-ripple-primary-color",r.FtCssVariable.extend("--ft-ripple-color",r.designSystemVariables.colorPrimary)),secondaryColor:r.FtCssVariable.extend("--ft-ripple-secondary-color",r.FtCssVariable.extend("--ft-ripple-color",r.designSystemVariables.colorSecondary)),opacityContentOnSurfacePressed:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),opacityContentOnSurfaceDragged:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfaceDragged,"Design system")};let T=class extends r.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1}getStyles(){return e.css`
142
+ class A{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}var S=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,p=t.length-1;p>=0;p--)(o=t[p])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const O={color:r.FtCssVariable.extend("--ft-ripple-color",r.designSystemVariables.colorContent),primaryColor:r.FtCssVariable.extend("--ft-ripple-primary-color",r.FtCssVariable.extend("--ft-ripple-color",r.designSystemVariables.colorPrimary)),secondaryColor:r.FtCssVariable.extend("--ft-ripple-secondary-color",r.FtCssVariable.extend("--ft-ripple-color",r.designSystemVariables.colorSecondary)),opacityContentOnSurfacePressed:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),opacityContentOnSurfaceDragged:r.FtCssVariable.external(r.designSystemVariables.opacityContentOnSurfaceDragged,"Design system")};let C=class extends r.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1}getStyles(){return e.css`
143
143
  :host {
144
144
  display: contents;
145
145
 
@@ -172,13 +172,13 @@ class A{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},
172
172
  * Copyright 2017 Google LLC
173
173
  * SPDX-License-Identifier: BSD-3-Clause
174
174
  */
175
- var E;T.elementDefinitions={"mwc-ripple":z},S([i.property({type:Boolean})],T.prototype,"primary",void 0),S([i.property({type:Boolean})],T.prototype,"secondary",void 0),S([i.property({type:Boolean})],T.prototype,"unbounded",void 0),S([i.property({type:Boolean})],T.prototype,"activated",void 0),S([i.property({type:Boolean})],T.prototype,"selected",void 0),S([i.property({type:Boolean})],T.prototype,"disabled",void 0),S([i.query("mwc-ripple")],T.prototype,"mwcRipple",void 0),T=S([r.customElement("ft-ripple")],T);const I=globalThis.trustedTypes,_=I?I.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,D="?"+C,j=`<${D}>`,B=document,F=(t="")=>B.createComment(t),R=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,U=/>/g,P=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,G=/'/g,V=/"/g,L=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),K=new WeakMap,X=B.createTreeWalker(B,129,null,!1),Y=(t,e)=>{const i=t.length-1,r=[];let o,a=2===e?"<svg>":"",n=M;for(let e=0;e<i;e++){const i=t[e];let p,c,s=-1,l=0;for(;l<i.length&&(n.lastIndex=l,c=n.exec(i),null!==c);)l=n.lastIndex,n===M?"!--"===c[1]?n=H:void 0!==c[1]?n=U:void 0!==c[2]?(L.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=P):void 0!==c[3]&&(n=P):n===P?">"===c[0]?(n=null!=o?o:M,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,p=c[1],n=void 0===c[3]?P:'"'===c[3]?V:G):n===V||n===G?n=P:n===H||n===U?n=M:(n=P,o=void 0);const d=n===P&&t[e+1].startsWith("/>")?" ":"";a+=n===M?i+j:s>=0?(r.push(p),i.slice(0,s)+"$lit$"+i.slice(s)+C+d):i+C+(-2===s?(r.push(void 0),e):d)}const p=a+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==_?_.createHTML(p):p,r]};class J{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,a=0;const n=t.length-1,p=this.parts,[c,s]=Y(t,e);if(this.el=J.createElement(c,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=X.nextNode())&&p.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=s[a++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);p.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?at:"@"===e[1]?nt:it})}else p.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(L.test(r.tagName)){const t=r.textContent.split(C),e=t.length-1;if(e>0){r.textContent=I?I.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],F()),X.nextNode(),p.push({type:2,index:++o});r.append(t[e],F())}}}else if(8===r.nodeType)if(r.data===D)p.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(C,t+1));)p.push({type:7,index:o}),t+=C.length-1}o++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,r){var o,a,n,p;if(e===q)return e;let c=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const s=R(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,i,r)),void 0!==r?(null!==(n=(p=i)._$Cl)&&void 0!==n?n:p._$Cl=[])[r]=c:i._$Cu=c),void 0!==c&&(e=Q(t,c._$AS(t,e.values),c,r)),e}class tt{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:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);X.currentNode=o;let a=X.nextNode(),n=0,p=0,c=r[0];for(;void 0!==c;){if(n===c.index){let e;2===c.type?e=new et(a,a.nextSibling,this,t):1===c.type?e=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(e=new pt(a,this,t)),this.v.push(e),c=r[++p]}n!==(null==c?void 0:c.index)&&(a=X.nextNode(),n++)}return o}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 et{constructor(t,e,i,r){var o;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}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=Q(this,t,e),R(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==q&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return N(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&R(this._$AH)?this._$AA.nextSibling.data=t:this.S(B.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=J.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new tt(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new J(t)),e}A(t){N(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new et(this.M(F()),this.M(F()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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 it{constructor(t,e,i,r,o){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let a=!1;if(void 0===o)t=Q(this,t,e,0),a=!R(t)||t!==this._$AH&&t!==q,a&&(this._$AH=t);else{const r=t;let n,p;for(t=o[0],n=0;n<o.length-1;n++)p=Q(this,r[i+n],e,n),p===q&&(p=this._$AH[n]),a||(a=!R(p)||p!==this._$AH[n]),p===W?t=W:t!==W&&(t+=(null!=p?p:"")+o[n+1]),this._$AH[n]=p}a&&!r&&this.k(t)}k(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends it{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===W?void 0:t}}const ot=I?I.emptyScript:"";class at extends it{constructor(){super(...arguments),this.type=4}k(t){t&&t!==W?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class nt extends it{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Q(this,t,e,0))&&void 0!==i?i:W)===q)return;const r=this._$AH,o=t===W&&r!==W||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==W&&(r===W||o);o&&this.element.removeEventListener(this.name,this,r),a&&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 pt{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){Q(this,t)}}const ct=window.litHtmlPolyfillSupport;null==ct||ct(J,et),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?E:globalThis.litHtmlVersions=[]).push("2.1.3");
175
+ var T;C.elementDefinitions={"mwc-ripple":z},S([i.property({type:Boolean})],C.prototype,"primary",void 0),S([i.property({type:Boolean})],C.prototype,"secondary",void 0),S([i.property({type:Boolean})],C.prototype,"unbounded",void 0),S([i.property({type:Boolean})],C.prototype,"activated",void 0),S([i.property({type:Boolean})],C.prototype,"selected",void 0),S([i.property({type:Boolean})],C.prototype,"disabled",void 0),S([i.query("mwc-ripple")],C.prototype,"mwcRipple",void 0),C=S([r.customElement("ft-ripple")],C);const I=globalThis.trustedTypes,E=I?I.createPolicy("lit-html",{createHTML:t=>t}):void 0,_=`lit$${(Math.random()+"").slice(9)}$`,D="?"+_,B=`<${D}>`,j=document,R=(t="")=>j.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,U=/>/g,P=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,G=/'/g,V=/"/g,L=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),K=new WeakMap,X=j.createTreeWalker(j,129,null,!1),Y=(t,e)=>{const i=t.length-1,r=[];let o,a=2===e?"<svg>":"",n=M;for(let e=0;e<i;e++){const i=t[e];let p,c,s=-1,l=0;for(;l<i.length&&(n.lastIndex=l,c=n.exec(i),null!==c);)l=n.lastIndex,n===M?"!--"===c[1]?n=H:void 0!==c[1]?n=U:void 0!==c[2]?(L.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=P):void 0!==c[3]&&(n=P):n===P?">"===c[0]?(n=null!=o?o:M,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,p=c[1],n=void 0===c[3]?P:'"'===c[3]?V:G):n===V||n===G?n=P:n===H||n===U?n=M:(n=P,o=void 0);const d=n===P&&t[e+1].startsWith("/>")?" ":"";a+=n===M?i+B:s>=0?(r.push(p),i.slice(0,s)+"$lit$"+i.slice(s)+_+d):i+_+(-2===s?(r.push(void 0),e):d)}const p=a+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(p):p,r]};class J{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,a=0;const n=t.length-1,p=this.parts,[c,s]=Y(t,e);if(this.el=J.createElement(c,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=X.nextNode())&&p.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(_)){const i=s[a++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(_),e=/([.?@])?(.*)/.exec(i);p.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?at:"@"===e[1]?nt:it})}else p.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(L.test(r.tagName)){const t=r.textContent.split(_),e=t.length-1;if(e>0){r.textContent=I?I.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],R()),X.nextNode(),p.push({type:2,index:++o});r.append(t[e],R())}}}else if(8===r.nodeType)if(r.data===D)p.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(_,t+1));)p.push({type:7,index:o}),t+=_.length-1}o++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,r){var o,a,n,p;if(e===q)return e;let c=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const s=F(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,i,r)),void 0!==r?(null!==(n=(p=i)._$Cl)&&void 0!==n?n:p._$Cl=[])[r]=c:i._$Cu=c),void 0!==c&&(e=Q(t,c._$AS(t,e.values),c,r)),e}class tt{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:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:j).importNode(i,!0);X.currentNode=o;let a=X.nextNode(),n=0,p=0,c=r[0];for(;void 0!==c;){if(n===c.index){let e;2===c.type?e=new et(a,a.nextSibling,this,t):1===c.type?e=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(e=new pt(a,this,t)),this.v.push(e),c=r[++p]}n!==(null==c?void 0:c.index)&&(a=X.nextNode(),n++)}return o}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 et{constructor(t,e,i,r){var o;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}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=Q(this,t,e),F(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==q&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return N(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&F(this._$AH)?this._$AA.nextSibling.data=t:this.S(j.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=J.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new tt(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new J(t)),e}A(t){N(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new et(this.M(R()),this.M(R()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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 it{constructor(t,e,i,r,o){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let a=!1;if(void 0===o)t=Q(this,t,e,0),a=!F(t)||t!==this._$AH&&t!==q,a&&(this._$AH=t);else{const r=t;let n,p;for(t=o[0],n=0;n<o.length-1;n++)p=Q(this,r[i+n],e,n),p===q&&(p=this._$AH[n]),a||(a=!F(p)||p!==this._$AH[n]),p===W?t=W:t!==W&&(t+=(null!=p?p:"")+o[n+1]),this._$AH[n]=p}a&&!r&&this.k(t)}k(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends it{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===W?void 0:t}}const ot=I?I.emptyScript:"";class at extends it{constructor(){super(...arguments),this.type=4}k(t){t&&t!==W?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class nt extends it{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Q(this,t,e,0))&&void 0!==i?i:W)===q)return;const r=this._$AH,o=t===W&&r!==W||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==W&&(r===W||o);o&&this.element.removeEventListener(this.name,this,r),a&&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 pt{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){Q(this,t)}}const ct=window.litHtmlPolyfillSupport;null==ct||ct(J,et),(null!==(T=globalThis.litHtmlVersions)&&void 0!==T?T:globalThis.litHtmlVersions=[]).push("2.1.3");
176
176
  /**
177
177
  * @license
178
178
  * Copyright 2020 Google LLC
179
179
  * SPDX-License-Identifier: BSD-3-Clause
180
180
  */
181
- const st=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.length;let a,n;const p=[],c=[];let s,l=0,d=!1;for(;l<o;){for(s=e[l];l<o&&void 0!==(n=i[l],a=null===(r=n)||void 0===r?void 0:r._$litStatic$);)s+=a+e[++l],d=!0;c.push(n),p.push(s),l++}if(l===o&&p.push(e[o]),d){const t=p.join("$$lit$$");void 0===(e=lt.get(t))&&(p.raw=p,lt.set(t,e=p)),i=c}return t(e,...i)})(Z);var ft,ht=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,p=t.length-1;p>=0;p--)(o=t[p])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>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"}(ft||(ft={}));const ut=r.FtCssVariable.extend("--ft-typography-font-family",r.designSystemVariables.titleFont),mt=r.FtCssVariable.extend("--ft-typography-font-family",r.designSystemVariables.contentFont),yt={fontFamily:mt,fontSize:r.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:r.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:r.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:r.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:r.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},gt=r.FtCssVariable.extend("--ft-typography-title-font-family",ut),vt=r.FtCssVariable.extend("--ft-typography-title-font-size",yt.fontSize,"20px"),bt=r.FtCssVariable.extend("--ft-typography-title-font-weight",yt.fontWeight,"normal"),$t=r.FtCssVariable.extend("--ft-typography-title-letter-spacing",yt.letterSpacing,"0.15px"),xt=r.FtCssVariable.extend("--ft-typography-title-line-height",yt.lineHeight,"24px"),wt=r.FtCssVariable.extend("--ft-typography-title-text-transform",yt.textTransform,"inherit"),kt=r.FtCssVariable.extend("--ft-typography-title-dense-font-family",ut),zt=r.FtCssVariable.extend("--ft-typography-title-dense-font-size",yt.fontSize,"14px"),At=r.FtCssVariable.extend("--ft-typography-title-dense-font-weight",yt.fontWeight,"normal"),St=r.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",yt.letterSpacing,"0.105px"),Ot=r.FtCssVariable.extend("--ft-typography-title-dense-line-height",yt.lineHeight,"24px"),Tt=r.FtCssVariable.extend("--ft-typography-title-dense-text-transform",yt.textTransform,"inherit"),Et=r.FtCssVariable.extend("--ft-typography-subtitle1-font-family",mt),It=r.FtCssVariable.extend("--ft-typography-subtitle1-font-size",yt.fontSize,"16px"),_t=r.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",yt.fontWeight,"600"),Ct=r.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",yt.letterSpacing,"0.144px"),Dt=r.FtCssVariable.extend("--ft-typography-subtitle1-line-height",yt.lineHeight,"24px"),jt=r.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",yt.textTransform,"inherit"),Bt=r.FtCssVariable.extend("--ft-typography-subtitle2-font-family",mt),Ft=r.FtCssVariable.extend("--ft-typography-subtitle2-font-size",yt.fontSize,"14px"),Rt=r.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",yt.fontWeight,"normal"),Nt=r.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",yt.letterSpacing,"0.098px"),Mt=r.FtCssVariable.extend("--ft-typography-subtitle2-line-height",yt.lineHeight,"24px"),Ht=r.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",yt.textTransform,"inherit"),Ut=r.FtCssVariable.extend("--ft-typography-body1-font-family",mt),Pt=r.FtCssVariable.extend("--ft-typography-body1-font-size",yt.fontSize,"16px"),Gt=r.FtCssVariable.extend("--ft-typography-body1-font-weight",yt.fontWeight,"normal"),Vt=r.FtCssVariable.extend("--ft-typography-body1-letter-spacing",yt.letterSpacing,"0.496px"),Lt=r.FtCssVariable.extend("--ft-typography-body1-line-height",yt.lineHeight,"24px"),Zt=r.FtCssVariable.extend("--ft-typography-body1-text-transform",yt.textTransform,"inherit"),qt={fontFamily:r.FtCssVariable.extend("--ft-typography-body2-font-family",mt),fontSize:r.FtCssVariable.extend("--ft-typography-body2-font-size",yt.fontSize,"14px"),fontWeight:r.FtCssVariable.extend("--ft-typography-body2-font-weight",yt.fontWeight,"normal"),letterSpacing:r.FtCssVariable.extend("--ft-typography-body2-letter-spacing",yt.letterSpacing,"0.252px"),lineHeight:r.FtCssVariable.extend("--ft-typography-body2-line-height",yt.lineHeight,"20px"),textTransform:r.FtCssVariable.extend("--ft-typography-body2-text-transform",yt.textTransform,"inherit")},Wt=r.FtCssVariable.extend("--ft-typography-caption-font-family",mt),Kt=r.FtCssVariable.extend("--ft-typography-caption-font-size",yt.fontSize,"12px"),Xt=r.FtCssVariable.extend("--ft-typography-caption-font-weight",yt.fontWeight,"normal"),Yt=r.FtCssVariable.extend("--ft-typography-caption-letter-spacing",yt.letterSpacing,"0.396px"),Jt=r.FtCssVariable.extend("--ft-typography-caption-line-height",yt.lineHeight,"16px"),Qt=r.FtCssVariable.extend("--ft-typography-caption-text-transform",yt.textTransform,"inherit"),te=r.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",mt),ee=r.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",yt.fontSize,"10px"),ie=r.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",yt.fontWeight,"normal"),re=r.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",yt.letterSpacing,"0.33px"),oe=r.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",yt.lineHeight,"16px"),ae=r.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",yt.textTransform,"inherit"),ne=r.FtCssVariable.extend("--ft-typography-overline-font-family",mt),pe=r.FtCssVariable.extend("--ft-typography-overline-font-size",yt.fontSize,"10px"),ce=r.FtCssVariable.extend("--ft-typography-overline-font-weight",yt.fontWeight,"normal"),se=r.FtCssVariable.extend("--ft-typography-overline-letter-spacing",yt.letterSpacing,"1.5px"),le=r.FtCssVariable.extend("--ft-typography-overline-line-height",yt.lineHeight,"16px"),de=r.FtCssVariable.extend("--ft-typography-overline-text-transform",yt.textTransform,"uppercase"),fe=r.FtCssVariable.extend("--ft-typography-button-font-family",mt),he=r.FtCssVariable.extend("--ft-typography-button-font-size",yt.fontSize,"14px"),ue=r.FtCssVariable.extend("--ft-typography-button-font-weight",yt.fontWeight,"600"),me=r.FtCssVariable.extend("--ft-typography-button-letter-spacing",yt.letterSpacing,"1.246px"),ye=r.FtCssVariable.extend("--ft-typography-button-line-height",yt.lineHeight,"16px"),ge=r.FtCssVariable.extend("--ft-typography-button-text-transform",yt.textTransform,"uppercase"),ve=e.css`
181
+ const st=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.length;let a,n;const p=[],c=[];let s,l=0,d=!1;for(;l<o;){for(s=e[l];l<o&&void 0!==(n=i[l],a=null===(r=n)||void 0===r?void 0:r._$litStatic$);)s+=a+e[++l],d=!0;c.push(n),p.push(s),l++}if(l===o&&p.push(e[o]),d){const t=p.join("$$lit$$");void 0===(e=lt.get(t))&&(p.raw=p,lt.set(t,e=p)),i=c}return t(e,...i)})(Z);var ft,ht=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,p=t.length-1;p>=0;p--)(o=t[p])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>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"}(ft||(ft={}));const ut=r.FtCssVariable.extend("--ft-typography-font-family",r.designSystemVariables.titleFont),mt=r.FtCssVariable.extend("--ft-typography-font-family",r.designSystemVariables.contentFont),yt={fontFamily:mt,fontSize:r.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:r.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:r.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:r.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:r.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},gt=r.FtCssVariable.extend("--ft-typography-title-font-family",ut),vt=r.FtCssVariable.extend("--ft-typography-title-font-size",yt.fontSize,"20px"),bt=r.FtCssVariable.extend("--ft-typography-title-font-weight",yt.fontWeight,"normal"),$t=r.FtCssVariable.extend("--ft-typography-title-letter-spacing",yt.letterSpacing,"0.15px"),xt=r.FtCssVariable.extend("--ft-typography-title-line-height",yt.lineHeight,"24px"),wt=r.FtCssVariable.extend("--ft-typography-title-text-transform",yt.textTransform,"inherit"),kt=r.FtCssVariable.extend("--ft-typography-title-dense-font-family",ut),zt=r.FtCssVariable.extend("--ft-typography-title-dense-font-size",yt.fontSize,"14px"),At=r.FtCssVariable.extend("--ft-typography-title-dense-font-weight",yt.fontWeight,"normal"),St=r.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",yt.letterSpacing,"0.105px"),Ot=r.FtCssVariable.extend("--ft-typography-title-dense-line-height",yt.lineHeight,"24px"),Ct=r.FtCssVariable.extend("--ft-typography-title-dense-text-transform",yt.textTransform,"inherit"),Tt=r.FtCssVariable.extend("--ft-typography-subtitle1-font-family",mt),It=r.FtCssVariable.extend("--ft-typography-subtitle1-font-size",yt.fontSize,"16px"),Et=r.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",yt.fontWeight,"600"),_t=r.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",yt.letterSpacing,"0.144px"),Dt=r.FtCssVariable.extend("--ft-typography-subtitle1-line-height",yt.lineHeight,"24px"),Bt=r.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",yt.textTransform,"inherit"),jt=r.FtCssVariable.extend("--ft-typography-subtitle2-font-family",mt),Rt=r.FtCssVariable.extend("--ft-typography-subtitle2-font-size",yt.fontSize,"14px"),Ft=r.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",yt.fontWeight,"normal"),Nt=r.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",yt.letterSpacing,"0.098px"),Mt=r.FtCssVariable.extend("--ft-typography-subtitle2-line-height",yt.lineHeight,"24px"),Ht=r.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",yt.textTransform,"inherit"),Ut=r.FtCssVariable.extend("--ft-typography-body1-font-family",mt),Pt=r.FtCssVariable.extend("--ft-typography-body1-font-size",yt.fontSize,"16px"),Gt=r.FtCssVariable.extend("--ft-typography-body1-font-weight",yt.fontWeight,"normal"),Vt=r.FtCssVariable.extend("--ft-typography-body1-letter-spacing",yt.letterSpacing,"0.496px"),Lt=r.FtCssVariable.extend("--ft-typography-body1-line-height",yt.lineHeight,"24px"),Zt=r.FtCssVariable.extend("--ft-typography-body1-text-transform",yt.textTransform,"inherit"),qt={fontFamily:r.FtCssVariable.extend("--ft-typography-body2-font-family",mt),fontSize:r.FtCssVariable.extend("--ft-typography-body2-font-size",yt.fontSize,"14px"),fontWeight:r.FtCssVariable.extend("--ft-typography-body2-font-weight",yt.fontWeight,"normal"),letterSpacing:r.FtCssVariable.extend("--ft-typography-body2-letter-spacing",yt.letterSpacing,"0.252px"),lineHeight:r.FtCssVariable.extend("--ft-typography-body2-line-height",yt.lineHeight,"20px"),textTransform:r.FtCssVariable.extend("--ft-typography-body2-text-transform",yt.textTransform,"inherit")},Wt=r.FtCssVariable.extend("--ft-typography-caption-font-family",mt),Kt=r.FtCssVariable.extend("--ft-typography-caption-font-size",yt.fontSize,"12px"),Xt=r.FtCssVariable.extend("--ft-typography-caption-font-weight",yt.fontWeight,"normal"),Yt=r.FtCssVariable.extend("--ft-typography-caption-letter-spacing",yt.letterSpacing,"0.396px"),Jt=r.FtCssVariable.extend("--ft-typography-caption-line-height",yt.lineHeight,"16px"),Qt=r.FtCssVariable.extend("--ft-typography-caption-text-transform",yt.textTransform,"inherit"),te=r.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",mt),ee=r.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",yt.fontSize,"10px"),ie=r.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",yt.fontWeight,"normal"),re=r.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",yt.letterSpacing,"0.33px"),oe=r.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",yt.lineHeight,"16px"),ae=r.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",yt.textTransform,"inherit"),ne=r.FtCssVariable.extend("--ft-typography-overline-font-family",mt),pe=r.FtCssVariable.extend("--ft-typography-overline-font-size",yt.fontSize,"10px"),ce=r.FtCssVariable.extend("--ft-typography-overline-font-weight",yt.fontWeight,"normal"),se=r.FtCssVariable.extend("--ft-typography-overline-letter-spacing",yt.letterSpacing,"1.5px"),le=r.FtCssVariable.extend("--ft-typography-overline-line-height",yt.lineHeight,"16px"),de=r.FtCssVariable.extend("--ft-typography-overline-text-transform",yt.textTransform,"uppercase"),fe=r.FtCssVariable.extend("--ft-typography-button-font-family",mt),he=r.FtCssVariable.extend("--ft-typography-button-font-size",yt.fontSize,"14px"),ue=r.FtCssVariable.extend("--ft-typography-button-font-weight",yt.fontWeight,"600"),me=r.FtCssVariable.extend("--ft-typography-button-letter-spacing",yt.letterSpacing,"1.246px"),ye=r.FtCssVariable.extend("--ft-typography-button-line-height",yt.lineHeight,"16px"),ge=r.FtCssVariable.extend("--ft-typography-button-text-transform",yt.textTransform,"uppercase"),ve=e.css`
182
182
  .ft-typography--title {
183
183
  font-family: ${gt};
184
184
  font-size: ${vt};
@@ -194,22 +194,22 @@ const st=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.leng
194
194
  font-weight: ${At};
195
195
  letter-spacing: ${St};
196
196
  line-height: ${Ot};
197
- text-transform: ${Tt};
197
+ text-transform: ${Ct};
198
198
  }
199
199
  `,$e=e.css`
200
200
  .ft-typography--subtitle1 {
201
- font-family: ${Et};
201
+ font-family: ${Tt};
202
202
  font-size: ${It};
203
- font-weight: ${_t};
204
- letter-spacing: ${Ct};
203
+ font-weight: ${Et};
204
+ letter-spacing: ${_t};
205
205
  line-height: ${Dt};
206
- text-transform: ${jt};
206
+ text-transform: ${Bt};
207
207
  }
208
208
  `,xe=e.css`
209
209
  .ft-typography--subtitle2 {
210
- font-family: ${Bt};
211
- font-size: ${Ft};
212
- font-weight: ${Rt};
210
+ font-family: ${jt};
211
+ font-size: ${Rt};
212
+ font-weight: ${Ft};
213
213
  letter-spacing: ${Nt};
214
214
  line-height: ${Mt};
215
215
  text-transform: ${Ht};
@@ -269,7 +269,7 @@ const st=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.leng
269
269
  line-height: ${ye};
270
270
  text-transform: ${ge};
271
271
  }
272
- `;let Te=class extends r.FtLitElement{constructor(){super(...arguments),this.variant=ft.body1}getStyles(){return[ve,be,$e,xe,we,ke,ze,Ae,Se,Oe,e.css`
272
+ `;let Ce=class extends r.FtLitElement{constructor(){super(...arguments),this.variant=ft.body1}getStyles(){return[ve,be,$e,xe,we,ke,ze,Ae,Se,Oe,e.css`
273
273
  .ft-typography {
274
274
  vertical-align: inherit;
275
275
  }
@@ -280,18 +280,18 @@ const st=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.leng
280
280
  </${st(this.element)}>
281
281
  `:dt`
282
282
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
283
- `}};ht([i.property()],Te.prototype,"element",void 0),ht([i.property()],Te.prototype,"variant",void 0),Te=ht([r.customElement("ft-typography")],Te);
283
+ `}};ht([i.property()],Ce.prototype,"element",void 0),ht([i.property()],Ce.prototype,"variant",void 0),Ce=ht([r.customElement("ft-typography")],Ce);
284
284
  /**
285
285
  * @license
286
286
  * Copyright 2021 Google LLC
287
287
  * SPDX-LIcense-Identifier: Apache-2.0
288
288
  */
289
- const Ee=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`
289
+ const Te=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`
290
290
  /**
291
291
  * @license
292
292
  * Copyright 2018 Google LLC
293
293
  * SPDX-License-Identifier: Apache-2.0
294
- */;let Ie=class extends e.LitElement{render(){return e.html`<span><slot></slot></span>`}};Ie.styles=[Ee],Ie=c([i.customElement("mwc-icon")],Ie);var _e=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,p=t.length-1;p>=0;p--)(o=t[p])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const Ce=r.FtCssVariable.extend("--ft-chip-color",r.designSystemVariables.colorOnSurface),De={backgroundColor:r.FtCssVariable.extend("--ft-chip-background-color",r.designSystemVariables.colorSurface),color:Ce,fontSize:r.FtCssVariable.extend("--ft-chip-font-size",qt.fontSize),iconSize:r.FtCssVariable.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:r.FtCssVariable.extend("--ft-chip-ripple-color",Ce),horizontalPadding:r.FtCssVariable.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:r.FtCssVariable.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:r.FtCssVariable.external(r.designSystemVariables.colorOutline,"Design system"),opacityDisabled:r.FtCssVariable.external(r.designSystemVariables.colorOpacityDisabled,"Design system")},je=r.FtCssVariable.extend("--ft-chip-highlighted-color",r.FtCssVariable.extend("--ft-chip-color",r.designSystemVariables.colorOnPrimary)),Be={backgroundColor:r.FtCssVariable.extend("--ft-chip-highlighted-background-color",r.FtCssVariable.extend("--ft-chip-background-color",r.designSystemVariables.colorPrimary)),color:je,rippleColor:r.FtCssVariable.extend("--ft-chip-highlighted-ripple-color",je)},Fe=r.FtCssVariable.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Re=r.FtCssVariable.create("--ft-chip-dense-vertical-padding","SIZE","4px");class Ne extends CustomEvent{constructor(){super("icon-click")}}let Me=class extends r.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}getStyles(){return[r.noTextSelect,e.css`
294
+ */;let Ie=class extends e.LitElement{render(){return e.html`<span><slot></slot></span>`}};Ie.styles=[Te],Ie=c([i.customElement("mwc-icon")],Ie);var Ee=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,p=t.length-1;p>=0;p--)(o=t[p])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const _e=r.FtCssVariable.extend("--ft-chip-color",r.designSystemVariables.colorOnSurface),De={backgroundColor:r.FtCssVariable.extend("--ft-chip-background-color",r.designSystemVariables.colorSurface),color:_e,fontSize:r.FtCssVariable.extend("--ft-chip-font-size",qt.fontSize),iconSize:r.FtCssVariable.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:r.FtCssVariable.extend("--ft-chip-ripple-color",_e),horizontalPadding:r.FtCssVariable.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:r.FtCssVariable.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:r.FtCssVariable.external(r.designSystemVariables.colorOutline,"Design system"),opacityDisabled:r.FtCssVariable.external(r.designSystemVariables.colorOpacityDisabled,"Design system")},Be=r.FtCssVariable.extend("--ft-chip-highlighted-color",r.FtCssVariable.extend("--ft-chip-color",r.designSystemVariables.colorOnPrimary)),je={backgroundColor:r.FtCssVariable.extend("--ft-chip-highlighted-background-color",r.FtCssVariable.extend("--ft-chip-background-color",r.designSystemVariables.colorPrimary)),color:Be,rippleColor:r.FtCssVariable.extend("--ft-chip-highlighted-ripple-color",Be)},Re=r.FtCssVariable.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Fe=r.FtCssVariable.create("--ft-chip-dense-vertical-padding","SIZE","4px");class Ne extends CustomEvent{constructor(){super("icon-click")}}let Me=class extends r.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}getStyles(){return[r.noTextSelect,e.css`
295
295
  :host {
296
296
  display: inline-block;
297
297
  max-width: 100%;
@@ -325,8 +325,8 @@ const Ee=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
325
325
 
326
326
  .ft-chip--dense {
327
327
  --ft-chip-internal-icon-padding: 3px;
328
- --ft-chip-internal-vertical-padding: ${Re};
329
- --ft-chip-internal-horizontal-padding: ${Fe};
328
+ --ft-chip-internal-vertical-padding: ${Fe};
329
+ --ft-chip-internal-horizontal-padding: ${Re};
330
330
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
331
331
  }
332
332
 
@@ -344,9 +344,9 @@ const Ee=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
344
344
  .ft-chip--highlighted {
345
345
  border: none;
346
346
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
347
- background-color: ${Be.backgroundColor};
348
- ${r.setVariable(O.color,Be.rippleColor)};
349
- color: ${Be.color};
347
+ background-color: ${je.backgroundColor};
348
+ ${r.setVariable(O.color,je.rippleColor)};
349
+ color: ${je.color};
350
350
  }
351
351
 
352
352
  .ft-chip--clickable {
@@ -430,10 +430,25 @@ const Ee=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
430
430
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
431
431
  <mwc-icon>${this.internalIcon}</mwc-icon>
432
432
  </div>
433
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ne))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ne))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}};Me.elementDefinitions={"ft-ripple":T,"ft-typography":Te,"mwc-icon":Ie},_e([i.property({type:Boolean})],Me.prototype,"highlighted",void 0),_e([i.property({type:Boolean})],Me.prototype,"removable",void 0),_e([i.property({type:Boolean})],Me.prototype,"disabled",void 0),_e([i.property({type:Boolean})],Me.prototype,"clickable",void 0),_e([i.property({type:Boolean})],Me.prototype,"iconClickable",void 0),_e([i.property({type:Boolean})],Me.prototype,"dense",void 0),_e([i.property({type:Boolean})],Me.prototype,"multiLine",void 0),_e([i.property({type:String})],Me.prototype,"label",void 0),_e([i.property({type:String})],Me.prototype,"icon",void 0),_e([i.property({type:Boolean})],Me.prototype,"trailingIcon",void 0),_e([i.query("ft-typography slot")],Me.prototype,"slottedContent",void 0),Me=_e([r.customElement("ft-chip")],Me);var He=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,p=t.length-1;p>=0;p--)(o=t[p])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const Ue={zIndex:r.FtCssVariable.create("--ft-file-drop-z-index","NUMBER","10"),colorSurface:r.FtCssVariable.external(r.designSystemVariables.colorSurface,"Design system"),colorPrimary:r.FtCssVariable.external(r.designSystemVariables.colorPrimary,"Design system"),colorError:r.FtCssVariable.external(r.designSystemVariables.colorError,"Design system")};class Pe extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}}t.FtFileDrop=class extends r.FtLitElement{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.dragging=!1,this.fileError=!1}getStyles(){return e.css`
433
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ne))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ne))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}};Me.elementDefinitions={"ft-ripple":C,"ft-typography":Ce,"mwc-icon":Ie},Ee([i.property({type:Boolean})],Me.prototype,"highlighted",void 0),Ee([i.property({type:Boolean})],Me.prototype,"removable",void 0),Ee([i.property({type:Boolean})],Me.prototype,"disabled",void 0),Ee([i.property({type:Boolean})],Me.prototype,"clickable",void 0),Ee([i.property({type:Boolean})],Me.prototype,"iconClickable",void 0),Ee([i.property({type:Boolean})],Me.prototype,"dense",void 0),Ee([i.property({type:Boolean})],Me.prototype,"multiLine",void 0),Ee([i.property({type:String})],Me.prototype,"label",void 0),Ee([i.property({type:String})],Me.prototype,"icon",void 0),Ee([i.property({type:Boolean})],Me.prototype,"trailingIcon",void 0),Ee([i.query("ft-typography slot")],Me.prototype,"slottedContent",void 0),Me=Ee([r.customElement("ft-chip")],Me);var He=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,p=t.length-1;p>=0;p--)(o=t[p])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const Ue={zIndex:r.FtCssVariable.create("--ft-file-drop-z-index","NUMBER","10"),hintBackgroundColor:r.FtCssVariable.extend("--ft-file-drop-hint-background-color",r.designSystemVariables.colorSurface),hintColor:r.FtCssVariable.extend("--ft-file-drop-hint-color",r.designSystemVariables.colorPrimary),errorColor:r.FtCssVariable.extend("--ft-file-drop-error-color",r.designSystemVariables.colorError),borderRadius:r.FtCssVariable.extend("--ft-file-drop-border-radius",r.designSystemVariables.borderRadiusL),borderWidth:r.FtCssVariable.create("--ft-file-drop-border-width","SIZE","4px"),borderColor:r.FtCssVariable.create("--ft-file-drop-border-color","COLOR","transparent"),visibleBorderColor:r.FtCssVariable.extend("--ft-file-drop-visible-border-color",r.designSystemVariables.colorOutline),activeBorderColor:r.FtCssVariable.extend("--ft-file-drop-active-border-color",r.designSystemVariables.colorPrimary)};class Pe extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}}t.FtFileDrop=class extends r.FtLitElement{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.visible=!1,this.dragging=!1,this.fileError=!1}getStyles(){return e.css`
434
+ :host {
435
+ display: block;
436
+ position: relative;
437
+ }
438
+
434
439
  #container {
435
440
  position: absolute;
436
441
  inset: 0;
442
+ border: dashed ${Ue.borderWidth} ${Ue.borderColor};
443
+ border-radius: ${Ue.borderRadius};
444
+ }
445
+
446
+ #container.visible {
447
+ border-color: ${Ue.visibleBorderColor}
448
+ }
449
+
450
+ #container.dragging {
451
+ border-color: ${Ue.activeBorderColor}
437
452
  }
438
453
 
439
454
  slot {
@@ -458,9 +473,9 @@ const Ee=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
458
473
  z-index: 1;
459
474
  position: absolute;
460
475
  inset: 0;
461
- background-color: ${Ue.colorPrimary};
476
+ background-color: ${Ue.activeBorderColor};
462
477
  opacity: 0.20;
463
- border-radius: 10px;
478
+ border-radius: ${Ue.borderRadius};
464
479
  }
465
480
 
466
481
  #overlay-drop {
@@ -473,8 +488,6 @@ const Ee=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
473
488
  z-index: 1;
474
489
  position: absolute;
475
490
  inset: 0;
476
- border: dashed 4px ${Ue.colorPrimary};
477
- border-radius: 10px;
478
491
  display: flex;
479
492
  align-items: flex-end;
480
493
  justify-content: center;
@@ -482,20 +495,20 @@ const Ee=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
482
495
 
483
496
  #overlay-content ft-chip {
484
497
  margin-bottom: 10%;
485
- ${r.setVariable(De.color,Ue.colorPrimary)};
498
+ ${r.setVariable(De.color,Ue.hintColor)};
486
499
  ${r.setVariable(De.iconSize,"32px")};
487
500
  ${r.setVariable(De.colorOutline,"transparent")};
488
501
  }
489
502
 
490
- ft-chip[icon=error] {
491
- ${r.setVariable(De.color,Ue.colorSurface)};
492
- ${r.setVariable(De.backgroundColor,Ue.colorError)};
503
+ #overlay-content xft-chip[icon=error] {
504
+ ${r.setVariable(De.color,Ue.errorColor)};
505
+ ${r.setVariable(De.backgroundColor,Ue.hintBackgroundColor)};
493
506
  }
494
507
 
495
508
  [hidden] {
496
509
  display: none;
497
510
  }
498
- `}getTemplate(){let t={dragging:this.dragging};return e.html`
511
+ `}getTemplate(){let t={dragging:this.dragging,visible:this.visible};return e.html`
499
512
  <div id="container"
500
513
  class="${o.classMap(t)}"
501
514
  @dragenter=${this.onDragEnter}
@@ -513,4 +526,4 @@ const Ee=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
513
526
  </div>
514
527
  <slot></slot>
515
528
  </div>
516
- `}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let e=t.dataTransfer.files[0];!function(t,e,i){if(0==t.length)return!0;let r=t.replace(/\*/g,".*").replace(/,/g,"|").replace(/\./g,"\\."),o=new RegExp(r),a=e.includes(".")?"."+e.split(".").pop():void 0;return!(!a||!o.test(a))||o.test(i)}(this.accept,e.name,e.type)?(this.fileError=!0,setTimeout((()=>{this.dragging=!1,this.fileError=!1}),2e3)):(this.dragging=!1,this.dispatchEvent(new Pe(e)))}}},t.FtFileDrop.elementDefinitions={"ft-chip":Me},He([i.property()],t.FtFileDrop.prototype,"dropHint",void 0),He([i.property()],t.FtFileDrop.prototype,"accept",void 0),He([i.property()],t.FtFileDrop.prototype,"fileTypeError",void 0),He([i.state()],t.FtFileDrop.prototype,"dragging",void 0),He([i.state()],t.FtFileDrop.prototype,"fileError",void 0),t.FtFileDrop=He([r.customElement("ft-file-drop")],t.FtFileDrop),t.FileDropEvent=Pe,t.FtFileDropCssVariables=Ue,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.wcUtils,ftGlobals.litClassMap,ftGlobals.litStyleMap);
529
+ `}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let e=t.dataTransfer.files[0];!function(t,e,i){if(0==t.length)return!0;let r=t.replace(/\*/g,".*").replace(/,/g,"|").replace(/\./g,"\\."),o=new RegExp(r),a=e.includes(".")?"."+e.split(".").pop():void 0;return!(!a||!o.test(a))||o.test(i)}(this.accept,e.name,e.type)?(this.fileError=!0,setTimeout((()=>{this.dragging=!1,this.fileError=!1}),2e3)):(this.dragging=!1,this.dispatchEvent(new Pe(e)))}}},t.FtFileDrop.elementDefinitions={"ft-chip":Me},He([i.property()],t.FtFileDrop.prototype,"dropHint",void 0),He([i.property()],t.FtFileDrop.prototype,"accept",void 0),He([i.property()],t.FtFileDrop.prototype,"fileTypeError",void 0),He([i.property({type:Boolean})],t.FtFileDrop.prototype,"visible",void 0),He([i.state()],t.FtFileDrop.prototype,"dragging",void 0),He([i.state()],t.FtFileDrop.prototype,"fileError",void 0),t.FtFileDrop=He([r.customElement("ft-file-drop")],t.FtFileDrop),t.FileDropEvent=Pe,t.FtFileDropCssVariables=Ue,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.wcUtils,ftGlobals.litClassMap,ftGlobals.litStyleMap);
@@ -15,7 +15,7 @@ const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
17
  */
18
- var v;y.finalized=!0,y.elementProperties=new Map,y.elementStyles=[],y.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:y}),(null!==(p=globalThis.reactiveElementVersions)&&void 0!==p?p:globalThis.reactiveElementVersions=[]).push("1.2.2");const g=globalThis.trustedTypes,b=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,$=`<${w}>`,O=document,S=(t="")=>O.createComment(t),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,E=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,N=/>/g,z=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,A=/'/g,M=/"/g,T=/^(?:script|style|textarea|title)$/i,F=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),U=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),_=new WeakMap,D=O.createTreeWalker(O,129,null,!1),B=(t,e)=>{const i=t.length-1,r=[];let o,n=2===e?"<svg>":"",a=C;for(let e=0;e<i;e++){const i=t[e];let s,c,p=-1,l=0;for(;l<i.length&&(a.lastIndex=l,c=a.exec(i),null!==c);)l=a.lastIndex,a===C?"!--"===c[1]?a=R:void 0!==c[1]?a=N:void 0!==c[2]?(T.test(c[2])&&(o=RegExp("</"+c[2],"g")),a=z):void 0!==c[3]&&(a=z):a===z?">"===c[0]?(a=null!=o?o:C,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?z:'"'===c[3]?M:A):a===M||a===A?a=z:a===R||a===N?a=C:(a=z,o=void 0);const d=a===z&&t[e+1].startsWith("/>")?" ":"";n+=a===C?i+$:p>=0?(r.push(s),i.slice(0,p)+"$lit$"+i.slice(p)+x+d):i+x+(-2===p?(r.push(void 0),e):d)}const s=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==b?b.createHTML(s):s,r]};class I{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,n=0;const a=t.length-1,s=this.parts,[c,p]=B(t,e);if(this.el=I.createElement(c,i),D.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=D.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(x)){const i=p[n++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(x),e=/([.?@])?(.*)/.exec(i);s.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?V:"?"===e[1]?Z:"@"===e[1]?G:W})}else s.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(T.test(r.tagName)){const t=r.textContent.split(x),e=t.length-1;if(e>0){r.textContent=g?g.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],S()),D.nextNode(),s.push({type:2,index:++o});r.append(t[e],S())}}}else if(8===r.nodeType)if(r.data===w)s.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)s.push({type:7,index:o}),t+=x.length-1}o++}}static createElement(t,e){const i=O.createElement("template");return i.innerHTML=t,i}}function L(t,e,i=t,r){var o,n,a,s;if(e===U)return e;let c=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const p=k(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(n=null==c?void 0:c._$AO)||void 0===n||n.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,i,r)),void 0!==r?(null!==(a=(s=i)._$Cl)&&void 0!==a?a:s._$Cl=[])[r]=c:i._$Cu=c),void 0!==c&&(e=L(t,c._$AS(t,e.values),c,r)),e}class P{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:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:O).importNode(i,!0);D.currentNode=o;let n=D.nextNode(),a=0,s=0,c=r[0];for(;void 0!==c;){if(a===c.index){let e;2===c.type?e=new H(n,n.nextSibling,this,t):1===c.type?e=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(e=new q(n,this,t)),this.v.push(e),c=r[++s]}a!==(null==c?void 0:c.index)&&(n=D.nextNode(),a++)}return o}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 H{constructor(t,e,i,r){var o;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}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),k(t)?t===j||null==t||""===t?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==U&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return E(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==j&&k(this._$AH)?this._$AA.nextSibling.data=t:this.S(O.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=I.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new P(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=_.get(t.strings);return void 0===e&&_.set(t.strings,e=new I(t)),e}A(t){E(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new H(this.M(S()),this.M(S()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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 W{constructor(t,e,i,r,o){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let n=!1;if(void 0===o)t=L(this,t,e,0),n=!k(t)||t!==this._$AH&&t!==U,n&&(this._$AH=t);else{const r=t;let a,s;for(t=o[0],a=0;a<o.length-1;a++)s=L(this,r[i+a],e,a),s===U&&(s=this._$AH[a]),n||(n=!k(s)||s!==this._$AH[a]),s===j?t=j:t!==j&&(t+=(null!=s?s:"")+o[a+1]),this._$AH[a]=s}n&&!r&&this.k(t)}k(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends W{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===j?void 0:t}}const K=g?g.emptyScript:"";class Z extends W{constructor(){super(...arguments),this.type=4}k(t){t&&t!==j?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class G extends W{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=L(this,t,e,0))&&void 0!==i?i:j)===U)return;const r=this._$AH,o=t===j&&r!==j||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==j&&(r===j||o);o&&this.element.removeEventListener(this.name,this,r),n&&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 q{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 X=window.litHtmlPolyfillSupport;
18
+ var v;y.finalized=!0,y.elementProperties=new Map,y.elementStyles=[],y.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:y}),(null!==(p=globalThis.reactiveElementVersions)&&void 0!==p?p:globalThis.reactiveElementVersions=[]).push("1.2.2");const g=globalThis.trustedTypes,b=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,$=`<${w}>`,O=document,S=(t="")=>O.createComment(t),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,E=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,N=/>/g,z=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,A=/'/g,M=/"/g,T=/^(?:script|style|textarea|title)$/i,F=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),U=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),_=new WeakMap,B=O.createTreeWalker(O,129,null,!1),D=(t,e)=>{const i=t.length-1,r=[];let o,n=2===e?"<svg>":"",a=E;for(let e=0;e<i;e++){const i=t[e];let s,c,p=-1,l=0;for(;l<i.length&&(a.lastIndex=l,c=a.exec(i),null!==c);)l=a.lastIndex,a===E?"!--"===c[1]?a=R:void 0!==c[1]?a=N:void 0!==c[2]?(T.test(c[2])&&(o=RegExp("</"+c[2],"g")),a=z):void 0!==c[3]&&(a=z):a===z?">"===c[0]?(a=null!=o?o:E,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?z:'"'===c[3]?M:A):a===M||a===A?a=z:a===R||a===N?a=E:(a=z,o=void 0);const d=a===z&&t[e+1].startsWith("/>")?" ":"";n+=a===E?i+$:p>=0?(r.push(s),i.slice(0,p)+"$lit$"+i.slice(p)+x+d):i+x+(-2===p?(r.push(void 0),e):d)}const s=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==b?b.createHTML(s):s,r]};class I{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,n=0;const a=t.length-1,s=this.parts,[c,p]=D(t,e);if(this.el=I.createElement(c,i),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=B.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(x)){const i=p[n++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(x),e=/([.?@])?(.*)/.exec(i);s.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?V:"?"===e[1]?Z:"@"===e[1]?G:W})}else s.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(T.test(r.tagName)){const t=r.textContent.split(x),e=t.length-1;if(e>0){r.textContent=g?g.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],S()),B.nextNode(),s.push({type:2,index:++o});r.append(t[e],S())}}}else if(8===r.nodeType)if(r.data===w)s.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)s.push({type:7,index:o}),t+=x.length-1}o++}}static createElement(t,e){const i=O.createElement("template");return i.innerHTML=t,i}}function L(t,e,i=t,r){var o,n,a,s;if(e===U)return e;let c=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const p=k(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(n=null==c?void 0:c._$AO)||void 0===n||n.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,i,r)),void 0!==r?(null!==(a=(s=i)._$Cl)&&void 0!==a?a:s._$Cl=[])[r]=c:i._$Cu=c),void 0!==c&&(e=L(t,c._$AS(t,e.values),c,r)),e}class P{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:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:O).importNode(i,!0);B.currentNode=o;let n=B.nextNode(),a=0,s=0,c=r[0];for(;void 0!==c;){if(a===c.index){let e;2===c.type?e=new H(n,n.nextSibling,this,t):1===c.type?e=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(e=new q(n,this,t)),this.v.push(e),c=r[++s]}a!==(null==c?void 0:c.index)&&(n=B.nextNode(),a++)}return o}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 H{constructor(t,e,i,r){var o;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}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),k(t)?t===j||null==t||""===t?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==U&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return C(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==j&&k(this._$AH)?this._$AA.nextSibling.data=t:this.S(O.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=I.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new P(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=_.get(t.strings);return void 0===e&&_.set(t.strings,e=new I(t)),e}A(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new H(this.M(S()),this.M(S()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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 W{constructor(t,e,i,r,o){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let n=!1;if(void 0===o)t=L(this,t,e,0),n=!k(t)||t!==this._$AH&&t!==U,n&&(this._$AH=t);else{const r=t;let a,s;for(t=o[0],a=0;a<o.length-1;a++)s=L(this,r[i+a],e,a),s===U&&(s=this._$AH[a]),n||(n=!k(s)||s!==this._$AH[a]),s===j?t=j:t!==j&&(t+=(null!=s?s:"")+o[a+1]),this._$AH[a]=s}n&&!r&&this.k(t)}k(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends W{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===j?void 0:t}}const K=g?g.emptyScript:"";class Z extends W{constructor(){super(...arguments),this.type=4}k(t){t&&t!==j?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class G extends W{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=L(this,t,e,0))&&void 0!==i?i:j)===U)return;const r=this._$AH,o=t===j&&r!==j||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==j&&(r===j||o);o&&this.element.removeEventListener(this.name,this,r),n&&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 q{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 X=window.litHtmlPolyfillSupport;
19
19
  /**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
@@ -53,7 +53,7 @@ function nt(t,e){return(({finisher:t,descriptor:e})=>(i,r)=>{var o;if(void 0===r
53
53
  * @license
54
54
  * Copyright 2021 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */var at;null===(at=window.HTMLSlotElement)||void 0===at||at.prototype.assignedElements,function(){function t(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}function e(e){var i="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return i?i.call(e):{next:t(e)}}function i(t){if(!(t instanceof Array)){t=e(t);for(var i,r=[];!(i=t.next()).done;)r.push(i.value);t=r}return t}var r="function"==typeof Object.create?Object.create:function(t){function e(){}return e.prototype=t,new e};var o,n=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var i=t[e];if(i&&i.Math==Math)return i}throw Error("Cannot find global object")}(this),a=function(){if("undefined"!=typeof Reflect&&Reflect.construct){if(function(){function t(){}return Reflect.construct(t,[],(function(){})),new t instanceof t}())return Reflect.construct;var t=Reflect.construct;return function(e,i,r){return e=t(e,i),r&&Reflect.setPrototypeOf(e,r.prototype),e}}return function(t,e,i){return void 0===i&&(i=t),i=r(i.prototype||Object.prototype),Function.prototype.apply.call(t,i,e)||i}}();if("function"==typeof Object.setPrototypeOf)o=Object.setPrototypeOf;else{var s;t:{var c={};try{c.__proto__={a:!0},s=c.a;break t}catch(t){}s=!1}o=s?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var p=o;if(!ShadowRoot.prototype.createElement){var l,d=window.HTMLElement,h=window.customElements.define,u=window.customElements.get,f=window.customElements,m=new WeakMap,y=new WeakMap,v=new WeakMap,g=new WeakMap;window.CustomElementRegistry=function(){this.l=new Map,this.o=new Map,this.i=new Map,this.h=new Map},window.CustomElementRegistry.prototype.define=function(t,i){if(t=t.toLowerCase(),void 0!==this.j(t))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': the name \""+t+'" has already been used with this registry');if(void 0!==this.o.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");var r=i.prototype.attributeChangedCallback,o=new Set(i.observedAttributes||[]);if(x(i,o,r),r={g:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:r,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:o},this.l.set(t,r),this.o.set(i,r),(o=u.call(f,t))||(o=b(t),h.call(f,t,o)),this===window.customElements&&(v.set(i,r),r.s=o),o=this.h.get(t)){this.h.delete(t);for(var n=(o=e(o)).next();!n.done;n=o.next())n=n.value,y.delete(n),$(n,r,!0)}return void 0!==(r=this.i.get(t))&&(r.resolve(i),this.i.delete(t)),i},window.CustomElementRegistry.prototype.upgrade=function(){S.push(this),f.upgrade.apply(f,arguments),S.pop()},window.CustomElementRegistry.prototype.get=function(t){var e;return null==(e=this.l.get(t))?void 0:e.g},window.CustomElementRegistry.prototype.j=function(t){return this.l.get(t)},window.CustomElementRegistry.prototype.whenDefined=function(t){var e=this.j(t);if(void 0!==e)return Promise.resolve(e.g);var i=this.i.get(t);return void 0===i&&((i={}).promise=new Promise((function(t){return i.resolve=t})),this.i.set(t,i)),i.promise},window.CustomElementRegistry.prototype.m=function(t,e,i){var r=this.h.get(e);r||this.h.set(e,r=new Set),i?r.add(t):r.delete(t)},window.HTMLElement=function(){var t=l;if(t)return l=void 0,t;var e=v.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return t=Reflect.construct(d,[],e.s),Object.setPrototypeOf(t,this.constructor.prototype),m.set(t,e),t},window.HTMLElement.prototype=d.prototype;var b=function(t){function e(){var e=Reflect.construct(d,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);t:{var i=e.getRootNode();if(!(i===document||i instanceof ShadowRoot)){if((i=S[S.length-1])instanceof CustomElementRegistry){var r=i;break t}(i=i.getRootNode())===document||i instanceof ShadowRoot||(i=(null==(r=g.get(i))?void 0:r.getRootNode())||document)}r=i.customElements}return(i=(r=r||window.customElements).j(t))?$(e,i):y.set(e,r),e}return n.Object.defineProperty(e,"formAssociated",{configurable:!0,enumerable:!0,get:function(){return!0}}),e.prototype.connectedCallback=function(){var e=m.get(this);e?e.connectedCallback&&e.connectedCallback.apply(this,arguments):y.get(this).m(this,t,!0)},e.prototype.disconnectedCallback=function(){var e=m.get(this);e?e.disconnectedCallback&&e.disconnectedCallback.apply(this,arguments):y.get(this).m(this,t,!1)},e.prototype.adoptedCallback=function(){var t,e;null==(t=m.get(this))||null==(e=t.adoptedCallback)||e.apply(this,arguments)},e.prototype.formAssociatedCallback=function(){var t,e=m.get(this);e&&e.formAssociated&&(null==e||null==(t=e.formAssociatedCallback)||t.apply(this,arguments))},e.prototype.formDisabledCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formDisabledCallback)||t.apply(this,arguments))},e.prototype.formResetCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formResetCallback)||t.apply(this,arguments))},e.prototype.formStateRestoreCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formStateRestoreCallback)||t.apply(this,arguments))},e},x=function(t,e,i){if(0!==e.size&&void 0!==i){var r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,o){if(t=t.toLowerCase(),e.has(t)){var n=this.getAttribute(t);r.call(this,t,o),i.call(this,t,n,o)}else r.call(this,t,o)});var o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){if(t=t.toLowerCase(),e.has(t)){var r=this.getAttribute(t);o.call(this,t),i.call(this,t,r,null)}else o.call(this,t)})}},w=function(t){var e=Object.getPrototypeOf(t);if(e!==window.HTMLElement)return e===d?Object.setPrototypeOf(t,window.HTMLElement):w(e)},$=function(t,e,i){i=void 0!==i&&i,Object.setPrototypeOf(t,e.g.prototype),m.set(t,e),l=t;try{new e.g}catch(t){w(e.g),new e.g}e.observedAttributes.forEach((function(i){t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){var e=O.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};var S=[document],k=function(t,e,i){var r=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){S.push(this);var t=r.apply(i||this,arguments);return void 0!==t&&g.set(t,this),S.pop(),t}};k(ShadowRoot,"createElement",document),k(ShadowRoot,"importNode",document),k(Element,"insertAdjacentHTML");var E=function(t){var e=Object.getOwnPropertyDescriptor(t.prototype,"innerHTML");Object.defineProperty(t.prototype,"innerHTML",Object.assign({},e,{set:function(t){S.push(this),e.set.call(this,t),S.pop()}}))};if(E(Element),E(ShadowRoot),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){var C=new WeakMap,R=HTMLElement.prototype.attachInternals;HTMLElement.prototype.attachInternals=function(t){for(var e=[],r=0;r<arguments.length;++r)e[r]=arguments[r];return e=R.call.apply(R,[this].concat(i(e))),C.set(e,this),e},["setFormValue","setValidity","checkValidity","reportValidity"].forEach((function(t){var e=window.ElementInternals.prototype,r=e[t];e[t]=function(t){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];if(o=C.get(this),!0!==m.get(o).formAssociated)throw new DOMException("Failed to execute "+r+" on 'ElementInternals': The target element is not a form-associated custom element.");null==r||r.call.apply(r,[this].concat(i(e)))}}));var N=function(t){var e=a(Array,[].concat(i(t)),this.constructor);return e.h=t,e},z=N,A=Array;if(z.prototype=r(A.prototype),z.prototype.constructor=z,p)p(z,A);else for(var M in A)if("prototype"!=M)if(Object.defineProperties){var T=Object.getOwnPropertyDescriptor(A,M);T&&Object.defineProperty(z,M,T)}else z[M]=A[M];z.u=A.prototype,n.Object.defineProperty(N.prototype,"value",{configurable:!0,enumerable:!0,get:function(){var t;return(null==(t=this.h.find((function(t){return!0===t.checked})))?void 0:t.value)||""}});var F=function(t){var e=this,i=new Map;t.forEach((function(t,r){var o=t.getAttribute("name"),n=i.get(o)||[];e[+r]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach((function(t,i){t&&(e[i]=1===t.length?t[0]:new N(t))}))};F.prototype.namedItem=function(t){return this[t]};var U=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){for(var t=U.get.call(this,[]),i=[],r=(t=e(t)).next();!r.done;r=t.next()){r=r.value;var o=m.get(r);o&&!0!==o.formAssociated||i.push(r)}return new F(i)}})}}}.call(self);try{window.customElements.define("custom-element",null)}catch(gt){const t=window.customElements.define;window.customElements.define=(e,i,r)=>{try{t.bind(window.customElements)(e,i,r)}catch(t){console.warn(e,i,r,t)}}}const st=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};class ct{constructor(t,e,i,r,o){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=r,this.context=o,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 ct(t,e,void 0,i)}static extend(t,e,i){return new ct(t,e.category,e,i)}static external(t,e){return new ct(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return a`var(${n(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):n(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()]:[]}}function pt(t,e){return n(`${t.name}: ${e}`)}const lt={colorPrimary:ct.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ct.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ct.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ct.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ct.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ct.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ct.create("--ft-color-error","COLOR","#B00020"),colorOutline:ct.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ct.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ct.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ct.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ct.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ct.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ct.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ct.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ct.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ct.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ct.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ct.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ct.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ct.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ct.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ct.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ct.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ct.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ct.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ct.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ct.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ct.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ct.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ct.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ct.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ct.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ct.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ct.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ct.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ct.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ct.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ct.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ct.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ct.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ct.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ct.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ct.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ct.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ct.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ct.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ct.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ct.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ct.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ct.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
56
+ */var at;null===(at=window.HTMLSlotElement)||void 0===at||at.prototype.assignedElements,function(){function t(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}function e(e){var i="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return i?i.call(e):{next:t(e)}}function i(t){if(!(t instanceof Array)){t=e(t);for(var i,r=[];!(i=t.next()).done;)r.push(i.value);t=r}return t}var r="function"==typeof Object.create?Object.create:function(t){function e(){}return e.prototype=t,new e};var o,n=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var i=t[e];if(i&&i.Math==Math)return i}throw Error("Cannot find global object")}(this),a=function(){if("undefined"!=typeof Reflect&&Reflect.construct){if(function(){function t(){}return Reflect.construct(t,[],(function(){})),new t instanceof t}())return Reflect.construct;var t=Reflect.construct;return function(e,i,r){return e=t(e,i),r&&Reflect.setPrototypeOf(e,r.prototype),e}}return function(t,e,i){return void 0===i&&(i=t),i=r(i.prototype||Object.prototype),Function.prototype.apply.call(t,i,e)||i}}();if("function"==typeof Object.setPrototypeOf)o=Object.setPrototypeOf;else{var s;t:{var c={};try{c.__proto__={a:!0},s=c.a;break t}catch(t){}s=!1}o=s?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var p=o;if(!ShadowRoot.prototype.createElement){var l,d=window.HTMLElement,h=window.customElements.define,u=window.customElements.get,f=window.customElements,m=new WeakMap,y=new WeakMap,v=new WeakMap,g=new WeakMap;window.CustomElementRegistry=function(){this.l=new Map,this.o=new Map,this.i=new Map,this.h=new Map},window.CustomElementRegistry.prototype.define=function(t,i){if(t=t.toLowerCase(),void 0!==this.j(t))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': the name \""+t+'" has already been used with this registry');if(void 0!==this.o.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");var r=i.prototype.attributeChangedCallback,o=new Set(i.observedAttributes||[]);if(x(i,o,r),r={g:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:r,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:o},this.l.set(t,r),this.o.set(i,r),(o=u.call(f,t))||(o=b(t),h.call(f,t,o)),this===window.customElements&&(v.set(i,r),r.s=o),o=this.h.get(t)){this.h.delete(t);for(var n=(o=e(o)).next();!n.done;n=o.next())n=n.value,y.delete(n),$(n,r,!0)}return void 0!==(r=this.i.get(t))&&(r.resolve(i),this.i.delete(t)),i},window.CustomElementRegistry.prototype.upgrade=function(){S.push(this),f.upgrade.apply(f,arguments),S.pop()},window.CustomElementRegistry.prototype.get=function(t){var e;return null==(e=this.l.get(t))?void 0:e.g},window.CustomElementRegistry.prototype.j=function(t){return this.l.get(t)},window.CustomElementRegistry.prototype.whenDefined=function(t){var e=this.j(t);if(void 0!==e)return Promise.resolve(e.g);var i=this.i.get(t);return void 0===i&&((i={}).promise=new Promise((function(t){return i.resolve=t})),this.i.set(t,i)),i.promise},window.CustomElementRegistry.prototype.m=function(t,e,i){var r=this.h.get(e);r||this.h.set(e,r=new Set),i?r.add(t):r.delete(t)},window.HTMLElement=function(){var t=l;if(t)return l=void 0,t;var e=v.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return t=Reflect.construct(d,[],e.s),Object.setPrototypeOf(t,this.constructor.prototype),m.set(t,e),t},window.HTMLElement.prototype=d.prototype;var b=function(t){function e(){var e=Reflect.construct(d,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);t:{var i=e.getRootNode();if(!(i===document||i instanceof ShadowRoot)){if((i=S[S.length-1])instanceof CustomElementRegistry){var r=i;break t}(i=i.getRootNode())===document||i instanceof ShadowRoot||(i=(null==(r=g.get(i))?void 0:r.getRootNode())||document)}r=i.customElements}return(i=(r=r||window.customElements).j(t))?$(e,i):y.set(e,r),e}return n.Object.defineProperty(e,"formAssociated",{configurable:!0,enumerable:!0,get:function(){return!0}}),e.prototype.connectedCallback=function(){var e=m.get(this);e?e.connectedCallback&&e.connectedCallback.apply(this,arguments):y.get(this).m(this,t,!0)},e.prototype.disconnectedCallback=function(){var e=m.get(this);e?e.disconnectedCallback&&e.disconnectedCallback.apply(this,arguments):y.get(this).m(this,t,!1)},e.prototype.adoptedCallback=function(){var t,e;null==(t=m.get(this))||null==(e=t.adoptedCallback)||e.apply(this,arguments)},e.prototype.formAssociatedCallback=function(){var t,e=m.get(this);e&&e.formAssociated&&(null==e||null==(t=e.formAssociatedCallback)||t.apply(this,arguments))},e.prototype.formDisabledCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formDisabledCallback)||t.apply(this,arguments))},e.prototype.formResetCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formResetCallback)||t.apply(this,arguments))},e.prototype.formStateRestoreCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formStateRestoreCallback)||t.apply(this,arguments))},e},x=function(t,e,i){if(0!==e.size&&void 0!==i){var r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,o){if(t=t.toLowerCase(),e.has(t)){var n=this.getAttribute(t);r.call(this,t,o),i.call(this,t,n,o)}else r.call(this,t,o)});var o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){if(t=t.toLowerCase(),e.has(t)){var r=this.getAttribute(t);o.call(this,t),i.call(this,t,r,null)}else o.call(this,t)})}},w=function(t){var e=Object.getPrototypeOf(t);if(e!==window.HTMLElement)return e===d?Object.setPrototypeOf(t,window.HTMLElement):w(e)},$=function(t,e,i){i=void 0!==i&&i,Object.setPrototypeOf(t,e.g.prototype),m.set(t,e),l=t;try{new e.g}catch(t){w(e.g),new e.g}e.observedAttributes.forEach((function(i){t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){var e=O.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};var S=[document],k=function(t,e,i){var r=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){S.push(this);var t=r.apply(i||this,arguments);return void 0!==t&&g.set(t,this),S.pop(),t}};k(ShadowRoot,"createElement",document),k(ShadowRoot,"importNode",document),k(Element,"insertAdjacentHTML");var C=function(t){var e=Object.getOwnPropertyDescriptor(t.prototype,"innerHTML");Object.defineProperty(t.prototype,"innerHTML",Object.assign({},e,{set:function(t){S.push(this),e.set.call(this,t),S.pop()}}))};if(C(Element),C(ShadowRoot),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){var E=new WeakMap,R=HTMLElement.prototype.attachInternals;HTMLElement.prototype.attachInternals=function(t){for(var e=[],r=0;r<arguments.length;++r)e[r]=arguments[r];return e=R.call.apply(R,[this].concat(i(e))),E.set(e,this),e},["setFormValue","setValidity","checkValidity","reportValidity"].forEach((function(t){var e=window.ElementInternals.prototype,r=e[t];e[t]=function(t){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];if(o=E.get(this),!0!==m.get(o).formAssociated)throw new DOMException("Failed to execute "+r+" on 'ElementInternals': The target element is not a form-associated custom element.");null==r||r.call.apply(r,[this].concat(i(e)))}}));var N=function(t){var e=a(Array,[].concat(i(t)),this.constructor);return e.h=t,e},z=N,A=Array;if(z.prototype=r(A.prototype),z.prototype.constructor=z,p)p(z,A);else for(var M in A)if("prototype"!=M)if(Object.defineProperties){var T=Object.getOwnPropertyDescriptor(A,M);T&&Object.defineProperty(z,M,T)}else z[M]=A[M];z.u=A.prototype,n.Object.defineProperty(N.prototype,"value",{configurable:!0,enumerable:!0,get:function(){var t;return(null==(t=this.h.find((function(t){return!0===t.checked})))?void 0:t.value)||""}});var F=function(t){var e=this,i=new Map;t.forEach((function(t,r){var o=t.getAttribute("name"),n=i.get(o)||[];e[+r]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach((function(t,i){t&&(e[i]=1===t.length?t[0]:new N(t))}))};F.prototype.namedItem=function(t){return this[t]};var U=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){for(var t=U.get.call(this,[]),i=[],r=(t=e(t)).next();!r.done;r=t.next()){r=r.value;var o=m.get(r);o&&!0!==o.formAssociated||i.push(r)}return new F(i)}})}}}.call(self);try{window.customElements.define("custom-element",null)}catch(gt){const t=window.customElements.define;window.customElements.define=(e,i,r)=>{try{t.bind(window.customElements)(e,i,r)}catch(t){console.warn(e,i,r,t)}}}const st=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};class ct{constructor(t,e,i,r,o){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=r,this.context=o,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 ct(t,e,void 0,i)}static extend(t,e,i){return new ct(t,e.category,e,i)}static external(t,e){return new ct(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return a`var(${n(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):n(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()]:[]}}function pt(t,e){return n(`${t.name}: ${e}`)}const lt={colorPrimary:ct.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ct.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ct.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ct.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ct.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ct.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ct.create("--ft-color-error","COLOR","#B00020"),colorOutline:ct.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ct.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ct.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ct.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ct.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ct.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ct.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ct.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ct.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ct.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ct.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ct.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ct.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ct.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ct.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ct.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ct.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ct.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ct.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ct.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ct.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ct.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ct.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ct.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ct.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ct.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ct.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ct.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ct.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ct.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ct.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ct.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ct.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ct.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ct.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ct.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ct.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.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:ct.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ct.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ct.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ct.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ct.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ct.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ct.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ct.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2021 Google LLC
@@ -125,13 +125,13 @@ var wt=function(t,e){return wt=Object.setPrototypeOf||{__proto__:[]}instanceof A
125
125
  * Copyright 2018 Google LLC
126
126
  * SPDX-License-Identifier: Apache-2.0
127
127
  */
128
- const kt=()=>{},Et={get passive(){return!1}};document.addEventListener("x",kt,Et),document.removeEventListener("x",kt);
128
+ const kt=()=>{},Ct={get passive(){return!1}};document.addEventListener("x",kt,Ct),document.removeEventListener("x",kt);
129
129
  /**
130
130
  * @license
131
131
  * Copyright 2018 Google LLC
132
132
  * SPDX-License-Identifier: Apache-2.0
133
133
  */
134
- class Ct extends Q{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}
134
+ class Et extends Q{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}
135
135
  /**
136
136
  * @license
137
137
  * Copyright 2016 Google Inc.
@@ -209,20 +209,20 @@ const _t=gt(class extends bt{constructor(t){var e;if(super(t),t.type!==vt||"styl
209
209
  * @license
210
210
  * Copyright 2018 Google LLC
211
211
  * SPDX-License-Identifier: Apache-2.0
212
- */class Dt extends Ct{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=jt}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return F`
212
+ */class Bt extends Et{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=jt}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return F`
213
213
  <div class="mdc-ripple-surface mdc-ripple-upgraded ${xt(i)}"
214
- style="${_t({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}Ot([nt(".mdc-ripple-surface")],Dt.prototype,"mdcRoot",void 0),Ot([rt({type:Boolean})],Dt.prototype,"primary",void 0),Ot([rt({type:Boolean})],Dt.prototype,"accent",void 0),Ot([rt({type:Boolean})],Dt.prototype,"unbounded",void 0),Ot([rt({type:Boolean})],Dt.prototype,"disabled",void 0),Ot([rt({type:Boolean})],Dt.prototype,"activated",void 0),Ot([rt({type:Boolean})],Dt.prototype,"selected",void 0),Ot([rt({type:Boolean})],Dt.prototype,"internalUseStateLayerCustomProperties",void 0),Ot([ot()],Dt.prototype,"hovering",void 0),Ot([ot()],Dt.prototype,"bgFocused",void 0),Ot([ot()],Dt.prototype,"fgActivation",void 0),Ot([ot()],Dt.prototype,"fgDeactivation",void 0),Ot([ot()],Dt.prototype,"fgScale",void 0),Ot([ot()],Dt.prototype,"fgSize",void 0),Ot([ot()],Dt.prototype,"translateStart",void 0),Ot([ot()],Dt.prototype,"translateEnd",void 0),Ot([ot()],Dt.prototype,"leftPos",void 0),Ot([ot()],Dt.prototype,"topPos",void 0);
214
+ style="${_t({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}Ot([nt(".mdc-ripple-surface")],Bt.prototype,"mdcRoot",void 0),Ot([rt({type:Boolean})],Bt.prototype,"primary",void 0),Ot([rt({type:Boolean})],Bt.prototype,"accent",void 0),Ot([rt({type:Boolean})],Bt.prototype,"unbounded",void 0),Ot([rt({type:Boolean})],Bt.prototype,"disabled",void 0),Ot([rt({type:Boolean})],Bt.prototype,"activated",void 0),Ot([rt({type:Boolean})],Bt.prototype,"selected",void 0),Ot([rt({type:Boolean})],Bt.prototype,"internalUseStateLayerCustomProperties",void 0),Ot([ot()],Bt.prototype,"hovering",void 0),Ot([ot()],Bt.prototype,"bgFocused",void 0),Ot([ot()],Bt.prototype,"fgActivation",void 0),Ot([ot()],Bt.prototype,"fgDeactivation",void 0),Ot([ot()],Bt.prototype,"fgScale",void 0),Ot([ot()],Bt.prototype,"fgSize",void 0),Ot([ot()],Bt.prototype,"translateStart",void 0),Ot([ot()],Bt.prototype,"translateEnd",void 0),Ot([ot()],Bt.prototype,"leftPos",void 0),Ot([ot()],Bt.prototype,"topPos",void 0);
215
215
  /**
216
216
  * @license
217
217
  * Copyright 2021 Google LLC
218
218
  * SPDX-LIcense-Identifier: Apache-2.0
219
219
  */
220
- const Bt=a`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`
220
+ const Dt=a`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`
221
221
  /**
222
222
  * @license
223
223
  * Copyright 2018 Google LLC
224
224
  * SPDX-License-Identifier: Apache-2.0
225
- */;let It=class extends Dt{};It.styles=[Bt],It=Ot([et("mwc-ripple")],It);
225
+ */;let It=class extends Bt{};It.styles=[Dt],It=Ot([et("mwc-ripple")],It);
226
226
  /**
227
227
  * @license
228
228
  * Copyright 2020 Google LLC
@@ -261,7 +261,7 @@ class Lt{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))}
261
261
  * Copyright 2020 Google LLC
262
262
  * SPDX-License-Identifier: BSD-3-Clause
263
263
  */
264
- const Vt=t=>({_$litStatic$:t}),Kt=new Map,Zt=(t=>(e,...i)=>{var r;const o=i.length;let n,a;const s=[],c=[];let p,l=0,d=!1;for(;l<o;){for(p=e[l];l<o&&void 0!==(a=i[l],n=null===(r=a)||void 0===r?void 0:r._$litStatic$);)p+=n+e[++l],d=!0;c.push(a),s.push(p),l++}if(l===o&&s.push(e[o]),d){const t=s.join("$$lit$$");void 0===(e=Kt.get(t))&&(s.raw=s,Kt.set(t,e=s)),i=c}return t(e,...i)})(F);var Gt,qt=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Gt||(Gt={}));const Xt=ct.extend("--ft-typography-font-family",lt.titleFont),Jt=ct.extend("--ft-typography-font-family",lt.contentFont),Yt={fontFamily:Jt,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","SIZE","24px"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Qt=ct.extend("--ft-typography-title-font-family",Xt),te=ct.extend("--ft-typography-title-font-size",Yt.fontSize,"20px"),ee=ct.extend("--ft-typography-title-font-weight",Yt.fontWeight,"normal"),ie=ct.extend("--ft-typography-title-letter-spacing",Yt.letterSpacing,"0.15px"),re=ct.extend("--ft-typography-title-line-height",Yt.lineHeight,"24px"),oe=ct.extend("--ft-typography-title-text-transform",Yt.textTransform,"inherit"),ne=ct.extend("--ft-typography-title-dense-font-family",Xt),ae=ct.extend("--ft-typography-title-dense-font-size",Yt.fontSize,"14px"),se=ct.extend("--ft-typography-title-dense-font-weight",Yt.fontWeight,"normal"),ce=ct.extend("--ft-typography-title-dense-letter-spacing",Yt.letterSpacing,"0.105px"),pe=ct.extend("--ft-typography-title-dense-line-height",Yt.lineHeight,"24px"),le=ct.extend("--ft-typography-title-dense-text-transform",Yt.textTransform,"inherit"),de=ct.extend("--ft-typography-subtitle1-font-family",Jt),he=ct.extend("--ft-typography-subtitle1-font-size",Yt.fontSize,"16px"),ue=ct.extend("--ft-typography-subtitle1-font-weight",Yt.fontWeight,"600"),fe=ct.extend("--ft-typography-subtitle1-letter-spacing",Yt.letterSpacing,"0.144px"),me=ct.extend("--ft-typography-subtitle1-line-height",Yt.lineHeight,"24px"),ye=ct.extend("--ft-typography-subtitle1-text-transform",Yt.textTransform,"inherit"),ve=ct.extend("--ft-typography-subtitle2-font-family",Jt),ge=ct.extend("--ft-typography-subtitle2-font-size",Yt.fontSize,"14px"),be=ct.extend("--ft-typography-subtitle2-font-weight",Yt.fontWeight,"normal"),xe=ct.extend("--ft-typography-subtitle2-letter-spacing",Yt.letterSpacing,"0.098px"),we=ct.extend("--ft-typography-subtitle2-line-height",Yt.lineHeight,"24px"),$e=ct.extend("--ft-typography-subtitle2-text-transform",Yt.textTransform,"inherit"),Oe=ct.extend("--ft-typography-body1-font-family",Jt),Se=ct.extend("--ft-typography-body1-font-size",Yt.fontSize,"16px"),ke=ct.extend("--ft-typography-body1-font-weight",Yt.fontWeight,"normal"),Ee=ct.extend("--ft-typography-body1-letter-spacing",Yt.letterSpacing,"0.496px"),Ce=ct.extend("--ft-typography-body1-line-height",Yt.lineHeight,"24px"),Re=ct.extend("--ft-typography-body1-text-transform",Yt.textTransform,"inherit"),Ne={fontFamily:ct.extend("--ft-typography-body2-font-family",Jt),fontSize:ct.extend("--ft-typography-body2-font-size",Yt.fontSize,"14px"),fontWeight:ct.extend("--ft-typography-body2-font-weight",Yt.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-body2-letter-spacing",Yt.letterSpacing,"0.252px"),lineHeight:ct.extend("--ft-typography-body2-line-height",Yt.lineHeight,"20px"),textTransform:ct.extend("--ft-typography-body2-text-transform",Yt.textTransform,"inherit")},ze=ct.extend("--ft-typography-caption-font-family",Jt),Ae=ct.extend("--ft-typography-caption-font-size",Yt.fontSize,"12px"),Me=ct.extend("--ft-typography-caption-font-weight",Yt.fontWeight,"normal"),Te=ct.extend("--ft-typography-caption-letter-spacing",Yt.letterSpacing,"0.396px"),Fe=ct.extend("--ft-typography-caption-line-height",Yt.lineHeight,"16px"),Ue=ct.extend("--ft-typography-caption-text-transform",Yt.textTransform,"inherit"),je=ct.extend("--ft-typography-breadcrumb-font-family",Jt),_e=ct.extend("--ft-typography-breadcrumb-font-size",Yt.fontSize,"10px"),De=ct.extend("--ft-typography-breadcrumb-font-weight",Yt.fontWeight,"normal"),Be=ct.extend("--ft-typography-breadcrumb-letter-spacing",Yt.letterSpacing,"0.33px"),Ie=ct.extend("--ft-typography-breadcrumb-line-height",Yt.lineHeight,"16px"),Le=ct.extend("--ft-typography-breadcrumb-text-transform",Yt.textTransform,"inherit"),Pe=ct.extend("--ft-typography-overline-font-family",Jt),He=ct.extend("--ft-typography-overline-font-size",Yt.fontSize,"10px"),We=ct.extend("--ft-typography-overline-font-weight",Yt.fontWeight,"normal"),Ve=ct.extend("--ft-typography-overline-letter-spacing",Yt.letterSpacing,"1.5px"),Ke=ct.extend("--ft-typography-overline-line-height",Yt.lineHeight,"16px"),Ze=ct.extend("--ft-typography-overline-text-transform",Yt.textTransform,"uppercase"),Ge=ct.extend("--ft-typography-button-font-family",Jt),qe=ct.extend("--ft-typography-button-font-size",Yt.fontSize,"14px"),Xe=ct.extend("--ft-typography-button-font-weight",Yt.fontWeight,"600"),Je=ct.extend("--ft-typography-button-letter-spacing",Yt.letterSpacing,"1.246px"),Ye=ct.extend("--ft-typography-button-line-height",Yt.lineHeight,"16px"),Qe=ct.extend("--ft-typography-button-text-transform",Yt.textTransform,"uppercase"),ti=a`
264
+ const Vt=t=>({_$litStatic$:t}),Kt=new Map,Zt=(t=>(e,...i)=>{var r;const o=i.length;let n,a;const s=[],c=[];let p,l=0,d=!1;for(;l<o;){for(p=e[l];l<o&&void 0!==(a=i[l],n=null===(r=a)||void 0===r?void 0:r._$litStatic$);)p+=n+e[++l],d=!0;c.push(a),s.push(p),l++}if(l===o&&s.push(e[o]),d){const t=s.join("$$lit$$");void 0===(e=Kt.get(t))&&(s.raw=s,Kt.set(t,e=s)),i=c}return t(e,...i)})(F);var Gt,qt=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Gt||(Gt={}));const Xt=ct.extend("--ft-typography-font-family",lt.titleFont),Jt=ct.extend("--ft-typography-font-family",lt.contentFont),Yt={fontFamily:Jt,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","SIZE","24px"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Qt=ct.extend("--ft-typography-title-font-family",Xt),te=ct.extend("--ft-typography-title-font-size",Yt.fontSize,"20px"),ee=ct.extend("--ft-typography-title-font-weight",Yt.fontWeight,"normal"),ie=ct.extend("--ft-typography-title-letter-spacing",Yt.letterSpacing,"0.15px"),re=ct.extend("--ft-typography-title-line-height",Yt.lineHeight,"24px"),oe=ct.extend("--ft-typography-title-text-transform",Yt.textTransform,"inherit"),ne=ct.extend("--ft-typography-title-dense-font-family",Xt),ae=ct.extend("--ft-typography-title-dense-font-size",Yt.fontSize,"14px"),se=ct.extend("--ft-typography-title-dense-font-weight",Yt.fontWeight,"normal"),ce=ct.extend("--ft-typography-title-dense-letter-spacing",Yt.letterSpacing,"0.105px"),pe=ct.extend("--ft-typography-title-dense-line-height",Yt.lineHeight,"24px"),le=ct.extend("--ft-typography-title-dense-text-transform",Yt.textTransform,"inherit"),de=ct.extend("--ft-typography-subtitle1-font-family",Jt),he=ct.extend("--ft-typography-subtitle1-font-size",Yt.fontSize,"16px"),ue=ct.extend("--ft-typography-subtitle1-font-weight",Yt.fontWeight,"600"),fe=ct.extend("--ft-typography-subtitle1-letter-spacing",Yt.letterSpacing,"0.144px"),me=ct.extend("--ft-typography-subtitle1-line-height",Yt.lineHeight,"24px"),ye=ct.extend("--ft-typography-subtitle1-text-transform",Yt.textTransform,"inherit"),ve=ct.extend("--ft-typography-subtitle2-font-family",Jt),ge=ct.extend("--ft-typography-subtitle2-font-size",Yt.fontSize,"14px"),be=ct.extend("--ft-typography-subtitle2-font-weight",Yt.fontWeight,"normal"),xe=ct.extend("--ft-typography-subtitle2-letter-spacing",Yt.letterSpacing,"0.098px"),we=ct.extend("--ft-typography-subtitle2-line-height",Yt.lineHeight,"24px"),$e=ct.extend("--ft-typography-subtitle2-text-transform",Yt.textTransform,"inherit"),Oe=ct.extend("--ft-typography-body1-font-family",Jt),Se=ct.extend("--ft-typography-body1-font-size",Yt.fontSize,"16px"),ke=ct.extend("--ft-typography-body1-font-weight",Yt.fontWeight,"normal"),Ce=ct.extend("--ft-typography-body1-letter-spacing",Yt.letterSpacing,"0.496px"),Ee=ct.extend("--ft-typography-body1-line-height",Yt.lineHeight,"24px"),Re=ct.extend("--ft-typography-body1-text-transform",Yt.textTransform,"inherit"),Ne={fontFamily:ct.extend("--ft-typography-body2-font-family",Jt),fontSize:ct.extend("--ft-typography-body2-font-size",Yt.fontSize,"14px"),fontWeight:ct.extend("--ft-typography-body2-font-weight",Yt.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-body2-letter-spacing",Yt.letterSpacing,"0.252px"),lineHeight:ct.extend("--ft-typography-body2-line-height",Yt.lineHeight,"20px"),textTransform:ct.extend("--ft-typography-body2-text-transform",Yt.textTransform,"inherit")},ze=ct.extend("--ft-typography-caption-font-family",Jt),Ae=ct.extend("--ft-typography-caption-font-size",Yt.fontSize,"12px"),Me=ct.extend("--ft-typography-caption-font-weight",Yt.fontWeight,"normal"),Te=ct.extend("--ft-typography-caption-letter-spacing",Yt.letterSpacing,"0.396px"),Fe=ct.extend("--ft-typography-caption-line-height",Yt.lineHeight,"16px"),Ue=ct.extend("--ft-typography-caption-text-transform",Yt.textTransform,"inherit"),je=ct.extend("--ft-typography-breadcrumb-font-family",Jt),_e=ct.extend("--ft-typography-breadcrumb-font-size",Yt.fontSize,"10px"),Be=ct.extend("--ft-typography-breadcrumb-font-weight",Yt.fontWeight,"normal"),De=ct.extend("--ft-typography-breadcrumb-letter-spacing",Yt.letterSpacing,"0.33px"),Ie=ct.extend("--ft-typography-breadcrumb-line-height",Yt.lineHeight,"16px"),Le=ct.extend("--ft-typography-breadcrumb-text-transform",Yt.textTransform,"inherit"),Pe=ct.extend("--ft-typography-overline-font-family",Jt),He=ct.extend("--ft-typography-overline-font-size",Yt.fontSize,"10px"),We=ct.extend("--ft-typography-overline-font-weight",Yt.fontWeight,"normal"),Ve=ct.extend("--ft-typography-overline-letter-spacing",Yt.letterSpacing,"1.5px"),Ke=ct.extend("--ft-typography-overline-line-height",Yt.lineHeight,"16px"),Ze=ct.extend("--ft-typography-overline-text-transform",Yt.textTransform,"uppercase"),Ge=ct.extend("--ft-typography-button-font-family",Jt),qe=ct.extend("--ft-typography-button-font-size",Yt.fontSize,"14px"),Xe=ct.extend("--ft-typography-button-font-weight",Yt.fontWeight,"600"),Je=ct.extend("--ft-typography-button-letter-spacing",Yt.letterSpacing,"1.246px"),Ye=ct.extend("--ft-typography-button-line-height",Yt.lineHeight,"16px"),Qe=ct.extend("--ft-typography-button-text-transform",Yt.textTransform,"uppercase"),ti=a`
265
265
  .ft-typography--title {
266
266
  font-family: ${Qt};
267
267
  font-size: ${te};
@@ -303,8 +303,8 @@ const Vt=t=>({_$litStatic$:t}),Kt=new Map,Zt=(t=>(e,...i)=>{var r;const o=i.leng
303
303
  font-family: ${Oe};
304
304
  font-size: ${Se};
305
305
  font-weight: ${ke};
306
- letter-spacing: ${Ee};
307
- line-height: ${Ce};
306
+ letter-spacing: ${Ce};
307
+ line-height: ${Ee};
308
308
  text-transform: ${Re};
309
309
  }
310
310
  `,ni=a`
@@ -329,8 +329,8 @@ const Vt=t=>({_$litStatic$:t}),Kt=new Map,Zt=(t=>(e,...i)=>{var r;const o=i.leng
329
329
  .ft-typography--breadcrumb {
330
330
  font-family: ${je};
331
331
  font-size: ${_e};
332
- font-weight: ${De};
333
- letter-spacing: ${Be};
332
+ font-weight: ${Be};
333
+ letter-spacing: ${De};
334
334
  line-height: ${Ie};
335
335
  text-transform: ${Le};
336
336
  }
@@ -513,10 +513,25 @@ const di=a`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
513
513
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
514
514
  <mwc-icon>${this.internalIcon}</mwc-icon>
515
515
  </div>
516
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xi))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}};wi.elementDefinitions={"ft-ripple":Wt,"ft-typography":li,"mwc-icon":hi},ui([rt({type:Boolean})],wi.prototype,"highlighted",void 0),ui([rt({type:Boolean})],wi.prototype,"removable",void 0),ui([rt({type:Boolean})],wi.prototype,"disabled",void 0),ui([rt({type:Boolean})],wi.prototype,"clickable",void 0),ui([rt({type:Boolean})],wi.prototype,"iconClickable",void 0),ui([rt({type:Boolean})],wi.prototype,"dense",void 0),ui([rt({type:Boolean})],wi.prototype,"multiLine",void 0),ui([rt({type:String})],wi.prototype,"label",void 0),ui([rt({type:String})],wi.prototype,"icon",void 0),ui([rt({type:Boolean})],wi.prototype,"trailingIcon",void 0),ui([nt("ft-typography slot")],wi.prototype,"slottedContent",void 0),wi=ui([st("ft-chip")],wi);var $i=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const Oi={zIndex:ct.create("--ft-file-drop-z-index","NUMBER","10"),colorSurface:ct.external(lt.colorSurface,"Design system"),colorPrimary:ct.external(lt.colorPrimary,"Design system"),colorError:ct.external(lt.colorError,"Design system")};class Si extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}}t.FtFileDrop=class extends dt{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.dragging=!1,this.fileError=!1}getStyles(){return a`
516
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xi))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}};wi.elementDefinitions={"ft-ripple":Wt,"ft-typography":li,"mwc-icon":hi},ui([rt({type:Boolean})],wi.prototype,"highlighted",void 0),ui([rt({type:Boolean})],wi.prototype,"removable",void 0),ui([rt({type:Boolean})],wi.prototype,"disabled",void 0),ui([rt({type:Boolean})],wi.prototype,"clickable",void 0),ui([rt({type:Boolean})],wi.prototype,"iconClickable",void 0),ui([rt({type:Boolean})],wi.prototype,"dense",void 0),ui([rt({type:Boolean})],wi.prototype,"multiLine",void 0),ui([rt({type:String})],wi.prototype,"label",void 0),ui([rt({type:String})],wi.prototype,"icon",void 0),ui([rt({type:Boolean})],wi.prototype,"trailingIcon",void 0),ui([nt("ft-typography slot")],wi.prototype,"slottedContent",void 0),wi=ui([st("ft-chip")],wi);var $i=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const Oi={zIndex:ct.create("--ft-file-drop-z-index","NUMBER","10"),hintBackgroundColor:ct.extend("--ft-file-drop-hint-background-color",lt.colorSurface),hintColor:ct.extend("--ft-file-drop-hint-color",lt.colorPrimary),errorColor:ct.extend("--ft-file-drop-error-color",lt.colorError),borderRadius:ct.extend("--ft-file-drop-border-radius",lt.borderRadiusL),borderWidth:ct.create("--ft-file-drop-border-width","SIZE","4px"),borderColor:ct.create("--ft-file-drop-border-color","COLOR","transparent"),visibleBorderColor:ct.extend("--ft-file-drop-visible-border-color",lt.colorOutline),activeBorderColor:ct.extend("--ft-file-drop-active-border-color",lt.colorPrimary)};class Si extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}}t.FtFileDrop=class extends dt{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.visible=!1,this.dragging=!1,this.fileError=!1}getStyles(){return a`
517
+ :host {
518
+ display: block;
519
+ position: relative;
520
+ }
521
+
517
522
  #container {
518
523
  position: absolute;
519
524
  inset: 0;
525
+ border: dashed ${Oi.borderWidth} ${Oi.borderColor};
526
+ border-radius: ${Oi.borderRadius};
527
+ }
528
+
529
+ #container.visible {
530
+ border-color: ${Oi.visibleBorderColor}
531
+ }
532
+
533
+ #container.dragging {
534
+ border-color: ${Oi.activeBorderColor}
520
535
  }
521
536
 
522
537
  slot {
@@ -541,9 +556,9 @@ const di=a`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
541
556
  z-index: 1;
542
557
  position: absolute;
543
558
  inset: 0;
544
- background-color: ${Oi.colorPrimary};
559
+ background-color: ${Oi.activeBorderColor};
545
560
  opacity: 0.20;
546
- border-radius: 10px;
561
+ border-radius: ${Oi.borderRadius};
547
562
  }
548
563
 
549
564
  #overlay-drop {
@@ -556,8 +571,6 @@ const di=a`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
556
571
  z-index: 1;
557
572
  position: absolute;
558
573
  inset: 0;
559
- border: dashed 4px ${Oi.colorPrimary};
560
- border-radius: 10px;
561
574
  display: flex;
562
575
  align-items: flex-end;
563
576
  justify-content: center;
@@ -565,20 +578,20 @@ const di=a`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
565
578
 
566
579
  #overlay-content ft-chip {
567
580
  margin-bottom: 10%;
568
- ${pt(mi.color,Oi.colorPrimary)};
581
+ ${pt(mi.color,Oi.hintColor)};
569
582
  ${pt(mi.iconSize,"32px")};
570
583
  ${pt(mi.colorOutline,"transparent")};
571
584
  }
572
585
 
573
- ft-chip[icon=error] {
574
- ${pt(mi.color,Oi.colorSurface)};
575
- ${pt(mi.backgroundColor,Oi.colorError)};
586
+ #overlay-content xft-chip[icon=error] {
587
+ ${pt(mi.color,Oi.errorColor)};
588
+ ${pt(mi.backgroundColor,Oi.hintBackgroundColor)};
576
589
  }
577
590
 
578
591
  [hidden] {
579
592
  display: none;
580
593
  }
581
- `}getTemplate(){let t={dragging:this.dragging};return F`
594
+ `}getTemplate(){let t={dragging:this.dragging,visible:this.visible};return F`
582
595
  <div id="container"
583
596
  class="${xt(t)}"
584
597
  @dragenter=${this.onDragEnter}
@@ -596,4 +609,4 @@ const di=a`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
596
609
  </div>
597
610
  <slot></slot>
598
611
  </div>
599
- `}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let e=t.dataTransfer.files[0];!function(t,e,i){if(0==t.length)return!0;let r=t.replace(/\*/g,".*").replace(/,/g,"|").replace(/\./g,"\\."),o=new RegExp(r),n=e.includes(".")?"."+e.split(".").pop():void 0;return!(!n||!o.test(n))||o.test(i)}(this.accept,e.name,e.type)?(this.fileError=!0,setTimeout((()=>{this.dragging=!1,this.fileError=!1}),2e3)):(this.dragging=!1,this.dispatchEvent(new Si(e)))}}},t.FtFileDrop.elementDefinitions={"ft-chip":wi},$i([rt()],t.FtFileDrop.prototype,"dropHint",void 0),$i([rt()],t.FtFileDrop.prototype,"accept",void 0),$i([rt()],t.FtFileDrop.prototype,"fileTypeError",void 0),$i([ot()],t.FtFileDrop.prototype,"dragging",void 0),$i([ot()],t.FtFileDrop.prototype,"fileError",void 0),t.FtFileDrop=$i([st("ft-file-drop")],t.FtFileDrop),t.FileDropEvent=Si,t.FtFileDropCssVariables=Oi,Object.defineProperty(t,"t",{value:!0})}({});
612
+ `}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let e=t.dataTransfer.files[0];!function(t,e,i){if(0==t.length)return!0;let r=t.replace(/\*/g,".*").replace(/,/g,"|").replace(/\./g,"\\."),o=new RegExp(r),n=e.includes(".")?"."+e.split(".").pop():void 0;return!(!n||!o.test(n))||o.test(i)}(this.accept,e.name,e.type)?(this.fileError=!0,setTimeout((()=>{this.dragging=!1,this.fileError=!1}),2e3)):(this.dragging=!1,this.dispatchEvent(new Si(e)))}}},t.FtFileDrop.elementDefinitions={"ft-chip":wi},$i([rt()],t.FtFileDrop.prototype,"dropHint",void 0),$i([rt()],t.FtFileDrop.prototype,"accept",void 0),$i([rt()],t.FtFileDrop.prototype,"fileTypeError",void 0),$i([rt({type:Boolean})],t.FtFileDrop.prototype,"visible",void 0),$i([ot()],t.FtFileDrop.prototype,"dragging",void 0),$i([ot()],t.FtFileDrop.prototype,"fileError",void 0),t.FtFileDrop=$i([st("ft-file-drop")],t.FtFileDrop),t.FileDropEvent=Si,t.FtFileDropCssVariables=Oi,Object.defineProperty(t,"t",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-file-drop",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Container that accepts dropping files",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-chip": "^0.1.9",
23
- "@fluid-topics/ft-wc-utils": "^0.1.9",
22
+ "@fluid-topics/ft-chip": "^0.1.10",
23
+ "@fluid-topics/ft-wc-utils": "^0.1.10",
24
24
  "lit": "^2.0.2"
25
25
  },
26
- "gitHead": "9f649211936b1529bf691190603f2f721d2a72bd"
26
+ "gitHead": "af9249642eff7416fb4aa6371f82cb3f99086cec"
27
27
  }