@fluid-topics/ft-reader-topic-metadata 1.0.59 → 1.0.61

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