@fluid-topics/ft-accordion 0.2.15 → 0.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- !function(t,e,i,o,s,r){var n=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class p extends e.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return i.html`
1
+ !function(t,e,i,o,s,r){var n=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class l extends e.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return i.html`
2
2
  <div class="ft-accordion">
3
3
  <slot @activated=${this.onChange}></slot>
4
4
  </div>
5
- `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}p.elementDefinitions={},p.styles=i.css`
5
+ `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}l.elementDefinitions={},l.styles=i.css`
6
6
  .ft-accordion {
7
7
  box-sizing: border-box;
8
8
  }
9
- `,n([o.property({type:Boolean})],p.prototype,"multi",void 0),n([o.query("slot")],p.prototype,"content",void 0);var l=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const a=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),f=a,h=e.FtCssVariable.extend("--ft-ripple-background-color",a),c=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),d=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),g=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),x=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),y=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),u=y,v=e.FtCssVariable.extend("--ft-ripple-background-color",y),m=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),b=m,$=e.FtCssVariable.extend("--ft-ripple-background-color",m);class w extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
9
+ `,n([o.property({type:Boolean})],l.prototype,"multi",void 0),n([o.query("slot")],l.prototype,"content",void 0);var p=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const a=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),f=a,h=e.FtCssVariable.extend("--ft-ripple-background-color",a),c=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),d=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),g=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),y=e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),x=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),u=x,v=e.FtCssVariable.extend("--ft-ripple-background-color",x),m=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),b=m,$=e.FtCssVariable.extend("--ft-ripple-background-color",m);class w extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
10
10
  <style>
11
11
  .ft-ripple .ft-ripple--effect,
12
12
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -107,7 +107,7 @@ var k;w.elementDefinitions={},w.styles=i.css`
107
107
  }
108
108
 
109
109
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
110
- opacity: ${x};
110
+ opacity: ${y};
111
111
  }
112
112
 
113
113
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
@@ -118,18 +118,18 @@ var k;w.elementDefinitions={},w.styles=i.css`
118
118
  opacity: ${c};
119
119
  transform: translate(-50%, -50%) scale(1);
120
120
  }
121
- `,l([o.property({type:Boolean})],w.prototype,"primary",void 0),l([o.property({type:Boolean})],w.prototype,"secondary",void 0),l([o.property({type:Boolean})],w.prototype,"unbounded",void 0),l([o.property({type:Boolean})],w.prototype,"activated",void 0),l([o.property({type:Boolean})],w.prototype,"selected",void 0),l([o.property({type:Boolean})],w.prototype,"disabled",void 0),l([o.state()],w.prototype,"hovered",void 0),l([o.state()],w.prototype,"focused",void 0),l([o.state()],w.prototype,"pressed",void 0),l([o.state()],w.prototype,"rippling",void 0),l([o.state()],w.prototype,"rippleSize",void 0),l([o.state()],w.prototype,"originX",void 0),l([o.state()],w.prototype,"originY",void 0),l([o.query(".ft-ripple")],w.prototype,"ripple",void 0),l([o.query(".ft-ripple--effect")],w.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(w);const z=globalThis.trustedTypes,j=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,N="?"+S,O=`<${N}>`,_=document,A=(t="")=>_.createComment(t),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,T=/>/g,U=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,B=/'/g,Z=/"/g,W=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),K=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),R=new WeakMap,q=_.createTreeWalker(_,129,null,!1),F=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=C;for(let e=0;e<i;e++){const i=t[e];let p,l,a=-1,f=0;for(;f<i.length&&(n.lastIndex=f,l=n.exec(i),null!==l);)f=n.lastIndex,n===C?"!--"===l[1]?n=M:void 0!==l[1]?n=T:void 0!==l[2]?(W.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=U):void 0!==l[3]&&(n=U):n===U?">"===l[0]?(n=null!=s?s:C,a=-1):void 0===l[1]?a=-2:(a=n.lastIndex-l[2].length,p=l[1],n=void 0===l[3]?U:'"'===l[3]?Z:B):n===Z||n===B?n=U:n===M||n===T?n=C:(n=U,s=void 0);const h=n===U&&t[e+1].startsWith("/>")?" ":"";r+=n===C?i+O:a>=0?(o.push(p),i.slice(0,a)+"$lit$"+i.slice(a)+S+h):i+S+(-2===a?(o.push(void 0),e):h)}const p=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(p):p,o]};class H{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,p=this.parts,[l,a]=F(t,e);if(this.el=H.createElement(l,i),q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=q.nextNode())&&p.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(S)){const i=a[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(S),e=/([.?@])?(.*)/.exec(i);p.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?P:"?"===e[1]?V:"@"===e[1]?tt:J})}else p.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(S),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),q.nextNode(),p.push({type:2,index:++s});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===N)p.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)p.push({type:7,index:s}),t+=S.length-1}s++}}static createElement(t,e){const i=_.createElement("template");return i.innerHTML=t,i}}function L(t,e,i=t,o){var s,r,n,p;if(e===K)return e;let l=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=E(e)?void 0:e._$litDirective$;return(null==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,i,o)),void 0!==o?(null!==(n=(p=i)._$Cl)&&void 0!==n?n:p._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=L(t,l._$AS(t,e.values),l,o)),e}class X{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_).importNode(i,!0);q.currentNode=s;let r=q.nextNode(),n=0,p=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new Y(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new et(r,this,t)),this.v.push(e),l=o[++p]}n!==(null==l?void 0:l.index)&&(r=q.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var s;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=L(this,t,e),E(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==K&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return I(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==G&&E(this._$AH)?this._$AA.nextSibling.data=t:this.k(_.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=H.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new X(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=R.get(t.strings);return void 0===e&&R.set(t.strings,e=new H(t)),e}S(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Y(this.M(A()),this.M(A()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,o,s){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=L(this,t,e,0),r=!E(t)||t!==this._$AH&&t!==K,r&&(this._$AH=t);else{const o=t;let n,p;for(t=s[0],n=0;n<s.length-1;n++)p=L(this,o[i+n],e,n),p===K&&(p=this._$AH[n]),r||(r=!E(p)||p!==this._$AH[n]),p===G?t=G:t!==G&&(t+=(null!=p?p:"")+s[n+1]),this._$AH[n]=p}r&&!o&&this.C(t)}C(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===G?void 0:t}}const Q=z?z.emptyScript:"";class V extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==G?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class tt extends J{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=L(this,t,e,0))&&void 0!==i?i:G)===K)return;const o=this._$AH,s=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==G&&(o===G||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class et{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}}const it=window.litHtmlPolyfillSupport;null==it||it(H,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.4");
121
+ `,p([o.property({type:Boolean})],w.prototype,"primary",void 0),p([o.property({type:Boolean})],w.prototype,"secondary",void 0),p([o.property({type:Boolean})],w.prototype,"unbounded",void 0),p([o.property({type:Boolean})],w.prototype,"activated",void 0),p([o.property({type:Boolean})],w.prototype,"selected",void 0),p([o.property({type:Boolean})],w.prototype,"disabled",void 0),p([o.state()],w.prototype,"hovered",void 0),p([o.state()],w.prototype,"focused",void 0),p([o.state()],w.prototype,"pressed",void 0),p([o.state()],w.prototype,"rippling",void 0),p([o.state()],w.prototype,"rippleSize",void 0),p([o.state()],w.prototype,"originX",void 0),p([o.state()],w.prototype,"originY",void 0),p([o.query(".ft-ripple")],w.prototype,"ripple",void 0),p([o.query(".ft-ripple--effect")],w.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(w);const z=globalThis.trustedTypes,j=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,S="?"+N,O=`<${S}>`,_=document,A=(t="")=>_.createComment(t),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,T=/>/g,U=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,B=/'/g,W=/"/g,Z=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),K=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),G=new WeakMap,q=_.createTreeWalker(_,129,null,!1),F=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=I;for(let e=0;e<i;e++){const i=t[e];let l,p,a=-1,f=0;for(;f<i.length&&(n.lastIndex=f,p=n.exec(i),null!==p);)f=n.lastIndex,n===I?"!--"===p[1]?n=M:void 0!==p[1]?n=T:void 0!==p[2]?(Z.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=U):void 0!==p[3]&&(n=U):n===U?">"===p[0]?(n=null!=s?s:I,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?U:'"'===p[3]?W:B):n===W||n===B?n=U:n===M||n===T?n=I:(n=U,s=void 0);const h=n===U&&t[e+1].startsWith("/>")?" ":"";r+=n===I?i+O:a>=0?(o.push(l),i.slice(0,a)+"$lit$"+i.slice(a)+N+h):i+N+(-2===a?(o.push(void 0),e):h)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(l):l,o]};class H{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[p,a]=F(t,e);if(this.el=H.createElement(p,i),q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=q.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(N)){const i=a[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?P:"?"===e[1]?V:"@"===e[1]?tt:J})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(Z.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),q.nextNode(),l.push({type:2,index:++s});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===S)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)l.push({type:7,index:s}),t+=N.length-1}s++}}static createElement(t,e){const i=_.createElement("template");return i.innerHTML=t,i}}function L(t,e,i=t,o){var s,r,n,l;if(e===K)return e;let p=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=E(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Cl)&&void 0!==n?n:l._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=L(t,p._$AS(t,e.values),p,o)),e}class X{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_).importNode(i,!0);q.currentNode=s;let r=q.nextNode(),n=0,l=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new Y(r,r.nextSibling,this,t):1===p.type?e=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(e=new et(r,this,t)),this.v.push(e),p=o[++l]}n!==(null==p?void 0:p.index)&&(r=q.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var s;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=L(this,t,e),E(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==K&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return C(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==R&&E(this._$AH)?this._$AA.nextSibling.data=t:this.k(_.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=H.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new X(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new H(t)),e}S(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Y(this.M(A()),this.M(A()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,o,s){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=L(this,t,e,0),r=!E(t)||t!==this._$AH&&t!==K,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=L(this,o[i+n],e,n),l===K&&(l=this._$AH[n]),r||(r=!E(l)||l!==this._$AH[n]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.C(t)}C(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===R?void 0:t}}const Q=z?z.emptyScript:"";class V extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==R?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class tt extends J{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=L(this,t,e,0))&&void 0!==i?i:R)===K)return;const o=this._$AH,s=t===R&&o!==R||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==R&&(o===R||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class et{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}}const it=window.litHtmlPolyfillSupport;null==it||it(H,Y),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.4");
122
122
  /**
123
123
  * @license
124
124
  * Copyright 2020 Google LLC
125
125
  * SPDX-License-Identifier: BSD-3-Clause
126
126
  */
127
- const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ot)return null===(i=t)||void 0===i?void 0:i._$litStatic$},rt=t=>({_$litStatic$:t,r:ot}),nt=new Map,pt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],p=[];let l,a=0,f=!1;for(;a<o;){for(l=e[a];a<o&&void 0!==(r=i[a],s=st(r));)l+=s+e[++a],f=!0;p.push(r),n.push(l),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=nt.get(t))&&(n.raw=n,nt.set(t,e=n)),i=p}return t(e,...i)})(D);var lt,at=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(lt||(lt={}));const ft=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),ht=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ct={fontFamily:ht,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},dt=e.FtCssVariable.extend("--ft-typography-title-font-family",ft),gt=e.FtCssVariable.extend("--ft-typography-title-font-size",ct.fontSize,"20px"),xt=e.FtCssVariable.extend("--ft-typography-title-font-weight",ct.fontWeight,"normal"),yt=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",ct.letterSpacing,"0.15px"),ut=e.FtCssVariable.extend("--ft-typography-title-line-height",ct.lineHeight,"24px"),vt=e.FtCssVariable.extend("--ft-typography-title-text-transform",ct.textTransform,"inherit"),mt=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",ft),bt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",ct.fontSize,"14px"),$t=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",ct.fontWeight,"normal"),wt=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",ct.letterSpacing,"0.105px"),kt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",ct.lineHeight,"24px"),zt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",ct.textTransform,"inherit"),jt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",ht),St=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",ct.fontSize,"16px"),Nt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",ct.fontWeight,"600"),Ot=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",ct.letterSpacing,"0.144px"),_t=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",ct.lineHeight,"24px"),At=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",ct.textTransform,"inherit"),Et=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",ht),It=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",ct.fontSize,"14px"),Ct=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",ct.fontWeight,"normal"),Mt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",ct.letterSpacing,"0.098px"),Tt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",ct.lineHeight,"24px"),Ut=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",ct.textTransform,"inherit"),Bt=e.FtCssVariable.extend("--ft-typography-body1-font-family",ht),Zt=e.FtCssVariable.extend("--ft-typography-body1-font-size",ct.fontSize,"16px"),Wt=e.FtCssVariable.extend("--ft-typography-body1-font-weight",ct.fontWeight,"normal"),Dt=e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",ct.letterSpacing,"0.496px"),Kt=e.FtCssVariable.extend("--ft-typography-body1-line-height",ct.lineHeight,"24px"),Gt=e.FtCssVariable.extend("--ft-typography-body1-text-transform",ct.textTransform,"inherit"),Rt=e.FtCssVariable.extend("--ft-typography-body2-font-family",ht),qt=e.FtCssVariable.extend("--ft-typography-body2-font-size",ct.fontSize,"14px"),Ft=e.FtCssVariable.extend("--ft-typography-body2-font-weight",ct.fontWeight,"normal"),Ht=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",ct.letterSpacing,"0.252px"),Lt=e.FtCssVariable.extend("--ft-typography-body2-line-height",ct.lineHeight,"20px"),Xt=e.FtCssVariable.extend("--ft-typography-body2-text-transform",ct.textTransform,"inherit"),Yt=e.FtCssVariable.extend("--ft-typography-caption-font-family",ht),Jt=e.FtCssVariable.extend("--ft-typography-caption-font-size",ct.fontSize,"12px"),Pt=e.FtCssVariable.extend("--ft-typography-caption-font-weight",ct.fontWeight,"normal"),Qt=e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",ct.letterSpacing,"0.396px"),Vt=e.FtCssVariable.extend("--ft-typography-caption-line-height",ct.lineHeight,"16px"),te=e.FtCssVariable.extend("--ft-typography-caption-text-transform",ct.textTransform,"inherit"),ee=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",ht),ie=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",ct.fontSize,"10px"),oe=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",ct.fontWeight,"normal"),se=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",ct.letterSpacing,"0.33px"),re=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",ct.lineHeight,"16px"),ne=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",ct.textTransform,"inherit"),pe=e.FtCssVariable.extend("--ft-typography-overline-font-family",ht),le=e.FtCssVariable.extend("--ft-typography-overline-font-size",ct.fontSize,"10px"),ae=e.FtCssVariable.extend("--ft-typography-overline-font-weight",ct.fontWeight,"normal"),fe=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",ct.letterSpacing,"1.5px"),he=e.FtCssVariable.extend("--ft-typography-overline-line-height",ct.lineHeight,"16px"),ce=e.FtCssVariable.extend("--ft-typography-overline-text-transform",ct.textTransform,"uppercase"),de=e.FtCssVariable.extend("--ft-typography-button-font-family",ht),ge=e.FtCssVariable.extend("--ft-typography-button-font-size",ct.fontSize,"14px"),xe=e.FtCssVariable.extend("--ft-typography-button-font-weight",ct.fontWeight,"600"),ye=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",ct.letterSpacing,"1.246px"),ue=e.FtCssVariable.extend("--ft-typography-button-line-height",ct.lineHeight,"16px"),ve=e.FtCssVariable.extend("--ft-typography-button-text-transform",ct.textTransform,"uppercase"),me=i.css`
127
+ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ot)return null===(i=t)||void 0===i?void 0:i._$litStatic$},rt=t=>({_$litStatic$:t,r:ot}),nt=new Map,lt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(r=i[a],s=st(r));)p+=s+e[++a],f=!0;l.push(r),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=nt.get(t))&&(n.raw=n,nt.set(t,e=n)),i=l}return t(e,...i)})(D);var pt,at=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(pt||(pt={}));const ft=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),ht=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ct={fontFamily:ht,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},dt=e.FtCssVariable.extend("--ft-typography-title-font-family",ft),gt=e.FtCssVariable.extend("--ft-typography-title-font-size",ct.fontSize,"20px"),yt=e.FtCssVariable.extend("--ft-typography-title-font-weight",ct.fontWeight,"normal"),xt=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",ct.letterSpacing,"0.15px"),ut=e.FtCssVariable.extend("--ft-typography-title-line-height",ct.lineHeight,"1.2"),vt=e.FtCssVariable.extend("--ft-typography-title-text-transform",ct.textTransform,"inherit"),mt=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",ft),bt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",ct.fontSize,"14px"),$t=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",ct.fontWeight,"normal"),wt=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",ct.letterSpacing,"0.105px"),kt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",ct.lineHeight,"1.7"),zt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",ct.textTransform,"inherit"),jt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",ht),Nt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",ct.fontSize,"16px"),St=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",ct.fontWeight,"600"),Ot=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",ct.letterSpacing,"0.144px"),_t=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",ct.lineHeight,"1.5"),At=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",ct.textTransform,"inherit"),Et=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",ht),Ct=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",ct.fontSize,"14px"),It=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",ct.fontWeight,"normal"),Mt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",ct.letterSpacing,"0.098px"),Tt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",ct.lineHeight,"1.7"),Ut=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",ct.textTransform,"inherit"),Bt=e.FtCssVariable.extend("--ft-typography-body1-font-family",ht),Wt=e.FtCssVariable.extend("--ft-typography-body1-font-size",ct.fontSize,"16px"),Zt=e.FtCssVariable.extend("--ft-typography-body1-font-weight",ct.fontWeight,"normal"),Dt=e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",ct.letterSpacing,"0.496px"),Kt=e.FtCssVariable.extend("--ft-typography-body1-line-height",ct.lineHeight,"1.5"),Rt=e.FtCssVariable.extend("--ft-typography-body1-text-transform",ct.textTransform,"inherit"),Gt=e.FtCssVariable.extend("--ft-typography-body2-font-family",ht),qt=e.FtCssVariable.extend("--ft-typography-body2-font-size",ct.fontSize,"14px"),Ft=e.FtCssVariable.extend("--ft-typography-body2-font-weight",ct.fontWeight,"normal"),Ht=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",ct.letterSpacing,"0.252px"),Lt=e.FtCssVariable.extend("--ft-typography-body2-line-height",ct.lineHeight,"1.4"),Xt=e.FtCssVariable.extend("--ft-typography-body2-text-transform",ct.textTransform,"inherit"),Yt=e.FtCssVariable.extend("--ft-typography-caption-font-family",ht),Jt=e.FtCssVariable.extend("--ft-typography-caption-font-size",ct.fontSize,"12px"),Pt=e.FtCssVariable.extend("--ft-typography-caption-font-weight",ct.fontWeight,"normal"),Qt=e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",ct.letterSpacing,"0.396px"),Vt=e.FtCssVariable.extend("--ft-typography-caption-line-height",ct.lineHeight,"1.33"),te=e.FtCssVariable.extend("--ft-typography-caption-text-transform",ct.textTransform,"inherit"),ee=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",ht),ie=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",ct.fontSize,"10px"),oe=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",ct.fontWeight,"normal"),se=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",ct.letterSpacing,"0.33px"),re=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",ct.lineHeight,"1.6"),ne=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",ct.textTransform,"inherit"),le=e.FtCssVariable.extend("--ft-typography-overline-font-family",ht),pe=e.FtCssVariable.extend("--ft-typography-overline-font-size",ct.fontSize,"10px"),ae=e.FtCssVariable.extend("--ft-typography-overline-font-weight",ct.fontWeight,"normal"),fe=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",ct.letterSpacing,"1.5px"),he=e.FtCssVariable.extend("--ft-typography-overline-line-height",ct.lineHeight,"1.6"),ce=e.FtCssVariable.extend("--ft-typography-overline-text-transform",ct.textTransform,"uppercase"),de=e.FtCssVariable.extend("--ft-typography-button-font-family",ht),ge=e.FtCssVariable.extend("--ft-typography-button-font-size",ct.fontSize,"14px"),ye=e.FtCssVariable.extend("--ft-typography-button-font-weight",ct.fontWeight,"600"),xe=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",ct.letterSpacing,"1.246px"),ue=e.FtCssVariable.extend("--ft-typography-button-line-height",ct.lineHeight,"1.15"),ve=e.FtCssVariable.extend("--ft-typography-button-text-transform",ct.textTransform,"uppercase"),me=i.css`
128
128
  .ft-typography--title {
129
129
  font-family: ${dt};
130
130
  font-size: ${gt};
131
- font-weight: ${xt};
132
- letter-spacing: ${yt};
131
+ font-weight: ${yt};
132
+ letter-spacing: ${xt};
133
133
  line-height: ${ut};
134
134
  text-transform: ${vt};
135
135
  }
@@ -145,8 +145,8 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
145
145
  `,$e=i.css`
146
146
  .ft-typography--subtitle1 {
147
147
  font-family: ${jt};
148
- font-size: ${St};
149
- font-weight: ${Nt};
148
+ font-size: ${Nt};
149
+ font-weight: ${St};
150
150
  letter-spacing: ${Ot};
151
151
  line-height: ${_t};
152
152
  text-transform: ${At};
@@ -154,8 +154,8 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
154
154
  `,we=i.css`
155
155
  .ft-typography--subtitle2 {
156
156
  font-family: ${Et};
157
- font-size: ${It};
158
- font-weight: ${Ct};
157
+ font-size: ${Ct};
158
+ font-weight: ${It};
159
159
  letter-spacing: ${Mt};
160
160
  line-height: ${Tt};
161
161
  text-transform: ${Ut};
@@ -164,15 +164,15 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
164
164
  `,ke=i.css`
165
165
  .ft-typography--body1 {
166
166
  font-family: ${Bt};
167
- font-size: ${Zt};
168
- font-weight: ${Wt};
167
+ font-size: ${Wt};
168
+ font-weight: ${Zt};
169
169
  letter-spacing: ${Dt};
170
170
  line-height: ${Kt};
171
- text-transform: ${Gt};
171
+ text-transform: ${Rt};
172
172
  }
173
173
  `,ze=i.css`
174
174
  .ft-typography--body2 {
175
- font-family: ${Rt};
175
+ font-family: ${Gt};
176
176
  font-size: ${qt};
177
177
  font-weight: ${Ft};
178
178
  letter-spacing: ${Ht};
@@ -188,7 +188,7 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
188
188
  line-height: ${Vt};
189
189
  text-transform: ${te};
190
190
  }
191
- `,Se=i.css`
191
+ `,Ne=i.css`
192
192
  .ft-typography--breadcrumb {
193
193
  font-family: ${ee};
194
194
  font-size: ${ie};
@@ -197,10 +197,10 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
197
197
  line-height: ${re};
198
198
  text-transform: ${ne};
199
199
  }
200
- `,Ne=i.css`
200
+ `,Se=i.css`
201
201
  .ft-typography--overline {
202
- font-family: ${pe};
203
- font-size: ${le};
202
+ font-family: ${le};
203
+ font-size: ${pe};
204
204
  font-weight: ${ae};
205
205
  letter-spacing: ${fe};
206
206
  line-height: ${he};
@@ -210,30 +210,32 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
210
210
  .ft-typography--button {
211
211
  font-family: ${de};
212
212
  font-size: ${ge};
213
- font-weight: ${xe};
214
- letter-spacing: ${ye};
213
+ font-weight: ${ye};
214
+ letter-spacing: ${xe};
215
215
  line-height: ${ue};
216
216
  text-transform: ${ve};
217
217
  }
218
- `;class _e extends e.FtLitElement{constructor(){super(...arguments),this.variant=lt.body1}render(){return this.element?pt`
218
+ `;class _e extends e.FtLitElement{constructor(){super(...arguments),this.variant=pt.body1}render(){return this.element?lt`
219
219
  <${rt(this.element)}
220
220
  class="ft-typography ft-typography--${this.variant}">
221
221
  <slot></slot>
222
222
  </${rt(this.element)}>
223
- `:pt`
223
+ `:lt`
224
224
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
225
- `}}var Ae,Ee;_e.styles=[me,be,$e,we,ke,ze,je,Se,Ne,Oe,i.css`
225
+ `}}var Ae,Ee;_e.styles=[me,be,$e,we,ke,ze,je,Ne,Se,Oe,i.css`
226
226
  .ft-typography {
227
227
  vertical-align: inherit;
228
228
  }
229
- `],at([o.property()],_e.prototype,"element",void 0),at([o.property()],_e.prototype,"variant",void 0),e.customElement("ft-typography")(_e),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(Ae||(Ae={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ee||(Ee={})),new Map([...["abw"].map((t=>[t,Ee.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ee.AUDIO])),...["avi"].map((t=>[t,Ee.AVI])),...["chm","xhs"].map((t=>[t,Ee.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ee.CODE])),...["csv"].map((t=>[t,Ee.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ee.DITA])),...["epub"].map((t=>[t,Ee.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ee.EXCEL])),...["flac"].map((t=>[t,Ee.FLAC])),...["gif"].map((t=>[t,Ee.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ee.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ee.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ee.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ee.JPEG])),...["json"].map((t=>[t,Ee.JSON])),...["m4a","m4p"].map((t=>[t,Ee.M4A])),...["mov","qt"].map((t=>[t,Ee.MOV])),...["mp3"].map((t=>[t,Ee.MP3])),...["mp4","m4v"].map((t=>[t,Ee.MP4])),...["ogg","oga"].map((t=>[t,Ee.OGG])),...["pdf","ps"].map((t=>[t,Ee.PDF])),...["png"].map((t=>[t,Ee.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ee.POWERPOINT])),...["rar"].map((t=>[t,Ee.RAR])),...["stp"].map((t=>[t,Ee.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ee.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ee.VIDEO])),...["wav"].map((t=>[t,Ee.WAV])),...["wma"].map((t=>[t,Ee.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ee.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ee.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ee.YAML])),...["zip"].map((t=>[t,Ee.ZIP]))]);var Ie,Ce=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ie||(Ie={}));const Me=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),Te=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ue=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Be=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class Ze extends e.FtLitElement{constructor(){super(...arguments),this.variant=Ie.fluid_topics}render(){return i.html`
229
+ `],at([o.property()],_e.prototype,"element",void 0),at([o.property()],_e.prototype,"variant",void 0),e.customElement("ft-typography")(_e),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(Ae||(Ae={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ee||(Ee={})),new Map([...["abw"].map((t=>[t,Ee.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ee.AUDIO])),...["avi"].map((t=>[t,Ee.AVI])),...["chm","xhs"].map((t=>[t,Ee.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ee.CODE])),...["csv"].map((t=>[t,Ee.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ee.DITA])),...["epub"].map((t=>[t,Ee.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ee.EXCEL])),...["flac"].map((t=>[t,Ee.FLAC])),...["gif"].map((t=>[t,Ee.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ee.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ee.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ee.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ee.JPEG])),...["json"].map((t=>[t,Ee.JSON])),...["m4a","m4p"].map((t=>[t,Ee.M4A])),...["mov","qt"].map((t=>[t,Ee.MOV])),...["mp3"].map((t=>[t,Ee.MP3])),...["mp4","m4v"].map((t=>[t,Ee.MP4])),...["ogg","oga"].map((t=>[t,Ee.OGG])),...["pdf","ps"].map((t=>[t,Ee.PDF])),...["png"].map((t=>[t,Ee.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ee.POWERPOINT])),...["rar"].map((t=>[t,Ee.RAR])),...["stp"].map((t=>[t,Ee.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ee.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ee.VIDEO])),...["wav"].map((t=>[t,Ee.WAV])),...["wma"].map((t=>[t,Ee.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ee.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ee.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ee.YAML])),...["zip"].map((t=>[t,Ee.ZIP]))]);var Ce,Ie=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ce||(Ce={}));const Me=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),Te=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ue=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Be=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class We extends e.FtLitElement{constructor(){super(...arguments),this.variant=Ce.fluid_topics}render(){return i.html`
230
230
  <i class="ft-icon ${"ft-icon--"+this.variant}">
231
231
  ${r.unsafeHTML(this.getIcon())}
232
232
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
233
233
  </i>
234
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===Ie.file_format?null!==(t=Ee[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Ie.fluid_topics?null!==(e=Ae[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}Ze.elementDefinitions={},Ze.styles=i.css`
235
- :host, i.ft-icon {
234
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===Ce.file_format?null!==(t=Ee[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Ce.fluid_topics?null!==(e=Ae[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}We.elementDefinitions={},We.styles=i.css`
235
+ :host {
236
236
  display: inline-block;
237
+ }
238
+ :host, i.ft-icon {
237
239
  width: ${Me};
238
240
  height: ${Me};
239
241
  text-align: center;
@@ -264,7 +266,7 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
264
266
  .ft-icon--material {
265
267
  font-family: ${Be}, "Material Icons", sans-serif;
266
268
  }
267
- `,Ce([o.property()],Ze.prototype,"variant",void 0),Ce([o.query("slot")],Ze.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ze);var We=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const De={horizontalSpacing:e.FtCssVariable.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:e.FtCssVariable.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system")};class Ke extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
269
+ `,Ie([o.property()],We.prototype,"variant",void 0),Ie([o.query("slot")],We.prototype,"slottedContent",void 0),e.customElement("ft-icon")(We);var Ze=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const De={horizontalSpacing:e.FtCssVariable.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:e.FtCssVariable.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system")};class Ke extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
268
270
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
269
271
  <div class="ft-accordion-item--toggle"
270
272
  part="toggle"
@@ -288,7 +290,7 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
288
290
  </div>
289
291
  <div class="ft-accordion-item--separator" part="separator"></div>
290
292
  </div>
291
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Ke.elementDefinitions={"ft-ripple":w,"ft-typography":_e,"ft-icon":Ze},Ke.styles=i.css`
293
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Ke.elementDefinitions={"ft-ripple":w,"ft-typography":_e,"ft-icon":We},Ke.styles=i.css`
292
294
  .ft-accordion-item {
293
295
  display: flex;
294
296
  flex-direction: column;
@@ -333,4 +335,4 @@ const ot=Symbol.for(""),st=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
333
335
  .ft-accordion-item--separator {
334
336
  border-bottom: 1px solid ${De.colorOutline};
335
337
  }
336
- `,We([o.property({type:String})],Ke.prototype,"icon",void 0),We([o.property({type:String})],Ke.prototype,"label",void 0),We([o.property({type:Boolean,reflect:!0})],Ke.prototype,"active",void 0),e.customElement("ft-accordion")(p),e.customElement("ft-accordion-item")(Ke),t.FtAccordion=p,t.FtAccordionCssVariables={},t.FtAccordionItem=Ke,t.FtAccordionItemCssVariables=De,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
338
+ `,Ze([o.property({type:String})],Ke.prototype,"icon",void 0),Ze([o.property({type:String})],Ke.prototype,"label",void 0),Ze([o.property({type:Boolean,reflect:!0})],Ke.prototype,"active",void 0),e.customElement("ft-accordion")(l),e.customElement("ft-accordion-item")(Ke),t.FtAccordion=l,t.FtAccordionCssVariables={},t.FtAccordionItem=Ke,t.FtAccordionItemCssVariables=De,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);