@fluid-topics/ft-chip 0.1.18 → 0.2.2

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/build/ft-chip.js CHANGED
@@ -10,7 +10,7 @@ import { classMap } from "lit/directives/class-map.js";
10
10
  import { designSystemVariables, FtCssVariable, FtLitElement, isSafari, noTextSelect, setVariable } from "@fluid-topics/ft-wc-utils";
11
11
  import { FtRipple, FtRippleCssVariables } from "@fluid-topics/ft-ripple";
12
12
  import { FtTypography, FtTypographyBody2CssVariables } from "@fluid-topics/ft-typography";
13
- import { Icon } from "@material/mwc-icon";
13
+ import { FtIcon, FtIconCssVariables } from "@fluid-topics/ft-icon";
14
14
  const chipColor = FtCssVariable.extend("--ft-chip-color", designSystemVariables.colorOnSurface);
15
15
  export const FtChipCssVariables = {
16
16
  backgroundColor: FtCssVariable.extend("--ft-chip-background-color", designSystemVariables.colorSurface),
@@ -75,11 +75,11 @@ export class FtChip extends FtLitElement {
75
75
 
76
76
  --ft-chip-internal-font-size: ${FtChipCssVariables.fontSize};
77
77
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
78
- --mdc-icon-size: ${FtChipCssVariables.iconSize};
78
+ ${setVariable(FtIconCssVariables.size, FtChipCssVariables.iconSize)};
79
79
  --ft-chip-internal-vertical-padding: ${FtChipCssVariables.verticalPadding};
80
80
  --ft-chip-internal-horizontal-padding: ${FtChipCssVariables.horizontalPadding};
81
81
  --ft-chip-internal-icon-padding: 3px;
82
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), var(--mdc-icon-size));
82
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${FtChipCssVariables.iconSize});
83
83
 
84
84
  border: 1px solid ${FtChipCssVariables.colorOutline};
85
85
  color: ${FtChipCssVariables.color};
@@ -219,7 +219,7 @@ export class FtChip extends FtLitElement {
219
219
  @click=${this.onIconClick}
220
220
  @keyup=${this.onIconKeyUp}>
221
221
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
222
- <mwc-icon>${this.internalIcon}</mwc-icon>
222
+ <ft-icon variant="material">${this.internalIcon}</ft-icon>
223
223
  </div>
224
224
  `;
225
225
  }
@@ -260,7 +260,7 @@ export class FtChip extends FtLitElement {
260
260
  FtChip.elementDefinitions = {
261
261
  "ft-ripple": FtRipple,
262
262
  "ft-typography": FtTypography,
263
- "mwc-icon": Icon,
263
+ "ft-icon": FtIcon,
264
264
  };
265
265
  __decorate([
266
266
  property({ type: Boolean })
@@ -1,4 +1,4 @@
1
- !function(t,i,e,o,n){var r=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const s={color:i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),primaryColor:i.FtCssVariable.extend("--ft-ripple-primary-color",i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary)),secondaryColor:i.FtCssVariable.extend("--ft-ripple-secondary-color",i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary)),opacityContentOnSurfacePressed:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")};class p extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
1
+ !function(t,i,e,o,n,r){var s=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const p={color:i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),primaryColor:i.FtCssVariable.extend("--ft-ripple-primary-color",i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary)),secondaryColor:i.FtCssVariable.extend("--ft-ripple-secondary-color",i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary)),opacityContentOnSurfacePressed:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")};class l extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
2
2
  <style>
3
3
  .ft-ripple .ft-ripple--effect,
4
4
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -15,13 +15,13 @@
15
15
  <div class="ft-ripple--background"></div>
16
16
  <div class="ft-ripple--effect"></div>
17
17
  </div>
18
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}
18
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}
19
19
  /**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
23
  */
24
- var l;p.elementDefinitions={},p.styles=e.css`
24
+ var a;l.elementDefinitions={},l.styles=e.css`
25
25
  :host {
26
26
  display: contents;
27
27
  }
@@ -40,17 +40,17 @@ var l;p.elementDefinitions={},p.styles=e.css`
40
40
  .ft-ripple .ft-ripple--effect {
41
41
  position: absolute;
42
42
  opacity: 0;
43
- background-color: ${s.color};
43
+ background-color: ${p.color};
44
44
  }
45
45
 
46
46
  .ft-ripple.ft-ripple--secondary .ft-ripple--background,
47
47
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
48
- background-color: ${s.secondaryColor};
48
+ background-color: ${p.secondaryColor};
49
49
  }
50
50
 
51
51
  .ft-ripple.ft-ripple--primary .ft-ripple--background,
52
52
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
53
- background-color: ${s.primaryColor};
53
+ background-color: ${p.primaryColor};
54
54
  }
55
55
 
56
56
  .ft-ripple .ft-ripple--background {
@@ -81,156 +81,168 @@ var l;p.elementDefinitions={},p.styles=e.css`
81
81
  }
82
82
 
83
83
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
84
- opacity: ${s.opacityContentOnSurfaceHover};
84
+ opacity: ${p.opacityContentOnSurfaceHover};
85
85
  }
86
86
 
87
87
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
88
- opacity: ${s.opacityContentOnSurfaceSelected};
88
+ opacity: ${p.opacityContentOnSurfaceSelected};
89
89
  }
90
90
 
91
91
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
92
- opacity: ${s.opacityContentOnSurfaceFocused};
92
+ opacity: ${p.opacityContentOnSurfaceFocused};
93
93
  }
94
94
 
95
95
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
96
- opacity: ${s.opacityContentOnSurfacePressed};
96
+ opacity: ${p.opacityContentOnSurfacePressed};
97
97
  transform: translate(-50%, -50%) scale(1);
98
98
  }
99
- `,r([o.property({type:Boolean})],p.prototype,"primary",void 0),r([o.property({type:Boolean})],p.prototype,"secondary",void 0),r([o.property({type:Boolean})],p.prototype,"unbounded",void 0),r([o.property({type:Boolean})],p.prototype,"activated",void 0),r([o.property({type:Boolean})],p.prototype,"selected",void 0),r([o.property({type:Boolean})],p.prototype,"disabled",void 0),r([o.state()],p.prototype,"hovered",void 0),r([o.state()],p.prototype,"focused",void 0),r([o.state()],p.prototype,"pressed",void 0),r([o.state()],p.prototype,"rippling",void 0),r([o.state()],p.prototype,"rippleSize",void 0),r([o.state()],p.prototype,"originX",void 0),r([o.state()],p.prototype,"originY",void 0),r([o.query(".ft-ripple")],p.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],p.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(p);const h=globalThis.trustedTypes,a=h?h.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,c="?"+f,d=`<${c}>`,g=document,y=(t="")=>g.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,v=Array.isArray,b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,$=/>/g,x=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,w=/'/g,z=/"/g,k=/^(?:script|style|textarea|title)$/i,S=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),C=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),O=new WeakMap,A=g.createTreeWalker(g,129,null,!1),E=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=b;for(let i=0;i<e;i++){const e=t[i];let p,l,h=-1,a=0;for(;a<e.length&&(s.lastIndex=a,l=s.exec(e),null!==l);)a=s.lastIndex,s===b?"!--"===l[1]?s=m:void 0!==l[1]?s=$:void 0!==l[2]?(k.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=x):void 0!==l[3]&&(s=x):s===x?">"===l[0]?(s=null!=n?n:b,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,p=l[1],s=void 0===l[3]?x:'"'===l[3]?z:w):s===z||s===w?s=x:s===m||s===$?s=b:(s=x,n=void 0);const c=s===x&&t[i+1].startsWith("/>")?" ":"";r+=s===b?e+d:h>=0?(o.push(p),e.slice(0,h)+"$lit$"+e.slice(h)+f+c):e+f+(-2===h?(o.push(void 0),i):c)}const p=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(p):p,o]};class _{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,p=this.parts,[l,a]=E(t,i);if(this.el=_.createElement(l,e),A.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=A.nextNode())&&p.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(f)){const e=a[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(f),i=/([.?@])?(.*)/.exec(e);p.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?M:"?"===i[1]?U:"@"===i[1]?D:T})}else p.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(k.test(o.tagName)){const t=o.textContent.split(f),i=t.length-1;if(i>0){o.textContent=h?h.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],y()),A.nextNode(),p.push({type:2,index:++n});o.append(t[i],y())}}}else if(8===o.nodeType)if(o.data===c)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)p.push({type:7,index:n}),t+=f.length-1}n++}}static createElement(t,i){const e=g.createElement("template");return e.innerHTML=t,e}}function B(t,i,e=t,o){var n,r,s,p;if(i===C)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const h=u(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(p=e)._$Cl)&&void 0!==s?s:p._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=B(t,l._$AS(t,i.values),l,o)),i}class j{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:g).importNode(e,!0);A.currentNode=n;let r=A.nextNode(),s=0,p=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new N(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new P(r,this,t)),this.v.push(i),l=o[++p]}s!==(null==l?void 0:l.index)&&(r=A.nextNode(),s++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class N{constructor(t,i,e,o){var n;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=B(this,t,i),u(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==C&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return v(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==I&&u(this._$AH)?this._$AA.nextSibling.data=t:this.S(g.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=_.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new j(n,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=O.get(t.strings);return void 0===i&&O.set(t.strings,i=new _(t)),i}A(t){v(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new N(this.M(y()),this.M(y()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class T{constructor(t,i,e,o,n){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=I}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=B(this,t,i,0),r=!u(t)||t!==this._$AH&&t!==C,r&&(this._$AH=t);else{const o=t;let s,p;for(t=n[0],s=0;s<n.length-1;s++)p=B(this,o[e+s],i,s),p===C&&(p=this._$AH[s]),r||(r=!u(p)||p!==this._$AH[s]),p===I?t=I:t!==I&&(t+=(null!=p?p:"")+n[s+1]),this._$AH[s]=p}r&&!o&&this.k(t)}k(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends T{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===I?void 0:t}}const Z=h?h.emptyScript:"";class U extends T{constructor(){super(...arguments),this.type=4}k(t){t&&t!==I?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class D extends T{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=B(this,t,i,0))&&void 0!==e?e:I)===C)return;const o=this._$AH,n=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==I&&(o===I||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class P{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){B(this,t)}}const R=window.litHtmlPolyfillSupport;null==R||R(_,N),(null!==(l=globalThis.litHtmlVersions)&&void 0!==l?l:globalThis.litHtmlVersions=[]).push("2.1.3");
99
+ `,s([o.property({type:Boolean})],l.prototype,"primary",void 0),s([o.property({type:Boolean})],l.prototype,"secondary",void 0),s([o.property({type:Boolean})],l.prototype,"unbounded",void 0),s([o.property({type:Boolean})],l.prototype,"activated",void 0),s([o.property({type:Boolean})],l.prototype,"selected",void 0),s([o.property({type:Boolean})],l.prototype,"disabled",void 0),s([o.state()],l.prototype,"hovered",void 0),s([o.state()],l.prototype,"focused",void 0),s([o.state()],l.prototype,"pressed",void 0),s([o.state()],l.prototype,"rippling",void 0),s([o.state()],l.prototype,"rippleSize",void 0),s([o.state()],l.prototype,"originX",void 0),s([o.state()],l.prototype,"originY",void 0),s([o.query(".ft-ripple")],l.prototype,"ripple",void 0),s([o.query(".ft-ripple--effect")],l.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(l);const h=globalThis.trustedTypes,f=h?h.createPolicy("lit-html",{createHTML:t=>t}):void 0,c=`lit$${(Math.random()+"").slice(9)}$`,d="?"+c,g=`<${d}>`,y=document,x=(t="")=>y.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,v=Array.isArray,m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,$=/>/g,w=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,z=/'/g,k=/"/g,S=/^(?:script|style|textarea|title)$/i,C=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),I=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),O=new WeakMap,N=y.createTreeWalker(y,129,null,!1),A=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=m;for(let i=0;i<e;i++){const e=t[i];let p,l,a=-1,h=0;for(;h<e.length&&(s.lastIndex=h,l=s.exec(e),null!==l);)h=s.lastIndex,s===m?"!--"===l[1]?s=b:void 0!==l[1]?s=$:void 0!==l[2]?(S.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=w):void 0!==l[3]&&(s=w):s===w?">"===l[0]?(s=null!=n?n:m,a=-1):void 0===l[1]?a=-2:(a=s.lastIndex-l[2].length,p=l[1],s=void 0===l[3]?w:'"'===l[3]?k:z):s===k||s===z?s=w:s===b||s===$?s=m:(s=w,n=void 0);const f=s===w&&t[i+1].startsWith("/>")?" ":"";r+=s===m?e+g:a>=0?(o.push(p),e.slice(0,a)+"$lit$"+e.slice(a)+c+f):e+c+(-2===a?(o.push(void 0),i):f)}const p=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==f?f.createHTML(p):p,o]};class E{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,p=this.parts,[l,a]=A(t,i);if(this.el=E.createElement(l,e),N.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=N.nextNode())&&p.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(c)){const e=a[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(c),i=/([.?@])?(.*)/.exec(e);p.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?F:"?"===i[1]?Z:"@"===i[1]?W:T})}else p.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(S.test(o.tagName)){const t=o.textContent.split(c),i=t.length-1;if(i>0){o.textContent=h?h.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],x()),N.nextNode(),p.push({type:2,index:++n});o.append(t[i],x())}}}else if(8===o.nodeType)if(o.data===d)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(c,t+1));)p.push({type:7,index:n}),t+=c.length-1}n++}}static createElement(t,i){const e=y.createElement("template");return e.innerHTML=t,e}}function _(t,i,e=t,o){var n,r,s,p;if(i===I)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const a=u(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(p=e)._$Cl)&&void 0!==s?s:p._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=_(t,l._$AS(t,i.values),l,o)),i}class B{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:y).importNode(e,!0);N.currentNode=n;let r=N.nextNode(),s=0,p=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new M(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new D(r,this,t)),this.v.push(i),l=o[++p]}s!==(null==l?void 0:l.index)&&(r=N.nextNode(),s++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class M{constructor(t,i,e,o){var n;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=_(this,t,i),u(t)?t===j||null==t||""===t?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==I&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return v(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==j&&u(this._$AH)?this._$AA.nextSibling.data=t:this.S(y.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=E.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new B(n,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=O.get(t.strings);return void 0===i&&O.set(t.strings,i=new E(t)),i}A(t){v(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new M(this.M(x()),this.M(x()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class T{constructor(t,i,e,o,n){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=j}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=_(this,t,i,0),r=!u(t)||t!==this._$AH&&t!==I,r&&(this._$AH=t);else{const o=t;let s,p;for(t=n[0],s=0;s<n.length-1;s++)p=_(this,o[e+s],i,s),p===I&&(p=this._$AH[s]),r||(r=!u(p)||p!==this._$AH[s]),p===j?t=j:t!==j&&(t+=(null!=p?p:"")+n[s+1]),this._$AH[s]=p}r&&!o&&this.k(t)}k(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class F extends T{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===j?void 0:t}}const U=h?h.emptyScript:"";class Z extends T{constructor(){super(...arguments),this.type=4}k(t){t&&t!==j?this.element.setAttribute(this.name,U):this.element.removeAttribute(this.name)}}class W extends T{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=_(this,t,i,0))&&void 0!==e?e:j)===I)return;const o=this._$AH,n=t===j&&o!==j||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==j&&(o===j||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class D{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){_(this,t)}}const K=window.litHtmlPolyfillSupport;null==K||K(E,M),(null!==(a=globalThis.litHtmlVersions)&&void 0!==a?a:globalThis.litHtmlVersions=[]).push("2.1.3");
100
100
  /**
101
101
  * @license
102
102
  * Copyright 2020 Google LLC
103
103
  * SPDX-License-Identifier: BSD-3-Clause
104
104
  */
105
- const W=t=>({_$litStatic$:t}),F=new Map,G=(t=>(i,...e)=>{var o;const n=e.length;let r,s;const p=[],l=[];let h,a=0,f=!1;for(;a<n;){for(h=i[a];a<n&&void 0!==(s=e[a],r=null===(o=s)||void 0===o?void 0:o._$litStatic$);)h+=r+i[++a],f=!0;l.push(s),p.push(h),a++}if(a===n&&p.push(i[n]),f){const t=p.join("$$lit$$");void 0===(i=F.get(t))&&(p.raw=p,F.set(t,i=p)),e=l}return t(i,...e)})(S);var H,K=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(H||(H={}));const L=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),X=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),Y={fontFamily:X,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},q=i.FtCssVariable.extend("--ft-typography-title-font-family",L),J=i.FtCssVariable.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),Q=i.FtCssVariable.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),V=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),tt=i.FtCssVariable.extend("--ft-typography-title-line-height",Y.lineHeight,"24px"),it=i.FtCssVariable.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),et=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",L),ot=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),nt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),rt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),st=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"24px"),pt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),lt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",X),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),at=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),ft=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),ct=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"24px"),dt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),gt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",X),yt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),ut=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),vt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),bt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"24px"),mt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),$t=i.FtCssVariable.extend("--ft-typography-body1-font-family",X),xt=i.FtCssVariable.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),wt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),zt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),kt=i.FtCssVariable.extend("--ft-typography-body1-line-height",Y.lineHeight,"24px"),St=i.FtCssVariable.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit"),Ct={fontFamily:i.FtCssVariable.extend("--ft-typography-body2-font-family",X),fontSize:i.FtCssVariable.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),lineHeight:i.FtCssVariable.extend("--ft-typography-body2-line-height",Y.lineHeight,"20px"),textTransform:i.FtCssVariable.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit")},It=i.FtCssVariable.extend("--ft-typography-caption-font-family",X),Ot=i.FtCssVariable.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),At=i.FtCssVariable.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),Et=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),_t=i.FtCssVariable.extend("--ft-typography-caption-line-height",Y.lineHeight,"16px"),Bt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit"),jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",X),Nt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),Tt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),Mt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),Zt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"16px"),Ut=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),Dt=i.FtCssVariable.extend("--ft-typography-overline-font-family",X),Pt=i.FtCssVariable.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),Rt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Wt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),Ft=i.FtCssVariable.extend("--ft-typography-overline-line-height",Y.lineHeight,"16px"),Gt=i.FtCssVariable.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Ht=i.FtCssVariable.extend("--ft-typography-button-font-family",X),Kt=i.FtCssVariable.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),Lt=i.FtCssVariable.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),Xt=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),Yt=i.FtCssVariable.extend("--ft-typography-button-line-height",Y.lineHeight,"16px"),qt=i.FtCssVariable.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase"),Jt=e.css`
105
+ const G=t=>({_$litStatic$:t}),P=new Map,R=(t=>(i,...e)=>{var o;const n=e.length;let r,s;const p=[],l=[];let a,h=0,f=!1;for(;h<n;){for(a=i[h];h<n&&void 0!==(s=e[h],r=null===(o=s)||void 0===o?void 0:o._$litStatic$);)a+=r+i[++h],f=!0;l.push(s),p.push(a),h++}if(h===n&&p.push(i[n]),f){const t=p.join("$$lit$$");void 0===(i=P.get(t))&&(p.raw=p,P.set(t,i=p)),e=l}return t(i,...e)})(C);var H,L=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(H||(H={}));const q=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),X=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),Y={fontFamily:X,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},J=i.FtCssVariable.extend("--ft-typography-title-font-family",q),Q=i.FtCssVariable.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),V=i.FtCssVariable.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),tt=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),it=i.FtCssVariable.extend("--ft-typography-title-line-height",Y.lineHeight,"24px"),et=i.FtCssVariable.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),ot=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",q),nt=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),rt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),st=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),pt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"24px"),lt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),at=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",X),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),ft=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),ct=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),dt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"24px"),gt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),yt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",X),xt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),ut=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),vt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),mt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"24px"),bt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),$t=i.FtCssVariable.extend("--ft-typography-body1-font-family",X),wt=i.FtCssVariable.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),zt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),kt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),St=i.FtCssVariable.extend("--ft-typography-body1-line-height",Y.lineHeight,"24px"),Ct=i.FtCssVariable.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit"),It={fontFamily:i.FtCssVariable.extend("--ft-typography-body2-font-family",X),fontSize:i.FtCssVariable.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),lineHeight:i.FtCssVariable.extend("--ft-typography-body2-line-height",Y.lineHeight,"20px"),textTransform:i.FtCssVariable.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit")},jt=i.FtCssVariable.extend("--ft-typography-caption-font-family",X),Ot=i.FtCssVariable.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),Nt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),At=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),Et=i.FtCssVariable.extend("--ft-typography-caption-line-height",Y.lineHeight,"16px"),_t=i.FtCssVariable.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit"),Bt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",X),Mt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),Tt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),Ft=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),Ut=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"16px"),Zt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),Wt=i.FtCssVariable.extend("--ft-typography-overline-font-family",X),Dt=i.FtCssVariable.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),Kt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Gt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),Pt=i.FtCssVariable.extend("--ft-typography-overline-line-height",Y.lineHeight,"16px"),Rt=i.FtCssVariable.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Ht=i.FtCssVariable.extend("--ft-typography-button-font-family",X),Lt=i.FtCssVariable.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),qt=i.FtCssVariable.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),Xt=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),Yt=i.FtCssVariable.extend("--ft-typography-button-line-height",Y.lineHeight,"16px"),Jt=i.FtCssVariable.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase"),Qt=e.css`
106
106
  .ft-typography--title {
107
- font-family: ${q};
108
- font-size: ${J};
109
- font-weight: ${Q};
110
- letter-spacing: ${V};
111
- line-height: ${tt};
112
- text-transform: ${it};
107
+ font-family: ${J};
108
+ font-size: ${Q};
109
+ font-weight: ${V};
110
+ letter-spacing: ${tt};
111
+ line-height: ${it};
112
+ text-transform: ${et};
113
113
  }
114
- `,Qt=e.css`
114
+ `,Vt=e.css`
115
115
  .ft-typography--title-dense {
116
- font-family: ${et};
117
- font-size: ${ot};
118
- font-weight: ${nt};
119
- letter-spacing: ${rt};
120
- line-height: ${st};
121
- text-transform: ${pt};
116
+ font-family: ${ot};
117
+ font-size: ${nt};
118
+ font-weight: ${rt};
119
+ letter-spacing: ${st};
120
+ line-height: ${pt};
121
+ text-transform: ${lt};
122
122
  }
123
- `,Vt=e.css`
123
+ `,ti=e.css`
124
124
  .ft-typography--subtitle1 {
125
- font-family: ${lt};
125
+ font-family: ${at};
126
126
  font-size: ${ht};
127
- font-weight: ${at};
128
- letter-spacing: ${ft};
129
- line-height: ${ct};
130
- text-transform: ${dt};
127
+ font-weight: ${ft};
128
+ letter-spacing: ${ct};
129
+ line-height: ${dt};
130
+ text-transform: ${gt};
131
131
  }
132
- `,ti=e.css`
132
+ `,ii=e.css`
133
133
  .ft-typography--subtitle2 {
134
- font-family: ${gt};
135
- font-size: ${yt};
134
+ font-family: ${yt};
135
+ font-size: ${xt};
136
136
  font-weight: ${ut};
137
137
  letter-spacing: ${vt};
138
- line-height: ${bt};
139
- text-transform: ${mt};
138
+ line-height: ${mt};
139
+ text-transform: ${bt};
140
140
  }
141
141
 
142
- `,ii=e.css`
142
+ `,ei=e.css`
143
143
  .ft-typography--body1 {
144
144
  font-family: ${$t};
145
- font-size: ${xt};
146
- font-weight: ${wt};
147
- letter-spacing: ${zt};
148
- line-height: ${kt};
149
- text-transform: ${St};
145
+ font-size: ${wt};
146
+ font-weight: ${zt};
147
+ letter-spacing: ${kt};
148
+ line-height: ${St};
149
+ text-transform: ${Ct};
150
150
  }
151
- `,ei=e.css`
151
+ `,oi=e.css`
152
152
  .ft-typography--body2 {
153
- font-family: ${Ct.fontFamily};
154
- font-size: ${Ct.fontSize};
155
- font-weight: ${Ct.fontWeight};
156
- letter-spacing: ${Ct.letterSpacing};
157
- line-height: ${Ct.lineHeight};
158
- text-transform: ${Ct.textTransform};
153
+ font-family: ${It.fontFamily};
154
+ font-size: ${It.fontSize};
155
+ font-weight: ${It.fontWeight};
156
+ letter-spacing: ${It.letterSpacing};
157
+ line-height: ${It.lineHeight};
158
+ text-transform: ${It.textTransform};
159
159
  }
160
- `,oi=e.css`
160
+ `,ni=e.css`
161
161
  .ft-typography--caption {
162
- font-family: ${It};
162
+ font-family: ${jt};
163
163
  font-size: ${Ot};
164
- font-weight: ${At};
165
- letter-spacing: ${Et};
166
- line-height: ${_t};
167
- text-transform: ${Bt};
164
+ font-weight: ${Nt};
165
+ letter-spacing: ${At};
166
+ line-height: ${Et};
167
+ text-transform: ${_t};
168
168
  }
169
- `,ni=e.css`
169
+ `,ri=e.css`
170
170
  .ft-typography--breadcrumb {
171
- font-family: ${jt};
172
- font-size: ${Nt};
171
+ font-family: ${Bt};
172
+ font-size: ${Mt};
173
173
  font-weight: ${Tt};
174
- letter-spacing: ${Mt};
175
- line-height: ${Zt};
176
- text-transform: ${Ut};
174
+ letter-spacing: ${Ft};
175
+ line-height: ${Ut};
176
+ text-transform: ${Zt};
177
177
  }
178
- `,ri=e.css`
178
+ `,si=e.css`
179
179
  .ft-typography--overline {
180
- font-family: ${Dt};
181
- font-size: ${Pt};
182
- font-weight: ${Rt};
183
- letter-spacing: ${Wt};
184
- line-height: ${Ft};
185
- text-transform: ${Gt};
180
+ font-family: ${Wt};
181
+ font-size: ${Dt};
182
+ font-weight: ${Kt};
183
+ letter-spacing: ${Gt};
184
+ line-height: ${Pt};
185
+ text-transform: ${Rt};
186
186
  }
187
- `,si=e.css`
187
+ `,pi=e.css`
188
188
  .ft-typography--button {
189
189
  font-family: ${Ht};
190
- font-size: ${Kt};
191
- font-weight: ${Lt};
190
+ font-size: ${Lt};
191
+ font-weight: ${qt};
192
192
  letter-spacing: ${Xt};
193
193
  line-height: ${Yt};
194
- text-transform: ${qt};
194
+ text-transform: ${Jt};
195
195
  }
196
- `;class pi extends i.FtLitElement{constructor(){super(...arguments),this.variant=H.body1}render(){return this.element?G`
197
- <${W(this.element)}
196
+ `;class li extends i.FtLitElement{constructor(){super(...arguments),this.variant=H.body1}render(){return this.element?R`
197
+ <${G(this.element)}
198
198
  class="ft-typography ft-typography--${this.variant}">
199
199
  <slot></slot>
200
- </${W(this.element)}>
201
- `:G`
200
+ </${G(this.element)}>
201
+ `:R`
202
202
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
203
- `}}pi.styles=[Jt,Qt,Vt,ti,ii,ei,oi,ni,ri,si,e.css`
203
+ `}}var ai,hi;li.styles=[Qt,Vt,ti,ii,ei,oi,ni,ri,si,pi,e.css`
204
204
  .ft-typography {
205
205
  vertical-align: inherit;
206
206
  }
207
- `],K([o.property()],pi.prototype,"element",void 0),K([o.property()],pi.prototype,"variant",void 0),i.customElement("ft-typography")(pi);
208
- /**
209
- * @license
210
- * Copyright 2021 Google LLC
211
- * SPDX-LIcense-Identifier: Apache-2.0
212
- */
213
- const li=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"}`
214
- /**
215
- * @license
216
- * Copyright 2018 Google LLC
217
- * SPDX-License-Identifier: Apache-2.0
218
- */;let hi=class extends e.LitElement{render(){return e.html`<span><slot></slot></span>`}};hi.styles=[li],hi=
219
- /*! *****************************************************************************
220
- Copyright (c) Microsoft Corporation.
221
-
222
- Permission to use, copy, modify, and/or distribute this software for any
223
- purpose with or without fee is hereby granted.
224
-
225
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
226
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
227
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
228
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
229
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
230
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
231
- PERFORMANCE OF THIS SOFTWARE.
232
- ***************************************************************************** */
233
- function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s}([o.customElement("mwc-icon")],hi);var ai=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const fi=i.FtCssVariable.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),ci={backgroundColor:i.FtCssVariable.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:fi,fontSize:i.FtCssVariable.extend("--ft-chip-font-size",Ct.fontSize),iconSize:i.FtCssVariable.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariable.extend("--ft-chip-ripple-color",fi),horizontalPadding:i.FtCssVariable.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariable.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariable.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},di=i.FtCssVariable.extend("--ft-chip-highlighted-color",i.FtCssVariable.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),gi={backgroundColor:i.FtCssVariable.extend("--ft-chip-highlighted-background-color",i.FtCssVariable.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:di,rippleColor:i.FtCssVariable.extend("--ft-chip-highlighted-ripple-color",di)},yi={horizontalPadding:i.FtCssVariable.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:i.FtCssVariable.create("--ft-chip-dense-vertical-padding","SIZE","4px")};class ui extends CustomEvent{constructor(){super("icon-click")}}class vi extends i.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}static get styles(){return[i.noTextSelect,e.css`
207
+ `],L([o.property()],li.prototype,"element",void 0),L([o.property()],li.prototype,"variant",void 0),i.customElement("ft-typography")(li),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ai||(ai={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(hi||(hi={})),new Map([...["abw"].map((t=>[t,hi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,hi.AUDIO])),...["avi"].map((t=>[t,hi.AVI])),...["chm","xhs"].map((t=>[t,hi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,hi.CODE])),...["csv"].map((t=>[t,hi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hi.DITA])),...["epub"].map((t=>[t,hi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hi.EXCEL])),...["flac"].map((t=>[t,hi.FLAC])),...["gif"].map((t=>[t,hi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hi.GZIP])),...["html","htm","xhtml"].map((t=>[t,hi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,hi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hi.JPEG])),...["json"].map((t=>[t,hi.JSON])),...["m4a","m4p"].map((t=>[t,hi.M4A])),...["mov","qt"].map((t=>[t,hi.MOV])),...["mp3"].map((t=>[t,hi.MP3])),...["mp4","m4v"].map((t=>[t,hi.MP4])),...["ogg","oga"].map((t=>[t,hi.OGG])),...["pdf","ps"].map((t=>[t,hi.PDF])),...["png"].map((t=>[t,hi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hi.POWERPOINT])),...["rar"].map((t=>[t,hi.RAR])),...["stp"].map((t=>[t,hi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,hi.VIDEO])),...["wav"].map((t=>[t,hi.WAV])),...["wma"].map((t=>[t,hi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hi.WORD])),...["xml","xsl","rdf"].map((t=>[t,hi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hi.YAML])),...["zip"].map((t=>[t,hi.ZIP]))]);var fi,ci=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(fi||(fi={}));const di={size:i.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariable.extend("--ft-icon-file-format-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariable.extend("--ft-icon-material-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class gi extends i.FtLitElement{constructor(){super(...arguments),this.variant=fi.fluid_topics}render(){return e.html`
208
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
209
+ ${r.unsafeHTML(this.getIcon())}
210
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
211
+ </i>
212
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===fi.file_format?null!==(t=hi[o.toUpperCase()])&&void 0!==t?t:o:this.variant===fi.fluid_topics?null!==(i=ai[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}gi.elementDefinitions={},gi.styles=e.css`
213
+ :host, i.ft-icon {
214
+ display: inline-block;
215
+ width: ${di.size};
216
+ height: ${di.size};
217
+ text-align: center;
218
+ }
219
+
220
+ i.ft-icon {
221
+ font-size: ${di.size};
222
+ line-height: 1;
223
+ font-weight: normal;
224
+ text-transform: none;
225
+ font-style: normal;
226
+ font-variant: normal;
227
+ speak: none;
228
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
229
+ text-rendering: auto;
230
+ -webkit-font-smoothing: antialiased;
231
+ -moz-osx-font-smoothing: grayscale;
232
+ }
233
+
234
+ .ft-icon--fluid-topics {
235
+ font-family: ${di.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
236
+ }
237
+
238
+ .ft-icon--file-format {
239
+ font-family: ${di.fileFormatFontFamily}, ft-mime, sans-serif;
240
+ }
241
+
242
+ .ft-icon--material {
243
+ font-family: ${di.materialFontFamily}, "Material Icons", sans-serif;
244
+ }
245
+ `,ci([o.property()],gi.prototype,"variant",void 0),ci([o.query("slot")],gi.prototype,"slottedContent",void 0),i.customElement("ft-icon")(gi);var yi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const xi=i.FtCssVariable.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),ui={backgroundColor:i.FtCssVariable.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:xi,fontSize:i.FtCssVariable.extend("--ft-chip-font-size",It.fontSize),iconSize:i.FtCssVariable.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariable.extend("--ft-chip-ripple-color",xi),horizontalPadding:i.FtCssVariable.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariable.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariable.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},vi=i.FtCssVariable.extend("--ft-chip-highlighted-color",i.FtCssVariable.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),mi={backgroundColor:i.FtCssVariable.extend("--ft-chip-highlighted-background-color",i.FtCssVariable.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:vi,rippleColor:i.FtCssVariable.extend("--ft-chip-highlighted-ripple-color",vi)},bi={horizontalPadding:i.FtCssVariable.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:i.FtCssVariable.create("--ft-chip-dense-vertical-padding","SIZE","4px")};class $i extends CustomEvent{constructor(){super("icon-click")}}class wi extends i.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}static get styles(){return[i.noTextSelect,e.css`
234
246
  :host {
235
247
  display: inline-block;
236
248
  max-width: 100%;
@@ -247,27 +259,27 @@ function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnP
247
259
  box-sizing: border-box;
248
260
  pointer-events: auto;
249
261
 
250
- --ft-chip-internal-font-size: ${ci.fontSize};
262
+ --ft-chip-internal-font-size: ${ui.fontSize};
251
263
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
252
- --mdc-icon-size: ${ci.iconSize};
253
- --ft-chip-internal-vertical-padding: ${ci.verticalPadding};
254
- --ft-chip-internal-horizontal-padding: ${ci.horizontalPadding};
264
+ ${i.setVariable(di.size,ui.iconSize)};
265
+ --ft-chip-internal-vertical-padding: ${ui.verticalPadding};
266
+ --ft-chip-internal-horizontal-padding: ${ui.horizontalPadding};
255
267
  --ft-chip-internal-icon-padding: 3px;
256
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), var(--mdc-icon-size));
268
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ui.iconSize});
257
269
 
258
- border: 1px solid ${ci.colorOutline};
259
- color: ${ci.color};
260
- ${i.setVariable(s.color,ci.rippleColor)};
270
+ border: 1px solid ${ui.colorOutline};
271
+ color: ${ui.color};
272
+ ${i.setVariable(p.color,ui.rippleColor)};
261
273
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
262
274
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
263
- background-color: ${ci.backgroundColor};
275
+ background-color: ${ui.backgroundColor};
264
276
  line-height: var(--ft-chip-internal-content-height);
265
277
  }
266
278
 
267
279
  .ft-chip--dense {
268
280
  --ft-chip-internal-icon-padding: 3px;
269
- --ft-chip-internal-vertical-padding: ${yi.verticalPadding};
270
- --ft-chip-internal-horizontal-padding: ${yi.horizontalPadding};
281
+ --ft-chip-internal-vertical-padding: ${bi.verticalPadding};
282
+ --ft-chip-internal-horizontal-padding: ${bi.horizontalPadding};
271
283
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
272
284
  }
273
285
 
@@ -279,15 +291,15 @@ function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnP
279
291
  cursor: default;
280
292
  pointer-events: none;
281
293
  filter: grayscale(1);
282
- opacity: ${ci.opacityDisabled};
294
+ opacity: ${ui.opacityDisabled};
283
295
  }
284
296
 
285
297
  .ft-chip--highlighted {
286
298
  border: none;
287
299
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
288
- background-color: ${gi.backgroundColor};
289
- ${i.setVariable(s.color,gi.rippleColor)};
290
- color: ${gi.color};
300
+ background-color: ${mi.backgroundColor};
301
+ ${i.setVariable(p.color,mi.rippleColor)};
302
+ color: ${mi.color};
291
303
  }
292
304
 
293
305
  .ft-chip--clickable {
@@ -316,8 +328,8 @@ function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnP
316
328
  vertical-align: bottom;
317
329
  display: block;
318
330
  margin: 0 var(--ft-chip-internal-horizontal-padding);
319
- ${i.setVariable(Ct.fontSize,"var(--ft-chip-internal-font-size)")};
320
- ${i.setVariable(Ct.lineHeight,"var(--ft-chip-internal-content-height)")};
331
+ ${i.setVariable(It.fontSize,"var(--ft-chip-internal-font-size)")};
332
+ ${i.setVariable(It.lineHeight,"var(--ft-chip-internal-content-height)")};
321
333
  }
322
334
 
323
335
  .ft-chip--safari-fix .ft-chip--label {
@@ -369,6 +381,6 @@ function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnP
369
381
  @click=${this.onIconClick}
370
382
  @keyup=${this.onIconKeyUp}>
371
383
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
372
- <mwc-icon>${this.internalIcon}</mwc-icon>
384
+ <ft-icon variant="material">${this.internalIcon}</ft-icon>
373
385
  </div>
374
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ui))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ui))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}vi.elementDefinitions={"ft-ripple":p,"ft-typography":pi,"mwc-icon":hi},ai([o.property({type:Boolean})],vi.prototype,"highlighted",void 0),ai([o.property({type:Boolean})],vi.prototype,"removable",void 0),ai([o.property({type:Boolean})],vi.prototype,"disabled",void 0),ai([o.property({type:Boolean})],vi.prototype,"clickable",void 0),ai([o.property({type:Boolean})],vi.prototype,"iconClickable",void 0),ai([o.property({type:Boolean})],vi.prototype,"dense",void 0),ai([o.property({type:Boolean})],vi.prototype,"multiLine",void 0),ai([o.property({type:String})],vi.prototype,"label",void 0),ai([o.property({type:String})],vi.prototype,"icon",void 0),ai([o.property({type:Boolean})],vi.prototype,"trailingIcon",void 0),ai([o.query("ft-typography slot")],vi.prototype,"slottedContent",void 0),i.customElement("ft-chip")(vi),t.FtChip=vi,t.FtChipCssVariables=ci,t.FtChipDenseCssVariables=yi,t.FtChipHighlightedCssVariables=gi,t.IconClickEvent=ui,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
386
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new $i))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new $i))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}wi.elementDefinitions={"ft-ripple":l,"ft-typography":li,"ft-icon":gi},yi([o.property({type:Boolean})],wi.prototype,"highlighted",void 0),yi([o.property({type:Boolean})],wi.prototype,"removable",void 0),yi([o.property({type:Boolean})],wi.prototype,"disabled",void 0),yi([o.property({type:Boolean})],wi.prototype,"clickable",void 0),yi([o.property({type:Boolean})],wi.prototype,"iconClickable",void 0),yi([o.property({type:Boolean})],wi.prototype,"dense",void 0),yi([o.property({type:Boolean})],wi.prototype,"multiLine",void 0),yi([o.property({type:String})],wi.prototype,"label",void 0),yi([o.property({type:String})],wi.prototype,"icon",void 0),yi([o.property({type:Boolean})],wi.prototype,"trailingIcon",void 0),yi([o.query("ft-typography slot")],wi.prototype,"slottedContent",void 0),i.customElement("ft-chip")(wi),t.FtChip=wi,t.FtChipCssVariables=ui,t.FtChipDenseCssVariables=bi,t.FtChipHighlightedCssVariables=mi,t.IconClickEvent=$i,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);