@fluid-topics/ft-reader-toc 1.0.62 → 1.1.0
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-toc.light.js +228 -228
- package/build/ft-reader-toc.min.js +356 -342
- package/package.json +8 -8
|
@@ -3,108 +3,108 @@
|
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
-
*/
|
|
6
|
+
*/const h=globalThis,g=h.trustedTypes,y=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,b="$lit$",u=`lit$${(Math.random()+"").slice(9)}$`,m="?"+u,x=`<${m}>`,O=document,v=()=>O.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,C="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,I=/>/g,k=RegExp(`>|${C}(?:([^\\s"'>=/]+)(${C}*=${C}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,U=/"/g,E=/^(?:script|style|textarea|title)$/i,W=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),L=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),K=new WeakMap,Z=O.createTreeWalker(O,129);function B(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==y?y.createHTML(o):o}const F=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=$;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===$?"!--"===c[1]?n=w:void 0!==c[1]?n=I:void 0!==c[2]?(E.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=k):void 0!==c[3]&&(n=k):n===k?">"===c[0]?(n=i??$,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?k:'"'===c[3]?U:R):n===U||n===R?n=k:n===w||n===I?n=$:(n=k,i=void 0);const f=n===k&&t[o+1].startsWith("/>")?" ":"";a+=n===$?e+x:s>=0?(r.push(l),e.slice(0,s)+b+e.slice(s)+u+f):e+u+(-2===s?o:f)}return[B(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class A{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,s]=F(t,o);if(this.el=A.createElement(c,e),Z.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Z.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(b)){const o=s[a++],e=r.getAttribute(t).split(u),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?P:"?"===n[1]?T:"@"===n[1]?M:j}),r.removeAttribute(t)}else t.startsWith(u)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(E.test(r.tagName)){const t=r.textContent.split(u),o=t.length-1;if(o>0){r.textContent=g?g.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],v()),Z.nextNode(),l.push({type:2,index:++i});r.append(t[o],v())}}}else if(8===r.nodeType)if(r.data===m)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(u,t+1));)l.push({type:7,index:i}),t+=u.length-1}i++}}static createElement(t,o){const e=O.createElement("template");return e.innerHTML=t,e}}function D(t,o,e=t,r){if(o===L)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=N(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=D(t,i._$AS(t,o.values),i,r)),o}class H{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??O).importNode(o,!0);Z.currentNode=r;let i=Z.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new G(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new _(i,this,t)),this._$AV.push(o),l=e[++n]}a!==l?.index&&(i=Z.nextNode(),a++)}return Z.currentNode=O,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 G{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=D(this,t,o),N(t)?t===z||null==t||""===t?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==L&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>S(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==z&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(O.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=A.createElement(B(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new H(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=K.get(t.strings);return void 0===o&&K.set(t.strings,o=new A(t)),o}T(t){S(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 G(this.k(v()),this.k(v()),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 j{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=z,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=z}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=D(this,t,o,0),a=!N(t)||t!==this._$AH&&t!==L,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=D(this,r[e+n],o,n),l===L&&(l=this._$AH[n]),a||=!N(l)||l!==this._$AH[n],l===z?t=z:t!==z&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class P extends j{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===z?void 0:t}}class T extends j{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==z)}}class M extends j{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=D(this,t,o,0)??z)===L)return;const e=this._$AH,r=t===z&&e!==z||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==z&&(e===z||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 _{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const Y=h.litHtmlPolyfillSupport;Y?.(A,G),(h.litHtmlVersions??=[]).push("3.1.0");
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
9
9
|
* Copyright 2020 Google LLC
|
|
10
10
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
11
|
*/
|
|
12
|
-
const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t._$litStatic$},J=t=>({_$litStatic$:t,r:X}),Q=new Map,tt=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(a=e[s],i=q(a));)c+=i+o[++s],p=!0;s!==r&&l.push(a),n.push(c),s++}if(s===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Q.get(t))&&(n.raw=n,Q.set(t,o=n)),e=l}return t(o,...e)})(L);var ot;!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"}(ot||(ot={}));const et=t=>"string"==typeof t?e.unsafeCSS(t):t;class rt{static create(t,o,r,i){const a=t=>et(null!=t?t:i),n=e.css`var(${et(t)}, ${a(i)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${et(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${et(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${et(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):et(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${et(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(${et(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const it={colorWhite:rt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:rt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:rt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:rt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:rt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:rt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:rt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:rt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:rt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:rt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:rt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:rt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:rt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:rt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:rt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:rt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:rt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:rt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:rt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:rt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:rt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:rt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:rt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:rt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:rt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:rt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:rt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:rt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:rt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:rt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:rt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:rt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:rt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:rt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:rt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:rt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:rt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:rt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:rt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:rt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:rt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:rt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:rt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:rt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:rt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:rt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:rt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:rt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:rt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:rt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:rt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:rt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:rt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:rt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:rt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:rt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:rt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:rt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:rt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:rt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:rt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:rt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:rt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:rt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:rt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:rt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:rt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:rt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:rt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:rt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:rt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:rt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:rt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:rt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:rt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:rt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:rt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:rt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:rt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:rt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:rt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:rt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:rt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:rt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:rt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:rt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:rt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:rt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:rt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:rt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:rt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:rt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:rt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:rt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:rt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:rt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:rt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:rt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:rt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:rt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:rt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:rt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:rt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:rt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:rt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:rt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:rt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:rt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:rt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:rt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:rt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:rt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:rt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:rt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:rt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:rt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:rt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:rt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:rt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:rt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:rt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:rt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:rt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:rt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:rt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:rt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:rt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:rt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:rt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:rt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:rt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:rt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:rt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:rt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:rt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:rt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:rt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:rt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:rt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:rt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:rt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:rt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:rt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:rt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:rt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:rt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:rt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:rt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:rt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:rt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:rt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:rt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:rt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:rt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:rt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:rt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:rt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:rt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:rt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:rt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:rt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:rt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:rt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:rt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:rt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:rt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:rt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:rt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:rt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:rt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:rt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:rt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:rt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:rt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:rt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:rt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:rt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:rt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:rt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:rt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:rt.create("--ft-opacity-0","","NUMBER","0"),opacity8:rt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:rt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:rt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:rt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:rt.create("--ft-opacity-80","","NUMBER","0.8")},at={display:{fontFamily:rt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:rt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:rt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:rt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:rt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:rt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:rt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:rt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:rt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:rt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:rt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:rt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:rt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:rt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:rt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:rt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:rt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:rt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:rt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:rt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:rt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:rt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:rt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:rt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:rt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:rt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:rt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:rt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:rt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:rt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:rt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:rt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:rt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:rt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:rt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:rt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:rt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:rt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:rt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:rt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:rt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:rt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:rt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:rt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:rt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:rt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},nt={backgroundActionPrimary:rt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",it.colorBrand0),backgroundErrorPrimary:rt.extend("--ft-background-error-primary","Used as background of error components.",it.colorRed0),backgroundErrorSubtle:rt.extend("--ft-background-error-subtle","Used as background of subtle error components.",it.colorRed10),backgroundInfoPrimary:rt.extend("--ft-background-info-primary","Used as background of information components.",it.colorCyan200),backgroundInfoSubtle:rt.extend("--ft-background-info-subtle","Used as background of subtle information components.",it.colorCyan10),backgroundWarningPrimary:rt.extend("--ft-background-warning-primary","Used as background of warning components.",it.colorOrange300),backgroundWarningSubtle:rt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",it.colorOrange10),backgroundSuccessPrimary:rt.extend("--ft-background-success-primary","Used as background of success components.",it.colorGreen200),backgroundSuccessSubtle:rt.extend("--ft-background-success-subtle","Used as background of subtle success components.",it.colorGreen10),backgroundGlobalSurface:rt.extend("--ft-background-global-surface","Used as app background.",it.colorWhite),backgroundGlobalOnSurface:rt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",it.colorGray10),backgroundGlobalOnSurfaceDark:rt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",it.colorGray30),contentActionPrimary:rt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",it.colorBrand0),contentWarningPrimary:rt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",it.colorOrange300),contentWarningIconOnly:rt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",it.colorOrange0),contentErrorPrimary:rt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",it.colorRed0),contentErrorIconOnly:rt.extend("--ft-content-error-icon-only","Used on error status icons alone",it.colorRed0),contentInfoPrimary:rt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",it.colorCyan200),contentInfoIconOnly:rt.extend("--ft-content-info-icon-only","Used on info status icons alone",it.colorCyan0),contentSuccessIconOnly:rt.extend("--ft-content-success-icon-only","Used on success status icons alone",it.colorGreen0),contentSuccessPrimary:rt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",it.colorGreen200),contentGlobalPrimary:rt.extend("--ft-content-global-primary","Used for main content on the page.",it.colorGray500),contentGlobalSecondary:rt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",it.colorGray200),contentGlobalSubtle:rt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",it.colorGray0),contentGlobalOnColor:rt.extend("--ft-content-global-on-color","Used for content on a dominant color.",it.colorWhite),borderActionPrimary:rt.extend("--ft-border-action-primary","Used as border for primary action components.",it.colorBrand0),borderActionFocusRing:rt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",it.colorCyan0),borderWarningPrimary:rt.extend("--ft-border-warning-primary","Used as border for warning components.",it.colorOrange30),borderSuccessPrimary:rt.extend("--ft-border-success-primary","Used as border for success components.",it.colorGreen30),borderErrorPrimary:rt.extend("--ft-border-error-primary","Used as border for error components.",it.colorRed30),borderInfoPrimary:rt.extend("--ft-border-info-primary","Used as border for information components.",it.colorCyan30),borderGlobalSubtle:rt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",it.colorGray30),borderGlobalPrimary:rt.extend("--ft-border-global-primary","Used as border for element like input.",it.colorGray50),borderInputPrimary:rt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",it.colorGray80)},lt={largeHeight:rt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:rt.extend("--ft-button-large-horizontal-padding","",it.spacing4),largeGap:rt.extend("--ft-button-large-gap","",it.spacing2),largeBorderRadius:rt.extend("--ft-button-large-border-radius","",it.borderRadiusS),largeIconSize:rt.extend("--ft-button-large-icon-size","",it.iconSize3),largeBorderWidth:rt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:rt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:rt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:rt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:rt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:rt.extend("--ft-button-small-horizontal-padding","",it.spacing3),smallGap:rt.extend("--ft-button-small-gap","",it.spacing2),smallBorderRadius:rt.extend("--ft-button-small-border-radius","",it.borderRadiusS),smallIconSize:rt.extend("--ft-button-small-icon-size","",it.iconSize2),smallBorderWidth:rt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:rt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:rt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:rt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:rt.extend("--ft-button-primary-background-color","",nt.backgroundActionPrimary),primaryColor:rt.extend("--ft-button-primary-color","",nt.contentGlobalOnColor),primaryIconColor:rt.extend("--ft-button-primary-icon-color","",nt.contentGlobalOnColor),primaryStateLayerColor:rt.extend("--ft-button-primary-state-layer-color","",nt.contentGlobalOnColor),primaryStateLayerOpacityHover:rt.extend("--ft-button-primary-state-layer-opacity-hover","",it.opacity16),primaryStateLayerOpacityFocus:rt.extend("--ft-button-primary-state-layer-opacity-focus","",it.opacity16),primaryStateLayerOpacityActive:rt.extend("--ft-button-primary-state-layer-opacity-active","",it.opacity24),primaryComponentOpacityDisabled:rt.extend("--ft-button-primary-component-opacity-disabled","",it.opacity40),focusFocusRingColor:rt.extend("--ft-button-focus-focus-ring-color","",nt.borderActionFocusRing),tertiaryBackgroundColor:rt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:rt.extend("--ft-button-tertiary-color","",nt.contentActionPrimary),tertiaryIconColor:rt.extend("--ft-button-tertiary-icon-color","",nt.contentActionPrimary),tertiaryStateLayerColor:rt.extend("--ft-button-tertiary-state-layer-color","",nt.contentActionPrimary),tertiaryStateLayerOpacityHover:rt.extend("--ft-button-tertiary-state-layer-opacity-hover","",it.opacity8),tertiaryStateLayerOpacityFocus:rt.extend("--ft-button-tertiary-state-layer-opacity-focus","",it.opacity8),tertiaryStateLayerOpacityActive:rt.extend("--ft-button-tertiary-state-layer-opacity-active","",it.opacity16),tertiaryComponentOpacityDisabled:rt.extend("--ft-button-tertiary-component-opacity-disabled","",it.opacity40),secondaryBackgroundColor:rt.extend("--ft-button-secondary-background-color","",it.colorWhite),secondaryColor:rt.extend("--ft-button-secondary-color","",nt.contentActionPrimary),secondaryIconColor:rt.extend("--ft-button-secondary-icon-color","",nt.contentActionPrimary),secondaryStateLayerColor:rt.extend("--ft-button-secondary-state-layer-color","",nt.contentActionPrimary),secondaryStateLayerOpacityHover:rt.extend("--ft-button-secondary-state-layer-opacity-hover","",it.opacity8),secondaryStateLayerOpacityFocus:rt.extend("--ft-button-secondary-state-layer-opacity-focus","",it.opacity8),secondaryStateLayerOpacityActive:rt.extend("--ft-button-secondary-state-layer-opacity-active","",it.opacity16),secondaryComponentOpacityDisabled:rt.extend("--ft-button-secondary-component-opacity-disabled","",it.opacity40),secondaryBorderColor:rt.extend("--ft-button-secondary-border-color","",nt.borderActionPrimary),neutralBackgroundColor:rt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:rt.extend("--ft-button-neutral-icon-color","",nt.contentGlobalSecondary),neutralColor:rt.extend("--ft-button-neutral-color","",nt.contentGlobalSecondary),neutralStateLayerColor:rt.extend("--ft-button-neutral-state-layer-color","",nt.contentGlobalSecondary),neutralStateLayerOpacityHover:rt.extend("--ft-button-neutral-state-layer-opacity-hover","",it.opacity8),neutralStateLayerOpacityFocus:rt.extend("--ft-button-neutral-state-layer-opacity-focus","",it.opacity8),neutralStateLayerOpacityActive:rt.extend("--ft-button-neutral-state-layer-opacity-active","",it.opacity16),neutralComponentOpacityDisabled:rt.extend("--ft-button-neutral-component-opacity-disabled","",it.opacity40)};rt.extend("--ft-tabs-top-left-border-radius","",it.borderRadiusS),rt.extend("--ft-tabs-top-right-border-radius","",it.borderRadiusS),rt.extend("--ft-tabs-label-horizontal-padding","",it.spacing4),rt.extend("--ft-tabs-label-vertical-padding","",it.spacing3),rt.extend("--ft-tabs-label-gap","",it.spacing1),rt.extend("--ft-switch-group-horizontal-padding","",it.spacing1),rt.extend("--ft-switch-group-vertical-padding","",it.spacing1),rt.extend("--ft-switch-group-gap","",it.spacing1),rt.extend("--ft-switch-group-background-color","",nt.backgroundGlobalSurface),rt.extend("--ft-switch-group-border-color","",nt.borderGlobalSubtle),rt.create("--ft-switch-group-border-radius","","SIZE","6px"),rt.extend("--ft-switch-label-horizontal-padding","",it.spacing2),rt.extend("--ft-switch-label-vertical-padding","",it.spacing1),rt.extend("--ft-switch-icon-horizontal-padding","",it.spacing1),rt.extend("--ft-switch-icon-vertical-padding","",it.spacing1),rt.create("--ft-switch-focus-outline-width","","SIZE","2px"),rt.extend("--ft-switch-focus-focus-ring-color","",nt.borderActionFocusRing),rt.extend("--ft-switch-option-border-radius","",it.borderRadiusS),rt.extend("--ft-switch-off-state-layer-opacity-hover","",it.opacity8),rt.extend("--ft-switch-off-state-layer-opacity-focus","",it.opacity8),rt.extend("--ft-switch-off-state-layer-opacity-active","",it.opacity16),rt.extend("--ft-switch-off-component-opacity-disabled","",it.opacity40),rt.extend("--ft-switch-off-color","",nt.contentGlobalSubtle),rt.extend("--ft-switch-off-state-layer-color","",nt.contentGlobalSubtle),rt.extend("--ft-chart-1-light","for area color charts",it.colorBrand40),rt.extend("--ft-chart-1-base","for line charts",it.colorBrand0),rt.extend("--ft-chart-2-light","for area color charts",it.colorYellow60),rt.extend("--ft-chart-2-base","for line charts",it.colorYellow100),rt.extend("--ft-chart-3-light","",it.colorUltramarine40),rt.extend("--ft-chart-3-base","",it.colorUltramarine70),rt.extend("--ft-chart-4-light","",it.colorCyan50),rt.extend("--ft-chart-4-base","",it.colorCyan100),rt.extend("--ft-chart-5-light","",it.colorRed40),rt.extend("--ft-chart-5-base","",it.colorRed60),rt.extend("--ft-chart-6-light","",it.colorGreen40),rt.extend("--ft-chart-6-base","",it.colorGreen70),rt.extend("--ft-chart-7-light","",it.colorOrange70),rt.extend("--ft-chart-7-base","",it.colorOrange100),rt.extend("--ft-chart-8-light","",it.colorAvocado70),rt.extend("--ft-chart-8-base","",it.colorAvocado200),rt.extend("--ft-chart-9-light","",it.colorBrown50),rt.extend("--ft-chart-9-base","",it.colorBrown200),rt.extend("--ft-chart-10-light","",it.colorGray50),rt.extend("--ft-chart-10-base","",it.colorGray80),rt.extend("--ft-chart-monochrome-10","",it.colorBrand10),rt.extend("--ft-chart-monochrome-20","",it.colorBrand20),rt.extend("--ft-chart-monochrome-30","",it.colorBrand40),rt.extend("--ft-chart-monochrome-40","",it.colorBrand60),rt.extend("--ft-chart-monochrome-50","",it.colorBrand0),rt.extend("--ft-chart-monochrome-60","",it.colorBrand200),rt.extend("--ft-chip-large-horizontal-padding","",it.spacing4),rt.extend("--ft-chip-large-vertical-padding","",it.spacing2),rt.extend("--ft-chip-large-gap","",it.spacing1),rt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),rt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),rt.extend("--ft-chip-large-border-radius","",it.borderRadiusPill),rt.create("--ft-chip-large-border-width","","SIZE","1px"),rt.extend("--ft-chip-large-icon-size","",it.iconSize3),rt.extend("--ft-chip-medium-horizontal-padding","",it.spacing3),rt.extend("--ft-chip-medium-vertical-padding","",it.spacing1),rt.extend("--ft-chip-medium-gap","",it.spacing1),rt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),rt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),rt.extend("--ft-chip-medium-border-radius","",it.borderRadiusPill),rt.create("--ft-chip-medium-border-width","","SIZE","1px"),rt.extend("--ft-chip-medium-icon-size","",it.iconSize2),rt.extend("--ft-chip-small-horizontal-padding","",it.spacing2),rt.extend("--ft-chip-small-vertical-padding","",it.spacing05),rt.extend("--ft-chip-small-gap","",it.spacing1),rt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),rt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),rt.extend("--ft-chip-small-border-radius","",it.borderRadiusPill),rt.create("--ft-chip-small-border-width","","SIZE","1px"),rt.extend("--ft-chip-small-icon-size","",it.iconSize1),rt.extend("--ft-chip-neutral-background-color","",nt.backgroundGlobalOnSurface),rt.extend("--ft-chip-neutral-color","",nt.contentGlobalPrimary),rt.extend("--ft-chip-neutral-border-color","",nt.borderGlobalSubtle),rt.extend("--ft-chip-info-background-color","",nt.backgroundInfoSubtle),rt.extend("--ft-chip-info-color","",nt.contentInfoPrimary),rt.extend("--ft-chip-info-border-color","",nt.borderInfoPrimary),rt.extend("--ft-chip-success-background-color","",nt.backgroundSuccessSubtle),rt.extend("--ft-chip-success-color","",nt.contentSuccessPrimary),rt.extend("--ft-chip-success-border-color","",nt.borderSuccessPrimary),rt.extend("--ft-chip-warning-background-color","",nt.backgroundWarningSubtle),rt.extend("--ft-chip-warning-color","",nt.contentWarningPrimary),rt.extend("--ft-chip-warning-border-color","",nt.borderWarningPrimary),rt.extend("--ft-chip-error-background-color","",nt.backgroundErrorSubtle),rt.extend("--ft-chip-error-color","",nt.contentErrorPrimary),rt.extend("--ft-chip-error-border-color","",nt.borderErrorPrimary),rt.create("--ft-notice-border-width","","SIZE","1px"),rt.extend("--ft-notice-horizontal-padding","",it.spacing2),rt.extend("--ft-notice-vertical-padding","",it.spacing1),rt.extend("--ft-notice-border-radius","",it.borderRadiusS),rt.extend("--ft-notice-gap","",it.spacing2),rt.extend("--ft-notice-icon-size","",it.iconSize3),rt.extend("--ft-notice-info-background-color","",nt.backgroundInfoSubtle),rt.extend("--ft-notice-info-border-color","",nt.borderInfoPrimary),rt.extend("--ft-notice-info-color","",nt.contentInfoPrimary),rt.extend("--ft-notice-warning-background-color","",nt.backgroundWarningSubtle),rt.extend("--ft-notice-warning-border-color","",nt.borderWarningPrimary),rt.extend("--ft-notice-warning-color","",nt.contentWarningPrimary),rt.extend("--ft-checkbox-label-color","",nt.contentGlobalPrimary),rt.extend("--ft-checkbox-checked-background-color","",nt.contentActionPrimary),rt.extend("--ft-checkbox-checked-state-layer-color","",nt.contentActionPrimary),rt.extend("--ft-checkbox-checked-color","",nt.contentGlobalOnColor),rt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-checkbox-checked-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-checkbox-checked-component-opacity-disabled","",it.opacity40),rt.extend("--ft-checkbox-unchecked-border-color","",it.colorGray80),rt.extend("--ft-checkbox-unchecked-state-layer-color","",it.colorGray80),rt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",it.opacity40),rt.extend("--ft-checkbox-focus-focus-ring-color","",nt.borderActionFocusRing),rt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),rt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),rt.extend("--ft-checkbox-gap","",it.spacing3),rt.extend("--ft-toggle-off-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-toggle-off-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-toggle-off-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-toggle-off-component-opacity-disabled","",it.opacity40),rt.extend("--ft-toggle-off-background-color","",nt.contentGlobalSubtle),rt.extend("--ft-toggle-off-icon-color","",nt.contentGlobalSubtle),rt.extend("--ft-toggle-off-state-layer-color","",nt.contentGlobalSubtle),rt.extend("--ft-toggle-on-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-toggle-on-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-toggle-on-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-toggle-on-component-opacity-disabled","",it.opacity40),rt.extend("--ft-toggle-on-background-color","",nt.contentActionPrimary),rt.extend("--ft-toggle-on-icon-color","",nt.contentActionPrimary),rt.extend("--ft-toggle-on-state-layer-color","",nt.contentActionPrimary),rt.extend("--ft-toggle-label-color","",nt.contentGlobalPrimary),rt.extend("--ft-toggle-focus-focus-ring-color","",nt.borderActionFocusRing),rt.extend("--ft-toggle-gap","",it.spacing3),rt.extend("--ft-radio-label-color","",nt.contentGlobalPrimary),rt.extend("--ft-radio-selected-color","",nt.contentActionPrimary),rt.extend("--ft-radio-selected-state-layer-color","",nt.contentActionPrimary),rt.extend("--ft-radio-selected-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-radio-selected-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-radio-selected-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-radio-selected-component-opacity-disabled","",it.opacity40),rt.extend("--ft-radio-unselected-state-layer-color","",it.colorGray80),rt.extend("--ft-radio-unselected-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-radio-unselected-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-radio-unselected-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-radio-unselected-component-opacity-disabled","",it.opacity40),rt.extend("--ft-radio-focus-focus-ring-color","",nt.borderActionFocusRing),rt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),rt.create("--ft-radio-focus-outline-width","","SIZE","2px"),rt.extend("--ft-radio-gap","",it.spacing3),rt.extend("--ft-notification-icon-size","",it.iconSize4),rt.extend("--ft-notification-horizontal-padding","",it.spacing4),rt.extend("--ft-notification-vertical-padding","",it.spacing4),rt.extend("--ft-notification-info-background-color","",nt.backgroundInfoSubtle),rt.extend("--ft-notification-info-color","",nt.contentInfoPrimary),rt.extend("--ft-notification-info-border-color","",nt.borderInfoPrimary),rt.extend("--ft-notification-success-background-color","",nt.backgroundSuccessSubtle),rt.extend("--ft-notification-success-color","",nt.contentSuccessPrimary),rt.extend("--ft-notification-success-border-color","",nt.borderSuccessPrimary),rt.extend("--ft-notification-warning-background-color","",nt.backgroundWarningSubtle),rt.extend("--ft-notification-warning-color","",nt.contentWarningPrimary),rt.extend("--ft-notification-warning-border-color","",nt.borderWarningPrimary),rt.extend("--ft-notification-error-background-color","",nt.backgroundErrorSubtle),rt.extend("--ft-notification-error-color","",nt.contentErrorPrimary),rt.extend("--ft-notification-error-border-color","",nt.borderErrorPrimary),rt.extend("--ft-notification-border-radius","",it.borderRadiusPill),rt.create("--ft-notification-border-width","","SIZE","1px"),rt.extend("--ft-notification-gap-leading","",it.spacing2),rt.extend("--ft-notification-gap-trailing","",it.spacing8);const ct=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),pt={fontFamily:st,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")},ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ct),dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",pt.fontSize,"20px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",pt.fontWeight,"normal"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",pt.letterSpacing,"0.15px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",pt.lineHeight,"1.2"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",pt.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ct),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",pt.fontSize,"14px"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",pt.fontWeight,"normal"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",pt.letterSpacing,"0.105px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",pt.lineHeight,"1.7"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",pt.textTransform,"inherit"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",st),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",pt.fontSize,"16px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",pt.fontWeight,"600"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",pt.letterSpacing,"0.144px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",pt.lineHeight,"1.5"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",pt.textTransform,"inherit"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",st),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",pt.fontSize,"14px"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",pt.fontWeight,"normal"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",pt.letterSpacing,"0.098px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",pt.lineHeight,"1.7"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",pt.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",st),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",pt.fontSize,"16px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",pt.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",pt.letterSpacing,"0.496px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",pt.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",pt.textTransform,"inherit"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",st),Gt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",pt.fontSize,"14px"),jt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",pt.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",pt.letterSpacing,"0.252px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",pt.lineHeight,"1.4"),Mt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",pt.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",st),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",pt.fontSize,"12px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",pt.fontWeight,"normal"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",pt.letterSpacing,"0.396px"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",pt.lineHeight,"1.33"),Jt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",pt.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",st),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",pt.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",pt.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",pt.letterSpacing,"0.33px"),ro=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",pt.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",pt.textTransform,"inherit"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",st),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",pt.fontSize,"10px"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",pt.fontWeight,"normal"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",pt.letterSpacing,"1.5px"),so=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",pt.lineHeight,"1.6"),po=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",pt.textTransform,"uppercase"),fo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",st),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",pt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",pt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",pt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",pt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",pt.textTransform,"uppercase")},ho=e.css`
|
|
12
|
+
const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litStatic$:t,r:V}),J=new Map,Q=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(a=e[s],i=X(a));)c+=i+o[++s],p=!0;s!==r&&l.push(a),n.push(c),s++}if(s===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=J.get(t))&&(n.raw=n,J.set(t,o=n)),e=l}return t(o,...e)})(W);var tt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(tt||(tt={}));const ot=t=>"string"==typeof t?e.unsafeCSS(t):t;class et{static create(t,o,r,i){const a=t=>ot(null!=t?t:i),n=e.css`var(${ot(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${ot(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${ot(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${ot(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ot(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${ot(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${ot(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const rt={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8")},it={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},at={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",rt.colorBrand0),backgroundErrorPrimary:et.extend("--ft-background-error-primary","Used as background of error components.",rt.colorRed0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",rt.colorRed10),backgroundInfoPrimary:et.extend("--ft-background-info-primary","Used as background of information components.",rt.colorCyan200),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",rt.colorCyan10),backgroundWarningPrimary:et.extend("--ft-background-warning-primary","Used as background of warning components.",rt.colorOrange300),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",rt.colorOrange10),backgroundSuccessPrimary:et.extend("--ft-background-success-primary","Used as background of success components.",rt.colorGreen200),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",rt.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",rt.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",rt.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",rt.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",rt.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",rt.colorOrange300),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",rt.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",rt.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",rt.colorRed0),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",rt.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",rt.colorCyan0),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",rt.colorGreen0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",rt.colorGreen200),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",rt.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",rt.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",rt.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",rt.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",rt.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",rt.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for warning components.",rt.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success components.",rt.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for error components.",rt.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for information components.",rt.colorCyan30),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",rt.colorGray30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",rt.colorGray50),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",rt.colorGray80)},nt={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",rt.spacing4),largeGap:et.extend("--ft-button-large-gap","",rt.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",rt.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",rt.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",rt.spacing3),smallGap:et.extend("--ft-button-small-gap","",rt.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",rt.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",rt.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",at.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",at.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",at.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",at.contentGlobalOnColor),primaryStateLayerOpacityHover:et.extend("--ft-button-primary-state-layer-opacity-hover","",rt.opacity16),primaryStateLayerOpacityFocus:et.extend("--ft-button-primary-state-layer-opacity-focus","",rt.opacity16),primaryStateLayerOpacityActive:et.extend("--ft-button-primary-state-layer-opacity-active","",rt.opacity24),primaryComponentOpacityDisabled:et.extend("--ft-button-primary-component-opacity-disabled","",rt.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",at.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",at.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",at.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",at.contentActionPrimary),tertiaryStateLayerOpacityHover:et.extend("--ft-button-tertiary-state-layer-opacity-hover","",rt.opacity8),tertiaryStateLayerOpacityFocus:et.extend("--ft-button-tertiary-state-layer-opacity-focus","",rt.opacity8),tertiaryStateLayerOpacityActive:et.extend("--ft-button-tertiary-state-layer-opacity-active","",rt.opacity16),tertiaryComponentOpacityDisabled:et.extend("--ft-button-tertiary-component-opacity-disabled","",rt.opacity40),secondaryBackgroundColor:et.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:et.extend("--ft-button-secondary-color","",at.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",at.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",at.contentActionPrimary),secondaryStateLayerOpacityHover:et.extend("--ft-button-secondary-state-layer-opacity-hover","",rt.opacity8),secondaryStateLayerOpacityFocus:et.extend("--ft-button-secondary-state-layer-opacity-focus","",rt.opacity8),secondaryStateLayerOpacityActive:et.extend("--ft-button-secondary-state-layer-opacity-active","",rt.opacity16),secondaryComponentOpacityDisabled:et.extend("--ft-button-secondary-component-opacity-disabled","",rt.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",at.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",at.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",at.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",at.contentGlobalSecondary),neutralStateLayerOpacityHover:et.extend("--ft-button-neutral-state-layer-opacity-hover","",rt.opacity8),neutralStateLayerOpacityFocus:et.extend("--ft-button-neutral-state-layer-opacity-focus","",rt.opacity8),neutralStateLayerOpacityActive:et.extend("--ft-button-neutral-state-layer-opacity-active","",rt.opacity16),neutralComponentOpacityDisabled:et.extend("--ft-button-neutral-component-opacity-disabled","",rt.opacity40)};et.extend("--ft-tabs-top-left-border-radius","",rt.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",rt.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",rt.spacing4),et.extend("--ft-tabs-label-vertical-padding","",rt.spacing3),et.extend("--ft-tabs-label-gap","",rt.spacing1),et.extend("--ft-switch-group-horizontal-padding","",rt.spacing1),et.extend("--ft-switch-group-vertical-padding","",rt.spacing1),et.extend("--ft-switch-group-gap","",rt.spacing1),et.extend("--ft-switch-group-background-color","",at.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",at.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",rt.spacing2),et.extend("--ft-switch-label-vertical-padding","",rt.spacing1),et.extend("--ft-switch-icon-horizontal-padding","",rt.spacing1),et.extend("--ft-switch-icon-vertical-padding","",rt.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",at.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",rt.borderRadiusS),et.extend("--ft-switch-off-state-layer-opacity-hover","",rt.opacity8),et.extend("--ft-switch-off-state-layer-opacity-focus","",rt.opacity8),et.extend("--ft-switch-off-state-layer-opacity-active","",rt.opacity16),et.extend("--ft-switch-off-component-opacity-disabled","",rt.opacity40),et.extend("--ft-switch-off-color","",at.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",at.contentGlobalSubtle),et.extend("--ft-chart-1-light","for area color charts",rt.colorBrand40),et.extend("--ft-chart-1-base","for line charts",rt.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",rt.colorYellow60),et.extend("--ft-chart-2-base","for line charts",rt.colorYellow100),et.extend("--ft-chart-3-light","",rt.colorUltramarine40),et.extend("--ft-chart-3-base","",rt.colorUltramarine70),et.extend("--ft-chart-4-light","",rt.colorCyan50),et.extend("--ft-chart-4-base","",rt.colorCyan100),et.extend("--ft-chart-5-light","",rt.colorRed40),et.extend("--ft-chart-5-base","",rt.colorRed60),et.extend("--ft-chart-6-light","",rt.colorGreen40),et.extend("--ft-chart-6-base","",rt.colorGreen70),et.extend("--ft-chart-7-light","",rt.colorOrange70),et.extend("--ft-chart-7-base","",rt.colorOrange100),et.extend("--ft-chart-8-light","",rt.colorAvocado70),et.extend("--ft-chart-8-base","",rt.colorAvocado200),et.extend("--ft-chart-9-light","",rt.colorBrown50),et.extend("--ft-chart-9-base","",rt.colorBrown200),et.extend("--ft-chart-10-light","",rt.colorGray50),et.extend("--ft-chart-10-base","",rt.colorGray80),et.extend("--ft-chart-monochrome-10","",rt.colorBrand10),et.extend("--ft-chart-monochrome-20","",rt.colorBrand20),et.extend("--ft-chart-monochrome-30","",rt.colorBrand40),et.extend("--ft-chart-monochrome-40","",rt.colorBrand60),et.extend("--ft-chart-monochrome-50","",rt.colorBrand0),et.extend("--ft-chart-monochrome-60","",rt.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",rt.spacing4),et.extend("--ft-chip-large-vertical-padding","",rt.spacing2),et.extend("--ft-chip-large-gap","",rt.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",rt.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",rt.spacing3),et.extend("--ft-chip-medium-vertical-padding","",rt.spacing1),et.extend("--ft-chip-medium-gap","",rt.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",rt.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",rt.spacing2),et.extend("--ft-chip-small-vertical-padding","",rt.spacing05),et.extend("--ft-chip-small-gap","",rt.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",rt.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",rt.iconSize1),et.extend("--ft-chip-neutral-background-color","",at.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",at.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",at.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",at.contentInfoPrimary),et.extend("--ft-chip-info-border-color","",at.borderInfoPrimary),et.extend("--ft-chip-success-background-color","",at.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",at.contentSuccessPrimary),et.extend("--ft-chip-success-border-color","",at.borderSuccessPrimary),et.extend("--ft-chip-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",at.contentWarningPrimary),et.extend("--ft-chip-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-chip-error-background-color","",at.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",at.contentErrorPrimary),et.extend("--ft-chip-error-border-color","",at.borderErrorPrimary),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",rt.spacing2),et.extend("--ft-notice-vertical-padding","",rt.spacing1),et.extend("--ft-notice-border-radius","",rt.borderRadiusS),et.extend("--ft-notice-gap","",rt.spacing2),et.extend("--ft-notice-icon-size","",rt.iconSize3),et.extend("--ft-notice-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",at.borderInfoPrimary),et.extend("--ft-notice-info-color","",at.contentInfoPrimary),et.extend("--ft-notice-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-notice-warning-color","",at.contentWarningPrimary),et.extend("--ft-checkbox-label-color","",at.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",at.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",at.contentActionPrimary),et.extend("--ft-checkbox-checked-color","",at.contentGlobalOnColor),et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-checkbox-checked-component-opacity-disabled","",rt.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",rt.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",rt.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",rt.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",at.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",rt.spacing3),et.extend("--ft-toggle-off-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-toggle-off-component-opacity-disabled","",rt.opacity40),et.extend("--ft-toggle-off-background-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",at.contentGlobalSubtle),et.extend("--ft-toggle-on-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-toggle-on-component-opacity-disabled","",rt.opacity40),et.extend("--ft-toggle-on-background-color","",at.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",at.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",at.contentActionPrimary),et.extend("--ft-toggle-label-color","",at.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",at.borderActionFocusRing),et.extend("--ft-toggle-gap","",rt.spacing3),et.extend("--ft-radio-label-color","",at.contentGlobalPrimary),et.extend("--ft-radio-selected-color","",at.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",at.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-radio-selected-component-opacity-disabled","",rt.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",rt.colorGray80),et.extend("--ft-radio-unselected-state-layer-opacity-hover","",rt.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-focus","",rt.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-active","",rt.opacity24),et.extend("--ft-radio-unselected-component-opacity-disabled","",rt.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",at.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",rt.spacing3),et.extend("--ft-notification-icon-size","",rt.iconSize4),et.extend("--ft-notification-horizontal-padding","",rt.spacing4),et.extend("--ft-notification-vertical-padding","",rt.spacing4),et.extend("--ft-notification-info-background-color","",at.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",at.contentInfoPrimary),et.extend("--ft-notification-info-border-color","",at.borderInfoPrimary),et.extend("--ft-notification-success-background-color","",at.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",at.contentSuccessPrimary),et.extend("--ft-notification-success-border-color","",at.borderSuccessPrimary),et.extend("--ft-notification-warning-background-color","",at.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",at.contentWarningPrimary),et.extend("--ft-notification-warning-border-color","",at.borderWarningPrimary),et.extend("--ft-notification-error-background-color","",at.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",at.contentErrorPrimary),et.extend("--ft-notification-error-border-color","",at.borderErrorPrimary),et.extend("--ft-notification-border-radius","",rt.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-gap-leading","",rt.spacing2),et.extend("--ft-notification-gap-trailing","",rt.spacing8);const lt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ct=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),st={fontFamily:ct,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},pt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",lt),ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",st.fontSize,"20px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",st.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",st.letterSpacing,"0.15px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",lt),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",st.lineHeight,"1.7"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",st.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ct),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",st.fontSize,"16px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",st.fontWeight,"600"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ct),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",st.textTransform,"inherit"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ct),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",st.fontSize,"16px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",st.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",st.letterSpacing,"0.496px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",st.lineHeight,"1.5"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",st.textTransform,"inherit"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ct),Ht=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",st.fontSize,"14px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",st.fontWeight,"normal"),jt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",st.textTransform,"inherit"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ct),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",st.fontSize,"12px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",st.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",st.letterSpacing,"0.396px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",st.lineHeight,"1.33"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",st.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ct),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",st.fontSize,"10px"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",st.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",st.letterSpacing,"0.33px"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",st.lineHeight,"1.6"),ro=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",st.textTransform,"inherit"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ct),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",st.fontSize,"10px"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",st.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",st.letterSpacing,"1.5px"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",st.lineHeight,"1.6"),so=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",st.textTransform,"uppercase"),po={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",st.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",st.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",st.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",st.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",st.textTransform,"uppercase")},fo=e.css`
|
|
13
13
|
.ft-typography--title {
|
|
14
|
-
font-family: ${
|
|
15
|
-
font-size: ${
|
|
16
|
-
font-weight: ${
|
|
17
|
-
letter-spacing: ${
|
|
18
|
-
line-height: ${
|
|
19
|
-
text-transform: ${
|
|
20
|
-
}
|
|
21
|
-
`,
|
|
14
|
+
font-family: ${pt};
|
|
15
|
+
font-size: ${ft};
|
|
16
|
+
font-weight: ${dt};
|
|
17
|
+
letter-spacing: ${ht};
|
|
18
|
+
line-height: ${gt};
|
|
19
|
+
text-transform: ${yt};
|
|
20
|
+
}
|
|
21
|
+
`,ho=e.css`
|
|
22
22
|
.ft-typography--title-dense {
|
|
23
23
|
font-family: ${bt};
|
|
24
|
-
font-size: ${
|
|
25
|
-
font-weight: ${
|
|
26
|
-
letter-spacing: ${
|
|
27
|
-
line-height: ${
|
|
28
|
-
text-transform: ${
|
|
24
|
+
font-size: ${ut};
|
|
25
|
+
font-weight: ${mt};
|
|
26
|
+
letter-spacing: ${xt};
|
|
27
|
+
line-height: ${Ot};
|
|
28
|
+
text-transform: ${vt};
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,go=e.css`
|
|
31
31
|
.ft-typography--subtitle1 {
|
|
32
|
-
font-family: ${
|
|
33
|
-
font-size: ${
|
|
34
|
-
font-weight: ${
|
|
35
|
-
letter-spacing: ${
|
|
36
|
-
line-height: ${
|
|
37
|
-
text-transform: ${
|
|
32
|
+
font-family: ${Nt};
|
|
33
|
+
font-size: ${St};
|
|
34
|
+
font-weight: ${Ct};
|
|
35
|
+
letter-spacing: ${$t};
|
|
36
|
+
line-height: ${wt};
|
|
37
|
+
text-transform: ${It};
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
39
|
+
`,yo=e.css`
|
|
40
40
|
.ft-typography--subtitle2 {
|
|
41
|
-
font-family: ${
|
|
42
|
-
font-size: ${
|
|
43
|
-
font-weight: ${
|
|
44
|
-
letter-spacing: ${
|
|
45
|
-
line-height: ${
|
|
46
|
-
text-transform: ${
|
|
41
|
+
font-family: ${kt};
|
|
42
|
+
font-size: ${Rt};
|
|
43
|
+
font-weight: ${Ut};
|
|
44
|
+
letter-spacing: ${Et};
|
|
45
|
+
line-height: ${Wt};
|
|
46
|
+
text-transform: ${Lt};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
`,bo=e.css`
|
|
50
50
|
.ft-typography--body1 {
|
|
51
|
-
font-family: ${
|
|
52
|
-
font-size: ${
|
|
53
|
-
font-weight: ${
|
|
54
|
-
letter-spacing: ${
|
|
55
|
-
line-height: ${
|
|
56
|
-
text-transform: ${
|
|
51
|
+
font-family: ${zt};
|
|
52
|
+
font-size: ${Kt};
|
|
53
|
+
font-weight: ${Zt};
|
|
54
|
+
letter-spacing: ${Bt};
|
|
55
|
+
line-height: ${Ft};
|
|
56
|
+
text-transform: ${At};
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
58
|
+
`,uo=e.css`
|
|
59
59
|
.ft-typography--body2 {
|
|
60
|
-
font-family: ${
|
|
61
|
-
font-size: ${
|
|
62
|
-
font-weight: ${
|
|
63
|
-
letter-spacing: ${
|
|
64
|
-
line-height: ${
|
|
65
|
-
text-transform: ${
|
|
60
|
+
font-family: ${Dt};
|
|
61
|
+
font-size: ${Ht};
|
|
62
|
+
font-weight: ${Gt};
|
|
63
|
+
letter-spacing: ${jt};
|
|
64
|
+
line-height: ${Pt};
|
|
65
|
+
text-transform: ${Tt};
|
|
66
66
|
}
|
|
67
|
-
`,
|
|
67
|
+
`,mo=e.css`
|
|
68
68
|
.ft-typography--caption {
|
|
69
|
-
font-family: ${
|
|
70
|
-
font-size: ${
|
|
71
|
-
font-weight: ${
|
|
72
|
-
letter-spacing: ${
|
|
73
|
-
line-height: ${
|
|
74
|
-
text-transform: ${
|
|
69
|
+
font-family: ${Mt};
|
|
70
|
+
font-size: ${_t};
|
|
71
|
+
font-weight: ${Yt};
|
|
72
|
+
letter-spacing: ${Vt};
|
|
73
|
+
line-height: ${Xt};
|
|
74
|
+
text-transform: ${qt};
|
|
75
75
|
}
|
|
76
|
-
`,
|
|
76
|
+
`,xo=e.css`
|
|
77
77
|
.ft-typography--breadcrumb {
|
|
78
|
-
font-family: ${
|
|
79
|
-
font-size: ${
|
|
80
|
-
font-weight: ${
|
|
81
|
-
letter-spacing: ${
|
|
82
|
-
line-height: ${
|
|
83
|
-
text-transform: ${
|
|
78
|
+
font-family: ${Jt};
|
|
79
|
+
font-size: ${Qt};
|
|
80
|
+
font-weight: ${to};
|
|
81
|
+
letter-spacing: ${oo};
|
|
82
|
+
line-height: ${eo};
|
|
83
|
+
text-transform: ${ro};
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
85
|
+
`,Oo=e.css`
|
|
86
86
|
.ft-typography--overline {
|
|
87
|
-
font-family: ${
|
|
88
|
-
font-size: ${
|
|
89
|
-
font-weight: ${
|
|
90
|
-
letter-spacing: ${
|
|
91
|
-
line-height: ${
|
|
92
|
-
text-transform: ${
|
|
87
|
+
font-family: ${io};
|
|
88
|
+
font-size: ${ao};
|
|
89
|
+
font-weight: ${no};
|
|
90
|
+
letter-spacing: ${lo};
|
|
91
|
+
line-height: ${co};
|
|
92
|
+
text-transform: ${so};
|
|
93
93
|
}
|
|
94
|
-
`,
|
|
94
|
+
`,vo=e.css`
|
|
95
95
|
.ft-typography--button {
|
|
96
|
-
font-family: ${
|
|
97
|
-
font-size: ${
|
|
98
|
-
font-weight: ${
|
|
99
|
-
letter-spacing: ${
|
|
100
|
-
line-height: ${
|
|
101
|
-
text-transform: ${
|
|
102
|
-
}
|
|
103
|
-
`,
|
|
96
|
+
font-family: ${po.fontFamily};
|
|
97
|
+
font-size: ${po.fontSize};
|
|
98
|
+
font-weight: ${po.fontWeight};
|
|
99
|
+
letter-spacing: ${po.letterSpacing};
|
|
100
|
+
line-height: ${po.lineHeight};
|
|
101
|
+
text-transform: ${po.textTransform};
|
|
102
|
+
}
|
|
103
|
+
`,No=e.css`
|
|
104
104
|
.ft-typography {
|
|
105
105
|
vertical-align: inherit;
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
107
|
+
`,So=[Object.keys(it).map((t=>function(t){const o=it[t];return e.css`
|
|
108
108
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
109
109
|
font-family: ${o.fontFamily};
|
|
110
110
|
font-size: ${o.fontSize};
|
|
@@ -113,33 +113,33 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
113
113
|
line-height: ${o.lineHeight};
|
|
114
114
|
text-transform: ${o.textCase};
|
|
115
115
|
}
|
|
116
|
-
`}(t)))];var
|
|
117
|
-
<${
|
|
116
|
+
`}(t)))];var Co=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class $o extends o.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?Q`
|
|
117
|
+
<${q(this.element)}
|
|
118
118
|
class="ft-typography ft-typography--${this.variant}">
|
|
119
119
|
<slot></slot>
|
|
120
|
-
</${
|
|
121
|
-
`:
|
|
120
|
+
</${q(this.element)}>
|
|
121
|
+
`:Q`
|
|
122
122
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
123
|
-
`}}
|
|
123
|
+
`}}$o.styles=[fo,ho,go,yo,bo,uo,mo,xo,Oo,vo,No,...So],Co([n.property()],$o.prototype,"element",void 0),Co([n.property()],$o.prototype,"variant",void 0),o.customElement("ft-typography")($o);const wo=o.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",o.designSystemVariables.colorPrimary),Io=e.css`
|
|
124
124
|
:host {
|
|
125
125
|
display: contents;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
a:focus {
|
|
129
|
-
outline-color: ${
|
|
129
|
+
outline-color: ${wo};
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.ft-reader-link--remove-style {
|
|
133
133
|
text-decoration: none;
|
|
134
134
|
color: inherit;
|
|
135
135
|
}
|
|
136
|
-
`;var Ro,Uo
|
|
136
|
+
`;var ko,Ro,Uo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Eo extends d{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=i.classMap({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return e.html`
|
|
137
137
|
<a class=${o}
|
|
138
138
|
href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
139
139
|
@click=${t=>this.onLinkClick(t)}>
|
|
140
140
|
<slot></slot>
|
|
141
141
|
</a>
|
|
142
|
-
`}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}
|
|
142
|
+
`}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Eo.styles=Io,Uo([n.property()],Eo.prototype,"tocId",void 0),Uo([n.property()],Eo.prototype,"section",void 0),Uo([n.property({type:Number})],Eo.prototype,"pageNumber",void 0),Uo([n.property({type:Boolean})],Eo.prototype,"removeStyle",void 0),o.customElement("ft-reader-internal-link")(Eo),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=""}(ko||(ko={})),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=""}(Ro||(Ro={})),new Map([...["abw"].map((t=>[t,Ro.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,Ro.AUDIO])),...["avi"].map((t=>[t,Ro.AVI])),...["chm","xhs"].map((t=>[t,Ro.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,Ro.CODE])),...["csv"].map((t=>[t,Ro.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ro.DITA])),...["epub"].map((t=>[t,Ro.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ro.EXCEL])),...["flac"].map((t=>[t,Ro.FLAC])),...["gif"].map((t=>[t,Ro.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ro.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ro.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,Ro.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ro.JPEG])),...["json"].map((t=>[t,Ro.JSON])),...["m4a","m4p"].map((t=>[t,Ro.M4A])),...["mov","qt"].map((t=>[t,Ro.MOV])),...["mp3"].map((t=>[t,Ro.MP3])),...["mp4","m4v"].map((t=>[t,Ro.MP4])),...["ogg","oga"].map((t=>[t,Ro.OGG])),...["pdf","ps"].map((t=>[t,Ro.PDF])),...["png"].map((t=>[t,Ro.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ro.POWERPOINT])),...["rar"].map((t=>[t,Ro.RAR])),...["stp"].map((t=>[t,Ro.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ro.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,Ro.VIDEO])),...["wav"].map((t=>[t,Ro.WAV])),...["wma"].map((t=>[t,Ro.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ro.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ro.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ro.YAML])),...["zip"].map((t=>[t,Ro.ZIP]))]);const Wo={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")},Lo=e.css`
|
|
143
143
|
:host, i.ft-icon {
|
|
144
144
|
display: inline-flex;
|
|
145
145
|
align-items: center;
|
|
@@ -148,14 +148,14 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
:host {
|
|
151
|
-
width: ${
|
|
152
|
-
height: ${
|
|
151
|
+
width: ${Wo.size};
|
|
152
|
+
height: ${Wo.size};
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
i.ft-icon {
|
|
156
156
|
width: 100%;
|
|
157
157
|
height: 100%;
|
|
158
|
-
font-size: ${
|
|
158
|
+
font-size: ${Wo.size};
|
|
159
159
|
line-height: 1;
|
|
160
160
|
font-weight: normal;
|
|
161
161
|
text-transform: none;
|
|
@@ -166,33 +166,33 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
166
166
|
text-rendering: auto;
|
|
167
167
|
-webkit-font-smoothing: antialiased;
|
|
168
168
|
-moz-osx-font-smoothing: grayscale;
|
|
169
|
-
vertical-align: ${
|
|
169
|
+
vertical-align: ${Wo.verticalAlign};
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
i.ft-icon.ft-icon--fluid-topics {
|
|
173
|
-
font-family: ${
|
|
173
|
+
font-family: ${Wo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
174
174
|
|
|
175
175
|
/* Ugly fix because font is broken */
|
|
176
|
-
font-size: calc(0.75 * ${
|
|
177
|
-
line-height: ${
|
|
176
|
+
font-size: calc(0.75 * ${Wo.size});
|
|
177
|
+
line-height: ${Wo.size};
|
|
178
178
|
position: relative;
|
|
179
179
|
top: -4%;
|
|
180
180
|
justify-content: center;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.ft-icon--file-format {
|
|
184
|
-
font-family: ${
|
|
184
|
+
font-family: ${Wo.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
.ft-icon--material {
|
|
188
|
-
font-family: ${
|
|
188
|
+
font-family: ${Wo.materialFontFamily}, "Material Icons", sans-serif;
|
|
189
189
|
}
|
|
190
|
-
`;var
|
|
190
|
+
`;var zo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(zo||(zo={}));var Ko=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Zo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(zo).includes(this.variant)?this.variant:zo.fluid_topics,o=t!==zo.material||!!this.value;return e.html`
|
|
191
191
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
192
192
|
${l.unsafeHTML(this.resolvedIcon)}
|
|
193
193
|
<slot ?hidden=${o}></slot>
|
|
194
194
|
</i>
|
|
195
|
-
`}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
|
|
195
|
+
`}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 zo.file_format:this.resolvedIcon=null!==(t=Ro[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case zo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=ko[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Zo.elementDefinitions={},Zo.styles=Lo,Ko([n.property()],Zo.prototype,"variant",void 0),Ko([n.property()],Zo.prototype,"value",void 0),Ko([n.state()],Zo.prototype,"resolvedIcon",void 0),Ko([n.query("slot")],Zo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Zo);const Bo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Fo={color:Bo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Bo),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")},Ao=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Do=Ao,Ho=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ao),Go=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),jo=Go,Po=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Go),To=e.css`
|
|
196
196
|
:host {
|
|
197
197
|
display: contents;
|
|
198
198
|
}
|
|
@@ -205,7 +205,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
205
205
|
|
|
206
206
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
207
207
|
overflow: hidden;
|
|
208
|
-
border-radius: ${
|
|
208
|
+
border-radius: ${Fo.borderRadius};
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.ft-ripple .ft-ripple--background,
|
|
@@ -239,27 +239,27 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
.ft-ripple .ft-ripple--background {
|
|
242
|
-
background-color: ${
|
|
242
|
+
background-color: ${Fo.backgroundColor};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.ft-ripple .ft-ripple--effect {
|
|
246
|
-
background-color: ${
|
|
246
|
+
background-color: ${Fo.color};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
250
|
-
background-color: ${
|
|
250
|
+
background-color: ${Po};
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
254
|
-
background-color: ${
|
|
254
|
+
background-color: ${jo};
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
258
|
-
background-color: ${
|
|
258
|
+
background-color: ${Ho};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
262
|
-
background-color: ${
|
|
262
|
+
background-color: ${Do};
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
.ft-ripple .ft-ripple--background {
|
|
@@ -289,22 +289,22 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
292
|
-
opacity: ${
|
|
292
|
+
opacity: ${Fo.opacityContentOnSurfaceHover};
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
296
|
-
opacity: ${
|
|
296
|
+
opacity: ${Fo.opacityContentOnSurfaceSelected};
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
300
|
-
opacity: ${
|
|
300
|
+
opacity: ${Fo.opacityContentOnSurfaceFocused};
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
304
|
-
opacity: ${
|
|
304
|
+
opacity: ${Fo.opacityContentOnSurfacePressed};
|
|
305
305
|
transform: translate(-50%, -50%) scale(1);
|
|
306
306
|
}
|
|
307
|
-
`,
|
|
307
|
+
`,Mo={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},_o=e.css`
|
|
308
308
|
:host {
|
|
309
309
|
line-height: 0;
|
|
310
310
|
}
|
|
@@ -313,8 +313,8 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
313
313
|
display: inline-block;
|
|
314
314
|
position: relative;
|
|
315
315
|
|
|
316
|
-
width: ${
|
|
317
|
-
height: ${
|
|
316
|
+
width: ${Mo.size};
|
|
317
|
+
height: ${Mo.size};
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
.ft-loader div {
|
|
@@ -323,7 +323,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
323
323
|
width: 25%;
|
|
324
324
|
height: 25%;
|
|
325
325
|
border-radius: 50%;
|
|
326
|
-
background: ${
|
|
326
|
+
background: ${Mo.color};
|
|
327
327
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
328
328
|
}
|
|
329
329
|
|
|
@@ -370,10 +370,10 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
370
370
|
transform: translate(0, 0);
|
|
371
371
|
}
|
|
372
372
|
100% {
|
|
373
|
-
transform: translate(calc(0.35 * ${
|
|
373
|
+
transform: translate(calc(0.35 * ${Mo.size}), 0);
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
`,
|
|
376
|
+
`,Yo=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Vo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Yo,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",po.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Yo),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Xo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),qo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Xo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Xo)},Jo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Qo=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),te=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),oe=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),ee=[e.css`
|
|
377
377
|
:host {
|
|
378
378
|
display: inline-block;
|
|
379
379
|
max-width: 100%;
|
|
@@ -384,7 +384,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
384
384
|
box-shadow: 0px 0px 0px transparent;
|
|
385
385
|
border: 0px solid transparent;
|
|
386
386
|
text-shadow: 0px 0px 0px transparent;
|
|
387
|
-
font-size: ${
|
|
387
|
+
font-size: ${Vo.fontSize};
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
button:hover {
|
|
@@ -413,31 +413,31 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
413
413
|
border: none;
|
|
414
414
|
pointer-events: auto;
|
|
415
415
|
|
|
416
|
-
--ft-button-internal-line-height: max(calc(${
|
|
417
|
-
--ft-button-internal-color: ${
|
|
418
|
-
${o.setVariable(
|
|
419
|
-
${o.setVariable(
|
|
416
|
+
--ft-button-internal-line-height: max(calc(${Vo.fontSize} + 2px), ${Vo.iconSize});
|
|
417
|
+
--ft-button-internal-color: ${Vo.color};
|
|
418
|
+
${o.setVariable(Wo.size,Vo.iconSize)};
|
|
419
|
+
${o.setVariable(Fo.color,Vo.rippleColor)};
|
|
420
420
|
|
|
421
|
-
border-radius: ${
|
|
422
|
-
padding: ${
|
|
423
|
-
background-color: ${
|
|
421
|
+
border-radius: ${Vo.borderRadius};
|
|
422
|
+
padding: ${Vo.verticalPadding} ${Vo.horizontalPadding};
|
|
423
|
+
background-color: ${Vo.backgroundColor};
|
|
424
424
|
color: var(--ft-button-internal-color);
|
|
425
425
|
-webkit-mask-image: radial-gradient(white, black);
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
.ft-button.ft-button--outlined {
|
|
429
429
|
border: 1px solid var(--ft-button-internal-color);
|
|
430
|
-
padding: calc(${
|
|
430
|
+
padding: calc(${Vo.verticalPadding} - 1px) calc(${Vo.horizontalPadding} - 1px);
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
.ft-button.ft-button--dense {
|
|
434
|
-
padding: ${
|
|
435
|
-
border-radius: ${
|
|
436
|
-
gap: ${
|
|
434
|
+
padding: ${Qo} ${te};
|
|
435
|
+
border-radius: ${Jo};
|
|
436
|
+
gap: ${oe};
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
440
|
-
padding: calc(${
|
|
440
|
+
padding: calc(${Qo} - 1px) calc(${te} - 1px);
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
.ft-button:not([disabled]):hover {
|
|
@@ -445,22 +445,22 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
.ft-button--round {
|
|
448
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
448
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vo.verticalPadding});
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
.ft-button--round.ft-button--dense {
|
|
452
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
452
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Qo});
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
.ft-button[disabled] {
|
|
456
456
|
filter: grayscale(1);
|
|
457
|
-
opacity: ${
|
|
457
|
+
opacity: ${Vo.opacityDisabled};
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
.ft-button.ft-button--primary {
|
|
461
|
-
background-color: ${
|
|
462
|
-
--ft-button-internal-color: ${
|
|
463
|
-
${o.setVariable(
|
|
461
|
+
background-color: ${qo.backgroundColor};
|
|
462
|
+
--ft-button-internal-color: ${qo.color};
|
|
463
|
+
${o.setVariable(Fo.color,qo.rippleColor)};
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.ft-button:focus {
|
|
@@ -473,13 +473,13 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
473
473
|
white-space: nowrap;
|
|
474
474
|
text-overflow: ellipsis;
|
|
475
475
|
display: block;
|
|
476
|
-
margin: 0 ${
|
|
477
|
-
${o.setVariable(
|
|
478
|
-
${o.setVariable(
|
|
476
|
+
margin: 0 ${Vo.iconPadding};
|
|
477
|
+
${o.setVariable(po.fontSize,"1em")};
|
|
478
|
+
${o.setVariable(po.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
.ft-button--dense .ft-button--label {
|
|
482
|
-
margin: 0 ${
|
|
482
|
+
margin: 0 ${oe};
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
.ft-button--label[hidden] {
|
|
@@ -492,13 +492,13 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.ft-button--label[hidden] + ft-icon {
|
|
495
|
-
margin: 0 calc(${
|
|
496
|
-
padding: 0 ${
|
|
495
|
+
margin: 0 calc(${Vo.horizontalPadding} * -1);
|
|
496
|
+
padding: 0 ${Vo.verticalPadding};
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
500
|
-
margin: 0 calc(${
|
|
501
|
-
padding: 0 ${
|
|
500
|
+
margin: 0 calc(${te} * -1);
|
|
501
|
+
padding: 0 ${Qo};
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -507,10 +507,10 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
ft-loader {
|
|
510
|
-
${o.setVariable(
|
|
511
|
-
${o.setVariable(
|
|
510
|
+
${o.setVariable(Mo.size,Vo.iconSize)};
|
|
511
|
+
${o.setVariable(Mo.color,"var(--ft-button-internal-color)")};
|
|
512
512
|
}
|
|
513
|
-
`,o.noTextSelect];var
|
|
513
|
+
`,o.noTextSelect];var re=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ie extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
514
514
|
<style>
|
|
515
515
|
.ft-ripple .ft-ripple--effect {
|
|
516
516
|
left: ${this.originX}px;
|
|
@@ -521,7 +521,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
521
521
|
<div class="ft-ripple--background"></div>
|
|
522
522
|
<div class="ft-ripple--effect"></div>
|
|
523
523
|
</div>
|
|
524
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
524
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ie.elementDefinitions={},ie.styles=To,re([n.property({type:Boolean})],ie.prototype,"primary",void 0),re([n.property({type:Boolean})],ie.prototype,"secondary",void 0),re([n.property({type:Boolean})],ie.prototype,"unbounded",void 0),re([n.property({type:Boolean})],ie.prototype,"activated",void 0),re([n.property({type:Boolean})],ie.prototype,"selected",void 0),re([n.property({type:Boolean})],ie.prototype,"disabled",void 0),re([n.state()],ie.prototype,"hovered",void 0),re([n.state()],ie.prototype,"focused",void 0),re([n.state()],ie.prototype,"pressed",void 0),re([n.state()],ie.prototype,"rippling",void 0),re([n.state()],ie.prototype,"originX",void 0),re([n.state()],ie.prototype,"originY",void 0),re([n.query(".ft-ripple")],ie.prototype,"ripple",void 0),re([n.query(".ft-ripple--effect")],ie.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(ie);const ae=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),ne=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),le=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),ce=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),se=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),pe=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),fe=e.css`
|
|
525
525
|
.ft-tooltip--container {
|
|
526
526
|
display: block;
|
|
527
527
|
}
|
|
@@ -536,21 +536,21 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
536
536
|
box-sizing: border-box;
|
|
537
537
|
overflow: hidden;
|
|
538
538
|
width: max-content;
|
|
539
|
-
max-width: ${
|
|
539
|
+
max-width: ${pe};
|
|
540
540
|
text-align: center;
|
|
541
|
-
padding: ${
|
|
542
|
-
z-index: ${
|
|
541
|
+
padding: ${ae};
|
|
542
|
+
z-index: ${ce};
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
.ft-tooltip--content {
|
|
546
546
|
padding: 4px 8px;
|
|
547
|
-
border-radius: ${
|
|
548
|
-
background-color: ${
|
|
549
|
-
color: ${
|
|
547
|
+
border-radius: ${se};
|
|
548
|
+
background-color: ${le};
|
|
549
|
+
color: ${ne};
|
|
550
550
|
position: relative;
|
|
551
551
|
word-break: break-word;
|
|
552
552
|
}
|
|
553
|
-
`;var
|
|
553
|
+
`;var de=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class he 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`
|
|
554
554
|
<div part="container"
|
|
555
555
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
556
556
|
@mouseenter=${this.onHover}
|
|
@@ -568,14 +568,14 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
568
568
|
</div>
|
|
569
569
|
</div>
|
|
570
570
|
</div>
|
|
571
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let s=-c.x,p=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(s,p))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${
|
|
571
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let s=-c.x,p=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(s,p))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${pe})`}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))}}he.elementDefinitions={"ft-typography":$o},he.styles=fe,de([n.property()],he.prototype,"text",void 0),de([n.property({type:Boolean})],he.prototype,"manual",void 0),de([n.property({type:Boolean})],he.prototype,"inline",void 0),de([n.property({type:Number})],he.prototype,"delay",void 0),de([n.property()],he.prototype,"position",void 0),de([n.queryAssignedNodes()],he.prototype,"slotNodes",void 0),de([n.query(".ft-tooltip--container")],he.prototype,"container",void 0),de([n.query(".ft-tooltip")],he.prototype,"tooltip",void 0),de([n.query(".ft-tooltip--content")],he.prototype,"tooltipContent",void 0),de([n.state()],he.prototype,"visible",void 0),o.customElement("ft-tooltip")(he);class ge extends o.FtLitElement{render(){return e.html`
|
|
572
572
|
<div class="ft-loader">
|
|
573
573
|
<div></div>
|
|
574
574
|
<div></div>
|
|
575
575
|
<div></div>
|
|
576
576
|
<div></div>
|
|
577
577
|
</div>
|
|
578
|
-
`}}
|
|
578
|
+
`}}ge.styles=_o,o.customElement("ft-loader")(ge);var ye=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class be 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`
|
|
579
579
|
<button part="button"
|
|
580
580
|
class="${i.classMap(this.buttonClasses)}"
|
|
581
581
|
aria-label="${this.getLabel()}"
|
|
@@ -598,7 +598,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
598
598
|
</ft-tooltip>
|
|
599
599
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
600
600
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
601
|
-
<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}}be.elementDefinitions={"ft-ripple":
|
|
601
|
+
<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}}be.elementDefinitions={"ft-ripple":ie,"ft-tooltip":he,"ft-typography":$o,"ft-icon":Zo,"ft-loader":ge},ye([n.property({type:String,reflect:!0})],be.prototype,"role",void 0),ye([n.property()],be.prototype,"type",void 0),ye([n.property({type:Boolean})],be.prototype,"disabled",void 0),ye([n.property()],be.prototype,"label",void 0),ye([n.property()],be.prototype,"icon",void 0),ye([n.property()],be.prototype,"iconVariant",void 0),ye([n.property({type:Boolean})],be.prototype,"trailingIcon",void 0),ye([n.property({type:Boolean})],be.prototype,"loading",void 0),ye([n.property()],be.prototype,"tooltipPosition",void 0),ye([n.property({type:Boolean})],be.prototype,"hideTooltip",void 0),ye([n.property({type:Boolean})],be.prototype,"forceTooltip",void 0),ye([n.query(".ft-button")],be.prototype,"button",void 0),ye([n.query(".ft-button--label slot")],be.prototype,"slottedContent",void 0);var ue=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class me extends be{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"}}me.styles=[o.safariEllipsisFix,ee],ue([n.property({type:Boolean})],me.prototype,"primary",void 0),ue([n.property({type:Boolean})],me.prototype,"outlined",void 0),ue([n.property({type:Boolean})],me.prototype,"dense",void 0),ue([n.property({type:Boolean})],me.prototype,"round",void 0);const xe=[e.css`
|
|
602
602
|
:host {
|
|
603
603
|
display: inline-block;
|
|
604
604
|
max-width: 100%;
|
|
@@ -648,7 +648,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
.ft-button:focus-visible {
|
|
651
|
-
outline-color: ${
|
|
651
|
+
outline-color: ${nt.focusFocusRingColor};
|
|
652
652
|
outline-style: solid;
|
|
653
653
|
}
|
|
654
654
|
|
|
@@ -677,146 +677,146 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
677
677
|
/** Primary styles **/
|
|
678
678
|
|
|
679
679
|
.ft-button--primary {
|
|
680
|
-
${o.setVariable(
|
|
680
|
+
${o.setVariable(Mo.color,nt.primaryIconColor)};
|
|
681
681
|
|
|
682
|
-
${o.setVariable(
|
|
683
|
-
${o.setVariable(
|
|
684
|
-
${o.setVariable(
|
|
685
|
-
${o.setVariable(
|
|
686
|
-
${o.setVariable(
|
|
682
|
+
${o.setVariable(Fo.color,nt.primaryStateLayerColor)};
|
|
683
|
+
${o.setVariable(Fo.opacityContentOnSurfaceHover,nt.primaryStateLayerOpacityHover)};
|
|
684
|
+
${o.setVariable(Fo.opacityContentOnSurfaceFocused,nt.primaryStateLayerOpacityFocus)};
|
|
685
|
+
${o.setVariable(Fo.opacityContentOnSurfaceSelected,nt.primaryStateLayerOpacityActive)};
|
|
686
|
+
${o.setVariable(Fo.opacityContentOnSurfacePressed,nt.primaryStateLayerOpacityActive)};
|
|
687
687
|
|
|
688
|
-
background-color: ${
|
|
689
|
-
color: ${
|
|
688
|
+
background-color: ${nt.primaryBackgroundColor};
|
|
689
|
+
color: ${nt.primaryColor};
|
|
690
690
|
border-style: none;
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
.ft-button--primary[disabled] {
|
|
694
|
-
opacity: ${
|
|
694
|
+
opacity: ${nt.primaryComponentOpacityDisabled};
|
|
695
695
|
}
|
|
696
696
|
|
|
697
697
|
.ft-button--primary ft-icon {
|
|
698
|
-
color: ${
|
|
698
|
+
color: ${nt.primaryIconColor};
|
|
699
699
|
}
|
|
700
700
|
|
|
701
701
|
/** Secondary styles **/
|
|
702
702
|
|
|
703
703
|
.ft-button--secondary {
|
|
704
|
-
${o.setVariable(
|
|
704
|
+
${o.setVariable(Mo.color,nt.secondaryIconColor)};
|
|
705
705
|
|
|
706
|
-
${o.setVariable(
|
|
707
|
-
${o.setVariable(
|
|
708
|
-
${o.setVariable(
|
|
709
|
-
${o.setVariable(
|
|
710
|
-
${o.setVariable(
|
|
706
|
+
${o.setVariable(Fo.color,nt.secondaryStateLayerColor)};
|
|
707
|
+
${o.setVariable(Fo.opacityContentOnSurfaceHover,nt.secondaryStateLayerOpacityHover)};
|
|
708
|
+
${o.setVariable(Fo.opacityContentOnSurfaceFocused,nt.secondaryStateLayerOpacityFocus)};
|
|
709
|
+
${o.setVariable(Fo.opacityContentOnSurfaceSelected,nt.secondaryStateLayerOpacityActive)};
|
|
710
|
+
${o.setVariable(Fo.opacityContentOnSurfacePressed,nt.secondaryStateLayerOpacityActive)};
|
|
711
711
|
|
|
712
|
-
background-color: ${
|
|
713
|
-
color: ${
|
|
714
|
-
border-color: ${
|
|
712
|
+
background-color: ${nt.secondaryBackgroundColor};
|
|
713
|
+
color: ${nt.secondaryColor};
|
|
714
|
+
border-color: ${nt.secondaryBorderColor};
|
|
715
715
|
border-style: solid;
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
.ft-button--secondary[disabled] {
|
|
719
|
-
opacity: ${
|
|
719
|
+
opacity: ${nt.secondaryComponentOpacityDisabled};
|
|
720
720
|
}
|
|
721
721
|
|
|
722
722
|
.ft-button--secondary ft-icon {
|
|
723
|
-
color: ${
|
|
723
|
+
color: ${nt.secondaryIconColor};
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
/** Tertiary styles **/
|
|
727
727
|
|
|
728
728
|
.ft-button--tertiary {
|
|
729
|
-
${o.setVariable(
|
|
729
|
+
${o.setVariable(Mo.color,nt.tertiaryIconColor)};
|
|
730
730
|
|
|
731
|
-
${o.setVariable(
|
|
732
|
-
${o.setVariable(
|
|
733
|
-
${o.setVariable(
|
|
734
|
-
${o.setVariable(
|
|
735
|
-
${o.setVariable(
|
|
731
|
+
${o.setVariable(Fo.color,nt.tertiaryStateLayerColor)};
|
|
732
|
+
${o.setVariable(Fo.opacityContentOnSurfaceHover,nt.tertiaryStateLayerOpacityHover)};
|
|
733
|
+
${o.setVariable(Fo.opacityContentOnSurfaceFocused,nt.tertiaryStateLayerOpacityFocus)};
|
|
734
|
+
${o.setVariable(Fo.opacityContentOnSurfaceSelected,nt.tertiaryStateLayerOpacityActive)};
|
|
735
|
+
${o.setVariable(Fo.opacityContentOnSurfacePressed,nt.tertiaryStateLayerOpacityActive)};
|
|
736
736
|
|
|
737
|
-
background-color: ${
|
|
738
|
-
color: ${
|
|
737
|
+
background-color: ${nt.tertiaryBackgroundColor};
|
|
738
|
+
color: ${nt.tertiaryColor};
|
|
739
739
|
border-style: none;
|
|
740
740
|
}
|
|
741
741
|
|
|
742
742
|
.ft-button--tertiary[disabled] {
|
|
743
|
-
opacity: ${
|
|
743
|
+
opacity: ${nt.tertiaryComponentOpacityDisabled};
|
|
744
744
|
}
|
|
745
745
|
|
|
746
746
|
.ft-button--tertiary ft-icon {
|
|
747
|
-
color: ${
|
|
747
|
+
color: ${nt.tertiaryIconColor};
|
|
748
748
|
}
|
|
749
749
|
|
|
750
750
|
/** Neutral styles **/
|
|
751
751
|
|
|
752
752
|
.ft-button--neutral {
|
|
753
|
-
${o.setVariable(
|
|
753
|
+
${o.setVariable(Mo.color,nt.neutralIconColor)};
|
|
754
754
|
|
|
755
|
-
${o.setVariable(
|
|
756
|
-
${o.setVariable(
|
|
757
|
-
${o.setVariable(
|
|
758
|
-
${o.setVariable(
|
|
759
|
-
${o.setVariable(
|
|
755
|
+
${o.setVariable(Fo.backgroundColor,nt.neutralStateLayerColor)};
|
|
756
|
+
${o.setVariable(Fo.opacityContentOnSurfaceHover,nt.neutralStateLayerOpacityHover)};
|
|
757
|
+
${o.setVariable(Fo.opacityContentOnSurfaceFocused,nt.neutralStateLayerOpacityFocus)};
|
|
758
|
+
${o.setVariable(Fo.opacityContentOnSurfaceSelected,nt.neutralStateLayerOpacityActive)};
|
|
759
|
+
${o.setVariable(Fo.opacityContentOnSurfacePressed,nt.neutralStateLayerOpacityActive)};
|
|
760
760
|
|
|
761
|
-
background-color: ${
|
|
762
|
-
color: ${
|
|
761
|
+
background-color: ${nt.neutralBackgroundColor};
|
|
762
|
+
color: ${nt.neutralColor};
|
|
763
763
|
border-style: none;
|
|
764
764
|
}
|
|
765
765
|
|
|
766
766
|
.ft-button--neutral[disabled] {
|
|
767
|
-
opacity: ${
|
|
767
|
+
opacity: ${nt.neutralComponentOpacityDisabled};
|
|
768
768
|
}
|
|
769
769
|
|
|
770
770
|
.ft-button--neutral ft-icon {
|
|
771
|
-
color: ${
|
|
771
|
+
color: ${nt.neutralIconColor};
|
|
772
772
|
}
|
|
773
773
|
|
|
774
774
|
/** Large styles **/
|
|
775
775
|
|
|
776
776
|
.ft-button--large {
|
|
777
|
-
${o.setVariable(
|
|
778
|
-
${o.setVariable(
|
|
777
|
+
${o.setVariable(Wo.size,nt.largeIconSize)};
|
|
778
|
+
${o.setVariable(Mo.size,nt.largeIconSize)};
|
|
779
779
|
|
|
780
|
-
height: ${
|
|
781
|
-
padding: 0 ${
|
|
782
|
-
gap: ${
|
|
783
|
-
border-radius: ${
|
|
784
|
-
border-width: ${
|
|
780
|
+
height: ${nt.largeHeight};
|
|
781
|
+
padding: 0 ${nt.largeHorizontalPadding};
|
|
782
|
+
gap: ${nt.largeGap};
|
|
783
|
+
border-radius: ${nt.largeBorderRadius};
|
|
784
|
+
border-width: ${nt.largeBorderWidth};
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
.ft-button--large:focus-visible {
|
|
788
|
-
outline-width: ${
|
|
789
|
-
outline-offset: ${
|
|
788
|
+
outline-width: ${nt.largeFocusOutlineWidth};
|
|
789
|
+
outline-offset: ${nt.largeFocusOutlineOffset};
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
.ft-button--large.ft-button--icon-only {
|
|
793
|
-
width: ${
|
|
793
|
+
width: ${nt.largeIconOnlyWidth};
|
|
794
794
|
padding: unset;
|
|
795
795
|
}
|
|
796
796
|
|
|
797
797
|
/** Small styles **/
|
|
798
798
|
|
|
799
799
|
.ft-button--small {
|
|
800
|
-
${o.setVariable(
|
|
801
|
-
${o.setVariable(
|
|
800
|
+
${o.setVariable(Wo.size,nt.smallIconSize)};
|
|
801
|
+
${o.setVariable(Mo.size,nt.smallIconSize)};
|
|
802
802
|
|
|
803
|
-
height: ${
|
|
804
|
-
padding: 0 ${
|
|
805
|
-
gap: ${
|
|
806
|
-
border-radius: ${
|
|
807
|
-
border-width: ${
|
|
803
|
+
height: ${nt.smallHeight};
|
|
804
|
+
padding: 0 ${nt.smallHorizontalPadding};
|
|
805
|
+
gap: ${nt.smallGap};
|
|
806
|
+
border-radius: ${nt.smallBorderRadius};
|
|
807
|
+
border-width: ${nt.smallBorderWidth};
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
.ft-button--small:focus-visible {
|
|
811
|
-
outline-width: ${
|
|
812
|
-
outline-offset: ${
|
|
811
|
+
outline-width: ${nt.smallFocusOutlineWidth};
|
|
812
|
+
outline-offset: ${nt.smallFocusOutlineOffset};
|
|
813
813
|
}
|
|
814
814
|
|
|
815
815
|
.ft-button--small.ft-button--icon-only {
|
|
816
|
-
width: ${
|
|
816
|
+
width: ${nt.smallIconOnlyWidth};
|
|
817
817
|
padding: unset;
|
|
818
818
|
}
|
|
819
|
-
`,o.noTextSelect];var ve
|
|
819
|
+
`,o.noTextSelect];var Oe,ve=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ne extends be{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?tt.caption1medium:tt.body2medium}}Ne.styles=[o.safariEllipsisFix,xe],ve([n.property({type:Boolean})],Ne.prototype,"primary",void 0),ve([n.property({type:Boolean})],Ne.prototype,"secondary",void 0),ve([n.property({type:Boolean})],Ne.prototype,"tertiary",void 0),ve([n.property({type:Boolean})],Ne.prototype,"neutral",void 0),ve([n.property({type:Boolean})],Ne.prototype,"small",void 0),o.customElement("ft-button")(me),o.customElement("ftds-button")(Ne),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Oe||(Oe={}));const Se=e.css`
|
|
820
820
|
.ft-size-watcher--pixel {
|
|
821
821
|
width: 0;
|
|
822
822
|
height: 0;
|
|
@@ -835,34 +835,34 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
835
835
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
836
836
|
width: 100%;
|
|
837
837
|
}
|
|
838
|
-
`;var
|
|
838
|
+
`;var Ce=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class $e extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class we extends o.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Oe.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new o.Debouncer}render(){return e.html`
|
|
839
839
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
840
840
|
<div class="ft-size-watcher--watcher"></div>
|
|
841
841
|
</div>
|
|
842
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=
|
|
842
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Oe.S:this.size<976?this.category=Oe.M:this.size<1024?this.category=Oe.L:this.size<1440?this.category=Oe.XL:this.category=Oe.XXL,this.dispatchEvent(new $e(this.size,this.category)))}),this.debounceTimeout)}}we.elementDefinitions={},we.styles=Se,Ce([n.property({type:Number})],we.prototype,"debounceTimeout",void 0),Ce([n.property({type:Boolean})],we.prototype,"local",void 0),Ce([n.property({type:Number,reflect:!0})],we.prototype,"size",void 0),Ce([n.property({type:String,reflect:!0})],we.prototype,"category",void 0),Ce([n.query(".ft-size-watcher--watcher")],we.prototype,"watcher",void 0),o.customElement("ft-size-watcher")(we);const Ie={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},ke={tabulationSize:o.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:o.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",o.designSystemVariables.colorOnSurface),hoverColor:o.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",o.designSystemVariables.colorPrimary),highlightedTextColor:o.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",o.designSystemVariables.colorPrimary),highlightedFontWeight:o.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:o.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:o.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},Re=e.css`
|
|
843
843
|
.ft-reader-toc {
|
|
844
|
-
color: ${
|
|
844
|
+
color: ${ke.textColor};
|
|
845
845
|
}
|
|
846
846
|
|
|
847
847
|
.ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
|
|
848
|
-
background-color: ${
|
|
849
|
-
color: ${
|
|
850
|
-
${o.setVariable(
|
|
848
|
+
background-color: ${ke.highlightedBackgroundColor};
|
|
849
|
+
color: ${ke.highlightedTextColor};
|
|
850
|
+
${o.setVariable(st.fontWeight,ke.highlightedFontWeight)}
|
|
851
851
|
}
|
|
852
852
|
|
|
853
853
|
.ft-reader-toc--link-container {
|
|
854
854
|
display: flex;
|
|
855
855
|
gap: 4px;
|
|
856
|
-
padding: ${
|
|
856
|
+
padding: ${ke.verticalSpacing} 4px; /* left padding is override on inline style */
|
|
857
857
|
align-items: center;
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
.ft-reader-toc--link-container ft-reader-internal-link:hover {
|
|
861
|
-
color: ${
|
|
861
|
+
color: ${ke.hoverColor};
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
ft-button {
|
|
865
|
-
${o.setVariable(
|
|
865
|
+
${o.setVariable(Vo.iconSize,ke.iconFontSize)};
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
.ft-reader-toc--toggle-container {
|
|
@@ -870,11 +870,11 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
870
870
|
}
|
|
871
871
|
|
|
872
872
|
.ft-reader-toc-mobile .ft-reader-toc--toggle-container {
|
|
873
|
-
width: calc(${
|
|
873
|
+
width: calc(${ke.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
|
|
874
874
|
}
|
|
875
875
|
|
|
876
876
|
.ft-reader-toc-desktop .ft-reader-toc--toggle-container {
|
|
877
|
-
width: calc(${
|
|
877
|
+
width: calc(${ke.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
.ft-reader-toc-expanded .ft-reader-toc--toggle-container {
|
|
@@ -897,7 +897,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
897
897
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
898
898
|
flex-grow: 1;
|
|
899
899
|
}
|
|
900
|
-
`;var
|
|
900
|
+
`;var Ue=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ee extends d{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=zo.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new o.ParametrizedLabelResolver(Ie,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=Oe.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var e,r,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new o.ParametrizedLabelResolver(Ie,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(r=this.highlightedTocIds)&&void 0!==r?r:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Oe.S,"ft-reader-toc-desktop":this.viewportSize!==Oe.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return e.html`
|
|
901
901
|
${this.hideIfEmpty&&this.empty?e.html`
|
|
902
902
|
<style>
|
|
903
903
|
:host {
|
|
@@ -925,7 +925,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
925
925
|
${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
|
|
926
926
|
</ft-button>
|
|
927
927
|
</div>
|
|
928
|
-
`:e.nothing}renderNode(t){var o,i,n;const l=null===(o=this.highlightedTocIds)||void 0===o?void 0:o.includes(t.tocId),c=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),s=t.children.length>0,p=this.isCurrentPageToc?(null!==(n=null===(i=this.currentPage)||void 0===i?void 0:i.breadcrumb.length)&&void 0!==n?n:0)+1:0,f=t.depth-1-p,d={"padding-left":`calc( ${
|
|
928
|
+
`:e.nothing}renderNode(t){var o,i,n;const l=null===(o=this.highlightedTocIds)||void 0===o?void 0:o.includes(t.tocId),c=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),s=t.children.length>0,p=this.isCurrentPageToc?(null!==(n=null===(i=this.currentPage)||void 0===i?void 0:i.breadcrumb.length)&&void 0!==n?n:0)+1:0,f=t.depth-1-p,d={"padding-left":`calc( ${ke.tabulationSize} * ${f} + 4px)`};return e.html`
|
|
929
929
|
<div class="ft-reader-toc--node ${l?"ft-reader-toc--node-highlighted":""}">
|
|
930
930
|
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${a.styleMap(d)}>
|
|
931
931
|
${this.nodesToExpandExist&&!this.expanded?e.html`
|
|
@@ -934,7 +934,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
934
934
|
<ft-button
|
|
935
935
|
part="expand-collapse-node"
|
|
936
936
|
round hideTooltip
|
|
937
|
-
?dense=${this.viewportSize!==
|
|
937
|
+
?dense=${this.viewportSize!==Oe.S}
|
|
938
938
|
label="${this.labelResolver.resolve(c?"collapse":"expand",t.title)}"
|
|
939
939
|
.iconVariant="${this.iconVariant}"
|
|
940
940
|
icon="${c?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
|
|
@@ -961,4 +961,4 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
961
961
|
</div>
|
|
962
962
|
`:e.nothing}
|
|
963
963
|
</div>
|
|
964
|
-
`}buildAutomaticallyExpandedNodes(t){var o,e;let r=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of t){let t=i;for(;t&&!r.has(t);)r.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return r}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}
|
|
964
|
+
`}buildAutomaticallyExpandedNodes(t){var o,e;let r=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of t){let t=i;for(;t&&!r.has(t);)r.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return r}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}Ee.elementDefinitions={"ft-button":me,"ft-reader-internal-link":Eo,"ft-size-watcher":we,"ft-typography":$o},Ee.styles=Re,Ue([n.property({type:Boolean})],Ee.prototype,"expanded",void 0),Ue([n.property()],Ee.prototype,"iconVariant",void 0),Ue([n.property()],Ee.prototype,"collapseIcon",void 0),Ue([n.property()],Ee.prototype,"expandIcon",void 0),Ue([n.property({type:Boolean})],Ee.prototype,"expandCollapseAll",void 0),Ue([n.property({type:Boolean})],Ee.prototype,"expandCollapseAllHideLabel",void 0),Ue([n.property({type:Boolean})],Ee.prototype,"expandCollapseAllTrailingIcon",void 0),Ue([n.property()],Ee.prototype,"expandCollapseAllAlignment",void 0),Ue([n.property({type:Boolean})],Ee.prototype,"expandCollapseAllHideIcon",void 0),Ue([n.property()],Ee.prototype,"expandCollapseAllIconVariant",void 0),Ue([n.property()],Ee.prototype,"collapseAllIcon",void 0),Ue([n.property()],Ee.prototype,"expandAllIcon",void 0),Ue([n.property({type:Boolean})],Ee.prototype,"autoCollapse",void 0),Ue([n.property()],Ee.prototype,"scope",void 0),Ue([n.property({type:Boolean})],Ee.prototype,"hideIfEmpty",void 0),Ue([n.property({type:Boolean,reflect:!0})],Ee.prototype,"empty",void 0),Ue([o.jsonProperty({})],Ee.prototype,"labels",void 0),Ue([o.redux({selector:(t,o)=>{var e,r,i;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(r=t.currentPage)||void 0===r?void 0:r.toc:void 0:(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?t.pagesToc:t.toc}})],Ee.prototype,"toc",void 0),Ue([o.redux({selector:t=>{var o;return null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc}})],Ee.prototype,"splitToc",void 0),Ue([o.redux()],Ee.prototype,"currentPage",void 0),Ue([o.redux({selector:(t,o)=>{var e,r;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(r=t.currentPage)||void 0===r?void 0:r.rootTocId]:t.visibleTopics}})],Ee.prototype,"highlightedTocIds",void 0),Ue([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],Ee.prototype,"automaticallyExpandedNodes",void 0),Ue([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],Ee.prototype,"manuallyExpandedNodes",void 0),Ue([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],Ee.prototype,"manuallyCollapsedNodes",void 0),Ue([n.state()],Ee.prototype,"expandAll",void 0),Ue([n.state()],Ee.prototype,"viewportSize",void 0),o.customElement("ft-reader-toc")(Ee),t.DEFAULT_LABELS=Ie,t.FtReaderToc=Ee,t.FtReaderTocCssVariables=ke,t.styles=Re}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litStyleMap,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
|