@fluid-topics/ft-text-area 1.0.58 → 1.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,72 +1,54 @@
1
- !function(t,e,i,o,s,r){
1
+ !function(t,o,e,r,a,i){
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var n;const l=window,a=l.trustedTypes,p=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,f="$lit$",h=`lit$${(Math.random()+"").slice(9)}$`,d="?"+h,c=`<${d}>`,u=document,x=()=>u.createComment(""),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,y=Array.isArray,b="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,$=/>/g,w=RegExp(`>|${b}(?:([^\\s"'>=/]+)(${b}*=${b}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,k=/"/g,S=/^(?:script|style|textarea|title)$/i,E=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),j=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),I=new WeakMap,O=u.createTreeWalker(u,129,null,!1),C=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=m;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,d=0;for(;d<i.length&&(n.lastIndex=d,a=n.exec(i),null!==a);)d=n.lastIndex,n===m?"!--"===a[1]?n=v:void 0!==a[1]?n=$:void 0!==a[2]?(S.test(a[2])&&(s=RegExp("</"+a[2],"g")),n=w):void 0!==a[3]&&(n=w):n===w?">"===a[0]?(n=null!=s?s:m,p=-1):void 0===a[1]?p=-2:(p=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?w:'"'===a[3]?k:z):n===k||n===z?n=w:n===v||n===$?n=m:(n=w,s=void 0);const u=n===w&&t[e+1].startsWith("/>")?" ":"";r+=n===m?i+c:p>=0?(o.push(l),i.slice(0,p)+f+i.slice(p)+h+u):i+h+(-2===p?(o.push(void 0),e):u)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==p?p.createHTML(l):l,o]};class D{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[p,c]=C(t,e);if(this.el=D.createElement(p,i),O.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=O.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(f)||e.startsWith(h)){const i=c[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+f).split(h),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?U:"?"===e[1]?F:"@"===e[1]?T:B})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(S.test(o.tagName)){const t=o.textContent.split(h),e=t.length-1;if(e>0){o.textContent=a?a.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),O.nextNode(),l.push({type:2,index:++s});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===d)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(h,t+1));)l.push({type:7,index:s}),t+=h.length-1}s++}}static createElement(t,e){const i=u.createElement("template");return i.innerHTML=t,i}}function A(t,e,i=t,o){var s,r,n,l;if(e===j)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const p=g(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Co)&&void 0!==n?n:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=A(t,a._$AS(t,e.values),a,o)),e}class _{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:u).importNode(i,!0);O.currentNode=s;let r=O.nextNode(),n=0,l=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new Z(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new W(r,this,t)),this._$AV.push(e),a=o[++l]}n!==(null==a?void 0:a.index)&&(r=O.nextNode(),n++)}return s}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Z{constructor(t,e,i,o){var s;this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=A(this,t,e),g(t)?t===N||null==t||""===t?(this._$AH!==N&&this._$AR(),this._$AH=N):t!==this._$AH&&t!==j&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>y(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==N&&g(this._$AH)?this._$AA.nextSibling.data=t:this.$(u.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=D.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new _(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new D(t)),e}T(t){y(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Z(this.k(x()),this.k(x()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class B{constructor(t,e,i,o,s){this.type=1,this._$AH=N,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=N}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=A(this,t,e,0),r=!g(t)||t!==this._$AH&&t!==j,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=A(this,o[i+n],e,n),l===j&&(l=this._$AH[n]),r||(r=!g(l)||l!==this._$AH[n]),l===N?t=N:t!==N&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.j(t)}j(t){t===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class U extends B{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===N?void 0:t}}const M=a?a.emptyScript:"";class F extends B{constructor(){super(...arguments),this.type=4}j(t){t&&t!==N?this.element.setAttribute(this.name,M):this.element.removeAttribute(this.name)}}class T extends B{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=A(this,t,e,0))&&void 0!==i?i:N)===j)return;const o=this._$AH,s=t===N&&o!==N||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==N&&(o===N||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){A(this,t)}}const R=l.litHtmlPolyfillSupport;null==R||R(D,Z),(null!==(n=l.litHtmlVersions)&&void 0!==n?n:l.litHtmlVersions=[]).push("2.7.3");
7
+ var n;const l=window,p=l.trustedTypes,c=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,f="$lit$",s=`lit$${(Math.random()+"").slice(9)}$`,d="?"+s,h=`<${d}>`,g=document,y=()=>g.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,m="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,N=/>/g,v=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),S=/'/g,C=/"/g,$=/^(?:script|style|textarea|title)$/i,w=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),I=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),R=new WeakMap,W=g.createTreeWalker(g,129,null,!1),E=(t,o)=>{const e=t.length-1,r=[];let a,i=2===o?"<svg>":"",n=x;for(let o=0;o<e;o++){const e=t[o];let l,p,c=-1,d=0;for(;d<e.length&&(n.lastIndex=d,p=n.exec(e),null!==p);)d=n.lastIndex,n===x?"!--"===p[1]?n=O:void 0!==p[1]?n=N:void 0!==p[2]?($.test(p[2])&&(a=RegExp("</"+p[2],"g")),n=v):void 0!==p[3]&&(n=v):n===v?">"===p[0]?(n=null!=a?a:x,c=-1):void 0===p[1]?c=-2:(c=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?v:'"'===p[3]?C:S):n===C||n===S?n=v:n===O||n===N?n=x:(n=v,a=void 0);const g=n===v&&t[o+1].startsWith("/>")?" ":"";i+=n===x?e+h:c>=0?(r.push(l),e.slice(0,c)+f+e.slice(c)+s+g):e+s+(-2===c?(r.push(void 0),o):g)}const l=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==c?c.createHTML(l):l,r]};class L{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,i=0;const n=t.length-1,l=this.parts,[c,h]=E(t,o);if(this.el=L.createElement(c,e),W.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=W.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(f)||o.startsWith(s)){const e=h[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+f).split(s),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:a,name:o[2],strings:t,ctor:"."===o[1]?D:"?"===o[1]?B:"@"===o[1]?H:Z})}else l.push({type:6,index:a})}for(const o of t)r.removeAttribute(o)}if($.test(r.tagName)){const t=r.textContent.split(s),o=t.length-1;if(o>0){r.textContent=p?p.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],y()),W.nextNode(),l.push({type:2,index:++a});r.append(t[o],y())}}}else if(8===r.nodeType)if(r.data===d)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(s,t+1));)l.push({type:7,index:a}),t+=s.length-1}a++}}static createElement(t,o){const e=g.createElement("template");return e.innerHTML=t,e}}function k(t,o,e=t,r){var a,i,n,l;if(o===I)return o;let p=void 0!==r?null===(a=e._$Co)||void 0===a?void 0:a[r]:e._$Cl;const c=b(o)?void 0:o._$litDirective$;return(null==p?void 0:p.constructor)!==c&&(null===(i=null==p?void 0:p._$AO)||void 0===i||i.call(p,!1),void 0===c?p=void 0:(p=new c(t),p._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=p:e._$Cl=p),void 0!==p&&(o=k(t,p._$AS(t,o.values),p,r)),o}class z{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,a=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:g).importNode(e,!0);W.currentNode=a;let i=W.nextNode(),n=0,l=0,p=r[0];for(;void 0!==p;){if(n===p.index){let o;2===p.type?o=new K(i,i.nextSibling,this,t):1===p.type?o=new p.ctor(i,p.name,p.strings,this,t):6===p.type&&(o=new A(i,this,t)),this._$AV.push(o),p=r[++l]}n!==(null==p?void 0:p.index)&&(i=W.nextNode(),n++)}return a}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class K{constructor(t,o,e,r){var a;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=k(this,t,o),b(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>u(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==U&&b(this._$AH)?this._$AA.nextSibling.data=t:this.$(g.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,a="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=L.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===a)this._$AH.v(e);else{const t=new z(a,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=R.get(t.strings);return void 0===o&&R.set(t.strings,o=new L(t)),o}T(t){u(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new K(this.k(y()),this.k(y()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class Z{constructor(t,o,e,r,a){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const a=this.strings;let i=!1;if(void 0===a)t=k(this,t,o,0),i=!b(t)||t!==this._$AH&&t!==I,i&&(this._$AH=t);else{const r=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=k(this,r[e+n],o,n),l===I&&(l=this._$AH[n]),i||(i=!b(l)||l!==this._$AH[n]),l===U?t=U:t!==U&&(t+=(null!=l?l:"")+a[n+1]),this._$AH[n]=l}i&&!r&&this.j(t)}j(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class D extends Z{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}}const F=p?p.emptyScript:"";class B extends Z{constructor(){super(...arguments),this.type=4}j(t){t&&t!==U?this.element.setAttribute(this.name,F):this.element.removeAttribute(this.name)}}class H extends Z{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=k(this,t,o,0))&&void 0!==e?e:U)===I)return;const r=this._$AH,a=t===U&&r!==U||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==U&&(r===U||a);a&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class A{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){k(this,t)}}const G=l.litHtmlPolyfillSupport;null==G||G(L,K),(null!==(n=l.litHtmlVersions)&&void 0!==n?n:l.litHtmlVersions=[]).push("2.7.3");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t._$litStatic$},G=t=>({_$litStatic$:t,r:H}),V=new Map,L=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let a,p=0,f=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(r=i[p],s=K(r));)a+=s+e[++p],f=!0;p!==o&&l.push(r),n.push(a),p++}if(p===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=V.get(t))&&(n.raw=n,V.set(t,e=n)),i=l}return t(e,...i)})(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"}(q||(q={}));const P=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),X=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),Y={fontFamily:X,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},J=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",P),Q=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),tt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),et=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),it=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",Y.lineHeight,"1.2"),ot=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),st=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",P),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"1.7"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",X),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"1.5"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",X),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"1.7"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),wt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",X),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",Y.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit")},zt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",X),kt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),St=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),Et=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),jt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",Y.lineHeight,"1.4"),Nt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit"),It={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",X),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",Y.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit")},Ot=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",X),Ct=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),_t=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"1.6"),Zt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",X),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",Y.lineHeight,"1.6"),Wt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Rt=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",X),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),Kt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",Y.lineHeight,"1.15"),Lt=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase"),qt=i.css`
13
+ const j=Symbol.for(""),M=t=>{if((null==t?void 0:t.r)===j)return null==t?void 0:t._$litStatic$},P=t=>({_$litStatic$:t,r:j}),_=new Map,Y=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let p,c=0,f=!1;for(;c<r;){for(p=o[c];c<r&&void 0!==(i=e[c],a=M(i));)p+=a+o[++c],f=!0;c!==r&&l.push(i),n.push(p),c++}if(c===r&&n.push(o[r]),f){const t=n.join("$$lit$$");void 0===(o=_.get(t))&&(n.raw=n,_.set(t,o=n)),e=l}return t(o,...e)})(w);var T;!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"}(T||(T={}));const V=t=>"string"==typeof t?e.unsafeCSS(t):t;class q{static create(t,o,r,a){const i=t=>V(null!=t?t:a),n=e.css`var(${V(t)}, ${i(a)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${V(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,r,a){const i=t=>r.get(null!=t?t:a),n=e.css`var(${V(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${V(t)}, ${i(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):V(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${V(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${V(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const X={colorWhite:q.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:q.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:q.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:q.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:q.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:q.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:q.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:q.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:q.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:q.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:q.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:q.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:q.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:q.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:q.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:q.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:q.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:q.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:q.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:q.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:q.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:q.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:q.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:q.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:q.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:q.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:q.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:q.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:q.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:q.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:q.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:q.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:q.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:q.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:q.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:q.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:q.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:q.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:q.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:q.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:q.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:q.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:q.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:q.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:q.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:q.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:q.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:q.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:q.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:q.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:q.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:q.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:q.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:q.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:q.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:q.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:q.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:q.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:q.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:q.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:q.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:q.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:q.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:q.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:q.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:q.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:q.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:q.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:q.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:q.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:q.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:q.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:q.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:q.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:q.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:q.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:q.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:q.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:q.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:q.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:q.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:q.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:q.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:q.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:q.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:q.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:q.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:q.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:q.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:q.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:q.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:q.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:q.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:q.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:q.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:q.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:q.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:q.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:q.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:q.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:q.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:q.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:q.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:q.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:q.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:q.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:q.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:q.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:q.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:q.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:q.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:q.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:q.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:q.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:q.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:q.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:q.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:q.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:q.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:q.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:q.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:q.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:q.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:q.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:q.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:q.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:q.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:q.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:q.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:q.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:q.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:q.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:q.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:q.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:q.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:q.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:q.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:q.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:q.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:q.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:q.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:q.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:q.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:q.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:q.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:q.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:q.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:q.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:q.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:q.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:q.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:q.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:q.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:q.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:q.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:q.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:q.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:q.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:q.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:q.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:q.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:q.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:q.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:q.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:q.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:q.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:q.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:q.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:q.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:q.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:q.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:q.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:q.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:q.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:q.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:q.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:q.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:q.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:q.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:q.create("--ft-icon-size-6","","SIZE","48px"),opacity0:q.create("--ft-opacity-0","","NUMBER","0"),opacity8:q.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:q.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:q.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:q.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:q.create("--ft-opacity-80","","NUMBER","0.8")},J={display:{fontFamily:q.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:q.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:q.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:q.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:q.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:q.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:q.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:q.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:q.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:q.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:q.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:q.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:q.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:q.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:q.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:q.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:q.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:q.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:q.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:q.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:q.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:q.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:q.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:q.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:q.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:q.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:q.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:q.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:q.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:q.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorPrimary:q.extend("--ft-background-error-primary","Used as background of error components.",X.colorRed0),backgroundErrorSubtle:q.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoPrimary:q.extend("--ft-background-info-primary","Used as background of information components.",X.colorCyan200),backgroundInfoSubtle:q.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningPrimary:q.extend("--ft-background-warning-primary","Used as background of warning components.",X.colorOrange300),backgroundWarningSubtle:q.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessPrimary:q.extend("--ft-background-success-primary","Used as background of success components.",X.colorGreen200),backgroundSuccessSubtle:q.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:q.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:q.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:q.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:q.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:q.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange300),contentWarningIconOnly:q.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:q.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:q.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed0),contentInfoPrimary:q.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:q.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessIconOnly:q.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentSuccessPrimary:q.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentGlobalPrimary:q.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:q.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:q.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:q.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:q.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:q.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:q.extend("--ft-border-warning-primary","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:q.extend("--ft-border-success-primary","Used as border for success components.",X.colorGreen30),borderErrorPrimary:q.extend("--ft-border-error-primary","Used as border for error components.",X.colorRed30),borderInfoPrimary:q.extend("--ft-border-info-primary","Used as border for information components.",X.colorCyan30),borderGlobalSubtle:q.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderGlobalPrimary:q.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderInputPrimary:q.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)};q.create("--ft-button-large-height","","SIZE","40px"),q.extend("--ft-button-large-horizontal-padding","",X.spacing4),q.extend("--ft-button-large-gap","",X.spacing2),q.extend("--ft-button-large-border-radius","",X.borderRadiusS),q.extend("--ft-button-large-icon-size","",X.iconSize3),q.create("--ft-button-large-border-width","","SIZE","1px"),q.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),q.create("--ft-button-large-focus-outline-width","","SIZE","2px"),q.create("--ft-button-large-icon-only-width","","SIZE","40px"),q.create("--ft-button-small-height","","SIZE","30px"),q.extend("--ft-button-small-horizontal-padding","",X.spacing3),q.extend("--ft-button-small-gap","",X.spacing2),q.extend("--ft-button-small-border-radius","",X.borderRadiusS),q.extend("--ft-button-small-icon-size","",X.iconSize2),q.create("--ft-button-small-border-width","","SIZE","1px"),q.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),q.create("--ft-button-small-focus-outline-width","","SIZE","2px"),q.create("--ft-button-small-icon-only-width","","SIZE","30px"),q.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),q.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),q.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),q.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),q.extend("--ft-button-primary-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-button-primary-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-button-primary-state-layer-opacity-active","",X.opacity24),q.extend("--ft-button-primary-component-opacity-disabled","",X.opacity40),q.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),q.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),q.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),q.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),q.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-button-tertiary-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-button-tertiary-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-button-tertiary-state-layer-opacity-active","",X.opacity16),q.extend("--ft-button-tertiary-component-opacity-disabled","",X.opacity40),q.extend("--ft-button-secondary-background-color","",X.colorWhite),q.extend("--ft-button-secondary-color","",Q.contentActionPrimary),q.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),q.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-button-secondary-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-button-secondary-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-button-secondary-state-layer-opacity-active","",X.opacity16),q.extend("--ft-button-secondary-component-opacity-disabled","",X.opacity40),q.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),q.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),q.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),q.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),q.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),q.extend("--ft-button-neutral-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-button-neutral-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-button-neutral-state-layer-opacity-active","",X.opacity16),q.extend("--ft-button-neutral-component-opacity-disabled","",X.opacity40),q.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),q.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),q.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),q.extend("--ft-tabs-label-vertical-padding","",X.spacing3),q.extend("--ft-tabs-label-gap","",X.spacing1),q.extend("--ft-switch-group-horizontal-padding","",X.spacing1),q.extend("--ft-switch-group-vertical-padding","",X.spacing1),q.extend("--ft-switch-group-gap","",X.spacing1),q.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),q.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),q.create("--ft-switch-group-border-radius","","SIZE","6px"),q.extend("--ft-switch-label-horizontal-padding","",X.spacing2),q.extend("--ft-switch-label-vertical-padding","",X.spacing1),q.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),q.extend("--ft-switch-icon-vertical-padding","",X.spacing1),q.create("--ft-switch-focus-outline-width","","SIZE","2px"),q.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),q.extend("--ft-switch-option-border-radius","",X.borderRadiusS),q.extend("--ft-switch-off-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-switch-off-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-switch-off-state-layer-opacity-active","",X.opacity16),q.extend("--ft-switch-off-component-opacity-disabled","",X.opacity40),q.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),q.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),q.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),q.extend("--ft-chart-1-base","for line charts",X.colorBrand0),q.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),q.extend("--ft-chart-2-base","for line charts",X.colorYellow100),q.extend("--ft-chart-3-light","",X.colorUltramarine40),q.extend("--ft-chart-3-base","",X.colorUltramarine70),q.extend("--ft-chart-4-light","",X.colorCyan50),q.extend("--ft-chart-4-base","",X.colorCyan100),q.extend("--ft-chart-5-light","",X.colorRed40),q.extend("--ft-chart-5-base","",X.colorRed60),q.extend("--ft-chart-6-light","",X.colorGreen40),q.extend("--ft-chart-6-base","",X.colorGreen70),q.extend("--ft-chart-7-light","",X.colorOrange70),q.extend("--ft-chart-7-base","",X.colorOrange100),q.extend("--ft-chart-8-light","",X.colorAvocado70),q.extend("--ft-chart-8-base","",X.colorAvocado200),q.extend("--ft-chart-9-light","",X.colorBrown50),q.extend("--ft-chart-9-base","",X.colorBrown200),q.extend("--ft-chart-10-light","",X.colorGray50),q.extend("--ft-chart-10-base","",X.colorGray80),q.extend("--ft-chart-monochrome-10","",X.colorBrand10),q.extend("--ft-chart-monochrome-20","",X.colorBrand20),q.extend("--ft-chart-monochrome-30","",X.colorBrand40),q.extend("--ft-chart-monochrome-40","",X.colorBrand60),q.extend("--ft-chart-monochrome-50","",X.colorBrand0),q.extend("--ft-chart-monochrome-60","",X.colorBrand200),q.extend("--ft-chip-large-horizontal-padding","",X.spacing4),q.extend("--ft-chip-large-vertical-padding","",X.spacing2),q.extend("--ft-chip-large-gap","",X.spacing1),q.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),q.create("--ft-chip-large-border-width","","SIZE","1px"),q.extend("--ft-chip-large-icon-size","",X.iconSize3),q.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),q.extend("--ft-chip-medium-vertical-padding","",X.spacing1),q.extend("--ft-chip-medium-gap","",X.spacing1),q.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),q.create("--ft-chip-medium-border-width","","SIZE","1px"),q.extend("--ft-chip-medium-icon-size","",X.iconSize2),q.extend("--ft-chip-small-horizontal-padding","",X.spacing2),q.extend("--ft-chip-small-vertical-padding","",X.spacing05),q.extend("--ft-chip-small-gap","",X.spacing1),q.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),q.create("--ft-chip-small-border-width","","SIZE","1px"),q.extend("--ft-chip-small-icon-size","",X.iconSize1),q.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),q.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),q.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),q.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-chip-info-color","",Q.contentInfoPrimary),q.extend("--ft-chip-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),q.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),q.extend("--ft-chip-success-border-color","",Q.borderSuccessPrimary),q.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),q.extend("--ft-chip-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),q.extend("--ft-chip-error-color","",Q.contentErrorPrimary),q.extend("--ft-chip-error-border-color","",Q.borderErrorPrimary),q.create("--ft-notice-border-width","","SIZE","1px"),q.extend("--ft-notice-horizontal-padding","",X.spacing2),q.extend("--ft-notice-vertical-padding","",X.spacing1),q.extend("--ft-notice-border-radius","",X.borderRadiusS),q.extend("--ft-notice-gap","",X.spacing2),q.extend("--ft-notice-icon-size","",X.iconSize3),q.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-notice-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-notice-info-color","",Q.contentInfoPrimary),q.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-notice-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),q.extend("--ft-checkbox-label-color","",Q.contentGlobalPrimary),q.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),q.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-checkbox-checked-color","",Q.contentGlobalOnColor),q.extend("--ft-checkbox-checked-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-checkbox-checked-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-checkbox-checked-state-layer-opacity-active","",X.opacity24),q.extend("--ft-checkbox-checked-component-opacity-disabled","",X.opacity40),q.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),q.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),q.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",X.opacity24),q.extend("--ft-checkbox-unchecked-component-opacity-disabled","",X.opacity40),q.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),q.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),q.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),q.extend("--ft-checkbox-gap","",X.spacing3),q.extend("--ft-toggle-off-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-toggle-off-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-toggle-off-state-layer-opacity-active","",X.opacity24),q.extend("--ft-toggle-off-component-opacity-disabled","",X.opacity40),q.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-on-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-toggle-on-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-toggle-on-state-layer-opacity-active","",X.opacity24),q.extend("--ft-toggle-on-component-opacity-disabled","",X.opacity40),q.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),q.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),q.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-toggle-label-color","",Q.contentGlobalPrimary),q.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),q.extend("--ft-toggle-gap","",X.spacing3),q.extend("--ft-radio-label-color","",Q.contentGlobalPrimary),q.extend("--ft-radio-selected-color","",Q.contentActionPrimary),q.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-radio-selected-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-radio-selected-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-radio-selected-state-layer-opacity-active","",X.opacity24),q.extend("--ft-radio-selected-component-opacity-disabled","",X.opacity40),q.extend("--ft-radio-unselected-state-layer-color","",X.colorGray80),q.extend("--ft-radio-unselected-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-radio-unselected-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-radio-unselected-state-layer-opacity-active","",X.opacity24),q.extend("--ft-radio-unselected-component-opacity-disabled","",X.opacity40),q.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),q.create("--ft-radio-focus-outline-offset","","SIZE","3px"),q.create("--ft-radio-focus-outline-width","","SIZE","2px"),q.extend("--ft-radio-gap","",X.spacing3),q.extend("--ft-notification-icon-size","",X.iconSize4),q.extend("--ft-notification-horizontal-padding","",X.spacing4),q.extend("--ft-notification-vertical-padding","",X.spacing4),q.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-notification-info-color","",Q.contentInfoPrimary),q.extend("--ft-notification-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),q.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),q.extend("--ft-notification-success-border-color","",Q.borderSuccessPrimary),q.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),q.extend("--ft-notification-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),q.extend("--ft-notification-error-color","",Q.contentErrorPrimary),q.extend("--ft-notification-error-border-color","",Q.borderErrorPrimary),q.extend("--ft-notification-border-radius","",X.borderRadiusPill),q.create("--ft-notification-border-width","","SIZE","1px"),q.extend("--ft-notification-gap-leading","",X.spacing2),q.extend("--ft-notification-gap-trailing","",X.spacing8);const tt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),et={fontFamily:ot,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")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",tt),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",et.fontSize,"20px"),it=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",et.fontWeight,"normal"),nt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",et.letterSpacing,"0.15px"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",et.lineHeight,"1.2"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",et.textTransform,"inherit"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",tt),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",et.fontSize,"14px"),st=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",et.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",et.letterSpacing,"0.105px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",et.lineHeight,"1.7"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",et.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",et.fontSize,"16px"),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",et.fontWeight,"600"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",et.letterSpacing,"0.144px"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",et.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",et.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",et.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",et.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",et.letterSpacing,"0.098px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",et.lineHeight,"1.7"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",et.textTransform,"inherit"),It={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",et.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",et.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",et.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",et.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",et.textTransform,"inherit")},Ut=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",et.fontSize,"14px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",et.fontWeight,"normal"),Et=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",et.letterSpacing,"0.252px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",et.lineHeight,"1.4"),kt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",et.textTransform,"inherit"),zt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",et.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",et.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",et.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",et.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",et.textTransform,"inherit")},Kt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Zt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",et.fontSize,"10px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",et.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",et.letterSpacing,"0.33px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",et.lineHeight,"1.6"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",et.textTransform,"inherit"),At=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Gt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",et.fontSize,"10px"),jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",et.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",et.letterSpacing,"1.5px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",et.lineHeight,"1.6"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",et.textTransform,"uppercase"),Yt=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),Tt=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",et.fontSize,"14px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",et.fontWeight,"600"),qt=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",et.letterSpacing,"1.246px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",et.lineHeight,"1.15"),Jt=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",et.textTransform,"uppercase"),Qt=e.css`
14
14
  .ft-typography--title {
15
- font-family: ${J};
16
- font-size: ${Q};
17
- font-weight: ${tt};
18
- letter-spacing: ${et};
19
- line-height: ${it};
20
- text-transform: ${ot};
21
- }
22
- `,Pt=i.css`
23
- .ft-typography--title-dense {
24
- font-family: ${st};
25
- font-size: ${rt};
26
- font-weight: ${nt};
27
- letter-spacing: ${lt};
28
- line-height: ${at};
15
+ font-family: ${rt};
16
+ font-size: ${at};
17
+ font-weight: ${it};
18
+ letter-spacing: ${nt};
19
+ line-height: ${lt};
29
20
  text-transform: ${pt};
30
21
  }
31
- `,Xt=i.css`
22
+ `,to=e.css`
23
+ .ft-typography--title-dense {
24
+ font-family: ${ct};
25
+ font-size: ${ft};
26
+ font-weight: ${st};
27
+ letter-spacing: ${dt};
28
+ line-height: ${ht};
29
+ text-transform: ${gt};
30
+ }
31
+ `,oo=e.css`
32
32
  .ft-typography--subtitle1 {
33
- font-family: ${ft};
34
- font-size: ${ht};
35
- font-weight: ${dt};
36
- letter-spacing: ${ct};
37
- line-height: ${ut};
38
- text-transform: ${xt};
39
- }
40
- `,Yt=i.css`
41
- .ft-typography--subtitle2 {
42
- font-family: ${gt};
43
- font-size: ${yt};
44
- font-weight: ${bt};
33
+ font-family: ${yt};
34
+ font-size: ${bt};
35
+ font-weight: ${ut};
45
36
  letter-spacing: ${mt};
46
- line-height: ${vt};
47
- text-transform: ${$t};
37
+ line-height: ${xt};
38
+ text-transform: ${Ot};
48
39
  }
49
-
50
- `,Jt=i.css`
51
- .ft-typography--body1 {
52
- font-family: ${wt.fontFamily};
53
- font-size: ${wt.fontSize};
54
- font-weight: ${wt.fontWeight};
55
- letter-spacing: ${wt.letterSpacing};
56
- line-height: ${wt.lineHeight};
57
- text-transform: ${wt.textTransform};
58
- }
59
- `,Qt=i.css`
60
- .ft-typography--body2 {
61
- font-family: ${zt};
62
- font-size: ${kt};
40
+ `,eo=e.css`
41
+ .ft-typography--subtitle2 {
42
+ font-family: ${Nt};
43
+ font-size: ${vt};
63
44
  font-weight: ${St};
64
- letter-spacing: ${Et};
65
- line-height: ${jt};
66
- text-transform: ${Nt};
45
+ letter-spacing: ${Ct};
46
+ line-height: ${$t};
47
+ text-transform: ${wt};
67
48
  }
68
- `,te=i.css`
69
- .ft-typography--caption {
49
+
50
+ `,ro=e.css`
51
+ .ft-typography--body1 {
70
52
  font-family: ${It.fontFamily};
71
53
  font-size: ${It.fontSize};
72
54
  font-weight: ${It.fontWeight};
@@ -74,45 +56,70 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
74
56
  line-height: ${It.lineHeight};
75
57
  text-transform: ${It.textTransform};
76
58
  }
77
- `,ee=i.css`
59
+ `,ao=e.css`
60
+ .ft-typography--body2 {
61
+ font-family: ${Ut};
62
+ font-size: ${Rt};
63
+ font-weight: ${Wt};
64
+ letter-spacing: ${Et};
65
+ line-height: ${Lt};
66
+ text-transform: ${kt};
67
+ }
68
+ `,io=e.css`
69
+ .ft-typography--caption {
70
+ font-family: ${zt.fontFamily};
71
+ font-size: ${zt.fontSize};
72
+ font-weight: ${zt.fontWeight};
73
+ letter-spacing: ${zt.letterSpacing};
74
+ line-height: ${zt.lineHeight};
75
+ text-transform: ${zt.textTransform};
76
+ }
77
+ `,no=e.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${Ot};
80
- font-size: ${Ct};
79
+ font-family: ${Kt};
80
+ font-size: ${Zt};
81
81
  font-weight: ${Dt};
82
- letter-spacing: ${At};
83
- line-height: ${_t};
84
- text-transform: ${Zt};
85
- }
86
- `,ie=i.css`
87
- .ft-typography--overline {
88
- font-family: ${Bt};
89
- font-size: ${Ut};
90
- font-weight: ${Mt};
91
82
  letter-spacing: ${Ft};
92
- line-height: ${Tt};
93
- text-transform: ${Wt};
83
+ line-height: ${Bt};
84
+ text-transform: ${Ht};
94
85
  }
95
- `,oe=i.css`
86
+ `,lo=e.css`
87
+ .ft-typography--overline {
88
+ font-family: ${At};
89
+ font-size: ${Gt};
90
+ font-weight: ${jt};
91
+ letter-spacing: ${Mt};
92
+ line-height: ${Pt};
93
+ text-transform: ${_t};
94
+ }
95
+ `,po=e.css`
96
96
  .ft-typography--button {
97
- font-family: ${Rt};
98
- font-size: ${Ht};
99
- font-weight: ${Kt};
100
- letter-spacing: ${Gt};
101
- line-height: ${Vt};
102
- text-transform: ${Lt};
103
- }
104
- `,se=i.css`
97
+ font-family: ${Yt};
98
+ font-size: ${Tt};
99
+ font-weight: ${Vt};
100
+ letter-spacing: ${qt};
101
+ line-height: ${Xt};
102
+ text-transform: ${Jt};
103
+ }
104
+ `,co=e.css`
105
105
  .ft-typography {
106
106
  vertical-align: inherit;
107
107
  }
108
- `;var re,ne,le=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class ae extends e.FtLitElement{constructor(){super(...arguments),this.variant=q.body1}render(){return this.element?L`
109
- <${G(this.element)}
110
- class="ft-typography ft-typography--${this.variant}">
108
+ `,fo=[Object.keys(J).map((t=>function(t){const o=J[t];return e.css`
109
+ font-family: ${o.fontFamily};
110
+ font-size: ${o.fontSize};
111
+ font-weight: ${o.fontWeight};
112
+ letter-spacing: ${o.letterSpacing};
113
+ line-height: ${o.lineHeight};
114
+ text-transform: ${o.textCase};
115
+ `}(t)))];var so,ho,go=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class yo extends o.FtLitElement{constructor(){super(...arguments),this.variant=T.body1}render(){return this.element?Y`
116
+ <${P(this.element)}
117
+ class="ft-typography ft-typography--${this.variant}">
111
118
  <slot></slot>
112
- </${G(this.element)}>
113
- `:L`
119
+ </${P(this.element)}>
120
+ `:Y`
114
121
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
115
- `}}ae.styles=[qt,Pt,Xt,Yt,Jt,Qt,te,ee,ie,oe,se],le([o.property()],ae.prototype,"element",void 0),le([o.property()],ae.prototype,"variant",void 0),e.customElement("ft-typography")(ae),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(re||(re={})),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;"}(ne||(ne={})),new Map([...["abw"].map((t=>[t,ne.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,ne.AUDIO])),...["avi"].map((t=>[t,ne.AVI])),...["chm","xhs"].map((t=>[t,ne.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,ne.CODE])),...["csv"].map((t=>[t,ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ne.DITA])),...["epub"].map((t=>[t,ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ne.EXCEL])),...["flac"].map((t=>[t,ne.FLAC])),...["gif"].map((t=>[t,ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,ne.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ne.JPEG])),...["json"].map((t=>[t,ne.JSON])),...["m4a","m4p"].map((t=>[t,ne.M4A])),...["mov","qt"].map((t=>[t,ne.MOV])),...["mp3"].map((t=>[t,ne.MP3])),...["mp4","m4v"].map((t=>[t,ne.MP4])),...["ogg","oga"].map((t=>[t,ne.OGG])),...["pdf","ps"].map((t=>[t,ne.PDF])),...["png"].map((t=>[t,ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ne.POWERPOINT])),...["rar"].map((t=>[t,ne.RAR])),...["stp"].map((t=>[t,ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ne.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,ne.VIDEO])),...["wav"].map((t=>[t,ne.WAV])),...["wma"].map((t=>[t,ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ne.YAML])),...["zip"].map((t=>[t,ne.ZIP]))]);const pe=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fe=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),he=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),de=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),ce=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),ue=i.css`
122
+ `}}yo.styles=[Qt,to,oo,eo,ro,ao,io,no,lo,po,co,...fo],go([r.property()],yo.prototype,"element",void 0),go([r.property()],yo.prototype,"variant",void 0),o.customElement("ft-typography")(yo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(so||(so={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ho||(ho={})),new Map([...["abw"].map((t=>[t,ho.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ho.AUDIO])),...["avi"].map((t=>[t,ho.AVI])),...["chm","xhs"].map((t=>[t,ho.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ho.CODE])),...["csv"].map((t=>[t,ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ho.DITA])),...["epub"].map((t=>[t,ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ho.EXCEL])),...["flac"].map((t=>[t,ho.FLAC])),...["gif"].map((t=>[t,ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,ho.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ho.JPEG])),...["json"].map((t=>[t,ho.JSON])),...["m4a","m4p"].map((t=>[t,ho.M4A])),...["mov","qt"].map((t=>[t,ho.MOV])),...["mp3"].map((t=>[t,ho.MP3])),...["mp4","m4v"].map((t=>[t,ho.MP4])),...["ogg","oga"].map((t=>[t,ho.OGG])),...["pdf","ps"].map((t=>[t,ho.PDF])),...["png"].map((t=>[t,ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ho.POWERPOINT])),...["rar"].map((t=>[t,ho.RAR])),...["stp"].map((t=>[t,ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ho.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ho.VIDEO])),...["wav"].map((t=>[t,ho.WAV])),...["wma"].map((t=>[t,ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ho.YAML])),...["zip"].map((t=>[t,ho.ZIP]))]);const bo=o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),uo=o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),mo=o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),xo=o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Oo=o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset"),No=e.css`
116
123
  :host, i.ft-icon {
117
124
  display: inline-flex;
118
125
  align-items: center;
@@ -121,14 +128,14 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
121
128
  }
122
129
 
123
130
  :host {
124
- width: ${pe};
125
- height: ${pe};
131
+ width: ${bo};
132
+ height: ${bo};
126
133
  }
127
134
 
128
135
  i.ft-icon {
129
136
  width: 100%;
130
137
  height: 100%;
131
- font-size: ${pe};
138
+ font-size: ${bo};
132
139
  line-height: 1;
133
140
  font-weight: normal;
134
141
  text-transform: none;
@@ -139,33 +146,33 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
139
146
  text-rendering: auto;
140
147
  -webkit-font-smoothing: antialiased;
141
148
  -moz-osx-font-smoothing: grayscale;
142
- vertical-align: ${ce};
149
+ vertical-align: ${Oo};
143
150
  }
144
151
 
145
152
  i.ft-icon.ft-icon--fluid-topics {
146
- font-family: ${fe}, ft-icons, fticons, sans-serif;
153
+ font-family: ${uo}, ft-icons, fticons, sans-serif;
147
154
 
148
155
  /* Ugly fix because font is broken */
149
- font-size: calc(0.75 * ${pe});
150
- line-height: ${pe};
156
+ font-size: calc(0.75 * ${bo});
157
+ line-height: ${bo};
151
158
  position: relative;
152
159
  top: -4%;
153
160
  justify-content: center;
154
161
  }
155
162
 
156
163
  .ft-icon--file-format {
157
- font-family: ${he}, ft-mime, sans-serif;
164
+ font-family: ${mo}, ft-mime, sans-serif;
158
165
  }
159
166
 
160
167
  .ft-icon--material {
161
- font-family: ${de}, "Material Icons", sans-serif;
168
+ font-family: ${xo}, "Material Icons", sans-serif;
162
169
  }
163
- `;var xe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xe||(xe={}));var ge=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class ye extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(xe).includes(this.variant)?this.variant:xe.fluid_topics,e=t!==xe.material||!!this.value;return i.html`
170
+ `;var vo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(vo||(vo={}));var So=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Co extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(vo).includes(this.variant)?this.variant:vo.fluid_topics,o=t!==vo.material||!!this.value;return e.html`
164
171
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
165
- ${r.unsafeHTML(this.resolvedIcon)}
166
- <slot ?hidden=${e}></slot>
172
+ ${i.unsafeHTML(this.resolvedIcon)}
173
+ <slot ?hidden=${o}></slot>
167
174
  </i>
168
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case xe.file_format:this.resolvedIcon=null!==(t=ne[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case xe.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=re[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ye.elementDefinitions={},ye.styles=ue,ge([o.property()],ye.prototype,"variant",void 0),ge([o.property()],ye.prototype,"value",void 0),ge([o.state()],ye.prototype,"resolvedIcon",void 0),ge([o.query("slot")],ye.prototype,"slottedContent",void 0),e.customElement("ft-icon")(ye);const be=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),me=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),ve=i.css`
175
+ `}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 vo.file_format:this.resolvedIcon=null!==(t=ho[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case vo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=so[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Co.elementDefinitions={},Co.styles=No,So([r.property()],Co.prototype,"variant",void 0),So([r.property()],Co.prototype,"value",void 0),So([r.state()],Co.prototype,"resolvedIcon",void 0),So([r.query("slot")],Co.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Co);const $o=o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),wo=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),Io=e.css`
169
176
  :host {
170
177
  display: block;
171
178
  }
@@ -176,17 +183,17 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
176
183
 
177
184
  ft-icon {
178
185
  transform: rotate(-45deg);
179
- color: ${be};
186
+ color: ${$o};
180
187
  }
181
188
 
182
189
  .ft-resizer--dragging ft-icon,
183
190
  .ft-resizer:hover ft-icon {
184
- color: ${me};
191
+ color: ${wo};
185
192
  }
186
- `;var $e=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class we extends CustomEvent{constructor(t,e){super("resize",{detail:{width:t,height:e}})}}class ze extends e.FtLitElement{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=xe.material,this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return i.html`
193
+ `;var Uo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Ro extends CustomEvent{constructor(t,o){super("resize",{detail:{width:t,height:o}})}}class Wo extends o.FtLitElement{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=vo.material,this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return e.html`
187
194
  <style>
188
195
  .ft-resizer {
189
- cursor: ${i.unsafeCSS(this.cursor)}
196
+ cursor: ${e.unsafeCSS(this.cursor)}
190
197
  }
191
198
  </style>
192
199
  <div class="ft-resizer ft-no-text-select ${this.dragging?"ft-resizer--dragging":""}"
@@ -194,25 +201,25 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
194
201
  @touchstart=${this.initDragFromTouch}>
195
202
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
196
203
  </div>
197
- `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,e){this.dragging=!0,this.startX=t,this.startY=e,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,e){let i=this.fixedWidth+t-this.startX,o=this.fixedHeight+e-this.startY;this.dispatchEvent(new we(i,o))}}ze.elementDefinitions={"ft-icon":ye},ze.styles=[e.noTextSelect,ve],$e([o.property({type:Number})],ze.prototype,"initialWidth",void 0),$e([o.property({type:Number})],ze.prototype,"initialHeight",void 0),$e([o.property()],ze.prototype,"icon",void 0),$e([o.property()],ze.prototype,"iconVariant",void 0),$e([o.property()],ze.prototype,"cursor",void 0),$e([o.state()],ze.prototype,"dragging",void 0),e.customElement("ft-resizer")(ze);const ke={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:e.FtCssVariableFactory.create("--ft-input-label-max-width","SIZE","100%"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},Se=i.css`
204
+ `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,o){this.dragging=!0,this.startX=t,this.startY=o,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,o){let e=this.fixedWidth+t-this.startX,r=this.fixedHeight+o-this.startY;this.dispatchEvent(new Ro(e,r))}}Wo.elementDefinitions={"ft-icon":Co},Wo.styles=[o.noTextSelect,Io],Uo([r.property({type:Number})],Wo.prototype,"initialWidth",void 0),Uo([r.property({type:Number})],Wo.prototype,"initialHeight",void 0),Uo([r.property()],Wo.prototype,"icon",void 0),Uo([r.property()],Wo.prototype,"iconVariant",void 0),Uo([r.property()],Wo.prototype,"cursor",void 0),Uo([r.state()],Wo.prototype,"dragging",void 0),o.customElement("ft-resizer")(Wo);const Eo={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.FtCssVariableFactory.extend("--ft-input-label-border-color","",o.designSystemVariables.colorOutline),textColor:o.FtCssVariableFactory.extend("--ft-input-label-text-color","",o.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:o.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",o.designSystemVariables.colorOnSurfaceDisabled),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},Lo=e.css`
198
205
  .ft-input-label {
199
206
  position: absolute;
200
207
  inset: 0;
201
208
  display: flex;
202
- background-color: ${ke.colorSurface};
203
- border-radius: ${ke.borderRadiusS} ${ke.borderRadiusS} 0 0;
209
+ background-color: ${Eo.colorSurface};
210
+ border-radius: ${Eo.borderRadiusS} ${Eo.borderRadiusS} 0 0;
204
211
  }
205
212
 
206
213
  .ft-input-label--outlined {
207
- border-radius: ${ke.borderRadiusS};
214
+ border-radius: ${Eo.borderRadiusS};
208
215
  }
209
216
 
210
217
  .ft-input-label {
211
- border-color: ${ke.borderColor};
218
+ border-color: ${Eo.borderColor};
212
219
  }
213
220
 
214
221
  .ft-input-label.ft-input-label--in-error {
215
- border-color: ${ke.colorError}
222
+ border-color: ${Eo.colorError}
216
223
  }
217
224
 
218
225
  .ft-input-label:before,
@@ -225,7 +232,7 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
225
232
  }
226
233
 
227
234
  .ft-input-label:before {
228
- width: calc(${ke.horizontalSpacing} - 4px);
235
+ width: calc(${Eo.horizontalSpacing} - 4px);
229
236
  flex-shrink: 0;
230
237
  }
231
238
 
@@ -241,20 +248,20 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
241
248
  border-bottom-width: 1px;
242
249
  border-bottom-style: solid;
243
250
  border-color: inherit;
244
- color: ${ke.textColor};
251
+ color: ${Eo.textColor};
245
252
  transition: font-size 250ms, line-height 250ms, color 250ms;
246
- max-width: calc(${ke.labelMaxWidth} - 2 * (${ke.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
253
+ max-width: calc(${Eo.labelMaxWidth} - 2 * (${Eo.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
247
254
  text-overflow: ellipsis;
248
- ${e.setVariable(It.fontSize,ke.fontSize)};
249
- ${e.setVariable(It.lineHeight,ke.fontSize)};
255
+ ${o.setVariable(zt.fontSize,Eo.fontSize)};
256
+ ${o.setVariable(zt.lineHeight,Eo.fontSize)};
250
257
  }
251
258
 
252
259
  .ft-input-label--in-error .ft-input-label--text {
253
- color: ${ke.colorError}
260
+ color: ${Eo.colorError}
254
261
  }
255
262
 
256
263
  .ft-input-label--disabled .ft-input-label--text {
257
- color: ${ke.disabledTextColor};
264
+ color: ${Eo.disabledTextColor};
258
265
  }
259
266
 
260
267
  .ft-input-label--hidden-text {
@@ -271,19 +278,19 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
271
278
  overflow: hidden;
272
279
  white-space: nowrap;
273
280
  text-overflow: ellipsis;
274
- padding: ${ke.verticalSpacing} 4px;
275
- margin: calc(${ke.verticalSpacing} * -1) 0;
281
+ padding: ${Eo.verticalSpacing} 4px;
282
+ margin: calc(${Eo.verticalSpacing} * -1) 0;
276
283
  max-width: 100%;
277
284
  box-sizing: border-box;
278
285
  }
279
286
 
280
287
  .ft-input-label--raised .ft-input-label--text {
281
- ${e.setVariable(It.fontSize,ke.raisedFontSize)};
282
- ${e.setVariable(It.lineHeight,ke.raisedFontSize)};
288
+ ${o.setVariable(zt.fontSize,Eo.raisedFontSize)};
289
+ ${o.setVariable(zt.lineHeight,Eo.raisedFontSize)};
283
290
  }
284
291
 
285
292
  .ft-input-label--raised .ft-input-label--floating-text {
286
- top: ${ke.verticalSpacing};
293
+ top: ${Eo.verticalSpacing};
287
294
  }
288
295
 
289
296
  .ft-input-label--outlined .ft-input-label--text,
@@ -296,36 +303,36 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
296
303
  .ft-input-label--outlined:before {
297
304
  border-left-width: 1px;
298
305
  border-left-style: solid;
299
- border-radius: ${ke.borderRadiusS} 0 0 ${ke.borderRadiusS};
306
+ border-radius: ${Eo.borderRadiusS} 0 0 ${Eo.borderRadiusS};
300
307
  }
301
308
 
302
309
  .ft-input-label--outlined:after {
303
310
  border-right-width: 1px;
304
311
  border-right-style: solid;
305
- border-radius: 0 ${ke.borderRadiusS} ${ke.borderRadiusS} 0;
312
+ border-radius: 0 ${Eo.borderRadiusS} ${Eo.borderRadiusS} 0;
306
313
  }
307
314
 
308
315
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
309
316
  padding: 2px 4px;
310
- z-index: ${ke.raisedZIndex};
311
- background-color: ${ke.colorSurface};
312
- border-radius: ${ke.borderRadiusS};
317
+ z-index: ${Eo.raisedZIndex};
318
+ background-color: ${Eo.colorSurface};
319
+ border-radius: ${Eo.borderRadiusS};
313
320
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
314
321
  }
315
322
 
316
323
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
317
324
  border-top: none;
318
325
  }
319
- `;var Ee=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class je extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
320
- <div class="${s.classMap(t)}">
321
- ${this.text?i.html`
326
+ `;var ko=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class zo extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return e.html`
327
+ <div class="${a.classMap(t)}">
328
+ ${this.text?e.html`
322
329
  <div class="ft-input-label--text ft-typography--caption">
323
330
  <span class="ft-input-label--floating-text">${this.text}</span>
324
331
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
325
332
  </div>
326
333
  `:null}
327
334
  </div>
328
- `}}je.elementDefinitions={},je.styles=[te,Se],Ee([o.property({type:String})],je.prototype,"text",void 0),Ee([o.property({type:Boolean})],je.prototype,"raised",void 0),Ee([o.property({type:Boolean})],je.prototype,"outlined",void 0),Ee([o.property({type:Boolean})],je.prototype,"disabled",void 0),Ee([o.property({type:Boolean})],je.prototype,"error",void 0),e.customElement("ft-input-label")(je);const Ne=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),Ie={color:Ne,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",Ne),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},Oe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),Ce=Oe,De=e.FtCssVariableFactory.extend("--ft-ripple-background-color",Oe),Ae=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),_e=Ae,Ze=e.FtCssVariableFactory.extend("--ft-ripple-background-color",Ae),Be=i.css`
335
+ `}}zo.elementDefinitions={},zo.styles=[io,Lo],ko([r.property({type:String})],zo.prototype,"text",void 0),ko([r.property({type:Boolean})],zo.prototype,"raised",void 0),ko([r.property({type:Boolean})],zo.prototype,"outlined",void 0),ko([r.property({type:Boolean})],zo.prototype,"disabled",void 0),ko([r.property({type:Boolean})],zo.prototype,"error",void 0),o.customElement("ft-input-label")(zo);const Ko=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Zo={color:Ko,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ko),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")},Do=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Fo=Do,Bo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Do),Ho=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Ao=Ho,Go=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ho),jo=e.css`
329
336
  :host {
330
337
  display: contents;
331
338
  }
@@ -338,7 +345,7 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
338
345
 
339
346
  .ft-ripple:not(.ft-ripple--unbounded) {
340
347
  overflow: hidden;
341
- border-radius: ${Ie.borderRadius};
348
+ border-radius: ${Zo.borderRadius};
342
349
  }
343
350
 
344
351
  .ft-ripple .ft-ripple--background,
@@ -372,27 +379,27 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
372
379
  }
373
380
 
374
381
  .ft-ripple .ft-ripple--background {
375
- background-color: ${Ie.backgroundColor};
382
+ background-color: ${Zo.backgroundColor};
376
383
  }
377
384
 
378
385
  .ft-ripple .ft-ripple--effect {
379
- background-color: ${Ie.color};
386
+ background-color: ${Zo.color};
380
387
  }
381
388
 
382
389
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
383
- background-color: ${Ze};
390
+ background-color: ${Go};
384
391
  }
385
392
 
386
393
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
387
- background-color: ${_e};
394
+ background-color: ${Ao};
388
395
  }
389
396
 
390
397
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
391
- background-color: ${De};
398
+ background-color: ${Bo};
392
399
  }
393
400
 
394
401
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
395
- background-color: ${Ce};
402
+ background-color: ${Fo};
396
403
  }
397
404
 
398
405
  .ft-ripple .ft-ripple--background {
@@ -422,33 +429,33 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
422
429
  }
423
430
 
424
431
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
425
- opacity: ${Ie.opacityContentOnSurfaceHover};
432
+ opacity: ${Zo.opacityContentOnSurfaceHover};
426
433
  }
427
434
 
428
435
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
429
- opacity: ${Ie.opacityContentOnSurfaceSelected};
436
+ opacity: ${Zo.opacityContentOnSurfaceSelected};
430
437
  }
431
438
 
432
439
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
433
- opacity: ${Ie.opacityContentOnSurfaceFocused};
440
+ opacity: ${Zo.opacityContentOnSurfaceFocused};
434
441
  }
435
442
 
436
443
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
437
- opacity: ${Ie.opacityContentOnSurfacePressed};
444
+ opacity: ${Zo.opacityContentOnSurfacePressed};
438
445
  transform: translate(-50%, -50%) scale(1);
439
446
  }
440
- `;var Ue=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Me extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.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 i.html`
447
+ `;var Mo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Po 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:a}=this.getCoordinates(t),i=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-i.x:i.width/2),this.originY=Math.round(null!=a?a-i.y:i.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`
441
448
  <style>
442
449
  .ft-ripple .ft-ripple--effect {
443
450
  left: ${this.originX}px;
444
451
  top: ${this.originY}px;
445
452
  }
446
453
  </style>
447
- <div class="${s.classMap(t)}">
454
+ <div class="${a.classMap(t)}">
448
455
  <div class="ft-ripple--background"></div>
449
456
  <div class="ft-ripple--effect"></div>
450
457
  </div>
451
- `}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 e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.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,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Me.elementDefinitions={},Me.styles=Be,Ue([o.property({type:Boolean})],Me.prototype,"primary",void 0),Ue([o.property({type:Boolean})],Me.prototype,"secondary",void 0),Ue([o.property({type:Boolean})],Me.prototype,"unbounded",void 0),Ue([o.property({type:Boolean})],Me.prototype,"activated",void 0),Ue([o.property({type:Boolean})],Me.prototype,"selected",void 0),Ue([o.property({type:Boolean})],Me.prototype,"disabled",void 0),Ue([o.state()],Me.prototype,"hovered",void 0),Ue([o.state()],Me.prototype,"focused",void 0),Ue([o.state()],Me.prototype,"pressed",void 0),Ue([o.state()],Me.prototype,"rippling",void 0),Ue([o.state()],Me.prototype,"originX",void 0),Ue([o.state()],Me.prototype,"originY",void 0),Ue([o.query(".ft-ripple")],Me.prototype,"ripple",void 0),Ue([o.query(".ft-ripple--effect")],Me.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Me);const Fe={fontSize:e.FtCssVariableFactory.create("--ft-text-area-font-size","SIZE","14px"),labelSize:e.FtCssVariableFactory.create("--ft-text-area-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-text-area-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-text-area-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariableFactory.extend("--ft-text-area-helper-color",e.designSystemVariables.colorOnSurfaceMedium),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},Te=i.css`
458
+ `}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"),a=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",a),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",a),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,a;return null!=o.x?({x:r,y:a}=o):null!=e.touches&&(r=e.touches[0].clientX,a=e.touches[0].clientY),{x:r,y:a}}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()}}Po.elementDefinitions={},Po.styles=jo,Mo([r.property({type:Boolean})],Po.prototype,"primary",void 0),Mo([r.property({type:Boolean})],Po.prototype,"secondary",void 0),Mo([r.property({type:Boolean})],Po.prototype,"unbounded",void 0),Mo([r.property({type:Boolean})],Po.prototype,"activated",void 0),Mo([r.property({type:Boolean})],Po.prototype,"selected",void 0),Mo([r.property({type:Boolean})],Po.prototype,"disabled",void 0),Mo([r.state()],Po.prototype,"hovered",void 0),Mo([r.state()],Po.prototype,"focused",void 0),Mo([r.state()],Po.prototype,"pressed",void 0),Mo([r.state()],Po.prototype,"rippling",void 0),Mo([r.state()],Po.prototype,"originX",void 0),Mo([r.state()],Po.prototype,"originY",void 0),Mo([r.query(".ft-ripple")],Po.prototype,"ripple",void 0),Mo([r.query(".ft-ripple--effect")],Po.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Po);const _o={fontSize:o.FtCssVariableFactory.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:o.FtCssVariableFactory.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:o.FtCssVariableFactory.extend("--ft-text-area-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},Yo=e.css`
452
459
  *:focus {
453
460
  outline: none;
454
461
  }
@@ -460,10 +467,10 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
460
467
  }
461
468
 
462
469
  ft-input-label {
463
- ${e.setVariable(ke.fontSize,Fe.fontSize)};
464
- ${e.setVariable(ke.raisedFontSize,Fe.labelSize)};
465
- ${e.setVariable(ke.verticalSpacing,Fe.verticalSpacing)};
466
- ${e.setVariable(ke.horizontalSpacing,Fe.horizontalSpacing)};
470
+ ${o.setVariable(Eo.fontSize,_o.fontSize)};
471
+ ${o.setVariable(Eo.raisedFontSize,_o.labelSize)};
472
+ ${o.setVariable(Eo.verticalSpacing,_o.verticalSpacing)};
473
+ ${o.setVariable(Eo.horizontalSpacing,_o.horizontalSpacing)};
467
474
  }
468
475
 
469
476
  .ft-text-area--main-panel {
@@ -481,8 +488,8 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
481
488
  }
482
489
 
483
490
  .ft-text-area--input-panel ft-ripple {
484
- ${e.setVariable(Ie.opacityContentOnSurfaceHover,"0.08")};
485
- ${e.setVariable(Ie.opacityContentOnSurfacePressed,"0.04")};
491
+ ${o.setVariable(Zo.opacityContentOnSurfaceHover,"0.08")};
492
+ ${o.setVariable(Zo.opacityContentOnSurfacePressed,"0.04")};
486
493
  }
487
494
 
488
495
  .ft-text-area--input {
@@ -494,12 +501,12 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
494
501
  align-self: stretch;
495
502
  resize: none;
496
503
 
497
- ${e.setVariable(wt.fontSize,Fe.fontSize)};
498
- ${e.setVariable(wt.lineHeight,Fe.fontSize)};
499
- color: ${Fe.colorOnSurface};
504
+ ${o.setVariable(It.fontSize,_o.fontSize)};
505
+ ${o.setVariable(It.lineHeight,_o.fontSize)};
506
+ color: ${_o.colorOnSurface};
500
507
 
501
- padding: 0 ${Fe.horizontalSpacing};
502
- margin: calc(${Fe.verticalSpacing} + ${Fe.labelSize} / 2) 0 ${Fe.verticalSpacing} 0;
508
+ padding: 0 ${_o.horizontalSpacing};
509
+ margin: calc(${_o.verticalSpacing} + ${_o.labelSize} / 2) 0 ${_o.verticalSpacing} 0;
503
510
 
504
511
  border: none;
505
512
  background: none;
@@ -508,7 +515,7 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
508
515
  }
509
516
 
510
517
  .ft-text-area--disabled .ft-text-area--input {
511
- color: ${Fe.colorOnSurfaceDisabled};
518
+ color: ${_o.colorOnSurfaceDisabled};
512
519
  }
513
520
 
514
521
  .ft-text-area:not(.ft-text-area--disabled) .ft-text-area--input-panel {
@@ -516,49 +523,49 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
516
523
  }
517
524
 
518
525
  .ft-text-area:not(.ft-text-area--disabled):focus-within ft-input-label {
519
- ${e.setVariable(ke.borderColor,Fe.colorPrimary)};
520
- ${e.setVariable(ke.textColor,Fe.colorPrimary)};
526
+ ${o.setVariable(Eo.borderColor,_o.colorPrimary)};
527
+ ${o.setVariable(Eo.textColor,_o.colorPrimary)};
521
528
  }
522
529
 
523
530
  .ft-text-area--filled .ft-text-area--input-panel {
524
- border-radius: ${Fe.borderRadiusS} ${Fe.borderRadiusS} 0 0;
531
+ border-radius: ${_o.borderRadiusS} ${_o.borderRadiusS} 0 0;
525
532
  }
526
533
 
527
534
  .ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
528
535
  align-self: stretch;
529
- margin-bottom: ${Fe.verticalSpacing};
530
- margin-top: calc(${Fe.labelSize} + 2 * ${Fe.verticalSpacing});
536
+ margin-bottom: ${_o.verticalSpacing};
537
+ margin-top: calc(${_o.labelSize} + 2 * ${_o.verticalSpacing});
531
538
  }
532
539
 
533
540
  .ft-text-area--outlined .ft-text-area--input-panel {
534
- border-radius: ${Fe.borderRadiusS};
541
+ border-radius: ${_o.borderRadiusS};
535
542
  }
536
543
 
537
544
  .ft-text-area--helper-text {
538
- padding: 0 12px 0 ${Fe.horizontalSpacing};
539
- color: ${Fe.helperColor};
545
+ padding: 0 12px 0 ${_o.horizontalSpacing};
546
+ color: ${_o.helperColor};
540
547
  }
541
548
 
542
549
  .ft-text-area--in-error .ft-text-area--input,
543
550
  .ft-text-area--in-error .ft-text-area--helper-text {
544
- color: ${Fe.colorError};
551
+ color: ${_o.colorError};
545
552
  }
546
553
 
547
554
  ft-resizer {
548
555
  position: absolute;
549
556
  bottom: 0;
550
557
  }
551
- `;var We=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Re extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){const t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return i.html`
558
+ `;var To=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Vo extends(o.toFtFormComponent(o.FtLitElement,"textbox")){constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){const t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return e.html`
552
559
  <style>
553
560
  .ft-text-area--main-panel {
554
- height: calc(4 * ${Fe.verticalSpacing} + ${Fe.labelSize} + ${Fe.fontSize} + ${this.height}px);
561
+ height: calc(4 * ${_o.verticalSpacing} + ${_o.labelSize} + ${_o.fontSize} + ${this.height}px);
555
562
  }
556
563
 
557
564
  ft-resizer {
558
565
  right: ${null!=this.textarea?this.textarea.offsetWidth-this.textarea.clientWidth:0}px;
559
566
  }
560
567
  </style>
561
- <div class="${s.classMap(t)}">
568
+ <div class="${a.classMap(t)}">
562
569
  <div class="ft-text-area--main-panel">
563
570
  <ft-input-label text="${this.label}"
564
571
  ?disabled=${this.disabled}
@@ -568,7 +575,7 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
568
575
  ></ft-input-label>
569
576
  <div class="ft-text-area--input-panel"
570
577
  aria-label="${this.label}">
571
- ${this.outlined?null:i.html`
578
+ ${this.outlined?null:e.html`
572
579
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
573
580
  `}
574
581
  <textarea class="ft-typography--body1 ft-text-area--input"
@@ -585,9 +592,9 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
585
592
  initialHeight="${this.height}"
586
593
  cursor="ns-resize"></ft-resizer>
587
594
  </div>
588
- ${this.helper?i.html`
595
+ ${this.helper?e.html`
589
596
  <ft-typography class="ft-text-area--helper-text" variant="caption">
590
597
  ${this.helper}
591
598
  </ft-typography>`:void 0}
592
599
  </div>
593
- `}setValue(t,e=!1){this.value=t,e&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.requestUpdate()}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}Re.elementDefinitions={"ft-input-label":je,"ft-resizer":ze,"ft-ripple":Me,"ft-typography":ae},Re.styles=[Jt,Te],We([o.property({type:String})],Re.prototype,"label",void 0),We([o.property({reflect:!0})],Re.prototype,"value",void 0),We([o.property({type:String})],Re.prototype,"helper",void 0),We([o.property({type:Boolean})],Re.prototype,"outlined",void 0),We([o.property({type:Boolean})],Re.prototype,"disabled",void 0),We([o.property({type:Boolean})],Re.prototype,"error",void 0),We([o.property({type:Number,reflect:!0})],Re.prototype,"height",void 0),We([o.query("textarea")],Re.prototype,"textarea",void 0),We([o.state()],Re.prototype,"focused",void 0),e.customElement("ft-text-area")(Re),t.FtTextArea=Re,t.FtTextAreaCssVariables=Fe,t.styles=Te}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
600
+ `}setValue(t,o=!1){this.value=t,this.setFormValue(t),o&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.requestUpdate()}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}Vo.elementDefinitions={"ft-input-label":zo,"ft-resizer":Wo,"ft-ripple":Po,"ft-typography":yo},Vo.styles=[ro,Yo],To([r.property({type:String})],Vo.prototype,"label",void 0),To([r.property({reflect:!0})],Vo.prototype,"value",void 0),To([r.property({type:String})],Vo.prototype,"helper",void 0),To([r.property({type:Boolean})],Vo.prototype,"outlined",void 0),To([r.property({type:Boolean})],Vo.prototype,"disabled",void 0),To([r.property({type:Boolean})],Vo.prototype,"error",void 0),To([r.property({type:Number,reflect:!0})],Vo.prototype,"height",void 0),To([r.query("textarea")],Vo.prototype,"textarea",void 0),To([r.state()],Vo.prototype,"focused",void 0),o.customElement("ft-text-area")(Vo),t.FtTextArea=Vo,t.FtTextAreaCssVariables=_o,t.styles=Yo}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);