@fluid-topics/ft-reader-metadata 1.1.26 → 1.1.28

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,114 +1,127 @@
1
- !function(t,o,e,r,i,n){const a=e.css`
1
+ !function(t,o,e,i,r,n,a){const l=e.css`
2
2
  :host {
3
3
  display: inline-block;
4
4
  }
5
- `;var l;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(l||(l={}));var c=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const s=Symbol("registerInterval");class f extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[s]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[s]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=s,c([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
5
+
6
+ .ft-reader-metadata--container {
7
+ position: relative;
8
+ }
9
+
10
+ .ft-reader-metadata--container ft-chip {
11
+ cursor: pointer;
12
+ }
13
+
14
+ a {
15
+ all: unset;
16
+ position: relative;
17
+ }
18
+ `;var c;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(c||(c={}));var s=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const f=Symbol("registerInterval");class d 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[f]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[f]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=f,s([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
6
19
  /**
7
20
  * @license
8
21
  * Copyright 2017 Google LLC
9
22
  * SPDX-License-Identifier: BSD-3-Clause
10
- */const d=globalThis,h=d.trustedTypes,g=h?h.createPolicy("lit-html",{createHTML:t=>t}):void 0,y="$lit$",u=`lit$${(Math.random()+"").slice(9)}$`,b="?"+u,m=`<${b}>`,x=document,O=()=>x.createComment(""),v=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,S="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,w=/>/g,I=RegExp(`>|${S}(?:([^\\s"'>=/]+)(${S}*=${S}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,k=/"/g,U=/^(?:script|style|textarea|title)$/i,E=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),W=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),z=new WeakMap,K=x.createTreeWalker(x,129);function Z(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==g?g.createHTML(o):o}const B=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=$;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(a.lastIndex=s,c=a.exec(e),null!==c);)s=a.lastIndex,a===$?"!--"===c[1]?a=C:void 0!==c[1]?a=w:void 0!==c[2]?(U.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=I):void 0!==c[3]&&(a=I):a===I?">"===c[0]?(a=i??$,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?I:'"'===c[3]?k:R):a===k||a===R?a=I:a===C||a===w?a=$:(a=I,i=void 0);const f=a===I&&t[o+1].startsWith("/>")?" ":"";n+=a===$?e+m:p>=0?(r.push(l),e.slice(0,p)+y+e.slice(p)+u+f):e+u+(-2===p?o:f)}return[Z(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class F{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,p]=B(t,o);if(this.el=F.createElement(c,e),K.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=K.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(y)){const o=p[n++],e=r.getAttribute(t).split(u),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?P:"?"===a[1]?j:"@"===a[1]?T:G}),r.removeAttribute(t)}else t.startsWith(u)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(U.test(r.tagName)){const t=r.textContent.split(u),o=t.length-1;if(o>0){r.textContent=h?h.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],O()),K.nextNode(),l.push({type:2,index:++i});r.append(t[o],O())}}}else if(8===r.nodeType)if(r.data===b)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(u,t+1));)l.push({type:7,index:i}),t+=u.length-1}i++}}static createElement(t,o){const e=x.createElement("template");return e.innerHTML=t,e}}function D(t,o,e=t,r){if(o===W)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=v(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=D(t,i._$AS(t,o.values),i,r)),o}class A{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){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??x).importNode(o,!0);K.currentNode=r;let i=K.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new H(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new M(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=K.nextNode(),n++)}return K.currentNode=x,r}p(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 H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=D(this,t,o),v(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==W&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>N(t)||"function"==typeof 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!==L&&v(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=F.createElement(Z(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new A(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=z.get(t.strings);return void 0===o&&z.set(t.strings,o=new F(t)),o}T(t){N(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new H(this.k(O()),this.k(O()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class G{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=L}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=D(this,t,o,0),n=!v(t)||t!==this._$AH&&t!==W,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=D(this,r[e+a],o,a),l===W&&(l=this._$AH[a]),n||=!v(l)||l!==this._$AH[a],l===L?t=L:t!==L&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class P extends G{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===L?void 0:t}}class j extends G{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==L)}}class T extends G{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=D(this,t,o,0)??L)===W)return;const e=this._$AH,r=t===L&&e!==L||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==L&&(e===L||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class M{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const _=d.litHtmlPolyfillSupport;_?.(F,H),(d.litHtmlVersions??=[]).push("3.1.0");
23
+ */const h=globalThis,g=h.trustedTypes,u=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,y="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,m="?"+b,x=`<${m}>`,v=document,O=()=>v.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,w="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,E=/>/g,I=RegExp(`>|${w}(?:([^\\s"'>=/]+)(${w}*=${w}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,U=/"/g,k=/^(?:script|style|textarea|title)$/i,W=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),L=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),z=new WeakMap,A=v.createTreeWalker(v,129);function Z(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==u?u.createHTML(o):o}const D=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=$;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===$?"!--"===c[1]?a=C:void 0!==c[1]?a=E:void 0!==c[2]?(k.test(c[2])&&(r=RegExp("</"+c[2],"g")),a=I):void 0!==c[3]&&(a=I):a===I?">"===c[0]?(a=r??$,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?I:'"'===c[3]?U:R):a===U||a===R?a=I:a===C||a===E?a=$:(a=I,r=void 0);const f=a===I&&t[o+1].startsWith("/>")?" ":"";n+=a===$?e+x:s>=0?(i.push(l),e.slice(0,s)+y+e.slice(s)+b+f):e+b+(-2===s?o:f)}return[Z(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class B{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,s]=D(t,o);if(this.el=B.createElement(c,e),A.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=A.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(y)){const o=s[n++],e=i.getAttribute(t).split(b),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?G:"?"===a[1]?_:"@"===a[1]?M:P}),i.removeAttribute(t)}else t.startsWith(b)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(k.test(i.tagName)){const t=i.textContent.split(b),o=t.length-1;if(o>0){i.textContent=g?g.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],O()),A.nextNode(),l.push({type:2,index:++r});i.append(t[o],O())}}}else if(8===i.nodeType)if(i.data===m)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(b,t+1));)l.push({type:7,index:r}),t+=b.length-1}r++}}static createElement(t,o){const e=v.createElement("template");return e.innerHTML=t,e}}function F(t,o,e=t,i){if(o===L)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=N(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=F(t,r._$AS(t,o.values),r,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){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??v).importNode(o,!0);A.currentNode=i;let r=A.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new H(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new j(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=A.nextNode(),n++)}return A.currentNode=v,i}p(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 H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=F(this,t,o),N(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==L&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>S(t)||"function"==typeof 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!==K&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(v.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=B.createElement(Z(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new T(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=z.get(t.strings);return void 0===o&&z.set(t.strings,o=new B(t)),o}T(t){S(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 H(this.k(O()),this.k(O()),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){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class P{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=K,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=K}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=F(this,t,o,0),n=!N(t)||t!==this._$AH&&t!==L,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=F(this,i[e+a],o,a),l===L&&(l=this._$AH[a]),n||=!N(l)||l!==this._$AH[a],l===K?t=K:t!==K&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class G extends P{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}}class _ extends P{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}}class M extends P{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=F(this,t,o,0)??K)===L)return;const e=this._$AH,i=t===K&&e!==K||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==K&&(e===K||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class j{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){F(this,t)}}const Y=h.litHtmlPolyfillSupport;Y?.(B,H),(h.litHtmlVersions??=[]).push("3.1.0");
11
24
  /**
12
25
  * @license
13
26
  * Copyright 2020 Google LLC
14
27
  * SPDX-License-Identifier: BSD-3-Clause
15
28
  */
16
- const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litStatic$:t,r:Y}),q=new Map,J=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(n=e[p],i=V(n));)c+=i+o[++p],s=!0;p!==r&&l.push(n),a.push(c),p++}if(p===r&&a.push(o[r]),s){const t=a.join("$$lit$$");void 0===(o=q.get(t))&&(a.raw=a,q.set(t,o=a)),e=l}return t(o,...e)})(E);var Q;!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"}(Q||(Q={}));const tt=t=>"string"==typeof t?e.unsafeCSS(t):t;class ot{static create(t,o,r,i){const n=t=>tt(null!=t?t:i),a=e.css`var(${tt(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${tt(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${tt(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${tt(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):tt(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${tt(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${tt(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const et={colorWhite:ot.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ot.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ot.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ot.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ot.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ot.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ot.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ot.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ot.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ot.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ot.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ot.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ot.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ot.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ot.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ot.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ot.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ot.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ot.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ot.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ot.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ot.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ot.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ot.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ot.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ot.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ot.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ot.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ot.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ot.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ot.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ot.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ot.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ot.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ot.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ot.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ot.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ot.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ot.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ot.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ot.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ot.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ot.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ot.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ot.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ot.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ot.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ot.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ot.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ot.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ot.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ot.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ot.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ot.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ot.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ot.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ot.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ot.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ot.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ot.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ot.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ot.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ot.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ot.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ot.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ot.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ot.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ot.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ot.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ot.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ot.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ot.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ot.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ot.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ot.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ot.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ot.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ot.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ot.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ot.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ot.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ot.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ot.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ot.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ot.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ot.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ot.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ot.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ot.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ot.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ot.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ot.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ot.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ot.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ot.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ot.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ot.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ot.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ot.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ot.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ot.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ot.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ot.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ot.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ot.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ot.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ot.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ot.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ot.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ot.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ot.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ot.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ot.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ot.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ot.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ot.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ot.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ot.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ot.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ot.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ot.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ot.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ot.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ot.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ot.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ot.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ot.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ot.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ot.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ot.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ot.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ot.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ot.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ot.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ot.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ot.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ot.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ot.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ot.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ot.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ot.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ot.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ot.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ot.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ot.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ot.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ot.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ot.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ot.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ot.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ot.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ot.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ot.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ot.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ot.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ot.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ot.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ot.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ot.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ot.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ot.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ot.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ot.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ot.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ot.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ot.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ot.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ot.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ot.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ot.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ot.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ot.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ot.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ot.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ot.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ot.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ot.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ot.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ot.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ot.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ot.create("--ft-opacity-0","","NUMBER","0"),opacity8:ot.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ot.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ot.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ot.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ot.create("--ft-opacity-80","","NUMBER","0.8")},rt={display:{fontFamily:ot.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ot.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ot.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ot.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ot.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ot.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ot.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ot.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ot.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ot.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ot.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ot.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ot.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ot.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ot.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ot.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ot.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ot.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ot.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ot.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ot.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ot.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ot.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ot.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ot.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ot.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ot.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ot.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ot.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ot.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ot.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ot.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ot.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ot.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ot.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ot.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ot.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ot.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ot.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ot.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ot.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ot.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ot.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ot.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ot.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ot.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},it={backgroundActionPrimary:ot.extend("--ft-background-action-primary","Used as backgorund of primary action components.",et.colorBrand0),backgroundErrorPrimary:ot.extend("--ft-background-error-primary","Used as background of error components.",et.colorRed0),backgroundErrorSubtle:ot.extend("--ft-background-error-subtle","Used as background of subtle error components.",et.colorRed10),backgroundInfoPrimary:ot.extend("--ft-background-info-primary","Used as background of information components.",et.colorCyan200),backgroundInfoSubtle:ot.extend("--ft-background-info-subtle","Used as background of subtle information components.",et.colorCyan10),backgroundWarningPrimary:ot.extend("--ft-background-warning-primary","Used as background of warning components.",et.colorOrange300),backgroundWarningSubtle:ot.extend("--ft-background-warning-subtle","Used as background of subtle information components.",et.colorOrange10),backgroundSuccessPrimary:ot.extend("--ft-background-success-primary","Used as background of success components.",et.colorGreen200),backgroundSuccessSubtle:ot.extend("--ft-background-success-subtle","Used as background of subtle success components.",et.colorGreen10),backgroundGlobalSurface:ot.extend("--ft-background-global-surface","Used as app background.",et.colorWhite),backgroundGlobalOnSurface:ot.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",et.colorGray10),backgroundGlobalOnSurfaceDark:ot.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",et.colorGray30),contentActionPrimary:ot.extend("--ft-content-action-primary","Used on label of primary action on light surface.",et.colorBrand0),contentWarningPrimary:ot.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",et.colorOrange300),contentWarningIconOnly:ot.extend("--ft-content-warning-icon-only","Used on warning status icons alone",et.colorOrange0),contentErrorPrimary:ot.extend("--ft-content-error-primary","Used on label of error messages on light surface.",et.colorRed0),contentErrorIconOnly:ot.extend("--ft-content-error-icon-only","Used on error status icons alone",et.colorRed0),contentInfoPrimary:ot.extend("--ft-content-info-primary","Used on label of information messages on light surface.",et.colorCyan200),contentInfoIconOnly:ot.extend("--ft-content-info-icon-only","Used on info status icons alone",et.colorCyan0),contentSuccessIconOnly:ot.extend("--ft-content-success-icon-only","Used on success status icons alone",et.colorGreen0),contentSuccessPrimary:ot.extend("--ft-content-success-primary","Used on label of success messages on light surface.",et.colorGreen200),contentGlobalPrimary:ot.extend("--ft-content-global-primary","Used for main content on the page.",et.colorGray500),contentGlobalSecondary:ot.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",et.colorGray200),contentGlobalSubtle:ot.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",et.colorGray0),contentGlobalOnColor:ot.extend("--ft-content-global-on-color","Used for content on a dominant color.",et.colorWhite),borderActionPrimary:ot.extend("--ft-border-action-primary","Used as border for primary action components.",et.colorBrand0),borderActionFocusRing:ot.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",et.colorCyan0),borderWarningPrimary:ot.extend("--ft-border-warning-primary","Used as border for warning components.",et.colorOrange30),borderSuccessPrimary:ot.extend("--ft-border-success-primary","Used as border for success components.",et.colorGreen30),borderErrorPrimary:ot.extend("--ft-border-error-primary","Used as border for error components.",et.colorRed30),borderInfoPrimary:ot.extend("--ft-border-info-primary","Used as border for information components.",et.colorCyan30),borderGlobalSubtle:ot.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",et.colorGray30),borderGlobalPrimary:ot.extend("--ft-border-global-primary","Used as border for element like input.",et.colorGray50),borderInputPrimary:ot.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",et.colorGray80)},nt={largeHeight:ot.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ot.extend("--ft-button-large-horizontal-padding","",et.spacing4),largeGap:ot.extend("--ft-button-large-gap","",et.spacing2),largeBorderRadius:ot.extend("--ft-button-large-border-radius","",et.borderRadiusS),largeIconSize:ot.extend("--ft-button-large-icon-size","",et.iconSize3),largeBorderWidth:ot.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ot.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ot.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ot.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ot.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ot.extend("--ft-button-small-horizontal-padding","",et.spacing3),smallGap:ot.extend("--ft-button-small-gap","",et.spacing2),smallBorderRadius:ot.extend("--ft-button-small-border-radius","",et.borderRadiusS),smallIconSize:ot.extend("--ft-button-small-icon-size","",et.iconSize2),smallBorderWidth:ot.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ot.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ot.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ot.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ot.extend("--ft-button-primary-background-color","",it.backgroundActionPrimary),primaryColor:ot.extend("--ft-button-primary-color","",it.contentGlobalOnColor),primaryIconColor:ot.extend("--ft-button-primary-icon-color","",it.contentGlobalOnColor),primaryStateLayerColor:ot.extend("--ft-button-primary-state-layer-color","",it.contentGlobalOnColor),primaryStateLayerOpacityHover:ot.extend("--ft-button-primary-state-layer-opacity-hover","",et.opacity16),primaryStateLayerOpacityFocus:ot.extend("--ft-button-primary-state-layer-opacity-focus","",et.opacity16),primaryStateLayerOpacityActive:ot.extend("--ft-button-primary-state-layer-opacity-active","",et.opacity24),primaryComponentOpacityDisabled:ot.extend("--ft-button-primary-component-opacity-disabled","",et.opacity40),focusFocusRingColor:ot.extend("--ft-button-focus-focus-ring-color","",it.borderActionFocusRing),tertiaryBackgroundColor:ot.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ot.extend("--ft-button-tertiary-color","",it.contentActionPrimary),tertiaryIconColor:ot.extend("--ft-button-tertiary-icon-color","",it.contentActionPrimary),tertiaryStateLayerColor:ot.extend("--ft-button-tertiary-state-layer-color","",it.contentActionPrimary),tertiaryStateLayerOpacityHover:ot.extend("--ft-button-tertiary-state-layer-opacity-hover","",et.opacity8),tertiaryStateLayerOpacityFocus:ot.extend("--ft-button-tertiary-state-layer-opacity-focus","",et.opacity8),tertiaryStateLayerOpacityActive:ot.extend("--ft-button-tertiary-state-layer-opacity-active","",et.opacity16),tertiaryComponentOpacityDisabled:ot.extend("--ft-button-tertiary-component-opacity-disabled","",et.opacity40),secondaryBackgroundColor:ot.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ot.extend("--ft-button-secondary-color","",it.contentActionPrimary),secondaryIconColor:ot.extend("--ft-button-secondary-icon-color","",it.contentActionPrimary),secondaryStateLayerColor:ot.extend("--ft-button-secondary-state-layer-color","",it.contentActionPrimary),secondaryStateLayerOpacityHover:ot.extend("--ft-button-secondary-state-layer-opacity-hover","",et.opacity8),secondaryStateLayerOpacityFocus:ot.extend("--ft-button-secondary-state-layer-opacity-focus","",et.opacity8),secondaryStateLayerOpacityActive:ot.extend("--ft-button-secondary-state-layer-opacity-active","",et.opacity16),secondaryComponentOpacityDisabled:ot.extend("--ft-button-secondary-component-opacity-disabled","",et.opacity40),secondaryBorderColor:ot.extend("--ft-button-secondary-border-color","",it.borderActionPrimary),neutralBackgroundColor:ot.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ot.extend("--ft-button-neutral-icon-color","",it.contentGlobalSecondary),neutralColor:ot.extend("--ft-button-neutral-color","",it.contentGlobalSecondary),neutralStateLayerColor:ot.extend("--ft-button-neutral-state-layer-color","",it.contentGlobalSecondary),neutralStateLayerOpacityHover:ot.extend("--ft-button-neutral-state-layer-opacity-hover","",et.opacity8),neutralStateLayerOpacityFocus:ot.extend("--ft-button-neutral-state-layer-opacity-focus","",et.opacity8),neutralStateLayerOpacityActive:ot.extend("--ft-button-neutral-state-layer-opacity-active","",et.opacity16),neutralComponentOpacityDisabled:ot.extend("--ft-button-neutral-component-opacity-disabled","",et.opacity40)};ot.extend("--ft-tabs-top-left-border-radius","",et.borderRadiusS),ot.extend("--ft-tabs-top-right-border-radius","",et.borderRadiusS),ot.extend("--ft-tabs-label-horizontal-padding","",et.spacing4),ot.extend("--ft-tabs-label-vertical-padding","",et.spacing3),ot.extend("--ft-tabs-label-gap","",et.spacing1),ot.extend("--ft-switch-group-horizontal-padding","",et.spacing1),ot.extend("--ft-switch-group-vertical-padding","",et.spacing1),ot.extend("--ft-switch-group-gap","",et.spacing1),ot.extend("--ft-switch-group-background-color","",it.backgroundGlobalSurface),ot.extend("--ft-switch-group-border-color","",it.borderGlobalSubtle),ot.create("--ft-switch-group-border-radius","","SIZE","6px"),ot.extend("--ft-switch-label-horizontal-padding","",et.spacing2),ot.extend("--ft-switch-label-vertical-padding","",et.spacing1),ot.extend("--ft-switch-icon-horizontal-padding","",et.spacing1),ot.extend("--ft-switch-icon-vertical-padding","",et.spacing1),ot.create("--ft-switch-focus-outline-width","","SIZE","2px"),ot.extend("--ft-switch-focus-focus-ring-color","",it.borderActionFocusRing),ot.extend("--ft-switch-option-border-radius","",et.borderRadiusS),ot.extend("--ft-switch-off-state-layer-opacity-hover","",et.opacity8),ot.extend("--ft-switch-off-state-layer-opacity-focus","",et.opacity8),ot.extend("--ft-switch-off-state-layer-opacity-active","",et.opacity16),ot.extend("--ft-switch-off-component-opacity-disabled","",et.opacity40),ot.extend("--ft-switch-off-color","",it.contentGlobalSubtle),ot.extend("--ft-switch-off-state-layer-color","",it.contentGlobalSubtle),ot.extend("--ft-chart-1-light","for area color charts",et.colorBrand40),ot.extend("--ft-chart-1-base","for line charts",et.colorBrand0),ot.extend("--ft-chart-2-light","for area color charts",et.colorYellow60),ot.extend("--ft-chart-2-base","for line charts",et.colorYellow100),ot.extend("--ft-chart-3-light","",et.colorUltramarine40),ot.extend("--ft-chart-3-base","",et.colorUltramarine70),ot.extend("--ft-chart-4-light","",et.colorCyan50),ot.extend("--ft-chart-4-base","",et.colorCyan100),ot.extend("--ft-chart-5-light","",et.colorRed40),ot.extend("--ft-chart-5-base","",et.colorRed60),ot.extend("--ft-chart-6-light","",et.colorGreen40),ot.extend("--ft-chart-6-base","",et.colorGreen70),ot.extend("--ft-chart-7-light","",et.colorOrange70),ot.extend("--ft-chart-7-base","",et.colorOrange100),ot.extend("--ft-chart-8-light","",et.colorAvocado70),ot.extend("--ft-chart-8-base","",et.colorAvocado200),ot.extend("--ft-chart-9-light","",et.colorBrown50),ot.extend("--ft-chart-9-base","",et.colorBrown200),ot.extend("--ft-chart-10-light","",et.colorGray50),ot.extend("--ft-chart-10-base","",et.colorGray80),ot.extend("--ft-chart-monochrome-10","",et.colorBrand10),ot.extend("--ft-chart-monochrome-20","",et.colorBrand20),ot.extend("--ft-chart-monochrome-30","",et.colorBrand40),ot.extend("--ft-chart-monochrome-40","",et.colorBrand60),ot.extend("--ft-chart-monochrome-50","",et.colorBrand0),ot.extend("--ft-chart-monochrome-60","",et.colorBrand200),ot.extend("--ft-chip-large-horizontal-padding","",et.spacing4),ot.extend("--ft-chip-large-vertical-padding","",et.spacing2),ot.extend("--ft-chip-large-gap","",et.spacing1),ot.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ot.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ot.extend("--ft-chip-large-border-radius","",et.borderRadiusPill),ot.create("--ft-chip-large-border-width","","SIZE","1px"),ot.extend("--ft-chip-large-icon-size","",et.iconSize3),ot.extend("--ft-chip-medium-horizontal-padding","",et.spacing3),ot.extend("--ft-chip-medium-vertical-padding","",et.spacing1),ot.extend("--ft-chip-medium-gap","",et.spacing1),ot.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ot.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ot.extend("--ft-chip-medium-border-radius","",et.borderRadiusPill),ot.create("--ft-chip-medium-border-width","","SIZE","1px"),ot.extend("--ft-chip-medium-icon-size","",et.iconSize2),ot.extend("--ft-chip-small-horizontal-padding","",et.spacing2),ot.extend("--ft-chip-small-vertical-padding","",et.spacing05),ot.extend("--ft-chip-small-gap","",et.spacing1),ot.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ot.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ot.extend("--ft-chip-small-border-radius","",et.borderRadiusPill),ot.create("--ft-chip-small-border-width","","SIZE","1px"),ot.extend("--ft-chip-small-icon-size","",et.iconSize1),ot.extend("--ft-chip-neutral-background-color","",it.backgroundGlobalOnSurface),ot.extend("--ft-chip-neutral-color","",it.contentGlobalPrimary),ot.extend("--ft-chip-neutral-border-color","",it.borderGlobalSubtle),ot.extend("--ft-chip-info-background-color","",it.backgroundInfoSubtle),ot.extend("--ft-chip-info-color","",it.contentInfoPrimary),ot.extend("--ft-chip-info-border-color","",it.borderInfoPrimary),ot.extend("--ft-chip-success-background-color","",it.backgroundSuccessSubtle),ot.extend("--ft-chip-success-color","",it.contentSuccessPrimary),ot.extend("--ft-chip-success-border-color","",it.borderSuccessPrimary),ot.extend("--ft-chip-warning-background-color","",it.backgroundWarningSubtle),ot.extend("--ft-chip-warning-color","",it.contentWarningPrimary),ot.extend("--ft-chip-warning-border-color","",it.borderWarningPrimary),ot.extend("--ft-chip-error-background-color","",it.backgroundErrorSubtle),ot.extend("--ft-chip-error-color","",it.contentErrorPrimary),ot.extend("--ft-chip-error-border-color","",it.borderErrorPrimary),ot.create("--ft-notice-border-width","","SIZE","1px"),ot.extend("--ft-notice-horizontal-padding","",et.spacing2),ot.extend("--ft-notice-vertical-padding","",et.spacing1),ot.extend("--ft-notice-border-radius","",et.borderRadiusS),ot.extend("--ft-notice-gap","",et.spacing2),ot.extend("--ft-notice-icon-size","",et.iconSize3),ot.extend("--ft-notice-info-background-color","",it.backgroundInfoSubtle),ot.extend("--ft-notice-info-border-color","",it.borderInfoPrimary),ot.extend("--ft-notice-info-color","",it.contentInfoPrimary),ot.extend("--ft-notice-warning-background-color","",it.backgroundWarningSubtle),ot.extend("--ft-notice-warning-border-color","",it.borderWarningPrimary),ot.extend("--ft-notice-warning-color","",it.contentWarningPrimary),ot.extend("--ft-checkbox-label-color","",it.contentGlobalPrimary),ot.extend("--ft-checkbox-checked-background-color","",it.contentActionPrimary),ot.extend("--ft-checkbox-checked-state-layer-color","",it.contentActionPrimary),ot.extend("--ft-checkbox-checked-color","",it.contentGlobalOnColor),ot.extend("--ft-checkbox-checked-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-checkbox-checked-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-checkbox-checked-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-checkbox-checked-component-opacity-disabled","",et.opacity40),ot.extend("--ft-checkbox-unchecked-border-color","",et.colorGray80),ot.extend("--ft-checkbox-unchecked-state-layer-color","",et.colorGray80),ot.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-checkbox-unchecked-component-opacity-disabled","",et.opacity40),ot.extend("--ft-checkbox-focus-focus-ring-color","",it.borderActionFocusRing),ot.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ot.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ot.extend("--ft-checkbox-gap","",et.spacing3),ot.extend("--ft-toggle-off-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-toggle-off-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-toggle-off-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-toggle-off-component-opacity-disabled","",et.opacity40),ot.extend("--ft-toggle-off-background-color","",it.contentGlobalSubtle),ot.extend("--ft-toggle-off-icon-color","",it.contentGlobalSubtle),ot.extend("--ft-toggle-off-state-layer-color","",it.contentGlobalSubtle),ot.extend("--ft-toggle-on-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-toggle-on-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-toggle-on-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-toggle-on-component-opacity-disabled","",et.opacity40),ot.extend("--ft-toggle-on-background-color","",it.contentActionPrimary),ot.extend("--ft-toggle-on-icon-color","",it.contentActionPrimary),ot.extend("--ft-toggle-on-state-layer-color","",it.contentActionPrimary),ot.extend("--ft-toggle-label-color","",it.contentGlobalPrimary),ot.extend("--ft-toggle-focus-focus-ring-color","",it.borderActionFocusRing),ot.extend("--ft-toggle-gap","",et.spacing3),ot.extend("--ft-radio-label-color","",it.contentGlobalPrimary),ot.extend("--ft-radio-selected-color","",it.contentActionPrimary),ot.extend("--ft-radio-selected-state-layer-color","",it.contentActionPrimary),ot.extend("--ft-radio-selected-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-radio-selected-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-radio-selected-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-radio-selected-component-opacity-disabled","",et.opacity40),ot.extend("--ft-radio-unselected-state-layer-color","",et.colorGray80),ot.extend("--ft-radio-unselected-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-radio-unselected-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-radio-unselected-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-radio-unselected-component-opacity-disabled","",et.opacity40),ot.extend("--ft-radio-focus-focus-ring-color","",it.borderActionFocusRing),ot.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ot.create("--ft-radio-focus-outline-width","","SIZE","2px"),ot.extend("--ft-radio-gap","",et.spacing3),ot.extend("--ft-notification-icon-size","",et.iconSize4),ot.extend("--ft-notification-horizontal-padding","",et.spacing4),ot.extend("--ft-notification-vertical-padding","",et.spacing4),ot.extend("--ft-notification-info-background-color","",it.backgroundInfoSubtle),ot.extend("--ft-notification-info-color","",it.contentInfoPrimary),ot.extend("--ft-notification-info-border-color","",it.borderInfoPrimary),ot.extend("--ft-notification-success-background-color","",it.backgroundSuccessSubtle),ot.extend("--ft-notification-success-color","",it.contentSuccessPrimary),ot.extend("--ft-notification-success-border-color","",it.borderSuccessPrimary),ot.extend("--ft-notification-warning-background-color","",it.backgroundWarningSubtle),ot.extend("--ft-notification-warning-color","",it.contentWarningPrimary),ot.extend("--ft-notification-warning-border-color","",it.borderWarningPrimary),ot.extend("--ft-notification-error-background-color","",it.backgroundErrorSubtle),ot.extend("--ft-notification-error-color","",it.contentErrorPrimary),ot.extend("--ft-notification-error-border-color","",it.borderErrorPrimary),ot.extend("--ft-notification-border-radius","",et.borderRadiusPill),ot.create("--ft-notification-border-width","","SIZE","1px"),ot.extend("--ft-notification-gap-leading","",et.spacing2),ot.extend("--ft-notification-gap-trailing","",et.spacing8);const at=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),lt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ct={fontFamily:lt,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")},pt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",at),st=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ct.fontSize,"20px"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ct.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ct.letterSpacing,"0.15px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ct.lineHeight,"1.2"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ct.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",at),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ct.fontSize,"14px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ct.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ct.letterSpacing,"0.105px"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ct.lineHeight,"1.7"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ct.textTransform,"inherit"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",lt),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ct.fontSize,"16px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ct.fontWeight,"600"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ct.letterSpacing,"0.144px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ct.lineHeight,"1.5"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ct.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",lt),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ct.fontSize,"14px"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ct.fontWeight,"normal"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ct.letterSpacing,"0.098px"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ct.lineHeight,"1.7"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ct.textTransform,"inherit"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",lt),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ct.fontSize,"16px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ct.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ct.letterSpacing,"0.496px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ct.lineHeight,"1.5"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ct.textTransform,"inherit"),Dt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",lt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ct.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ct.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ct.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ct.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ct.textTransform,"inherit")},At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",lt),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ct.fontSize,"12px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ct.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ct.letterSpacing,"0.396px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ct.lineHeight,"1.33"),Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ct.textTransform,"inherit"),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",lt),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ct.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ct.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ct.letterSpacing,"0.33px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ct.lineHeight,"1.6"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ct.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",lt),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ct.fontSize,"10px"),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ct.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ct.letterSpacing,"1.5px"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ct.lineHeight,"1.6"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ct.textTransform,"uppercase"),io={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",lt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ct.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ct.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ct.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ct.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ct.textTransform,"uppercase")},no=e.css`
29
+ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litStatic$:t,r:V}),J=new Map,Q=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let c,s=0,p=!1;for(;s<i;){for(c=o[s];s<i&&void 0!==(n=e[s],r=X(n));)c+=r+o[++s],p=!0;s!==i&&l.push(n),a.push(c),s++}if(s===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=J.get(t))&&(a.raw=a,J.set(t,o=a)),e=l}return t(o,...e)})(W);var tt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(tt||(tt={}));const ot=t=>"string"==typeof t?e.unsafeCSS(t):t;class et{static create(t,o,i,r){const n=t=>ot(null!=t?t:r),a=e.css`var(${ot(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${ot(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${ot(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${ot(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ot(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${ot(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(${ot(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const it={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:et.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:et.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:et.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:et.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:et.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:et.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:et.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:et.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:et.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},rt={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:et.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:et.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:et.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},nt={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",it.colorBrand0),backgroundErrorPrimary:et.extend("--ft-background-error-primary","Used as background of error components.",it.colorRed0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",it.colorRed10),backgroundInfoPrimary:et.extend("--ft-background-info-primary","Used as background of information components.",it.colorCyan200),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",it.colorCyan10),backgroundWarningPrimary:et.extend("--ft-background-warning-primary","Used as background of warning components.",it.colorOrange300),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",it.colorOrange10),backgroundSuccessPrimary:et.extend("--ft-background-success-primary","Used as background of success components.",it.colorGreen200),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",it.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",it.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",it.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",it.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",it.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",it.colorOrange300),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",it.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",it.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",it.colorRed0),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",it.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",it.colorCyan0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",it.colorGreen200),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",it.colorGreen0),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",it.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",it.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",it.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",it.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",it.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",it.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",it.colorOrange300),borderWarningSubtle:et.extend("--ft-border-warning-subtle","Used as border for warning components.",it.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success buttons.",it.colorGreen200),borderSuccessSubtle:et.extend("--ft-border-success-subtle","Used as border for success components.",it.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for text fields in error states.",it.colorRed0),borderErrorSubtle:et.extend("--ft-border-error-subtle","Used as border for error components.",it.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for buttons in info color.",it.colorCyan200),borderInfoSubtle:et.extend("--ft-border-info-subtle","Used as border for information components.",it.colorCyan30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",it.colorGray50),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",it.colorGray30),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",it.colorGray80)},at={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",it.spacing4),largeGap:et.extend("--ft-button-large-gap","",it.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",it.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",it.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",it.spacing3),smallGap:et.extend("--ft-button-small-gap","",it.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",it.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",it.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",nt.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",nt.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",nt.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",nt.contentGlobalOnColor),primaryStateLayerOpacityHover:et.extend("--ft-button-primary-state-layer-opacity-hover","",it.opacity16),primaryStateLayerOpacityFocus:et.extend("--ft-button-primary-state-layer-opacity-focus","",it.opacity16),primaryStateLayerOpacityActive:et.extend("--ft-button-primary-state-layer-opacity-active","",it.opacity24),primaryComponentOpacityDisabled:et.extend("--ft-button-primary-component-opacity-disabled","",it.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",nt.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",nt.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",nt.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",nt.contentActionPrimary),tertiaryStateLayerOpacityHover:et.extend("--ft-button-tertiary-state-layer-opacity-hover","",it.opacity8),tertiaryStateLayerOpacityFocus:et.extend("--ft-button-tertiary-state-layer-opacity-focus","",it.opacity8),tertiaryStateLayerOpacityActive:et.extend("--ft-button-tertiary-state-layer-opacity-active","",it.opacity16),tertiaryComponentOpacityDisabled:et.extend("--ft-button-tertiary-component-opacity-disabled","",it.opacity40),secondaryBackgroundColor:et.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:et.extend("--ft-button-secondary-color","",nt.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",nt.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",nt.contentActionPrimary),secondaryStateLayerOpacityHover:et.extend("--ft-button-secondary-state-layer-opacity-hover","",it.opacity8),secondaryStateLayerOpacityFocus:et.extend("--ft-button-secondary-state-layer-opacity-focus","",it.opacity8),secondaryStateLayerOpacityActive:et.extend("--ft-button-secondary-state-layer-opacity-active","",it.opacity16),secondaryComponentOpacityDisabled:et.extend("--ft-button-secondary-component-opacity-disabled","",it.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",nt.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",nt.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",nt.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",nt.contentGlobalSecondary),neutralStateLayerOpacityHover:et.extend("--ft-button-neutral-state-layer-opacity-hover","",it.opacity8),neutralStateLayerOpacityFocus:et.extend("--ft-button-neutral-state-layer-opacity-focus","",it.opacity8),neutralStateLayerOpacityActive:et.extend("--ft-button-neutral-state-layer-opacity-active","",it.opacity16),neutralComponentOpacityDisabled:et.extend("--ft-button-neutral-component-opacity-disabled","",it.opacity40)};et.extend("--ft-floating-menu-horizontal-padding","",it.spacing4),et.extend("--ft-floating-menu-vertical-padding","",it.spacing4),et.extend("--ft-floating-menu-off-icon-color","",nt.contentGlobalPrimary),et.extend("--ft-floating-menu-off-color","",nt.contentGlobalPrimary),et.extend("--ft-floating-menu-on-color","",nt.contentActionPrimary),et.extend("--ft-floating-menu-on-icon-color","",nt.contentActionPrimary),et.extend("--ft-floating-menu-on-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-floating-menu-gap","",it.spacing3),et.extend("--ft-floating-menu-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),et.extend("--ft-floating-menu-state-layer-opacity-hover","",it.opacity8),et.extend("--ft-floating-menu-state-layer-opacity-active","",it.opacity16),et.extend("--ft-floating-menu-state-layer-opacity-focus","",it.opacity8),et.extend("--ft-floating-menu-component-opacity-disabled","",it.opacity40),et.extend("--ft-floating-menu-icon-size","",it.iconSize3),et.extend("--ft-floating-menu-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-tabs-top-left-border-radius","",it.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",it.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",it.spacing4),et.extend("--ft-tabs-label-vertical-padding","",it.spacing3),et.extend("--ft-tabs-label-gap","",it.spacing1),et.extend("--ft-tabs-icon-horizontal-padding","",it.spacing1),et.extend("--ft-tabs-icon-vertical-padding","",it.spacing4),et.create("--ft-tabs-focus-outline-width","","SIZE","2px"),et.extend("--ft-tabs-focus-focus-ring-color","",nt.borderActionFocusRing),et.extend("--ft-tabs-off-state-layer-opacity-hover","",it.opacity8),et.extend("--ft-tabs-off-state-layer-opacity-focus","",it.opacity8),et.extend("--ft-tabs-off-state-layer-opacity-active","",it.opacity16),et.extend("--ft-tabs-off-component-opacity-disabled","",it.opacity40),et.extend("--ft-tabs-off-color","",nt.contentGlobalSubtle),et.extend("--ft-tabs-off-state-layer-color","",nt.contentGlobalSubtle),et.extend("--ft-tabs-on-state-layer-opacity-hover","",it.opacity8),et.extend("--ft-tabs-on-state-layer-opacity-focus","",it.opacity8),et.extend("--ft-tabs-on-state-layer-opacity-active","",it.opacity16),et.extend("--ft-tabs-on-component-opacity-disabled","",it.opacity40),et.extend("--ft-tabs-on-color","",nt.contentActionPrimary),et.extend("--ft-tabs-on-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-collapsible-state-layer-opacity-hover","",it.opacity8),et.extend("--ft-collapsible-state-layer-opacity-focus","",it.opacity8),et.extend("--ft-collapsible-state-layer-opacity-active","",it.opacity16),et.extend("--ft-collapsible-component-opacity-disabled","",it.opacity40),et.extend("--ft-collapsible-horizontal-padding","",it.spacing4),et.extend("--ft-collapsible-vertical-padding","",it.spacing3),et.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),et.extend("--ft-collapsible-focus-focus-ring-color","",nt.borderActionFocusRing),et.extend("--ft-collapsible-color","",nt.contentGlobalPrimary),et.extend("--ft-collapsible-state-layer-color","",nt.contentGlobalPrimary),et.extend("--ft-collapsible-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-collapsible-border-color","",nt.borderGlobalSubtle),et.extend("--ft-collapsible-icon-size","",it.iconSize3),et.extend("--ft-switch-group-horizontal-padding","",it.spacing1),et.extend("--ft-switch-group-vertical-padding","",it.spacing1),et.extend("--ft-switch-group-gap","",it.spacing1),et.extend("--ft-switch-group-background-color","",nt.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",nt.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",it.spacing2),et.extend("--ft-switch-label-vertical-padding","",it.spacing1),et.extend("--ft-switch-icon-horizontal-padding","",it.spacing1),et.extend("--ft-switch-icon-vertical-padding","",it.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",nt.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",it.borderRadiusS),et.extend("--ft-switch-off-state-layer-opacity-hover","",it.opacity8),et.extend("--ft-switch-off-state-layer-opacity-focus","",it.opacity8),et.extend("--ft-switch-off-state-layer-opacity-active","",it.opacity16),et.extend("--ft-switch-off-component-opacity-disabled","",it.opacity40),et.extend("--ft-switch-off-color","",nt.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",nt.contentGlobalSubtle),et.extend("--ft-switch-on-state-layer-opacity-hover","",it.opacity8),et.extend("--ft-switch-on-state-layer-opacity-focus","",it.opacity8),et.extend("--ft-switch-on-state-layer-opacity-active","",it.opacity16),et.extend("--ft-switch-on-component-opacity-disabled","",it.opacity40),et.extend("--ft-switch-on-color","",nt.contentActionPrimary),et.extend("--ft-switch-on-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-chart-1-light","for area color charts",it.colorBrand40),et.extend("--ft-chart-1-base","for line charts",it.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",it.colorYellow60),et.extend("--ft-chart-2-base","for line charts",it.colorYellow100),et.extend("--ft-chart-3-light","",it.colorUltramarine40),et.extend("--ft-chart-3-base","",it.colorUltramarine70),et.extend("--ft-chart-4-light","",it.colorCyan50),et.extend("--ft-chart-4-base","",it.colorCyan100),et.extend("--ft-chart-5-light","",it.colorRed40),et.extend("--ft-chart-5-base","",it.colorRed60),et.extend("--ft-chart-6-light","",it.colorGreen40),et.extend("--ft-chart-6-base","",it.colorGreen70),et.extend("--ft-chart-7-light","",it.colorOrange70),et.extend("--ft-chart-7-base","",it.colorOrange100),et.extend("--ft-chart-8-light","",it.colorAvocado70),et.extend("--ft-chart-8-base","",it.colorAvocado200),et.extend("--ft-chart-9-light","",it.colorBrown50),et.extend("--ft-chart-9-base","",it.colorBrown200),et.extend("--ft-chart-10-light","",it.colorGray50),et.extend("--ft-chart-10-base","",it.colorGray80),et.extend("--ft-chart-monochrome-10","",it.colorBrand10),et.extend("--ft-chart-monochrome-20","",it.colorBrand20),et.extend("--ft-chart-monochrome-30","",it.colorBrand40),et.extend("--ft-chart-monochrome-40","",it.colorBrand60),et.extend("--ft-chart-monochrome-50","",it.colorBrand0),et.extend("--ft-chart-monochrome-60","",it.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",it.spacing4),et.extend("--ft-chip-large-vertical-padding","",it.spacing2),et.extend("--ft-chip-large-gap","",it.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",it.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",it.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",it.spacing3),et.extend("--ft-chip-medium-vertical-padding","",it.spacing1),et.extend("--ft-chip-medium-gap","",it.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",it.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",it.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",it.spacing2),et.extend("--ft-chip-small-vertical-padding","",it.spacing05),et.extend("--ft-chip-small-gap","",it.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",it.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",it.iconSize1),et.extend("--ft-chip-neutral-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",nt.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",nt.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",nt.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",nt.contentInfoPrimary),et.extend("--ft-chip-info-border-color","",nt.borderInfoSubtle),et.extend("--ft-chip-success-background-color","",nt.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",nt.contentSuccessPrimary),et.extend("--ft-chip-success-border-color","",nt.borderSuccessSubtle),et.extend("--ft-chip-warning-background-color","",nt.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",nt.contentWarningPrimary),et.extend("--ft-chip-warning-border-color","",nt.borderWarningSubtle),et.extend("--ft-chip-error-background-color","",nt.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",nt.contentErrorPrimary),et.extend("--ft-chip-error-border-color","",nt.borderErrorSubtle),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",it.spacing2),et.extend("--ft-notice-vertical-padding","",it.spacing1),et.extend("--ft-notice-border-radius","",it.borderRadiusS),et.extend("--ft-notice-gap","",it.spacing2),et.extend("--ft-notice-icon-size","",it.iconSize3),et.extend("--ft-notice-info-background-color","",nt.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",nt.borderInfoSubtle),et.extend("--ft-notice-info-color","",nt.contentInfoPrimary),et.extend("--ft-notice-warning-background-color","",nt.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",nt.borderWarningSubtle),et.extend("--ft-notice-warning-color","",nt.contentWarningPrimary),et.extend("--ft-checkbox-label-color","",nt.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",nt.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-checkbox-checked-color","",nt.contentGlobalOnColor),et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",it.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",it.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-active","",it.opacity24),et.extend("--ft-checkbox-checked-component-opacity-disabled","",it.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",it.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",it.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",it.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",it.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",it.opacity24),et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",it.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",it.spacing3),et.extend("--ft-toggle-off-state-layer-opacity-hover","",it.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-focus","",it.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-active","",it.opacity24),et.extend("--ft-toggle-off-component-opacity-disabled","",it.opacity40),et.extend("--ft-toggle-off-background-color","",nt.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",nt.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",nt.contentGlobalSubtle),et.extend("--ft-toggle-on-state-layer-opacity-hover","",it.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-focus","",it.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-active","",it.opacity24),et.extend("--ft-toggle-on-component-opacity-disabled","",it.opacity40),et.extend("--ft-toggle-on-background-color","",nt.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",nt.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-toggle-label-color","",nt.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",nt.borderActionFocusRing),et.extend("--ft-toggle-gap","",it.spacing3),et.extend("--ft-radio-label-color","",nt.contentGlobalPrimary),et.extend("--ft-radio-selected-color","",nt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-opacity-hover","",it.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-focus","",it.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-active","",it.opacity24),et.extend("--ft-radio-selected-component-opacity-disabled","",it.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",it.colorGray80),et.extend("--ft-radio-unselected-state-layer-opacity-hover","",it.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-focus","",it.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-active","",it.opacity24),et.extend("--ft-radio-unselected-component-opacity-disabled","",it.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",it.spacing3),et.extend("--ft-notification-icon-size","",it.iconSize4),et.extend("--ft-notification-horizontal-padding","",it.spacing4),et.extend("--ft-notification-vertical-padding","",it.spacing4),et.extend("--ft-notification-info-background-color","",nt.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",nt.contentInfoPrimary),et.extend("--ft-notification-info-border-color","",nt.borderInfoSubtle),et.extend("--ft-notification-success-background-color","",nt.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",nt.contentSuccessPrimary),et.extend("--ft-notification-success-border-color","",nt.borderSuccessSubtle),et.extend("--ft-notification-warning-background-color","",nt.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",nt.contentWarningPrimary),et.extend("--ft-notification-warning-border-color","",nt.borderWarningSubtle),et.extend("--ft-notification-error-background-color","",nt.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",nt.contentErrorPrimary),et.extend("--ft-notification-error-border-color","",nt.borderErrorSubtle),et.extend("--ft-notification-border-radius","",it.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-gap-leading","",it.spacing2),et.extend("--ft-notification-gap-trailing","",it.spacing8),et.extend("--ft-tooltip-horizontal-padding","",it.spacing2),et.extend("--ft-tooltip-vertical-padding","",it.spacing2),et.extend("--ft-tooltip-border-radius","",it.borderRadiusS),et.extend("--ft-tooltip-label","",nt.contentGlobalOnColor),et.extend("--ft-tooltip-background","",nt.contentGlobalPrimary),et.extend("--ft-tooltip-background-opacity","",it.opacity80),et.extend("--ft-tooltip-shadow","",it.shadowElevation03);const lt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ct=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),st={fontFamily:ct,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},pt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",lt),ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",st.fontSize,"20px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",st.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",st.letterSpacing,"0.15px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",lt),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",st.lineHeight,"1.7"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",st.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ct),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",st.fontSize,"16px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",st.fontWeight,"600"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ct),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",st.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ct),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",st.fontSize,"16px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",st.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",st.letterSpacing,"0.496px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",st.lineHeight,"1.5"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",st.textTransform,"inherit"),Ft={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",st.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",st.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",st.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ct),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",st.fontSize,"12px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",st.fontWeight,"normal"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",st.letterSpacing,"0.396px"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",st.lineHeight,"1.33"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",st.textTransform,"inherit"),jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ct),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",st.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",st.fontWeight,"normal"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",st.letterSpacing,"0.33px"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",st.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",st.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ct),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",st.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",st.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",st.letterSpacing,"1.5px"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",st.lineHeight,"1.6"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",st.textTransform,"uppercase"),no={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",st.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",st.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",st.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",st.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",st.textTransform,"uppercase")},ao=e.css`
17
30
  .ft-typography--title {
18
31
  font-family: ${pt};
19
- font-size: ${st};
20
- font-weight: ${ft};
21
- letter-spacing: ${dt};
22
- line-height: ${ht};
23
- text-transform: ${gt};
32
+ font-size: ${ft};
33
+ font-weight: ${dt};
34
+ letter-spacing: ${ht};
35
+ line-height: ${gt};
36
+ text-transform: ${ut};
24
37
  }
25
- `,ao=e.css`
38
+ `,lo=e.css`
26
39
  .ft-typography--title-dense {
27
40
  font-family: ${yt};
28
- font-size: ${ut};
29
- font-weight: ${bt};
30
- letter-spacing: ${mt};
31
- line-height: ${xt};
41
+ font-size: ${bt};
42
+ font-weight: ${mt};
43
+ letter-spacing: ${xt};
44
+ line-height: ${vt};
32
45
  text-transform: ${Ot};
33
46
  }
34
- `,lo=e.css`
47
+ `,co=e.css`
35
48
  .ft-typography--subtitle1 {
36
- font-family: ${vt};
37
- font-size: ${Nt};
38
- font-weight: ${St};
49
+ font-family: ${Nt};
50
+ font-size: ${St};
51
+ font-weight: ${wt};
39
52
  letter-spacing: ${$t};
40
53
  line-height: ${Ct};
41
- text-transform: ${wt};
54
+ text-transform: ${Et};
42
55
  }
43
- `,co=e.css`
56
+ `,so=e.css`
44
57
  .ft-typography--subtitle2 {
45
58
  font-family: ${It};
46
59
  font-size: ${Rt};
47
- font-weight: ${kt};
48
- letter-spacing: ${Ut};
49
- line-height: ${Et};
50
- text-transform: ${Wt};
60
+ font-weight: ${Ut};
61
+ letter-spacing: ${kt};
62
+ line-height: ${Wt};
63
+ text-transform: ${Lt};
51
64
  }
52
65
 
53
66
  `,po=e.css`
54
67
  .ft-typography--body1 {
55
- font-family: ${Lt};
68
+ font-family: ${Kt};
56
69
  font-size: ${zt};
57
- font-weight: ${Kt};
70
+ font-weight: ${At};
58
71
  letter-spacing: ${Zt};
59
- line-height: ${Bt};
60
- text-transform: ${Ft};
72
+ line-height: ${Dt};
73
+ text-transform: ${Bt};
61
74
  }
62
- `,so=e.css`
75
+ `,fo=e.css`
63
76
  .ft-typography--body2 {
64
- font-family: ${Dt.fontFamily};
65
- font-size: ${Dt.fontSize};
66
- font-weight: ${Dt.fontWeight};
67
- letter-spacing: ${Dt.letterSpacing};
68
- line-height: ${Dt.lineHeight};
69
- text-transform: ${Dt.textTransform};
77
+ font-family: ${Ft.fontFamily};
78
+ font-size: ${Ft.fontSize};
79
+ font-weight: ${Ft.fontWeight};
80
+ letter-spacing: ${Ft.letterSpacing};
81
+ line-height: ${Ft.lineHeight};
82
+ text-transform: ${Ft.textTransform};
70
83
  }
71
- `,fo=e.css`
84
+ `,ho=e.css`
72
85
  .ft-typography--caption {
73
- font-family: ${At};
86
+ font-family: ${Tt};
74
87
  font-size: ${Ht};
75
- font-weight: ${Gt};
76
- letter-spacing: ${Pt};
77
- line-height: ${jt};
78
- text-transform: ${Tt};
88
+ font-weight: ${Pt};
89
+ letter-spacing: ${Gt};
90
+ line-height: ${_t};
91
+ text-transform: ${Mt};
79
92
  }
80
- `,ho=e.css`
93
+ `,go=e.css`
81
94
  .ft-typography--breadcrumb {
82
- font-family: ${Mt};
83
- font-size: ${_t};
84
- font-weight: ${Yt};
85
- letter-spacing: ${Vt};
86
- line-height: ${Xt};
87
- text-transform: ${qt};
95
+ font-family: ${jt};
96
+ font-size: ${Yt};
97
+ font-weight: ${Vt};
98
+ letter-spacing: ${Xt};
99
+ line-height: ${qt};
100
+ text-transform: ${Jt};
88
101
  }
89
- `,go=e.css`
102
+ `,uo=e.css`
90
103
  .ft-typography--overline {
91
- font-family: ${Jt};
92
- font-size: ${Qt};
93
- font-weight: ${to};
94
- letter-spacing: ${oo};
95
- line-height: ${eo};
104
+ font-family: ${Qt};
105
+ font-size: ${to};
106
+ font-weight: ${oo};
107
+ letter-spacing: ${eo};
108
+ line-height: ${io};
96
109
  text-transform: ${ro};
97
110
  }
98
111
  `,yo=e.css`
99
112
  .ft-typography--button {
100
- font-family: ${io.fontFamily};
101
- font-size: ${io.fontSize};
102
- font-weight: ${io.fontWeight};
103
- letter-spacing: ${io.letterSpacing};
104
- line-height: ${io.lineHeight};
105
- text-transform: ${io.textTransform};
113
+ font-family: ${no.fontFamily};
114
+ font-size: ${no.fontSize};
115
+ font-weight: ${no.fontWeight};
116
+ letter-spacing: ${no.letterSpacing};
117
+ line-height: ${no.lineHeight};
118
+ text-transform: ${no.textTransform};
106
119
  }
107
- `,uo=e.css`
120
+ `,bo=e.css`
108
121
  .ft-typography {
109
122
  vertical-align: inherit;
110
123
  }
111
- `,bo=[Object.keys(rt).map((t=>function(t){const o=rt[t];return e.css`
124
+ `,mo=[Object.keys(rt).map((t=>function(t){const o=rt[t];return e.css`
112
125
  .ft-typography--${e.unsafeCSS(t)} {
113
126
  font-family: ${o.fontFamily};
114
127
  font-size: ${o.fontSize};
@@ -117,14 +130,14 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
117
130
  line-height: ${o.lineHeight};
118
131
  text-transform: ${o.textCase};
119
132
  }
120
- `}(t)))];var mo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Q.body1}render(){return this.element?J`
121
- <${X(this.element)}
133
+ `}(t)))];var xo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vo extends o.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?Q`
134
+ <${q(this.element)}
122
135
  class="ft-typography ft-typography--${this.variant}">
123
136
  <slot></slot>
124
- </${X(this.element)}>
125
- `:J`
137
+ </${q(this.element)}>
138
+ `:Q`
126
139
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
127
- `}}xo.styles=[no,ao,lo,co,po,so,fo,ho,go,yo,uo,...bo],mo([r.property()],xo.prototype,"element",void 0),mo([r.property()],xo.prototype,"variant",void 0),o.customElement("ft-typography")(xo);const Oo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),vo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),No=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),So=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),$o=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Co=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),wo=e.css`
140
+ `}}vo.styles=[ao,lo,co,so,po,fo,ho,go,uo,yo,bo,...mo],xo([i.property()],vo.prototype,"element",void 0),xo([i.property()],vo.prototype,"variant",void 0),o.customElement("ft-typography")(vo);const Oo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),No=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),So=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),wo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),$o=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Co=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Eo=e.css`
128
141
  .ft-tooltip--container {
129
142
  display: block;
130
143
  }
@@ -142,18 +155,18 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
142
155
  max-width: ${Co};
143
156
  text-align: center;
144
157
  padding: ${Oo};
145
- z-index: ${So};
158
+ z-index: ${wo};
146
159
  }
147
160
 
148
161
  .ft-tooltip--content {
149
162
  padding: 4px 8px;
150
163
  border-radius: ${$o};
151
- background-color: ${No};
152
- color: ${vo};
164
+ background-color: ${So};
165
+ color: ${No};
153
166
  position: relative;
154
167
  word-break: break-word;
155
168
  }
156
- `,Io=["start","end"],Ro=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Io[0],o+"-"+Io[1])),[]),ko=Math.min,Uo=Math.max,Eo=Math.round,Wo=t=>({x:t,y:t}),Lo={left:"right",right:"left",bottom:"top",top:"bottom"},zo={start:"end",end:"start"};function Ko(t,o,e){return Uo(t,ko(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Bo(t){return t.split("-")[0]}function Fo(t){return t.split("-")[1]}function Do(t){return"x"===t?"y":"x"}function Ao(t){return"y"===t?"height":"width"}function Ho(t){return["top","bottom"].includes(Bo(t))?"y":"x"}function Go(t){return Do(Ho(t))}function Po(t){return t.replace(/left|right|bottom|top/g,(t=>Lo[t]))}function jo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function To(t,o,e){let{reference:r,floating:i}=t;const n=Ho(o),a=Go(o),l=Ao(a),c=Bo(o),p="y"===n,s=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:s,y:r.y-i.height};break;case"bottom":h={x:s,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Fo(o)){case"start":h[a]-=d*(e&&p?-1:1);break;case"end":h[a]+=d*(e&&p?-1:1)}return h}async function Mo(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Zo(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===f?"reference":"floating":f],u=jo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:p,rootBoundary:s,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=jo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+g.top)/x.y,bottom:(O.bottom-u.bottom+g.bottom)/x.y,left:(u.left-O.left+g.left)/x.x,right:(O.right-u.right+g.right)/x.x}}function _o(t,o,e){return(t?[...e.filter((o=>Fo(o)===t)),...e.filter((o=>Fo(o)!==t))]:e.filter((t=>Bo(t)===t))).filter((e=>!t||(Fo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zo[t]))}(e)!==e)))}const Yo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:p}=o,{crossAxis:s=!1,alignment:f,allowedPlacements:d=Ro,autoAlignment:h=!0,...g}=Zo(t,o),y=void 0!==f||d===Ro?_o(f||null,h,d):d,u=await Mo(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Fo(t),i=Go(t),n=Ao(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Po(a)),[a,Po(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[u[Bo(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=Fo(t.placement);return[t.placement,o&&s?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),$=S.filter((t=>t[2].slice(0,Fo(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=$[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Vo(t){return Jo(t)?(t.nodeName||"").toLowerCase():"#document"}function Xo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function qo(t){var o;return null==(o=(Jo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Jo(t){return t instanceof Node||t instanceof Xo(t).Node}function Qo(t){return t instanceof Element||t instanceof Xo(t).Element}function te(t){return t instanceof HTMLElement||t instanceof Xo(t).HTMLElement}function oe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Xo(t).ShadowRoot)}function ee(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=le(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function re(t){return["table","td","th"].includes(Vo(t))}function ie(t){const o=ne(),e=le(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ne(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ae(t){return["html","body","#document"].includes(Vo(t))}function le(t){return Xo(t).getComputedStyle(t)}function ce(t){return Qo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pe(t){if("html"===Vo(t))return t;const o=t.assignedSlot||t.parentNode||oe(t)&&t.host||qo(t);return oe(o)?o.host:o}function se(t){const o=pe(t);return ae(o)?t.ownerDocument?t.ownerDocument.body:t.body:te(o)&&ee(o)?o:se(o)}function fe(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=se(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Xo(i);return n?o.concat(a,a.visualViewport||[],ee(i)?i:[],a.frameElement&&e?fe(a.frameElement):[]):o.concat(i,fe(i,[],e))}function de(t){const o=le(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=te(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Eo(e)!==n||Eo(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function he(t){return Qo(t)?t:t.contextElement}function ge(t){const o=he(t);if(!te(o))return Wo(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=de(o);let a=(n?Eo(e.width):e.width)/r,l=(n?Eo(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ye=Wo(0);function ue(t){const o=Xo(t);return ne()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ye}function be(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=he(t);let a=Wo(1);o&&(r?Qo(r)&&(a=ge(r)):a=ge(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Xo(t))&&o}(n,e,r)?ue(n):Wo(0);let c=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,s=i.width/a.x,f=i.height/a.y;if(n){const t=Xo(n),o=r&&Qo(r)?Xo(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=ge(e),o=e.getBoundingClientRect(),r=le(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,s*=t.x,f*=t.y,c+=i,p+=n,e=Xo(e).frameElement}}return jo({width:s,height:f,x:c,y:p})}function me(t){return be(qo(t)).left+ce(t).scrollLeft}function xe(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Xo(t),r=qo(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=ne();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=qo(t),e=ce(t),r=t.ownerDocument.body,i=Uo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Uo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+me(t);const l=-e.scrollTop;return"rtl"===le(r).direction&&(a+=Uo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(qo(t));else if(Qo(o))r=function(t,o){const e=be(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=te(t)?ge(t):Wo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=ue(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return jo(r)}function Oe(t,o){const e=pe(t);return!(e===o||!Qo(e)||ae(e))&&("fixed"===le(e).position||Oe(e,o))}function ve(t,o,e){const r=te(o),i=qo(o),n="fixed"===e,a=be(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Wo(0);if(r||!r&&!n)if(("body"!==Vo(o)||ee(i))&&(l=ce(o)),r){const t=be(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=me(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Ne(t,o){return te(t)&&"fixed"!==le(t).position?o?o(t):t.offsetParent:null}function Se(t,o){const e=Xo(t);if(!te(t))return e;let r=Ne(t,o);for(;r&&re(r)&&"static"===le(r).position;)r=Ne(r,o);return r&&("html"===Vo(r)||"body"===Vo(r)&&"static"===le(r).position&&!ie(r))?e:r||function(t){let o=pe(t);for(;te(o)&&!ae(o);){if(ie(o))return o;o=pe(o)}return null}(t)||e}const $e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=te(e),n=qo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Wo(1);const c=Wo(0);if((i||!i&&"fixed"!==r)&&(("body"!==Vo(e)||ee(n))&&(a=ce(e)),te(e))){const t=be(e);l=ge(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:qo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=fe(t,[],!1).filter((t=>Qo(t)&&"body"!==Vo(t))),i=null;const n="fixed"===le(t).position;let a=n?pe(t):t;for(;Qo(a)&&!ae(a);){const o=le(a),e=ie(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ee(a)&&!e&&Oe(t,a))?r=r.filter((t=>t!==a)):i=o,a=pe(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=xe(o,e,i);return t.top=Uo(r.top,t.top),t.right=ko(r.right,t.right),t.bottom=ko(r.bottom,t.bottom),t.left=Uo(r.left,t.left),t}),xe(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Se,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Se,n=this.getDimensions;return{reference:ve(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return de(t)},getScale:ge,isElement:Qo,isRTL:function(t){return"rtl"===le(t).direction}},Ce=(t,o,e)=>{const r=new Map,i={platform:$e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let p=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:s,y:f}=To(p,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:s,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:p,platform:a,elements:{reference:t,floating:o}});s=null!=u?u:s,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:s,y:f}=To(p,d,c))),e=-1)}return{x:s,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function we(t){return function(t){for(let o=t;o;o=Ie(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ie(t);o;o=Ie(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ie(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Re=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ke 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`
169
+ `,Io=["start","end"],Ro=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Io[0],o+"-"+Io[1])),[]),Uo=Math.min,ko=Math.max,Wo=Math.round,Lo=t=>({x:t,y:t}),Ko={left:"right",right:"left",bottom:"top",top:"bottom"},zo={start:"end",end:"start"};function Ao(t,o,e){return ko(t,Uo(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Do(t){return t.split("-")[0]}function Bo(t){return t.split("-")[1]}function Fo(t){return"x"===t?"y":"x"}function To(t){return"y"===t?"height":"width"}function Ho(t){return["top","bottom"].includes(Do(t))?"y":"x"}function Po(t){return Fo(Ho(t))}function Go(t){return t.replace(/left|right|bottom|top/g,(t=>Ko[t]))}function _o(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Mo(t,o,e){let{reference:i,floating:r}=t;const n=Ho(o),a=Po(o),l=To(a),c=Do(o),s="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(c){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(Bo(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function jo(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Zo(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),u=l[d?"floating"===f?"reference":"floating":f],y=_o(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(u)))||e?u:u.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=_o(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(y.top-v.top+g.top)/x.y,bottom:(v.bottom-y.bottom+g.bottom)/x.y,left:(y.left-v.left+g.left)/x.x,right:(v.right-y.right+g.right)/x.x}}function Yo(t,o,e){return(t?[...e.filter((o=>Bo(o)===t)),...e.filter((o=>Bo(o)!==t))]:e.filter((t=>Do(t)===t))).filter((e=>!t||(Bo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zo[t]))}(e)!==e)))}const Vo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Ro,autoAlignment:h=!0,...g}=Zo(t,o),u=void 0!==f||d===Ro?Yo(f||null,h,d):d,y=await jo(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=u[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Bo(t),r=Po(t),n=To(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Go(a)),[a,Go(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:u[0]}};const v=[y[Do(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=u[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Bo(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Bo(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=w[0])?void 0:r[0])||S[0][0];return $!==l?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Xo(t){return Qo(t)?(t.nodeName||"").toLowerCase():"#document"}function qo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Jo(t){var o;return null==(o=(Qo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Qo(t){return t instanceof Node||t instanceof qo(t).Node}function te(t){return t instanceof Element||t instanceof qo(t).Element}function oe(t){return t instanceof HTMLElement||t instanceof qo(t).HTMLElement}function ee(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qo(t).ShadowRoot)}function ie(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=ce(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function re(t){return["table","td","th"].includes(Xo(t))}function ne(t){const o=ae(),e=ce(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ae(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function le(t){return["html","body","#document"].includes(Xo(t))}function ce(t){return qo(t).getComputedStyle(t)}function se(t){return te(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pe(t){if("html"===Xo(t))return t;const o=t.assignedSlot||t.parentNode||ee(t)&&t.host||Jo(t);return ee(o)?o.host:o}function fe(t){const o=pe(t);return le(o)?t.ownerDocument?t.ownerDocument.body:t.body:oe(o)&&ie(o)?o:fe(o)}function de(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=fe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=qo(r);return n?o.concat(a,a.visualViewport||[],ie(r)?r:[],a.frameElement&&e?de(a.frameElement):[]):o.concat(r,de(r,[],e))}function he(t){const o=ce(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=oe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Wo(e)!==n||Wo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function ge(t){return te(t)?t:t.contextElement}function ue(t){const o=ge(t);if(!oe(o))return Lo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=he(o);let a=(n?Wo(e.width):e.width)/i,l=(n?Wo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ye=Lo(0);function be(t){const o=qo(t);return ae()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ye}function me(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ge(t);let a=Lo(1);o&&(i?te(i)&&(a=ue(i)):a=ue(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qo(t))&&o}(n,e,i)?be(n):Lo(0);let c=(r.left+l.x)/a.x,s=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=qo(n),o=i&&te(i)?qo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ue(e),o=e.getBoundingClientRect(),i=ce(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=r,s+=n,e=qo(e).frameElement}}return _o({width:p,height:f,x:c,y:s})}function xe(t){return me(Jo(t)).left+se(t).scrollLeft}function ve(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=qo(t),i=Jo(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,c=0;if(r){n=r.width,a=r.height;const t=ae();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)i=function(t){const o=Jo(t),e=se(t),i=t.ownerDocument.body,r=ko(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=ko(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+xe(t);const l=-e.scrollTop;return"rtl"===ce(i).direction&&(a+=ko(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Jo(t));else if(te(o))i=function(t,o){const e=me(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=oe(t)?ue(t):Lo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=be(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return _o(i)}function Oe(t,o){const e=pe(t);return!(e===o||!te(e)||le(e))&&("fixed"===ce(e).position||Oe(e,o))}function Ne(t,o,e){const i=oe(o),r=Jo(o),n="fixed"===e,a=me(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Lo(0);if(i||!i&&!n)if(("body"!==Xo(o)||ie(r))&&(l=se(o)),i){const t=me(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else r&&(c.x=xe(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Se(t,o){return oe(t)&&"fixed"!==ce(t).position?o?o(t):t.offsetParent:null}function we(t,o){const e=qo(t);if(!oe(t))return e;let i=Se(t,o);for(;i&&re(i)&&"static"===ce(i).position;)i=Se(i,o);return i&&("html"===Xo(i)||"body"===Xo(i)&&"static"===ce(i).position&&!ne(i))?e:i||function(t){let o=pe(t);for(;oe(o)&&!le(o);){if(ne(o))return o;o=pe(o)}return null}(t)||e}const $e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=oe(e),n=Jo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Lo(1);const c=Lo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Xo(e)||ie(n))&&(a=se(e)),oe(e))){const t=me(e);l=ue(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Jo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=de(t,[],!1).filter((t=>te(t)&&"body"!==Xo(t))),r=null;const n="fixed"===ce(t).position;let a=n?pe(t):t;for(;te(a)&&!le(a);){const o=ce(a),e=ne(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ie(a)&&!e&&Oe(t,a))?i=i.filter((t=>t!==a)):r=o,a=pe(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=ve(o,e,r);return t.top=ko(i.top,t.top),t.right=Uo(i.right,t.right),t.bottom=Uo(i.bottom,t.bottom),t.left=ko(i.left,t.left),t}),ve(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:we,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||we,n=this.getDimensions;return{reference:Ne(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return he(t)},getScale:ue,isElement:te,isRTL:function(t){return"rtl"===ce(t).direction}},Ce=(t,o,e)=>{const i=new Map,r={platform:$e,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Mo(s,i,c),d=i,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:u}=l[e],{x:y,y:b,data:m,reset:x}=await u({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=Mo(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function Ee(t){return function(t){for(let o=t;o;o=Ie(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ie(t);o;o=Ie(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ie(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Re(t,o,e){return Ce(t,o,{platform:{...$e,getOffsetParent:t=>$e.getOffsetParent(t,Ee)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Zo(i,t),s={x:o,y:e},p=await jo(t,c),f=Ho(Do(r)),d=Fo(f);let h=s[d],g=s[f];if(n){const t="y"===d?"bottom":"right";h=Ao(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";g=Ao(g+p["y"===f?"top":"left"],g,g-p[t])}const u=l.fn({...t,[d]:h,[f]:g});return{...u,data:{x:u.x-o,y:u.y-e}}}}),Vo({allowedPlacements:[e]})]});var i}var Ue=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ke 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`
157
170
  <div part="container"
158
171
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
159
172
  @mouseenter=${this.onHover}
@@ -171,7 +184,7 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
171
184
  </div>
172
185
  </div>
173
186
  </div>
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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Ce(t,o,{platform:{...$e,getOffsetParent:t=>$e.getOffsetParent(t,we)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Zo(r,t),p={x:o,y:e},s=await Mo(t,c),f=Ho(Bo(i)),d=Do(f);let h=p[d],g=p[f];if(n){const t="y"===d?"bottom":"right";h=Ko(h+s["y"===d?"top":"left"],h,h-s[t])}if(a){const t="y"===f?"bottom":"right";g=Ko(g+s["y"===f?"top":"left"],g,g-s[t])}const y=l.fn({...t,[d]:h,[f]:g});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Yo({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ke.elementDefinitions={"ft-typography":xo},ke.styles=wo,Re([r.property()],ke.prototype,"text",void 0),Re([r.property({type:Boolean})],ke.prototype,"manual",void 0),Re([r.property({type:Boolean})],ke.prototype,"inline",void 0),Re([r.property({type:Number})],ke.prototype,"delay",void 0),Re([r.property()],ke.prototype,"position",void 0),Re([r.queryAssignedNodes()],ke.prototype,"slotNodes",void 0),Re([r.query(".ft-tooltip--container")],ke.prototype,"container",void 0),Re([r.query(".ft-tooltip")],ke.prototype,"tooltip",void 0),Re([r.query(".ft-tooltip--content")],ke.prototype,"tooltipContent",void 0),Re([r.state()],ke.prototype,"visible",void 0),Re([r.eventOptions({passive:!0})],ke.prototype,"onTouch",null),Re([r.eventOptions({passive:!0})],ke.prototype,"onHover",null),Re([r.eventOptions({passive:!0})],ke.prototype,"onOut",null),Re([r.eventOptions({passive:!0})],ke.prototype,"onClick",null),o.customElement("ft-tooltip")(ke);const Ue=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Ee={color:Ue,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ue),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")},We=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Le=We,ze=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",We),Ke=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Ze=Ke,Be=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ke),Fe=e.css`
187
+ `}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Re(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ke.elementDefinitions={"ft-typography":vo},ke.styles=Eo,Ue([i.property()],ke.prototype,"text",void 0),Ue([i.property({type:Boolean})],ke.prototype,"manual",void 0),Ue([i.property({type:Boolean})],ke.prototype,"inline",void 0),Ue([i.property({type:Number})],ke.prototype,"delay",void 0),Ue([i.property()],ke.prototype,"position",void 0),Ue([i.queryAssignedNodes()],ke.prototype,"slotNodes",void 0),Ue([i.query(".ft-tooltip--container")],ke.prototype,"container",void 0),Ue([i.query(".ft-tooltip")],ke.prototype,"tooltip",void 0),Ue([i.query(".ft-tooltip--content")],ke.prototype,"tooltipContent",void 0),Ue([i.state()],ke.prototype,"visible",void 0),Ue([i.eventOptions({passive:!0})],ke.prototype,"onTouch",null),Ue([i.eventOptions({passive:!0})],ke.prototype,"onHover",null),Ue([i.eventOptions({passive:!0})],ke.prototype,"onOut",null),Ue([i.eventOptions({passive:!0})],ke.prototype,"onClick",null),o.customElement("ft-tooltip")(ke);const We=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Le={color:We,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",We),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")},Ke=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),ze=Ke,Ae=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ke),Ze=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),De=Ze,Be=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ze),Fe=e.css`
175
188
  :host {
176
189
  display: contents;
177
190
  }
@@ -184,7 +197,7 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
184
197
 
185
198
  .ft-ripple:not(.ft-ripple--unbounded) {
186
199
  overflow: hidden;
187
- border-radius: ${Ee.borderRadius};
200
+ border-radius: ${Le.borderRadius};
188
201
  }
189
202
 
190
203
  .ft-ripple .ft-ripple--background,
@@ -218,11 +231,11 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
218
231
  }
219
232
 
220
233
  .ft-ripple .ft-ripple--background {
221
- background-color: ${Ee.backgroundColor};
234
+ background-color: ${Le.backgroundColor};
222
235
  }
223
236
 
224
237
  .ft-ripple .ft-ripple--effect {
225
- background-color: ${Ee.color};
238
+ background-color: ${Le.color};
226
239
  }
227
240
 
228
241
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -230,15 +243,15 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
230
243
  }
231
244
 
232
245
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
233
- background-color: ${Ze};
246
+ background-color: ${De};
234
247
  }
235
248
 
236
249
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
237
- background-color: ${ze};
250
+ background-color: ${Ae};
238
251
  }
239
252
 
240
253
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
241
- background-color: ${Le};
254
+ background-color: ${ze};
242
255
  }
243
256
 
244
257
  .ft-ripple .ft-ripple--background {
@@ -268,33 +281,33 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
268
281
  }
269
282
 
270
283
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
271
- opacity: ${Ee.opacityContentOnSurfaceHover};
284
+ opacity: ${Le.opacityContentOnSurfaceHover};
272
285
  }
273
286
 
274
287
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
275
- opacity: ${Ee.opacityContentOnSurfaceSelected};
288
+ opacity: ${Le.opacityContentOnSurfaceSelected};
276
289
  }
277
290
 
278
291
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
279
- opacity: ${Ee.opacityContentOnSurfaceFocused};
292
+ opacity: ${Le.opacityContentOnSurfaceFocused};
280
293
  }
281
294
 
282
295
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
283
- opacity: ${Ee.opacityContentOnSurfacePressed};
296
+ opacity: ${Le.opacityContentOnSurfacePressed};
284
297
  transform: translate(-50%, -50%) scale(1);
285
298
  }
286
- `;var De,Ae,He=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ge extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.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`
299
+ `;var Te,He,Pe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ge 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),n=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-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.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`
287
300
  <style>
288
301
  .ft-ripple .ft-ripple--effect {
289
302
  left: ${this.originX}px;
290
303
  top: ${this.originY}px;
291
304
  }
292
305
  </style>
293
- <div class="${i.classMap(t)}">
306
+ <div class="${r.classMap(t)}">
294
307
  <div class="ft-ripple--background"></div>
295
308
  <div class="ft-ripple--effect"></div>
296
309
  </div>
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"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ge.elementDefinitions={},Ge.styles=Fe,He([r.property({type:Boolean})],Ge.prototype,"primary",void 0),He([r.property({type:Boolean})],Ge.prototype,"secondary",void 0),He([r.property({type:Boolean})],Ge.prototype,"unbounded",void 0),He([r.property({type:Boolean})],Ge.prototype,"activated",void 0),He([r.property({type:Boolean})],Ge.prototype,"selected",void 0),He([r.property({type:Boolean})],Ge.prototype,"disabled",void 0),He([r.state()],Ge.prototype,"hovered",void 0),He([r.state()],Ge.prototype,"focused",void 0),He([r.state()],Ge.prototype,"pressed",void 0),He([r.state()],Ge.prototype,"rippling",void 0),He([r.state()],Ge.prototype,"originX",void 0),He([r.state()],Ge.prototype,"originY",void 0),He([r.query(".ft-ripple")],Ge.prototype,"ripple",void 0),He([r.query(".ft-ripple--effect")],Ge.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Ge),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.CHART_BAR_NORMALIZED="&#xe97b;",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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(De||(De={})),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;"}(Ae||(Ae={})),new Map([...["abw"].map((t=>[t,Ae.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,Ae.AUDIO])),...["avi"].map((t=>[t,Ae.AVI])),...["chm","xhs"].map((t=>[t,Ae.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,Ae.CODE])),...["csv"].map((t=>[t,Ae.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ae.DITA])),...["epub"].map((t=>[t,Ae.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ae.EXCEL])),...["flac"].map((t=>[t,Ae.FLAC])),...["gif"].map((t=>[t,Ae.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ae.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ae.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Ae.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ae.JPEG])),...["json"].map((t=>[t,Ae.JSON])),...["m4a","m4p"].map((t=>[t,Ae.M4A])),...["mov","qt"].map((t=>[t,Ae.MOV])),...["mp3"].map((t=>[t,Ae.MP3])),...["mp4","m4v"].map((t=>[t,Ae.MP4])),...["ogg","oga"].map((t=>[t,Ae.OGG])),...["pdf","ps"].map((t=>[t,Ae.PDF])),...["png"].map((t=>[t,Ae.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ae.POWERPOINT])),...["rar"].map((t=>[t,Ae.RAR])),...["stp"].map((t=>[t,Ae.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ae.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,Ae.VIDEO])),...["wav"].map((t=>[t,Ae.WAV])),...["wma"].map((t=>[t,Ae.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ae.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ae.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ae.YAML])),...["zip"].map((t=>[t,Ae.ZIP]))]),Ae.ABW,Ae.AUDIO,Ae.AVI,Ae.CHM,Ae.CODE,Ae.CSV,Ae.DITA,Ae.EPUB,Ae.EXCEL,Ae.FLAC,Ae.GIF,Ae.GZIP,Ae.HTML,Ae.IMAGE,Ae.JPEG,Ae.JSON,Ae.M4A,Ae.MOV,Ae.MP3,Ae.MP4,Ae.OGG,Ae.PDF,Ae.PNG,Ae.POWERPOINT,Ae.RAR,Ae.STP,Ae.TEXT,Ae.UNKNOWN,Ae.VIDEO,Ae.WAV,Ae.WMA,Ae.WORD,Ae.XML,Ae.YAML,Ae.ZIP;const Pe={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")},je=e.css`
310
+ `}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),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()}}Ge.elementDefinitions={},Ge.styles=Fe,Pe([i.property({type:Boolean})],Ge.prototype,"primary",void 0),Pe([i.property({type:Boolean})],Ge.prototype,"secondary",void 0),Pe([i.property({type:Boolean})],Ge.prototype,"unbounded",void 0),Pe([i.property({type:Boolean})],Ge.prototype,"activated",void 0),Pe([i.property({type:Boolean})],Ge.prototype,"selected",void 0),Pe([i.property({type:Boolean})],Ge.prototype,"disabled",void 0),Pe([i.state()],Ge.prototype,"hovered",void 0),Pe([i.state()],Ge.prototype,"focused",void 0),Pe([i.state()],Ge.prototype,"pressed",void 0),Pe([i.state()],Ge.prototype,"rippling",void 0),Pe([i.state()],Ge.prototype,"originX",void 0),Pe([i.state()],Ge.prototype,"originY",void 0),Pe([i.query(".ft-ripple")],Ge.prototype,"ripple",void 0),Pe([i.query(".ft-ripple--effect")],Ge.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Ge),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.CHART_BAR_NORMALIZED="&#xe97b;",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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(Te||(Te={})),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;"}(He||(He={})),new Map([...["abw"].map((t=>[t,He.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,He.AUDIO])),...["avi"].map((t=>[t,He.AVI])),...["chm","xhs"].map((t=>[t,He.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,He.CODE])),...["csv"].map((t=>[t,He.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,He.DITA])),...["epub"].map((t=>[t,He.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,He.EXCEL])),...["flac"].map((t=>[t,He.FLAC])),...["gif"].map((t=>[t,He.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,He.GZIP])),...["html","htm","xhtml"].map((t=>[t,He.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,He.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,He.JPEG])),...["json"].map((t=>[t,He.JSON])),...["m4a","m4p"].map((t=>[t,He.M4A])),...["mov","qt"].map((t=>[t,He.MOV])),...["mp3"].map((t=>[t,He.MP3])),...["mp4","m4v"].map((t=>[t,He.MP4])),...["ogg","oga"].map((t=>[t,He.OGG])),...["pdf","ps"].map((t=>[t,He.PDF])),...["png"].map((t=>[t,He.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,He.POWERPOINT])),...["rar"].map((t=>[t,He.RAR])),...["stp"].map((t=>[t,He.STP])),...["txt","rtf","md","mdown"].map((t=>[t,He.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,He.VIDEO])),...["wav"].map((t=>[t,He.WAV])),...["wma"].map((t=>[t,He.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,He.WORD])),...["xml","xsl","rdf"].map((t=>[t,He.XML])),...["yaml","yml","x-yaml"].map((t=>[t,He.YAML])),...["zip"].map((t=>[t,He.ZIP]))]),He.ABW,He.AUDIO,He.AVI,He.CHM,He.CODE,He.CSV,He.DITA,He.EPUB,He.EXCEL,He.FLAC,He.GIF,He.GZIP,He.HTML,He.IMAGE,He.JPEG,He.JSON,He.M4A,He.MOV,He.MP3,He.MP4,He.OGG,He.PDF,He.PNG,He.POWERPOINT,He.RAR,He.STP,He.TEXT,He.UNKNOWN,He.VIDEO,He.WAV,He.WMA,He.WORD,He.XML,He.YAML,He.ZIP;const _e={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")},Me=e.css`
298
311
  :host, i.ft-icon {
299
312
  display: inline-flex;
300
313
  align-items: center;
@@ -303,14 +316,14 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
303
316
  }
304
317
 
305
318
  :host {
306
- width: ${Pe.size};
307
- height: ${Pe.size};
319
+ width: ${_e.size};
320
+ height: ${_e.size};
308
321
  }
309
322
 
310
323
  i.ft-icon {
311
324
  width: 100%;
312
325
  height: 100%;
313
- font-size: ${Pe.size};
326
+ font-size: ${_e.size};
314
327
  line-height: 1;
315
328
  font-weight: normal;
316
329
  text-transform: none;
@@ -321,33 +334,33 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
321
334
  text-rendering: auto;
322
335
  -webkit-font-smoothing: antialiased;
323
336
  -moz-osx-font-smoothing: grayscale;
324
- vertical-align: ${Pe.verticalAlign};
337
+ vertical-align: ${_e.verticalAlign};
325
338
  }
326
339
 
327
340
  i.ft-icon.ft-icon--fluid-topics {
328
- font-family: ${Pe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
341
+ font-family: ${_e.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
329
342
 
330
343
  /* Ugly fix because font is broken */
331
- font-size: calc(0.75 * ${Pe.size});
332
- line-height: ${Pe.size};
344
+ font-size: calc(0.75 * ${_e.size});
345
+ line-height: ${_e.size};
333
346
  position: relative;
334
347
  top: -4%;
335
348
  justify-content: center;
336
349
  }
337
350
 
338
351
  .ft-icon--file-format {
339
- font-family: ${Pe.fileFormatFontFamily}, ft-mime, sans-serif;
352
+ font-family: ${_e.fileFormatFontFamily}, ft-mime, sans-serif;
340
353
  }
341
354
 
342
355
  .ft-icon--material {
343
- font-family: ${Pe.materialFontFamily}, "Material Icons", sans-serif;
356
+ font-family: ${_e.materialFontFamily}, "Material Icons", sans-serif;
344
357
  }
345
- `;var Te;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Te||(Te={}));var Me=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _e extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Te).includes(this.variant)?this.variant:Te.fluid_topics,o=t!==Te.material||!!this.value;return e.html`
358
+ `;var je;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(je||(je={}));var Ye=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ve extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,o=t!==je.material||!!this.value;return e.html`
346
359
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
347
360
  ${n.unsafeHTML(this.resolvedIcon)}
348
361
  <slot ?hidden=${o}></slot>
349
362
  </i>
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 r=this.value||this.textContent;switch(this.variant){case Te.file_format:this.resolvedIcon=null!==(t=Ae[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Te.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=De[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_e.elementDefinitions={},_e.styles=je,Me([r.property()],_e.prototype,"variant",void 0),Me([r.property()],_e.prototype,"value",void 0),Me([r.state()],_e.prototype,"resolvedIcon",void 0),Me([r.query("slot")],_e.prototype,"slottedContent",void 0),o.customElement("ft-icon")(_e);const Ye={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ve=e.css`
363
+ `}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 je.file_format:this.resolvedIcon=null!==(t=He[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case je.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Te[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ve.elementDefinitions={},Ve.styles=Me,Ye([i.property()],Ve.prototype,"variant",void 0),Ye([i.property()],Ve.prototype,"value",void 0),Ye([i.state()],Ve.prototype,"resolvedIcon",void 0),Ye([i.query("slot")],Ve.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Ve);const Xe={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},qe=e.css`
351
364
  :host {
352
365
  line-height: 0;
353
366
  }
@@ -356,8 +369,8 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
356
369
  display: inline-block;
357
370
  position: relative;
358
371
 
359
- width: ${Ye.size};
360
- height: ${Ye.size};
372
+ width: ${Xe.size};
373
+ height: ${Xe.size};
361
374
  }
362
375
 
363
376
  .ft-loader div {
@@ -366,7 +379,7 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
366
379
  width: 25%;
367
380
  height: 25%;
368
381
  border-radius: 50%;
369
- background: ${Ye.color};
382
+ background: ${Xe.color};
370
383
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
371
384
  }
372
385
 
@@ -413,10 +426,10 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
413
426
  transform: translate(0, 0);
414
427
  }
415
428
  100% {
416
- transform: translate(calc(0.35 * ${Ye.size}), 0);
429
+ transform: translate(calc(0.35 * ${Xe.size}), 0);
417
430
  }
418
431
  }
419
- `,Xe=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),qe={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Xe,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",io.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Xe),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")},Je=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Qe={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Je,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Je)},tr=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),or=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),er=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),rr=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),ir=[e.css`
432
+ `,Je=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Qe={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Je,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",no.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Je),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")},ti=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),oi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:ti,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ti)},ei=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),ii=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ri=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ni=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),ai=[e.css`
420
433
  :host {
421
434
  display: inline-block;
422
435
  max-width: 100%;
@@ -427,7 +440,7 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
427
440
  box-shadow: 0px 0px 0px transparent;
428
441
  border: 0px solid transparent;
429
442
  text-shadow: 0px 0px 0px transparent;
430
- font-size: ${qe.fontSize};
443
+ font-size: ${Qe.fontSize};
431
444
  }
432
445
 
433
446
  button:hover {
@@ -456,31 +469,31 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
456
469
  border: none;
457
470
  pointer-events: auto;
458
471
 
459
- --ft-button-internal-line-height: max(calc(${qe.fontSize} + 2px), ${qe.iconSize});
460
- --ft-button-internal-color: ${qe.color};
461
- ${o.setVariable(Pe.size,qe.iconSize)};
462
- ${o.setVariable(Ee.color,qe.rippleColor)};
472
+ --ft-button-internal-line-height: max(calc(${Qe.fontSize} + 2px), ${Qe.iconSize});
473
+ --ft-button-internal-color: ${Qe.color};
474
+ ${o.setVariable(_e.size,Qe.iconSize)};
475
+ ${o.setVariable(Le.color,Qe.rippleColor)};
463
476
 
464
- border-radius: ${qe.borderRadius};
465
- padding: ${qe.verticalPadding} ${qe.horizontalPadding};
466
- background-color: ${qe.backgroundColor};
477
+ border-radius: ${Qe.borderRadius};
478
+ padding: ${Qe.verticalPadding} ${Qe.horizontalPadding};
479
+ background-color: ${Qe.backgroundColor};
467
480
  color: var(--ft-button-internal-color);
468
481
  -webkit-mask-image: radial-gradient(white, black);
469
482
  }
470
483
 
471
484
  .ft-button.ft-button--outlined {
472
485
  border: 1px solid var(--ft-button-internal-color);
473
- padding: calc(${qe.verticalPadding} - 1px) calc(${qe.horizontalPadding} - 1px);
486
+ padding: calc(${Qe.verticalPadding} - 1px) calc(${Qe.horizontalPadding} - 1px);
474
487
  }
475
488
 
476
489
  .ft-button.ft-button--dense {
477
- padding: ${or} ${er};
478
- border-radius: ${tr};
479
- gap: ${rr};
490
+ padding: ${ii} ${ri};
491
+ border-radius: ${ei};
492
+ gap: ${ni};
480
493
  }
481
494
 
482
495
  .ft-button.ft-button--dense.ft-button--outlined {
483
- padding: calc(${or} - 1px) calc(${er} - 1px);
496
+ padding: calc(${ii} - 1px) calc(${ri} - 1px);
484
497
  }
485
498
 
486
499
  .ft-button:not([disabled]):hover {
@@ -488,22 +501,22 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
488
501
  }
489
502
 
490
503
  .ft-button--round {
491
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${qe.verticalPadding});
504
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Qe.verticalPadding});
492
505
  }
493
506
 
494
507
  .ft-button--round.ft-button--dense {
495
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${or});
508
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ii});
496
509
  }
497
510
 
498
511
  .ft-button[disabled] {
499
512
  filter: grayscale(1);
500
- opacity: ${qe.opacityDisabled};
513
+ opacity: ${Qe.opacityDisabled};
501
514
  }
502
515
 
503
516
  .ft-button.ft-button--primary {
504
- background-color: ${Qe.backgroundColor};
505
- --ft-button-internal-color: ${Qe.color};
506
- ${o.setVariable(Ee.color,Qe.rippleColor)};
517
+ background-color: ${oi.backgroundColor};
518
+ --ft-button-internal-color: ${oi.color};
519
+ ${o.setVariable(Le.color,oi.rippleColor)};
507
520
  }
508
521
 
509
522
  .ft-button:focus {
@@ -516,13 +529,13 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
516
529
  white-space: nowrap;
517
530
  text-overflow: ellipsis;
518
531
  display: block;
519
- margin: 0 ${qe.iconPadding};
520
- ${o.setVariable(io.fontSize,"1em")};
521
- ${o.setVariable(io.lineHeight,"var(--ft-button-internal-line-height)")};
532
+ margin: 0 ${Qe.iconPadding};
533
+ ${o.setVariable(no.fontSize,"1em")};
534
+ ${o.setVariable(no.lineHeight,"var(--ft-button-internal-line-height)")};
522
535
  }
523
536
 
524
537
  .ft-button--dense .ft-button--label {
525
- margin: 0 ${rr};
538
+ margin: 0 ${ni};
526
539
  }
527
540
 
528
541
  .ft-button--label[hidden] {
@@ -535,13 +548,13 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
535
548
  }
536
549
 
537
550
  .ft-button--label[hidden] + ft-icon {
538
- margin: 0 calc(${qe.horizontalPadding} * -1);
539
- padding: 0 ${qe.verticalPadding};
551
+ margin: 0 calc(${Qe.horizontalPadding} * -1);
552
+ padding: 0 ${Qe.verticalPadding};
540
553
  }
541
554
 
542
555
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
543
- margin: 0 calc(${er} * -1);
544
- padding: 0 ${or};
556
+ margin: 0 calc(${ri} * -1);
557
+ padding: 0 ${ii};
545
558
  }
546
559
 
547
560
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -550,19 +563,19 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
550
563
  }
551
564
 
552
565
  ft-loader {
553
- ${o.setVariable(Ye.size,qe.iconSize)};
554
- ${o.setVariable(Ye.color,"var(--ft-button-internal-color)")};
566
+ ${o.setVariable(Xe.size,Qe.iconSize)};
567
+ ${o.setVariable(Xe.color,"var(--ft-button-internal-color)")};
555
568
  }
556
- `,o.noTextSelect];class nr extends o.FtLitElement{render(){return e.html`
569
+ `,o.noTextSelect];class li extends o.FtLitElement{render(){return e.html`
557
570
  <div class="ft-loader">
558
571
  <div></div>
559
572
  <div></div>
560
573
  <div></div>
561
574
  <div></div>
562
575
  </div>
563
- `}}nr.styles=Ve,o.customElement("ft-loader")(nr);var ar=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class lr 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`
576
+ `}}li.styles=qe,o.customElement("ft-loader")(li);var ci=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class si extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),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.addEventListener("click",(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`
564
577
  <button part="button"
565
- class="${i.classMap(this.buttonClasses)}"
578
+ class="${r.classMap(this.buttonClasses)}"
566
579
  aria-label="${this.getLabel()}"
567
580
  ?disabled=${this.isDisabled()}>
568
581
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -583,7 +596,7 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
583
596
  </ft-tooltip>
584
597
  `:t}resolveIcon(){return this.loading?e.html`
585
598
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
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}}lr.elementDefinitions={"ft-ripple":Ge,"ft-tooltip":ke,"ft-typography":xo,"ft-icon":_e,"ft-loader":nr},ar([r.property({type:String,reflect:!0})],lr.prototype,"role",void 0),ar([r.property()],lr.prototype,"type",void 0),ar([r.property({type:Boolean})],lr.prototype,"disabled",void 0),ar([r.property()],lr.prototype,"label",void 0),ar([r.property()],lr.prototype,"icon",void 0),ar([r.property()],lr.prototype,"iconVariant",void 0),ar([r.property({type:Boolean})],lr.prototype,"trailingIcon",void 0),ar([r.property({type:Boolean})],lr.prototype,"loading",void 0),ar([r.property()],lr.prototype,"tooltipPosition",void 0),ar([r.property({type:Boolean})],lr.prototype,"hideTooltip",void 0),ar([r.property({type:Boolean})],lr.prototype,"forceTooltip",void 0),ar([r.query(".ft-button")],lr.prototype,"button",void 0),ar([r.query(".ft-button--label slot")],lr.prototype,"slottedContent",void 0);var cr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pr extends lr{constructor(){super(...arguments),this.primary=!1,this.outlined=!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"}}pr.styles=[o.safariEllipsisFix,ir],cr([r.property({type:Boolean})],pr.prototype,"primary",void 0),cr([r.property({type:Boolean})],pr.prototype,"outlined",void 0),cr([r.property({type:Boolean})],pr.prototype,"dense",void 0),cr([r.property({type:Boolean})],pr.prototype,"round",void 0);const sr=[e.css`
599
+ <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}}si.elementDefinitions={"ft-ripple":Ge,"ft-tooltip":ke,"ft-typography":vo,"ft-icon":Ve,"ft-loader":li},ci([i.property({type:String,reflect:!0})],si.prototype,"role",void 0),ci([i.property()],si.prototype,"type",void 0),ci([i.property({type:Boolean})],si.prototype,"disabled",void 0),ci([i.property()],si.prototype,"label",void 0),ci([i.property()],si.prototype,"icon",void 0),ci([i.property()],si.prototype,"iconVariant",void 0),ci([i.property({type:Boolean})],si.prototype,"trailingIcon",void 0),ci([i.property({type:Boolean})],si.prototype,"loading",void 0),ci([i.property()],si.prototype,"tooltipPosition",void 0),ci([i.property({type:Boolean})],si.prototype,"hideTooltip",void 0),ci([i.property({type:Boolean})],si.prototype,"forceTooltip",void 0),ci([i.query(".ft-button")],si.prototype,"button",void 0),ci([i.query(".ft-button--label slot")],si.prototype,"slottedContent",void 0);var pi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fi extends si{constructor(){super(...arguments),this.primary=!1,this.outlined=!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"}}fi.styles=[o.safariEllipsisFix,ai],pi([i.property({type:Boolean})],fi.prototype,"primary",void 0),pi([i.property({type:Boolean})],fi.prototype,"outlined",void 0),pi([i.property({type:Boolean})],fi.prototype,"dense",void 0),pi([i.property({type:Boolean})],fi.prototype,"round",void 0);const di=[e.css`
587
600
  :host {
588
601
  display: inline-block;
589
602
  max-width: 100%;
@@ -633,7 +646,7 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
633
646
  }
634
647
 
635
648
  .ft-button:focus-visible {
636
- outline-color: ${nt.focusFocusRingColor};
649
+ outline-color: ${at.focusFocusRingColor};
637
650
  outline-style: solid;
638
651
  }
639
652
 
@@ -662,146 +675,146 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
662
675
  /** Primary styles **/
663
676
 
664
677
  .ft-button--primary {
665
- ${o.setVariable(Ye.color,nt.primaryIconColor)};
678
+ ${o.setVariable(Xe.color,at.primaryIconColor)};
666
679
 
667
- ${o.setVariable(Ee.color,nt.primaryStateLayerColor)};
668
- ${o.setVariable(Ee.opacityContentOnSurfaceHover,nt.primaryStateLayerOpacityHover)};
669
- ${o.setVariable(Ee.opacityContentOnSurfaceFocused,nt.primaryStateLayerOpacityFocus)};
670
- ${o.setVariable(Ee.opacityContentOnSurfaceSelected,nt.primaryStateLayerOpacityActive)};
671
- ${o.setVariable(Ee.opacityContentOnSurfacePressed,nt.primaryStateLayerOpacityActive)};
680
+ ${o.setVariable(Le.color,at.primaryStateLayerColor)};
681
+ ${o.setVariable(Le.opacityContentOnSurfaceHover,at.primaryStateLayerOpacityHover)};
682
+ ${o.setVariable(Le.opacityContentOnSurfaceFocused,at.primaryStateLayerOpacityFocus)};
683
+ ${o.setVariable(Le.opacityContentOnSurfaceSelected,at.primaryStateLayerOpacityActive)};
684
+ ${o.setVariable(Le.opacityContentOnSurfacePressed,at.primaryStateLayerOpacityActive)};
672
685
 
673
- background-color: ${nt.primaryBackgroundColor};
674
- color: ${nt.primaryColor};
686
+ background-color: ${at.primaryBackgroundColor};
687
+ color: ${at.primaryColor};
675
688
  border-style: none;
676
689
  }
677
690
 
678
691
  .ft-button--primary[disabled] {
679
- opacity: ${nt.primaryComponentOpacityDisabled};
692
+ opacity: ${at.primaryComponentOpacityDisabled};
680
693
  }
681
694
 
682
695
  .ft-button--primary ft-icon {
683
- color: ${nt.primaryIconColor};
696
+ color: ${at.primaryIconColor};
684
697
  }
685
698
 
686
699
  /** Secondary styles **/
687
700
 
688
701
  .ft-button--secondary {
689
- ${o.setVariable(Ye.color,nt.secondaryIconColor)};
702
+ ${o.setVariable(Xe.color,at.secondaryIconColor)};
690
703
 
691
- ${o.setVariable(Ee.color,nt.secondaryStateLayerColor)};
692
- ${o.setVariable(Ee.opacityContentOnSurfaceHover,nt.secondaryStateLayerOpacityHover)};
693
- ${o.setVariable(Ee.opacityContentOnSurfaceFocused,nt.secondaryStateLayerOpacityFocus)};
694
- ${o.setVariable(Ee.opacityContentOnSurfaceSelected,nt.secondaryStateLayerOpacityActive)};
695
- ${o.setVariable(Ee.opacityContentOnSurfacePressed,nt.secondaryStateLayerOpacityActive)};
704
+ ${o.setVariable(Le.color,at.secondaryStateLayerColor)};
705
+ ${o.setVariable(Le.opacityContentOnSurfaceHover,at.secondaryStateLayerOpacityHover)};
706
+ ${o.setVariable(Le.opacityContentOnSurfaceFocused,at.secondaryStateLayerOpacityFocus)};
707
+ ${o.setVariable(Le.opacityContentOnSurfaceSelected,at.secondaryStateLayerOpacityActive)};
708
+ ${o.setVariable(Le.opacityContentOnSurfacePressed,at.secondaryStateLayerOpacityActive)};
696
709
 
697
- background-color: ${nt.secondaryBackgroundColor};
698
- color: ${nt.secondaryColor};
699
- border-color: ${nt.secondaryBorderColor};
710
+ background-color: ${at.secondaryBackgroundColor};
711
+ color: ${at.secondaryColor};
712
+ border-color: ${at.secondaryBorderColor};
700
713
  border-style: solid;
701
714
  }
702
715
 
703
716
  .ft-button--secondary[disabled] {
704
- opacity: ${nt.secondaryComponentOpacityDisabled};
717
+ opacity: ${at.secondaryComponentOpacityDisabled};
705
718
  }
706
719
 
707
720
  .ft-button--secondary ft-icon {
708
- color: ${nt.secondaryIconColor};
721
+ color: ${at.secondaryIconColor};
709
722
  }
710
723
 
711
724
  /** Tertiary styles **/
712
725
 
713
726
  .ft-button--tertiary {
714
- ${o.setVariable(Ye.color,nt.tertiaryIconColor)};
727
+ ${o.setVariable(Xe.color,at.tertiaryIconColor)};
715
728
 
716
- ${o.setVariable(Ee.color,nt.tertiaryStateLayerColor)};
717
- ${o.setVariable(Ee.opacityContentOnSurfaceHover,nt.tertiaryStateLayerOpacityHover)};
718
- ${o.setVariable(Ee.opacityContentOnSurfaceFocused,nt.tertiaryStateLayerOpacityFocus)};
719
- ${o.setVariable(Ee.opacityContentOnSurfaceSelected,nt.tertiaryStateLayerOpacityActive)};
720
- ${o.setVariable(Ee.opacityContentOnSurfacePressed,nt.tertiaryStateLayerOpacityActive)};
729
+ ${o.setVariable(Le.color,at.tertiaryStateLayerColor)};
730
+ ${o.setVariable(Le.opacityContentOnSurfaceHover,at.tertiaryStateLayerOpacityHover)};
731
+ ${o.setVariable(Le.opacityContentOnSurfaceFocused,at.tertiaryStateLayerOpacityFocus)};
732
+ ${o.setVariable(Le.opacityContentOnSurfaceSelected,at.tertiaryStateLayerOpacityActive)};
733
+ ${o.setVariable(Le.opacityContentOnSurfacePressed,at.tertiaryStateLayerOpacityActive)};
721
734
 
722
- background-color: ${nt.tertiaryBackgroundColor};
723
- color: ${nt.tertiaryColor};
735
+ background-color: ${at.tertiaryBackgroundColor};
736
+ color: ${at.tertiaryColor};
724
737
  border-style: none;
725
738
  }
726
739
 
727
740
  .ft-button--tertiary[disabled] {
728
- opacity: ${nt.tertiaryComponentOpacityDisabled};
741
+ opacity: ${at.tertiaryComponentOpacityDisabled};
729
742
  }
730
743
 
731
744
  .ft-button--tertiary ft-icon {
732
- color: ${nt.tertiaryIconColor};
745
+ color: ${at.tertiaryIconColor};
733
746
  }
734
747
 
735
748
  /** Neutral styles **/
736
749
 
737
750
  .ft-button--neutral {
738
- ${o.setVariable(Ye.color,nt.neutralIconColor)};
751
+ ${o.setVariable(Xe.color,at.neutralIconColor)};
739
752
 
740
- ${o.setVariable(Ee.backgroundColor,nt.neutralStateLayerColor)};
741
- ${o.setVariable(Ee.opacityContentOnSurfaceHover,nt.neutralStateLayerOpacityHover)};
742
- ${o.setVariable(Ee.opacityContentOnSurfaceFocused,nt.neutralStateLayerOpacityFocus)};
743
- ${o.setVariable(Ee.opacityContentOnSurfaceSelected,nt.neutralStateLayerOpacityActive)};
744
- ${o.setVariable(Ee.opacityContentOnSurfacePressed,nt.neutralStateLayerOpacityActive)};
753
+ ${o.setVariable(Le.backgroundColor,at.neutralStateLayerColor)};
754
+ ${o.setVariable(Le.opacityContentOnSurfaceHover,at.neutralStateLayerOpacityHover)};
755
+ ${o.setVariable(Le.opacityContentOnSurfaceFocused,at.neutralStateLayerOpacityFocus)};
756
+ ${o.setVariable(Le.opacityContentOnSurfaceSelected,at.neutralStateLayerOpacityActive)};
757
+ ${o.setVariable(Le.opacityContentOnSurfacePressed,at.neutralStateLayerOpacityActive)};
745
758
 
746
- background-color: ${nt.neutralBackgroundColor};
747
- color: ${nt.neutralColor};
759
+ background-color: ${at.neutralBackgroundColor};
760
+ color: ${at.neutralColor};
748
761
  border-style: none;
749
762
  }
750
763
 
751
764
  .ft-button--neutral[disabled] {
752
- opacity: ${nt.neutralComponentOpacityDisabled};
765
+ opacity: ${at.neutralComponentOpacityDisabled};
753
766
  }
754
767
 
755
768
  .ft-button--neutral ft-icon {
756
- color: ${nt.neutralIconColor};
769
+ color: ${at.neutralIconColor};
757
770
  }
758
771
 
759
772
  /** Large styles **/
760
773
 
761
774
  .ft-button--large {
762
- ${o.setVariable(Pe.size,nt.largeIconSize)};
763
- ${o.setVariable(Ye.size,nt.largeIconSize)};
775
+ ${o.setVariable(_e.size,at.largeIconSize)};
776
+ ${o.setVariable(Xe.size,at.largeIconSize)};
764
777
 
765
- height: ${nt.largeHeight};
766
- padding: 0 ${nt.largeHorizontalPadding};
767
- gap: ${nt.largeGap};
768
- border-radius: ${nt.largeBorderRadius};
769
- border-width: ${nt.largeBorderWidth};
778
+ height: ${at.largeHeight};
779
+ padding: 0 ${at.largeHorizontalPadding};
780
+ gap: ${at.largeGap};
781
+ border-radius: ${at.largeBorderRadius};
782
+ border-width: ${at.largeBorderWidth};
770
783
  }
771
784
 
772
785
  .ft-button--large:focus-visible {
773
- outline-width: ${nt.largeFocusOutlineWidth};
774
- outline-offset: ${nt.largeFocusOutlineOffset};
786
+ outline-width: ${at.largeFocusOutlineWidth};
787
+ outline-offset: ${at.largeFocusOutlineOffset};
775
788
  }
776
789
 
777
790
  .ft-button--large.ft-button--icon-only {
778
- width: ${nt.largeIconOnlyWidth};
791
+ width: ${at.largeIconOnlyWidth};
779
792
  padding: unset;
780
793
  }
781
794
 
782
795
  /** Small styles **/
783
796
 
784
797
  .ft-button--small {
785
- ${o.setVariable(Pe.size,nt.smallIconSize)};
786
- ${o.setVariable(Ye.size,nt.smallIconSize)};
798
+ ${o.setVariable(_e.size,at.smallIconSize)};
799
+ ${o.setVariable(Xe.size,at.smallIconSize)};
787
800
 
788
- height: ${nt.smallHeight};
789
- padding: 0 ${nt.smallHorizontalPadding};
790
- gap: ${nt.smallGap};
791
- border-radius: ${nt.smallBorderRadius};
792
- border-width: ${nt.smallBorderWidth};
801
+ height: ${at.smallHeight};
802
+ padding: 0 ${at.smallHorizontalPadding};
803
+ gap: ${at.smallGap};
804
+ border-radius: ${at.smallBorderRadius};
805
+ border-width: ${at.smallBorderWidth};
793
806
  }
794
807
 
795
808
  .ft-button--small:focus-visible {
796
- outline-width: ${nt.smallFocusOutlineWidth};
797
- outline-offset: ${nt.smallFocusOutlineOffset};
809
+ outline-width: ${at.smallFocusOutlineWidth};
810
+ outline-offset: ${at.smallFocusOutlineOffset};
798
811
  }
799
812
 
800
813
  .ft-button--small.ft-button--icon-only {
801
- width: ${nt.smallIconOnlyWidth};
814
+ width: ${at.smallIconOnlyWidth};
802
815
  padding: unset;
803
816
  }
804
- `,o.noTextSelect];var fr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class dr extends lr{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?Q.caption1medium:Q.body2medium}}dr.styles=[o.safariEllipsisFix,sr],fr([r.property({type:Boolean})],dr.prototype,"primary",void 0),fr([r.property({type:Boolean})],dr.prototype,"secondary",void 0),fr([r.property({type:Boolean})],dr.prototype,"tertiary",void 0),fr([r.property({type:Boolean})],dr.prototype,"neutral",void 0),fr([r.property({type:Boolean})],dr.prototype,"small",void 0),o.customElement("ft-button")(pr),o.customElement("ftds-button")(dr);const hr=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),gr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:hr,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Dt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",hr),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")},yr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),ur={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:yr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",yr)},br=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),mr=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),xr=[o.noTextSelect,e.css`
817
+ `,o.noTextSelect];var hi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gi extends si{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?tt.caption1medium:tt.body2medium}}gi.styles=[o.safariEllipsisFix,di],hi([i.property({type:Boolean})],gi.prototype,"primary",void 0),hi([i.property({type:Boolean})],gi.prototype,"secondary",void 0),hi([i.property({type:Boolean})],gi.prototype,"tertiary",void 0),hi([i.property({type:Boolean})],gi.prototype,"neutral",void 0),hi([i.property({type:Boolean})],gi.prototype,"small",void 0),o.customElement("ft-button")(fi),o.customElement("ftds-button")(gi);const ui=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),yi={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:ui,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Ft.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ui),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")},bi=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),mi={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:bi,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",bi)},xi=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),vi=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Oi=[o.noTextSelect,e.css`
805
818
  :host {
806
819
  display: inline-block;
807
820
  max-width: 100%;
@@ -817,20 +830,20 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
817
830
  box-sizing: border-box;
818
831
  pointer-events: auto;
819
832
 
820
- --ft-chip-internal-font-size: ${gr.fontSize};
833
+ --ft-chip-internal-font-size: ${yi.fontSize};
821
834
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
822
- ${o.setVariable(Pe.size,gr.iconSize)};
823
- --ft-chip-internal-vertical-padding: ${gr.verticalPadding};
824
- --ft-chip-internal-horizontal-padding: ${gr.horizontalPadding};
835
+ ${o.setVariable(_e.size,yi.iconSize)};
836
+ --ft-chip-internal-vertical-padding: ${yi.verticalPadding};
837
+ --ft-chip-internal-horizontal-padding: ${yi.horizontalPadding};
825
838
  --ft-chip-internal-icon-padding: 3px;
826
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${gr.iconSize});
839
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${yi.iconSize});
827
840
 
828
- border: 1px solid ${gr.colorOutline};
829
- color: ${gr.color};
830
- ${o.setVariable(Ee.color,gr.rippleColor)};
841
+ border: 1px solid ${yi.colorOutline};
842
+ color: ${yi.color};
843
+ ${o.setVariable(Le.color,yi.rippleColor)};
831
844
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
832
845
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
833
- background-color: ${gr.backgroundColor};
846
+ background-color: ${yi.backgroundColor};
834
847
  line-height: var(--ft-chip-internal-content-height);
835
848
  }
836
849
 
@@ -840,8 +853,8 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
840
853
 
841
854
  .ft-chip--dense {
842
855
  --ft-chip-internal-icon-padding: 3px;
843
- --ft-chip-internal-vertical-padding: ${mr};
844
- --ft-chip-internal-horizontal-padding: ${br};
856
+ --ft-chip-internal-vertical-padding: ${vi};
857
+ --ft-chip-internal-horizontal-padding: ${xi};
845
858
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
846
859
  }
847
860
 
@@ -853,15 +866,15 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
853
866
  cursor: default;
854
867
  pointer-events: none;
855
868
  filter: grayscale(1);
856
- opacity: ${gr.opacityDisabled};
869
+ opacity: ${yi.opacityDisabled};
857
870
  }
858
871
 
859
872
  .ft-chip--highlighted {
860
873
  border: none;
861
874
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
862
- background-color: ${ur.backgroundColor};
863
- ${o.setVariable(Ee.color,ur.rippleColor)};
864
- color: ${ur.color};
875
+ background-color: ${mi.backgroundColor};
876
+ ${o.setVariable(Le.color,mi.rippleColor)};
877
+ color: ${mi.color};
865
878
  }
866
879
 
867
880
  .ft-chip--clickable {
@@ -891,9 +904,9 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
891
904
  }
892
905
 
893
906
  .ft-chip--icon-button {
894
- ${o.setVariable(qe.iconSize,gr.iconSize)};
895
- ${o.setVariable(qe.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
896
- ${o.setVariable(qe.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
907
+ ${o.setVariable(Qe.iconSize,yi.iconSize)};
908
+ ${o.setVariable(Qe.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
909
+ ${o.setVariable(Qe.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
897
910
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
898
911
  }
899
912
 
@@ -901,8 +914,8 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
901
914
  vertical-align: bottom;
902
915
  display: block;
903
916
  margin: 0 var(--ft-chip-internal-horizontal-padding);
904
- ${o.setVariable(Dt.fontSize,"var(--ft-chip-internal-font-size)")};
905
- ${o.setVariable(Dt.lineHeight,"var(--ft-chip-internal-content-height)")};
917
+ ${o.setVariable(Ft.fontSize,"var(--ft-chip-internal-font-size)")};
918
+ ${o.setVariable(Ft.lineHeight,"var(--ft-chip-internal-content-height)")};
906
919
  }
907
920
 
908
921
  .ft-chip--safari-fix .ft-chip--label {
@@ -938,8 +951,8 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
938
951
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
939
952
  order: -1;
940
953
  }
941
- `];var Or=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vr extends CustomEvent{constructor(){super("icon-click")}}class Nr 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="${i.classMap(t)}"
954
+ `];var Ni=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Si extends CustomEvent{constructor(){super("icon-click")}}class wi 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`
955
+ <div class="${r.classMap(t)}"
943
956
  aria-label="${this.getLabel()}"
944
957
  tabindex="${this.interactionsOnChip?0:-1}"
945
958
  @keyup=${this.onKeyUp}>
@@ -961,17 +974,166 @@ const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},X=t=>({_$litSta
961
974
  <div class="ft-chip--icon-container ft-no-text-select">
962
975
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
963
976
  </div>
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 vr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new vr))}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)}}Nr.elementDefinitions={"ft-ripple":Ge,"ft-typography":xo,"ft-icon":_e,"ft-button":pr},Nr.styles=xr,Or([r.property({type:Boolean})],Nr.prototype,"highlighted",void 0),Or([r.property({type:Boolean})],Nr.prototype,"removable",void 0),Or([r.property({type:Boolean})],Nr.prototype,"disabled",void 0),Or([r.property({type:Boolean})],Nr.prototype,"clickable",void 0),Or([r.property({type:Boolean})],Nr.prototype,"iconClickable",void 0),Or([r.property({type:Boolean})],Nr.prototype,"dense",void 0),Or([r.property({type:Boolean})],Nr.prototype,"multiLine",void 0),Or([r.property()],Nr.prototype,"label",void 0),Or([r.property()],Nr.prototype,"iconLabel",void 0),Or([r.property()],Nr.prototype,"icon",void 0),Or([r.property()],Nr.prototype,"iconVariant",void 0),Or([r.property({type:Boolean})],Nr.prototype,"trailingIcon",void 0),Or([r.query("ft-typography slot")],Nr.prototype,"slottedContent",void 0),o.customElement("ft-chip")(Nr);var Sr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $r extends f{constructor(){super(...arguments),this.editorMode=!1}render(){return e.html`
977
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Si))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Si))}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)}}wi.elementDefinitions={"ft-ripple":Ge,"ft-typography":vo,"ft-icon":Ve,"ft-button":fi},wi.styles=Oi,Ni([i.property({type:Boolean})],wi.prototype,"highlighted",void 0),Ni([i.property({type:Boolean})],wi.prototype,"removable",void 0),Ni([i.property({type:Boolean})],wi.prototype,"disabled",void 0),Ni([i.property({type:Boolean})],wi.prototype,"clickable",void 0),Ni([i.property({type:Boolean})],wi.prototype,"iconClickable",void 0),Ni([i.property({type:Boolean})],wi.prototype,"dense",void 0),Ni([i.property({type:Boolean})],wi.prototype,"multiLine",void 0),Ni([i.property()],wi.prototype,"label",void 0),Ni([i.property()],wi.prototype,"iconLabel",void 0),Ni([i.property()],wi.prototype,"icon",void 0),Ni([i.property()],wi.prototype,"iconVariant",void 0),Ni([i.property({type:Boolean})],wi.prototype,"trailingIcon",void 0),Ni([i.query("ft-typography slot")],wi.prototype,"slottedContent",void 0),o.customElement("ft-chip")(wi);const $i=o.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),Ci=o.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),Ei=o.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),Ii=o.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",o.designSystemVariables.colorOnSurfaceHigh),Ri=o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),Ui=o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),ki=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Wi=e.css`
978
+ .ft-floating-menu {
979
+ color: ${Ii};
980
+ display: inline-block;
981
+ }
982
+
983
+ .ft-floating-menu--wrapper {
984
+ position: absolute;
985
+ visibility: hidden;
986
+ }
987
+
988
+ .ft-floating-menu--wrapper.ft-floating-menu--wrapper-positioned {
989
+ visibility: visible;
990
+ }
991
+
992
+ .ft-floating-menu--options {
993
+ display: none;
994
+ position: relative;
995
+ overflow: auto;
996
+ max-width: ${Ci};
997
+ max-height: ${Ei};
998
+ box-shadow: ${Ui};
999
+ background-color: ${Ri};
1000
+ border-radius: ${ki};
1001
+ color: ${Ii};
1002
+ z-index: ${$i};
1003
+ }
1004
+
1005
+ .ft-floating-menu--open .ft-floating-menu--options {
1006
+ display: block;
1007
+ }
1008
+ `,Li=o.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),Ki=e.css`
1009
+ .ft-floating-menu-item {
1010
+ cursor: pointer;
1011
+ display: flex;
1012
+ position: relative;
1013
+ align-items: center;
1014
+ justify-content: flex-start;
1015
+ overflow: hidden;
1016
+ padding: 4px 16px;
1017
+ outline: none;
1018
+ min-height: 48px;
1019
+ gap: 16px;
1020
+ }
1021
+
1022
+ .ft-floating-menu-item ft-icon {
1023
+ color: ${Li};
1024
+ margin-left: 0;
1025
+ flex-shrink: 0;
1026
+ flex-grow: 0;
1027
+ }
1028
+
1029
+ .ft-floating-menu-item ft-typography {
1030
+ flex-shrink: 1;
1031
+ flex-grow: 1;
1032
+ width: max-content;
1033
+ text-overflow: ellipsis;
1034
+ overflow: hidden;
1035
+ word-break: break-word;
1036
+ hyphens: auto;
1037
+ }
1038
+ `;var zi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ai extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Zi extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return e.html`
1039
+ <div class="ft-floating-menu-item"
1040
+ tabindex=${this.notFocusable?"-1":"0"}
1041
+ @keydown=${t=>this.onKeyDown(t)}
1042
+ @click=${this.onClick}>
1043
+ <ft-ripple></ft-ripple>
1044
+ ${this.icon?e.html`
1045
+ <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1046
+ `:e.nothing}
1047
+ <ft-typography variant="body2">
1048
+ <slot></slot>
1049
+ </ft-typography>
1050
+ </div>
1051
+ `}onClick(t){this.dispatchEvent(new Ai(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new Ai(this.value)))}}Zi.elementDefinitions={"ft-icon":Ve,"ft-ripple":Ge,"ft-typography":vo},Zi.styles=Ki,zi([i.property()],Zi.prototype,"iconVariant",void 0),zi([i.property()],Zi.prototype,"icon",void 0),zi([i.property()],Zi.prototype,"value",void 0),zi([i.property({type:Boolean})],Zi.prototype,"notFocusable",void 0);var Di=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Bi extends o.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=je.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
1052
+ <div class="${r.classMap(t)}">
1053
+
1054
+ <slot name="toggle"
1055
+ part="toggle"
1056
+ @click=${this.toggleMenu}>
1057
+ <ft-or-ftds-button id="actions-button"
1058
+ part="button"
1059
+ ?primary=${this.primary}
1060
+ ?secondary=${this.secondary}
1061
+ ?tertiary=${this.tertiary}
1062
+ ?neutral=${this.neutral}
1063
+ ?small=${this.small}
1064
+ dense round
1065
+ icon="${this.icon}"
1066
+ .iconVariant=${this.iconVariant}
1067
+ .label=${this.label}
1068
+ .tooltipPosition=${this.tooltipPosition}
1069
+ ?disabled=${this.disabled}
1070
+ aria-controls="ft-floating-menu-options"
1071
+ aria-expanded="${this.forceMenuOpen||this.menuOpen}">
1072
+ ${this.text}
1073
+ </ft-or-ftds-button>
1074
+ </slot>
1075
+ <div class="ft-floating-menu--wrapper">
1076
+ <div id="ft-floating-menu-options"
1077
+ class="ft-floating-menu--options"
1078
+ part="options"
1079
+ @select="${this.closeMenu}">
1080
+ <slot id="ft-floating-menu-content"
1081
+ @click=${this.onContentClick}
1082
+ @close-ft-floating-menu=${this.onCloseEvent}
1083
+ ></slot>
1084
+ </div>
1085
+ </div>
1086
+ </div>
1087
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Re(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Bi.elementDefinitions={"ft-floating-menu-item":Zi},Di([i.state()],Bi.prototype,"menuOpen",void 0),Di([i.state()],Bi.prototype,"forceMenuOpen",void 0),Di([i.query(".ft-floating-menu")],Bi.prototype,"container",void 0),Di([i.query(".ft-floating-menu--wrapper")],Bi.prototype,"menuWrapper",void 0),Di([i.query("#actions-button")],Bi.prototype,"actionButton",void 0),Di([i.queryAssignedElements({slot:"toggle"})],Bi.prototype,"customToggle",void 0),Di([i.property({type:Boolean})],Bi.prototype,"primary",void 0),Di([i.property({type:Boolean})],Bi.prototype,"secondary",void 0),Di([i.property({type:Boolean})],Bi.prototype,"tertiary",void 0),Di([i.property({type:Boolean})],Bi.prototype,"neutral",void 0),Di([i.property({type:Boolean})],Bi.prototype,"small",void 0),Di([i.property()],Bi.prototype,"label",void 0),Di([i.property()],Bi.prototype,"tooltipPosition",void 0),Di([i.property()],Bi.prototype,"iconVariant",void 0),Di([i.property()],Bi.prototype,"icon",void 0),Di([i.property()],Bi.prototype,"text",void 0),Di([i.property()],Bi.prototype,"horizontalAlignment",void 0),Di([i.property()],Bi.prototype,"verticalAlignment",void 0),Di([i.property({type:Boolean})],Bi.prototype,"disabled",void 0),Di([o.jsonProperty([])],Bi.prototype,"closeMenuMatchers",void 0);class Fi extends Bi{}Fi.elementDefinitions={"ft-or-ftds-button":fi},Fi.styles=Wi;class Ti extends Bi{}Ti.elementDefinitions={"ft-or-ftds-button":gi},Ti.styles=Wi;const Hi=o.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",o.designSystemVariables.colorOnSurfaceMedium),Pi=e.css`
1088
+ .ft-floating-menu-label {
1089
+ padding: 4px 8px;
1090
+ }
1091
+
1092
+ .ft-floating-menu-label ft-typography {
1093
+ flex-shrink: 1;
1094
+ flex-grow: 1;
1095
+ width: max-content;
1096
+ text-overflow: ellipsis;
1097
+ overflow: hidden;
1098
+ color: ${Hi}
1099
+ }
1100
+ `;class Gi extends o.FtLitElement{render(){return e.html`
1101
+ <div class="ft-floating-menu-label">
1102
+ <ft-typography variant="caption">
1103
+ <slot></slot>
1104
+ </ft-typography>
1105
+ </div>
1106
+ `}}var _i,Mi,ji,Yi,Vi,Xi,qi,Ji,Qi,tr,or,er,ir,rr,nr,ar,lr,cr;Gi.elementDefinitions={"ft-typography":vo},Gi.styles=Pi,o.customElement("ft-floating-menu")(Fi),o.customElement("ftds-floating-menu")(Ti),o.customElement("ft-floating-menu-item")(Zi),o.customElement("ft-floating-menu-label")(Gi),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,i=s(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function u(t,o){var e,i,r=(o=o||{}).body;if(t instanceof u){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),g.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},h.call(u.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new u(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=c,t.Request=u,t.Response=b),o.Headers=c,o.Request=u,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(_i||(_i={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Mi||(Mi={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(ji||(ji={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Yi||(Yi={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Vi||(Vi={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Xi||(Xi={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(qi||(qi={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ji||(Ji={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Qi||(Qi={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(tr||(tr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(or||(or={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(er||(er={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(ir||(ir={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(rr||(rr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(nr||(nr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ar||(ar={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(lr||(lr={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(cr||(cr={})),lr.PERSONAL_BOOK_SHARE_USER,lr.PERSONAL_BOOK_USER,lr.HTML_EXPORT_USER,lr.PERSONAL_BOOK_USER,lr.PDF_EXPORT_USER,lr.PERSONAL_BOOK_USER,lr.KHUB_ADMIN,lr.CONTENT_PUBLISHER,lr.ADMIN,lr.KHUB_ADMIN,lr.USERS_ADMIN,lr.PORTAL_ADMIN,lr.DEVELOPER,lr.BETA_USER,lr.DEBUG_USER;var sr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pr extends d{constructor(){super(...arguments),this.useForSwitchingToRelatives=!1,this.editorMode=!1,this.relatives=[]}setReaderStateManager(t){var o;super.setReaderStateManager(t),this.key&&this.useForSwitchingToRelatives&&t.registerMetadataForSwitchToRelatives(this.key),null===(o=this.stateManager)||void 0===o||o.store.eventBus.addEventListener("clustering-helper-created",this.setRelatives)}render(){return e.html`
965
1107
  <ft-tooltip text="${this.tooltipText}">
966
- <ft-chip>
967
- ${this.renderContent()}
968
- </ft-chip>
1108
+ ${this.useForSwitchingToRelatives&&this.metadata&&this.metadata.values.length>0?this.renderSwitchToRelatives():e.html`
1109
+ <ft-chip>
1110
+ ${this.renderContent()}
1111
+ </ft-chip>
1112
+ `}
969
1113
  </ft-tooltip>
970
1114
  ${this.hideIfEmpty()}
971
- `}renderContent(){return this.metadata?e.html`${this.valueText}`:this.editorMode?this.key?e.html`no value for ${this.key}`:e.html`no metadata selected`:e.nothing}hideIfEmpty(){return this.editorMode||this.metadata?e.nothing:e.html`
1115
+ `}renderContent(){return this.metadata&&this.metadata.values.length>0?e.html`${this.valueText}`:this.editorMode?this.key?e.html`no value for ${this.key}`:e.html`no metadata selected`:e.nothing}renderSwitchToRelatives(){return e.html`
1116
+ <div class="ft-reader-metadata--container">
1117
+ <ft-floating-menu text="Toggle collapsible" trailingIcon>
1118
+ <ft-chip trailingIcon icon="thin_arrow" slot="toggle" clickable>
1119
+ ${this.renderContent()}
1120
+ </ft-chip>
1121
+
1122
+ ${a.repeat(this.relatives,(t=>t.metadata.value),(t=>this.renderRelativeItem(t.result,t.metadata)))}
1123
+ </ft-floating-menu>
1124
+ </div>
1125
+ `}renderRelativeItem(t,o){return e.html`
1126
+ <a href=${function(t){var o,e,i,r,n,a,l,c,s,p;if("EXTERNAL"===(null!==(r=null!==(e=null===(o=t.map)||void 0===o?void 0:o.openMode)&&void 0!==e?e:null===(i=t.topic)||void 0===i?void 0:i.openMode)&&void 0!==r?r:null===(n=t.document)||void 0===n?void 0:n.openMode))return null!==(s=null!==(l=null===(a=t.map)||void 0===a?void 0:a.originUrl)&&void 0!==l?l:null===(c=t.topic)||void 0===c?void 0:c.originUrl)&&void 0!==s?s:null===(p=t.document)||void 0===p?void 0:p.originUrl;switch(t.type){case nr.MAP:return t.map.readerUrl;case nr.DOCUMENT:return t.document.viewerUrl;case nr.TOPIC:return t.topic.readerUrl}return""}(t)} @click=${o=>this.addTopicPivotCommand(o,t)}>
1127
+ <ft-ripple></ft-ripple>
1128
+ <ft-floating-menu-item value="${o.value}" notFocusable="true">
1129
+ ${this.renderRelativeItemValue(o.value,o.displayValue)}
1130
+ </ft-floating-menu-item>
1131
+ </a>
1132
+ `}renderRelativeItemValue(t,o){return t===o?t:e.html`
1133
+ <ft-tooltip text="${t}">${o}</ft-tooltip>`}hideIfEmpty(){return this.editorMode||this.metadata&&0!=this.metadata.values.length?e.nothing:e.html`
972
1134
  <style>
973
1135
  :host {
974
1136
  display: none !important;
975
1137
  }
976
1138
  </style>
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}`:""}}$r.elementDefinitions={"ft-tooltip":ke,"ft-chip":Nr},$r.styles=a,Sr([r.property(),o.reduxReactive()],$r.prototype,"key",void 0),Sr([r.property({attribute:!1})],$r.prototype,"editorMode",void 0),Sr([o.redux({selector:(t,o)=>{var e,r;return null===(r=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===r?void 0:r.find((t=>t.key===o.key))}})],$r.prototype,"metadata",void 0),o.customElement("ft-reader-metadata")($r),t.FtReaderMetadata=$r,t.FtReaderMetadataCssVariables={},t.styles=a}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
1139
+ `}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}`:""}addTopicPivotCommand(t,o){var e,i;const r=this.stateManager.store.getState().visibleTopics[0];if(!t.ctrlKey&&!t.metaKey&&r){t.stopPropagation(),t.preventDefault();const n=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(r);null===(i=this.service)||void 0===i||i.getTopicInfo(n).then((t=>{var e,i;const r=null==t?void 0:t.metadata.find((t=>t.key==this.relativeTopicPivotMetadata));null===(e=this.stateManager)||void 0===e||e.navigateToRelativeTopicIfFound(null===(i=o.map)||void 0===i?void 0:i.mapId,r)}))}}setRelatives(){var t;this.metadata&&this.mapRelatives&&(this.relatives=this.stateManager.clusteringHelper.computeClustersItemsForMetadata(this.key,(null===(t=this.map)||void 0===t?void 0:t.lang)||"en"))}update(t){var o,e,i,r;super.update(t),(t.has("metadata")||t.has("mapRelatives"))&&this.setRelatives(),t.has("key")&&this.useForSwitchingToRelatives&&(t.get("key")&&(null===(o=this.stateManager)||void 0===o||o.unregisterMetadataForSwitchToRelatives(t.get("key"))),this.key&&(null===(e=this.stateManager)||void 0===e||e.registerMetadataForSwitchToRelatives(this.key))),t.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?null===(i=this.stateManager)||void 0===i||i.registerMetadataForSwitchToRelatives(this.key):null===(r=this.stateManager)||void 0===r||r.unregisterMetadataForSwitchToRelatives(this.key))}}pr.elementDefinitions={"ft-chip":wi,"ft-floating-menu":Fi,"ft-floating-menu-item":Zi,"ft-ripple":Ge,"ft-tooltip":ke},pr.styles=l,sr([i.property(),o.reduxReactive()],pr.prototype,"key",void 0),sr([i.property({type:Boolean})],pr.prototype,"useForSwitchingToRelatives",void 0),sr([i.property({attribute:!1})],pr.prototype,"editorMode",void 0),sr([o.redux({selector:(t,o)=>{var e,i;return null===(i=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===i?void 0:i.find((t=>t.key===o.key))}})],pr.prototype,"metadata",void 0),sr([o.redux({selector:t=>t.relatives})],pr.prototype,"mapRelatives",void 0),sr([o.redux()],pr.prototype,"map",void 0),sr([o.redux({selector:t=>{var o;return null===(o=t.configuration)||void 0===o?void 0:o.relativeTopicPivotMetadata}})],pr.prototype,"relativeTopicPivotMetadata",void 0),sr([i.state()],pr.prototype,"relatives",void 0),o.customElement("ft-reader-metadata")(pr),t.FtReaderMetadata=pr,t.FtReaderMetadataCssVariables={},t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);