@fluid-topics/ft-reader-metadata 1.0.63 → 1.1.1
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.
- package/build/ft-reader-metadata.d.ts +1 -1
- package/build/ft-reader-metadata.light.js +235 -235
- package/build/ft-reader-metadata.min.js +339 -325
- package/package.json +7 -7
|
@@ -2,113 +2,113 @@
|
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
}
|
|
5
|
-
`;var l;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(l||(l={}));var c=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const s=Symbol("registerInterval");class f extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[s]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[s]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=s,c([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
|
|
5
|
+
`;var l;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(l||(l={}));var c=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const s=Symbol("registerInterval");class f extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[s]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[s]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=s,c([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
8
8
|
* Copyright 2017 Google LLC
|
|
9
9
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10
|
-
*/
|
|
10
|
+
*/const d=globalThis,h=d.trustedTypes,g=h?h.createPolicy("lit-html",{createHTML:t=>t}):void 0,y="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,u="?"+b,m=`<${u}>`,x=document,O=()=>x.createComment(""),v=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,S="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,w=/>/g,I=RegExp(`>|${S}(?:([^\\s"'>=/]+)(${S}*=${S}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),k=/'/g,R=/"/g,U=/^(?:script|style|textarea|title)$/i,W=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),E=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),z=new WeakMap,K=x.createTreeWalker(x,129);function Z(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==g?g.createHTML(o):o}const F=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=$;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===$?"!--"===c[1]?n=C:void 0!==c[1]?n=w:void 0!==c[2]?(U.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=I):void 0!==c[3]&&(n=I):n===I?">"===c[0]?(n=i??$,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?I:'"'===c[3]?R:k):n===R||n===k?n=I:n===C||n===w?n=$:(n=I,i=void 0);const f=n===I&&t[o+1].startsWith("/>")?" ":"";a+=n===$?e+m:p>=0?(r.push(l),e.slice(0,p)+y+e.slice(p)+b+f):e+b+(-2===p?o:f)}return[Z(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class B{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,p]=F(t,o);if(this.el=B.createElement(c,e),K.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=K.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(y)){const o=p[a++],e=r.getAttribute(t).split(b),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?j:"?"===n[1]?P:"@"===n[1]?T:G}),r.removeAttribute(t)}else t.startsWith(b)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(U.test(r.tagName)){const t=r.textContent.split(b),o=t.length-1;if(o>0){r.textContent=h?h.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],O()),K.nextNode(),l.push({type:2,index:++i});r.append(t[o],O())}}}else if(8===r.nodeType)if(r.data===u)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(b,t+1));)l.push({type:7,index:i}),t+=b.length-1}i++}}static createElement(t,o){const e=x.createElement("template");return e.innerHTML=t,e}}function D(t,o,e=t,r){if(o===E)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=v(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=D(t,i._$AS(t,o.values),i,r)),o}class A{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??x).importNode(o,!0);K.currentNode=r;let i=K.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new H(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new M(i,this,t)),this._$AV.push(o),l=e[++n]}a!==l?.index&&(i=K.nextNode(),a++)}return K.currentNode=x,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=D(this,t,o),v(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>N(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==L&&v(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=B.createElement(Z(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new A(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=z.get(t.strings);return void 0===o&&z.set(t.strings,o=new B(t)),o}T(t){N(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new H(this.k(O()),this.k(O()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class G{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=L}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=D(this,t,o,0),a=!v(t)||t!==this._$AH&&t!==E,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=D(this,r[e+n],o,n),l===E&&(l=this._$AH[n]),a||=!v(l)||l!==this._$AH[n],l===L?t=L:t!==L&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class j extends G{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===L?void 0:t}}class P extends G{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==L)}}class T extends G{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=D(this,t,o,0)??L)===E)return;const e=this._$AH,r=t===L&&e!==L||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==L&&(e===L||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class M{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const _=d.litHtmlPolyfillSupport;_?.(B,H),(d.litHtmlVersions??=[]).push("3.1.0");
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
13
13
|
* Copyright 2020 Google LLC
|
|
14
14
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15
15
|
*/
|
|
16
|
-
const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t._$litStatic$},X=t=>({_$litStatic$:t,r:V}),J=new Map,Q=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=q(a));)c+=i+o[++p],s=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=J.get(t))&&(n.raw=n,J.set(t,o=n)),e=l}return t(o,...e)})(E);var tt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(tt||(tt={}));const ot=t=>"string"==typeof t?e.unsafeCSS(t):t;class et{static create(t,o,r,i){const a=t=>ot(null!=t?t:i),n=e.css`var(${ot(t)}, ${a(i)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${ot(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${ot(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${ot(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ot(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${ot(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${ot(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const rt={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8")},it={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},at={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",rt.colorBrand0),backgroundErrorPrimary:et.extend("--ft-background-error-primary","Used as background of error components.",rt.colorRed0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",rt.colorRed10),backgroundInfoPrimary:et.extend("--ft-background-info-primary","Used as background of information components.",rt.colorCyan200),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",rt.colorCyan10),backgroundWarningPrimary:et.extend("--ft-background-warning-primary","Used as background of warning components.",rt.colorOrange300),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",rt.colorOrange10),backgroundSuccessPrimary:et.extend("--ft-background-success-primary","Used as background of success components.",rt.colorGreen200),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",rt.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",rt.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",rt.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",rt.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",rt.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",rt.colorOrange300),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",rt.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",rt.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",rt.colorRed0),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",rt.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",rt.colorCyan0),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",rt.colorGreen0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",rt.colorGreen200),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",rt.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",rt.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",rt.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",rt.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",rt.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",rt.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for warning components.",rt.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success components.",rt.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for error components.",rt.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for information components.",rt.colorCyan30),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",rt.colorGray30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",rt.colorGray50),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",rt.colorGray80)},nt={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",rt.spacing4),largeGap:et.extend("--ft-button-large-gap","",rt.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",rt.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",rt.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",rt.spacing3),smallGap:et.extend("--ft-button-small-gap","",rt.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",rt.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",rt.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",at.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",at.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",at.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",at.contentGlobalOnColor),primaryStateLayerOpacityHover:et.extend("--ft-button-primary-state-layer-opacity-hover","",rt.opacity16),primaryStateLayerOpacityFocus:et.extend("--ft-button-primary-state-layer-opacity-focus","",rt.opacity16),primaryStateLayerOpacityActive:et.extend("--ft-button-primary-state-layer-opacity-active","",rt.opacity24),primaryComponentOpacityDisabled:et.extend("--ft-button-primary-component-opacity-disabled","",rt.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",at.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",at.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",at.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",at.contentActionPrimary),tertiaryStateLayerOpacityHover:et.extend("--ft-button-tertiary-state-layer-opacity-hover","",rt.opacity8),tertiaryStateLayerOpacityFocus:et.extend("--ft-button-tertiary-state-layer-opacity-focus","",rt.opacity8),tertiaryStateLayerOpacityActive:et.extend("--ft-button-tertiary-state-layer-opacity-active","",rt.opacity16),tertiaryComponentOpacityDisabled:et.extend("--ft-button-tertiary-component-opacity-disabled","",rt.opacity40),secondaryBackgroundColor:et.extend("--ft-button-secondary-background-color","",rt.colorWhite),secondaryColor:et.extend("--ft-button-secondary-color","",at.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",at.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",at.contentActionPrimary),secondaryStateLayerOpacityHover:et.extend("--ft-button-secondary-state-layer-opacity-hover","",rt.opacity8),secondaryStateLayerOpacityFocus:et.extend("--ft-button-secondary-state-layer-opacity-focus","",rt.opacity8),secondaryStateLayerOpacityActive:et.extend("--ft-button-secondary-state-layer-opacity-active","",rt.opacity16),secondaryComponentOpacityDisabled:et.extend("--ft-button-secondary-component-opacity-disabled","",rt.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",at.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",at.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",at.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",at.contentGlobalSecondary),neutralStateLayerOpacityHover:et.extend("--ft-button-neutral-state-layer-opacity-hover","",rt.opacity8),neutralStateLayerOpacityFocus:et.extend("--ft-button-neutral-state-layer-opacity-focus","",rt.opacity8),neutralStateLayerOpacityActive:et.extend("--ft-button-neutral-state-layer-opacity-active","",rt.opacity16),neutralComponentOpacityDisabled:et.extend("--ft-button-neutral-component-opacity-disabled","",rt.opacity40)};et.extend("--ft-tabs-top-left-border-radius","",rt.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",rt.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",rt.spacing4),et.extend("--ft-tabs-label-vertical-padding","",rt.spacing3),et.extend("--ft-tabs-label-gap","",rt.spacing1),et.extend("--ft-switch-group-horizontal-padding","",rt.spacing1),et.extend("--ft-switch-group-vertical-padding","",rt.spacing1),et.extend("--ft-switch-group-gap","",rt.spacing1),et.extend("--ft-switch-group-background-color","",at.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",at.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",rt.spacing2),et.extend("--ft-switch-label-vertical-padding","",rt.spacing1),et.extend("--ft-switch-icon-horizontal-padding","",rt.spacing1),et.extend("--ft-switch-icon-vertical-padding","",rt.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",at.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",rt.borderRadiusS),et.extend("--ft-switch-off-state-layer-opacity-hover","",rt.opacity8),et.extend("--ft-switch-off-state-layer-opacity-focus","",rt.opacity8),et.extend("--ft-switch-off-state-layer-opacity-active","",rt.opacity16),et.extend("--ft-switch-off-component-opacity-disabled","",rt.opacity40),et.extend("--ft-switch-off-color","",at.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",at.contentGlobalSubtle),et.extend("--ft-chart-1-light","for area color charts",rt.colorBrand40),et.extend("--ft-chart-1-base","for line charts",rt.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",rt.colorYellow60),et.extend("--ft-chart-2-base","for line charts",rt.colorYellow100),et.extend("--ft-chart-3-light","",rt.colorUltramarine40),et.extend("--ft-chart-3-base","",rt.colorUltramarine70),et.extend("--ft-chart-4-light","",rt.colorCyan50),et.extend("--ft-chart-4-base","",rt.colorCyan100),et.extend("--ft-chart-5-light","",rt.colorRed40),et.extend("--ft-chart-5-base","",rt.colorRed60),et.extend("--ft-chart-6-light","",rt.colorGreen40),et.extend("--ft-chart-6-base","",rt.colorGreen70),et.extend("--ft-chart-7-light","",rt.colorOrange70),et.extend("--ft-chart-7-base","",rt.colorOrange100),et.extend("--ft-chart-8-light","",rt.colorAvocado70),et.extend("--ft-chart-8-base","",rt.colorAvocado200),et.extend("--ft-chart-9-light","",rt.colorBrown50),et.extend("--ft-chart-9-base","",rt.colorBrown200),et.extend("--ft-chart-10-light","",rt.colorGray50),et.extend("--ft-chart-10-base","",rt.colorGray80),et.extend("--ft-chart-monochrome-10","",rt.colorBrand10),et.extend("--ft-chart-monochrome-20","",rt.colorBrand20),et.extend("--ft-chart-monochrome-30","",rt.colorBrand40),et.extend("--ft-chart-monochrome-40","",rt.colorBrand60),et.extend("--ft-chart-monochrome-50","",rt.colorBrand0),et.extend("--ft-chart-monochrome-60","",rt.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",rt.spacing4),et.extend("--ft-chip-large-vertical-padding","",rt.spacing2),et.extend("--ft-chip-large-gap","",rt.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",rt.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",rt.spacing3),et.extend("--ft-chip-medium-vertical-padding","",rt.spacing1),et.extend("--ft-chip-medium-gap","",rt.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",rt.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",rt.spacing2),et.extend("--ft-chip-small-vertical-padding","",rt.spacing05),et.extend("--ft-chip-small-gap","",rt.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",rt.iconSize1),et.extend("--ft-chip-neutral-background-color","",at.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",at.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",at.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",at.contentInfoPrimary),et.extend("--ft-chip-info-border-color","",at.borderInfoPrimary),et.extend("--ft-chip-success-background-color","",at.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",at.contentSuccessPrimary),et.extend("--ft-chip-success-border-color","",at.borderSuccessPrimary),et.extend("--ft-chip-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",at.contentWarningPrimary),et.extend("--ft-chip-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-chip-error-background-color","",at.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",at.contentErrorPrimary),et.extend("--ft-chip-error-border-color","",at.borderErrorPrimary),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",rt.spacing2),et.extend("--ft-notice-vertical-padding","",rt.spacing1),et.extend("--ft-notice-border-radius","",rt.borderRadiusS),et.extend("--ft-notice-gap","",rt.spacing2),et.extend("--ft-notice-icon-size","",rt.iconSize3),et.extend("--ft-notice-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",at.borderInfoPrimary),et.extend("--ft-notice-info-color","",at.contentInfoPrimary),et.extend("--ft-notice-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-notice-warning-color","",at.contentWarningPrimary),et.extend("--ft-checkbox-label-color","",at.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",at.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",at.contentActionPrimary),et.extend("--ft-checkbox-checked-color","",at.contentGlobalOnColor),et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-checkbox-checked-component-opacity-disabled","",rt.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",rt.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",rt.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",rt.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",at.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",rt.spacing3),et.extend("--ft-toggle-off-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-toggle-off-component-opacity-disabled","",rt.opacity40),et.extend("--ft-toggle-off-background-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-on-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-toggle-on-component-opacity-disabled","",rt.opacity40),et.extend("--ft-toggle-on-background-color","",at.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",at.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",at.contentActionPrimary),et.extend("--ft-toggle-label-color","",at.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",at.borderActionFocusRing),et.extend("--ft-toggle-gap","",rt.spacing3),et.extend("--ft-radio-label-color","",at.contentGlobalPrimary),et.extend("--ft-radio-selected-color","",at.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",at.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-radio-selected-component-opacity-disabled","",rt.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",rt.colorGray80),et.extend("--ft-radio-unselected-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-radio-unselected-component-opacity-disabled","",rt.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",at.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",rt.spacing3),et.extend("--ft-notification-icon-size","",rt.iconSize4),et.extend("--ft-notification-horizontal-padding","",rt.spacing4),et.extend("--ft-notification-vertical-padding","",rt.spacing4),et.extend("--ft-notification-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",at.contentInfoPrimary),et.extend("--ft-notification-info-border-color","",at.borderInfoPrimary),et.extend("--ft-notification-success-background-color","",at.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",at.contentSuccessPrimary),et.extend("--ft-notification-success-border-color","",at.borderSuccessPrimary),et.extend("--ft-notification-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",at.contentWarningPrimary),et.extend("--ft-notification-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-notification-error-background-color","",at.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",at.contentErrorPrimary),et.extend("--ft-notification-error-border-color","",at.borderErrorPrimary),et.extend("--ft-notification-border-radius","",rt.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-gap-leading","",rt.spacing2),et.extend("--ft-notification-gap-trailing","",rt.spacing8);const lt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ct=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),pt={fontFamily:ct,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},st=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",lt),ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",pt.fontSize,"20px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",pt.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",pt.letterSpacing,"0.15px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",pt.lineHeight,"1.2"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",pt.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",lt),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",pt.fontSize,"14px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",pt.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",pt.letterSpacing,"0.105px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",pt.lineHeight,"1.7"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",pt.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ct),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",pt.fontSize,"16px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",pt.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",pt.letterSpacing,"0.144px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",pt.lineHeight,"1.5"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",pt.textTransform,"inherit"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ct),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",pt.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",pt.fontWeight,"normal"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",pt.letterSpacing,"0.098px"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",pt.lineHeight,"1.7"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",pt.textTransform,"inherit"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ct),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",pt.fontSize,"16px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",pt.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",pt.letterSpacing,"0.496px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",pt.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",pt.textTransform,"inherit"),Ht={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",pt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",pt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",pt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",pt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",pt.textTransform,"inherit")},At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ct),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",pt.fontSize,"12px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",pt.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",pt.letterSpacing,"0.396px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",pt.lineHeight,"1.33"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",pt.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ct),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",pt.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",pt.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",pt.letterSpacing,"0.33px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",pt.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",pt.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ct),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",pt.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",pt.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",pt.letterSpacing,"1.5px"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",pt.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",pt.textTransform,"uppercase"),ao={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",pt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",pt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",pt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",pt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",pt.textTransform,"uppercase")},no=e.css`
|
|
16
|
+
const Y=Symbol.for(""),V=t=>{if(t?.r===Y)return t?._$litStatic$},q=t=>({_$litStatic$:t,r:Y}),X=new Map,J=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=V(a));)c+=i+o[++p],s=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=X.get(t))&&(n.raw=n,X.set(t,o=n)),e=l}return t(o,...e)})(W);var Q;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Q||(Q={}));const tt=t=>"string"==typeof t?e.unsafeCSS(t):t;class ot{static create(t,o,r,i){const a=t=>tt(null!=t?t:i),n=e.css`var(${tt(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${tt(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${tt(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${tt(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):tt(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${tt(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${tt(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const et={colorWhite:ot.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ot.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ot.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ot.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ot.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ot.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ot.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ot.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ot.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ot.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ot.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ot.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ot.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ot.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ot.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ot.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ot.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ot.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ot.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ot.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ot.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ot.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ot.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ot.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ot.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ot.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ot.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ot.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ot.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ot.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ot.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ot.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ot.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ot.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ot.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ot.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ot.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ot.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ot.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ot.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ot.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ot.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ot.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ot.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ot.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ot.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ot.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ot.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ot.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ot.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ot.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ot.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ot.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ot.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ot.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ot.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ot.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ot.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ot.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ot.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ot.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ot.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ot.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ot.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ot.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ot.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ot.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ot.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ot.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ot.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ot.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ot.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ot.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ot.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ot.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ot.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ot.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ot.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ot.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ot.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ot.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ot.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ot.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ot.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ot.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ot.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ot.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ot.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ot.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ot.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ot.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ot.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ot.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ot.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ot.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ot.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ot.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ot.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ot.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ot.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ot.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ot.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ot.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ot.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ot.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ot.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ot.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ot.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ot.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ot.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ot.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ot.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ot.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ot.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ot.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ot.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ot.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ot.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ot.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ot.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ot.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ot.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ot.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ot.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ot.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ot.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ot.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ot.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ot.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ot.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ot.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ot.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ot.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ot.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ot.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ot.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ot.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ot.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ot.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ot.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ot.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ot.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ot.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ot.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ot.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ot.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ot.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ot.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ot.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ot.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ot.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ot.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ot.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ot.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ot.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ot.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ot.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ot.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ot.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ot.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ot.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ot.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ot.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ot.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ot.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ot.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ot.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ot.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ot.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ot.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ot.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ot.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ot.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ot.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ot.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ot.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ot.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ot.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ot.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ot.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ot.create("--ft-opacity-0","","NUMBER","0"),opacity8:ot.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ot.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ot.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ot.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ot.create("--ft-opacity-80","","NUMBER","0.8")},rt={display:{fontFamily:ot.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ot.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ot.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ot.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ot.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ot.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ot.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ot.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ot.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ot.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ot.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ot.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ot.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ot.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ot.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ot.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ot.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ot.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ot.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ot.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ot.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ot.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ot.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ot.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ot.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ot.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ot.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ot.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ot.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ot.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ot.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ot.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ot.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ot.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ot.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ot.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ot.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ot.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ot.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ot.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ot.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ot.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ot.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ot.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ot.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ot.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ot.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ot.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ot.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ot.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ot.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ot.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ot.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ot.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ot.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ot.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ot.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ot.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ot.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ot.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ot.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ot.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},it={backgroundActionPrimary:ot.extend("--ft-background-action-primary","Used as backgorund of primary action components.",et.colorBrand0),backgroundErrorPrimary:ot.extend("--ft-background-error-primary","Used as background of error components.",et.colorRed0),backgroundErrorSubtle:ot.extend("--ft-background-error-subtle","Used as background of subtle error components.",et.colorRed10),backgroundInfoPrimary:ot.extend("--ft-background-info-primary","Used as background of information components.",et.colorCyan200),backgroundInfoSubtle:ot.extend("--ft-background-info-subtle","Used as background of subtle information components.",et.colorCyan10),backgroundWarningPrimary:ot.extend("--ft-background-warning-primary","Used as background of warning components.",et.colorOrange300),backgroundWarningSubtle:ot.extend("--ft-background-warning-subtle","Used as background of subtle information components.",et.colorOrange10),backgroundSuccessPrimary:ot.extend("--ft-background-success-primary","Used as background of success components.",et.colorGreen200),backgroundSuccessSubtle:ot.extend("--ft-background-success-subtle","Used as background of subtle success components.",et.colorGreen10),backgroundGlobalSurface:ot.extend("--ft-background-global-surface","Used as app background.",et.colorWhite),backgroundGlobalOnSurface:ot.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",et.colorGray10),backgroundGlobalOnSurfaceDark:ot.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",et.colorGray30),contentActionPrimary:ot.extend("--ft-content-action-primary","Used on label of primary action on light surface.",et.colorBrand0),contentWarningPrimary:ot.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",et.colorOrange300),contentWarningIconOnly:ot.extend("--ft-content-warning-icon-only","Used on warning status icons alone",et.colorOrange0),contentErrorPrimary:ot.extend("--ft-content-error-primary","Used on label of error messages on light surface.",et.colorRed0),contentErrorIconOnly:ot.extend("--ft-content-error-icon-only","Used on error status icons alone",et.colorRed0),contentInfoPrimary:ot.extend("--ft-content-info-primary","Used on label of information messages on light surface.",et.colorCyan200),contentInfoIconOnly:ot.extend("--ft-content-info-icon-only","Used on info status icons alone",et.colorCyan0),contentSuccessIconOnly:ot.extend("--ft-content-success-icon-only","Used on success status icons alone",et.colorGreen0),contentSuccessPrimary:ot.extend("--ft-content-success-primary","Used on label of success messages on light surface.",et.colorGreen200),contentGlobalPrimary:ot.extend("--ft-content-global-primary","Used for main content on the page.",et.colorGray500),contentGlobalSecondary:ot.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",et.colorGray200),contentGlobalSubtle:ot.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",et.colorGray0),contentGlobalOnColor:ot.extend("--ft-content-global-on-color","Used for content on a dominant color.",et.colorWhite),borderActionPrimary:ot.extend("--ft-border-action-primary","Used as border for primary action components.",et.colorBrand0),borderActionFocusRing:ot.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",et.colorCyan0),borderWarningPrimary:ot.extend("--ft-border-warning-primary","Used as border for warning components.",et.colorOrange30),borderSuccessPrimary:ot.extend("--ft-border-success-primary","Used as border for success components.",et.colorGreen30),borderErrorPrimary:ot.extend("--ft-border-error-primary","Used as border for error components.",et.colorRed30),borderInfoPrimary:ot.extend("--ft-border-info-primary","Used as border for information components.",et.colorCyan30),borderGlobalSubtle:ot.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",et.colorGray30),borderGlobalPrimary:ot.extend("--ft-border-global-primary","Used as border for element like input.",et.colorGray50),borderInputPrimary:ot.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",et.colorGray80)},at={largeHeight:ot.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ot.extend("--ft-button-large-horizontal-padding","",et.spacing4),largeGap:ot.extend("--ft-button-large-gap","",et.spacing2),largeBorderRadius:ot.extend("--ft-button-large-border-radius","",et.borderRadiusS),largeIconSize:ot.extend("--ft-button-large-icon-size","",et.iconSize3),largeBorderWidth:ot.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ot.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ot.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ot.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ot.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ot.extend("--ft-button-small-horizontal-padding","",et.spacing3),smallGap:ot.extend("--ft-button-small-gap","",et.spacing2),smallBorderRadius:ot.extend("--ft-button-small-border-radius","",et.borderRadiusS),smallIconSize:ot.extend("--ft-button-small-icon-size","",et.iconSize2),smallBorderWidth:ot.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ot.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ot.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ot.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ot.extend("--ft-button-primary-background-color","",it.backgroundActionPrimary),primaryColor:ot.extend("--ft-button-primary-color","",it.contentGlobalOnColor),primaryIconColor:ot.extend("--ft-button-primary-icon-color","",it.contentGlobalOnColor),primaryStateLayerColor:ot.extend("--ft-button-primary-state-layer-color","",it.contentGlobalOnColor),primaryStateLayerOpacityHover:ot.extend("--ft-button-primary-state-layer-opacity-hover","",et.opacity16),primaryStateLayerOpacityFocus:ot.extend("--ft-button-primary-state-layer-opacity-focus","",et.opacity16),primaryStateLayerOpacityActive:ot.extend("--ft-button-primary-state-layer-opacity-active","",et.opacity24),primaryComponentOpacityDisabled:ot.extend("--ft-button-primary-component-opacity-disabled","",et.opacity40),focusFocusRingColor:ot.extend("--ft-button-focus-focus-ring-color","",it.borderActionFocusRing),tertiaryBackgroundColor:ot.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ot.extend("--ft-button-tertiary-color","",it.contentActionPrimary),tertiaryIconColor:ot.extend("--ft-button-tertiary-icon-color","",it.contentActionPrimary),tertiaryStateLayerColor:ot.extend("--ft-button-tertiary-state-layer-color","",it.contentActionPrimary),tertiaryStateLayerOpacityHover:ot.extend("--ft-button-tertiary-state-layer-opacity-hover","",et.opacity8),tertiaryStateLayerOpacityFocus:ot.extend("--ft-button-tertiary-state-layer-opacity-focus","",et.opacity8),tertiaryStateLayerOpacityActive:ot.extend("--ft-button-tertiary-state-layer-opacity-active","",et.opacity16),tertiaryComponentOpacityDisabled:ot.extend("--ft-button-tertiary-component-opacity-disabled","",et.opacity40),secondaryBackgroundColor:ot.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ot.extend("--ft-button-secondary-color","",it.contentActionPrimary),secondaryIconColor:ot.extend("--ft-button-secondary-icon-color","",it.contentActionPrimary),secondaryStateLayerColor:ot.extend("--ft-button-secondary-state-layer-color","",it.contentActionPrimary),secondaryStateLayerOpacityHover:ot.extend("--ft-button-secondary-state-layer-opacity-hover","",et.opacity8),secondaryStateLayerOpacityFocus:ot.extend("--ft-button-secondary-state-layer-opacity-focus","",et.opacity8),secondaryStateLayerOpacityActive:ot.extend("--ft-button-secondary-state-layer-opacity-active","",et.opacity16),secondaryComponentOpacityDisabled:ot.extend("--ft-button-secondary-component-opacity-disabled","",et.opacity40),secondaryBorderColor:ot.extend("--ft-button-secondary-border-color","",it.borderActionPrimary),neutralBackgroundColor:ot.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ot.extend("--ft-button-neutral-icon-color","",it.contentGlobalSecondary),neutralColor:ot.extend("--ft-button-neutral-color","",it.contentGlobalSecondary),neutralStateLayerColor:ot.extend("--ft-button-neutral-state-layer-color","",it.contentGlobalSecondary),neutralStateLayerOpacityHover:ot.extend("--ft-button-neutral-state-layer-opacity-hover","",et.opacity8),neutralStateLayerOpacityFocus:ot.extend("--ft-button-neutral-state-layer-opacity-focus","",et.opacity8),neutralStateLayerOpacityActive:ot.extend("--ft-button-neutral-state-layer-opacity-active","",et.opacity16),neutralComponentOpacityDisabled:ot.extend("--ft-button-neutral-component-opacity-disabled","",et.opacity40)};ot.extend("--ft-tabs-top-left-border-radius","",et.borderRadiusS),ot.extend("--ft-tabs-top-right-border-radius","",et.borderRadiusS),ot.extend("--ft-tabs-label-horizontal-padding","",et.spacing4),ot.extend("--ft-tabs-label-vertical-padding","",et.spacing3),ot.extend("--ft-tabs-label-gap","",et.spacing1),ot.extend("--ft-switch-group-horizontal-padding","",et.spacing1),ot.extend("--ft-switch-group-vertical-padding","",et.spacing1),ot.extend("--ft-switch-group-gap","",et.spacing1),ot.extend("--ft-switch-group-background-color","",it.backgroundGlobalSurface),ot.extend("--ft-switch-group-border-color","",it.borderGlobalSubtle),ot.create("--ft-switch-group-border-radius","","SIZE","6px"),ot.extend("--ft-switch-label-horizontal-padding","",et.spacing2),ot.extend("--ft-switch-label-vertical-padding","",et.spacing1),ot.extend("--ft-switch-icon-horizontal-padding","",et.spacing1),ot.extend("--ft-switch-icon-vertical-padding","",et.spacing1),ot.create("--ft-switch-focus-outline-width","","SIZE","2px"),ot.extend("--ft-switch-focus-focus-ring-color","",it.borderActionFocusRing),ot.extend("--ft-switch-option-border-radius","",et.borderRadiusS),ot.extend("--ft-switch-off-state-layer-opacity-hover","",et.opacity8),ot.extend("--ft-switch-off-state-layer-opacity-focus","",et.opacity8),ot.extend("--ft-switch-off-state-layer-opacity-active","",et.opacity16),ot.extend("--ft-switch-off-component-opacity-disabled","",et.opacity40),ot.extend("--ft-switch-off-color","",it.contentGlobalSubtle),ot.extend("--ft-switch-off-state-layer-color","",it.contentGlobalSubtle),ot.extend("--ft-chart-1-light","for area color charts",et.colorBrand40),ot.extend("--ft-chart-1-base","for line charts",et.colorBrand0),ot.extend("--ft-chart-2-light","for area color charts",et.colorYellow60),ot.extend("--ft-chart-2-base","for line charts",et.colorYellow100),ot.extend("--ft-chart-3-light","",et.colorUltramarine40),ot.extend("--ft-chart-3-base","",et.colorUltramarine70),ot.extend("--ft-chart-4-light","",et.colorCyan50),ot.extend("--ft-chart-4-base","",et.colorCyan100),ot.extend("--ft-chart-5-light","",et.colorRed40),ot.extend("--ft-chart-5-base","",et.colorRed60),ot.extend("--ft-chart-6-light","",et.colorGreen40),ot.extend("--ft-chart-6-base","",et.colorGreen70),ot.extend("--ft-chart-7-light","",et.colorOrange70),ot.extend("--ft-chart-7-base","",et.colorOrange100),ot.extend("--ft-chart-8-light","",et.colorAvocado70),ot.extend("--ft-chart-8-base","",et.colorAvocado200),ot.extend("--ft-chart-9-light","",et.colorBrown50),ot.extend("--ft-chart-9-base","",et.colorBrown200),ot.extend("--ft-chart-10-light","",et.colorGray50),ot.extend("--ft-chart-10-base","",et.colorGray80),ot.extend("--ft-chart-monochrome-10","",et.colorBrand10),ot.extend("--ft-chart-monochrome-20","",et.colorBrand20),ot.extend("--ft-chart-monochrome-30","",et.colorBrand40),ot.extend("--ft-chart-monochrome-40","",et.colorBrand60),ot.extend("--ft-chart-monochrome-50","",et.colorBrand0),ot.extend("--ft-chart-monochrome-60","",et.colorBrand200),ot.extend("--ft-chip-large-horizontal-padding","",et.spacing4),ot.extend("--ft-chip-large-vertical-padding","",et.spacing2),ot.extend("--ft-chip-large-gap","",et.spacing1),ot.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ot.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ot.extend("--ft-chip-large-border-radius","",et.borderRadiusPill),ot.create("--ft-chip-large-border-width","","SIZE","1px"),ot.extend("--ft-chip-large-icon-size","",et.iconSize3),ot.extend("--ft-chip-medium-horizontal-padding","",et.spacing3),ot.extend("--ft-chip-medium-vertical-padding","",et.spacing1),ot.extend("--ft-chip-medium-gap","",et.spacing1),ot.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ot.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ot.extend("--ft-chip-medium-border-radius","",et.borderRadiusPill),ot.create("--ft-chip-medium-border-width","","SIZE","1px"),ot.extend("--ft-chip-medium-icon-size","",et.iconSize2),ot.extend("--ft-chip-small-horizontal-padding","",et.spacing2),ot.extend("--ft-chip-small-vertical-padding","",et.spacing05),ot.extend("--ft-chip-small-gap","",et.spacing1),ot.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ot.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ot.extend("--ft-chip-small-border-radius","",et.borderRadiusPill),ot.create("--ft-chip-small-border-width","","SIZE","1px"),ot.extend("--ft-chip-small-icon-size","",et.iconSize1),ot.extend("--ft-chip-neutral-background-color","",it.backgroundGlobalOnSurface),ot.extend("--ft-chip-neutral-color","",it.contentGlobalPrimary),ot.extend("--ft-chip-neutral-border-color","",it.borderGlobalSubtle),ot.extend("--ft-chip-info-background-color","",it.backgroundInfoSubtle),ot.extend("--ft-chip-info-color","",it.contentInfoPrimary),ot.extend("--ft-chip-info-border-color","",it.borderInfoPrimary),ot.extend("--ft-chip-success-background-color","",it.backgroundSuccessSubtle),ot.extend("--ft-chip-success-color","",it.contentSuccessPrimary),ot.extend("--ft-chip-success-border-color","",it.borderSuccessPrimary),ot.extend("--ft-chip-warning-background-color","",it.backgroundWarningSubtle),ot.extend("--ft-chip-warning-color","",it.contentWarningPrimary),ot.extend("--ft-chip-warning-border-color","",it.borderWarningPrimary),ot.extend("--ft-chip-error-background-color","",it.backgroundErrorSubtle),ot.extend("--ft-chip-error-color","",it.contentErrorPrimary),ot.extend("--ft-chip-error-border-color","",it.borderErrorPrimary),ot.create("--ft-notice-border-width","","SIZE","1px"),ot.extend("--ft-notice-horizontal-padding","",et.spacing2),ot.extend("--ft-notice-vertical-padding","",et.spacing1),ot.extend("--ft-notice-border-radius","",et.borderRadiusS),ot.extend("--ft-notice-gap","",et.spacing2),ot.extend("--ft-notice-icon-size","",et.iconSize3),ot.extend("--ft-notice-info-background-color","",it.backgroundInfoSubtle),ot.extend("--ft-notice-info-border-color","",it.borderInfoPrimary),ot.extend("--ft-notice-info-color","",it.contentInfoPrimary),ot.extend("--ft-notice-warning-background-color","",it.backgroundWarningSubtle),ot.extend("--ft-notice-warning-border-color","",it.borderWarningPrimary),ot.extend("--ft-notice-warning-color","",it.contentWarningPrimary),ot.extend("--ft-checkbox-label-color","",it.contentGlobalPrimary),ot.extend("--ft-checkbox-checked-background-color","",it.contentActionPrimary),ot.extend("--ft-checkbox-checked-state-layer-color","",it.contentActionPrimary),ot.extend("--ft-checkbox-checked-color","",it.contentGlobalOnColor),ot.extend("--ft-checkbox-checked-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-checkbox-checked-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-checkbox-checked-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-checkbox-checked-component-opacity-disabled","",et.opacity40),ot.extend("--ft-checkbox-unchecked-border-color","",et.colorGray80),ot.extend("--ft-checkbox-unchecked-state-layer-color","",et.colorGray80),ot.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-checkbox-unchecked-component-opacity-disabled","",et.opacity40),ot.extend("--ft-checkbox-focus-focus-ring-color","",it.borderActionFocusRing),ot.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ot.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ot.extend("--ft-checkbox-gap","",et.spacing3),ot.extend("--ft-toggle-off-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-toggle-off-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-toggle-off-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-toggle-off-component-opacity-disabled","",et.opacity40),ot.extend("--ft-toggle-off-background-color","",it.contentGlobalSubtle),ot.extend("--ft-toggle-off-icon-color","",it.contentGlobalSubtle),ot.extend("--ft-toggle-off-state-layer-color","",it.contentGlobalSubtle),ot.extend("--ft-toggle-on-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-toggle-on-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-toggle-on-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-toggle-on-component-opacity-disabled","",et.opacity40),ot.extend("--ft-toggle-on-background-color","",it.contentActionPrimary),ot.extend("--ft-toggle-on-icon-color","",it.contentActionPrimary),ot.extend("--ft-toggle-on-state-layer-color","",it.contentActionPrimary),ot.extend("--ft-toggle-label-color","",it.contentGlobalPrimary),ot.extend("--ft-toggle-focus-focus-ring-color","",it.borderActionFocusRing),ot.extend("--ft-toggle-gap","",et.spacing3),ot.extend("--ft-radio-label-color","",it.contentGlobalPrimary),ot.extend("--ft-radio-selected-color","",it.contentActionPrimary),ot.extend("--ft-radio-selected-state-layer-color","",it.contentActionPrimary),ot.extend("--ft-radio-selected-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-radio-selected-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-radio-selected-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-radio-selected-component-opacity-disabled","",et.opacity40),ot.extend("--ft-radio-unselected-state-layer-color","",et.colorGray80),ot.extend("--ft-radio-unselected-state-layer-opacity-hover","",et.opacity16),ot.extend("--ft-radio-unselected-state-layer-opacity-focus","",et.opacity16),ot.extend("--ft-radio-unselected-state-layer-opacity-active","",et.opacity24),ot.extend("--ft-radio-unselected-component-opacity-disabled","",et.opacity40),ot.extend("--ft-radio-focus-focus-ring-color","",it.borderActionFocusRing),ot.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ot.create("--ft-radio-focus-outline-width","","SIZE","2px"),ot.extend("--ft-radio-gap","",et.spacing3),ot.extend("--ft-notification-icon-size","",et.iconSize4),ot.extend("--ft-notification-horizontal-padding","",et.spacing4),ot.extend("--ft-notification-vertical-padding","",et.spacing4),ot.extend("--ft-notification-info-background-color","",it.backgroundInfoSubtle),ot.extend("--ft-notification-info-color","",it.contentInfoPrimary),ot.extend("--ft-notification-info-border-color","",it.borderInfoPrimary),ot.extend("--ft-notification-success-background-color","",it.backgroundSuccessSubtle),ot.extend("--ft-notification-success-color","",it.contentSuccessPrimary),ot.extend("--ft-notification-success-border-color","",it.borderSuccessPrimary),ot.extend("--ft-notification-warning-background-color","",it.backgroundWarningSubtle),ot.extend("--ft-notification-warning-color","",it.contentWarningPrimary),ot.extend("--ft-notification-warning-border-color","",it.borderWarningPrimary),ot.extend("--ft-notification-error-background-color","",it.backgroundErrorSubtle),ot.extend("--ft-notification-error-color","",it.contentErrorPrimary),ot.extend("--ft-notification-error-border-color","",it.borderErrorPrimary),ot.extend("--ft-notification-border-radius","",et.borderRadiusPill),ot.create("--ft-notification-border-width","","SIZE","1px"),ot.extend("--ft-notification-gap-leading","",et.spacing2),ot.extend("--ft-notification-gap-trailing","",et.spacing8);const nt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),lt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ct={fontFamily:lt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},pt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",nt),st=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ct.fontSize,"20px"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ct.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ct.letterSpacing,"0.15px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ct.lineHeight,"1.2"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ct.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",nt),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ct.fontSize,"14px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ct.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ct.letterSpacing,"0.105px"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ct.lineHeight,"1.7"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ct.textTransform,"inherit"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",lt),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ct.fontSize,"16px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ct.fontWeight,"600"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ct.letterSpacing,"0.144px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ct.lineHeight,"1.5"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ct.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",lt),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ct.fontSize,"14px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ct.fontWeight,"normal"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ct.letterSpacing,"0.098px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ct.lineHeight,"1.7"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ct.textTransform,"inherit"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",lt),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ct.fontSize,"16px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ct.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ct.letterSpacing,"0.496px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ct.lineHeight,"1.5"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ct.textTransform,"inherit"),Dt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",lt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ct.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ct.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ct.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ct.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ct.textTransform,"inherit")},At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",lt),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ct.fontSize,"12px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ct.fontWeight,"normal"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ct.letterSpacing,"0.396px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ct.lineHeight,"1.33"),Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ct.textTransform,"inherit"),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",lt),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ct.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ct.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ct.letterSpacing,"0.33px"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ct.lineHeight,"1.6"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ct.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",lt),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ct.fontSize,"10px"),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ct.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ct.letterSpacing,"1.5px"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ct.lineHeight,"1.6"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ct.textTransform,"uppercase"),io={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",lt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ct.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ct.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ct.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ct.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ct.textTransform,"uppercase")},ao=e.css`
|
|
17
17
|
.ft-typography--title {
|
|
18
|
-
font-family: ${
|
|
19
|
-
font-size: ${
|
|
20
|
-
font-weight: ${
|
|
21
|
-
letter-spacing: ${
|
|
22
|
-
line-height: ${
|
|
23
|
-
text-transform: ${
|
|
24
|
-
}
|
|
25
|
-
`,
|
|
18
|
+
font-family: ${pt};
|
|
19
|
+
font-size: ${st};
|
|
20
|
+
font-weight: ${ft};
|
|
21
|
+
letter-spacing: ${dt};
|
|
22
|
+
line-height: ${ht};
|
|
23
|
+
text-transform: ${gt};
|
|
24
|
+
}
|
|
25
|
+
`,no=e.css`
|
|
26
26
|
.ft-typography--title-dense {
|
|
27
|
-
font-family: ${
|
|
28
|
-
font-size: ${
|
|
29
|
-
font-weight: ${
|
|
30
|
-
letter-spacing: ${
|
|
31
|
-
line-height: ${
|
|
32
|
-
text-transform: ${
|
|
27
|
+
font-family: ${yt};
|
|
28
|
+
font-size: ${bt};
|
|
29
|
+
font-weight: ${ut};
|
|
30
|
+
letter-spacing: ${mt};
|
|
31
|
+
line-height: ${xt};
|
|
32
|
+
text-transform: ${Ot};
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,lo=e.css`
|
|
35
35
|
.ft-typography--subtitle1 {
|
|
36
|
-
font-family: ${
|
|
37
|
-
font-size: ${
|
|
38
|
-
font-weight: ${
|
|
39
|
-
letter-spacing: ${
|
|
40
|
-
line-height: ${
|
|
41
|
-
text-transform: ${
|
|
36
|
+
font-family: ${vt};
|
|
37
|
+
font-size: ${Nt};
|
|
38
|
+
font-weight: ${St};
|
|
39
|
+
letter-spacing: ${$t};
|
|
40
|
+
line-height: ${Ct};
|
|
41
|
+
text-transform: ${wt};
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,co=e.css`
|
|
44
44
|
.ft-typography--subtitle2 {
|
|
45
|
-
font-family: ${
|
|
46
|
-
font-size: ${
|
|
47
|
-
font-weight: ${
|
|
48
|
-
letter-spacing: ${
|
|
49
|
-
line-height: ${
|
|
50
|
-
text-transform: ${
|
|
45
|
+
font-family: ${It};
|
|
46
|
+
font-size: ${kt};
|
|
47
|
+
font-weight: ${Rt};
|
|
48
|
+
letter-spacing: ${Ut};
|
|
49
|
+
line-height: ${Wt};
|
|
50
|
+
text-transform: ${Et};
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
`,
|
|
53
|
+
`,po=e.css`
|
|
54
54
|
.ft-typography--body1 {
|
|
55
|
-
font-family: ${
|
|
56
|
-
font-size: ${
|
|
57
|
-
font-weight: ${
|
|
58
|
-
letter-spacing: ${
|
|
59
|
-
line-height: ${
|
|
60
|
-
text-transform: ${
|
|
55
|
+
font-family: ${Lt};
|
|
56
|
+
font-size: ${zt};
|
|
57
|
+
font-weight: ${Kt};
|
|
58
|
+
letter-spacing: ${Zt};
|
|
59
|
+
line-height: ${Ft};
|
|
60
|
+
text-transform: ${Bt};
|
|
61
61
|
}
|
|
62
|
-
`,
|
|
62
|
+
`,so=e.css`
|
|
63
63
|
.ft-typography--body2 {
|
|
64
|
-
font-family: ${
|
|
65
|
-
font-size: ${
|
|
66
|
-
font-weight: ${
|
|
67
|
-
letter-spacing: ${
|
|
68
|
-
line-height: ${
|
|
69
|
-
text-transform: ${
|
|
64
|
+
font-family: ${Dt.fontFamily};
|
|
65
|
+
font-size: ${Dt.fontSize};
|
|
66
|
+
font-weight: ${Dt.fontWeight};
|
|
67
|
+
letter-spacing: ${Dt.letterSpacing};
|
|
68
|
+
line-height: ${Dt.lineHeight};
|
|
69
|
+
text-transform: ${Dt.textTransform};
|
|
70
70
|
}
|
|
71
|
-
`,
|
|
71
|
+
`,fo=e.css`
|
|
72
72
|
.ft-typography--caption {
|
|
73
73
|
font-family: ${At};
|
|
74
|
-
font-size: ${
|
|
75
|
-
font-weight: ${
|
|
76
|
-
letter-spacing: ${
|
|
77
|
-
line-height: ${
|
|
78
|
-
text-transform: ${
|
|
74
|
+
font-size: ${Ht};
|
|
75
|
+
font-weight: ${Gt};
|
|
76
|
+
letter-spacing: ${jt};
|
|
77
|
+
line-height: ${Pt};
|
|
78
|
+
text-transform: ${Tt};
|
|
79
79
|
}
|
|
80
|
-
`,
|
|
80
|
+
`,ho=e.css`
|
|
81
81
|
.ft-typography--breadcrumb {
|
|
82
|
-
font-family: ${
|
|
83
|
-
font-size: ${
|
|
84
|
-
font-weight: ${
|
|
85
|
-
letter-spacing: ${
|
|
86
|
-
line-height: ${
|
|
87
|
-
text-transform: ${
|
|
82
|
+
font-family: ${Mt};
|
|
83
|
+
font-size: ${_t};
|
|
84
|
+
font-weight: ${Yt};
|
|
85
|
+
letter-spacing: ${Vt};
|
|
86
|
+
line-height: ${qt};
|
|
87
|
+
text-transform: ${Xt};
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,go=e.css`
|
|
90
90
|
.ft-typography--overline {
|
|
91
|
-
font-family: ${
|
|
92
|
-
font-size: ${
|
|
93
|
-
font-weight: ${
|
|
94
|
-
letter-spacing: ${
|
|
95
|
-
line-height: ${
|
|
96
|
-
text-transform: ${
|
|
91
|
+
font-family: ${Jt};
|
|
92
|
+
font-size: ${Qt};
|
|
93
|
+
font-weight: ${to};
|
|
94
|
+
letter-spacing: ${oo};
|
|
95
|
+
line-height: ${eo};
|
|
96
|
+
text-transform: ${ro};
|
|
97
97
|
}
|
|
98
|
-
`,
|
|
98
|
+
`,yo=e.css`
|
|
99
99
|
.ft-typography--button {
|
|
100
|
-
font-family: ${
|
|
101
|
-
font-size: ${
|
|
102
|
-
font-weight: ${
|
|
103
|
-
letter-spacing: ${
|
|
104
|
-
line-height: ${
|
|
105
|
-
text-transform: ${
|
|
106
|
-
}
|
|
107
|
-
`,
|
|
100
|
+
font-family: ${io.fontFamily};
|
|
101
|
+
font-size: ${io.fontSize};
|
|
102
|
+
font-weight: ${io.fontWeight};
|
|
103
|
+
letter-spacing: ${io.letterSpacing};
|
|
104
|
+
line-height: ${io.lineHeight};
|
|
105
|
+
text-transform: ${io.textTransform};
|
|
106
|
+
}
|
|
107
|
+
`,bo=e.css`
|
|
108
108
|
.ft-typography {
|
|
109
109
|
vertical-align: inherit;
|
|
110
110
|
}
|
|
111
|
-
`,
|
|
111
|
+
`,uo=[Object.keys(rt).map((t=>function(t){const o=rt[t];return e.css`
|
|
112
112
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
113
113
|
font-family: ${o.fontFamily};
|
|
114
114
|
font-size: ${o.fontSize};
|
|
@@ -117,14 +117,14 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
117
117
|
line-height: ${o.lineHeight};
|
|
118
118
|
text-transform: ${o.textCase};
|
|
119
119
|
}
|
|
120
|
-
`}(t)))];var
|
|
121
|
-
<${
|
|
120
|
+
`}(t)))];var mo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class xo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Q.body1}render(){return this.element?J`
|
|
121
|
+
<${q(this.element)}
|
|
122
122
|
class="ft-typography ft-typography--${this.variant}">
|
|
123
123
|
<slot></slot>
|
|
124
|
-
</${
|
|
125
|
-
`:
|
|
124
|
+
</${q(this.element)}>
|
|
125
|
+
`:J`
|
|
126
126
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
127
|
-
`}}
|
|
127
|
+
`}}xo.styles=[ao,no,lo,co,po,so,fo,ho,go,yo,bo,...uo],mo([r.property()],xo.prototype,"element",void 0),mo([r.property()],xo.prototype,"variant",void 0),o.customElement("ft-typography")(xo);const Oo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),vo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),No=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),So=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),$o=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Co=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),wo=e.css`
|
|
128
128
|
.ft-tooltip--container {
|
|
129
129
|
display: block;
|
|
130
130
|
}
|
|
@@ -139,21 +139,21 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
139
139
|
box-sizing: border-box;
|
|
140
140
|
overflow: hidden;
|
|
141
141
|
width: max-content;
|
|
142
|
-
max-width: ${
|
|
142
|
+
max-width: ${Co};
|
|
143
143
|
text-align: center;
|
|
144
|
-
padding: ${
|
|
145
|
-
z-index: ${
|
|
144
|
+
padding: ${Oo};
|
|
145
|
+
z-index: ${So};
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.ft-tooltip--content {
|
|
149
149
|
padding: 4px 8px;
|
|
150
|
-
border-radius: ${
|
|
151
|
-
background-color: ${
|
|
152
|
-
color: ${
|
|
150
|
+
border-radius: ${$o};
|
|
151
|
+
background-color: ${No};
|
|
152
|
+
color: ${vo};
|
|
153
153
|
position: relative;
|
|
154
154
|
word-break: break-word;
|
|
155
155
|
}
|
|
156
|
-
`;var
|
|
156
|
+
`;var Io=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ko extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
157
157
|
<div part="container"
|
|
158
158
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
159
159
|
@mouseenter=${this.onHover}
|
|
@@ -171,7 +171,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
171
171
|
</div>
|
|
172
172
|
</div>
|
|
173
173
|
</div>
|
|
174
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,s=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(p,s))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${
|
|
174
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,s=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(p,s))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Co})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ko.elementDefinitions={"ft-typography":xo},ko.styles=wo,Io([r.property()],ko.prototype,"text",void 0),Io([r.property({type:Boolean})],ko.prototype,"manual",void 0),Io([r.property({type:Boolean})],ko.prototype,"inline",void 0),Io([r.property({type:Number})],ko.prototype,"delay",void 0),Io([r.property()],ko.prototype,"position",void 0),Io([r.queryAssignedNodes()],ko.prototype,"slotNodes",void 0),Io([r.query(".ft-tooltip--container")],ko.prototype,"container",void 0),Io([r.query(".ft-tooltip")],ko.prototype,"tooltip",void 0),Io([r.query(".ft-tooltip--content")],ko.prototype,"tooltipContent",void 0),Io([r.state()],ko.prototype,"visible",void 0),o.customElement("ft-tooltip")(ko);const Ro=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Uo={color:Ro,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ro),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")},Wo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Eo=Wo,Lo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Wo),zo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Ko=zo,Zo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",zo),Fo=e.css`
|
|
175
175
|
:host {
|
|
176
176
|
display: contents;
|
|
177
177
|
}
|
|
@@ -184,7 +184,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
184
184
|
|
|
185
185
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
186
186
|
overflow: hidden;
|
|
187
|
-
border-radius: ${
|
|
187
|
+
border-radius: ${Uo.borderRadius};
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.ft-ripple .ft-ripple--background,
|
|
@@ -218,27 +218,27 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.ft-ripple .ft-ripple--background {
|
|
221
|
-
background-color: ${
|
|
221
|
+
background-color: ${Uo.backgroundColor};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.ft-ripple .ft-ripple--effect {
|
|
225
|
-
background-color: ${
|
|
225
|
+
background-color: ${Uo.color};
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
229
|
-
background-color: ${
|
|
229
|
+
background-color: ${Zo};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
233
|
-
background-color: ${
|
|
233
|
+
background-color: ${Ko};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
237
|
-
background-color: ${
|
|
237
|
+
background-color: ${Lo};
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
241
|
-
background-color: ${
|
|
241
|
+
background-color: ${Eo};
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
.ft-ripple .ft-ripple--background {
|
|
@@ -268,22 +268,22 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
271
|
-
opacity: ${
|
|
271
|
+
opacity: ${Uo.opacityContentOnSurfaceHover};
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
275
|
-
opacity: ${
|
|
275
|
+
opacity: ${Uo.opacityContentOnSurfaceSelected};
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
279
|
-
opacity: ${
|
|
279
|
+
opacity: ${Uo.opacityContentOnSurfaceFocused};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
283
|
-
opacity: ${
|
|
283
|
+
opacity: ${Uo.opacityContentOnSurfacePressed};
|
|
284
284
|
transform: translate(-50%, -50%) scale(1);
|
|
285
285
|
}
|
|
286
|
-
`;var Do,
|
|
286
|
+
`;var Bo,Do,Ao=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ho extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
287
287
|
<style>
|
|
288
288
|
.ft-ripple .ft-ripple--effect {
|
|
289
289
|
left: ${this.originX}px;
|
|
@@ -294,7 +294,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
294
294
|
<div class="ft-ripple--background"></div>
|
|
295
295
|
<div class="ft-ripple--effect"></div>
|
|
296
296
|
</div>
|
|
297
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Go.elementDefinitions={},Go.styles=Bo,Ao([r.property({type:Boolean})],Go.prototype,"primary",void 0),Ao([r.property({type:Boolean})],Go.prototype,"secondary",void 0),Ao([r.property({type:Boolean})],Go.prototype,"unbounded",void 0),Ao([r.property({type:Boolean})],Go.prototype,"activated",void 0),Ao([r.property({type:Boolean})],Go.prototype,"selected",void 0),Ao([r.property({type:Boolean})],Go.prototype,"disabled",void 0),Ao([r.state()],Go.prototype,"hovered",void 0),Ao([r.state()],Go.prototype,"focused",void 0),Ao([r.state()],Go.prototype,"pressed",void 0),Ao([r.state()],Go.prototype,"rippling",void 0),Ao([r.state()],Go.prototype,"originX",void 0),Ao([r.state()],Go.prototype,"originY",void 0),Ao([r.query(".ft-ripple")],Go.prototype,"ripple",void 0),Ao([r.query(".ft-ripple--effect")],Go.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Go),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Do||(Do={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ho||(Ho={})),new Map([...["abw"].map((t=>[t,Ho.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ho.AUDIO])),...["avi"].map((t=>[t,Ho.AVI])),...["chm","xhs"].map((t=>[t,Ho.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ho.CODE])),...["csv"].map((t=>[t,Ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ho.DITA])),...["epub"].map((t=>[t,Ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ho.EXCEL])),...["flac"].map((t=>[t,Ho.FLAC])),...["gif"].map((t=>[t,Ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ho.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ho.JPEG])),...["json"].map((t=>[t,Ho.JSON])),...["m4a","m4p"].map((t=>[t,Ho.M4A])),...["mov","qt"].map((t=>[t,Ho.MOV])),...["mp3"].map((t=>[t,Ho.MP3])),...["mp4","m4v"].map((t=>[t,Ho.MP4])),...["ogg","oga"].map((t=>[t,Ho.OGG])),...["pdf","ps"].map((t=>[t,Ho.PDF])),...["png"].map((t=>[t,Ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ho.POWERPOINT])),...["rar"].map((t=>[t,Ho.RAR])),...["stp"].map((t=>[t,Ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ho.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ho.VIDEO])),...["wav"].map((t=>[t,Ho.WAV])),...["wma"].map((t=>[t,Ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ho.YAML])),...["zip"].map((t=>[t,Ho.ZIP]))]);const jo={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Po=e.css`
|
|
297
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ho.elementDefinitions={},Ho.styles=Fo,Ao([r.property({type:Boolean})],Ho.prototype,"primary",void 0),Ao([r.property({type:Boolean})],Ho.prototype,"secondary",void 0),Ao([r.property({type:Boolean})],Ho.prototype,"unbounded",void 0),Ao([r.property({type:Boolean})],Ho.prototype,"activated",void 0),Ao([r.property({type:Boolean})],Ho.prototype,"selected",void 0),Ao([r.property({type:Boolean})],Ho.prototype,"disabled",void 0),Ao([r.state()],Ho.prototype,"hovered",void 0),Ao([r.state()],Ho.prototype,"focused",void 0),Ao([r.state()],Ho.prototype,"pressed",void 0),Ao([r.state()],Ho.prototype,"rippling",void 0),Ao([r.state()],Ho.prototype,"originX",void 0),Ao([r.state()],Ho.prototype,"originY",void 0),Ao([r.query(".ft-ripple")],Ho.prototype,"ripple",void 0),Ao([r.query(".ft-ripple--effect")],Ho.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Ho),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Bo||(Bo={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Do||(Do={})),new Map([...["abw"].map((t=>[t,Do.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,Do.AUDIO])),...["avi"].map((t=>[t,Do.AVI])),...["chm","xhs"].map((t=>[t,Do.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,Do.CODE])),...["csv"].map((t=>[t,Do.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Do.DITA])),...["epub"].map((t=>[t,Do.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Do.EXCEL])),...["flac"].map((t=>[t,Do.FLAC])),...["gif"].map((t=>[t,Do.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Do.GZIP])),...["html","htm","xhtml"].map((t=>[t,Do.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,Do.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Do.JPEG])),...["json"].map((t=>[t,Do.JSON])),...["m4a","m4p"].map((t=>[t,Do.M4A])),...["mov","qt"].map((t=>[t,Do.MOV])),...["mp3"].map((t=>[t,Do.MP3])),...["mp4","m4v"].map((t=>[t,Do.MP4])),...["ogg","oga"].map((t=>[t,Do.OGG])),...["pdf","ps"].map((t=>[t,Do.PDF])),...["png"].map((t=>[t,Do.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Do.POWERPOINT])),...["rar"].map((t=>[t,Do.RAR])),...["stp"].map((t=>[t,Do.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Do.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,Do.VIDEO])),...["wav"].map((t=>[t,Do.WAV])),...["wma"].map((t=>[t,Do.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Do.WORD])),...["xml","xsl","rdf"].map((t=>[t,Do.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Do.YAML])),...["zip"].map((t=>[t,Do.ZIP]))]);const Go={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},jo=e.css`
|
|
298
298
|
:host, i.ft-icon {
|
|
299
299
|
display: inline-flex;
|
|
300
300
|
align-items: center;
|
|
@@ -303,14 +303,14 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
:host {
|
|
306
|
-
width: ${
|
|
307
|
-
height: ${
|
|
306
|
+
width: ${Go.size};
|
|
307
|
+
height: ${Go.size};
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
i.ft-icon {
|
|
311
311
|
width: 100%;
|
|
312
312
|
height: 100%;
|
|
313
|
-
font-size: ${
|
|
313
|
+
font-size: ${Go.size};
|
|
314
314
|
line-height: 1;
|
|
315
315
|
font-weight: normal;
|
|
316
316
|
text-transform: none;
|
|
@@ -321,33 +321,33 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
321
321
|
text-rendering: auto;
|
|
322
322
|
-webkit-font-smoothing: antialiased;
|
|
323
323
|
-moz-osx-font-smoothing: grayscale;
|
|
324
|
-
vertical-align: ${
|
|
324
|
+
vertical-align: ${Go.verticalAlign};
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
i.ft-icon.ft-icon--fluid-topics {
|
|
328
|
-
font-family: ${
|
|
328
|
+
font-family: ${Go.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
329
329
|
|
|
330
330
|
/* Ugly fix because font is broken */
|
|
331
|
-
font-size: calc(0.75 * ${
|
|
332
|
-
line-height: ${
|
|
331
|
+
font-size: calc(0.75 * ${Go.size});
|
|
332
|
+
line-height: ${Go.size};
|
|
333
333
|
position: relative;
|
|
334
334
|
top: -4%;
|
|
335
335
|
justify-content: center;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
.ft-icon--file-format {
|
|
339
|
-
font-family: ${
|
|
339
|
+
font-family: ${Go.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
.ft-icon--material {
|
|
343
|
-
font-family: ${
|
|
343
|
+
font-family: ${Go.materialFontFamily}, "Material Icons", sans-serif;
|
|
344
344
|
}
|
|
345
|
-
`;var
|
|
345
|
+
`;var Po;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Po||(Po={}));var To=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Mo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Po).includes(this.variant)?this.variant:Po.fluid_topics,o=t!==Po.material||!!this.value;return e.html`
|
|
346
346
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
347
347
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
348
348
|
<slot ?hidden=${o}></slot>
|
|
349
349
|
</i>
|
|
350
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case
|
|
350
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case Po.file_format:this.resolvedIcon=null!==(t=Do[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Po.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Bo[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Mo.elementDefinitions={},Mo.styles=jo,To([r.property()],Mo.prototype,"variant",void 0),To([r.property()],Mo.prototype,"value",void 0),To([r.state()],Mo.prototype,"resolvedIcon",void 0),To([r.query("slot")],Mo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Mo);const _o={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Yo=e.css`
|
|
351
351
|
:host {
|
|
352
352
|
line-height: 0;
|
|
353
353
|
}
|
|
@@ -356,8 +356,8 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
356
356
|
display: inline-block;
|
|
357
357
|
position: relative;
|
|
358
358
|
|
|
359
|
-
width: ${
|
|
360
|
-
height: ${
|
|
359
|
+
width: ${_o.size};
|
|
360
|
+
height: ${_o.size};
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
.ft-loader div {
|
|
@@ -366,7 +366,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
366
366
|
width: 25%;
|
|
367
367
|
height: 25%;
|
|
368
368
|
border-radius: 50%;
|
|
369
|
-
background: ${
|
|
369
|
+
background: ${_o.color};
|
|
370
370
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
371
371
|
}
|
|
372
372
|
|
|
@@ -413,10 +413,10 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
413
413
|
transform: translate(0, 0);
|
|
414
414
|
}
|
|
415
415
|
100% {
|
|
416
|
-
transform: translate(calc(0.35 * ${
|
|
416
|
+
transform: translate(calc(0.35 * ${_o.size}), 0);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
`,
|
|
419
|
+
`,Vo=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),qo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Vo,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",io.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Vo),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Xo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Jo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Xo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Xo)},Qo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),te=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),oe=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ee=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),re=[e.css`
|
|
420
420
|
:host {
|
|
421
421
|
display: inline-block;
|
|
422
422
|
max-width: 100%;
|
|
@@ -427,7 +427,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
427
427
|
box-shadow: 0px 0px 0px transparent;
|
|
428
428
|
border: 0px solid transparent;
|
|
429
429
|
text-shadow: 0px 0px 0px transparent;
|
|
430
|
-
font-size: ${
|
|
430
|
+
font-size: ${qo.fontSize};
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
button:hover {
|
|
@@ -456,31 +456,31 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
456
456
|
border: none;
|
|
457
457
|
pointer-events: auto;
|
|
458
458
|
|
|
459
|
-
--ft-button-internal-line-height: max(calc(${
|
|
460
|
-
--ft-button-internal-color: ${
|
|
461
|
-
${o.setVariable(
|
|
462
|
-
${o.setVariable(
|
|
459
|
+
--ft-button-internal-line-height: max(calc(${qo.fontSize} + 2px), ${qo.iconSize});
|
|
460
|
+
--ft-button-internal-color: ${qo.color};
|
|
461
|
+
${o.setVariable(Go.size,qo.iconSize)};
|
|
462
|
+
${o.setVariable(Uo.color,qo.rippleColor)};
|
|
463
463
|
|
|
464
|
-
border-radius: ${
|
|
465
|
-
padding: ${
|
|
466
|
-
background-color: ${
|
|
464
|
+
border-radius: ${qo.borderRadius};
|
|
465
|
+
padding: ${qo.verticalPadding} ${qo.horizontalPadding};
|
|
466
|
+
background-color: ${qo.backgroundColor};
|
|
467
467
|
color: var(--ft-button-internal-color);
|
|
468
468
|
-webkit-mask-image: radial-gradient(white, black);
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
.ft-button.ft-button--outlined {
|
|
472
472
|
border: 1px solid var(--ft-button-internal-color);
|
|
473
|
-
padding: calc(${
|
|
473
|
+
padding: calc(${qo.verticalPadding} - 1px) calc(${qo.horizontalPadding} - 1px);
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.ft-button.ft-button--dense {
|
|
477
|
-
padding: ${
|
|
478
|
-
border-radius: ${
|
|
479
|
-
gap: ${
|
|
477
|
+
padding: ${te} ${oe};
|
|
478
|
+
border-radius: ${Qo};
|
|
479
|
+
gap: ${ee};
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
483
|
-
padding: calc(${
|
|
483
|
+
padding: calc(${te} - 1px) calc(${oe} - 1px);
|
|
484
484
|
}
|
|
485
485
|
|
|
486
486
|
.ft-button:not([disabled]):hover {
|
|
@@ -488,22 +488,22 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
.ft-button--round {
|
|
491
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
491
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${qo.verticalPadding});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.ft-button--round.ft-button--dense {
|
|
495
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
495
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${te});
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-button[disabled] {
|
|
499
499
|
filter: grayscale(1);
|
|
500
|
-
opacity: ${
|
|
500
|
+
opacity: ${qo.opacityDisabled};
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button.ft-button--primary {
|
|
504
|
-
background-color: ${
|
|
505
|
-
--ft-button-internal-color: ${
|
|
506
|
-
${o.setVariable(
|
|
504
|
+
background-color: ${Jo.backgroundColor};
|
|
505
|
+
--ft-button-internal-color: ${Jo.color};
|
|
506
|
+
${o.setVariable(Uo.color,Jo.rippleColor)};
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
.ft-button:focus {
|
|
@@ -516,13 +516,13 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
516
516
|
white-space: nowrap;
|
|
517
517
|
text-overflow: ellipsis;
|
|
518
518
|
display: block;
|
|
519
|
-
margin: 0 ${
|
|
520
|
-
${o.setVariable(
|
|
521
|
-
${o.setVariable(
|
|
519
|
+
margin: 0 ${qo.iconPadding};
|
|
520
|
+
${o.setVariable(io.fontSize,"1em")};
|
|
521
|
+
${o.setVariable(io.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
.ft-button--dense .ft-button--label {
|
|
525
|
-
margin: 0 ${
|
|
525
|
+
margin: 0 ${ee};
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
.ft-button--label[hidden] {
|
|
@@ -535,13 +535,13 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.ft-button--label[hidden] + ft-icon {
|
|
538
|
-
margin: 0 calc(${
|
|
539
|
-
padding: 0 ${
|
|
538
|
+
margin: 0 calc(${qo.horizontalPadding} * -1);
|
|
539
|
+
padding: 0 ${qo.verticalPadding};
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
543
|
-
margin: 0 calc(${
|
|
544
|
-
padding: 0 ${
|
|
543
|
+
margin: 0 calc(${oe} * -1);
|
|
544
|
+
padding: 0 ${te};
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -550,17 +550,17 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
ft-loader {
|
|
553
|
-
${o.setVariable(
|
|
554
|
-
${o.setVariable(
|
|
553
|
+
${o.setVariable(_o.size,qo.iconSize)};
|
|
554
|
+
${o.setVariable(_o.color,"var(--ft-button-internal-color)")};
|
|
555
555
|
}
|
|
556
|
-
`,o.noTextSelect];class
|
|
556
|
+
`,o.noTextSelect];class ie extends o.FtLitElement{render(){return e.html`
|
|
557
557
|
<div class="ft-loader">
|
|
558
558
|
<div></div>
|
|
559
559
|
<div></div>
|
|
560
560
|
<div></div>
|
|
561
561
|
<div></div>
|
|
562
562
|
</div>
|
|
563
|
-
`}}
|
|
563
|
+
`}}ie.styles=Yo,o.customElement("ft-loader")(ie);var ae=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ne extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
564
564
|
<button part="button"
|
|
565
565
|
class="${i.classMap(this.buttonClasses)}"
|
|
566
566
|
aria-label="${this.getLabel()}"
|
|
@@ -583,7 +583,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
583
583
|
</ft-tooltip>
|
|
584
584
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
585
585
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
586
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
586
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ne.elementDefinitions={"ft-ripple":Ho,"ft-tooltip":ko,"ft-typography":xo,"ft-icon":Mo,"ft-loader":ie},ae([r.property({type:String,reflect:!0})],ne.prototype,"role",void 0),ae([r.property()],ne.prototype,"type",void 0),ae([r.property({type:Boolean})],ne.prototype,"disabled",void 0),ae([r.property()],ne.prototype,"label",void 0),ae([r.property()],ne.prototype,"icon",void 0),ae([r.property()],ne.prototype,"iconVariant",void 0),ae([r.property({type:Boolean})],ne.prototype,"trailingIcon",void 0),ae([r.property({type:Boolean})],ne.prototype,"loading",void 0),ae([r.property()],ne.prototype,"tooltipPosition",void 0),ae([r.property({type:Boolean})],ne.prototype,"hideTooltip",void 0),ae([r.property({type:Boolean})],ne.prototype,"forceTooltip",void 0),ae([r.query(".ft-button")],ne.prototype,"button",void 0),ae([r.query(".ft-button--label slot")],ne.prototype,"slottedContent",void 0);var le=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ce extends ne{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}ce.styles=[o.safariEllipsisFix,re],le([r.property({type:Boolean})],ce.prototype,"primary",void 0),le([r.property({type:Boolean})],ce.prototype,"outlined",void 0),le([r.property({type:Boolean})],ce.prototype,"dense",void 0),le([r.property({type:Boolean})],ce.prototype,"round",void 0);const pe=[e.css`
|
|
587
587
|
:host {
|
|
588
588
|
display: inline-block;
|
|
589
589
|
max-width: 100%;
|
|
@@ -633,7 +633,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
.ft-button:focus-visible {
|
|
636
|
-
outline-color: ${
|
|
636
|
+
outline-color: ${at.focusFocusRingColor};
|
|
637
637
|
outline-style: solid;
|
|
638
638
|
}
|
|
639
639
|
|
|
@@ -662,146 +662,146 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
662
662
|
/** Primary styles **/
|
|
663
663
|
|
|
664
664
|
.ft-button--primary {
|
|
665
|
-
${o.setVariable(
|
|
665
|
+
${o.setVariable(_o.color,at.primaryIconColor)};
|
|
666
666
|
|
|
667
|
-
${o.setVariable(
|
|
668
|
-
${o.setVariable(
|
|
669
|
-
${o.setVariable(
|
|
670
|
-
${o.setVariable(
|
|
671
|
-
${o.setVariable(
|
|
667
|
+
${o.setVariable(Uo.color,at.primaryStateLayerColor)};
|
|
668
|
+
${o.setVariable(Uo.opacityContentOnSurfaceHover,at.primaryStateLayerOpacityHover)};
|
|
669
|
+
${o.setVariable(Uo.opacityContentOnSurfaceFocused,at.primaryStateLayerOpacityFocus)};
|
|
670
|
+
${o.setVariable(Uo.opacityContentOnSurfaceSelected,at.primaryStateLayerOpacityActive)};
|
|
671
|
+
${o.setVariable(Uo.opacityContentOnSurfacePressed,at.primaryStateLayerOpacityActive)};
|
|
672
672
|
|
|
673
|
-
background-color: ${
|
|
674
|
-
color: ${
|
|
673
|
+
background-color: ${at.primaryBackgroundColor};
|
|
674
|
+
color: ${at.primaryColor};
|
|
675
675
|
border-style: none;
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
.ft-button--primary[disabled] {
|
|
679
|
-
opacity: ${
|
|
679
|
+
opacity: ${at.primaryComponentOpacityDisabled};
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
.ft-button--primary ft-icon {
|
|
683
|
-
color: ${
|
|
683
|
+
color: ${at.primaryIconColor};
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
/** Secondary styles **/
|
|
687
687
|
|
|
688
688
|
.ft-button--secondary {
|
|
689
|
-
${o.setVariable(
|
|
689
|
+
${o.setVariable(_o.color,at.secondaryIconColor)};
|
|
690
690
|
|
|
691
|
-
${o.setVariable(
|
|
692
|
-
${o.setVariable(
|
|
693
|
-
${o.setVariable(
|
|
694
|
-
${o.setVariable(
|
|
695
|
-
${o.setVariable(
|
|
691
|
+
${o.setVariable(Uo.color,at.secondaryStateLayerColor)};
|
|
692
|
+
${o.setVariable(Uo.opacityContentOnSurfaceHover,at.secondaryStateLayerOpacityHover)};
|
|
693
|
+
${o.setVariable(Uo.opacityContentOnSurfaceFocused,at.secondaryStateLayerOpacityFocus)};
|
|
694
|
+
${o.setVariable(Uo.opacityContentOnSurfaceSelected,at.secondaryStateLayerOpacityActive)};
|
|
695
|
+
${o.setVariable(Uo.opacityContentOnSurfacePressed,at.secondaryStateLayerOpacityActive)};
|
|
696
696
|
|
|
697
|
-
background-color: ${
|
|
698
|
-
color: ${
|
|
699
|
-
border-color: ${
|
|
697
|
+
background-color: ${at.secondaryBackgroundColor};
|
|
698
|
+
color: ${at.secondaryColor};
|
|
699
|
+
border-color: ${at.secondaryBorderColor};
|
|
700
700
|
border-style: solid;
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
.ft-button--secondary[disabled] {
|
|
704
|
-
opacity: ${
|
|
704
|
+
opacity: ${at.secondaryComponentOpacityDisabled};
|
|
705
705
|
}
|
|
706
706
|
|
|
707
707
|
.ft-button--secondary ft-icon {
|
|
708
|
-
color: ${
|
|
708
|
+
color: ${at.secondaryIconColor};
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
/** Tertiary styles **/
|
|
712
712
|
|
|
713
713
|
.ft-button--tertiary {
|
|
714
|
-
${o.setVariable(
|
|
714
|
+
${o.setVariable(_o.color,at.tertiaryIconColor)};
|
|
715
715
|
|
|
716
|
-
${o.setVariable(
|
|
717
|
-
${o.setVariable(
|
|
718
|
-
${o.setVariable(
|
|
719
|
-
${o.setVariable(
|
|
720
|
-
${o.setVariable(
|
|
716
|
+
${o.setVariable(Uo.color,at.tertiaryStateLayerColor)};
|
|
717
|
+
${o.setVariable(Uo.opacityContentOnSurfaceHover,at.tertiaryStateLayerOpacityHover)};
|
|
718
|
+
${o.setVariable(Uo.opacityContentOnSurfaceFocused,at.tertiaryStateLayerOpacityFocus)};
|
|
719
|
+
${o.setVariable(Uo.opacityContentOnSurfaceSelected,at.tertiaryStateLayerOpacityActive)};
|
|
720
|
+
${o.setVariable(Uo.opacityContentOnSurfacePressed,at.tertiaryStateLayerOpacityActive)};
|
|
721
721
|
|
|
722
|
-
background-color: ${
|
|
723
|
-
color: ${
|
|
722
|
+
background-color: ${at.tertiaryBackgroundColor};
|
|
723
|
+
color: ${at.tertiaryColor};
|
|
724
724
|
border-style: none;
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
.ft-button--tertiary[disabled] {
|
|
728
|
-
opacity: ${
|
|
728
|
+
opacity: ${at.tertiaryComponentOpacityDisabled};
|
|
729
729
|
}
|
|
730
730
|
|
|
731
731
|
.ft-button--tertiary ft-icon {
|
|
732
|
-
color: ${
|
|
732
|
+
color: ${at.tertiaryIconColor};
|
|
733
733
|
}
|
|
734
734
|
|
|
735
735
|
/** Neutral styles **/
|
|
736
736
|
|
|
737
737
|
.ft-button--neutral {
|
|
738
|
-
${o.setVariable(
|
|
738
|
+
${o.setVariable(_o.color,at.neutralIconColor)};
|
|
739
739
|
|
|
740
|
-
${o.setVariable(
|
|
741
|
-
${o.setVariable(
|
|
742
|
-
${o.setVariable(
|
|
743
|
-
${o.setVariable(
|
|
744
|
-
${o.setVariable(
|
|
740
|
+
${o.setVariable(Uo.backgroundColor,at.neutralStateLayerColor)};
|
|
741
|
+
${o.setVariable(Uo.opacityContentOnSurfaceHover,at.neutralStateLayerOpacityHover)};
|
|
742
|
+
${o.setVariable(Uo.opacityContentOnSurfaceFocused,at.neutralStateLayerOpacityFocus)};
|
|
743
|
+
${o.setVariable(Uo.opacityContentOnSurfaceSelected,at.neutralStateLayerOpacityActive)};
|
|
744
|
+
${o.setVariable(Uo.opacityContentOnSurfacePressed,at.neutralStateLayerOpacityActive)};
|
|
745
745
|
|
|
746
|
-
background-color: ${
|
|
747
|
-
color: ${
|
|
746
|
+
background-color: ${at.neutralBackgroundColor};
|
|
747
|
+
color: ${at.neutralColor};
|
|
748
748
|
border-style: none;
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
.ft-button--neutral[disabled] {
|
|
752
|
-
opacity: ${
|
|
752
|
+
opacity: ${at.neutralComponentOpacityDisabled};
|
|
753
753
|
}
|
|
754
754
|
|
|
755
755
|
.ft-button--neutral ft-icon {
|
|
756
|
-
color: ${
|
|
756
|
+
color: ${at.neutralIconColor};
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
/** Large styles **/
|
|
760
760
|
|
|
761
761
|
.ft-button--large {
|
|
762
|
-
${o.setVariable(
|
|
763
|
-
${o.setVariable(
|
|
762
|
+
${o.setVariable(Go.size,at.largeIconSize)};
|
|
763
|
+
${o.setVariable(_o.size,at.largeIconSize)};
|
|
764
764
|
|
|
765
|
-
height: ${
|
|
766
|
-
padding: 0 ${
|
|
767
|
-
gap: ${
|
|
768
|
-
border-radius: ${
|
|
769
|
-
border-width: ${
|
|
765
|
+
height: ${at.largeHeight};
|
|
766
|
+
padding: 0 ${at.largeHorizontalPadding};
|
|
767
|
+
gap: ${at.largeGap};
|
|
768
|
+
border-radius: ${at.largeBorderRadius};
|
|
769
|
+
border-width: ${at.largeBorderWidth};
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
.ft-button--large:focus-visible {
|
|
773
|
-
outline-width: ${
|
|
774
|
-
outline-offset: ${
|
|
773
|
+
outline-width: ${at.largeFocusOutlineWidth};
|
|
774
|
+
outline-offset: ${at.largeFocusOutlineOffset};
|
|
775
775
|
}
|
|
776
776
|
|
|
777
777
|
.ft-button--large.ft-button--icon-only {
|
|
778
|
-
width: ${
|
|
778
|
+
width: ${at.largeIconOnlyWidth};
|
|
779
779
|
padding: unset;
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
/** Small styles **/
|
|
783
783
|
|
|
784
784
|
.ft-button--small {
|
|
785
|
-
${o.setVariable(
|
|
786
|
-
${o.setVariable(
|
|
785
|
+
${o.setVariable(Go.size,at.smallIconSize)};
|
|
786
|
+
${o.setVariable(_o.size,at.smallIconSize)};
|
|
787
787
|
|
|
788
|
-
height: ${
|
|
789
|
-
padding: 0 ${
|
|
790
|
-
gap: ${
|
|
791
|
-
border-radius: ${
|
|
792
|
-
border-width: ${
|
|
788
|
+
height: ${at.smallHeight};
|
|
789
|
+
padding: 0 ${at.smallHorizontalPadding};
|
|
790
|
+
gap: ${at.smallGap};
|
|
791
|
+
border-radius: ${at.smallBorderRadius};
|
|
792
|
+
border-width: ${at.smallBorderWidth};
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
.ft-button--small:focus-visible {
|
|
796
|
-
outline-width: ${
|
|
797
|
-
outline-offset: ${
|
|
796
|
+
outline-width: ${at.smallFocusOutlineWidth};
|
|
797
|
+
outline-offset: ${at.smallFocusOutlineOffset};
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
.ft-button--small.ft-button--icon-only {
|
|
801
|
-
width: ${
|
|
801
|
+
width: ${at.smallIconOnlyWidth};
|
|
802
802
|
padding: unset;
|
|
803
803
|
}
|
|
804
|
-
`,o.noTextSelect];var
|
|
804
|
+
`,o.noTextSelect];var se=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class fe extends ne{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Q.caption1medium:Q.body2medium}}fe.styles=[o.safariEllipsisFix,pe],se([r.property({type:Boolean})],fe.prototype,"primary",void 0),se([r.property({type:Boolean})],fe.prototype,"secondary",void 0),se([r.property({type:Boolean})],fe.prototype,"tertiary",void 0),se([r.property({type:Boolean})],fe.prototype,"neutral",void 0),se([r.property({type:Boolean})],fe.prototype,"small",void 0),o.customElement("ft-button")(ce),o.customElement("ftds-button")(fe);const de=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),he={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:de,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Dt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",de),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},ge=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),ye={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:ge,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ge)},be=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),ue=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),me=[o.noTextSelect,e.css`
|
|
805
805
|
:host {
|
|
806
806
|
display: inline-block;
|
|
807
807
|
max-width: 100%;
|
|
@@ -817,20 +817,20 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
817
817
|
box-sizing: border-box;
|
|
818
818
|
pointer-events: auto;
|
|
819
819
|
|
|
820
|
-
--ft-chip-internal-font-size: ${
|
|
820
|
+
--ft-chip-internal-font-size: ${he.fontSize};
|
|
821
821
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
822
|
-
${o.setVariable(
|
|
823
|
-
--ft-chip-internal-vertical-padding: ${
|
|
824
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
822
|
+
${o.setVariable(Go.size,he.iconSize)};
|
|
823
|
+
--ft-chip-internal-vertical-padding: ${he.verticalPadding};
|
|
824
|
+
--ft-chip-internal-horizontal-padding: ${he.horizontalPadding};
|
|
825
825
|
--ft-chip-internal-icon-padding: 3px;
|
|
826
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
826
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${he.iconSize});
|
|
827
827
|
|
|
828
|
-
border: 1px solid ${
|
|
829
|
-
color: ${
|
|
830
|
-
${o.setVariable(
|
|
828
|
+
border: 1px solid ${he.colorOutline};
|
|
829
|
+
color: ${he.color};
|
|
830
|
+
${o.setVariable(Uo.color,he.rippleColor)};
|
|
831
831
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
832
832
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
833
|
-
background-color: ${
|
|
833
|
+
background-color: ${he.backgroundColor};
|
|
834
834
|
line-height: var(--ft-chip-internal-content-height);
|
|
835
835
|
}
|
|
836
836
|
|
|
@@ -840,8 +840,8 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
840
840
|
|
|
841
841
|
.ft-chip--dense {
|
|
842
842
|
--ft-chip-internal-icon-padding: 3px;
|
|
843
|
-
--ft-chip-internal-vertical-padding: ${
|
|
844
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
843
|
+
--ft-chip-internal-vertical-padding: ${ue};
|
|
844
|
+
--ft-chip-internal-horizontal-padding: ${be};
|
|
845
845
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
846
846
|
}
|
|
847
847
|
|
|
@@ -853,15 +853,15 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
853
853
|
cursor: default;
|
|
854
854
|
pointer-events: none;
|
|
855
855
|
filter: grayscale(1);
|
|
856
|
-
opacity: ${
|
|
856
|
+
opacity: ${he.opacityDisabled};
|
|
857
857
|
}
|
|
858
858
|
|
|
859
859
|
.ft-chip--highlighted {
|
|
860
860
|
border: none;
|
|
861
861
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
862
|
-
background-color: ${
|
|
863
|
-
${o.setVariable(
|
|
864
|
-
color: ${
|
|
862
|
+
background-color: ${ye.backgroundColor};
|
|
863
|
+
${o.setVariable(Uo.color,ye.rippleColor)};
|
|
864
|
+
color: ${ye.color};
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
.ft-chip--clickable {
|
|
@@ -891,9 +891,9 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
.ft-chip--icon-button {
|
|
894
|
-
${o.setVariable(
|
|
895
|
-
${o.setVariable(
|
|
896
|
-
${o.setVariable(
|
|
894
|
+
${o.setVariable(qo.iconSize,he.iconSize)};
|
|
895
|
+
${o.setVariable(qo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
896
|
+
${o.setVariable(qo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
897
897
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
898
898
|
}
|
|
899
899
|
|
|
@@ -901,8 +901,8 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
901
901
|
vertical-align: bottom;
|
|
902
902
|
display: block;
|
|
903
903
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
904
|
-
${o.setVariable(
|
|
905
|
-
${o.setVariable(
|
|
904
|
+
${o.setVariable(Dt.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
905
|
+
${o.setVariable(Dt.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
906
906
|
}
|
|
907
907
|
|
|
908
908
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -938,7 +938,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
938
938
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
939
939
|
order: -1;
|
|
940
940
|
}
|
|
941
|
-
`];var
|
|
941
|
+
`];var xe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Oe extends CustomEvent{constructor(){super("icon-click")}}class ve extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
|
|
942
942
|
<div class="${i.classMap(t)}"
|
|
943
943
|
aria-label="${this.getLabel()}"
|
|
944
944
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -961,7 +961,7 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
961
961
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
962
962
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
963
963
|
</div>
|
|
964
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
964
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Oe))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Oe))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}ve.elementDefinitions={"ft-ripple":Ho,"ft-typography":xo,"ft-icon":Mo,"ft-button":ce},ve.styles=me,xe([r.property({type:Boolean})],ve.prototype,"highlighted",void 0),xe([r.property({type:Boolean})],ve.prototype,"removable",void 0),xe([r.property({type:Boolean})],ve.prototype,"disabled",void 0),xe([r.property({type:Boolean})],ve.prototype,"clickable",void 0),xe([r.property({type:Boolean})],ve.prototype,"iconClickable",void 0),xe([r.property({type:Boolean})],ve.prototype,"dense",void 0),xe([r.property({type:Boolean})],ve.prototype,"multiLine",void 0),xe([r.property()],ve.prototype,"label",void 0),xe([r.property()],ve.prototype,"iconLabel",void 0),xe([r.property()],ve.prototype,"icon",void 0),xe([r.property()],ve.prototype,"iconVariant",void 0),xe([r.property({type:Boolean})],ve.prototype,"trailingIcon",void 0),xe([r.query("ft-typography slot")],ve.prototype,"slottedContent",void 0),o.customElement("ft-chip")(ve);var Ne=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Se extends f{constructor(){super(...arguments),this.editorMode=!1}render(){return e.html`
|
|
965
965
|
<ft-tooltip text="${this.tooltipText}">
|
|
966
966
|
<ft-chip>
|
|
967
967
|
${this.renderContent()}
|
|
@@ -974,4 +974,4 @@ const V=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
|
|
|
974
974
|
display: none !important;
|
|
975
975
|
}
|
|
976
976
|
</style>
|
|
977
|
-
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}
|
|
977
|
+
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}Se.elementDefinitions={"ft-tooltip":ko,"ft-chip":ve},Se.styles=n,Ne([r.property(),o.reduxReactive()],Se.prototype,"key",void 0),Ne([r.property({attribute:!1})],Se.prototype,"editorMode",void 0),Ne([o.redux({selector:(t,o)=>{var e,r;return null===(r=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===r?void 0:r.find((t=>t.key===o.key))}})],Se.prototype,"metadata",void 0),o.customElement("ft-reader-metadata")(Se),t.FtReaderMetadata=Se,t.FtReaderMetadataCssVariables={},t.styles=n}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|