@fluid-topics/ft-reader-metadata 1.0.58 → 1.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,121 +1,128 @@
1
- !function(t,i,e,o,n,r){const s=e.css`
1
+ !function(t,o,e,r,i,a){const n=e.css`
2
2
  :host {
3
3
  display: inline-block;
4
4
  }
5
- `;var a;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(a||(a={}));var l=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const h=Symbol("registerInterval");class f extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[h]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[h]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return i=h,l([o.state()],e.prototype,"stateManager",void 0),e}(i.FtLitElementRedux)){}
5
+ `;var l;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(l||(l={}));var c=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const s=Symbol("registerInterval");class f extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[s]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[s]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=s,c([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
6
6
  /**
7
7
  * @license
8
8
  * Copyright 2017 Google LLC
9
9
  * SPDX-License-Identifier: BSD-3-Clause
10
- */var c;const d=window,u=d.trustedTypes,g=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,b="?"+v,y=`<${b}>`,m=document,$=()=>m.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,z="[ \t\n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,I=/>/g,O=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),E=/'/g,j=/"/g,N=/^(?:script|style|textarea|title)$/i,B=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),T=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),M=new WeakMap,Z=m.createTreeWalker(m,129,null,!1),F=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=S;for(let i=0;i<e;i++){const e=t[i];let a,l,p=-1,h=0;for(;h<e.length&&(s.lastIndex=h,l=s.exec(e),null!==l);)h=s.lastIndex,s===S?"!--"===l[1]?s=C:void 0!==l[1]?s=I:void 0!==l[2]?(N.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=O):void 0!==l[3]&&(s=O):s===O?">"===l[0]?(s=null!=n?n:S,p=-1):void 0===l[1]?p=-2:(p=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?O:'"'===l[3]?j:E):s===j||s===E?s=O:s===C||s===I?s=S:(s=O,n=void 0);const f=s===O&&t[i+1].startsWith("/>")?" ":"";r+=s===S?e+y:p>=0?(o.push(a),e.slice(0,p)+x+e.slice(p)+v+f):e+v+(-2===p?(o.push(void 0),i):f)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==g?g.createHTML(a):a,o]};class _{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,p]=F(t,i);if(this.el=_.createElement(l,e),Z.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Z.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(x)||i.startsWith(v)){const e=p[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+x).split(v),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?L:"?"===i[1]?P:"@"===i[1]?H:K})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(N.test(o.tagName)){const t=o.textContent.split(v),i=t.length-1;if(i>0){o.textContent=u?u.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],$()),Z.nextNode(),a.push({type:2,index:++n});o.append(t[i],$())}}}else if(8===o.nodeType)if(o.data===b)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(v,t+1));)a.push({type:7,index:n}),t+=v.length-1}n++}}static createElement(t,i){const e=m.createElement("template");return e.innerHTML=t,e}}function U(t,i,e=t,o){var n,r,s,a;if(i===T)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const p=w(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=U(t,l._$AS(t,i.values),l,o)),i}class R{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:m).importNode(e,!0);Z.currentNode=n;let r=Z.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new D(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new G(r,this,t)),this._$AV.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=Z.nextNode(),s++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class D{constructor(t,i,e,o){var n;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=U(this,t,i),w(t)?t===A||null==t||""===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>k(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==A&&w(this._$AH)?this._$AA.nextSibling.data=t:this.$(m.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=_.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new R(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=M.get(t.strings);return void 0===i&&M.set(t.strings,i=new _(t)),i}T(t){k(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 D(this.k($()),this.k($()),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._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class K{constructor(t,i,e,o,n){this.type=1,this._$AH=A,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=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=U(this,t,i,0),r=!w(t)||t!==this._$AH&&t!==T,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=U(this,o[e+s],i,s),a===T&&(a=this._$AH[s]),r||(r=!w(a)||a!==this._$AH[s]),a===A?t=A:t!==A&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class L extends K{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}const W=u?u.emptyScript:"";class P extends K{constructor(){super(...arguments),this.type=4}j(t){t&&t!==A?this.element.setAttribute(this.name,W):this.element.removeAttribute(this.name)}}class H extends K{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=U(this,t,i,0))&&void 0!==e?e:A)===T)return;const o=this._$AH,n=t===A&&o!==A||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==A&&(o===A||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class G{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){U(this,t)}}const V=d.litHtmlPolyfillSupport;null==V||V(_,D),(null!==(c=d.litHtmlVersions)&&void 0!==c?c:d.litHtmlVersions=[]).push("2.7.3");
10
+ */var d;const h=window,g=h.trustedTypes,y=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,b="$lit$",u=`lit$${(Math.random()+"").slice(9)}$`,m="?"+u,x=`<${m}>`,O=document,v=()=>O.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,$="[ \t\n\f\r]",C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,I=/>/g,k=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,U=/"/g,W=/^(?:script|style|textarea|title)$/i,E=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),L=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),K=new WeakMap,Z=O.createTreeWalker(O,129,null,!1),F=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=C;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===C?"!--"===c[1]?n=w:void 0!==c[1]?n=I:void 0!==c[2]?(W.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=k):void 0!==c[3]&&(n=k):n===k?">"===c[0]?(n=null!=i?i:C,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?k:'"'===c[3]?U:R):n===U||n===R?n=k:n===w||n===I?n=C:(n=k,i=void 0);const f=n===k&&t[o+1].startsWith("/>")?" ":"";a+=n===C?e+x:p>=0?(r.push(l),e.slice(0,p)+b+e.slice(p)+u+f):e+u+(-2===p?(r.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==y?y.createHTML(l):l,r]};class B{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,p]=F(t,o);if(this.el=B.createElement(c,e),Z.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=Z.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(b)||o.startsWith(u)){const e=p[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+b).split(u),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?j:"?"===o[1]?T:"@"===o[1]?M:G})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(W.test(r.tagName)){const t=r.textContent.split(u),o=t.length-1;if(o>0){r.textContent=g?g.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],v()),Z.nextNode(),l.push({type:2,index:++i});r.append(t[o],v())}}}else if(8===r.nodeType)if(r.data===m)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(u,t+1));)l.push({type:7,index:i}),t+=u.length-1}i++}}static createElement(t,o){const e=O.createElement("template");return e.innerHTML=t,e}}function D(t,o,e=t,r){var i,a,n,l;if(o===L)return o;let c=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const p=N(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=D(t,c._$AS(t,o.values),c,r)),o}class H{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:O).importNode(e,!0);Z.currentNode=i;let a=Z.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new A(a,a.nextSibling,this,t):1===c.type?o=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(o=new _(a,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(a=Z.nextNode(),n++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class A{constructor(t,o,e,r){var i;this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=D(this,t,o),N(t)?t===z||null==t||""===t?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==L&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>S(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==z&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(O.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=B.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new H(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=K.get(t.strings);return void 0===o&&K.set(t.strings,o=new B(t)),o}T(t){S(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new A(this.k(v()),this.k(v()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class G{constructor(t,o,e,r,i){this.type=1,this._$AH=z,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=D(this,t,o,0),a=!N(t)||t!==this._$AH&&t!==L,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=D(this,r[e+n],o,n),l===L&&(l=this._$AH[n]),a||(a=!N(l)||l!==this._$AH[n]),l===z?t=z:t!==z&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class j extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===z?void 0:t}}const P=g?g.emptyScript:"";class T extends G{constructor(){super(...arguments),this.type=4}j(t){t&&t!==z?this.element.setAttribute(this.name,P):this.element.removeAttribute(this.name)}}class M extends G{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=D(this,t,o,0))&&void 0!==e?e:z)===L)return;const r=this._$AH,i=t===z&&r!==z||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==z&&(r===z||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class _{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const Y=h.litHtmlPolyfillSupport;null==Y||Y(B,A),(null!==(d=h.litHtmlVersions)&&void 0!==d?d:h.litHtmlVersions=[]).push("2.7.3");
11
11
  /**
12
12
  * @license
13
13
  * Copyright 2020 Google LLC
14
14
  * SPDX-License-Identifier: BSD-3-Clause
15
15
  */
16
- const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t._$litStatic$},Y=t=>({_$litStatic$:t,r:q}),J=new Map,Q=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=i[p];p<o&&void 0!==(r=e[p],n=X(r));)l+=n+i[++p],h=!0;p!==o&&a.push(r),s.push(l),p++}if(p===o&&s.push(i[o]),h){const t=s.join("$$lit$$");void 0===(i=J.get(t))&&(s.raw=s,J.set(t,i=s)),e=a}return t(i,...e)})(B);var tt;!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"}(tt||(tt={}));const it=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),et=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ot={fontFamily:et,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")},nt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",it),rt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ot.fontSize,"20px"),st=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ot.fontWeight,"normal"),at=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ot.letterSpacing,"0.15px"),lt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ot.lineHeight,"1.2"),pt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ot.textTransform,"inherit"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",it),ft=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ot.fontSize,"14px"),ct=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ot.fontWeight,"normal"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ot.letterSpacing,"0.105px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ot.lineHeight,"1.7"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ot.textTransform,"inherit"),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",et),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ot.fontSize,"16px"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ot.fontWeight,"600"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ot.letterSpacing,"0.144px"),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ot.lineHeight,"1.5"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ot.textTransform,"inherit"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",et),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ot.fontSize,"14px"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ot.fontWeight,"normal"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ot.letterSpacing,"0.098px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ot.lineHeight,"1.7"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ot.textTransform,"inherit"),Ot=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",et),Et=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ot.fontSize,"16px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ot.fontWeight,"normal"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ot.letterSpacing,"0.496px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ot.lineHeight,"1.5"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ot.textTransform,"inherit"),At={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",et),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ot.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ot.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ot.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ot.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ot.textTransform,"inherit")},Mt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",et),Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ot.fontSize,"12px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ot.fontWeight,"normal"),_t=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ot.letterSpacing,"0.396px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ot.lineHeight,"1.33"),Rt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ot.textTransform,"inherit"),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",et),Kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ot.fontSize,"10px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ot.fontWeight,"normal"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ot.letterSpacing,"0.33px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ot.lineHeight,"1.6"),Ht=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ot.textTransform,"inherit"),Gt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",et),Vt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ot.fontSize,"10px"),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ot.fontWeight,"normal"),Xt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ot.letterSpacing,"1.5px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ot.lineHeight,"1.6"),Jt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ot.textTransform,"uppercase"),Qt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",et),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ot.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ot.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ot.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ot.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ot.textTransform,"uppercase")},ti=e.css`
16
+ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t._$litStatic$},X=t=>({_$litStatic$:t,r:V}),J=new Map,Q=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=q(a));)c+=i+o[++p],s=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=J.get(t))&&(n.raw=n,J.set(t,o=n)),e=l}return t(o,...e)})(E);var tt;!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",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(tt||(tt={}));const ot=t=>"string"==typeof t?e.unsafeCSS(t):t;class et{static create(t,o,r,i){const a=t=>ot(null!=t?t:i),n=e.css`var(${ot(t)}, ${a(i)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${ot(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${ot(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${ot(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ot(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${ot(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${ot(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const rt={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8")},it={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},at={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",rt.colorBrand0),backgroundErrorPrimary:et.extend("--ft-background-error-primary","Used as background of error components.",rt.colorRed0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",rt.colorRed10),backgroundInfoPrimary:et.extend("--ft-background-info-primary","Used as background of information components.",rt.colorCyan200),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",rt.colorCyan10),backgroundWarningPrimary:et.extend("--ft-background-warning-primary","Used as background of warning components.",rt.colorOrange300),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",rt.colorOrange10),backgroundSuccessPrimary:et.extend("--ft-background-success-primary","Used as background of success components.",rt.colorGreen200),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",rt.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",rt.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",rt.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",rt.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",rt.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",rt.colorOrange300),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",rt.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",rt.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",rt.colorRed0),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",rt.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",rt.colorCyan0),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",rt.colorGreen0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",rt.colorGreen200),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",rt.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",rt.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",rt.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",rt.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",rt.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",rt.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for warning components.",rt.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success components.",rt.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for error components.",rt.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for information components.",rt.colorCyan30),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",rt.colorGray30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",rt.colorGray50),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",rt.colorGray80)},nt={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",rt.spacing4),largeGap:et.extend("--ft-button-large-gap","",rt.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",rt.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",rt.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",rt.spacing3),smallGap:et.extend("--ft-button-small-gap","",rt.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",rt.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",rt.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",at.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",at.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",at.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",at.contentGlobalOnColor),primaryStateLayerOpacityHover:et.extend("--ft-button-primary-state-layer-opacity-hover","",rt.opacity16),primaryStateLayerOpacityFocus:et.extend("--ft-button-primary-state-layer-opacity-focus","",rt.opacity16),primaryStateLayerOpacityActive:et.extend("--ft-button-primary-state-layer-opacity-active","",rt.opacity24),primaryComponentOpacityDisabled:et.extend("--ft-button-primary-component-opacity-disabled","",rt.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",at.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",at.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",at.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",at.contentActionPrimary),tertiaryStateLayerOpacityHover:et.extend("--ft-button-tertiary-state-layer-opacity-hover","",rt.opacity8),tertiaryStateLayerOpacityFocus:et.extend("--ft-button-tertiary-state-layer-opacity-focus","",rt.opacity8),tertiaryStateLayerOpacityActive:et.extend("--ft-button-tertiary-state-layer-opacity-active","",rt.opacity16),tertiaryComponentOpacityDisabled:et.extend("--ft-button-tertiary-component-opacity-disabled","",rt.opacity40),secondaryBackgroundColor:et.extend("--ft-button-secondary-background-color","",rt.colorWhite),secondaryColor:et.extend("--ft-button-secondary-color","",at.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",at.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",at.contentActionPrimary),secondaryStateLayerOpacityHover:et.extend("--ft-button-secondary-state-layer-opacity-hover","",rt.opacity8),secondaryStateLayerOpacityFocus:et.extend("--ft-button-secondary-state-layer-opacity-focus","",rt.opacity8),secondaryStateLayerOpacityActive:et.extend("--ft-button-secondary-state-layer-opacity-active","",rt.opacity16),secondaryComponentOpacityDisabled:et.extend("--ft-button-secondary-component-opacity-disabled","",rt.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",at.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",at.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",at.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",at.contentGlobalSecondary),neutralStateLayerOpacityHover:et.extend("--ft-button-neutral-state-layer-opacity-hover","",rt.opacity8),neutralStateLayerOpacityFocus:et.extend("--ft-button-neutral-state-layer-opacity-focus","",rt.opacity8),neutralStateLayerOpacityActive:et.extend("--ft-button-neutral-state-layer-opacity-active","",rt.opacity16),neutralComponentOpacityDisabled:et.extend("--ft-button-neutral-component-opacity-disabled","",rt.opacity40)};et.extend("--ft-tabs-top-left-border-radius","",rt.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",rt.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",rt.spacing4),et.extend("--ft-tabs-label-vertical-padding","",rt.spacing3),et.extend("--ft-tabs-label-gap","",rt.spacing1),et.extend("--ft-switch-group-horizontal-padding","",rt.spacing1),et.extend("--ft-switch-group-vertical-padding","",rt.spacing1),et.extend("--ft-switch-group-gap","",rt.spacing1),et.extend("--ft-switch-group-background-color","",at.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",at.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",rt.spacing2),et.extend("--ft-switch-label-vertical-padding","",rt.spacing1),et.extend("--ft-switch-icon-horizontal-padding","",rt.spacing1),et.extend("--ft-switch-icon-vertical-padding","",rt.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",at.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",rt.borderRadiusS),et.extend("--ft-switch-off-state-layer-opacity-hover","",rt.opacity8),et.extend("--ft-switch-off-state-layer-opacity-focus","",rt.opacity8),et.extend("--ft-switch-off-state-layer-opacity-active","",rt.opacity16),et.extend("--ft-switch-off-component-opacity-disabled","",rt.opacity40),et.extend("--ft-switch-off-color","",at.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",at.contentGlobalSubtle),et.extend("--ft-chart-1-light","for area color charts",rt.colorBrand40),et.extend("--ft-chart-1-base","for line charts",rt.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",rt.colorYellow60),et.extend("--ft-chart-2-base","for line charts",rt.colorYellow100),et.extend("--ft-chart-3-light","",rt.colorUltramarine40),et.extend("--ft-chart-3-base","",rt.colorUltramarine70),et.extend("--ft-chart-4-light","",rt.colorCyan50),et.extend("--ft-chart-4-base","",rt.colorCyan100),et.extend("--ft-chart-5-light","",rt.colorRed40),et.extend("--ft-chart-5-base","",rt.colorRed60),et.extend("--ft-chart-6-light","",rt.colorGreen40),et.extend("--ft-chart-6-base","",rt.colorGreen70),et.extend("--ft-chart-7-light","",rt.colorOrange70),et.extend("--ft-chart-7-base","",rt.colorOrange100),et.extend("--ft-chart-8-light","",rt.colorAvocado70),et.extend("--ft-chart-8-base","",rt.colorAvocado200),et.extend("--ft-chart-9-light","",rt.colorBrown50),et.extend("--ft-chart-9-base","",rt.colorBrown200),et.extend("--ft-chart-10-light","",rt.colorGray50),et.extend("--ft-chart-10-base","",rt.colorGray80),et.extend("--ft-chart-monochrome-10","",rt.colorBrand10),et.extend("--ft-chart-monochrome-20","",rt.colorBrand20),et.extend("--ft-chart-monochrome-30","",rt.colorBrand40),et.extend("--ft-chart-monochrome-40","",rt.colorBrand60),et.extend("--ft-chart-monochrome-50","",rt.colorBrand0),et.extend("--ft-chart-monochrome-60","",rt.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",rt.spacing4),et.extend("--ft-chip-large-vertical-padding","",rt.spacing2),et.extend("--ft-chip-large-gap","",rt.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",rt.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",rt.spacing3),et.extend("--ft-chip-medium-vertical-padding","",rt.spacing1),et.extend("--ft-chip-medium-gap","",rt.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",rt.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",rt.spacing2),et.extend("--ft-chip-small-vertical-padding","",rt.spacing05),et.extend("--ft-chip-small-gap","",rt.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",rt.iconSize1),et.extend("--ft-chip-neutral-background-color","",at.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",at.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",at.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",at.contentInfoPrimary),et.extend("--ft-chip-info-border-color","",at.borderInfoPrimary),et.extend("--ft-chip-success-background-color","",at.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",at.contentSuccessPrimary),et.extend("--ft-chip-success-border-color","",at.borderSuccessPrimary),et.extend("--ft-chip-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",at.contentWarningPrimary),et.extend("--ft-chip-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-chip-error-background-color","",at.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",at.contentErrorPrimary),et.extend("--ft-chip-error-border-color","",at.borderErrorPrimary),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",rt.spacing2),et.extend("--ft-notice-vertical-padding","",rt.spacing1),et.extend("--ft-notice-border-radius","",rt.borderRadiusS),et.extend("--ft-notice-gap","",rt.spacing2),et.extend("--ft-notice-icon-size","",rt.iconSize3),et.extend("--ft-notice-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",at.borderInfoPrimary),et.extend("--ft-notice-info-color","",at.contentInfoPrimary),et.extend("--ft-notice-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-notice-warning-color","",at.contentWarningPrimary),et.extend("--ft-checkbox-label-color","",at.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",at.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",at.contentActionPrimary),et.extend("--ft-checkbox-checked-color","",at.contentGlobalOnColor),et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-checkbox-checked-component-opacity-disabled","",rt.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",rt.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",rt.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",rt.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",at.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",rt.spacing3),et.extend("--ft-toggle-off-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-toggle-off-component-opacity-disabled","",rt.opacity40),et.extend("--ft-toggle-off-background-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-on-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-toggle-on-component-opacity-disabled","",rt.opacity40),et.extend("--ft-toggle-on-background-color","",at.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",at.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",at.contentActionPrimary),et.extend("--ft-toggle-label-color","",at.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",at.borderActionFocusRing),et.extend("--ft-toggle-gap","",rt.spacing3),et.extend("--ft-radio-label-color","",at.contentGlobalPrimary),et.extend("--ft-radio-selected-color","",at.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",at.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-radio-selected-component-opacity-disabled","",rt.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",rt.colorGray80),et.extend("--ft-radio-unselected-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-radio-unselected-component-opacity-disabled","",rt.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",at.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",rt.spacing3),et.extend("--ft-notification-icon-size","",rt.iconSize4),et.extend("--ft-notification-horizontal-padding","",rt.spacing4),et.extend("--ft-notification-vertical-padding","",rt.spacing4),et.extend("--ft-notification-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",at.contentInfoPrimary),et.extend("--ft-notification-info-border-color","",at.borderInfoPrimary),et.extend("--ft-notification-success-background-color","",at.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",at.contentSuccessPrimary),et.extend("--ft-notification-success-border-color","",at.borderSuccessPrimary),et.extend("--ft-notification-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",at.contentWarningPrimary),et.extend("--ft-notification-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-notification-error-background-color","",at.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",at.contentErrorPrimary),et.extend("--ft-notification-error-border-color","",at.borderErrorPrimary),et.extend("--ft-notification-border-radius","",rt.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-gap-leading","",rt.spacing2),et.extend("--ft-notification-gap-trailing","",rt.spacing8);const lt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ct=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),pt={fontFamily:ct,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},st=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",lt),ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",pt.fontSize,"20px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",pt.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",pt.letterSpacing,"0.15px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",pt.lineHeight,"1.2"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",pt.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",lt),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",pt.fontSize,"14px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",pt.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",pt.letterSpacing,"0.105px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",pt.lineHeight,"1.7"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",pt.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ct),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",pt.fontSize,"16px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",pt.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",pt.letterSpacing,"0.144px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",pt.lineHeight,"1.5"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",pt.textTransform,"inherit"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ct),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",pt.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",pt.fontWeight,"normal"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",pt.letterSpacing,"0.098px"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",pt.lineHeight,"1.7"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",pt.textTransform,"inherit"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ct),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",pt.fontSize,"16px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",pt.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",pt.letterSpacing,"0.496px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",pt.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",pt.textTransform,"inherit"),Ht={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",pt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",pt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",pt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",pt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",pt.textTransform,"inherit")},At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ct),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",pt.fontSize,"12px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",pt.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",pt.letterSpacing,"0.396px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",pt.lineHeight,"1.33"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",pt.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ct),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",pt.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",pt.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",pt.letterSpacing,"0.33px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",pt.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",pt.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ct),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",pt.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",pt.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",pt.letterSpacing,"1.5px"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",pt.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",pt.textTransform,"uppercase"),ao={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",pt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",pt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",pt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",pt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",pt.textTransform,"uppercase")},no=e.css`
17
17
  .ft-typography--title {
18
- font-family: ${nt};
19
- font-size: ${rt};
20
- font-weight: ${st};
21
- letter-spacing: ${at};
22
- line-height: ${lt};
23
- text-transform: ${pt};
24
- }
25
- `,ii=e.css`
26
- .ft-typography--title-dense {
27
- font-family: ${ht};
18
+ font-family: ${st};
28
19
  font-size: ${ft};
29
- font-weight: ${ct};
30
- letter-spacing: ${dt};
31
- line-height: ${ut};
32
- text-transform: ${gt};
20
+ font-weight: ${dt};
21
+ letter-spacing: ${ht};
22
+ line-height: ${gt};
23
+ text-transform: ${yt};
33
24
  }
34
- `,ei=e.css`
25
+ `,lo=e.css`
26
+ .ft-typography--title-dense {
27
+ font-family: ${bt};
28
+ font-size: ${ut};
29
+ font-weight: ${mt};
30
+ letter-spacing: ${xt};
31
+ line-height: ${Ot};
32
+ text-transform: ${vt};
33
+ }
34
+ `,co=e.css`
35
35
  .ft-typography--subtitle1 {
36
- font-family: ${xt};
37
- font-size: ${vt};
38
- font-weight: ${bt};
39
- letter-spacing: ${yt};
40
- line-height: ${mt};
41
- text-transform: ${$t};
42
- }
43
- `,oi=e.css`
44
- .ft-typography--subtitle2 {
45
- font-family: ${wt};
46
- font-size: ${kt};
47
- font-weight: ${zt};
48
- letter-spacing: ${St};
49
- line-height: ${Ct};
36
+ font-family: ${Nt};
37
+ font-size: ${St};
38
+ font-weight: ${$t};
39
+ letter-spacing: ${Ct};
40
+ line-height: ${wt};
50
41
  text-transform: ${It};
51
42
  }
43
+ `,po=e.css`
44
+ .ft-typography--subtitle2 {
45
+ font-family: ${kt};
46
+ font-size: ${Rt};
47
+ font-weight: ${Ut};
48
+ letter-spacing: ${Wt};
49
+ line-height: ${Et};
50
+ text-transform: ${Lt};
51
+ }
52
52
 
53
- `,ni=e.css`
53
+ `,so=e.css`
54
54
  .ft-typography--body1 {
55
- font-family: ${Ot};
56
- font-size: ${Et};
57
- font-weight: ${jt};
58
- letter-spacing: ${Nt};
55
+ font-family: ${zt};
56
+ font-size: ${Kt};
57
+ font-weight: ${Zt};
58
+ letter-spacing: ${Ft};
59
59
  line-height: ${Bt};
60
- text-transform: ${Tt};
60
+ text-transform: ${Dt};
61
61
  }
62
- `,ri=e.css`
62
+ `,fo=e.css`
63
63
  .ft-typography--body2 {
64
- font-family: ${At.fontFamily};
65
- font-size: ${At.fontSize};
66
- font-weight: ${At.fontWeight};
67
- letter-spacing: ${At.letterSpacing};
68
- line-height: ${At.lineHeight};
69
- text-transform: ${At.textTransform};
70
- }
71
- `,si=e.css`
64
+ font-family: ${Ht.fontFamily};
65
+ font-size: ${Ht.fontSize};
66
+ font-weight: ${Ht.fontWeight};
67
+ letter-spacing: ${Ht.letterSpacing};
68
+ line-height: ${Ht.lineHeight};
69
+ text-transform: ${Ht.textTransform};
70
+ }
71
+ `,ho=e.css`
72
72
  .ft-typography--caption {
73
- font-family: ${Mt};
74
- font-size: ${Zt};
75
- font-weight: ${Ft};
76
- letter-spacing: ${_t};
77
- line-height: ${Ut};
78
- text-transform: ${Rt};
79
- }
80
- `,ai=e.css`
81
- .ft-typography--breadcrumb {
82
- font-family: ${Dt};
83
- font-size: ${Kt};
84
- font-weight: ${Lt};
85
- letter-spacing: ${Wt};
86
- line-height: ${Pt};
87
- text-transform: ${Ht};
73
+ font-family: ${At};
74
+ font-size: ${Gt};
75
+ font-weight: ${jt};
76
+ letter-spacing: ${Pt};
77
+ line-height: ${Tt};
78
+ text-transform: ${Mt};
88
79
  }
89
- `,li=e.css`
90
- .ft-typography--overline {
91
- font-family: ${Gt};
92
- font-size: ${Vt};
93
- font-weight: ${qt};
94
- letter-spacing: ${Xt};
95
- line-height: ${Yt};
80
+ `,go=e.css`
81
+ .ft-typography--breadcrumb {
82
+ font-family: ${_t};
83
+ font-size: ${Yt};
84
+ font-weight: ${Vt};
85
+ letter-spacing: ${qt};
86
+ line-height: ${Xt};
96
87
  text-transform: ${Jt};
97
88
  }
98
- `,pi=e.css`
89
+ `,yo=e.css`
90
+ .ft-typography--overline {
91
+ font-family: ${Qt};
92
+ font-size: ${to};
93
+ font-weight: ${oo};
94
+ letter-spacing: ${eo};
95
+ line-height: ${ro};
96
+ text-transform: ${io};
97
+ }
98
+ `,bo=e.css`
99
99
  .ft-typography--button {
100
- font-family: ${Qt.fontFamily};
101
- font-size: ${Qt.fontSize};
102
- font-weight: ${Qt.fontWeight};
103
- letter-spacing: ${Qt.letterSpacing};
104
- line-height: ${Qt.lineHeight};
105
- text-transform: ${Qt.textTransform};
106
- }
107
- `,hi=e.css`
100
+ font-family: ${ao.fontFamily};
101
+ font-size: ${ao.fontSize};
102
+ font-weight: ${ao.fontWeight};
103
+ letter-spacing: ${ao.letterSpacing};
104
+ line-height: ${ao.lineHeight};
105
+ text-transform: ${ao.textTransform};
106
+ }
107
+ `,uo=e.css`
108
108
  .ft-typography {
109
109
  vertical-align: inherit;
110
110
  }
111
- `;var fi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class ci extends i.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?Q`
112
- <${Y(this.element)}
113
- class="ft-typography ft-typography--${this.variant}">
111
+ `,mo=[Object.keys(it).map((t=>function(t){const o=it[t];return e.css`
112
+ font-family: ${o.fontFamily};
113
+ font-size: ${o.fontSize};
114
+ font-weight: ${o.fontWeight};
115
+ letter-spacing: ${o.letterSpacing};
116
+ line-height: ${o.lineHeight};
117
+ text-transform: ${o.textCase};
118
+ `}(t)))];var xo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Oo extends o.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?Q`
119
+ <${X(this.element)}
120
+ class="ft-typography ft-typography--${this.variant}">
114
121
  <slot></slot>
115
- </${Y(this.element)}>
122
+ </${X(this.element)}>
116
123
  `:Q`
117
124
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
118
- `}}ci.styles=[ti,ii,ei,oi,ni,ri,si,ai,li,pi,hi],fi([o.property()],ci.prototype,"element",void 0),fi([o.property()],ci.prototype,"variant",void 0),i.customElement("ft-typography")(ci);const di=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),ui=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),gi=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),xi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),vi=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),bi=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),yi=e.css`
125
+ `}}Oo.styles=[no,lo,co,po,so,fo,ho,go,yo,bo,uo,...mo],xo([r.property()],Oo.prototype,"element",void 0),xo([r.property()],Oo.prototype,"variant",void 0),o.customElement("ft-typography")(Oo);const vo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),No=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),So=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),$o=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Co=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),wo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Io=e.css`
119
126
  .ft-tooltip--container {
120
127
  display: block;
121
128
  }
@@ -130,21 +137,21 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
130
137
  box-sizing: border-box;
131
138
  overflow: hidden;
132
139
  width: max-content;
133
- max-width: ${bi};
140
+ max-width: ${wo};
134
141
  text-align: center;
135
- padding: ${di};
136
- z-index: ${xi};
142
+ padding: ${vo};
143
+ z-index: ${$o};
137
144
  }
138
145
 
139
146
  .ft-tooltip--content {
140
147
  padding: 4px 8px;
141
- border-radius: ${vi};
142
- background-color: ${gi};
143
- color: ${ui};
148
+ border-radius: ${Co};
149
+ background-color: ${So};
150
+ color: ${No};
144
151
  position: relative;
145
152
  word-break: break-word;
146
153
  }
147
- `;var mi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class $i extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
154
+ `;var ko=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ro extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
148
155
  <div part="container"
149
156
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
150
157
  @mouseenter=${this.onHover}
@@ -162,7 +169,7 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
162
169
  </div>
163
170
  </div>
164
171
  </div>
165
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&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.validPosition){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=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,n=(t.offsetWidth-i)/2;let r=0,s=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":s=t.offsetTop-e-this.tooltip.offsetTop,r=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":s=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,r=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":s=t.offsetTop+o-this.tooltip.offsetTop,r=t.offsetLeft-i-this.tooltip.offsetLeft;break;case"right":s=t.offsetTop+o-this.tooltip.offsetTop,r=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=r+"px",a.top=s+"px";const l=this.tooltip.getBoundingClientRect();let p=-l.x,h=l.x+l.width-window.innerWidth;a.left=r+Math.round(this.correctOutOfWindowPixels(p,h))+"px";let f=-l.y,c=l.y+l.height-window.innerHeight;a.top=s+Math.round(this.correctOutOfWindowPixels(f,c))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${bi})`}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())}correctOutOfWindowPixels(t,i){return Math.max(t,Math.min(0,-i))}}$i.elementDefinitions={"ft-typography":ci},$i.styles=yi,mi([o.property()],$i.prototype,"text",void 0),mi([o.property({type:Boolean})],$i.prototype,"manual",void 0),mi([o.property({type:Boolean})],$i.prototype,"inline",void 0),mi([o.property({type:Number})],$i.prototype,"delay",void 0),mi([o.property()],$i.prototype,"position",void 0),mi([o.queryAssignedNodes("",!0)],$i.prototype,"slotNodes",void 0),mi([o.query(".ft-tooltip--container")],$i.prototype,"container",void 0),mi([o.query(".ft-tooltip")],$i.prototype,"tooltip",void 0),mi([o.query(".ft-tooltip--content")],$i.prototype,"tooltipContent",void 0),mi([o.state()],$i.prototype,"visible",void 0),i.customElement("ft-tooltip")($i);const wi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),ki={color:wi,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",wi),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"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},zi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),Si=zi,Ci=i.FtCssVariableFactory.extend("--ft-ripple-background-color",zi),Ii=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),Oi=Ii,Ei=i.FtCssVariableFactory.extend("--ft-ripple-background-color",Ii),ji=e.css`
172
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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.validPosition){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 o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,s=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(p,s))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${wo})`}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())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Ro.elementDefinitions={"ft-typography":Oo},Ro.styles=Io,ko([r.property()],Ro.prototype,"text",void 0),ko([r.property({type:Boolean})],Ro.prototype,"manual",void 0),ko([r.property({type:Boolean})],Ro.prototype,"inline",void 0),ko([r.property({type:Number})],Ro.prototype,"delay",void 0),ko([r.property()],Ro.prototype,"position",void 0),ko([r.queryAssignedNodes("",!0)],Ro.prototype,"slotNodes",void 0),ko([r.query(".ft-tooltip--container")],Ro.prototype,"container",void 0),ko([r.query(".ft-tooltip")],Ro.prototype,"tooltip",void 0),ko([r.query(".ft-tooltip--content")],Ro.prototype,"tooltipContent",void 0),ko([r.state()],Ro.prototype,"visible",void 0),o.customElement("ft-tooltip")(Ro);const Uo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Wo={color:Uo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Uo),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Eo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Lo=Eo,zo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Eo),Ko=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Zo=Ko,Fo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ko),Bo=e.css`
166
173
  :host {
167
174
  display: contents;
168
175
  }
@@ -175,7 +182,7 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
175
182
 
176
183
  .ft-ripple:not(.ft-ripple--unbounded) {
177
184
  overflow: hidden;
178
- border-radius: ${ki.borderRadius};
185
+ border-radius: ${Wo.borderRadius};
179
186
  }
180
187
 
181
188
  .ft-ripple .ft-ripple--background,
@@ -209,27 +216,27 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
209
216
  }
210
217
 
211
218
  .ft-ripple .ft-ripple--background {
212
- background-color: ${ki.backgroundColor};
219
+ background-color: ${Wo.backgroundColor};
213
220
  }
214
221
 
215
222
  .ft-ripple .ft-ripple--effect {
216
- background-color: ${ki.color};
223
+ background-color: ${Wo.color};
217
224
  }
218
225
 
219
226
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
220
- background-color: ${Ei};
227
+ background-color: ${Fo};
221
228
  }
222
229
 
223
230
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
224
- background-color: ${Oi};
231
+ background-color: ${Zo};
225
232
  }
226
233
 
227
234
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
228
- background-color: ${Ci};
235
+ background-color: ${zo};
229
236
  }
230
237
 
231
238
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
232
- background-color: ${Si};
239
+ background-color: ${Lo};
233
240
  }
234
241
 
235
242
  .ft-ripple .ft-ripple--background {
@@ -259,33 +266,33 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
259
266
  }
260
267
 
261
268
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
262
- opacity: ${ki.opacityContentOnSurfaceHover};
269
+ opacity: ${Wo.opacityContentOnSurfaceHover};
263
270
  }
264
271
 
265
272
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
266
- opacity: ${ki.opacityContentOnSurfaceSelected};
273
+ opacity: ${Wo.opacityContentOnSurfaceSelected};
267
274
  }
268
275
 
269
276
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
270
- opacity: ${ki.opacityContentOnSurfaceFocused};
277
+ opacity: ${Wo.opacityContentOnSurfaceFocused};
271
278
  }
272
279
 
273
280
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
274
- opacity: ${ki.opacityContentOnSurfacePressed};
281
+ opacity: ${Wo.opacityContentOnSurfacePressed};
275
282
  transform: translate(-50%, -50%) scale(1);
276
283
  }
277
- `;var Ni,Bi,Ti=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ai 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.originX=0,this.originY=0,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.setupDebouncer=new i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!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`
284
+ `;var Do,Ho,Ao=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Go extends o.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.originX=0,this.originY=0,this.debouncer=new o.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.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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.isFocusVisible(null==t?void 0:t.target)&&!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`
278
285
  <style>
279
286
  .ft-ripple .ft-ripple--effect {
280
287
  left: ${this.originX}px;
281
288
  top: ${this.originY}px;
282
289
  }
283
290
  </style>
284
- <div class="${n.classMap(t)}">
291
+ <div class="${i.classMap(t)}">
285
292
  <div class="ft-ripple--background"></div>
286
293
  <div class="ft-ripple--effect"></div>
287
294
  </div>
288
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var i,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ai.elementDefinitions={},Ai.styles=ji,Ti([o.property({type:Boolean})],Ai.prototype,"primary",void 0),Ti([o.property({type:Boolean})],Ai.prototype,"secondary",void 0),Ti([o.property({type:Boolean})],Ai.prototype,"unbounded",void 0),Ti([o.property({type:Boolean})],Ai.prototype,"activated",void 0),Ti([o.property({type:Boolean})],Ai.prototype,"selected",void 0),Ti([o.property({type:Boolean})],Ai.prototype,"disabled",void 0),Ti([o.state()],Ai.prototype,"hovered",void 0),Ti([o.state()],Ai.prototype,"focused",void 0),Ti([o.state()],Ai.prototype,"pressed",void 0),Ti([o.state()],Ai.prototype,"rippling",void 0),Ti([o.state()],Ai.prototype,"originX",void 0),Ti([o.state()],Ai.prototype,"originY",void 0),Ti([o.query(".ft-ripple")],Ai.prototype,"ripple",void 0),Ti([o.query(".ft-ripple--effect")],Ai.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(Ai),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",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.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="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ni||(Ni={})),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;"}(Bi||(Bi={})),new Map([...["abw"].map((t=>[t,Bi.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,Bi.AUDIO])),...["avi"].map((t=>[t,Bi.AVI])),...["chm","xhs"].map((t=>[t,Bi.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,Bi.CODE])),...["csv"].map((t=>[t,Bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Bi.DITA])),...["epub"].map((t=>[t,Bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Bi.EXCEL])),...["flac"].map((t=>[t,Bi.FLAC])),...["gif"].map((t=>[t,Bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Bi.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,Bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Bi.JPEG])),...["json"].map((t=>[t,Bi.JSON])),...["m4a","m4p"].map((t=>[t,Bi.M4A])),...["mov","qt"].map((t=>[t,Bi.MOV])),...["mp3"].map((t=>[t,Bi.MP3])),...["mp4","m4v"].map((t=>[t,Bi.MP4])),...["ogg","oga"].map((t=>[t,Bi.OGG])),...["pdf","ps"].map((t=>[t,Bi.PDF])),...["png"].map((t=>[t,Bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Bi.POWERPOINT])),...["rar"].map((t=>[t,Bi.RAR])),...["stp"].map((t=>[t,Bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Bi.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,Bi.VIDEO])),...["wav"].map((t=>[t,Bi.WAV])),...["wma"].map((t=>[t,Bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Bi.YAML])),...["zip"].map((t=>[t,Bi.ZIP]))]);const Mi={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")},Zi=e.css`
295
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Go.elementDefinitions={},Go.styles=Bo,Ao([r.property({type:Boolean})],Go.prototype,"primary",void 0),Ao([r.property({type:Boolean})],Go.prototype,"secondary",void 0),Ao([r.property({type:Boolean})],Go.prototype,"unbounded",void 0),Ao([r.property({type:Boolean})],Go.prototype,"activated",void 0),Ao([r.property({type:Boolean})],Go.prototype,"selected",void 0),Ao([r.property({type:Boolean})],Go.prototype,"disabled",void 0),Ao([r.state()],Go.prototype,"hovered",void 0),Ao([r.state()],Go.prototype,"focused",void 0),Ao([r.state()],Go.prototype,"pressed",void 0),Ao([r.state()],Go.prototype,"rippling",void 0),Ao([r.state()],Go.prototype,"originX",void 0),Ao([r.state()],Go.prototype,"originY",void 0),Ao([r.query(".ft-ripple")],Go.prototype,"ripple",void 0),Ao([r.query(".ft-ripple--effect")],Go.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Go),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Do||(Do={})),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;"}(Ho||(Ho={})),new Map([...["abw"].map((t=>[t,Ho.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,Ho.AUDIO])),...["avi"].map((t=>[t,Ho.AVI])),...["chm","xhs"].map((t=>[t,Ho.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,Ho.CODE])),...["csv"].map((t=>[t,Ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ho.DITA])),...["epub"].map((t=>[t,Ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ho.EXCEL])),...["flac"].map((t=>[t,Ho.FLAC])),...["gif"].map((t=>[t,Ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ho.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,Ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ho.JPEG])),...["json"].map((t=>[t,Ho.JSON])),...["m4a","m4p"].map((t=>[t,Ho.M4A])),...["mov","qt"].map((t=>[t,Ho.MOV])),...["mp3"].map((t=>[t,Ho.MP3])),...["mp4","m4v"].map((t=>[t,Ho.MP4])),...["ogg","oga"].map((t=>[t,Ho.OGG])),...["pdf","ps"].map((t=>[t,Ho.PDF])),...["png"].map((t=>[t,Ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ho.POWERPOINT])),...["rar"].map((t=>[t,Ho.RAR])),...["stp"].map((t=>[t,Ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ho.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,Ho.VIDEO])),...["wav"].map((t=>[t,Ho.WAV])),...["wma"].map((t=>[t,Ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ho.YAML])),...["zip"].map((t=>[t,Ho.ZIP]))]);const jo={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Po=e.css`
289
296
  :host, i.ft-icon {
290
297
  display: inline-flex;
291
298
  align-items: center;
@@ -294,14 +301,14 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
294
301
  }
295
302
 
296
303
  :host {
297
- width: ${Mi.size};
298
- height: ${Mi.size};
304
+ width: ${jo.size};
305
+ height: ${jo.size};
299
306
  }
300
307
 
301
308
  i.ft-icon {
302
309
  width: 100%;
303
310
  height: 100%;
304
- font-size: ${Mi.size};
311
+ font-size: ${jo.size};
305
312
  line-height: 1;
306
313
  font-weight: normal;
307
314
  text-transform: none;
@@ -312,33 +319,33 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
312
319
  text-rendering: auto;
313
320
  -webkit-font-smoothing: antialiased;
314
321
  -moz-osx-font-smoothing: grayscale;
315
- vertical-align: ${Mi.verticalAlign};
322
+ vertical-align: ${jo.verticalAlign};
316
323
  }
317
324
 
318
325
  i.ft-icon.ft-icon--fluid-topics {
319
- font-family: ${Mi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
326
+ font-family: ${jo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
320
327
 
321
328
  /* Ugly fix because font is broken */
322
- font-size: calc(0.75 * ${Mi.size});
323
- line-height: ${Mi.size};
329
+ font-size: calc(0.75 * ${jo.size});
330
+ line-height: ${jo.size};
324
331
  position: relative;
325
332
  top: -4%;
326
333
  justify-content: center;
327
334
  }
328
335
 
329
336
  .ft-icon--file-format {
330
- font-family: ${Mi.fileFormatFontFamily}, ft-mime, sans-serif;
337
+ font-family: ${jo.fileFormatFontFamily}, ft-mime, sans-serif;
331
338
  }
332
339
 
333
340
  .ft-icon--material {
334
- font-family: ${Mi.materialFontFamily}, "Material Icons", sans-serif;
341
+ font-family: ${jo.materialFontFamily}, "Material Icons", sans-serif;
335
342
  }
336
- `;var Fi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Fi||(Fi={}));var _i=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ui extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Fi).includes(this.variant)?this.variant:Fi.fluid_topics,i=t!==Fi.material||!!this.value;return e.html`
343
+ `;var To;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(To||(To={}));var Mo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class _o extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(To).includes(this.variant)?this.variant:To.fluid_topics,o=t!==To.material||!!this.value;return e.html`
337
344
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
338
- ${r.unsafeHTML(this.resolvedIcon)}
339
- <slot ?hidden=${i}></slot>
345
+ ${a.unsafeHTML(this.resolvedIcon)}
346
+ <slot ?hidden=${o}></slot>
340
347
  </i>
341
- `}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:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case Fi.file_format:this.resolvedIcon=null!==(t=Bi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Fi.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(i=Ni[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ui.elementDefinitions={},Ui.styles=Zi,_i([o.property()],Ui.prototype,"variant",void 0),_i([o.property()],Ui.prototype,"value",void 0),_i([o.state()],Ui.prototype,"resolvedIcon",void 0),_i([o.query("slot")],Ui.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Ui);const Ri={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},Di=e.css`
348
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case To.file_format:this.resolvedIcon=null!==(t=Ho[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case To.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Do[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_o.elementDefinitions={},_o.styles=Po,Mo([r.property()],_o.prototype,"variant",void 0),Mo([r.property()],_o.prototype,"value",void 0),Mo([r.state()],_o.prototype,"resolvedIcon",void 0),Mo([r.query("slot")],_o.prototype,"slottedContent",void 0),o.customElement("ft-icon")(_o);const Yo={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Vo=e.css`
342
349
  :host {
343
350
  line-height: 0;
344
351
  }
@@ -347,8 +354,8 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
347
354
  display: inline-block;
348
355
  position: relative;
349
356
 
350
- width: ${Ri.size};
351
- height: ${Ri.size};
357
+ width: ${Yo.size};
358
+ height: ${Yo.size};
352
359
  }
353
360
 
354
361
  .ft-loader div {
@@ -357,7 +364,7 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
357
364
  width: 25%;
358
365
  height: 25%;
359
366
  border-radius: 50%;
360
- background: ${Ri.color};
367
+ background: ${Yo.color};
361
368
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
362
369
  }
363
370
 
@@ -404,17 +411,10 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
404
411
  transform: translate(0, 0);
405
412
  }
406
413
  100% {
407
- transform: translate(calc(0.35 * ${Ri.size}), 0);
414
+ transform: translate(calc(0.35 * ${Yo.size}), 0);
408
415
  }
409
416
  }
410
- `;class Ki extends i.FtLitElement{render(){return e.html`
411
- <div class="ft-loader">
412
- <div></div>
413
- <div></div>
414
- <div></div>
415
- <div></div>
416
- </div>
417
- `}}Ki.styles=Di,i.customElement("ft-loader")(Ki);const Li=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Wi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Li,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",Qt.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Li),verticalPadding:i.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:i.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:i.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Pi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Hi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Pi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Pi)},Gi=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM)),Vi=i.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),qi=i.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Xi=i.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),Yi=[e.css`
417
+ `,qo=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Xo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:qo,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",ao.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",qo),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Jo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Qo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Jo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Jo)},te=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),oe=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ee=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),re=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),ie=[e.css`
418
418
  :host {
419
419
  display: inline-block;
420
420
  max-width: 100%;
@@ -425,7 +425,7 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
425
425
  box-shadow: 0px 0px 0px transparent;
426
426
  border: 0px solid transparent;
427
427
  text-shadow: 0px 0px 0px transparent;
428
- font-size: ${Wi.fontSize};
428
+ font-size: ${Xo.fontSize};
429
429
  }
430
430
 
431
431
  button:hover {
@@ -454,31 +454,31 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
454
454
  border: none;
455
455
  pointer-events: auto;
456
456
 
457
- --ft-button-internal-line-height: max(calc(${Wi.fontSize} + 2px), ${Wi.iconSize});
458
- --ft-button-internal-color: ${Wi.color};
459
- ${i.setVariable(Mi.size,Wi.iconSize)};
460
- ${i.setVariable(ki.color,Wi.rippleColor)};
457
+ --ft-button-internal-line-height: max(calc(${Xo.fontSize} + 2px), ${Xo.iconSize});
458
+ --ft-button-internal-color: ${Xo.color};
459
+ ${o.setVariable(jo.size,Xo.iconSize)};
460
+ ${o.setVariable(Wo.color,Xo.rippleColor)};
461
461
 
462
- border-radius: ${Wi.borderRadius};
463
- padding: ${Wi.verticalPadding} ${Wi.horizontalPadding};
464
- background-color: ${Wi.backgroundColor};
462
+ border-radius: ${Xo.borderRadius};
463
+ padding: ${Xo.verticalPadding} ${Xo.horizontalPadding};
464
+ background-color: ${Xo.backgroundColor};
465
465
  color: var(--ft-button-internal-color);
466
466
  -webkit-mask-image: radial-gradient(white, black);
467
467
  }
468
468
 
469
469
  .ft-button.ft-button--outlined {
470
470
  border: 1px solid var(--ft-button-internal-color);
471
- padding: calc(${Wi.verticalPadding} - 1px) calc(${Wi.horizontalPadding} - 1px);
471
+ padding: calc(${Xo.verticalPadding} - 1px) calc(${Xo.horizontalPadding} - 1px);
472
472
  }
473
473
 
474
474
  .ft-button.ft-button--dense {
475
- padding: ${Vi} ${qi};
476
- border-radius: ${Gi};
477
- gap: ${Xi};
475
+ padding: ${oe} ${ee};
476
+ border-radius: ${te};
477
+ gap: ${re};
478
478
  }
479
479
 
480
480
  .ft-button.ft-button--dense.ft-button--outlined {
481
- padding: calc(${Vi} - 1px) calc(${qi} - 1px);
481
+ padding: calc(${oe} - 1px) calc(${ee} - 1px);
482
482
  }
483
483
 
484
484
  .ft-button:not([disabled]):hover {
@@ -486,22 +486,22 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
486
486
  }
487
487
 
488
488
  .ft-button--round {
489
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Wi.verticalPadding});
489
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xo.verticalPadding});
490
490
  }
491
491
 
492
492
  .ft-button--round.ft-button--dense {
493
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vi});
493
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${oe});
494
494
  }
495
495
 
496
496
  .ft-button[disabled] {
497
497
  filter: grayscale(1);
498
- opacity: ${Wi.opacityDisabled};
498
+ opacity: ${Xo.opacityDisabled};
499
499
  }
500
500
 
501
501
  .ft-button.ft-button--primary {
502
- background-color: ${Hi.backgroundColor};
503
- --ft-button-internal-color: ${Hi.color};
504
- ${i.setVariable(ki.color,Hi.rippleColor)};
502
+ background-color: ${Qo.backgroundColor};
503
+ --ft-button-internal-color: ${Qo.color};
504
+ ${o.setVariable(Wo.color,Qo.rippleColor)};
505
505
  }
506
506
 
507
507
  .ft-button:focus {
@@ -514,13 +514,13 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
514
514
  white-space: nowrap;
515
515
  text-overflow: ellipsis;
516
516
  display: block;
517
- margin: 0 ${Wi.iconPadding};
518
- ${i.setVariable(Qt.fontSize,"1em")};
519
- ${i.setVariable(Qt.lineHeight,"var(--ft-button-internal-line-height)")};
517
+ margin: 0 ${Xo.iconPadding};
518
+ ${o.setVariable(ao.fontSize,"1em")};
519
+ ${o.setVariable(ao.lineHeight,"var(--ft-button-internal-line-height)")};
520
520
  }
521
521
 
522
522
  .ft-button--dense .ft-button--label {
523
- margin: 0 ${Xi};
523
+ margin: 0 ${re};
524
524
  }
525
525
 
526
526
  .ft-button--label[hidden] {
@@ -533,13 +533,13 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
533
533
  }
534
534
 
535
535
  .ft-button--label[hidden] + ft-icon {
536
- margin: 0 calc(${Wi.horizontalPadding} * -1);
537
- padding: 0 ${Wi.verticalPadding};
536
+ margin: 0 calc(${Xo.horizontalPadding} * -1);
537
+ padding: 0 ${Xo.verticalPadding};
538
538
  }
539
539
 
540
540
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
541
- margin: 0 calc(${qi} * -1);
542
- padding: 0 ${Vi};
541
+ margin: 0 calc(${ee} * -1);
542
+ padding: 0 ${oe};
543
543
  }
544
544
 
545
545
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -548,33 +548,258 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
548
548
  }
549
549
 
550
550
  ft-loader {
551
- ${i.setVariable(Ri.size,Wi.iconSize)};
552
- ${i.setVariable(Ri.color,"var(--ft-button-internal-color)")};
551
+ ${o.setVariable(Yo.size,Xo.iconSize)};
552
+ ${o.setVariable(Yo.color,"var(--ft-button-internal-color)")};
553
553
  }
554
- `,i.noTextSelect];var Ji=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Qi extends i.FtLitElement{constructor(){super(...arguments),this.role="button",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.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}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-no-text-select":!0};return this.addTooltipIfNeeded(e.html`
554
+ `,o.noTextSelect];class ae extends o.FtLitElement{render(){return e.html`
555
+ <div class="ft-loader">
556
+ <div></div>
557
+ <div></div>
558
+ <div></div>
559
+ <div></div>
560
+ </div>
561
+ `}}ae.styles=Vo,o.customElement("ft-loader")(ae);var ne=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class le extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
555
562
  <button part="button"
556
- class="${n.classMap(t)}"
563
+ class="${i.classMap(this.buttonClasses)}"
557
564
  aria-label="${this.getLabel()}"
558
565
  ?disabled=${this.isDisabled()}>
559
566
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
560
567
  <ft-typography part="label"
561
- variant="button"
568
+ variant=${this.typographyVariant}
562
569
  element="span"
563
- class="ft-button--label ${i.isSafari?"ft-safari-ellipsis-fix":""}"
570
+ class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
564
571
  ?hidden=${!this.hasTextContent()}>
565
572
  <slot @slotchange=${this.onSlotchange}></slot>
566
573
  </ft-typography>
567
574
  ${this.resolveIcon()}
568
575
  </button>
569
576
  `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
570
- <ft-tooltip part="tooltip"
571
- text="${this.getLabel()}"
572
- position="${this.tooltipPosition}">
573
- ${t}
574
- </ft-tooltip>
577
+ <ft-tooltip part="tooltip"
578
+ text="${this.getLabel()}"
579
+ position="${this.tooltipPosition}">
580
+ ${t}
581
+ </ft-tooltip>
575
582
  `:t}resolveIcon(){return this.loading?e.html`
576
583
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
577
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${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}}Qi.elementDefinitions={"ft-ripple":Ai,"ft-tooltip":$i,"ft-typography":ci,"ft-icon":Ui,"ft-loader":Ki},Qi.styles=[i.safariEllipsisFix,Yi],Ji([o.property({type:String,reflect:!0})],Qi.prototype,"role",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"primary",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"outlined",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"disabled",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"dense",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"round",void 0),Ji([o.property()],Qi.prototype,"label",void 0),Ji([o.property()],Qi.prototype,"icon",void 0),Ji([o.property()],Qi.prototype,"iconVariant",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"trailingIcon",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"loading",void 0),Ji([o.property()],Qi.prototype,"tooltipPosition",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"hideTooltip",void 0),Ji([o.property({type:Boolean})],Qi.prototype,"forceTooltip",void 0),Ji([o.query(".ft-button")],Qi.prototype,"button",void 0),Ji([o.query(".ft-button--label slot")],Qi.prototype,"slottedContent",void 0),i.customElement("ft-button")(Qi);const te=i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),ie={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:te,fontSize:i.FtCssVariableFactory.extend("--ft-chip-font-size",At.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariableFactory.extend("--ft-chip-ripple-color",te),horizontalPadding:i.FtCssVariableFactory.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariableFactory.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},ee=i.FtCssVariableFactory.extend("--ft-chip-highlighted-color",i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),oe={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color",i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:ee,rippleColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color",ee)},ne=i.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),re=i.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","SIZE","4px"),se=[i.noTextSelect,e.css`
584
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${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}}le.elementDefinitions={"ft-ripple":Go,"ft-tooltip":Ro,"ft-typography":Oo,"ft-icon":_o,"ft-loader":ae},ne([r.property({type:String,reflect:!0})],le.prototype,"role",void 0),ne([r.property()],le.prototype,"type",void 0),ne([r.property({type:Boolean})],le.prototype,"disabled",void 0),ne([r.property()],le.prototype,"label",void 0),ne([r.property()],le.prototype,"icon",void 0),ne([r.property()],le.prototype,"iconVariant",void 0),ne([r.property({type:Boolean})],le.prototype,"trailingIcon",void 0),ne([r.property({type:Boolean})],le.prototype,"loading",void 0),ne([r.property()],le.prototype,"tooltipPosition",void 0),ne([r.property({type:Boolean})],le.prototype,"hideTooltip",void 0),ne([r.property({type:Boolean})],le.prototype,"forceTooltip",void 0),ne([r.query(".ft-button")],le.prototype,"button",void 0),ne([r.query(".ft-button--label slot")],le.prototype,"slottedContent",void 0);var ce=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class pe extends le{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"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-no-text-select":!0}}get typographyVariant(){return"button"}}pe.styles=[o.safariEllipsisFix,ie],ce([r.property({type:Boolean})],pe.prototype,"primary",void 0),ce([r.property({type:Boolean})],pe.prototype,"outlined",void 0),ce([r.property({type:Boolean})],pe.prototype,"disabled",void 0),ce([r.property({type:Boolean})],pe.prototype,"dense",void 0),ce([r.property({type:Boolean})],pe.prototype,"round",void 0);const se=[e.css`
585
+ :host {
586
+ display: inline-block;
587
+ max-width: 100%;
588
+ pointer-events: none;
589
+ }
590
+
591
+ /** Remove default button styles **/
592
+
593
+ button {
594
+ box-shadow: 0 0 0 transparent;
595
+ border: 0 solid transparent;
596
+ text-shadow: 0 0 0 transparent;
597
+ }
598
+
599
+ button:hover {
600
+ box-shadow: 0 0 0 transparent;
601
+ text-shadow: 0 0 0 transparent;
602
+ }
603
+
604
+ button:active {
605
+ outline: none;
606
+ }
607
+
608
+ button:focus {
609
+ outline: 0;
610
+ }
611
+
612
+ /** Base styles **/
613
+
614
+ .ft-button {
615
+ position: relative;
616
+ display: flex;
617
+ justify-content: center;
618
+ align-items: center;
619
+ width: 100%;
620
+ overflow: hidden;
621
+ box-sizing: border-box;
622
+ pointer-events: auto;
623
+ }
624
+
625
+ .ft-button:not([disabled]):hover {
626
+ cursor: pointer;
627
+ }
628
+
629
+ .ft-button:focus {
630
+ outline: none;
631
+ }
632
+
633
+ .ft-button:focus-visible {
634
+ outline-color: ${nt.focusFocusRingColor};
635
+ outline-style: solid;
636
+ }
637
+
638
+ ft-icon {
639
+ flex-shrink: 0;
640
+ position: relative;
641
+ }
642
+
643
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
644
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
645
+ order: -1;
646
+ }
647
+
648
+ .ft-button--label {
649
+ position: relative;
650
+ overflow: hidden;
651
+ white-space: nowrap;
652
+ text-overflow: ellipsis;
653
+ display: block;
654
+ }
655
+
656
+ .ft-button--label[hidden] {
657
+ display: none;
658
+ }
659
+
660
+ /** Primary styles **/
661
+
662
+ .ft-button--primary {
663
+ ${o.setVariable(Yo.color,nt.primaryIconColor)};
664
+
665
+ ${o.setVariable(Wo.color,nt.primaryStateLayerColor)};
666
+ ${o.setVariable(Wo.opacityContentOnSurfaceHover,nt.primaryStateLayerOpacityHover)};
667
+ ${o.setVariable(Wo.opacityContentOnSurfaceFocused,nt.primaryStateLayerOpacityFocus)};
668
+ ${o.setVariable(Wo.opacityContentOnSurfaceSelected,nt.primaryStateLayerOpacityActive)};
669
+ ${o.setVariable(Wo.opacityContentOnSurfacePressed,nt.primaryStateLayerOpacityActive)};
670
+
671
+ background-color: ${nt.primaryBackgroundColor};
672
+ color: ${nt.primaryColor};
673
+ border-style: none;
674
+ }
675
+
676
+ .ft-button--primary[disabled] {
677
+ opacity: ${nt.primaryComponentOpacityDisabled};
678
+ }
679
+
680
+ .ft-button--primary ft-icon {
681
+ color: ${nt.primaryIconColor};
682
+ }
683
+
684
+ /** Secondary styles **/
685
+
686
+ .ft-button--secondary {
687
+ ${o.setVariable(Yo.color,nt.secondaryIconColor)};
688
+
689
+ ${o.setVariable(Wo.color,nt.secondaryStateLayerColor)};
690
+ ${o.setVariable(Wo.opacityContentOnSurfaceHover,nt.secondaryStateLayerOpacityHover)};
691
+ ${o.setVariable(Wo.opacityContentOnSurfaceFocused,nt.secondaryStateLayerOpacityFocus)};
692
+ ${o.setVariable(Wo.opacityContentOnSurfaceSelected,nt.secondaryStateLayerOpacityActive)};
693
+ ${o.setVariable(Wo.opacityContentOnSurfacePressed,nt.secondaryStateLayerOpacityActive)};
694
+
695
+ background-color: ${nt.secondaryBackgroundColor};
696
+ color: ${nt.secondaryColor};
697
+ border-color: ${nt.secondaryBorderColor};
698
+ border-style: solid;
699
+ }
700
+
701
+ .ft-button--secondary[disabled] {
702
+ opacity: ${nt.secondaryComponentOpacityDisabled};
703
+ }
704
+
705
+ .ft-button--secondary ft-icon {
706
+ color: ${nt.secondaryIconColor};
707
+ }
708
+
709
+ /** Tertiary styles **/
710
+
711
+ .ft-button--tertiary {
712
+ ${o.setVariable(Yo.color,nt.tertiaryIconColor)};
713
+
714
+ ${o.setVariable(Wo.color,nt.tertiaryStateLayerColor)};
715
+ ${o.setVariable(Wo.opacityContentOnSurfaceHover,nt.tertiaryStateLayerOpacityHover)};
716
+ ${o.setVariable(Wo.opacityContentOnSurfaceFocused,nt.tertiaryStateLayerOpacityFocus)};
717
+ ${o.setVariable(Wo.opacityContentOnSurfaceSelected,nt.tertiaryStateLayerOpacityActive)};
718
+ ${o.setVariable(Wo.opacityContentOnSurfacePressed,nt.tertiaryStateLayerOpacityActive)};
719
+
720
+ background-color: ${nt.tertiaryBackgroundColor};
721
+ color: ${nt.tertiaryColor};
722
+ border-style: none;
723
+ }
724
+
725
+ .ft-button--tertiary[disabled] {
726
+ opacity: ${nt.tertiaryComponentOpacityDisabled};
727
+ }
728
+
729
+ .ft-button--tertiary ft-icon {
730
+ color: ${nt.tertiaryIconColor};
731
+ }
732
+
733
+ /** Neutral styles **/
734
+
735
+ .ft-button--neutral {
736
+ ${o.setVariable(Yo.color,nt.neutralIconColor)};
737
+
738
+ ${o.setVariable(Wo.backgroundColor,nt.neutralStateLayerColor)};
739
+ ${o.setVariable(Wo.opacityContentOnSurfaceHover,nt.neutralStateLayerOpacityHover)};
740
+ ${o.setVariable(Wo.opacityContentOnSurfaceFocused,nt.neutralStateLayerOpacityFocus)};
741
+ ${o.setVariable(Wo.opacityContentOnSurfaceSelected,nt.neutralStateLayerOpacityActive)};
742
+ ${o.setVariable(Wo.opacityContentOnSurfacePressed,nt.neutralStateLayerOpacityActive)};
743
+
744
+ background-color: ${nt.neutralBackgroundColor};
745
+ color: ${nt.neutralColor};
746
+ border-style: none;
747
+ }
748
+
749
+ .ft-button--neutral[disabled] {
750
+ opacity: ${nt.neutralComponentOpacityDisabled};
751
+ }
752
+
753
+ .ft-button--neutral ft-icon {
754
+ color: ${nt.neutralIconColor};
755
+ }
756
+
757
+ /** Large styles **/
758
+
759
+ .ft-button--large {
760
+ ${o.setVariable(jo.size,nt.largeIconSize)};
761
+ ${o.setVariable(Yo.size,nt.largeIconSize)};
762
+
763
+ height: ${nt.largeHeight};
764
+ padding: 0 ${nt.largeHorizontalPadding};
765
+ gap: ${nt.largeGap};
766
+ border-radius: ${nt.largeBorderRadius};
767
+ border-width: ${nt.largeBorderWidth};
768
+ }
769
+
770
+ .ft-button--large:focus-visible {
771
+ outline-width: ${nt.largeFocusOutlineWidth};
772
+ outline-offset: ${nt.largeFocusOutlineOffset};
773
+ }
774
+
775
+ .ft-button--large.ft-button--icon-only {
776
+ width: ${nt.largeIconOnlyWidth};
777
+ padding: unset;
778
+ }
779
+
780
+ /** Small styles **/
781
+
782
+ .ft-button--small {
783
+ ${o.setVariable(jo.size,nt.smallIconSize)};
784
+ ${o.setVariable(Yo.size,nt.smallIconSize)};
785
+
786
+ height: ${nt.smallHeight};
787
+ padding: 0 ${nt.smallHorizontalPadding};
788
+ gap: ${nt.smallGap};
789
+ border-radius: ${nt.smallBorderRadius};
790
+ border-width: ${nt.smallBorderWidth};
791
+ }
792
+
793
+ .ft-button--small:focus-visible {
794
+ outline-width: ${nt.smallFocusOutlineWidth};
795
+ outline-offset: ${nt.smallFocusOutlineOffset};
796
+ }
797
+
798
+ .ft-button--small.ft-button--icon-only {
799
+ width: ${nt.smallIconOnlyWidth};
800
+ padding: unset;
801
+ }
802
+ `,o.noTextSelect];var fe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class de extends le{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?tt.caption1medium:tt.body2medium}}de.styles=[o.safariEllipsisFix,se],fe([r.property({type:Boolean})],de.prototype,"primary",void 0),fe([r.property({type:Boolean})],de.prototype,"secondary",void 0),fe([r.property({type:Boolean})],de.prototype,"tertiary",void 0),fe([r.property({type:Boolean})],de.prototype,"neutral",void 0),fe([r.property({type:Boolean})],de.prototype,"small",void 0),o.customElement("ft-button")(pe),o.customElement("ftds-button")(de);const he=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),ge={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:he,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Ht.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",he),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},ye=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),be={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:ye,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ye)},ue=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),me=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),xe=[o.noTextSelect,e.css`
578
803
  :host {
579
804
  display: inline-block;
580
805
  max-width: 100%;
@@ -590,20 +815,20 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
590
815
  box-sizing: border-box;
591
816
  pointer-events: auto;
592
817
 
593
- --ft-chip-internal-font-size: ${ie.fontSize};
818
+ --ft-chip-internal-font-size: ${ge.fontSize};
594
819
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
595
- ${i.setVariable(Mi.size,ie.iconSize)};
596
- --ft-chip-internal-vertical-padding: ${ie.verticalPadding};
597
- --ft-chip-internal-horizontal-padding: ${ie.horizontalPadding};
820
+ ${o.setVariable(jo.size,ge.iconSize)};
821
+ --ft-chip-internal-vertical-padding: ${ge.verticalPadding};
822
+ --ft-chip-internal-horizontal-padding: ${ge.horizontalPadding};
598
823
  --ft-chip-internal-icon-padding: 3px;
599
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ie.iconSize});
824
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ge.iconSize});
600
825
 
601
- border: 1px solid ${ie.colorOutline};
602
- color: ${ie.color};
603
- ${i.setVariable(ki.color,ie.rippleColor)};
826
+ border: 1px solid ${ge.colorOutline};
827
+ color: ${ge.color};
828
+ ${o.setVariable(Wo.color,ge.rippleColor)};
604
829
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
605
830
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
606
- background-color: ${ie.backgroundColor};
831
+ background-color: ${ge.backgroundColor};
607
832
  line-height: var(--ft-chip-internal-content-height);
608
833
  }
609
834
 
@@ -613,8 +838,8 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
613
838
 
614
839
  .ft-chip--dense {
615
840
  --ft-chip-internal-icon-padding: 3px;
616
- --ft-chip-internal-vertical-padding: ${re};
617
- --ft-chip-internal-horizontal-padding: ${ne};
841
+ --ft-chip-internal-vertical-padding: ${me};
842
+ --ft-chip-internal-horizontal-padding: ${ue};
618
843
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
619
844
  }
620
845
 
@@ -626,15 +851,15 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
626
851
  cursor: default;
627
852
  pointer-events: none;
628
853
  filter: grayscale(1);
629
- opacity: ${ie.opacityDisabled};
854
+ opacity: ${ge.opacityDisabled};
630
855
  }
631
856
 
632
857
  .ft-chip--highlighted {
633
858
  border: none;
634
859
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
635
- background-color: ${oe.backgroundColor};
636
- ${i.setVariable(ki.color,oe.rippleColor)};
637
- color: ${oe.color};
860
+ background-color: ${be.backgroundColor};
861
+ ${o.setVariable(Wo.color,be.rippleColor)};
862
+ color: ${be.color};
638
863
  }
639
864
 
640
865
  .ft-chip--clickable {
@@ -664,9 +889,9 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
664
889
  }
665
890
 
666
891
  .ft-chip--icon-button {
667
- ${i.setVariable(Wi.iconSize,ie.iconSize)};
668
- ${i.setVariable(Wi.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
669
- ${i.setVariable(Wi.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
892
+ ${o.setVariable(Xo.iconSize,ge.iconSize)};
893
+ ${o.setVariable(Xo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
894
+ ${o.setVariable(Xo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
670
895
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
671
896
  }
672
897
 
@@ -674,8 +899,8 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
674
899
  vertical-align: bottom;
675
900
  display: block;
676
901
  margin: 0 var(--ft-chip-internal-horizontal-padding);
677
- ${i.setVariable(At.fontSize,"var(--ft-chip-internal-font-size)")};
678
- ${i.setVariable(At.lineHeight,"var(--ft-chip-internal-content-height)")};
902
+ ${o.setVariable(Ht.fontSize,"var(--ft-chip-internal-font-size)")};
903
+ ${o.setVariable(Ht.lineHeight,"var(--ft-chip-internal-content-height)")};
679
904
  }
680
905
 
681
906
  .ft-chip--safari-fix .ft-chip--label {
@@ -711,8 +936,8 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
711
936
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
712
937
  order: -1;
713
938
  }
714
- `];var ae=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class le extends CustomEvent{constructor(){super("icon-click")}}class pe extends i.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":i.isSafari};return e.html`
715
- <div class="${n.classMap(t)}"
939
+ `];var Oe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ve extends CustomEvent{constructor(){super("icon-click")}}class Ne extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
940
+ <div class="${i.classMap(t)}"
716
941
  aria-label="${this.getLabel()}"
717
942
  tabindex="${this.interactionsOnChip?0:-1}"
718
943
  @keyup=${this.onKeyUp}>
@@ -734,7 +959,7 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
734
959
  <div class="ft-chip--icon-container ft-no-text-select">
735
960
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
736
961
  </div>
737
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new le))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new le))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}pe.elementDefinitions={"ft-ripple":Ai,"ft-typography":ci,"ft-icon":Ui,"ft-button":Qi},pe.styles=se,ae([o.property({type:Boolean})],pe.prototype,"highlighted",void 0),ae([o.property({type:Boolean})],pe.prototype,"removable",void 0),ae([o.property({type:Boolean})],pe.prototype,"disabled",void 0),ae([o.property({type:Boolean})],pe.prototype,"clickable",void 0),ae([o.property({type:Boolean})],pe.prototype,"iconClickable",void 0),ae([o.property({type:Boolean})],pe.prototype,"dense",void 0),ae([o.property({type:Boolean})],pe.prototype,"multiLine",void 0),ae([o.property()],pe.prototype,"label",void 0),ae([o.property()],pe.prototype,"iconLabel",void 0),ae([o.property()],pe.prototype,"icon",void 0),ae([o.property()],pe.prototype,"iconVariant",void 0),ae([o.property({type:Boolean})],pe.prototype,"trailingIcon",void 0),ae([o.query("ft-typography slot")],pe.prototype,"slottedContent",void 0),i.customElement("ft-chip")(pe);var he=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class fe extends f{constructor(){super(...arguments),this.editorMode=!1}render(){return e.html`
962
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ve))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ve))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Ne.elementDefinitions={"ft-ripple":Go,"ft-typography":Oo,"ft-icon":_o,"ft-button":pe},Ne.styles=xe,Oe([r.property({type:Boolean})],Ne.prototype,"highlighted",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"removable",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"disabled",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"clickable",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"iconClickable",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"dense",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"multiLine",void 0),Oe([r.property()],Ne.prototype,"label",void 0),Oe([r.property()],Ne.prototype,"iconLabel",void 0),Oe([r.property()],Ne.prototype,"icon",void 0),Oe([r.property()],Ne.prototype,"iconVariant",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"trailingIcon",void 0),Oe([r.query("ft-typography slot")],Ne.prototype,"slottedContent",void 0),o.customElement("ft-chip")(Ne);var Se=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class $e extends f{constructor(){super(...arguments),this.editorMode=!1}render(){return e.html`
738
963
  <ft-tooltip text="${this.tooltipText}">
739
964
  <ft-chip>
740
965
  ${this.renderContent()}
@@ -747,4 +972,4 @@ const q=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
747
972
  display: none !important;
748
973
  }
749
974
  </style>
750
- `}get valueText(){var t,i;return null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==i?i:""}get tooltipText(){var t,i;return this.metadata?`${null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==i?i:this.metadata.key}: ${this.valueText}`:""}}fe.elementDefinitions={"ft-tooltip":$i,"ft-chip":pe},fe.styles=s,he([o.property(),i.reduxReactive()],fe.prototype,"key",void 0),he([o.property({attribute:!1})],fe.prototype,"editorMode",void 0),he([i.redux({selector:(t,i)=>{var e,o;return null===(o=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===o?void 0:o.find((t=>t.key===i.key))}})],fe.prototype,"metadata",void 0),i.customElement("ft-reader-metadata")(fe),t.FtReaderMetadata=fe,t.FtReaderMetadataCssVariables={},t.styles=s}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
975
+ `}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}$e.elementDefinitions={"ft-tooltip":Ro,"ft-chip":Ne},$e.styles=n,Se([r.property(),o.reduxReactive()],$e.prototype,"key",void 0),Se([r.property({attribute:!1})],$e.prototype,"editorMode",void 0),Se([o.redux({selector:(t,o)=>{var e,r;return null===(r=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===r?void 0:r.find((t=>t.key===o.key))}})],$e.prototype,"metadata",void 0),o.customElement("ft-reader-metadata")($e),t.FtReaderMetadata=$e,t.FtReaderMetadataCssVariables={},t.styles=n}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);