@fluid-topics/ft-reader-topic-metadata 1.1.9 → 1.1.10
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-topic-metadata.light.js +132 -132
- package/build/ft-reader-topic-metadata.min.js +121 -121
- package/package.json +3 -3
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
* @license
|
|
8
8
|
* Copyright 2017 Google LLC
|
|
9
9
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10
|
-
*/const u=globalThis,b=u.trustedTypes,m=b?b.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",O=`lit$${(Math.random()+"").slice(9)}$`,v="?"+O,N=`<${v}>`,S=document
|
|
10
|
+
*/const u=globalThis,b=u.trustedTypes,m=b?b.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",O=`lit$${(Math.random()+"").slice(9)}$`,v="?"+O,N=`<${v}>`,S=document,C=()=>S.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,w=Array.isArray,I="[ \t\n\f\r]",R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,E=/>/g,U=RegExp(`>|${I}(?:([^\\s"'>=/]+)(${I}*=${I}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),W=/'/g,L=/"/g,z=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Z=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),F=new WeakMap,D=S.createTreeWalker(S,129);function A(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==m?m.createHTML(o):o}const H=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=R;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(a.lastIndex=s,c=a.exec(e),null!==c);)s=a.lastIndex,a===R?"!--"===c[1]?a=k:void 0!==c[1]?a=E:void 0!==c[2]?(z.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=U):void 0!==c[3]&&(a=U):a===U?">"===c[0]?(a=i??R,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?U:'"'===c[3]?L:W):a===L||a===W?a=U:a===k||a===E?a=R:(a=U,i=void 0);const f=a===U&&t[o+1].startsWith("/>")?" ":"";n+=a===R?e+N:p>=0?(r.push(l),e.slice(0,p)+x+e.slice(p)+O+f):e+O+(-2===p?o:f)}return[A(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class G{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,p]=H(t,o);if(this.el=G.createElement(c,e),D.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=D.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(x)){const o=p[n++],e=r.getAttribute(t).split(O),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?_:"?"===a[1]?Y:"@"===a[1]?V:M}),r.removeAttribute(t)}else t.startsWith(O)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(z.test(r.tagName)){const t=r.textContent.split(O),o=t.length-1;if(o>0){r.textContent=b?b.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],C()),D.nextNode(),l.push({type:2,index:++i});r.append(t[o],C())}}}else if(8===r.nodeType)if(r.data===v)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(O,t+1));)l.push({type:7,index:i}),t+=O.length-1}i++}}static createElement(t,o){const e=S.createElement("template");return e.innerHTML=t,e}}function P(t,o,e=t,r){if(o===Z)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=$(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=P(t,i._$AS(t,o.values),i,r)),o}class T{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??S).importNode(o,!0);D.currentNode=r;let i=D.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new j(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new X(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=D.nextNode(),n++)}return D.currentNode=S,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 j{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=B,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=P(this,t,o),$(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==Z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>w(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!==B&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(S.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=G.createElement(A(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new T(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=F.get(t.strings);return void 0===o&&F.set(t.strings,o=new G(t)),o}T(t){w(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 j(this.k(C()),this.k(C()),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 M{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=B,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=B}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=P(this,t,o,0),n=!$(t)||t!==this._$AH&&t!==Z,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=P(this,r[e+a],o,a),l===Z&&(l=this._$AH[a]),n||=!$(l)||l!==this._$AH[a],l===B?t=B:t!==B&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class _ extends M{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===B?void 0:t}}class Y extends M{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==B)}}class V extends M{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=P(this,t,o,0)??B)===Z)return;const e=this._$AH,r=t===B&&e!==B||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==B&&(e===B||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 X{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){P(this,t)}}const q=u.litHtmlPolyfillSupport;q?.(G,j),(u.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 J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litStatic$:t,r:J}),ot=new Map,et=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(n=e[p],i=Q(n));)c+=i+o[++p],s=!0;p!==r&&l.push(n),a.push(c),p++}if(p===r&&a.push(o[r]),s){const t=a.join("$$lit$$");void 0===(o=ot.get(t))&&(a.raw=a,ot.set(t,o=a)),e=l}return t(o,...e)})(K);var rt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(rt||(rt={}));const it=t=>"string"==typeof t?e.unsafeCSS(t):t;class nt{static create(t,o,r,i){const n=t=>it(null!=t?t:i),a=e.css`var(${it(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${it(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${it(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${it(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):it(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${it(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(${it(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const at={colorWhite:nt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:nt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:nt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:nt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:nt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:nt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:nt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:nt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:nt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:nt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:nt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:nt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:nt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:nt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:nt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:nt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:nt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:nt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:nt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:nt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:nt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:nt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:nt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:nt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:nt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:nt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:nt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:nt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:nt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:nt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:nt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:nt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:nt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:nt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:nt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:nt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:nt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:nt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:nt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:nt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:nt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:nt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:nt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:nt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:nt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:nt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:nt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:nt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:nt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:nt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:nt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:nt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:nt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:nt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:nt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:nt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:nt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:nt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:nt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:nt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:nt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:nt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:nt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:nt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:nt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:nt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:nt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:nt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:nt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:nt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:nt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:nt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:nt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:nt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:nt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:nt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:nt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:nt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:nt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:nt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:nt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:nt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:nt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:nt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:nt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:nt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:nt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:nt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:nt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:nt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:nt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:nt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:nt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:nt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:nt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:nt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:nt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:nt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:nt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:nt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:nt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:nt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:nt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:nt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:nt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:nt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:nt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:nt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:nt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:nt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:nt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:nt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:nt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:nt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:nt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:nt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:nt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:nt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:nt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:nt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:nt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:nt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:nt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:nt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:nt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:nt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:nt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:nt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:nt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:nt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:nt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:nt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:nt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:nt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:nt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:nt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:nt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:nt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:nt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:nt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:nt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:nt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:nt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:nt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:nt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:nt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:nt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:nt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:nt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:nt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:nt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:nt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:nt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:nt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:nt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:nt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:nt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:nt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:nt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:nt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:nt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:nt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:nt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:nt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:nt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:nt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:nt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:nt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:nt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:nt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:nt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:nt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:nt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:nt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:nt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:nt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:nt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:nt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:nt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:nt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:nt.create("--ft-opacity-0","","NUMBER","0"),opacity8:nt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:nt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:nt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:nt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:nt.create("--ft-opacity-80","","NUMBER","0.8")},lt={display:{fontFamily:nt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:nt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:nt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:nt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:nt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:nt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:nt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:nt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:nt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:nt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:nt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:nt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:nt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:nt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:nt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:nt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:nt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:nt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:nt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:nt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:nt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:nt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:nt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:nt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:nt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:nt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:nt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},ct={backgroundActionPrimary:nt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",at.colorBrand0),backgroundErrorPrimary:nt.extend("--ft-background-error-primary","Used as background of error components.",at.colorRed0),backgroundErrorSubtle:nt.extend("--ft-background-error-subtle","Used as background of subtle error components.",at.colorRed10),backgroundInfoPrimary:nt.extend("--ft-background-info-primary","Used as background of information components.",at.colorCyan200),backgroundInfoSubtle:nt.extend("--ft-background-info-subtle","Used as background of subtle information components.",at.colorCyan10),backgroundWarningPrimary:nt.extend("--ft-background-warning-primary","Used as background of warning components.",at.colorOrange300),backgroundWarningSubtle:nt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",at.colorOrange10),backgroundSuccessPrimary:nt.extend("--ft-background-success-primary","Used as background of success components.",at.colorGreen200),backgroundSuccessSubtle:nt.extend("--ft-background-success-subtle","Used as background of subtle success components.",at.colorGreen10),backgroundGlobalSurface:nt.extend("--ft-background-global-surface","Used as app background.",at.colorWhite),backgroundGlobalOnSurface:nt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",at.colorGray10),backgroundGlobalOnSurfaceDark:nt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",at.colorGray30),contentActionPrimary:nt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",at.colorBrand0),contentWarningPrimary:nt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",at.colorOrange300),contentWarningIconOnly:nt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",at.colorOrange0),contentErrorPrimary:nt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",at.colorRed0),contentErrorIconOnly:nt.extend("--ft-content-error-icon-only","Used on error status icons alone",at.colorRed0),contentInfoPrimary:nt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",at.colorCyan200),contentInfoIconOnly:nt.extend("--ft-content-info-icon-only","Used on info status icons alone",at.colorCyan0),contentSuccessIconOnly:nt.extend("--ft-content-success-icon-only","Used on success status icons alone",at.colorGreen0),contentSuccessPrimary:nt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",at.colorGreen200),contentGlobalPrimary:nt.extend("--ft-content-global-primary","Used for main content on the page.",at.colorGray500),contentGlobalSecondary:nt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",at.colorGray200),contentGlobalSubtle:nt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",at.colorGray0),contentGlobalOnColor:nt.extend("--ft-content-global-on-color","Used for content on a dominant color.",at.colorWhite),borderActionPrimary:nt.extend("--ft-border-action-primary","Used as border for primary action components.",at.colorBrand0),borderActionFocusRing:nt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",at.colorCyan0),borderWarningPrimary:nt.extend("--ft-border-warning-primary","Used as border for warning components.",at.colorOrange30),borderSuccessPrimary:nt.extend("--ft-border-success-primary","Used as border for success components.",at.colorGreen30),borderErrorPrimary:nt.extend("--ft-border-error-primary","Used as border for error components.",at.colorRed30),borderInfoPrimary:nt.extend("--ft-border-info-primary","Used as border for information components.",at.colorCyan30),borderGlobalSubtle:nt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",at.colorGray30),borderGlobalPrimary:nt.extend("--ft-border-global-primary","Used as border for element like input.",at.colorGray50),borderInputPrimary:nt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",at.colorGray80)},pt={largeHeight:nt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:nt.extend("--ft-button-large-horizontal-padding","",at.spacing4),largeGap:nt.extend("--ft-button-large-gap","",at.spacing2),largeBorderRadius:nt.extend("--ft-button-large-border-radius","",at.borderRadiusS),largeIconSize:nt.extend("--ft-button-large-icon-size","",at.iconSize3),largeBorderWidth:nt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:nt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:nt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:nt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:nt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:nt.extend("--ft-button-small-horizontal-padding","",at.spacing3),smallGap:nt.extend("--ft-button-small-gap","",at.spacing2),smallBorderRadius:nt.extend("--ft-button-small-border-radius","",at.borderRadiusS),smallIconSize:nt.extend("--ft-button-small-icon-size","",at.iconSize2),smallBorderWidth:nt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:nt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:nt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:nt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:nt.extend("--ft-button-primary-background-color","",ct.backgroundActionPrimary),primaryColor:nt.extend("--ft-button-primary-color","",ct.contentGlobalOnColor),primaryIconColor:nt.extend("--ft-button-primary-icon-color","",ct.contentGlobalOnColor),primaryStateLayerColor:nt.extend("--ft-button-primary-state-layer-color","",ct.contentGlobalOnColor),primaryStateLayerOpacityHover:nt.extend("--ft-button-primary-state-layer-opacity-hover","",at.opacity16),primaryStateLayerOpacityFocus:nt.extend("--ft-button-primary-state-layer-opacity-focus","",at.opacity16),primaryStateLayerOpacityActive:nt.extend("--ft-button-primary-state-layer-opacity-active","",at.opacity24),primaryComponentOpacityDisabled:nt.extend("--ft-button-primary-component-opacity-disabled","",at.opacity40),focusFocusRingColor:nt.extend("--ft-button-focus-focus-ring-color","",ct.borderActionFocusRing),tertiaryBackgroundColor:nt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:nt.extend("--ft-button-tertiary-color","",ct.contentActionPrimary),tertiaryIconColor:nt.extend("--ft-button-tertiary-icon-color","",ct.contentActionPrimary),tertiaryStateLayerColor:nt.extend("--ft-button-tertiary-state-layer-color","",ct.contentActionPrimary),tertiaryStateLayerOpacityHover:nt.extend("--ft-button-tertiary-state-layer-opacity-hover","",at.opacity8),tertiaryStateLayerOpacityFocus:nt.extend("--ft-button-tertiary-state-layer-opacity-focus","",at.opacity8),tertiaryStateLayerOpacityActive:nt.extend("--ft-button-tertiary-state-layer-opacity-active","",at.opacity16),tertiaryComponentOpacityDisabled:nt.extend("--ft-button-tertiary-component-opacity-disabled","",at.opacity40),secondaryBackgroundColor:nt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:nt.extend("--ft-button-secondary-color","",ct.contentActionPrimary),secondaryIconColor:nt.extend("--ft-button-secondary-icon-color","",ct.contentActionPrimary),secondaryStateLayerColor:nt.extend("--ft-button-secondary-state-layer-color","",ct.contentActionPrimary),secondaryStateLayerOpacityHover:nt.extend("--ft-button-secondary-state-layer-opacity-hover","",at.opacity8),secondaryStateLayerOpacityFocus:nt.extend("--ft-button-secondary-state-layer-opacity-focus","",at.opacity8),secondaryStateLayerOpacityActive:nt.extend("--ft-button-secondary-state-layer-opacity-active","",at.opacity16),secondaryComponentOpacityDisabled:nt.extend("--ft-button-secondary-component-opacity-disabled","",at.opacity40),secondaryBorderColor:nt.extend("--ft-button-secondary-border-color","",ct.borderActionPrimary),neutralBackgroundColor:nt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:nt.extend("--ft-button-neutral-icon-color","",ct.contentGlobalSecondary),neutralColor:nt.extend("--ft-button-neutral-color","",ct.contentGlobalSecondary),neutralStateLayerColor:nt.extend("--ft-button-neutral-state-layer-color","",ct.contentGlobalSecondary),neutralStateLayerOpacityHover:nt.extend("--ft-button-neutral-state-layer-opacity-hover","",at.opacity8),neutralStateLayerOpacityFocus:nt.extend("--ft-button-neutral-state-layer-opacity-focus","",at.opacity8),neutralStateLayerOpacityActive:nt.extend("--ft-button-neutral-state-layer-opacity-active","",at.opacity16),neutralComponentOpacityDisabled:nt.extend("--ft-button-neutral-component-opacity-disabled","",at.opacity40)};nt.extend("--ft-tabs-top-left-border-radius","",at.borderRadiusS),nt.extend("--ft-tabs-top-right-border-radius","",at.borderRadiusS),nt.extend("--ft-tabs-label-horizontal-padding","",at.spacing4),nt.extend("--ft-tabs-label-vertical-padding","",at.spacing3),nt.extend("--ft-tabs-label-gap","",at.spacing1),nt.extend("--ft-switch-group-horizontal-padding","",at.spacing1),nt.extend("--ft-switch-group-vertical-padding","",at.spacing1),nt.extend("--ft-switch-group-gap","",at.spacing1),nt.extend("--ft-switch-group-background-color","",ct.backgroundGlobalSurface),nt.extend("--ft-switch-group-border-color","",ct.borderGlobalSubtle),nt.create("--ft-switch-group-border-radius","","SIZE","6px"),nt.extend("--ft-switch-label-horizontal-padding","",at.spacing2),nt.extend("--ft-switch-label-vertical-padding","",at.spacing1),nt.extend("--ft-switch-icon-horizontal-padding","",at.spacing1),nt.extend("--ft-switch-icon-vertical-padding","",at.spacing1),nt.create("--ft-switch-focus-outline-width","","SIZE","2px"),nt.extend("--ft-switch-focus-focus-ring-color","",ct.borderActionFocusRing),nt.extend("--ft-switch-option-border-radius","",at.borderRadiusS),nt.extend("--ft-switch-off-state-layer-opacity-hover","",at.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-focus","",at.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-active","",at.opacity16),nt.extend("--ft-switch-off-component-opacity-disabled","",at.opacity40),nt.extend("--ft-switch-off-color","",ct.contentGlobalSubtle),nt.extend("--ft-switch-off-state-layer-color","",ct.contentGlobalSubtle),nt.extend("--ft-chart-1-light","for area color charts",at.colorBrand40),nt.extend("--ft-chart-1-base","for line charts",at.colorBrand0),nt.extend("--ft-chart-2-light","for area color charts",at.colorYellow60),nt.extend("--ft-chart-2-base","for line charts",at.colorYellow100),nt.extend("--ft-chart-3-light","",at.colorUltramarine40),nt.extend("--ft-chart-3-base","",at.colorUltramarine70),nt.extend("--ft-chart-4-light","",at.colorCyan50),nt.extend("--ft-chart-4-base","",at.colorCyan100),nt.extend("--ft-chart-5-light","",at.colorRed40),nt.extend("--ft-chart-5-base","",at.colorRed60),nt.extend("--ft-chart-6-light","",at.colorGreen40),nt.extend("--ft-chart-6-base","",at.colorGreen70),nt.extend("--ft-chart-7-light","",at.colorOrange70),nt.extend("--ft-chart-7-base","",at.colorOrange100),nt.extend("--ft-chart-8-light","",at.colorAvocado70),nt.extend("--ft-chart-8-base","",at.colorAvocado200),nt.extend("--ft-chart-9-light","",at.colorBrown50),nt.extend("--ft-chart-9-base","",at.colorBrown200),nt.extend("--ft-chart-10-light","",at.colorGray50),nt.extend("--ft-chart-10-base","",at.colorGray80),nt.extend("--ft-chart-monochrome-10","",at.colorBrand10),nt.extend("--ft-chart-monochrome-20","",at.colorBrand20),nt.extend("--ft-chart-monochrome-30","",at.colorBrand40),nt.extend("--ft-chart-monochrome-40","",at.colorBrand60),nt.extend("--ft-chart-monochrome-50","",at.colorBrand0),nt.extend("--ft-chart-monochrome-60","",at.colorBrand200),nt.extend("--ft-chip-large-horizontal-padding","",at.spacing4),nt.extend("--ft-chip-large-vertical-padding","",at.spacing2),nt.extend("--ft-chip-large-gap","",at.spacing1),nt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-large-border-radius","",at.borderRadiusPill),nt.create("--ft-chip-large-border-width","","SIZE","1px"),nt.extend("--ft-chip-large-icon-size","",at.iconSize3),nt.extend("--ft-chip-medium-horizontal-padding","",at.spacing3),nt.extend("--ft-chip-medium-vertical-padding","",at.spacing1),nt.extend("--ft-chip-medium-gap","",at.spacing1),nt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-medium-border-radius","",at.borderRadiusPill),nt.create("--ft-chip-medium-border-width","","SIZE","1px"),nt.extend("--ft-chip-medium-icon-size","",at.iconSize2),nt.extend("--ft-chip-small-horizontal-padding","",at.spacing2),nt.extend("--ft-chip-small-vertical-padding","",at.spacing05),nt.extend("--ft-chip-small-gap","",at.spacing1),nt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-small-border-radius","",at.borderRadiusPill),nt.create("--ft-chip-small-border-width","","SIZE","1px"),nt.extend("--ft-chip-small-icon-size","",at.iconSize1),nt.extend("--ft-chip-neutral-background-color","",ct.backgroundGlobalOnSurface),nt.extend("--ft-chip-neutral-color","",ct.contentGlobalPrimary),nt.extend("--ft-chip-neutral-border-color","",ct.borderGlobalSubtle),nt.extend("--ft-chip-info-background-color","",ct.backgroundInfoSubtle),nt.extend("--ft-chip-info-color","",ct.contentInfoPrimary),nt.extend("--ft-chip-info-border-color","",ct.borderInfoPrimary),nt.extend("--ft-chip-success-background-color","",ct.backgroundSuccessSubtle),nt.extend("--ft-chip-success-color","",ct.contentSuccessPrimary),nt.extend("--ft-chip-success-border-color","",ct.borderSuccessPrimary),nt.extend("--ft-chip-warning-background-color","",ct.backgroundWarningSubtle),nt.extend("--ft-chip-warning-color","",ct.contentWarningPrimary),nt.extend("--ft-chip-warning-border-color","",ct.borderWarningPrimary),nt.extend("--ft-chip-error-background-color","",ct.backgroundErrorSubtle),nt.extend("--ft-chip-error-color","",ct.contentErrorPrimary),nt.extend("--ft-chip-error-border-color","",ct.borderErrorPrimary),nt.create("--ft-notice-border-width","","SIZE","1px"),nt.extend("--ft-notice-horizontal-padding","",at.spacing2),nt.extend("--ft-notice-vertical-padding","",at.spacing1),nt.extend("--ft-notice-border-radius","",at.borderRadiusS),nt.extend("--ft-notice-gap","",at.spacing2),nt.extend("--ft-notice-icon-size","",at.iconSize3),nt.extend("--ft-notice-info-background-color","",ct.backgroundInfoSubtle),nt.extend("--ft-notice-info-border-color","",ct.borderInfoPrimary),nt.extend("--ft-notice-info-color","",ct.contentInfoPrimary),nt.extend("--ft-notice-warning-background-color","",ct.backgroundWarningSubtle),nt.extend("--ft-notice-warning-border-color","",ct.borderWarningPrimary),nt.extend("--ft-notice-warning-color","",ct.contentWarningPrimary),nt.extend("--ft-checkbox-label-color","",ct.contentGlobalPrimary),nt.extend("--ft-checkbox-checked-background-color","",ct.contentActionPrimary),nt.extend("--ft-checkbox-checked-state-layer-color","",ct.contentActionPrimary),nt.extend("--ft-checkbox-checked-color","",ct.contentGlobalOnColor),nt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-checkbox-checked-component-opacity-disabled","",at.opacity40),nt.extend("--ft-checkbox-unchecked-border-color","",at.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-color","",at.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",at.opacity40),nt.extend("--ft-checkbox-focus-focus-ring-color","",ct.borderActionFocusRing),nt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),nt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),nt.extend("--ft-checkbox-gap","",at.spacing3),nt.extend("--ft-toggle-off-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-toggle-off-component-opacity-disabled","",at.opacity40),nt.extend("--ft-toggle-off-background-color","",ct.contentGlobalSubtle),nt.extend("--ft-toggle-off-icon-color","",ct.contentGlobalSubtle),nt.extend("--ft-toggle-off-state-layer-color","",ct.contentGlobalSubtle),nt.extend("--ft-toggle-on-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-toggle-on-component-opacity-disabled","",at.opacity40),nt.extend("--ft-toggle-on-background-color","",ct.contentActionPrimary),nt.extend("--ft-toggle-on-icon-color","",ct.contentActionPrimary),nt.extend("--ft-toggle-on-state-layer-color","",ct.contentActionPrimary),nt.extend("--ft-toggle-label-color","",ct.contentGlobalPrimary),nt.extend("--ft-toggle-focus-focus-ring-color","",ct.borderActionFocusRing),nt.extend("--ft-toggle-gap","",at.spacing3),nt.extend("--ft-radio-label-color","",ct.contentGlobalPrimary),nt.extend("--ft-radio-selected-color","",ct.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-color","",ct.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-radio-selected-component-opacity-disabled","",at.opacity40),nt.extend("--ft-radio-unselected-state-layer-color","",at.colorGray80),nt.extend("--ft-radio-unselected-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-radio-unselected-component-opacity-disabled","",at.opacity40),nt.extend("--ft-radio-focus-focus-ring-color","",ct.borderActionFocusRing),nt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),nt.create("--ft-radio-focus-outline-width","","SIZE","2px"),nt.extend("--ft-radio-gap","",at.spacing3),nt.extend("--ft-notification-icon-size","",at.iconSize4),nt.extend("--ft-notification-horizontal-padding","",at.spacing4),nt.extend("--ft-notification-vertical-padding","",at.spacing4),nt.extend("--ft-notification-info-background-color","",ct.backgroundInfoSubtle),nt.extend("--ft-notification-info-color","",ct.contentInfoPrimary),nt.extend("--ft-notification-info-border-color","",ct.borderInfoPrimary),nt.extend("--ft-notification-success-background-color","",ct.backgroundSuccessSubtle),nt.extend("--ft-notification-success-color","",ct.contentSuccessPrimary),nt.extend("--ft-notification-success-border-color","",ct.borderSuccessPrimary),nt.extend("--ft-notification-warning-background-color","",ct.backgroundWarningSubtle),nt.extend("--ft-notification-warning-color","",ct.contentWarningPrimary),nt.extend("--ft-notification-warning-border-color","",ct.borderWarningPrimary),nt.extend("--ft-notification-error-background-color","",ct.backgroundErrorSubtle),nt.extend("--ft-notification-error-color","",ct.contentErrorPrimary),nt.extend("--ft-notification-error-border-color","",ct.borderErrorPrimary),nt.extend("--ft-notification-border-radius","",at.borderRadiusPill),nt.create("--ft-notification-border-width","","SIZE","1px"),nt.extend("--ft-notification-gap-leading","",at.spacing2),nt.extend("--ft-notification-gap-trailing","",at.spacing8);const st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ft=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),dt={fontFamily:ft,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")},ht=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",st),gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",dt.fontSize,"20px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",dt.fontWeight,"normal"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",dt.letterSpacing,"0.15px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",dt.lineHeight,"1.2"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",dt.textTransform,"inherit"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",st),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",dt.fontSize,"14px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",dt.fontWeight,"normal"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",dt.letterSpacing,"0.105px"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",dt.lineHeight,"1.7"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",dt.textTransform,"inherit"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ft),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",dt.fontSize,"16px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",dt.fontWeight,"600"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",dt.letterSpacing,"0.144px"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",dt.lineHeight,"1.5"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",dt.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ft),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",dt.fontSize,"14px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",dt.fontWeight,"normal"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",dt.letterSpacing,"0.098px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",dt.lineHeight,"1.7"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",dt.textTransform,"inherit"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ft),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",dt.fontSize,"16px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",dt.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",dt.letterSpacing,"0.496px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",dt.lineHeight,"1.5"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",dt.textTransform,"inherit"),Tt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ft),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",dt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",dt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",dt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",dt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",dt.textTransform,"inherit")},jt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ft),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",dt.fontSize,"12px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",dt.fontWeight,"normal"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",dt.letterSpacing,"0.396px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",dt.lineHeight,"1.33"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",dt.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ft),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",dt.fontSize,"10px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",dt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",dt.letterSpacing,"0.33px"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",dt.lineHeight,"1.6"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",dt.textTransform,"inherit"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ft),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",dt.fontSize,"10px"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",dt.fontWeight,"normal"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",dt.letterSpacing,"1.5px"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",dt.lineHeight,"1.6"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",dt.textTransform,"uppercase"),co={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ft),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",dt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",dt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",dt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",dt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",dt.textTransform,"uppercase")},po=e.css`
|
|
16
|
+
const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litStatic$:t,r:J}),ot=new Map,et=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(n=e[p],i=Q(n));)c+=i+o[++p],s=!0;p!==r&&l.push(n),a.push(c),p++}if(p===r&&a.push(o[r]),s){const t=a.join("$$lit$$");void 0===(o=ot.get(t))&&(a.raw=a,ot.set(t,o=a)),e=l}return t(o,...e)})(K);var rt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(rt||(rt={}));const it=t=>"string"==typeof t?e.unsafeCSS(t):t;class nt{static create(t,o,r,i){const n=t=>it(null!=t?t:i),a=e.css`var(${it(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${it(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${it(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${it(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):it(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${it(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(${it(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const at={colorWhite:nt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:nt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:nt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:nt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:nt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:nt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:nt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:nt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:nt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:nt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:nt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:nt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:nt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:nt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:nt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:nt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:nt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:nt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:nt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:nt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:nt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:nt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:nt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:nt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:nt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:nt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:nt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:nt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:nt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:nt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:nt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:nt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:nt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:nt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:nt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:nt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:nt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:nt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:nt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:nt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:nt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:nt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:nt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:nt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:nt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:nt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:nt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:nt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:nt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:nt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:nt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:nt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:nt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:nt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:nt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:nt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:nt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:nt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:nt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:nt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:nt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:nt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:nt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:nt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:nt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:nt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:nt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:nt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:nt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:nt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:nt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:nt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:nt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:nt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:nt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:nt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:nt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:nt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:nt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:nt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:nt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:nt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:nt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:nt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:nt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:nt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:nt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:nt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:nt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:nt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:nt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:nt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:nt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:nt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:nt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:nt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:nt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:nt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:nt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:nt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:nt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:nt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:nt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:nt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:nt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:nt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:nt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:nt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:nt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:nt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:nt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:nt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:nt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:nt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:nt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:nt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:nt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:nt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:nt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:nt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:nt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:nt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:nt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:nt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:nt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:nt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:nt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:nt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:nt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:nt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:nt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:nt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:nt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:nt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:nt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:nt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:nt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:nt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:nt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:nt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:nt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:nt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:nt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:nt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:nt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:nt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:nt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:nt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:nt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:nt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:nt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:nt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:nt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:nt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:nt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:nt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:nt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:nt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:nt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:nt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:nt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:nt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:nt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:nt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:nt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:nt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:nt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:nt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:nt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:nt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:nt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:nt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:nt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:nt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:nt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:nt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:nt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:nt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:nt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:nt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:nt.create("--ft-opacity-0","","NUMBER","0"),opacity8:nt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:nt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:nt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:nt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:nt.create("--ft-opacity-80","","NUMBER","0.8")},lt={display:{fontFamily:nt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:nt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:nt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:nt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:nt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:nt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:nt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:nt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:nt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:nt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:nt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:nt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:nt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:nt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:nt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:nt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:nt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:nt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:nt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:nt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:nt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:nt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:nt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:nt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:nt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:nt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:nt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},ct={backgroundActionPrimary:nt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",at.colorBrand0),backgroundErrorPrimary:nt.extend("--ft-background-error-primary","Used as background of error components.",at.colorRed0),backgroundErrorSubtle:nt.extend("--ft-background-error-subtle","Used as background of subtle error components.",at.colorRed10),backgroundInfoPrimary:nt.extend("--ft-background-info-primary","Used as background of information components.",at.colorCyan200),backgroundInfoSubtle:nt.extend("--ft-background-info-subtle","Used as background of subtle information components.",at.colorCyan10),backgroundWarningPrimary:nt.extend("--ft-background-warning-primary","Used as background of warning components.",at.colorOrange300),backgroundWarningSubtle:nt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",at.colorOrange10),backgroundSuccessPrimary:nt.extend("--ft-background-success-primary","Used as background of success components.",at.colorGreen200),backgroundSuccessSubtle:nt.extend("--ft-background-success-subtle","Used as background of subtle success components.",at.colorGreen10),backgroundGlobalSurface:nt.extend("--ft-background-global-surface","Used as app background.",at.colorWhite),backgroundGlobalOnSurface:nt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",at.colorGray10),backgroundGlobalOnSurfaceDark:nt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",at.colorGray30),contentActionPrimary:nt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",at.colorBrand0),contentWarningPrimary:nt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",at.colorOrange300),contentWarningIconOnly:nt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",at.colorOrange0),contentErrorPrimary:nt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",at.colorRed0),contentErrorIconOnly:nt.extend("--ft-content-error-icon-only","Used on error status icons alone",at.colorRed0),contentInfoPrimary:nt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",at.colorCyan200),contentInfoIconOnly:nt.extend("--ft-content-info-icon-only","Used on info status icons alone",at.colorCyan0),contentSuccessIconOnly:nt.extend("--ft-content-success-icon-only","Used on success status icons alone",at.colorGreen0),contentSuccessPrimary:nt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",at.colorGreen200),contentGlobalPrimary:nt.extend("--ft-content-global-primary","Used for main content on the page.",at.colorGray500),contentGlobalSecondary:nt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",at.colorGray200),contentGlobalSubtle:nt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",at.colorGray0),contentGlobalOnColor:nt.extend("--ft-content-global-on-color","Used for content on a dominant color.",at.colorWhite),borderActionPrimary:nt.extend("--ft-border-action-primary","Used as border for primary action components.",at.colorBrand0),borderActionFocusRing:nt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",at.colorCyan0),borderWarningPrimary:nt.extend("--ft-border-warning-primary","Used as border for warning components.",at.colorOrange30),borderSuccessPrimary:nt.extend("--ft-border-success-primary","Used as border for success components.",at.colorGreen30),borderErrorPrimary:nt.extend("--ft-border-error-primary","Used as border for error components.",at.colorRed30),borderInfoPrimary:nt.extend("--ft-border-info-primary","Used as border for information components.",at.colorCyan30),borderGlobalSubtle:nt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",at.colorGray30),borderGlobalPrimary:nt.extend("--ft-border-global-primary","Used as border for element like input.",at.colorGray50),borderInputPrimary:nt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",at.colorGray80)},pt={largeHeight:nt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:nt.extend("--ft-button-large-horizontal-padding","",at.spacing4),largeGap:nt.extend("--ft-button-large-gap","",at.spacing2),largeBorderRadius:nt.extend("--ft-button-large-border-radius","",at.borderRadiusS),largeIconSize:nt.extend("--ft-button-large-icon-size","",at.iconSize3),largeBorderWidth:nt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:nt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:nt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:nt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:nt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:nt.extend("--ft-button-small-horizontal-padding","",at.spacing3),smallGap:nt.extend("--ft-button-small-gap","",at.spacing2),smallBorderRadius:nt.extend("--ft-button-small-border-radius","",at.borderRadiusS),smallIconSize:nt.extend("--ft-button-small-icon-size","",at.iconSize2),smallBorderWidth:nt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:nt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:nt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:nt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:nt.extend("--ft-button-primary-background-color","",ct.backgroundActionPrimary),primaryColor:nt.extend("--ft-button-primary-color","",ct.contentGlobalOnColor),primaryIconColor:nt.extend("--ft-button-primary-icon-color","",ct.contentGlobalOnColor),primaryStateLayerColor:nt.extend("--ft-button-primary-state-layer-color","",ct.contentGlobalOnColor),primaryStateLayerOpacityHover:nt.extend("--ft-button-primary-state-layer-opacity-hover","",at.opacity16),primaryStateLayerOpacityFocus:nt.extend("--ft-button-primary-state-layer-opacity-focus","",at.opacity16),primaryStateLayerOpacityActive:nt.extend("--ft-button-primary-state-layer-opacity-active","",at.opacity24),primaryComponentOpacityDisabled:nt.extend("--ft-button-primary-component-opacity-disabled","",at.opacity40),focusFocusRingColor:nt.extend("--ft-button-focus-focus-ring-color","",ct.borderActionFocusRing),tertiaryBackgroundColor:nt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:nt.extend("--ft-button-tertiary-color","",ct.contentActionPrimary),tertiaryIconColor:nt.extend("--ft-button-tertiary-icon-color","",ct.contentActionPrimary),tertiaryStateLayerColor:nt.extend("--ft-button-tertiary-state-layer-color","",ct.contentActionPrimary),tertiaryStateLayerOpacityHover:nt.extend("--ft-button-tertiary-state-layer-opacity-hover","",at.opacity8),tertiaryStateLayerOpacityFocus:nt.extend("--ft-button-tertiary-state-layer-opacity-focus","",at.opacity8),tertiaryStateLayerOpacityActive:nt.extend("--ft-button-tertiary-state-layer-opacity-active","",at.opacity16),tertiaryComponentOpacityDisabled:nt.extend("--ft-button-tertiary-component-opacity-disabled","",at.opacity40),secondaryBackgroundColor:nt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:nt.extend("--ft-button-secondary-color","",ct.contentActionPrimary),secondaryIconColor:nt.extend("--ft-button-secondary-icon-color","",ct.contentActionPrimary),secondaryStateLayerColor:nt.extend("--ft-button-secondary-state-layer-color","",ct.contentActionPrimary),secondaryStateLayerOpacityHover:nt.extend("--ft-button-secondary-state-layer-opacity-hover","",at.opacity8),secondaryStateLayerOpacityFocus:nt.extend("--ft-button-secondary-state-layer-opacity-focus","",at.opacity8),secondaryStateLayerOpacityActive:nt.extend("--ft-button-secondary-state-layer-opacity-active","",at.opacity16),secondaryComponentOpacityDisabled:nt.extend("--ft-button-secondary-component-opacity-disabled","",at.opacity40),secondaryBorderColor:nt.extend("--ft-button-secondary-border-color","",ct.borderActionPrimary),neutralBackgroundColor:nt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:nt.extend("--ft-button-neutral-icon-color","",ct.contentGlobalSecondary),neutralColor:nt.extend("--ft-button-neutral-color","",ct.contentGlobalSecondary),neutralStateLayerColor:nt.extend("--ft-button-neutral-state-layer-color","",ct.contentGlobalSecondary),neutralStateLayerOpacityHover:nt.extend("--ft-button-neutral-state-layer-opacity-hover","",at.opacity8),neutralStateLayerOpacityFocus:nt.extend("--ft-button-neutral-state-layer-opacity-focus","",at.opacity8),neutralStateLayerOpacityActive:nt.extend("--ft-button-neutral-state-layer-opacity-active","",at.opacity16),neutralComponentOpacityDisabled:nt.extend("--ft-button-neutral-component-opacity-disabled","",at.opacity40)};nt.extend("--ft-tabs-top-left-border-radius","",at.borderRadiusS),nt.extend("--ft-tabs-top-right-border-radius","",at.borderRadiusS),nt.extend("--ft-tabs-label-horizontal-padding","",at.spacing4),nt.extend("--ft-tabs-label-vertical-padding","",at.spacing3),nt.extend("--ft-tabs-label-gap","",at.spacing1),nt.extend("--ft-switch-group-horizontal-padding","",at.spacing1),nt.extend("--ft-switch-group-vertical-padding","",at.spacing1),nt.extend("--ft-switch-group-gap","",at.spacing1),nt.extend("--ft-switch-group-background-color","",ct.backgroundGlobalSurface),nt.extend("--ft-switch-group-border-color","",ct.borderGlobalSubtle),nt.create("--ft-switch-group-border-radius","","SIZE","6px"),nt.extend("--ft-switch-label-horizontal-padding","",at.spacing2),nt.extend("--ft-switch-label-vertical-padding","",at.spacing1),nt.extend("--ft-switch-icon-horizontal-padding","",at.spacing1),nt.extend("--ft-switch-icon-vertical-padding","",at.spacing1),nt.create("--ft-switch-focus-outline-width","","SIZE","2px"),nt.extend("--ft-switch-focus-focus-ring-color","",ct.borderActionFocusRing),nt.extend("--ft-switch-option-border-radius","",at.borderRadiusS),nt.extend("--ft-switch-off-state-layer-opacity-hover","",at.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-focus","",at.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-active","",at.opacity16),nt.extend("--ft-switch-off-component-opacity-disabled","",at.opacity40),nt.extend("--ft-switch-off-color","",ct.contentGlobalSubtle),nt.extend("--ft-switch-off-state-layer-color","",ct.contentGlobalSubtle),nt.extend("--ft-chart-1-light","for area color charts",at.colorBrand40),nt.extend("--ft-chart-1-base","for line charts",at.colorBrand0),nt.extend("--ft-chart-2-light","for area color charts",at.colorYellow60),nt.extend("--ft-chart-2-base","for line charts",at.colorYellow100),nt.extend("--ft-chart-3-light","",at.colorUltramarine40),nt.extend("--ft-chart-3-base","",at.colorUltramarine70),nt.extend("--ft-chart-4-light","",at.colorCyan50),nt.extend("--ft-chart-4-base","",at.colorCyan100),nt.extend("--ft-chart-5-light","",at.colorRed40),nt.extend("--ft-chart-5-base","",at.colorRed60),nt.extend("--ft-chart-6-light","",at.colorGreen40),nt.extend("--ft-chart-6-base","",at.colorGreen70),nt.extend("--ft-chart-7-light","",at.colorOrange70),nt.extend("--ft-chart-7-base","",at.colorOrange100),nt.extend("--ft-chart-8-light","",at.colorAvocado70),nt.extend("--ft-chart-8-base","",at.colorAvocado200),nt.extend("--ft-chart-9-light","",at.colorBrown50),nt.extend("--ft-chart-9-base","",at.colorBrown200),nt.extend("--ft-chart-10-light","",at.colorGray50),nt.extend("--ft-chart-10-base","",at.colorGray80),nt.extend("--ft-chart-monochrome-10","",at.colorBrand10),nt.extend("--ft-chart-monochrome-20","",at.colorBrand20),nt.extend("--ft-chart-monochrome-30","",at.colorBrand40),nt.extend("--ft-chart-monochrome-40","",at.colorBrand60),nt.extend("--ft-chart-monochrome-50","",at.colorBrand0),nt.extend("--ft-chart-monochrome-60","",at.colorBrand200),nt.extend("--ft-chip-large-horizontal-padding","",at.spacing4),nt.extend("--ft-chip-large-vertical-padding","",at.spacing2),nt.extend("--ft-chip-large-gap","",at.spacing1),nt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-large-border-radius","",at.borderRadiusPill),nt.create("--ft-chip-large-border-width","","SIZE","1px"),nt.extend("--ft-chip-large-icon-size","",at.iconSize3),nt.extend("--ft-chip-medium-horizontal-padding","",at.spacing3),nt.extend("--ft-chip-medium-vertical-padding","",at.spacing1),nt.extend("--ft-chip-medium-gap","",at.spacing1),nt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-medium-border-radius","",at.borderRadiusPill),nt.create("--ft-chip-medium-border-width","","SIZE","1px"),nt.extend("--ft-chip-medium-icon-size","",at.iconSize2),nt.extend("--ft-chip-small-horizontal-padding","",at.spacing2),nt.extend("--ft-chip-small-vertical-padding","",at.spacing05),nt.extend("--ft-chip-small-gap","",at.spacing1),nt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-small-border-radius","",at.borderRadiusPill),nt.create("--ft-chip-small-border-width","","SIZE","1px"),nt.extend("--ft-chip-small-icon-size","",at.iconSize1),nt.extend("--ft-chip-neutral-background-color","",ct.backgroundGlobalOnSurface),nt.extend("--ft-chip-neutral-color","",ct.contentGlobalPrimary),nt.extend("--ft-chip-neutral-border-color","",ct.borderGlobalSubtle),nt.extend("--ft-chip-info-background-color","",ct.backgroundInfoSubtle),nt.extend("--ft-chip-info-color","",ct.contentInfoPrimary),nt.extend("--ft-chip-info-border-color","",ct.borderInfoPrimary),nt.extend("--ft-chip-success-background-color","",ct.backgroundSuccessSubtle),nt.extend("--ft-chip-success-color","",ct.contentSuccessPrimary),nt.extend("--ft-chip-success-border-color","",ct.borderSuccessPrimary),nt.extend("--ft-chip-warning-background-color","",ct.backgroundWarningSubtle),nt.extend("--ft-chip-warning-color","",ct.contentWarningPrimary),nt.extend("--ft-chip-warning-border-color","",ct.borderWarningPrimary),nt.extend("--ft-chip-error-background-color","",ct.backgroundErrorSubtle),nt.extend("--ft-chip-error-color","",ct.contentErrorPrimary),nt.extend("--ft-chip-error-border-color","",ct.borderErrorPrimary),nt.create("--ft-notice-border-width","","SIZE","1px"),nt.extend("--ft-notice-horizontal-padding","",at.spacing2),nt.extend("--ft-notice-vertical-padding","",at.spacing1),nt.extend("--ft-notice-border-radius","",at.borderRadiusS),nt.extend("--ft-notice-gap","",at.spacing2),nt.extend("--ft-notice-icon-size","",at.iconSize3),nt.extend("--ft-notice-info-background-color","",ct.backgroundInfoSubtle),nt.extend("--ft-notice-info-border-color","",ct.borderInfoPrimary),nt.extend("--ft-notice-info-color","",ct.contentInfoPrimary),nt.extend("--ft-notice-warning-background-color","",ct.backgroundWarningSubtle),nt.extend("--ft-notice-warning-border-color","",ct.borderWarningPrimary),nt.extend("--ft-notice-warning-color","",ct.contentWarningPrimary),nt.extend("--ft-checkbox-label-color","",ct.contentGlobalPrimary),nt.extend("--ft-checkbox-checked-background-color","",ct.contentActionPrimary),nt.extend("--ft-checkbox-checked-state-layer-color","",ct.contentActionPrimary),nt.extend("--ft-checkbox-checked-color","",ct.contentGlobalOnColor),nt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-checkbox-checked-component-opacity-disabled","",at.opacity40),nt.extend("--ft-checkbox-unchecked-border-color","",at.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-color","",at.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",at.opacity40),nt.extend("--ft-checkbox-focus-focus-ring-color","",ct.borderActionFocusRing),nt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),nt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),nt.extend("--ft-checkbox-gap","",at.spacing3),nt.extend("--ft-toggle-off-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-toggle-off-component-opacity-disabled","",at.opacity40),nt.extend("--ft-toggle-off-background-color","",ct.contentGlobalSubtle),nt.extend("--ft-toggle-off-icon-color","",ct.contentGlobalSubtle),nt.extend("--ft-toggle-off-state-layer-color","",ct.contentGlobalSubtle),nt.extend("--ft-toggle-on-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-toggle-on-component-opacity-disabled","",at.opacity40),nt.extend("--ft-toggle-on-background-color","",ct.contentActionPrimary),nt.extend("--ft-toggle-on-icon-color","",ct.contentActionPrimary),nt.extend("--ft-toggle-on-state-layer-color","",ct.contentActionPrimary),nt.extend("--ft-toggle-label-color","",ct.contentGlobalPrimary),nt.extend("--ft-toggle-focus-focus-ring-color","",ct.borderActionFocusRing),nt.extend("--ft-toggle-gap","",at.spacing3),nt.extend("--ft-radio-label-color","",ct.contentGlobalPrimary),nt.extend("--ft-radio-selected-color","",ct.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-color","",ct.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-radio-selected-component-opacity-disabled","",at.opacity40),nt.extend("--ft-radio-unselected-state-layer-color","",at.colorGray80),nt.extend("--ft-radio-unselected-state-layer-opacity-hover","",at.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-focus","",at.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-active","",at.opacity24),nt.extend("--ft-radio-unselected-component-opacity-disabled","",at.opacity40),nt.extend("--ft-radio-focus-focus-ring-color","",ct.borderActionFocusRing),nt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),nt.create("--ft-radio-focus-outline-width","","SIZE","2px"),nt.extend("--ft-radio-gap","",at.spacing3),nt.extend("--ft-notification-icon-size","",at.iconSize4),nt.extend("--ft-notification-horizontal-padding","",at.spacing4),nt.extend("--ft-notification-vertical-padding","",at.spacing4),nt.extend("--ft-notification-info-background-color","",ct.backgroundInfoSubtle),nt.extend("--ft-notification-info-color","",ct.contentInfoPrimary),nt.extend("--ft-notification-info-border-color","",ct.borderInfoPrimary),nt.extend("--ft-notification-success-background-color","",ct.backgroundSuccessSubtle),nt.extend("--ft-notification-success-color","",ct.contentSuccessPrimary),nt.extend("--ft-notification-success-border-color","",ct.borderSuccessPrimary),nt.extend("--ft-notification-warning-background-color","",ct.backgroundWarningSubtle),nt.extend("--ft-notification-warning-color","",ct.contentWarningPrimary),nt.extend("--ft-notification-warning-border-color","",ct.borderWarningPrimary),nt.extend("--ft-notification-error-background-color","",ct.backgroundErrorSubtle),nt.extend("--ft-notification-error-color","",ct.contentErrorPrimary),nt.extend("--ft-notification-error-border-color","",ct.borderErrorPrimary),nt.extend("--ft-notification-border-radius","",at.borderRadiusPill),nt.create("--ft-notification-border-width","","SIZE","1px"),nt.extend("--ft-notification-gap-leading","",at.spacing2),nt.extend("--ft-notification-gap-trailing","",at.spacing8);const st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ft=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),dt={fontFamily:ft,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")},ht=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",st),gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",dt.fontSize,"20px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",dt.fontWeight,"normal"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",dt.letterSpacing,"0.15px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",dt.lineHeight,"1.2"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",dt.textTransform,"inherit"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",st),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",dt.fontSize,"14px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",dt.fontWeight,"normal"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",dt.letterSpacing,"0.105px"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",dt.lineHeight,"1.7"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",dt.textTransform,"inherit"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ft),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",dt.fontSize,"16px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",dt.fontWeight,"600"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",dt.letterSpacing,"0.144px"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",dt.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",dt.textTransform,"inherit"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ft),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",dt.fontSize,"14px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",dt.fontWeight,"normal"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",dt.letterSpacing,"0.098px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",dt.lineHeight,"1.7"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",dt.textTransform,"inherit"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ft),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",dt.fontSize,"16px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",dt.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",dt.letterSpacing,"0.496px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",dt.lineHeight,"1.5"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",dt.textTransform,"inherit"),Pt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ft),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",dt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",dt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",dt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",dt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",dt.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ft),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",dt.fontSize,"12px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",dt.fontWeight,"normal"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",dt.letterSpacing,"0.396px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",dt.lineHeight,"1.33"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",dt.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ft),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",dt.fontSize,"10px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",dt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",dt.letterSpacing,"0.33px"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",dt.lineHeight,"1.6"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",dt.textTransform,"inherit"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ft),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",dt.fontSize,"10px"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",dt.fontWeight,"normal"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",dt.letterSpacing,"1.5px"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",dt.lineHeight,"1.6"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",dt.textTransform,"uppercase"),co={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ft),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",dt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",dt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",dt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",dt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",dt.textTransform,"uppercase")},po=e.css`
|
|
17
17
|
.ft-typography--title {
|
|
18
18
|
font-family: ${ht};
|
|
19
19
|
font-size: ${gt};
|
|
@@ -29,20 +29,20 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
29
29
|
font-weight: ${vt};
|
|
30
30
|
letter-spacing: ${Nt};
|
|
31
31
|
line-height: ${St};
|
|
32
|
-
text-transform: ${
|
|
32
|
+
text-transform: ${Ct};
|
|
33
33
|
}
|
|
34
34
|
`,fo=e.css`
|
|
35
35
|
.ft-typography--subtitle1 {
|
|
36
|
-
font-family: ${
|
|
36
|
+
font-family: ${$t};
|
|
37
37
|
font-size: ${wt};
|
|
38
38
|
font-weight: ${It};
|
|
39
39
|
letter-spacing: ${Rt};
|
|
40
40
|
line-height: ${kt};
|
|
41
|
-
text-transform: ${
|
|
41
|
+
text-transform: ${Et};
|
|
42
42
|
}
|
|
43
43
|
`,ho=e.css`
|
|
44
44
|
.ft-typography--subtitle2 {
|
|
45
|
-
font-family: ${
|
|
45
|
+
font-family: ${Ut};
|
|
46
46
|
font-size: ${Wt};
|
|
47
47
|
font-weight: ${Lt};
|
|
48
48
|
letter-spacing: ${zt};
|
|
@@ -61,17 +61,17 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
61
61
|
}
|
|
62
62
|
`,yo=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: ${Pt.fontFamily};
|
|
65
|
+
font-size: ${Pt.fontSize};
|
|
66
|
+
font-weight: ${Pt.fontWeight};
|
|
67
|
+
letter-spacing: ${Pt.letterSpacing};
|
|
68
|
+
line-height: ${Pt.lineHeight};
|
|
69
|
+
text-transform: ${Pt.textTransform};
|
|
70
70
|
}
|
|
71
71
|
`,uo=e.css`
|
|
72
72
|
.ft-typography--caption {
|
|
73
|
-
font-family: ${
|
|
74
|
-
font-size: ${
|
|
73
|
+
font-family: ${Tt};
|
|
74
|
+
font-size: ${jt};
|
|
75
75
|
font-weight: ${Mt};
|
|
76
76
|
letter-spacing: ${_t};
|
|
77
77
|
line-height: ${Yt};
|
|
@@ -124,7 +124,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
124
124
|
</${tt(this.element)}>
|
|
125
125
|
`:et`
|
|
126
126
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
127
|
-
`}}So.styles=[po,so,fo,ho,go,yo,uo,bo,mo,xo,Oo,...vo],No([r.property()],So.prototype,"element",void 0),No([r.property()],So.prototype,"variant",void 0),o.customElement("ft-typography")(So);const
|
|
127
|
+
`}}So.styles=[po,so,fo,ho,go,yo,uo,bo,mo,xo,Oo,...vo],No([r.property()],So.prototype,"element",void 0),No([r.property()],So.prototype,"variant",void 0),o.customElement("ft-typography")(So);const Co=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),$o=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),wo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Io=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Ro=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),ko=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Eo=e.css`
|
|
128
128
|
.ft-tooltip--container {
|
|
129
129
|
display: block;
|
|
130
130
|
}
|
|
@@ -135,13 +135,13 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.ft-tooltip {
|
|
138
|
-
position:
|
|
138
|
+
position: fixed;
|
|
139
139
|
box-sizing: border-box;
|
|
140
140
|
overflow: hidden;
|
|
141
141
|
width: max-content;
|
|
142
142
|
max-width: ${ko};
|
|
143
143
|
text-align: center;
|
|
144
|
-
padding: ${
|
|
144
|
+
padding: ${Co};
|
|
145
145
|
z-index: ${Io};
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -149,11 +149,11 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
149
149
|
padding: 4px 8px;
|
|
150
150
|
border-radius: ${Ro};
|
|
151
151
|
background-color: ${wo};
|
|
152
|
-
color: ${
|
|
152
|
+
color: ${$o};
|
|
153
153
|
position: relative;
|
|
154
154
|
word-break: break-word;
|
|
155
155
|
}
|
|
156
|
-
`,Eo=["start","end"],Wo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Eo[0],o+"-"+Eo[1])),[]),Lo=Math.min,zo=Math.max,Ko=Math.round,Zo=t=>({x:t,y:t}),Bo={left:"right",right:"left",bottom:"top",top:"bottom"},Fo={start:"end",end:"start"};function Do(t,o,e){return zo(t,Lo(o,e))}function Ao(t,o){return"function"==typeof t?t(o):t}function Ho(t){return t.split("-")[0]}function Go(t){return t.split("-")[1]}function To(t){return"x"===t?"y":"x"}function jo(t){return"y"===t?"height":"width"}function Po(t){return["top","bottom"].includes(Ho(t))?"y":"x"}function Mo(t){return To(Po(t))}function _o(t){return t.replace(/left|right|bottom|top/g,(t=>Bo[t]))}function Yo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Vo(t,o,e){let{reference:r,floating:i}=t;const n=Po(o),a=Mo(o),l=jo(a),c=Ho(o),p="y"===n,s=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:s,y:r.y-i.height};break;case"bottom":h={x:s,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Go(o)){case"start":h[a]-=d*(e&&p?-1:1);break;case"end":h[a]+=d*(e&&p?-1:1)}return h}async function Xo(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Ao(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===f?"reference":"floating":f],u=Yo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:p,rootBoundary:s,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Yo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+g.top)/x.y,bottom:(O.bottom-u.bottom+g.bottom)/x.y,left:(u.left-O.left+g.left)/x.x,right:(O.right-u.right+g.right)/x.x}}function qo(t,o,e){return(t?[...e.filter((o=>Go(o)===t)),...e.filter((o=>Go(o)!==t))]:e.filter((t=>Ho(t)===t))).filter((e=>!t||(Go(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Fo[t]))}(e)!==e)))}const Jo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:p}=o,{crossAxis:s=!1,alignment:f,allowedPlacements:d=Wo,autoAlignment:h=!0,...g}=Ao(t,o),y=void 0!==f||d===Wo?qo(f||null,h,d):d,u=await Xo(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Go(t),i=Mo(t),n=jo(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=_o(a)),[a,_o(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[u[Ho(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=Go(t.placement);return[t.placement,o&&s?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),$=S.filter((t=>t[2].slice(0,Go(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=$[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Qo(t){return ee(t)?(t.nodeName||"").toLowerCase():"#document"}function te(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function oe(t){var o;return null==(o=(ee(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ee(t){return t instanceof Node||t instanceof te(t).Node}function re(t){return t instanceof Element||t instanceof te(t).Element}function ie(t){return t instanceof HTMLElement||t instanceof te(t).HTMLElement}function ne(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof te(t).ShadowRoot)}function ae(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=fe(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function le(t){return["table","td","th"].includes(Qo(t))}function ce(t){const o=pe(),e=fe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function pe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function se(t){return["html","body","#document"].includes(Qo(t))}function fe(t){return te(t).getComputedStyle(t)}function de(t){return re(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(t){if("html"===Qo(t))return t;const o=t.assignedSlot||t.parentNode||ne(t)&&t.host||oe(t);return ne(o)?o.host:o}function ge(t){const o=he(t);return se(o)?t.ownerDocument?t.ownerDocument.body:t.body:ie(o)&&ae(o)?o:ge(o)}function ye(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ge(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=te(i);return n?o.concat(a,a.visualViewport||[],ae(i)?i:[],a.frameElement&&e?ye(a.frameElement):[]):o.concat(i,ye(i,[],e))}function ue(t){const o=fe(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=ie(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Ko(e)!==n||Ko(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function be(t){return re(t)?t:t.contextElement}function me(t){const o=be(t);if(!ie(o))return Zo(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ue(o);let a=(n?Ko(e.width):e.width)/r,l=(n?Ko(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const xe=Zo(0);function Oe(t){const o=te(t);return pe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:xe}function ve(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=be(t);let a=Zo(1);o&&(r?re(r)&&(a=me(r)):a=me(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==te(t))&&o}(n,e,r)?Oe(n):Zo(0);let c=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,s=i.width/a.x,f=i.height/a.y;if(n){const t=te(n),o=r&&re(r)?te(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=me(e),o=e.getBoundingClientRect(),r=fe(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,s*=t.x,f*=t.y,c+=i,p+=n,e=te(e).frameElement}}return Yo({width:s,height:f,x:c,y:p})}function Ne(t){return ve(oe(t)).left+de(t).scrollLeft}function Se(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=te(t),r=oe(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=pe();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=oe(t),e=de(t),r=t.ownerDocument.body,i=zo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=zo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Ne(t);const l=-e.scrollTop;return"rtl"===fe(r).direction&&(a+=zo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(oe(t));else if(re(o))r=function(t,o){const e=ve(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=ie(t)?me(t):Zo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Oe(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Yo(r)}function $e(t,o){const e=he(t);return!(e===o||!re(e)||se(e))&&("fixed"===fe(e).position||$e(e,o))}function Ce(t,o,e){const r=ie(o),i=oe(o),n="fixed"===e,a=ve(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Zo(0);if(r||!r&&!n)if(("body"!==Qo(o)||ae(i))&&(l=de(o)),r){const t=ve(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Ne(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function we(t,o){return ie(t)&&"fixed"!==fe(t).position?o?o(t):t.offsetParent:null}function Ie(t,o){const e=te(t);if(!ie(t))return e;let r=we(t,o);for(;r&&le(r)&&"static"===fe(r).position;)r=we(r,o);return r&&("html"===Qo(r)||"body"===Qo(r)&&"static"===fe(r).position&&!ce(r))?e:r||function(t){let o=he(t);for(;ie(o)&&!se(o);){if(ce(o))return o;o=he(o)}return null}(t)||e}const Re={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=ie(e),n=oe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Zo(1);const c=Zo(0);if((i||!i&&"fixed"!==r)&&(("body"!==Qo(e)||ae(n))&&(a=de(e)),ie(e))){const t=ve(e);l=me(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:oe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ye(t,[],!1).filter((t=>re(t)&&"body"!==Qo(t))),i=null;const n="fixed"===fe(t).position;let a=n?he(t):t;for(;re(a)&&!se(a);){const o=fe(a),e=ce(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ae(a)&&!e&&$e(t,a))?r=r.filter((t=>t!==a)):i=o,a=he(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Se(o,e,i);return t.top=zo(r.top,t.top),t.right=Lo(r.right,t.right),t.bottom=Lo(r.bottom,t.bottom),t.left=zo(r.left,t.left),t}),Se(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ie,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ie,n=this.getDimensions;return{reference:Ce(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ue(t)},getScale:me,isElement:re,isRTL:function(t){return"rtl"===fe(t).direction}},ke=(t,o,e)=>{const r=new Map,i={platform:Re,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let p=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:s,y:f}=Vo(p,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:s,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:p,platform:a,elements:{reference:t,floating:o}});s=null!=u?u:s,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:s,y:f}=Vo(p,d,c))),e=-1)}return{x:s,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};var Ue=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ee 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`
|
|
156
|
+
`,Uo=["start","end"],Wo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Uo[0],o+"-"+Uo[1])),[]),Lo=Math.min,zo=Math.max,Ko=Math.round,Zo=t=>({x:t,y:t}),Bo={left:"right",right:"left",bottom:"top",top:"bottom"},Fo={start:"end",end:"start"};function Do(t,o,e){return zo(t,Lo(o,e))}function Ao(t,o){return"function"==typeof t?t(o):t}function Ho(t){return t.split("-")[0]}function Go(t){return t.split("-")[1]}function Po(t){return"x"===t?"y":"x"}function To(t){return"y"===t?"height":"width"}function jo(t){return["top","bottom"].includes(Ho(t))?"y":"x"}function Mo(t){return Po(jo(t))}function _o(t){return t.replace(/left|right|bottom|top/g,(t=>Bo[t]))}function Yo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Vo(t,o,e){let{reference:r,floating:i}=t;const n=jo(o),a=Mo(o),l=To(a),c=Ho(o),p="y"===n,s=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:s,y:r.y-i.height};break;case"bottom":h={x:s,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Go(o)){case"start":h[a]-=d*(e&&p?-1:1);break;case"end":h[a]+=d*(e&&p?-1:1)}return h}async function Xo(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Ao(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===f?"reference":"floating":f],u=Yo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:p,rootBoundary:s,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Yo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+g.top)/x.y,bottom:(O.bottom-u.bottom+g.bottom)/x.y,left:(u.left-O.left+g.left)/x.x,right:(O.right-u.right+g.right)/x.x}}function qo(t,o,e){return(t?[...e.filter((o=>Go(o)===t)),...e.filter((o=>Go(o)!==t))]:e.filter((t=>Ho(t)===t))).filter((e=>!t||(Go(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Fo[t]))}(e)!==e)))}const Jo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:p}=o,{crossAxis:s=!1,alignment:f,allowedPlacements:d=Wo,autoAlignment:h=!0,...g}=Ao(t,o),y=void 0!==f||d===Wo?qo(f||null,h,d):d,u=await Xo(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Go(t),i=Mo(t),n=To(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=_o(a)),[a,_o(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[u[Ho(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=Go(t.placement);return[t.placement,o&&s?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,Go(t[0])?2:3).every((t=>t<=0)))),$=(null==(i=C[0])?void 0:i[0])||S[0][0];return $!==l?{data:{index:b+1,overflows:v},reset:{placement:$}}:{}}}};function Qo(t){return ee(t)?(t.nodeName||"").toLowerCase():"#document"}function te(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function oe(t){var o;return null==(o=(ee(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ee(t){return t instanceof Node||t instanceof te(t).Node}function re(t){return t instanceof Element||t instanceof te(t).Element}function ie(t){return t instanceof HTMLElement||t instanceof te(t).HTMLElement}function ne(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof te(t).ShadowRoot)}function ae(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=fe(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function le(t){return["table","td","th"].includes(Qo(t))}function ce(t){const o=pe(),e=fe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function pe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function se(t){return["html","body","#document"].includes(Qo(t))}function fe(t){return te(t).getComputedStyle(t)}function de(t){return re(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(t){if("html"===Qo(t))return t;const o=t.assignedSlot||t.parentNode||ne(t)&&t.host||oe(t);return ne(o)?o.host:o}function ge(t){const o=he(t);return se(o)?t.ownerDocument?t.ownerDocument.body:t.body:ie(o)&&ae(o)?o:ge(o)}function ye(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ge(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=te(i);return n?o.concat(a,a.visualViewport||[],ae(i)?i:[],a.frameElement&&e?ye(a.frameElement):[]):o.concat(i,ye(i,[],e))}function ue(t){const o=fe(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=ie(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Ko(e)!==n||Ko(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function be(t){return re(t)?t:t.contextElement}function me(t){const o=be(t);if(!ie(o))return Zo(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ue(o);let a=(n?Ko(e.width):e.width)/r,l=(n?Ko(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const xe=Zo(0);function Oe(t){const o=te(t);return pe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:xe}function ve(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=be(t);let a=Zo(1);o&&(r?re(r)&&(a=me(r)):a=me(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==te(t))&&o}(n,e,r)?Oe(n):Zo(0);let c=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,s=i.width/a.x,f=i.height/a.y;if(n){const t=te(n),o=r&&re(r)?te(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=me(e),o=e.getBoundingClientRect(),r=fe(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,s*=t.x,f*=t.y,c+=i,p+=n,e=te(e).frameElement}}return Yo({width:s,height:f,x:c,y:p})}function Ne(t){return ve(oe(t)).left+de(t).scrollLeft}function Se(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=te(t),r=oe(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=pe();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=oe(t),e=de(t),r=t.ownerDocument.body,i=zo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=zo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Ne(t);const l=-e.scrollTop;return"rtl"===fe(r).direction&&(a+=zo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(oe(t));else if(re(o))r=function(t,o){const e=ve(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=ie(t)?me(t):Zo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Oe(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Yo(r)}function Ce(t,o){const e=he(t);return!(e===o||!re(e)||se(e))&&("fixed"===fe(e).position||Ce(e,o))}function $e(t,o,e){const r=ie(o),i=oe(o),n="fixed"===e,a=ve(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Zo(0);if(r||!r&&!n)if(("body"!==Qo(o)||ae(i))&&(l=de(o)),r){const t=ve(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Ne(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function we(t,o){return ie(t)&&"fixed"!==fe(t).position?o?o(t):t.offsetParent:null}function Ie(t,o){const e=te(t);if(!ie(t))return e;let r=we(t,o);for(;r&&le(r)&&"static"===fe(r).position;)r=we(r,o);return r&&("html"===Qo(r)||"body"===Qo(r)&&"static"===fe(r).position&&!ce(r))?e:r||function(t){let o=he(t);for(;ie(o)&&!se(o);){if(ce(o))return o;o=he(o)}return null}(t)||e}const Re={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=ie(e),n=oe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Zo(1);const c=Zo(0);if((i||!i&&"fixed"!==r)&&(("body"!==Qo(e)||ae(n))&&(a=de(e)),ie(e))){const t=ve(e);l=me(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:oe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ye(t,[],!1).filter((t=>re(t)&&"body"!==Qo(t))),i=null;const n="fixed"===fe(t).position;let a=n?he(t):t;for(;re(a)&&!se(a);){const o=fe(a),e=ce(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ae(a)&&!e&&Ce(t,a))?r=r.filter((t=>t!==a)):i=o,a=he(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Se(o,e,i);return t.top=zo(r.top,t.top),t.right=Lo(r.right,t.right),t.bottom=Lo(r.bottom,t.bottom),t.left=zo(r.left,t.left),t}),Se(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ie,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ie,n=this.getDimensions;return{reference:$e(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ue(t)},getScale:me,isElement:re,isRTL:function(t){return"rtl"===fe(t).direction}},ke=(t,o,e)=>{const r=new Map,i={platform:Re,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let p=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:s,y:f}=Vo(p,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:s,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:p,platform:a,elements:{reference:t,floating:o}});s=null!=u?u:s,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:s,y:f}=Vo(p,d,c))),e=-1)}return{x:s,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ee(t){return function(t){for(let o=t;o;o=Ue(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ue(t);o;o=Ue(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ue(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var We=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Le 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}
|
|
@@ -161,7 +161,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
161
161
|
@focusin=${this.onHover}
|
|
162
162
|
@focusout=${this.onOut}
|
|
163
163
|
@touchstart=${this.onTouch}>
|
|
164
|
-
<slot></slot>
|
|
164
|
+
<slot part="slot"></slot>
|
|
165
165
|
<div part="tooltip" role="tooltip" inert
|
|
166
166
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
167
167
|
?hidden=${!this.visible}>
|
|
@@ -171,7 +171,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ke(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Ao(t,o),p={x:e,y:r},s=await Xo(o,c),f=
|
|
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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ke(this.slottedElement,this.tooltip,{platform:{...Re,getOffsetParent:t=>Re.getOffsetParent(t,Ee)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Ao(t,o),p={x:e,y:r},s=await Xo(o,c),f=jo(Ho(i)),d=Po(f);let h=p[d],g=p[f];if(n){const t="y"===d?"bottom":"right";h=Do(h+s["y"===d?"top":"left"],h,h-s[t])}if(a){const t="y"===f?"bottom":"right";g=Do(g+s["y"===f?"top":"left"],g,g-s[t])}const y=l.fn({...o,[d]:h,[f]:g});return{...y,data:{x:y.x-e,y:y.y-r}}}}),Jo({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Le.elementDefinitions={"ft-typography":So},Le.styles=Eo,We([r.property()],Le.prototype,"text",void 0),We([r.property({type:Boolean})],Le.prototype,"manual",void 0),We([r.property({type:Boolean})],Le.prototype,"inline",void 0),We([r.property({type:Number})],Le.prototype,"delay",void 0),We([r.property()],Le.prototype,"position",void 0),We([r.queryAssignedNodes()],Le.prototype,"slotNodes",void 0),We([r.query(".ft-tooltip--container")],Le.prototype,"container",void 0),We([r.query(".ft-tooltip")],Le.prototype,"tooltip",void 0),We([r.query(".ft-tooltip--content")],Le.prototype,"tooltipContent",void 0),We([r.state()],Le.prototype,"visible",void 0),We([r.eventOptions({passive:!0})],Le.prototype,"onTouch",null),We([r.eventOptions({passive:!0})],Le.prototype,"onHover",null),We([r.eventOptions({passive:!0})],Le.prototype,"onOut",null),o.customElement("ft-tooltip")(Le);const ze=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Ke={color:ze,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",ze),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")},Ze=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Be=Ze,Fe=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ze),De=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Ae=De,He=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",De),Ge=e.css`
|
|
175
175
|
:host {
|
|
176
176
|
display: contents;
|
|
177
177
|
}
|
|
@@ -184,7 +184,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
184
184
|
|
|
185
185
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
186
186
|
overflow: hidden;
|
|
187
|
-
border-radius: ${
|
|
187
|
+
border-radius: ${Ke.borderRadius};
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.ft-ripple .ft-ripple--background,
|
|
@@ -218,27 +218,27 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.ft-ripple .ft-ripple--background {
|
|
221
|
-
background-color: ${
|
|
221
|
+
background-color: ${Ke.backgroundColor};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.ft-ripple .ft-ripple--effect {
|
|
225
|
-
background-color: ${
|
|
225
|
+
background-color: ${Ke.color};
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
229
|
-
background-color: ${
|
|
229
|
+
background-color: ${He};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
233
|
-
background-color: ${
|
|
233
|
+
background-color: ${Ae};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
237
|
-
background-color: ${
|
|
237
|
+
background-color: ${Fe};
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
241
|
-
background-color: ${
|
|
241
|
+
background-color: ${Be};
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
.ft-ripple .ft-ripple--background {
|
|
@@ -268,22 +268,22 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
271
|
-
opacity: ${
|
|
271
|
+
opacity: ${Ke.opacityContentOnSurfaceHover};
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
275
|
-
opacity: ${
|
|
275
|
+
opacity: ${Ke.opacityContentOnSurfaceSelected};
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
279
|
-
opacity: ${
|
|
279
|
+
opacity: ${Ke.opacityContentOnSurfaceFocused};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
283
|
-
opacity: ${
|
|
283
|
+
opacity: ${Ke.opacityContentOnSurfacePressed};
|
|
284
284
|
transform: translate(-50%, -50%) scale(1);
|
|
285
285
|
}
|
|
286
|
-
`;var
|
|
286
|
+
`;var Pe,Te,je=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Me extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
287
287
|
<style>
|
|
288
288
|
.ft-ripple .ft-ripple--effect {
|
|
289
289
|
left: ${this.originX}px;
|
|
@@ -294,7 +294,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}je.elementDefinitions={},je.styles=Ae,Te([r.property({type:Boolean})],je.prototype,"primary",void 0),Te([r.property({type:Boolean})],je.prototype,"secondary",void 0),Te([r.property({type:Boolean})],je.prototype,"unbounded",void 0),Te([r.property({type:Boolean})],je.prototype,"activated",void 0),Te([r.property({type:Boolean})],je.prototype,"selected",void 0),Te([r.property({type:Boolean})],je.prototype,"disabled",void 0),Te([r.state()],je.prototype,"hovered",void 0),Te([r.state()],je.prototype,"focused",void 0),Te([r.state()],je.prototype,"pressed",void 0),Te([r.state()],je.prototype,"rippling",void 0),Te([r.state()],je.prototype,"originX",void 0),Te([r.state()],je.prototype,"originY",void 0),Te([r.query(".ft-ripple")],je.prototype,"ripple",void 0),Te([r.query(".ft-ripple--effect")],je.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(je),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=""}(He||(He={})),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=""}(Ge||(Ge={})),new Map([...["abw"].map((t=>[t,Ge.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,Ge.AUDIO])),...["avi"].map((t=>[t,Ge.AVI])),...["chm","xhs"].map((t=>[t,Ge.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,Ge.CODE])),...["csv"].map((t=>[t,Ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ge.DITA])),...["epub"].map((t=>[t,Ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ge.EXCEL])),...["flac"].map((t=>[t,Ge.FLAC])),...["gif"].map((t=>[t,Ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ge.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,Ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ge.JPEG])),...["json"].map((t=>[t,Ge.JSON])),...["m4a","m4p"].map((t=>[t,Ge.M4A])),...["mov","qt"].map((t=>[t,Ge.MOV])),...["mp3"].map((t=>[t,Ge.MP3])),...["mp4","m4v"].map((t=>[t,Ge.MP4])),...["ogg","oga"].map((t=>[t,Ge.OGG])),...["pdf","ps"].map((t=>[t,Ge.PDF])),...["png"].map((t=>[t,Ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ge.POWERPOINT])),...["rar"].map((t=>[t,Ge.RAR])),...["stp"].map((t=>[t,Ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ge.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,Ge.VIDEO])),...["wav"].map((t=>[t,Ge.WAV])),...["wma"].map((t=>[t,Ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ge.YAML])),...["zip"].map((t=>[t,Ge.ZIP]))]);const Pe={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Me=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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Me.elementDefinitions={},Me.styles=Ge,je([r.property({type:Boolean})],Me.prototype,"primary",void 0),je([r.property({type:Boolean})],Me.prototype,"secondary",void 0),je([r.property({type:Boolean})],Me.prototype,"unbounded",void 0),je([r.property({type:Boolean})],Me.prototype,"activated",void 0),je([r.property({type:Boolean})],Me.prototype,"selected",void 0),je([r.property({type:Boolean})],Me.prototype,"disabled",void 0),je([r.state()],Me.prototype,"hovered",void 0),je([r.state()],Me.prototype,"focused",void 0),je([r.state()],Me.prototype,"pressed",void 0),je([r.state()],Me.prototype,"rippling",void 0),je([r.state()],Me.prototype,"originX",void 0),je([r.state()],Me.prototype,"originY",void 0),je([r.query(".ft-ripple")],Me.prototype,"ripple",void 0),je([r.query(".ft-ripple--effect")],Me.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Me),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=""}(Pe||(Pe={})),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=""}(Te||(Te={})),new Map([...["abw"].map((t=>[t,Te.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,Te.AUDIO])),...["avi"].map((t=>[t,Te.AVI])),...["chm","xhs"].map((t=>[t,Te.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,Te.CODE])),...["csv"].map((t=>[t,Te.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Te.DITA])),...["epub"].map((t=>[t,Te.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Te.EXCEL])),...["flac"].map((t=>[t,Te.FLAC])),...["gif"].map((t=>[t,Te.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Te.GZIP])),...["html","htm","xhtml"].map((t=>[t,Te.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,Te.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Te.JPEG])),...["json"].map((t=>[t,Te.JSON])),...["m4a","m4p"].map((t=>[t,Te.M4A])),...["mov","qt"].map((t=>[t,Te.MOV])),...["mp3"].map((t=>[t,Te.MP3])),...["mp4","m4v"].map((t=>[t,Te.MP4])),...["ogg","oga"].map((t=>[t,Te.OGG])),...["pdf","ps"].map((t=>[t,Te.PDF])),...["png"].map((t=>[t,Te.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Te.POWERPOINT])),...["rar"].map((t=>[t,Te.RAR])),...["stp"].map((t=>[t,Te.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Te.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,Te.VIDEO])),...["wav"].map((t=>[t,Te.WAV])),...["wma"].map((t=>[t,Te.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Te.WORD])),...["xml","xsl","rdf"].map((t=>[t,Te.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Te.YAML])),...["zip"].map((t=>[t,Te.ZIP]))]);const _e={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ye=e.css`
|
|
298
298
|
:host, i.ft-icon {
|
|
299
299
|
display: inline-flex;
|
|
300
300
|
align-items: center;
|
|
@@ -303,14 +303,14 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
:host {
|
|
306
|
-
width: ${
|
|
307
|
-
height: ${
|
|
306
|
+
width: ${_e.size};
|
|
307
|
+
height: ${_e.size};
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
i.ft-icon {
|
|
311
311
|
width: 100%;
|
|
312
312
|
height: 100%;
|
|
313
|
-
font-size: ${
|
|
313
|
+
font-size: ${_e.size};
|
|
314
314
|
line-height: 1;
|
|
315
315
|
font-weight: normal;
|
|
316
316
|
text-transform: none;
|
|
@@ -321,33 +321,33 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
321
321
|
text-rendering: auto;
|
|
322
322
|
-webkit-font-smoothing: antialiased;
|
|
323
323
|
-moz-osx-font-smoothing: grayscale;
|
|
324
|
-
vertical-align: ${
|
|
324
|
+
vertical-align: ${_e.verticalAlign};
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
i.ft-icon.ft-icon--fluid-topics {
|
|
328
|
-
font-family: ${
|
|
328
|
+
font-family: ${_e.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 * ${_e.size});
|
|
332
|
+
line-height: ${_e.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: ${_e.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
.ft-icon--material {
|
|
343
|
-
font-family: ${
|
|
343
|
+
font-family: ${_e.materialFontFamily}, "Material Icons", sans-serif;
|
|
344
344
|
}
|
|
345
|
-
`;var
|
|
345
|
+
`;var Ve;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ve||(Ve={}));var Xe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qe extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ve).includes(this.variant)?this.variant:Ve.fluid_topics,o=t!==Ve.material||!!this.value;return e.html`
|
|
346
346
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
347
347
|
${n.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 Ve.file_format:this.resolvedIcon=null!==(t=Te[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Ve.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Pe[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}qe.elementDefinitions={},qe.styles=Ye,Xe([r.property()],qe.prototype,"variant",void 0),Xe([r.property()],qe.prototype,"value",void 0),Xe([r.state()],qe.prototype,"resolvedIcon",void 0),Xe([r.query("slot")],qe.prototype,"slottedContent",void 0),o.customElement("ft-icon")(qe);const Je={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Qe=e.css`
|
|
351
351
|
:host {
|
|
352
352
|
line-height: 0;
|
|
353
353
|
}
|
|
@@ -356,8 +356,8 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
356
356
|
display: inline-block;
|
|
357
357
|
position: relative;
|
|
358
358
|
|
|
359
|
-
width: ${
|
|
360
|
-
height: ${
|
|
359
|
+
width: ${Je.size};
|
|
360
|
+
height: ${Je.size};
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
.ft-loader div {
|
|
@@ -366,7 +366,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
366
366
|
width: 25%;
|
|
367
367
|
height: 25%;
|
|
368
368
|
border-radius: 50%;
|
|
369
|
-
background: ${
|
|
369
|
+
background: ${Je.color};
|
|
370
370
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
371
371
|
}
|
|
372
372
|
|
|
@@ -413,10 +413,10 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
413
413
|
transform: translate(0, 0);
|
|
414
414
|
}
|
|
415
415
|
100% {
|
|
416
|
-
transform: translate(calc(0.35 * ${
|
|
416
|
+
transform: translate(calc(0.35 * ${Je.size}), 0);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
`,
|
|
419
|
+
`,tr=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),or={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:tr,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",co.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",tr),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")},er=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),rr={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:er,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",er)},ir=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),nr=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ar=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),lr=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),cr=[e.css`
|
|
420
420
|
:host {
|
|
421
421
|
display: inline-block;
|
|
422
422
|
max-width: 100%;
|
|
@@ -427,7 +427,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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: ${or.fontSize};
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
button:hover {
|
|
@@ -456,31 +456,31 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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(${or.fontSize} + 2px), ${or.iconSize});
|
|
460
|
+
--ft-button-internal-color: ${or.color};
|
|
461
|
+
${o.setVariable(_e.size,or.iconSize)};
|
|
462
|
+
${o.setVariable(Ke.color,or.rippleColor)};
|
|
463
463
|
|
|
464
|
-
border-radius: ${
|
|
465
|
-
padding: ${
|
|
466
|
-
background-color: ${
|
|
464
|
+
border-radius: ${or.borderRadius};
|
|
465
|
+
padding: ${or.verticalPadding} ${or.horizontalPadding};
|
|
466
|
+
background-color: ${or.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(${or.verticalPadding} - 1px) calc(${or.horizontalPadding} - 1px);
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.ft-button.ft-button--dense {
|
|
477
|
-
padding: ${
|
|
478
|
-
border-radius: ${
|
|
479
|
-
gap: ${
|
|
477
|
+
padding: ${nr} ${ar};
|
|
478
|
+
border-radius: ${ir};
|
|
479
|
+
gap: ${lr};
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
483
|
-
padding: calc(${
|
|
483
|
+
padding: calc(${nr} - 1px) calc(${ar} - 1px);
|
|
484
484
|
}
|
|
485
485
|
|
|
486
486
|
.ft-button:not([disabled]):hover {
|
|
@@ -488,22 +488,22 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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 + ${or.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 + ${nr});
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-button[disabled] {
|
|
499
499
|
filter: grayscale(1);
|
|
500
|
-
opacity: ${
|
|
500
|
+
opacity: ${or.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: ${rr.backgroundColor};
|
|
505
|
+
--ft-button-internal-color: ${rr.color};
|
|
506
|
+
${o.setVariable(Ke.color,rr.rippleColor)};
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
.ft-button:focus {
|
|
@@ -516,13 +516,13 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
516
516
|
white-space: nowrap;
|
|
517
517
|
text-overflow: ellipsis;
|
|
518
518
|
display: block;
|
|
519
|
-
margin: 0 ${
|
|
519
|
+
margin: 0 ${or.iconPadding};
|
|
520
520
|
${o.setVariable(co.fontSize,"1em")};
|
|
521
521
|
${o.setVariable(co.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 ${lr};
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
.ft-button--label[hidden] {
|
|
@@ -535,13 +535,13 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.ft-button--label[hidden] + ft-icon {
|
|
538
|
-
margin: 0 calc(${
|
|
539
|
-
padding: 0 ${
|
|
538
|
+
margin: 0 calc(${or.horizontalPadding} * -1);
|
|
539
|
+
padding: 0 ${or.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(${ar} * -1);
|
|
544
|
+
padding: 0 ${nr};
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -550,17 +550,17 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
ft-loader {
|
|
553
|
-
${o.setVariable(
|
|
554
|
-
${o.setVariable(
|
|
553
|
+
${o.setVariable(Je.size,or.iconSize)};
|
|
554
|
+
${o.setVariable(Je.color,"var(--ft-button-internal-color)")};
|
|
555
555
|
}
|
|
556
|
-
`,o.noTextSelect];class
|
|
556
|
+
`,o.noTextSelect];class pr 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
|
+
`}}pr.styles=Qe,o.customElement("ft-loader")(pr);var sr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fr 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 J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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}}fr.elementDefinitions={"ft-ripple":Me,"ft-tooltip":Le,"ft-typography":So,"ft-icon":qe,"ft-loader":pr},sr([r.property({type:String,reflect:!0})],fr.prototype,"role",void 0),sr([r.property()],fr.prototype,"type",void 0),sr([r.property({type:Boolean})],fr.prototype,"disabled",void 0),sr([r.property()],fr.prototype,"label",void 0),sr([r.property()],fr.prototype,"icon",void 0),sr([r.property()],fr.prototype,"iconVariant",void 0),sr([r.property({type:Boolean})],fr.prototype,"trailingIcon",void 0),sr([r.property({type:Boolean})],fr.prototype,"loading",void 0),sr([r.property()],fr.prototype,"tooltipPosition",void 0),sr([r.property({type:Boolean})],fr.prototype,"hideTooltip",void 0),sr([r.property({type:Boolean})],fr.prototype,"forceTooltip",void 0),sr([r.query(".ft-button")],fr.prototype,"button",void 0),sr([r.query(".ft-button--label slot")],fr.prototype,"slottedContent",void 0);var dr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hr extends fr{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"}}hr.styles=[o.safariEllipsisFix,cr],dr([r.property({type:Boolean})],hr.prototype,"primary",void 0),dr([r.property({type:Boolean})],hr.prototype,"outlined",void 0),dr([r.property({type:Boolean})],hr.prototype,"dense",void 0),dr([r.property({type:Boolean})],hr.prototype,"round",void 0);const gr=[e.css`
|
|
587
587
|
:host {
|
|
588
588
|
display: inline-block;
|
|
589
589
|
max-width: 100%;
|
|
@@ -662,13 +662,13 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
662
662
|
/** Primary styles **/
|
|
663
663
|
|
|
664
664
|
.ft-button--primary {
|
|
665
|
-
${o.setVariable(
|
|
665
|
+
${o.setVariable(Je.color,pt.primaryIconColor)};
|
|
666
666
|
|
|
667
|
-
${o.setVariable(
|
|
668
|
-
${o.setVariable(
|
|
669
|
-
${o.setVariable(
|
|
670
|
-
${o.setVariable(
|
|
671
|
-
${o.setVariable(
|
|
667
|
+
${o.setVariable(Ke.color,pt.primaryStateLayerColor)};
|
|
668
|
+
${o.setVariable(Ke.opacityContentOnSurfaceHover,pt.primaryStateLayerOpacityHover)};
|
|
669
|
+
${o.setVariable(Ke.opacityContentOnSurfaceFocused,pt.primaryStateLayerOpacityFocus)};
|
|
670
|
+
${o.setVariable(Ke.opacityContentOnSurfaceSelected,pt.primaryStateLayerOpacityActive)};
|
|
671
|
+
${o.setVariable(Ke.opacityContentOnSurfacePressed,pt.primaryStateLayerOpacityActive)};
|
|
672
672
|
|
|
673
673
|
background-color: ${pt.primaryBackgroundColor};
|
|
674
674
|
color: ${pt.primaryColor};
|
|
@@ -686,13 +686,13 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
686
686
|
/** Secondary styles **/
|
|
687
687
|
|
|
688
688
|
.ft-button--secondary {
|
|
689
|
-
${o.setVariable(
|
|
689
|
+
${o.setVariable(Je.color,pt.secondaryIconColor)};
|
|
690
690
|
|
|
691
|
-
${o.setVariable(
|
|
692
|
-
${o.setVariable(
|
|
693
|
-
${o.setVariable(
|
|
694
|
-
${o.setVariable(
|
|
695
|
-
${o.setVariable(
|
|
691
|
+
${o.setVariable(Ke.color,pt.secondaryStateLayerColor)};
|
|
692
|
+
${o.setVariable(Ke.opacityContentOnSurfaceHover,pt.secondaryStateLayerOpacityHover)};
|
|
693
|
+
${o.setVariable(Ke.opacityContentOnSurfaceFocused,pt.secondaryStateLayerOpacityFocus)};
|
|
694
|
+
${o.setVariable(Ke.opacityContentOnSurfaceSelected,pt.secondaryStateLayerOpacityActive)};
|
|
695
|
+
${o.setVariable(Ke.opacityContentOnSurfacePressed,pt.secondaryStateLayerOpacityActive)};
|
|
696
696
|
|
|
697
697
|
background-color: ${pt.secondaryBackgroundColor};
|
|
698
698
|
color: ${pt.secondaryColor};
|
|
@@ -711,13 +711,13 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
711
711
|
/** Tertiary styles **/
|
|
712
712
|
|
|
713
713
|
.ft-button--tertiary {
|
|
714
|
-
${o.setVariable(
|
|
714
|
+
${o.setVariable(Je.color,pt.tertiaryIconColor)};
|
|
715
715
|
|
|
716
|
-
${o.setVariable(
|
|
717
|
-
${o.setVariable(
|
|
718
|
-
${o.setVariable(
|
|
719
|
-
${o.setVariable(
|
|
720
|
-
${o.setVariable(
|
|
716
|
+
${o.setVariable(Ke.color,pt.tertiaryStateLayerColor)};
|
|
717
|
+
${o.setVariable(Ke.opacityContentOnSurfaceHover,pt.tertiaryStateLayerOpacityHover)};
|
|
718
|
+
${o.setVariable(Ke.opacityContentOnSurfaceFocused,pt.tertiaryStateLayerOpacityFocus)};
|
|
719
|
+
${o.setVariable(Ke.opacityContentOnSurfaceSelected,pt.tertiaryStateLayerOpacityActive)};
|
|
720
|
+
${o.setVariable(Ke.opacityContentOnSurfacePressed,pt.tertiaryStateLayerOpacityActive)};
|
|
721
721
|
|
|
722
722
|
background-color: ${pt.tertiaryBackgroundColor};
|
|
723
723
|
color: ${pt.tertiaryColor};
|
|
@@ -735,13 +735,13 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
735
735
|
/** Neutral styles **/
|
|
736
736
|
|
|
737
737
|
.ft-button--neutral {
|
|
738
|
-
${o.setVariable(
|
|
738
|
+
${o.setVariable(Je.color,pt.neutralIconColor)};
|
|
739
739
|
|
|
740
|
-
${o.setVariable(
|
|
741
|
-
${o.setVariable(
|
|
742
|
-
${o.setVariable(
|
|
743
|
-
${o.setVariable(
|
|
744
|
-
${o.setVariable(
|
|
740
|
+
${o.setVariable(Ke.backgroundColor,pt.neutralStateLayerColor)};
|
|
741
|
+
${o.setVariable(Ke.opacityContentOnSurfaceHover,pt.neutralStateLayerOpacityHover)};
|
|
742
|
+
${o.setVariable(Ke.opacityContentOnSurfaceFocused,pt.neutralStateLayerOpacityFocus)};
|
|
743
|
+
${o.setVariable(Ke.opacityContentOnSurfaceSelected,pt.neutralStateLayerOpacityActive)};
|
|
744
|
+
${o.setVariable(Ke.opacityContentOnSurfacePressed,pt.neutralStateLayerOpacityActive)};
|
|
745
745
|
|
|
746
746
|
background-color: ${pt.neutralBackgroundColor};
|
|
747
747
|
color: ${pt.neutralColor};
|
|
@@ -759,8 +759,8 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
759
759
|
/** Large styles **/
|
|
760
760
|
|
|
761
761
|
.ft-button--large {
|
|
762
|
-
${o.setVariable(
|
|
763
|
-
${o.setVariable(
|
|
762
|
+
${o.setVariable(_e.size,pt.largeIconSize)};
|
|
763
|
+
${o.setVariable(Je.size,pt.largeIconSize)};
|
|
764
764
|
|
|
765
765
|
height: ${pt.largeHeight};
|
|
766
766
|
padding: 0 ${pt.largeHorizontalPadding};
|
|
@@ -782,8 +782,8 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
782
782
|
/** Small styles **/
|
|
783
783
|
|
|
784
784
|
.ft-button--small {
|
|
785
|
-
${o.setVariable(
|
|
786
|
-
${o.setVariable(
|
|
785
|
+
${o.setVariable(_e.size,pt.smallIconSize)};
|
|
786
|
+
${o.setVariable(Je.size,pt.smallIconSize)};
|
|
787
787
|
|
|
788
788
|
height: ${pt.smallHeight};
|
|
789
789
|
padding: 0 ${pt.smallHorizontalPadding};
|
|
@@ -801,7 +801,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
801
801
|
width: ${pt.smallIconOnlyWidth};
|
|
802
802
|
padding: unset;
|
|
803
803
|
}
|
|
804
|
-
`,o.noTextSelect];var
|
|
804
|
+
`,o.noTextSelect];var yr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ur extends fr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?rt.caption1medium:rt.body2medium}}ur.styles=[o.safariEllipsisFix,gr],yr([r.property({type:Boolean})],ur.prototype,"primary",void 0),yr([r.property({type:Boolean})],ur.prototype,"secondary",void 0),yr([r.property({type:Boolean})],ur.prototype,"tertiary",void 0),yr([r.property({type:Boolean})],ur.prototype,"neutral",void 0),yr([r.property({type:Boolean})],ur.prototype,"small",void 0),o.customElement("ft-button")(hr),o.customElement("ftds-button")(ur);const br=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),mr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:br,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Pt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",br),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")},xr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),Or={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:xr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",xr)},vr=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Nr=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Sr=[o.noTextSelect,e.css`
|
|
805
805
|
:host {
|
|
806
806
|
display: inline-block;
|
|
807
807
|
max-width: 100%;
|
|
@@ -817,20 +817,20 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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: ${mr.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(_e.size,mr.iconSize)};
|
|
823
|
+
--ft-chip-internal-vertical-padding: ${mr.verticalPadding};
|
|
824
|
+
--ft-chip-internal-horizontal-padding: ${mr.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), ${mr.iconSize});
|
|
827
827
|
|
|
828
|
-
border: 1px solid ${
|
|
829
|
-
color: ${
|
|
830
|
-
${o.setVariable(
|
|
828
|
+
border: 1px solid ${mr.colorOutline};
|
|
829
|
+
color: ${mr.color};
|
|
830
|
+
${o.setVariable(Ke.color,mr.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: ${mr.backgroundColor};
|
|
834
834
|
line-height: var(--ft-chip-internal-content-height);
|
|
835
835
|
}
|
|
836
836
|
|
|
@@ -840,8 +840,8 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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: ${Nr};
|
|
844
|
+
--ft-chip-internal-horizontal-padding: ${vr};
|
|
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 J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
853
853
|
cursor: default;
|
|
854
854
|
pointer-events: none;
|
|
855
855
|
filter: grayscale(1);
|
|
856
|
-
opacity: ${
|
|
856
|
+
opacity: ${mr.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: ${Or.backgroundColor};
|
|
863
|
+
${o.setVariable(Ke.color,Or.rippleColor)};
|
|
864
|
+
color: ${Or.color};
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
.ft-chip--clickable {
|
|
@@ -891,9 +891,9 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
.ft-chip--icon-button {
|
|
894
|
-
${o.setVariable(
|
|
895
|
-
${o.setVariable(
|
|
896
|
-
${o.setVariable(
|
|
894
|
+
${o.setVariable(or.iconSize,mr.iconSize)};
|
|
895
|
+
${o.setVariable(or.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
896
|
+
${o.setVariable(or.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 J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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(Pt.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
905
|
+
${o.setVariable(Pt.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 J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
938
938
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
939
939
|
order: -1;
|
|
940
940
|
}
|
|
941
|
-
`];var
|
|
941
|
+
`];var Cr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $r extends CustomEvent{constructor(){super("icon-click")}}class wr 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 J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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 $r))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new $r))}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)}}wr.elementDefinitions={"ft-ripple":Me,"ft-typography":So,"ft-icon":qe,"ft-button":hr},wr.styles=Sr,Cr([r.property({type:Boolean})],wr.prototype,"highlighted",void 0),Cr([r.property({type:Boolean})],wr.prototype,"removable",void 0),Cr([r.property({type:Boolean})],wr.prototype,"disabled",void 0),Cr([r.property({type:Boolean})],wr.prototype,"clickable",void 0),Cr([r.property({type:Boolean})],wr.prototype,"iconClickable",void 0),Cr([r.property({type:Boolean})],wr.prototype,"dense",void 0),Cr([r.property({type:Boolean})],wr.prototype,"multiLine",void 0),Cr([r.property()],wr.prototype,"label",void 0),Cr([r.property()],wr.prototype,"iconLabel",void 0),Cr([r.property()],wr.prototype,"icon",void 0),Cr([r.property()],wr.prototype,"iconVariant",void 0),Cr([r.property({type:Boolean})],wr.prototype,"trailingIcon",void 0),Cr([r.query("ft-typography slot")],wr.prototype,"slottedContent",void 0),o.customElement("ft-chip")(wr);var Ir=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rr extends y{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 J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
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}`:""}update(t){super.update(t),["key","tocNode"].some((o=>t.has(o)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}
|
|
977
|
+
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((o=>t.has(o)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}Rr.elementDefinitions={"ft-tooltip":Le,"ft-chip":wr},Rr.styles=a,Ir([r.property()],Rr.prototype,"key",void 0),Ir([r.state()],Rr.prototype,"editorMode",void 0),Ir([r.state()],Rr.prototype,"metadata",void 0),o.customElement("ft-reader-topic-metadata")(Rr),t.FtReaderTopicMetadata=Rr,t.FtReaderTopicMetadataCssVariables={},t.styles=a}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|