@fluid-topics/ft-dialog 0.3.4 → 0.3.6

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.
@@ -4,13 +4,13 @@
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var r;const a=globalThis.trustedTypes,l=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,p=`lit$${(Math.random()+"").slice(9)}$`,h="?"+p,f=`<${h}>`,d=document,c=(t="")=>d.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,x=/-->/g,b=/>/g,v=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),m=/'/g,$=/"/g,w=/^(?:script|style|textarea|title)$/i,k=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),C=new WeakMap,O=d.createTreeWalker(d,129,null,!1),j=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=y;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,d=0;for(;d<e.length&&(r.lastIndex=d,l=r.exec(e),null!==l);)d=r.lastIndex,r===y?"!--"===l[1]?r=x:void 0!==l[1]?r=b:void 0!==l[2]?(w.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=v):void 0!==l[3]&&(r=v):r===v?">"===l[0]?(r=null!=n?n:y,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?v:'"'===l[3]?$:m):r===$||r===m?r=v:r===x||r===b?r=y:(r=v,n=void 0);const c=r===v&&t[i+1].startsWith("/>")?" ":"";s+=r===y?e+f:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+p+c):e+p+(-2===h?(o.push(void 0),i):c)}const a=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==l?l.createHTML(a):a,o]};class E{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[f,d]=j(t,i);if(this.el=E.createElement(f,e),O.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=O.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(p)){const e=d[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(p),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?A:"?"===i[1]?M:"@"===i[1]?_:T})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(w.test(o.tagName)){const t=o.textContent.split(p),i=t.length-1;if(i>0){o.textContent=a?a.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],c()),O.nextNode(),l.push({type:2,index:++n});o.append(t[i],c())}}}else if(8===o.nodeType)if(o.data===h)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(p,t+1));)l.push({type:7,index:n}),t+=p.length-1}n++}}static createElement(t,i){const e=d.createElement("template");return e.innerHTML=t,e}}function N(t,i,e=t,o){var n,s,r,a;if(i===z)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=u(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(a=e)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=N(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:d).importNode(e,!0);O.currentNode=n;let s=O.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new I(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new R(s,this,t)),this.v.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=O.nextNode(),r++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class I{constructor(t,i,e,o){var n;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=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._$C_}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=N(this,t,i),u(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>g(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==S&&u(this._$AH)?this._$AA.nextSibling.data=t:this.k(d.createTextNode(t)),this._$AH=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.k(i),this._$AH=t}}_$AC(t){let i=C.get(t.strings);return void 0===i&&C.set(t.strings,i=new E(t)),i}S(t){g(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 I(this.j(c()),this.j(c()),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._$C_=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=S,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=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=N(this,t,i,0),s=!u(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=N(this,o[e+r],i,r),a===z&&(a=this._$AH[r]),s||(s=!u(a)||a!==this._$AH[r]),a===S?t=S:t!==S&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.P(t)}P(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class A extends T{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===S?void 0:t}}const F=a?a.emptyScript:"";class M extends T{constructor(){super(...arguments),this.type=4}P(t){t&&t!==S?this.element.setAttribute(this.name,F):this.element.removeAttribute(this.name)}}class _ 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=N(this,t,i,0))&&void 0!==e?e:S)===z)return;const o=this._$AH,n=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==S&&(o===S||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class R{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){N(this,t)}}const Z=window.litHtmlPolyfillSupport;null==Z||Z(E,I),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.7");
7
+ var r;const l=globalThis.trustedTypes,a=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,p=`lit$${(Math.random()+"").slice(9)}$`,h="?"+p,f=`<${h}>`,d=document,c=(t="")=>d.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,x=/-->/g,b=/>/g,v=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),m=/'/g,$=/"/g,w=/^(?:script|style|textarea|title)$/i,k=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),C=new WeakMap,O=d.createTreeWalker(d,129,null,!1),E=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=y;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,d=0;for(;d<e.length&&(r.lastIndex=d,a=r.exec(e),null!==a);)d=r.lastIndex,r===y?"!--"===a[1]?r=x:void 0!==a[1]?r=b:void 0!==a[2]?(w.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=v):void 0!==a[3]&&(r=v):r===v?">"===a[0]?(r=null!=n?n:y,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?v:'"'===a[3]?$:m):r===$||r===m?r=v:r===x||r===b?r=y:(r=v,n=void 0);const c=r===v&&t[i+1].startsWith("/>")?" ":"";s+=r===y?e+f:h>=0?(o.push(l),e.slice(0,h)+"$lit$"+e.slice(h)+p+c):e+p+(-2===h?(o.push(void 0),i):c)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(l):l,o]};class N{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[f,d]=E(t,i);if(this.el=N.createElement(f,e),O.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=O.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(p)){const e=d[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(p),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?A:"?"===i[1]?_:"@"===i[1]?M:T})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(w.test(o.tagName)){const t=o.textContent.split(p),i=t.length-1;if(i>0){o.textContent=l?l.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],c()),O.nextNode(),a.push({type:2,index:++n});o.append(t[i],c())}}}else if(8===o.nodeType)if(o.data===h)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(p,t+1));)a.push({type:7,index:n}),t+=p.length-1}n++}}static createElement(t,i){const e=d.createElement("template");return e.innerHTML=t,e}}function j(t,i,e=t,o){var n,s,r,l;if(i===z)return i;let a=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=u(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=j(t,a._$AS(t,i.values),a,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:d).importNode(e,!0);O.currentNode=n;let s=O.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new I(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new Z(s,this,t)),this.v.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=O.nextNode(),r++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class I{constructor(t,i,e,o){var n;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=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._$C_}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=j(this,t,i),u(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>g(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==S&&u(this._$AH)?this._$AA.nextSibling.data=t:this.k(d.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=N.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.k(i),this._$AH=t}}_$AC(t){let i=C.get(t.strings);return void 0===i&&C.set(t.strings,i=new N(t)),i}S(t){g(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 I(this.j(c()),this.j(c()),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._$C_=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=S,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=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=j(this,t,i,0),s=!u(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=j(this,o[e+r],i,r),l===z&&(l=this._$AH[r]),s||(s=!u(l)||l!==this._$AH[r]),l===S?t=S:t!==S&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.P(t)}P(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class A extends T{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===S?void 0:t}}const F=l?l.emptyScript:"";class _ extends T{constructor(){super(...arguments),this.type=4}P(t){t&&t!==S?this.element.setAttribute(this.name,F):this.element.removeAttribute(this.name)}}class M 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=j(this,t,i,0))&&void 0!==e?e:S)===z)return;const o=this._$AH,n=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==S&&(o===S||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}}const R=window.litHtmlPolyfillSupport;null==R||R(N,I),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.7");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t._$litStatic$},W=t=>({_$litStatic$:t,r:D}),H=new Map,K=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=i[p];p<o&&void 0!==(s=e[p],n=U(s));)l+=n+i[++p],h=!0;a.push(s),r.push(l),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=H.get(t))&&(r.raw=r,H.set(t,i=r)),e=a}return t(i,...e)})(k);var L,G=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(L||(L={}));const P=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),X={fontFamily:q,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},Y=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",P),J=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",X.fontSize,"20px"),Q=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",X.fontWeight,"normal"),V=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",X.letterSpacing,"0.15px"),tt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",X.lineHeight,"1.2"),it=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",X.textTransform,"inherit"),et=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",P),ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",X.fontSize,"14px"),nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",X.fontWeight,"normal"),st=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",X.letterSpacing,"0.105px"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",X.lineHeight,"1.7"),at=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",X.textTransform,"inherit"),lt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",q),pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",X.fontSize,"16px"),ht=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",X.fontWeight,"600"),ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",X.letterSpacing,"0.144px"),dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",X.lineHeight,"1.5"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",X.textTransform,"inherit"),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",q),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",X.fontSize,"14px"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",X.fontWeight,"normal"),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",X.letterSpacing,"0.098px"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",X.lineHeight,"1.7"),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",X.textTransform,"inherit"),mt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",q),$t=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",X.fontSize,"16px"),wt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",X.fontWeight,"normal"),kt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",X.letterSpacing,"0.496px"),zt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",X.lineHeight,"1.5"),St=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",X.textTransform,"inherit"),Ct=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",q),Ot=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",X.fontSize,"14px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",X.fontWeight,"normal"),Et=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",X.letterSpacing,"0.252px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",X.lineHeight,"1.4"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",X.textTransform,"inherit"),It=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",q),Tt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",X.fontSize,"12px"),At=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",X.fontWeight,"normal"),Ft=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",X.letterSpacing,"0.396px"),Mt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",X.lineHeight,"1.33"),_t=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",X.textTransform,"inherit"),Rt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",q),Zt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",X.fontSize,"10px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",X.fontWeight,"normal"),Ut=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",X.letterSpacing,"0.33px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",X.lineHeight,"1.6"),Ht=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",X.textTransform,"inherit"),Kt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",q),Lt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",X.fontSize,"10px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",X.fontWeight,"normal"),Pt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",X.letterSpacing,"1.5px"),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",X.lineHeight,"1.6"),Xt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",X.textTransform,"uppercase"),Yt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",X.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",X.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",X.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",X.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",X.textTransform,"uppercase")},Jt=e.css`
13
+ const U=Symbol.for(""),D=t=>{if((null==t?void 0:t.r)===U)return null==t?void 0:t._$litStatic$},W=t=>({_$litStatic$:t,r:U}),K=new Map,H=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(s=e[p],n=D(s));)a+=n+i[++p],h=!0;l.push(s),r.push(a),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=K.get(t))&&(r.raw=r,K.set(t,i=r)),e=l}return t(i,...e)})(k);var L,G=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(L||(L={}));const P=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),X={fontFamily:q,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},Y=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",P),J=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",X.fontSize,"20px"),Q=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",X.fontWeight,"normal"),V=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",X.letterSpacing,"0.15px"),tt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",X.lineHeight,"1.2"),it=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",X.textTransform,"inherit"),et=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",P),ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",X.fontSize,"14px"),nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",X.fontWeight,"normal"),st=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",X.letterSpacing,"0.105px"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",X.lineHeight,"1.7"),lt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",X.textTransform,"inherit"),at=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",q),pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",X.fontSize,"16px"),ht=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",X.fontWeight,"600"),ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",X.letterSpacing,"0.144px"),dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",X.lineHeight,"1.5"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",X.textTransform,"inherit"),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",q),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",X.fontSize,"14px"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",X.fontWeight,"normal"),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",X.letterSpacing,"0.098px"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",X.lineHeight,"1.7"),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",X.textTransform,"inherit"),mt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",q),$t=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",X.fontSize,"16px"),wt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",X.fontWeight,"normal"),kt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",X.letterSpacing,"0.496px"),zt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",X.lineHeight,"1.5"),St=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",X.textTransform,"inherit"),Ct=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",q),Ot=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",X.fontSize,"14px"),Et=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",X.fontWeight,"normal"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",X.letterSpacing,"0.252px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",X.lineHeight,"1.4"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",X.textTransform,"inherit"),It=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",q),Tt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",X.fontSize,"12px"),At=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",X.fontWeight,"normal"),Ft=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",X.letterSpacing,"0.396px"),_t=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",X.lineHeight,"1.33"),Mt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",X.textTransform,"inherit"),Zt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",q),Rt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",X.fontSize,"10px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",X.fontWeight,"normal"),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",X.letterSpacing,"0.33px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",X.lineHeight,"1.6"),Kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",X.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",q),Lt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",X.fontSize,"10px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",X.fontWeight,"normal"),Pt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",X.letterSpacing,"1.5px"),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",X.lineHeight,"1.6"),Xt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",X.textTransform,"uppercase"),Yt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",X.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",X.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",X.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",X.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",X.textTransform,"uppercase")},Jt=e.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${Y};
16
16
  font-size: ${J};
@@ -26,11 +26,11 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
26
26
  font-weight: ${nt};
27
27
  letter-spacing: ${st};
28
28
  line-height: ${rt};
29
- text-transform: ${at};
29
+ text-transform: ${lt};
30
30
  }
31
31
  `,Vt=e.css`
32
32
  .ft-typography--subtitle1 {
33
- font-family: ${lt};
33
+ font-family: ${at};
34
34
  font-size: ${pt};
35
35
  font-weight: ${ht};
36
36
  letter-spacing: ${ft};
@@ -60,9 +60,9 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
60
60
  .ft-typography--body2 {
61
61
  font-family: ${Ct};
62
62
  font-size: ${Ot};
63
- font-weight: ${jt};
64
- letter-spacing: ${Et};
65
- line-height: ${Nt};
63
+ font-weight: ${Et};
64
+ letter-spacing: ${Nt};
65
+ line-height: ${jt};
66
66
  text-transform: ${Bt};
67
67
  }
68
68
  `,oi=e.css`
@@ -71,21 +71,21 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
71
71
  font-size: ${Tt};
72
72
  font-weight: ${At};
73
73
  letter-spacing: ${Ft};
74
- line-height: ${Mt};
75
- text-transform: ${_t};
74
+ line-height: ${_t};
75
+ text-transform: ${Mt};
76
76
  }
77
77
  `,ni=e.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${Rt};
80
- font-size: ${Zt};
81
- font-weight: ${Dt};
82
- letter-spacing: ${Ut};
79
+ font-family: ${Zt};
80
+ font-size: ${Rt};
81
+ font-weight: ${Ut};
82
+ letter-spacing: ${Dt};
83
83
  line-height: ${Wt};
84
- text-transform: ${Ht};
84
+ text-transform: ${Kt};
85
85
  }
86
86
  `,si=e.css`
87
87
  .ft-typography--overline {
88
- font-family: ${Kt};
88
+ font-family: ${Ht};
89
89
  font-size: ${Lt};
90
90
  font-weight: ${Gt};
91
91
  letter-spacing: ${Pt};
@@ -101,18 +101,18 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
101
101
  line-height: ${Yt.lineHeight};
102
102
  text-transform: ${Yt.textTransform};
103
103
  }
104
- `;class ai extends i.FtLitElement{constructor(){super(...arguments),this.variant=L.body1}render(){return this.element?K`
104
+ `;class li extends i.FtLitElement{constructor(){super(...arguments),this.variant=L.body1}render(){return this.element?H`
105
105
  <${W(this.element)}
106
106
  class="ft-typography ft-typography--${this.variant}">
107
107
  <slot></slot>
108
108
  </${W(this.element)}>
109
- `:K`
109
+ `:H`
110
110
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
111
- `}}var li,pi;ai.styles=[Jt,Qt,Vt,ti,ii,ei,oi,ni,si,ri,e.css`
111
+ `}}var ai,pi;li.styles=[Jt,Qt,Vt,ti,ii,ei,oi,ni,si,ri,e.css`
112
112
  .ft-typography {
113
113
  vertical-align: inherit;
114
114
  }
115
- `],G([o.property()],ai.prototype,"element",void 0),G([o.property()],ai.prototype,"variant",void 0),i.customElement("ft-typography")(ai),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;"}(li||(li={})),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;"}(pi||(pi={})),new Map([...["abw"].map((t=>[t,pi.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,pi.AUDIO])),...["avi"].map((t=>[t,pi.AVI])),...["chm","xhs"].map((t=>[t,pi.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,pi.CODE])),...["csv"].map((t=>[t,pi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,pi.DITA])),...["epub"].map((t=>[t,pi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,pi.EXCEL])),...["flac"].map((t=>[t,pi.FLAC])),...["gif"].map((t=>[t,pi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,pi.GZIP])),...["html","htm","xhtml"].map((t=>[t,pi.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,pi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,pi.JPEG])),...["json"].map((t=>[t,pi.JSON])),...["m4a","m4p"].map((t=>[t,pi.M4A])),...["mov","qt"].map((t=>[t,pi.MOV])),...["mp3"].map((t=>[t,pi.MP3])),...["mp4","m4v"].map((t=>[t,pi.MP4])),...["ogg","oga"].map((t=>[t,pi.OGG])),...["pdf","ps"].map((t=>[t,pi.PDF])),...["png"].map((t=>[t,pi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,pi.POWERPOINT])),...["rar"].map((t=>[t,pi.RAR])),...["stp"].map((t=>[t,pi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,pi.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,pi.VIDEO])),...["wav"].map((t=>[t,pi.WAV])),...["wma"].map((t=>[t,pi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,pi.WORD])),...["xml","xsl","rdf"].map((t=>[t,pi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,pi.YAML])),...["zip"].map((t=>[t,pi.ZIP]))]);var hi,fi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(hi||(hi={}));const di={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class ci extends i.FtLitElement{constructor(){super(...arguments),this.variant=hi.fluid_topics}getStyles(){return e.css`
115
+ `],G([o.property()],li.prototype,"element",void 0),G([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;"}(pi||(pi={})),new Map([...["abw"].map((t=>[t,pi.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,pi.AUDIO])),...["avi"].map((t=>[t,pi.AVI])),...["chm","xhs"].map((t=>[t,pi.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,pi.CODE])),...["csv"].map((t=>[t,pi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,pi.DITA])),...["epub"].map((t=>[t,pi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,pi.EXCEL])),...["flac"].map((t=>[t,pi.FLAC])),...["gif"].map((t=>[t,pi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,pi.GZIP])),...["html","htm","xhtml"].map((t=>[t,pi.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,pi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,pi.JPEG])),...["json"].map((t=>[t,pi.JSON])),...["m4a","m4p"].map((t=>[t,pi.M4A])),...["mov","qt"].map((t=>[t,pi.MOV])),...["mp3"].map((t=>[t,pi.MP3])),...["mp4","m4v"].map((t=>[t,pi.MP4])),...["ogg","oga"].map((t=>[t,pi.OGG])),...["pdf","ps"].map((t=>[t,pi.PDF])),...["png"].map((t=>[t,pi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,pi.POWERPOINT])),...["rar"].map((t=>[t,pi.RAR])),...["stp"].map((t=>[t,pi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,pi.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,pi.VIDEO])),...["wav"].map((t=>[t,pi.WAV])),...["wma"].map((t=>[t,pi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,pi.WORD])),...["xml","xsl","rdf"].map((t=>[t,pi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,pi.YAML])),...["zip"].map((t=>[t,pi.ZIP]))]);var hi,fi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(hi||(hi={}));const di={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")};class ci extends i.FtLitElement{constructor(){super(...arguments),this.variant=hi.fluid_topics}getStyles(){return e.css`
116
116
  :host {
117
117
  display: inline-block;
118
118
  }
@@ -135,6 +135,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
135
135
  text-rendering: auto;
136
136
  -webkit-font-smoothing: antialiased;
137
137
  -moz-osx-font-smoothing: grayscale;
138
+ vertical-align: ${di.verticalAlign};
138
139
  }
139
140
 
140
141
  .ft-icon--fluid-topics {
@@ -153,7 +154,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
153
154
  ${n.unsafeHTML(this.getIcon())}
154
155
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
155
156
  </i>
156
- `}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===hi.file_format?null!==(t=pi[o.toUpperCase()])&&void 0!==t?t:o:this.variant===hi.fluid_topics?null!==(i=li[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}ci.elementDefinitions={},fi([o.property()],ci.prototype,"variant",void 0),fi([o.query("slot")],ci.prototype,"slottedContent",void 0),i.customElement("ft-icon")(ci);var ui=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const gi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),yi={color:gi,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",gi),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},xi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),bi=xi,vi=i.FtCssVariableFactory.extend("--ft-ripple-background-color",xi),mi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),$i=mi,wi=i.FtCssVariableFactory.extend("--ft-ripple-background-color",mi);class ki 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.debouncer=new i.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 i,e;let{x:o,y:n}=this.getCoordinates(t),s=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-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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`
157
+ `}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===hi.file_format?null!==(t=pi[o.toUpperCase()])&&void 0!==t?t:o:this.variant===hi.fluid_topics?null!==(i=ai[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}ci.elementDefinitions={},fi([o.property()],ci.prototype,"variant",void 0),fi([o.query("slot")],ci.prototype,"slottedContent",void 0),i.customElement("ft-icon")(ci);var ui=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const gi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),yi={color:gi,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",gi),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},xi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),bi=xi,vi=i.FtCssVariableFactory.extend("--ft-ripple-background-color",xi),mi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),$i=mi,wi=i.FtCssVariableFactory.extend("--ft-ripple-background-color",mi);class ki 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.debouncer=new i.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 i,e;let{x:o,y:n}=this.getCoordinates(t),s=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-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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`
157
158
  <style>
158
159
  .ft-ripple .ft-ripple--effect,
159
160
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -259,7 +260,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
259
260
  opacity: ${yi.opacityContentOnSurfacePressed};
260
261
  transform: translate(-50%, -50%) scale(1);
261
262
  }
262
- `,ui([o.property({type:Boolean})],ki.prototype,"primary",void 0),ui([o.property({type:Boolean})],ki.prototype,"secondary",void 0),ui([o.property({type:Boolean})],ki.prototype,"unbounded",void 0),ui([o.property({type:Boolean})],ki.prototype,"activated",void 0),ui([o.property({type:Boolean})],ki.prototype,"selected",void 0),ui([o.property({type:Boolean})],ki.prototype,"disabled",void 0),ui([o.state()],ki.prototype,"hovered",void 0),ui([o.state()],ki.prototype,"focused",void 0),ui([o.state()],ki.prototype,"pressed",void 0),ui([o.state()],ki.prototype,"rippling",void 0),ui([o.state()],ki.prototype,"rippleSize",void 0),ui([o.state()],ki.prototype,"originX",void 0),ui([o.state()],ki.prototype,"originY",void 0),ui([o.query(".ft-ripple")],ki.prototype,"ripple",void 0),ui([o.query(".ft-ripple--effect")],ki.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(ki);var zi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Si=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Ci=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Oi=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),ji=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),Ei=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system");class Ni extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
263
+ `,ui([o.property({type:Boolean})],ki.prototype,"primary",void 0),ui([o.property({type:Boolean})],ki.prototype,"secondary",void 0),ui([o.property({type:Boolean})],ki.prototype,"unbounded",void 0),ui([o.property({type:Boolean})],ki.prototype,"activated",void 0),ui([o.property({type:Boolean})],ki.prototype,"selected",void 0),ui([o.property({type:Boolean})],ki.prototype,"disabled",void 0),ui([o.state()],ki.prototype,"hovered",void 0),ui([o.state()],ki.prototype,"focused",void 0),ui([o.state()],ki.prototype,"pressed",void 0),ui([o.state()],ki.prototype,"rippling",void 0),ui([o.state()],ki.prototype,"rippleSize",void 0),ui([o.state()],ki.prototype,"originX",void 0),ui([o.state()],ki.prototype,"originY",void 0),ui([o.query(".ft-ripple")],ki.prototype,"ripple",void 0),ui([o.query(".ft-ripple--effect")],ki.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(ki);var zi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Si=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Ci=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Oi=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Ei=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),Ni=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),ji=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px");class Bi extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
263
264
  <div part="container"
264
265
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
265
266
  @mouseenter=${this.onHover}
@@ -269,12 +270,13 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
269
270
  @touchstart=${this.onTouch}>
270
271
  <div part="tooltip" class="ft-tooltip ft-tooltip--${this.position}" ?hidden=${!this.visible}>
271
272
  <div part="tooltip-content" class="ft-tooltip--content">
272
- <ft-typography variant="caption">${this.text}</ft-typography>
273
+ <slot name="text"></slot>
274
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
273
275
  </div>
274
276
  </div>
275
277
  <slot></slot>
276
278
  </div>
277
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=i.height+"px",n.left=o+"px";break;case"left":n.top=e+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=e+"px",n.left=i.width+"px"}n.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Ni.elementDefinitions={"ft-typography":ai},Ni.styles=e.css`
279
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.position){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=i.height,n=o;break;case"left":s=e,n=-this.tooltip.clientWidth;break;case"right":s=e,n=i.width}i.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-i.left),i.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${i.width}px, ${ji})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Bi.elementDefinitions={"ft-typography":li},Bi.styles=e.css`
278
280
  .ft-tooltip--container {
279
281
  display: block;
280
282
  position: relative;
@@ -290,15 +292,15 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
290
292
  box-sizing: border-box;
291
293
  overflow: hidden;
292
294
  width: max-content;
293
- max-width: 150px;
295
+ max-width: ${ji};
294
296
  text-align: center;
295
297
  padding: ${Si};
296
- z-index: ${ji};
298
+ z-index: ${Ei};
297
299
  }
298
300
 
299
301
  .ft-tooltip--content {
300
302
  padding: 4px 8px;
301
- border-radius: ${Ei};
303
+ border-radius: ${Ni};
302
304
  background-color: ${Oi};
303
305
  color: ${Ci};
304
306
  top: -500px;
@@ -306,7 +308,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
306
308
  position: relative;
307
309
  word-break: break-word;
308
310
  }
309
- `,zi([o.property()],Ni.prototype,"text",void 0),zi([o.property({type:Boolean})],Ni.prototype,"manual",void 0),zi([o.property({type:Boolean})],Ni.prototype,"inline",void 0),zi([o.property({type:Number})],Ni.prototype,"delay",void 0),zi([o.property()],Ni.prototype,"position",void 0),zi([o.queryAssignedNodes("",!0)],Ni.prototype,"slotNodes",void 0),zi([o.query(".ft-tooltip--container")],Ni.prototype,"container",void 0),zi([o.query("slot")],Ni.prototype,"target",void 0),zi([o.query(".ft-tooltip")],Ni.prototype,"tooltip",void 0),zi([o.query(".ft-tooltip--content")],Ni.prototype,"tooltipContent",void 0),zi([o.state()],Ni.prototype,"visible",void 0),i.customElement("ft-tooltip")(Ni);const Bi={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")};class Ii extends i.FtLitElement{static get styles(){return e.css`
311
+ `,zi([o.property()],Bi.prototype,"text",void 0),zi([o.property({type:Boolean})],Bi.prototype,"manual",void 0),zi([o.property({type:Boolean})],Bi.prototype,"inline",void 0),zi([o.property({type:Number})],Bi.prototype,"delay",void 0),zi([o.property()],Bi.prototype,"position",void 0),zi([o.queryAssignedNodes("",!0)],Bi.prototype,"slotNodes",void 0),zi([o.query(".ft-tooltip--container")],Bi.prototype,"container",void 0),zi([o.query("slot")],Bi.prototype,"target",void 0),zi([o.query(".ft-tooltip")],Bi.prototype,"tooltip",void 0),zi([o.query(".ft-tooltip--content")],Bi.prototype,"tooltipContent",void 0),zi([o.state()],Bi.prototype,"visible",void 0),i.customElement("ft-tooltip")(Bi);const Ii={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")};class Ti extends i.FtLitElement{static get styles(){return e.css`
310
312
  :host {
311
313
  line-height: 0;
312
314
  }
@@ -315,8 +317,8 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
315
317
  display: inline-block;
316
318
  position: relative;
317
319
 
318
- width: ${Bi.size};
319
- height: ${Bi.size};
320
+ width: ${Ii.size};
321
+ height: ${Ii.size};
320
322
  }
321
323
 
322
324
  .ft-loader div {
@@ -325,7 +327,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
325
327
  width: 25%;
326
328
  height: 25%;
327
329
  border-radius: 50%;
328
- background: ${Bi.color};
330
+ background: ${Ii.color};
329
331
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
330
332
  }
331
333
 
@@ -372,7 +374,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
372
374
  transform: translate(0, 0);
373
375
  }
374
376
  100% {
375
- transform: translate(calc(0.35 * ${Bi.size}), 0);
377
+ transform: translate(calc(0.35 * ${Ii.size}), 0);
376
378
  }
377
379
  }
378
380
  `}render(){return e.html`
@@ -382,7 +384,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
382
384
  <div></div>
383
385
  <div></div>
384
386
  </div>
385
- `}}i.customElement("ft-loader")(Ii);var Ti=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Ai=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Fi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Ai,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",Yt.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Ai),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Mi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),_i={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Mi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Mi)},Ri=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Zi extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[i.noTextSelect,e.css`
387
+ `}}i.customElement("ft-loader")(Ti);var Ai=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Fi=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),_i={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Fi,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",Yt.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Fi),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Mi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Zi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Mi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Mi)},Ri=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Ui extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[i.noTextSelect,e.css`
386
388
  :host {
387
389
  display: inline-block;
388
390
  max-width: 100%;
@@ -393,7 +395,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
393
395
  box-shadow: 0px 0px 0px transparent;
394
396
  border: 0px solid transparent;
395
397
  text-shadow: 0px 0px 0px transparent;
396
- font-size: 16px;
398
+ font-size: ${_i.fontSize};
397
399
  }
398
400
 
399
401
  button:hover {
@@ -422,18 +424,17 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
422
424
  border: none;
423
425
  pointer-events: auto;
424
426
 
425
- --ft-button-internal-font-size: ${Fi.fontSize};
426
- --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
427
- --ft-button-internal-color: ${Fi.color};
428
- ${i.setVariable(di.size,Fi.iconSize)};
427
+ --ft-button-internal-line-height: calc(${_i.fontSize} + 2px);
428
+ --ft-button-internal-color: ${_i.color};
429
+ ${i.setVariable(di.size,_i.iconSize)};
429
430
  --ft-button-internal-vertical-padding: 6px;
430
431
  --ft-button-internal-horizontal-padding: 8px;
431
- ${i.setVariable(yi.color,Fi.rippleColor)};
432
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Fi.iconSize});
432
+ ${i.setVariable(yi.color,_i.rippleColor)};
433
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${_i.iconSize});
433
434
 
434
- border-radius: ${Fi.borderRadius};
435
+ border-radius: ${_i.borderRadius};
435
436
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
436
- background-color: ${Fi.backgroundColor};
437
+ background-color: ${_i.backgroundColor};
437
438
  color: var(--ft-button-internal-color);
438
439
  -webkit-mask-image: radial-gradient(white, black);
439
440
  }
@@ -454,13 +455,13 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
454
455
 
455
456
  .ft-button[disabled] {
456
457
  filter: grayscale(1);
457
- opacity: ${Fi.opacityDisabled};
458
+ opacity: ${_i.opacityDisabled};
458
459
  }
459
460
 
460
461
  .ft-button.ft-button--primary {
461
- background-color: ${_i.backgroundColor};
462
- --ft-button-internal-color: ${_i.color};
463
- ${i.setVariable(yi.color,_i.rippleColor)};
462
+ background-color: ${Zi.backgroundColor};
463
+ --ft-button-internal-color: ${Zi.color};
464
+ ${i.setVariable(yi.color,Zi.rippleColor)};
464
465
  }
465
466
 
466
467
  .ft-button.ft-button--outlined {
@@ -479,7 +480,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
479
480
  text-overflow: ellipsis;
480
481
  display: block;
481
482
  margin: 0 var(--ft-button-internal-horizontal-padding);
482
- ${i.setVariable(Yt.fontSize,"var(--ft-button-internal-font-size)")};
483
+ ${i.setVariable(Yt.fontSize,"1em")};
483
484
  ${i.setVariable(Yt.lineHeight,"var(--ft-button-internal-content-height)")};
484
485
  }
485
486
 
@@ -513,8 +514,8 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
513
514
  }
514
515
 
515
516
  ft-loader {
516
- ${i.setVariable(Bi.size,Fi.iconSize)};
517
- ${i.setVariable(Bi.color,"var(--ft-button-internal-color)")};
517
+ ${i.setVariable(Ii.size,_i.iconSize)};
518
+ ${i.setVariable(Ii.color,"var(--ft-button-internal-color)")};
518
519
  }
519
520
  `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":i.isSafari,"ft-no-text-select":!0};return this.addTooltip(e.html`
520
521
  <button part="button"
@@ -538,14 +539,14 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
538
539
  </ft-tooltip>
539
540
  `}resolveIcon(){return this.loading?e.html`
540
541
  <ft-loader></ft-loader> `:this.icon?e.html`
541
- <ft-icon variant="material">${this.icon}</ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Zi.elementDefinitions={"ft-ripple":ki,"ft-tooltip":Ni,"ft-typography":ai,"ft-icon":ci,"ft-loader":Ii},Ti([o.property({type:Boolean})],Zi.prototype,"primary",void 0),Ti([o.property({type:Boolean})],Zi.prototype,"outlined",void 0),Ti([o.property({type:Boolean})],Zi.prototype,"disabled",void 0),Ti([o.property({type:Boolean})],Zi.prototype,"dense",void 0),Ti([o.property({type:Boolean})],Zi.prototype,"round",void 0),Ti([o.property({type:String})],Zi.prototype,"label",void 0),Ti([o.property({type:String})],Zi.prototype,"icon",void 0),Ti([o.property({type:Boolean})],Zi.prototype,"trailingIcon",void 0),Ti([o.property({type:Boolean})],Zi.prototype,"loading",void 0),Ti([o.property({type:String})],Zi.prototype,"tooltipPosition",void 0),Ti([o.query(".ft-button")],Zi.prototype,"button",void 0),Ti([o.query(".ft-button--label slot")],Zi.prototype,"slottedContent",void 0),i.customElement("ft-button")(Zi);var Di=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Ui={zIndex:i.FtCssVariableFactory.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:i.FtCssVariableFactory.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:i.FtCssVariableFactory.create("--ft-dialog-height","SIZE","unset"),width:i.FtCssVariableFactory.create("--ft-dialog-width","SIZE","unset"),minWidth:i.FtCssVariableFactory.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:i.FtCssVariableFactory.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:i.FtCssVariableFactory.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:i.FtCssVariableFactory.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:i.FtCssVariableFactory.external(i.designSystemVariables.colorSurface,"Design system"),headingColor:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),borderRadiusS:i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),elevation24:i.FtCssVariableFactory.external(i.designSystemVariables.elevation24,"Design system")};class Wi extends i.FtLitElement{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.closable=!1,this.beforeClose=()=>!0,this.heading="",this.icon=""}static get styles(){return e.css`
542
+ <ft-icon variant="material">${this.icon}</ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ui.elementDefinitions={"ft-ripple":ki,"ft-tooltip":Bi,"ft-typography":li,"ft-icon":ci,"ft-loader":Ti},Ai([o.property({type:Boolean})],Ui.prototype,"primary",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"outlined",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"disabled",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"dense",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"round",void 0),Ai([o.property({type:String})],Ui.prototype,"label",void 0),Ai([o.property({type:String})],Ui.prototype,"icon",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"trailingIcon",void 0),Ai([o.property({type:Boolean})],Ui.prototype,"loading",void 0),Ai([o.property({type:String})],Ui.prototype,"tooltipPosition",void 0),Ai([o.query(".ft-button")],Ui.prototype,"button",void 0),Ai([o.query(".ft-button--label slot")],Ui.prototype,"slottedContent",void 0),i.customElement("ft-button")(Ui);var Di=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Wi={zIndex:i.FtCssVariableFactory.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:i.FtCssVariableFactory.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:i.FtCssVariableFactory.create("--ft-dialog-height","SIZE","unset"),width:i.FtCssVariableFactory.create("--ft-dialog-width","SIZE","unset"),minWidth:i.FtCssVariableFactory.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:i.FtCssVariableFactory.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:i.FtCssVariableFactory.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:i.FtCssVariableFactory.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:i.FtCssVariableFactory.external(i.designSystemVariables.colorSurface,"Design system"),headingColor:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),borderRadiusS:i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),elevation24:i.FtCssVariableFactory.external(i.designSystemVariables.elevation24,"Design system")};class Ki extends i.FtLitElement{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.closable=!1,this.beforeClose=()=>!0,this.heading="",this.icon=""}static get styles(){return e.css`
542
543
  .ft-dialog {
543
544
  position: fixed;
544
545
  top: 0;
545
546
  right: 0;
546
547
  bottom: 0;
547
548
  left: 0;
548
- z-index: ${Ui.zIndex};
549
+ z-index: ${Wi.zIndex};
549
550
 
550
551
  display: flex;
551
552
  flex-direction: column;
@@ -565,7 +566,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
565
566
  height: 100%;
566
567
  width: 100%;
567
568
 
568
- background-color: ${Ui.overlayBackgroundColor};
569
+ background-color: ${Wi.overlayBackgroundColor};
569
570
 
570
571
  }
571
572
 
@@ -574,20 +575,20 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
574
575
  display: flex;
575
576
  flex-direction: column;
576
577
 
577
- width: ${Ui.width};
578
- height: ${Ui.height};
578
+ width: ${Wi.width};
579
+ height: ${Wi.height};
579
580
  max-width: 95vw;
580
581
  max-height: 95vh;
581
- min-width: ${Ui.minWidth};
582
+ min-width: ${Wi.minWidth};
582
583
 
583
- padding-top: ${Ui.paddingTop};
584
- padding-right: ${Ui.paddingSide};
585
- padding-left: ${Ui.paddingSide};
584
+ padding-top: ${Wi.paddingTop};
585
+ padding-right: ${Wi.paddingSide};
586
+ padding-left: ${Wi.paddingSide};
586
587
 
587
- background-color: ${Ui.colorSurface};
588
+ background-color: ${Wi.colorSurface};
588
589
 
589
- border-radius: ${Ui.borderRadiusS};
590
- box-shadow: ${Ui.elevation24};
590
+ border-radius: ${Wi.borderRadiusS};
591
+ box-shadow: ${Wi.elevation24};
591
592
  }
592
593
 
593
594
  .ft-dialog-content {
@@ -605,11 +606,11 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
605
606
  margin-bottom: 20px;
606
607
  gap: 8px;
607
608
 
608
- color: ${Ui.headingColor};
609
+ color: ${Wi.headingColor};
609
610
  }
610
611
 
611
612
  .ft-dialog-buttons {
612
- padding-top: ${Ui.paddingButtons};
613
+ padding-top: ${Wi.paddingButtons};
613
614
  }
614
615
 
615
616
  slot[name=buttons] {
@@ -626,7 +627,7 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
626
627
 
627
628
  .ft-dialog-heading ft-button {
628
629
  margin-left: auto;
629
- ${i.setVariable(Fi.color,Ui.headingColor)};
630
+ ${i.setVariable(_i.color,Wi.headingColor)};
630
631
  }
631
632
 
632
633
  `}render(){return this.opened?e.html`
@@ -650,4 +651,4 @@ const D=Symbol.for(""),U=t=>{if((null==t?void 0:t.r)===D)return null==t?void 0:t
650
651
  </div>
651
652
  </div>
652
653
  </div>
653
- `:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.beforeClose()&&(this.opened=!1)}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}Wi.elementDefinitions={"ft-typography":ai,"ft-icon":ci,"ft-button":Zi},Di([o.property({type:Boolean,hasChanged:(t,i)=>!1===i&&!0===t||!0===i&&!1===t})],Wi.prototype,"opened",void 0),Di([o.property({type:Boolean})],Wi.prototype,"closeOnEsc",void 0),Di([o.property({type:Boolean})],Wi.prototype,"closeOnClickOutside",void 0),Di([o.property({type:Boolean})],Wi.prototype,"closable",void 0),Di([o.property({type:()=>Boolean})],Wi.prototype,"beforeClose",void 0),Di([o.property({type:String})],Wi.prototype,"heading",void 0),Di([o.property({type:String})],Wi.prototype,"icon",void 0),i.customElement("ft-dialog")(Wi),t.FtDialog=Wi,t.FtDialogCssVariables=Ui,t.default=Wi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
654
+ `:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.beforeClose()&&(this.opened=!1)}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}Ki.elementDefinitions={"ft-typography":li,"ft-icon":ci,"ft-button":Ui},Di([o.property({type:Boolean,hasChanged:(t,i)=>!1===i&&!0===t||!0===i&&!1===t})],Ki.prototype,"opened",void 0),Di([o.property({type:Boolean})],Ki.prototype,"closeOnEsc",void 0),Di([o.property({type:Boolean})],Ki.prototype,"closeOnClickOutside",void 0),Di([o.property({type:Boolean})],Ki.prototype,"closable",void 0),Di([o.property({type:()=>Boolean})],Ki.prototype,"beforeClose",void 0),Di([o.property({type:String})],Ki.prototype,"heading",void 0),Di([o.property({type:String})],Ki.prototype,"icon",void 0),i.customElement("ft-dialog")(Ki),t.FtDialog=Ki,t.FtDialogCssVariables=Wi,t.default=Ki,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
@@ -56,7 +56,7 @@ const h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(x=globalThis.reactiveElementVersions)&&void 0!==x?x:globalThis.reactiveElementVersions=[]).push("1.3.4");const N=globalThis.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,z=`<${M}>`,F=document,U=(t="")=>F.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,A=/>/g,P=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,_=/"/g,I=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,V=F.createTreeWalker(F,129,null,!1),J=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===T?"!--"===l[1]?r=L:void 0!==l[1]?r=A:void 0!==l[2]?(I.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=P):void 0!==l[3]&&(r=P):r===P?">"===l[0]?(r=null!=n?n:T,p=-1):void 0===l[1]?p=-2:(p=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?P:'"'===l[3]?_:D):r===_||r===D?r=P:r===L||r===A?r=T:(r=P,n=void 0);const c=r===P&&t[e+1].startsWith("/>")?" ":"";s+=r===T?i+z:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+R+c):i+R+(-2===p?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,p]=J(t,e);if(this.el=q.createElement(l,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),V.nextNode(),a.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var n,s,r,a;if(e===H)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=j(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,o)),e}class Y{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,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);V.currentNode=n;let s=V.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new G(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new nt(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=V.nextNode(),r++)}return n}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 G{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),j(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==K&&j(this._$AH)?this._$AA.nextSibling.data=t:this.k(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new Y(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new q(t)),e}S(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new G(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=X(this,t,e,0),s=!j(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=X(this,o[i+r],e,r),a===H&&(a=this._$AH[r]),s||(s=!j(a)||a!==this._$AH[r]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.P(t)}P(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===K?void 0:t}}const et=N?N.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}P(t){t&&t!==K?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:K)===H)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var 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 nt{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){X(this,t)}}const st=window.litHtmlPolyfillSupport;
59
+ var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(x=globalThis.reactiveElementVersions)&&void 0!==x?x:globalThis.reactiveElementVersions=[]).push("1.3.4");const N=globalThis.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,z=`<${M}>`,F=document,U=(t="")=>F.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,L=/>/g,P=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,_=/"/g,I=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,V=F.createTreeWalker(F,129,null,!1),J=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===T?"!--"===l[1]?r=A:void 0!==l[1]?r=L:void 0!==l[2]?(I.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=P):void 0!==l[3]&&(r=P):r===P?">"===l[0]?(r=null!=n?n:T,p=-1):void 0===l[1]?p=-2:(p=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?P:'"'===l[3]?_:D):r===_||r===D?r=P:r===A||r===L?r=T:(r=P,n=void 0);const c=r===P&&t[e+1].startsWith("/>")?" ":"";s+=r===T?i+z:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+R+c):i+R+(-2===p?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,p]=J(t,e);if(this.el=q.createElement(l,i),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:Q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),V.nextNode(),a.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var n,s,r,a;if(e===H)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=j(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,o)),e}class Y{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,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);V.currentNode=n;let s=V.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new G(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new nt(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=V.nextNode(),r++)}return n}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 G{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),j(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==K&&j(this._$AH)?this._$AA.nextSibling.data=t:this.k(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new Y(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new q(t)),e}S(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new G(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=X(this,t,e,0),s=!j(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=X(this,o[i+r],e,r),a===H&&(a=this._$AH[r]),s||(s=!j(a)||a!==this._$AH[r]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.P(t)}P(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===K?void 0:t}}const et=N?N.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}P(t){t&&t!==K?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends Q{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:K)===H)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var 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 nt{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){X(this,t)}}const st=window.litHtmlPolyfillSupport;
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
@@ -86,7 +86,7 @@ var rt,at;null==st||st(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
86
86
  * @license
87
87
  * Copyright 2020 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
- */var kt,Ct=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(kt||(kt={}));const Nt=ht.extend("--ft-typography-font-family",dt.titleFont),Et=ht.extend("--ft-typography-font-family",dt.contentFont),Rt={fontFamily:Et,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Mt=ht.extend("--ft-typography-title-font-family",Nt),zt=ht.extend("--ft-typography-title-font-size",Rt.fontSize,"20px"),Ft=ht.extend("--ft-typography-title-font-weight",Rt.fontWeight,"normal"),Ut=ht.extend("--ft-typography-title-letter-spacing",Rt.letterSpacing,"0.15px"),jt=ht.extend("--ft-typography-title-line-height",Rt.lineHeight,"1.2"),Bt=ht.extend("--ft-typography-title-text-transform",Rt.textTransform,"inherit"),Tt=ht.extend("--ft-typography-title-dense-font-family",Nt),Lt=ht.extend("--ft-typography-title-dense-font-size",Rt.fontSize,"14px"),At=ht.extend("--ft-typography-title-dense-font-weight",Rt.fontWeight,"normal"),Pt=ht.extend("--ft-typography-title-dense-letter-spacing",Rt.letterSpacing,"0.105px"),Dt=ht.extend("--ft-typography-title-dense-line-height",Rt.lineHeight,"1.7"),_t=ht.extend("--ft-typography-title-dense-text-transform",Rt.textTransform,"inherit"),It=ht.extend("--ft-typography-subtitle1-font-family",Et),Wt=ht.extend("--ft-typography-subtitle1-font-size",Rt.fontSize,"16px"),Ht=ht.extend("--ft-typography-subtitle1-font-weight",Rt.fontWeight,"600"),Kt=ht.extend("--ft-typography-subtitle1-letter-spacing",Rt.letterSpacing,"0.144px"),Zt=ht.extend("--ft-typography-subtitle1-line-height",Rt.lineHeight,"1.5"),Vt=ht.extend("--ft-typography-subtitle1-text-transform",Rt.textTransform,"inherit"),Jt=ht.extend("--ft-typography-subtitle2-font-family",Et),qt=ht.extend("--ft-typography-subtitle2-font-size",Rt.fontSize,"14px"),Xt=ht.extend("--ft-typography-subtitle2-font-weight",Rt.fontWeight,"normal"),Yt=ht.extend("--ft-typography-subtitle2-letter-spacing",Rt.letterSpacing,"0.098px"),Gt=ht.extend("--ft-typography-subtitle2-line-height",Rt.lineHeight,"1.7"),Qt=ht.extend("--ft-typography-subtitle2-text-transform",Rt.textTransform,"inherit"),te=ht.extend("--ft-typography-body1-font-family",Et),ee=ht.extend("--ft-typography-body1-font-size",Rt.fontSize,"16px"),ie=ht.extend("--ft-typography-body1-font-weight",Rt.fontWeight,"normal"),oe=ht.extend("--ft-typography-body1-letter-spacing",Rt.letterSpacing,"0.496px"),ne=ht.extend("--ft-typography-body1-line-height",Rt.lineHeight,"1.5"),se=ht.extend("--ft-typography-body1-text-transform",Rt.textTransform,"inherit"),re=ht.extend("--ft-typography-body2-font-family",Et),ae=ht.extend("--ft-typography-body2-font-size",Rt.fontSize,"14px"),le=ht.extend("--ft-typography-body2-font-weight",Rt.fontWeight,"normal"),pe=ht.extend("--ft-typography-body2-letter-spacing",Rt.letterSpacing,"0.252px"),he=ht.extend("--ft-typography-body2-line-height",Rt.lineHeight,"1.4"),ce=ht.extend("--ft-typography-body2-text-transform",Rt.textTransform,"inherit"),de=ht.extend("--ft-typography-caption-font-family",Et),fe=ht.extend("--ft-typography-caption-font-size",Rt.fontSize,"12px"),ue=ht.extend("--ft-typography-caption-font-weight",Rt.fontWeight,"normal"),ye=ht.extend("--ft-typography-caption-letter-spacing",Rt.letterSpacing,"0.396px"),ge=ht.extend("--ft-typography-caption-line-height",Rt.lineHeight,"1.33"),ve=ht.extend("--ft-typography-caption-text-transform",Rt.textTransform,"inherit"),xe=ht.extend("--ft-typography-breadcrumb-font-family",Et),be=ht.extend("--ft-typography-breadcrumb-font-size",Rt.fontSize,"10px"),me=ht.extend("--ft-typography-breadcrumb-font-weight",Rt.fontWeight,"normal"),we=ht.extend("--ft-typography-breadcrumb-letter-spacing",Rt.letterSpacing,"0.33px"),$e=ht.extend("--ft-typography-breadcrumb-line-height",Rt.lineHeight,"1.6"),Oe=ht.extend("--ft-typography-breadcrumb-text-transform",Rt.textTransform,"inherit"),Se=ht.extend("--ft-typography-overline-font-family",Et),ke=ht.extend("--ft-typography-overline-font-size",Rt.fontSize,"10px"),Ce=ht.extend("--ft-typography-overline-font-weight",Rt.fontWeight,"normal"),Ne=ht.extend("--ft-typography-overline-letter-spacing",Rt.letterSpacing,"1.5px"),Ee=ht.extend("--ft-typography-overline-line-height",Rt.lineHeight,"1.6"),Re=ht.extend("--ft-typography-overline-text-transform",Rt.textTransform,"uppercase"),Me={fontFamily:ht.extend("--ft-typography-button-font-family",Et),fontSize:ht.extend("--ft-typography-button-font-size",Rt.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Rt.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Rt.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Rt.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",Rt.textTransform,"uppercase")},ze=y`
89
+ */var kt,Ct=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(kt||(kt={}));const Nt=ht.extend("--ft-typography-font-family",dt.titleFont),Et=ht.extend("--ft-typography-font-family",dt.contentFont),Rt={fontFamily:Et,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Mt=ht.extend("--ft-typography-title-font-family",Nt),zt=ht.extend("--ft-typography-title-font-size",Rt.fontSize,"20px"),Ft=ht.extend("--ft-typography-title-font-weight",Rt.fontWeight,"normal"),Ut=ht.extend("--ft-typography-title-letter-spacing",Rt.letterSpacing,"0.15px"),jt=ht.extend("--ft-typography-title-line-height",Rt.lineHeight,"1.2"),Bt=ht.extend("--ft-typography-title-text-transform",Rt.textTransform,"inherit"),Tt=ht.extend("--ft-typography-title-dense-font-family",Nt),At=ht.extend("--ft-typography-title-dense-font-size",Rt.fontSize,"14px"),Lt=ht.extend("--ft-typography-title-dense-font-weight",Rt.fontWeight,"normal"),Pt=ht.extend("--ft-typography-title-dense-letter-spacing",Rt.letterSpacing,"0.105px"),Dt=ht.extend("--ft-typography-title-dense-line-height",Rt.lineHeight,"1.7"),_t=ht.extend("--ft-typography-title-dense-text-transform",Rt.textTransform,"inherit"),It=ht.extend("--ft-typography-subtitle1-font-family",Et),Wt=ht.extend("--ft-typography-subtitle1-font-size",Rt.fontSize,"16px"),Ht=ht.extend("--ft-typography-subtitle1-font-weight",Rt.fontWeight,"600"),Kt=ht.extend("--ft-typography-subtitle1-letter-spacing",Rt.letterSpacing,"0.144px"),Zt=ht.extend("--ft-typography-subtitle1-line-height",Rt.lineHeight,"1.5"),Vt=ht.extend("--ft-typography-subtitle1-text-transform",Rt.textTransform,"inherit"),Jt=ht.extend("--ft-typography-subtitle2-font-family",Et),qt=ht.extend("--ft-typography-subtitle2-font-size",Rt.fontSize,"14px"),Xt=ht.extend("--ft-typography-subtitle2-font-weight",Rt.fontWeight,"normal"),Yt=ht.extend("--ft-typography-subtitle2-letter-spacing",Rt.letterSpacing,"0.098px"),Gt=ht.extend("--ft-typography-subtitle2-line-height",Rt.lineHeight,"1.7"),Qt=ht.extend("--ft-typography-subtitle2-text-transform",Rt.textTransform,"inherit"),te=ht.extend("--ft-typography-body1-font-family",Et),ee=ht.extend("--ft-typography-body1-font-size",Rt.fontSize,"16px"),ie=ht.extend("--ft-typography-body1-font-weight",Rt.fontWeight,"normal"),oe=ht.extend("--ft-typography-body1-letter-spacing",Rt.letterSpacing,"0.496px"),ne=ht.extend("--ft-typography-body1-line-height",Rt.lineHeight,"1.5"),se=ht.extend("--ft-typography-body1-text-transform",Rt.textTransform,"inherit"),re=ht.extend("--ft-typography-body2-font-family",Et),ae=ht.extend("--ft-typography-body2-font-size",Rt.fontSize,"14px"),le=ht.extend("--ft-typography-body2-font-weight",Rt.fontWeight,"normal"),pe=ht.extend("--ft-typography-body2-letter-spacing",Rt.letterSpacing,"0.252px"),he=ht.extend("--ft-typography-body2-line-height",Rt.lineHeight,"1.4"),ce=ht.extend("--ft-typography-body2-text-transform",Rt.textTransform,"inherit"),de=ht.extend("--ft-typography-caption-font-family",Et),fe=ht.extend("--ft-typography-caption-font-size",Rt.fontSize,"12px"),ue=ht.extend("--ft-typography-caption-font-weight",Rt.fontWeight,"normal"),ye=ht.extend("--ft-typography-caption-letter-spacing",Rt.letterSpacing,"0.396px"),ge=ht.extend("--ft-typography-caption-line-height",Rt.lineHeight,"1.33"),ve=ht.extend("--ft-typography-caption-text-transform",Rt.textTransform,"inherit"),xe=ht.extend("--ft-typography-breadcrumb-font-family",Et),be=ht.extend("--ft-typography-breadcrumb-font-size",Rt.fontSize,"10px"),me=ht.extend("--ft-typography-breadcrumb-font-weight",Rt.fontWeight,"normal"),we=ht.extend("--ft-typography-breadcrumb-letter-spacing",Rt.letterSpacing,"0.33px"),$e=ht.extend("--ft-typography-breadcrumb-line-height",Rt.lineHeight,"1.6"),Oe=ht.extend("--ft-typography-breadcrumb-text-transform",Rt.textTransform,"inherit"),Se=ht.extend("--ft-typography-overline-font-family",Et),ke=ht.extend("--ft-typography-overline-font-size",Rt.fontSize,"10px"),Ce=ht.extend("--ft-typography-overline-font-weight",Rt.fontWeight,"normal"),Ne=ht.extend("--ft-typography-overline-letter-spacing",Rt.letterSpacing,"1.5px"),Ee=ht.extend("--ft-typography-overline-line-height",Rt.lineHeight,"1.6"),Re=ht.extend("--ft-typography-overline-text-transform",Rt.textTransform,"uppercase"),Me={fontFamily:ht.extend("--ft-typography-button-font-family",Et),fontSize:ht.extend("--ft-typography-button-font-size",Rt.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Rt.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Rt.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Rt.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",Rt.textTransform,"uppercase")},ze=y`
90
90
  .ft-typography--title {
91
91
  font-family: ${Mt};
92
92
  font-size: ${zt};
@@ -98,8 +98,8 @@ var rt,at;null==st||st(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
98
98
  `,Fe=y`
99
99
  .ft-typography--title-dense {
100
100
  font-family: ${Tt};
101
- font-size: ${Lt};
102
- font-weight: ${At};
101
+ font-size: ${At};
102
+ font-weight: ${Lt};
103
103
  letter-spacing: ${Pt};
104
104
  line-height: ${Dt};
105
105
  text-transform: ${_t};
@@ -141,7 +141,7 @@ var rt,at;null==st||st(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
141
141
  line-height: ${he};
142
142
  text-transform: ${ce};
143
143
  }
144
- `,Le=y`
144
+ `,Ae=y`
145
145
  .ft-typography--caption {
146
146
  font-family: ${de};
147
147
  font-size: ${fe};
@@ -150,7 +150,7 @@ var rt,at;null==st||st(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
150
150
  line-height: ${ge};
151
151
  text-transform: ${ve};
152
152
  }
153
- `,Ae=y`
153
+ `,Le=y`
154
154
  .ft-typography--breadcrumb {
155
155
  font-family: ${xe};
156
156
  font-size: ${be};
@@ -184,7 +184,7 @@ var rt,at;null==st||st(q,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
184
184
  </${$t(this.element)}>
185
185
  `:St`
186
186
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
187
- `}}_e.styles=[ze,Fe,Ue,je,Be,Te,Le,Ae,Pe,De,y`
187
+ `}}_e.styles=[ze,Fe,Ue,je,Be,Te,Ae,Le,Pe,De,y`
188
188
  .ft-typography {
189
189
  vertical-align: inherit;
190
190
  }
@@ -199,7 +199,7 @@ const Ie=1,We=2,He=t=>(...e)=>({_$litDirective$:t,values:e});class Ke{constructo
199
199
  * @license
200
200
  * Copyright 2017 Google LLC
201
201
  * SPDX-License-Identifier: BSD-3-Clause
202
- */class Ze extends Ke{constructor(t){if(super(t),this.it=K,t.type!==We)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ze.directiveName="unsafeHTML",Ze.resultType=1;const Ve=He(Ze);var Je,qe;!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;"}(Je||(Je={})),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;"}(qe||(qe={})),new Map([...["abw"].map((t=>[t,qe.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,qe.AUDIO])),...["avi"].map((t=>[t,qe.AVI])),...["chm","xhs"].map((t=>[t,qe.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,qe.CODE])),...["csv"].map((t=>[t,qe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,qe.DITA])),...["epub"].map((t=>[t,qe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,qe.EXCEL])),...["flac"].map((t=>[t,qe.FLAC])),...["gif"].map((t=>[t,qe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,qe.GZIP])),...["html","htm","xhtml"].map((t=>[t,qe.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,qe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,qe.JPEG])),...["json"].map((t=>[t,qe.JSON])),...["m4a","m4p"].map((t=>[t,qe.M4A])),...["mov","qt"].map((t=>[t,qe.MOV])),...["mp3"].map((t=>[t,qe.MP3])),...["mp4","m4v"].map((t=>[t,qe.MP4])),...["ogg","oga"].map((t=>[t,qe.OGG])),...["pdf","ps"].map((t=>[t,qe.PDF])),...["png"].map((t=>[t,qe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,qe.POWERPOINT])),...["rar"].map((t=>[t,qe.RAR])),...["stp"].map((t=>[t,qe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,qe.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,qe.VIDEO])),...["wav"].map((t=>[t,qe.WAV])),...["wma"].map((t=>[t,qe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,qe.WORD])),...["xml","xsl","rdf"].map((t=>[t,qe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,qe.YAML])),...["zip"].map((t=>[t,qe.ZIP]))]);var Xe,Ye=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Xe||(Xe={}));const Ge={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Qe extends ut{constructor(){super(...arguments),this.variant=Xe.fluid_topics}getStyles(){return y`
202
+ */class Ze extends Ke{constructor(t){if(super(t),this.it=K,t.type!==We)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ze.directiveName="unsafeHTML",Ze.resultType=1;const Ve=He(Ze);var Je,qe;!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;"}(Je||(Je={})),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;"}(qe||(qe={})),new Map([...["abw"].map((t=>[t,qe.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,qe.AUDIO])),...["avi"].map((t=>[t,qe.AVI])),...["chm","xhs"].map((t=>[t,qe.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,qe.CODE])),...["csv"].map((t=>[t,qe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,qe.DITA])),...["epub"].map((t=>[t,qe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,qe.EXCEL])),...["flac"].map((t=>[t,qe.FLAC])),...["gif"].map((t=>[t,qe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,qe.GZIP])),...["html","htm","xhtml"].map((t=>[t,qe.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,qe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,qe.JPEG])),...["json"].map((t=>[t,qe.JSON])),...["m4a","m4p"].map((t=>[t,qe.M4A])),...["mov","qt"].map((t=>[t,qe.MOV])),...["mp3"].map((t=>[t,qe.MP3])),...["mp4","m4v"].map((t=>[t,qe.MP4])),...["ogg","oga"].map((t=>[t,qe.OGG])),...["pdf","ps"].map((t=>[t,qe.PDF])),...["png"].map((t=>[t,qe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,qe.POWERPOINT])),...["rar"].map((t=>[t,qe.RAR])),...["stp"].map((t=>[t,qe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,qe.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,qe.VIDEO])),...["wav"].map((t=>[t,qe.WAV])),...["wma"].map((t=>[t,qe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,qe.WORD])),...["xml","xsl","rdf"].map((t=>[t,qe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,qe.YAML])),...["zip"].map((t=>[t,qe.ZIP]))]);var Xe,Ye=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Xe||(Xe={}));const Ge={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ht.create("--ft-icon-vertical-align","UNKNOWN","unset")};class Qe extends ut{constructor(){super(...arguments),this.variant=Xe.fluid_topics}getStyles(){return y`
203
203
  :host {
204
204
  display: inline-block;
205
205
  }
@@ -222,6 +222,7 @@ const Ie=1,We=2,He=t=>(...e)=>({_$litDirective$:t,values:e});class Ke{constructo
222
222
  text-rendering: auto;
223
223
  -webkit-font-smoothing: antialiased;
224
224
  -moz-osx-font-smoothing: grayscale;
225
+ vertical-align: ${Ge.verticalAlign};
225
226
  }
226
227
 
227
228
  .ft-icon--fluid-topics {
@@ -352,7 +353,7 @@ const ti=He(class extends Ke{constructor(t){var e;if(super(t),t.type!==Ie||"clas
352
353
  opacity: ${oi.opacityContentOnSurfacePressed};
353
354
  transform: translate(-50%, -50%) scale(1);
354
355
  }
355
- `,ei([o({type:Boolean})],hi.prototype,"primary",void 0),ei([o({type:Boolean})],hi.prototype,"secondary",void 0),ei([o({type:Boolean})],hi.prototype,"unbounded",void 0),ei([o({type:Boolean})],hi.prototype,"activated",void 0),ei([o({type:Boolean})],hi.prototype,"selected",void 0),ei([o({type:Boolean})],hi.prototype,"disabled",void 0),ei([n()],hi.prototype,"hovered",void 0),ei([n()],hi.prototype,"focused",void 0),ei([n()],hi.prototype,"pressed",void 0),ei([n()],hi.prototype,"rippling",void 0),ei([n()],hi.prototype,"rippleSize",void 0),ei([n()],hi.prototype,"originX",void 0),ei([n()],hi.prototype,"originY",void 0),ei([r(".ft-ripple")],hi.prototype,"ripple",void 0),ei([r(".ft-ripple--effect")],hi.prototype,"rippleEffect",void 0),p("ft-ripple")(hi);var ci=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const di=ht.create("--ft-tooltip-distance","SIZE","4px"),fi=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),ui=ht.create("--ft-tooltip-background-color","COLOR","#666666"),yi=ht.create("--ft-tooltip-z-index","NUMBER","1"),gi=ht.external(dt.borderRadiusS,"Design system");class vi extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return W`
356
+ `,ei([o({type:Boolean})],hi.prototype,"primary",void 0),ei([o({type:Boolean})],hi.prototype,"secondary",void 0),ei([o({type:Boolean})],hi.prototype,"unbounded",void 0),ei([o({type:Boolean})],hi.prototype,"activated",void 0),ei([o({type:Boolean})],hi.prototype,"selected",void 0),ei([o({type:Boolean})],hi.prototype,"disabled",void 0),ei([n()],hi.prototype,"hovered",void 0),ei([n()],hi.prototype,"focused",void 0),ei([n()],hi.prototype,"pressed",void 0),ei([n()],hi.prototype,"rippling",void 0),ei([n()],hi.prototype,"rippleSize",void 0),ei([n()],hi.prototype,"originX",void 0),ei([n()],hi.prototype,"originY",void 0),ei([r(".ft-ripple")],hi.prototype,"ripple",void 0),ei([r(".ft-ripple--effect")],hi.prototype,"rippleEffect",void 0),p("ft-ripple")(hi);var ci=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const di=ht.create("--ft-tooltip-distance","SIZE","4px"),fi=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),ui=ht.create("--ft-tooltip-background-color","COLOR","#666666"),yi=ht.create("--ft-tooltip-z-index","NUMBER","1"),gi=ht.external(dt.borderRadiusS,"Design system"),vi=ht.create("--ft-tooltip-max-width","SIZE","150px");class xi extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return W`
356
357
  <div part="container"
357
358
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
358
359
  @mouseenter=${this.onHover}
@@ -362,12 +363,13 @@ const ti=He(class extends Ke{constructor(t){var e;if(super(t),t.type!==Ie||"clas
362
363
  @touchstart=${this.onTouch}>
363
364
  <div part="tooltip" class="ft-tooltip ft-tooltip--${this.position}" ?hidden=${!this.visible}>
364
365
  <div part="tooltip-content" class="ft-tooltip--content">
365
- <ft-typography variant="caption">${this.text}</ft-typography>
366
+ <slot name="text"></slot>
367
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
366
368
  </div>
367
369
  </div>
368
370
  <slot></slot>
369
371
  </div>
370
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}vi.elementDefinitions={"ft-typography":_e},vi.styles=y`
372
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.position){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=e.height,n=o;break;case"left":s=i,n=-this.tooltip.clientWidth;break;case"right":s=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${e.width}px, ${vi})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}xi.elementDefinitions={"ft-typography":_e},xi.styles=y`
371
373
  .ft-tooltip--container {
372
374
  display: block;
373
375
  position: relative;
@@ -383,7 +385,7 @@ const ti=He(class extends Ke{constructor(t){var e;if(super(t),t.type!==Ie||"clas
383
385
  box-sizing: border-box;
384
386
  overflow: hidden;
385
387
  width: max-content;
386
- max-width: 150px;
388
+ max-width: ${vi};
387
389
  text-align: center;
388
390
  padding: ${di};
389
391
  z-index: ${yi};
@@ -399,13 +401,13 @@ const ti=He(class extends Ke{constructor(t){var e;if(super(t),t.type!==Ie||"clas
399
401
  position: relative;
400
402
  word-break: break-word;
401
403
  }
402
- `,ci([o()],vi.prototype,"text",void 0),ci([o({type:Boolean})],vi.prototype,"manual",void 0),ci([o({type:Boolean})],vi.prototype,"inline",void 0),ci([o({type:Number})],vi.prototype,"delay",void 0),ci([o()],vi.prototype,"position",void 0),ci([
404
+ `,ci([o()],xi.prototype,"text",void 0),ci([o({type:Boolean})],xi.prototype,"manual",void 0),ci([o({type:Boolean})],xi.prototype,"inline",void 0),ci([o({type:Number})],xi.prototype,"delay",void 0),ci([o()],xi.prototype,"position",void 0),ci([
403
405
  /**
404
406
  * @license
405
407
  * Copyright 2017 Google LLC
406
408
  * SPDX-License-Identifier: BSD-3-Clause
407
409
  */
408
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],vi.prototype,"slotNodes",void 0),ci([r(".ft-tooltip--container")],vi.prototype,"container",void 0),ci([r("slot")],vi.prototype,"target",void 0),ci([r(".ft-tooltip")],vi.prototype,"tooltip",void 0),ci([r(".ft-tooltip--content")],vi.prototype,"tooltipContent",void 0),ci([n()],vi.prototype,"visible",void 0),p("ft-tooltip")(vi);const xi={color:ht.extend("--ft-loader-color",dt.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class bi extends ut{static get styles(){return y`
410
+ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],xi.prototype,"slotNodes",void 0),ci([r(".ft-tooltip--container")],xi.prototype,"container",void 0),ci([r("slot")],xi.prototype,"target",void 0),ci([r(".ft-tooltip")],xi.prototype,"tooltip",void 0),ci([r(".ft-tooltip--content")],xi.prototype,"tooltipContent",void 0),ci([n()],xi.prototype,"visible",void 0),p("ft-tooltip")(xi);const bi={color:ht.extend("--ft-loader-color",dt.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class mi extends ut{static get styles(){return y`
409
411
  :host {
410
412
  line-height: 0;
411
413
  }
@@ -414,8 +416,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
414
416
  display: inline-block;
415
417
  position: relative;
416
418
 
417
- width: ${xi.size};
418
- height: ${xi.size};
419
+ width: ${bi.size};
420
+ height: ${bi.size};
419
421
  }
420
422
 
421
423
  .ft-loader div {
@@ -424,7 +426,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
424
426
  width: 25%;
425
427
  height: 25%;
426
428
  border-radius: 50%;
427
- background: ${xi.color};
429
+ background: ${bi.color};
428
430
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
429
431
  }
430
432
 
@@ -471,7 +473,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
471
473
  transform: translate(0, 0);
472
474
  }
473
475
  100% {
474
- transform: translate(calc(0.35 * ${xi.size}), 0);
476
+ transform: translate(calc(0.35 * ${bi.size}), 0);
475
477
  }
476
478
  }
477
479
  `}render(){return W`
@@ -481,7 +483,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
481
483
  <div></div>
482
484
  <div></div>
483
485
  </div>
484
- `}}p("ft-loader")(bi);var mi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const wi=ht.extend("--ft-button-color",dt.colorPrimary),$i={backgroundColor:ht.extend("--ft-button-background-color",dt.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",dt.borderRadiusL),color:wi,fontSize:ht.extend("--ft-button-font-size",Me.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",wi),opacityDisabled:ht.external(dt.colorOpacityDisabled,"Design system")},Oi=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",dt.colorOnPrimary)),Si={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",dt.colorPrimary)),color:Oi,rippleColor:ht.extend("--ft-button-primary-ripple-color",Oi)},ki=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",dt.borderRadiusM));class Ci extends ut{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[yt,y`
486
+ `}}p("ft-loader")(mi);var wi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const $i=ht.extend("--ft-button-color",dt.colorPrimary),Oi={backgroundColor:ht.extend("--ft-button-background-color",dt.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",dt.borderRadiusL),color:$i,fontSize:ht.extend("--ft-button-font-size",Me.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",$i),opacityDisabled:ht.external(dt.colorOpacityDisabled,"Design system")},Si=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",dt.colorOnPrimary)),ki={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",dt.colorPrimary)),color:Si,rippleColor:ht.extend("--ft-button-primary-ripple-color",Si)},Ci=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",dt.borderRadiusM));class Ni extends ut{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[yt,y`
485
487
  :host {
486
488
  display: inline-block;
487
489
  max-width: 100%;
@@ -492,7 +494,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
492
494
  box-shadow: 0px 0px 0px transparent;
493
495
  border: 0px solid transparent;
494
496
  text-shadow: 0px 0px 0px transparent;
495
- font-size: 16px;
497
+ font-size: ${Oi.fontSize};
496
498
  }
497
499
 
498
500
  button:hover {
@@ -521,18 +523,17 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
521
523
  border: none;
522
524
  pointer-events: auto;
523
525
 
524
- --ft-button-internal-font-size: ${$i.fontSize};
525
- --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
526
- --ft-button-internal-color: ${$i.color};
527
- ${ct(Ge.size,$i.iconSize)};
526
+ --ft-button-internal-line-height: calc(${Oi.fontSize} + 2px);
527
+ --ft-button-internal-color: ${Oi.color};
528
+ ${ct(Ge.size,Oi.iconSize)};
528
529
  --ft-button-internal-vertical-padding: 6px;
529
530
  --ft-button-internal-horizontal-padding: 8px;
530
- ${ct(oi.color,$i.rippleColor)};
531
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${$i.iconSize});
531
+ ${ct(oi.color,Oi.rippleColor)};
532
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Oi.iconSize});
532
533
 
533
- border-radius: ${$i.borderRadius};
534
+ border-radius: ${Oi.borderRadius};
534
535
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
535
- background-color: ${$i.backgroundColor};
536
+ background-color: ${Oi.backgroundColor};
536
537
  color: var(--ft-button-internal-color);
537
538
  -webkit-mask-image: radial-gradient(white, black);
538
539
  }
@@ -544,7 +545,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
544
545
  .ft-button--dense {
545
546
  --ft-button-internal-vertical-padding: 2px;
546
547
  --ft-button-internal-horizontal-padding: 4px;
547
- border-radius: ${ki};
548
+ border-radius: ${Ci};
548
549
  }
549
550
 
550
551
  .ft-button--round {
@@ -553,13 +554,13 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
553
554
 
554
555
  .ft-button[disabled] {
555
556
  filter: grayscale(1);
556
- opacity: ${$i.opacityDisabled};
557
+ opacity: ${Oi.opacityDisabled};
557
558
  }
558
559
 
559
560
  .ft-button.ft-button--primary {
560
- background-color: ${Si.backgroundColor};
561
- --ft-button-internal-color: ${Si.color};
562
- ${ct(oi.color,Si.rippleColor)};
561
+ background-color: ${ki.backgroundColor};
562
+ --ft-button-internal-color: ${ki.color};
563
+ ${ct(oi.color,ki.rippleColor)};
563
564
  }
564
565
 
565
566
  .ft-button.ft-button--outlined {
@@ -578,7 +579,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
578
579
  text-overflow: ellipsis;
579
580
  display: block;
580
581
  margin: 0 var(--ft-button-internal-horizontal-padding);
581
- ${ct(Me.fontSize,"var(--ft-button-internal-font-size)")};
582
+ ${ct(Me.fontSize,"1em")};
582
583
  ${ct(Me.lineHeight,"var(--ft-button-internal-content-height)")};
583
584
  }
584
585
 
@@ -612,8 +613,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
612
613
  }
613
614
 
614
615
  ft-loader {
615
- ${ct(xi.size,$i.iconSize)};
616
- ${ct(xi.color,"var(--ft-button-internal-color)")};
616
+ ${ct(bi.size,Oi.iconSize)};
617
+ ${ct(bi.color,"var(--ft-button-internal-color)")};
617
618
  }
618
619
  `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":bt,"ft-no-text-select":!0};return this.addTooltip(W`
619
620
  <button part="button"
@@ -637,14 +638,14 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
637
638
  </ft-tooltip>
638
639
  `}resolveIcon(){return this.loading?W`
639
640
  <ft-loader></ft-loader> `:this.icon?W`
640
- <ft-icon variant="material">${this.icon}</ft-icon> `:K}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ci.elementDefinitions={"ft-ripple":hi,"ft-tooltip":vi,"ft-typography":_e,"ft-icon":Qe,"ft-loader":bi},mi([o({type:Boolean})],Ci.prototype,"primary",void 0),mi([o({type:Boolean})],Ci.prototype,"outlined",void 0),mi([o({type:Boolean})],Ci.prototype,"disabled",void 0),mi([o({type:Boolean})],Ci.prototype,"dense",void 0),mi([o({type:Boolean})],Ci.prototype,"round",void 0),mi([o({type:String})],Ci.prototype,"label",void 0),mi([o({type:String})],Ci.prototype,"icon",void 0),mi([o({type:Boolean})],Ci.prototype,"trailingIcon",void 0),mi([o({type:Boolean})],Ci.prototype,"loading",void 0),mi([o({type:String})],Ci.prototype,"tooltipPosition",void 0),mi([r(".ft-button")],Ci.prototype,"button",void 0),mi([r(".ft-button--label slot")],Ci.prototype,"slottedContent",void 0),p("ft-button")(Ci);var Ni=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Ei={zIndex:ht.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:ht.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:ht.create("--ft-dialog-height","SIZE","unset"),width:ht.create("--ft-dialog-width","SIZE","unset"),minWidth:ht.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:ht.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:ht.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:ht.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:ht.external(dt.colorSurface,"Design system"),headingColor:ht.external(dt.colorOnSurfaceMedium,"Design system"),borderRadiusS:ht.external(dt.borderRadiusS,"Design system"),elevation24:ht.external(dt.elevation24,"Design system")};class Ri extends ut{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.closable=!1,this.beforeClose=()=>!0,this.heading="",this.icon=""}static get styles(){return y`
641
+ <ft-icon variant="material">${this.icon}</ft-icon> `:K}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ni.elementDefinitions={"ft-ripple":hi,"ft-tooltip":xi,"ft-typography":_e,"ft-icon":Qe,"ft-loader":mi},wi([o({type:Boolean})],Ni.prototype,"primary",void 0),wi([o({type:Boolean})],Ni.prototype,"outlined",void 0),wi([o({type:Boolean})],Ni.prototype,"disabled",void 0),wi([o({type:Boolean})],Ni.prototype,"dense",void 0),wi([o({type:Boolean})],Ni.prototype,"round",void 0),wi([o({type:String})],Ni.prototype,"label",void 0),wi([o({type:String})],Ni.prototype,"icon",void 0),wi([o({type:Boolean})],Ni.prototype,"trailingIcon",void 0),wi([o({type:Boolean})],Ni.prototype,"loading",void 0),wi([o({type:String})],Ni.prototype,"tooltipPosition",void 0),wi([r(".ft-button")],Ni.prototype,"button",void 0),wi([r(".ft-button--label slot")],Ni.prototype,"slottedContent",void 0),p("ft-button")(Ni);var Ei=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Ri={zIndex:ht.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:ht.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:ht.create("--ft-dialog-height","SIZE","unset"),width:ht.create("--ft-dialog-width","SIZE","unset"),minWidth:ht.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:ht.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:ht.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:ht.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:ht.external(dt.colorSurface,"Design system"),headingColor:ht.external(dt.colorOnSurfaceMedium,"Design system"),borderRadiusS:ht.external(dt.borderRadiusS,"Design system"),elevation24:ht.external(dt.elevation24,"Design system")};class Mi extends ut{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.closable=!1,this.beforeClose=()=>!0,this.heading="",this.icon=""}static get styles(){return y`
641
642
  .ft-dialog {
642
643
  position: fixed;
643
644
  top: 0;
644
645
  right: 0;
645
646
  bottom: 0;
646
647
  left: 0;
647
- z-index: ${Ei.zIndex};
648
+ z-index: ${Ri.zIndex};
648
649
 
649
650
  display: flex;
650
651
  flex-direction: column;
@@ -664,7 +665,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
664
665
  height: 100%;
665
666
  width: 100%;
666
667
 
667
- background-color: ${Ei.overlayBackgroundColor};
668
+ background-color: ${Ri.overlayBackgroundColor};
668
669
 
669
670
  }
670
671
 
@@ -673,20 +674,20 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
673
674
  display: flex;
674
675
  flex-direction: column;
675
676
 
676
- width: ${Ei.width};
677
- height: ${Ei.height};
677
+ width: ${Ri.width};
678
+ height: ${Ri.height};
678
679
  max-width: 95vw;
679
680
  max-height: 95vh;
680
- min-width: ${Ei.minWidth};
681
+ min-width: ${Ri.minWidth};
681
682
 
682
- padding-top: ${Ei.paddingTop};
683
- padding-right: ${Ei.paddingSide};
684
- padding-left: ${Ei.paddingSide};
683
+ padding-top: ${Ri.paddingTop};
684
+ padding-right: ${Ri.paddingSide};
685
+ padding-left: ${Ri.paddingSide};
685
686
 
686
- background-color: ${Ei.colorSurface};
687
+ background-color: ${Ri.colorSurface};
687
688
 
688
- border-radius: ${Ei.borderRadiusS};
689
- box-shadow: ${Ei.elevation24};
689
+ border-radius: ${Ri.borderRadiusS};
690
+ box-shadow: ${Ri.elevation24};
690
691
  }
691
692
 
692
693
  .ft-dialog-content {
@@ -704,11 +705,11 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
704
705
  margin-bottom: 20px;
705
706
  gap: 8px;
706
707
 
707
- color: ${Ei.headingColor};
708
+ color: ${Ri.headingColor};
708
709
  }
709
710
 
710
711
  .ft-dialog-buttons {
711
- padding-top: ${Ei.paddingButtons};
712
+ padding-top: ${Ri.paddingButtons};
712
713
  }
713
714
 
714
715
  slot[name=buttons] {
@@ -725,7 +726,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
725
726
 
726
727
  .ft-dialog-heading ft-button {
727
728
  margin-left: auto;
728
- ${ct($i.color,Ei.headingColor)};
729
+ ${ct(Oi.color,Ri.headingColor)};
729
730
  }
730
731
 
731
732
  `}render(){return this.opened?W`
@@ -749,4 +750,4 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
749
750
  </div>
750
751
  </div>
751
752
  </div>
752
- `:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.beforeClose()&&(this.opened=!1)}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}Ri.elementDefinitions={"ft-typography":_e,"ft-icon":Qe,"ft-button":Ci},Ni([o({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],Ri.prototype,"opened",void 0),Ni([o({type:Boolean})],Ri.prototype,"closeOnEsc",void 0),Ni([o({type:Boolean})],Ri.prototype,"closeOnClickOutside",void 0),Ni([o({type:Boolean})],Ri.prototype,"closable",void 0),Ni([o({type:()=>Boolean})],Ri.prototype,"beforeClose",void 0),Ni([o({type:String})],Ri.prototype,"heading",void 0),Ni([o({type:String})],Ri.prototype,"icon",void 0),p("ft-dialog")(Ri),t.FtDialog=Ri,t.FtDialogCssVariables=Ei,t.default=Ri,Object.defineProperty(t,"i",{value:!0})}({});
753
+ `:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.beforeClose()&&(this.opened=!1)}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}Mi.elementDefinitions={"ft-typography":_e,"ft-icon":Qe,"ft-button":Ni},Ei([o({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],Mi.prototype,"opened",void 0),Ei([o({type:Boolean})],Mi.prototype,"closeOnEsc",void 0),Ei([o({type:Boolean})],Mi.prototype,"closeOnClickOutside",void 0),Ei([o({type:Boolean})],Mi.prototype,"closable",void 0),Ei([o({type:()=>Boolean})],Mi.prototype,"beforeClose",void 0),Ei([o({type:String})],Mi.prototype,"heading",void 0),Ei([o({type:String})],Mi.prototype,"icon",void 0),p("ft-dialog")(Mi),t.FtDialog=Mi,t.FtDialogCssVariables=Ri,t.default=Mi,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-dialog",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "A simple dialog component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "0.3.4",
23
- "@fluid-topics/ft-icon": "0.3.4",
24
- "@fluid-topics/ft-typography": "0.3.4",
25
- "@fluid-topics/ft-wc-utils": "0.3.4",
22
+ "@fluid-topics/ft-button": "0.3.6",
23
+ "@fluid-topics/ft-icon": "0.3.6",
24
+ "@fluid-topics/ft-typography": "0.3.6",
25
+ "@fluid-topics/ft-wc-utils": "0.3.6",
26
26
  "lit": "2.2.8"
27
27
  },
28
- "gitHead": "3179cf74226f9447314e09a6b16a816871c0e15f"
28
+ "gitHead": "174dee2cde0a01bd51aba1031d4c5128f6fe81f1"
29
29
  }