@fluid-topics/ft-reader-toc 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-toc.light.js +33 -33
- package/build/ft-reader-toc.min.js +205 -205
- package/package.json +7 -7
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
-
*/const h=globalThis,y=h.trustedTypes,g=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,u="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,m="?"+b,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]",w=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,I=/>/g,R=RegExp(`>|${C}(?:([^\\s"'>=/]+)(${C}*=${C}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),k=/'/g,
|
|
6
|
+
*/const h=globalThis,y=h.trustedTypes,g=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,u="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,m="?"+b,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]",w=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,I=/>/g,R=RegExp(`>|${C}(?:([^\\s"'>=/]+)(${C}*=${C}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),k=/'/g,E=/"/g,L=/^(?:script|style|textarea|title)$/i,U=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),W=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!==g?g.createHTML(o):o}const F=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=w;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===w?"!--"===c[1]?n=$:void 0!==c[1]?n=I:void 0!==c[2]?(L.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=R):void 0!==c[3]&&(n=R):n===R?">"===c[0]?(n=i??w,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?R:'"'===c[3]?E:k):n===E||n===k?n=R:n===$||n===I?n=w:(n=R,i=void 0);const f=n===R&&t[o+1].startsWith("/>")?" ":"";a+=n===w?e+x:s>=0?(r.push(l),e.slice(0,s)+u+e.slice(s)+b+f):e+b+(-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(u)){const o=s[a++],e=r.getAttribute(t).split(b),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?T:"?"===n[1]?j:"@"===n[1]?M:P}),r.removeAttribute(t)}else t.startsWith(b)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(L.test(r.tagName)){const t=r.textContent.split(b),o=t.length-1;if(o>0){r.textContent=y?y.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(b,t+1));)l.push({type:7,index:i}),t+=b.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===W)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!==W&&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 P{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!==W,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===W&&(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 T extends P{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===z?void 0:t}}class j extends P{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==z)}}class M extends P{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)===W)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 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)})(U);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"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",lt),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),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"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ct),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),Wt=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"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),jt=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`
|
|
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)})(U);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"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",lt),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),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"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ct),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),Wt=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"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),jt=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
14
|
font-family: ${pt};
|
|
15
15
|
font-size: ${ft};
|
|
@@ -40,8 +40,8 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
40
40
|
.ft-typography--subtitle2 {
|
|
41
41
|
font-family: ${Rt};
|
|
42
42
|
font-size: ${kt};
|
|
43
|
-
font-weight: ${
|
|
44
|
-
letter-spacing: ${
|
|
43
|
+
font-weight: ${Et};
|
|
44
|
+
letter-spacing: ${Lt};
|
|
45
45
|
line-height: ${Ut};
|
|
46
46
|
text-transform: ${Wt};
|
|
47
47
|
}
|
|
@@ -133,13 +133,13 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
133
133
|
text-decoration: none;
|
|
134
134
|
color: inherit;
|
|
135
135
|
}
|
|
136
|
-
`;var Ro,ko,
|
|
136
|
+
`;var Ro,ko,Eo=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 Lo 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())}}Lo.styles=Io,Eo([n.property()],Lo.prototype,"tocId",void 0),Eo([n.property()],Lo.prototype,"section",void 0),Eo([n.property({type:Number})],Lo.prototype,"pageNumber",void 0),Eo([n.property({type:Boolean})],Lo.prototype,"removeStyle",void 0),o.customElement("ft-reader-internal-link")(Lo),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=""}(Ro||(Ro={})),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=""}(ko||(ko={})),new Map([...["abw"].map((t=>[t,ko.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,ko.AUDIO])),...["avi"].map((t=>[t,ko.AVI])),...["chm","xhs"].map((t=>[t,ko.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,ko.CODE])),...["csv"].map((t=>[t,ko.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ko.DITA])),...["epub"].map((t=>[t,ko.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ko.EXCEL])),...["flac"].map((t=>[t,ko.FLAC])),...["gif"].map((t=>[t,ko.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ko.GZIP])),...["html","htm","xhtml"].map((t=>[t,ko.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,ko.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ko.JPEG])),...["json"].map((t=>[t,ko.JSON])),...["m4a","m4p"].map((t=>[t,ko.M4A])),...["mov","qt"].map((t=>[t,ko.MOV])),...["mp3"].map((t=>[t,ko.MP3])),...["mp4","m4v"].map((t=>[t,ko.MP4])),...["ogg","oga"].map((t=>[t,ko.OGG])),...["pdf","ps"].map((t=>[t,ko.PDF])),...["png"].map((t=>[t,ko.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ko.POWERPOINT])),...["rar"].map((t=>[t,ko.RAR])),...["stp"].map((t=>[t,ko.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ko.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,ko.VIDEO])),...["wav"].map((t=>[t,ko.WAV])),...["wma"].map((t=>[t,ko.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ko.WORD])),...["xml","xsl","rdf"].map((t=>[t,ko.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ko.YAML])),...["zip"].map((t=>[t,ko.ZIP]))]);const Uo={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")},Wo=e.css`
|
|
143
143
|
:host, i.ft-icon {
|
|
144
144
|
display: inline-flex;
|
|
145
145
|
align-items: center;
|
|
@@ -532,7 +532,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
.ft-tooltip {
|
|
535
|
-
position:
|
|
535
|
+
position: fixed;
|
|
536
536
|
box-sizing: border-box;
|
|
537
537
|
overflow: hidden;
|
|
538
538
|
width: max-content;
|
|
@@ -550,7 +550,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
550
550
|
position: relative;
|
|
551
551
|
word-break: break-word;
|
|
552
552
|
}
|
|
553
|
-
`,de=["start","end"],he=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+de[0],o+"-"+de[1])),[]),ye=Math.min,ge=Math.max,ue=Math.round,be=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"},xe={start:"end",end:"start"};function Oe(t,o,e){return ge(t,ye(o,e))}function ve(t,o){return"function"==typeof t?t(o):t}function Ne(t){return t.split("-")[0]}function Se(t){return t.split("-")[1]}function Ce(t){return"x"===t?"y":"x"}function we(t){return"y"===t?"height":"width"}function $e(t){return["top","bottom"].includes(Ne(t))?"y":"x"}function Ie(t){return Ce($e(t))}function Re(t){return t.replace(/left|right|bottom|top/g,(t=>me[t]))}function ke(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Le(t,o,e){let{reference:r,floating:i}=t;const a=$e(o),n=Ie(o),l=we(n),c=Ne(o),s="y"===a,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Se(o)){case"start":h[n]-=d*(e&&s?-1:1);break;case"end":h[n]+=d*(e&&s?-1:1)}return h}async function Ee(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:a,rects:n,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ve(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=ke(await a.getClippingRect({element:null==(e=await(null==a.isElement?void 0:a.isElement(g)))||e?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...n.floating,x:r,y:i}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},O=ke(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function Ue(t,o,e){return(t?[...e.filter((o=>Se(o)===t)),...e.filter((o=>Se(o)!==t))]:e.filter((t=>Ne(t)===t))).filter((e=>!t||(Se(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>xe[t]))}(e)!==e)))}const We=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:a,middlewareData:n,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=he,autoAlignment:h=!0,...y}=ve(t,o),g=void 0!==f||d===he?Ue(f||null,h,d):d,u=await Ee(o,y),b=(null==(e=n.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Se(t),i=Ie(t),a=we(i);let n="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[a]>o.floating[a]&&(n=Re(n)),[n,Re(n)]}(m,a,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[Ne(m)],u[x[0]],u[x[1]]],v=[...(null==(r=n.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=Se(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,Se(t[0])?2:3).every((t=>t<=0)))),w=(null==(i=C[0])?void 0:i[0])||S[0][0];return w!==l?{data:{index:b+1,overflows:v},reset:{placement:w}}:{}}}};function ze(t){return Be(t)?(t.nodeName||"").toLowerCase():"#document"}function Ke(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ze(t){var o;return null==(o=(Be(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Be(t){return t instanceof Node||t instanceof Ke(t).Node}function Fe(t){return t instanceof Element||t instanceof Ke(t).Element}function Ae(t){return t instanceof HTMLElement||t instanceof Ke(t).HTMLElement}function De(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ke(t).ShadowRoot)}function He(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ge(t){return["table","td","th"].includes(ze(t))}function Pe(t){const o=Te(),e=Me(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Te(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function je(t){return["html","body","#document"].includes(ze(t))}function Me(t){return Ke(t).getComputedStyle(t)}function _e(t){return Fe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ye(t){if("html"===ze(t))return t;const o=t.assignedSlot||t.parentNode||De(t)&&t.host||Ze(t);return De(o)?o.host:o}function Ve(t){const o=Ye(t);return je(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ae(o)&&He(o)?o:Ve(o)}function Xe(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ve(t),a=i===(null==(r=t.ownerDocument)?void 0:r.body),n=Ke(i);return a?o.concat(n,n.visualViewport||[],He(i)?i:[],n.frameElement&&e?Xe(n.frameElement):[]):o.concat(i,Xe(i,[],e))}function qe(t){const o=Me(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ae(t),a=i?t.offsetWidth:e,n=i?t.offsetHeight:r,l=ue(e)!==a||ue(r)!==n;return l&&(e=a,r=n),{width:e,height:r,$:l}}function Je(t){return Fe(t)?t:t.contextElement}function Qe(t){const o=Je(t);if(!Ae(o))return be(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:a}=qe(o);let n=(a?ue(e.width):e.width)/r,l=(a?ue(e.height):e.height)/i;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const tr=be(0);function or(t){const o=Ke(t);return Te()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:tr}function er(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),a=Je(t);let n=be(1);o&&(r?Fe(r)&&(n=Qe(r)):n=Qe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ke(t))&&o}(a,e,r)?or(a):be(0);let c=(i.left+l.x)/n.x,s=(i.top+l.y)/n.y,p=i.width/n.x,f=i.height/n.y;if(a){const t=Ke(a),o=r&&Fe(r)?Ke(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Qe(e),o=e.getBoundingClientRect(),r=Me(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,a=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=a,e=Ke(e).frameElement}}return ke({width:p,height:f,x:c,y:s})}function rr(t){return er(Ze(t)).left+_e(t).scrollLeft}function ir(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Ke(t),r=Ze(t),i=e.visualViewport;let a=r.clientWidth,n=r.clientHeight,l=0,c=0;if(i){a=i.width,n=i.height;const t=Te();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:n,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ze(t),e=_e(t),r=t.ownerDocument.body,i=ge(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),a=ge(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let n=-e.scrollLeft+rr(t);const l=-e.scrollTop;return"rtl"===Me(r).direction&&(n+=ge(o.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:l}}(Ze(t));else if(Fe(o))r=function(t,o){const e=er(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,a=Ae(t)?Qe(t):be(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:i*a.x,y:r*a.y}}(o,e);else{const e=or(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ke(r)}function ar(t,o){const e=Ye(t);return!(e===o||!Fe(e)||je(e))&&("fixed"===Me(e).position||ar(e,o))}function nr(t,o,e){const r=Ae(o),i=Ze(o),a="fixed"===e,n=er(t,!0,a,o);let l={scrollLeft:0,scrollTop:0};const c=be(0);if(r||!r&&!a)if(("body"!==ze(o)||He(i))&&(l=_e(o)),r){const t=er(o,!0,a,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=rr(i));return{x:n.left+l.scrollLeft-c.x,y:n.top+l.scrollTop-c.y,width:n.width,height:n.height}}function lr(t,o){return Ae(t)&&"fixed"!==Me(t).position?o?o(t):t.offsetParent:null}function cr(t,o){const e=Ke(t);if(!Ae(t))return e;let r=lr(t,o);for(;r&&Ge(r)&&"static"===Me(r).position;)r=lr(r,o);return r&&("html"===ze(r)||"body"===ze(r)&&"static"===Me(r).position&&!Pe(r))?e:r||function(t){let o=Ye(t);for(;Ae(o)&&!je(o);){if(Pe(o))return o;o=Ye(o)}return null}(t)||e}const sr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ae(e),a=Ze(e);if(e===a)return o;let n={scrollLeft:0,scrollTop:0},l=be(1);const c=be(0);if((i||!i&&"fixed"!==r)&&(("body"!==ze(e)||He(a))&&(n=_e(e)),Ae(e))){const t=er(e);l=Qe(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-n.scrollLeft*l.x+c.x,y:o.y*l.y-n.scrollTop*l.y+c.y}},getDocumentElement:Ze,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const a=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Xe(t,[],!1).filter((t=>Fe(t)&&"body"!==ze(t))),i=null;const a="fixed"===Me(t).position;let n=a?Ye(t):t;for(;Fe(n)&&!je(n);){const o=Me(n),e=Pe(n);e||"fixed"!==o.position||(i=null),(a?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||He(n)&&!e&&ar(t,n))?r=r.filter((t=>t!==n)):i=o,n=Ye(n)}return o.set(t,r),r}(o,this._c):[].concat(e),r],n=a[0],l=a.reduce(((t,e)=>{const r=ir(o,e,i);return t.top=ge(r.top,t.top),t.right=ye(r.right,t.right),t.bottom=ye(r.bottom,t.bottom),t.left=ge(r.left,t.left),t}),ir(o,n,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:cr,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||cr,a=this.getDimensions;return{reference:nr(o,await i(e),r),floating:{x:0,y:0,...await a(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return qe(t)},getScale:Qe,isElement:Fe,isRTL:function(t){return"rtl"===Me(t).direction}},pr=(t,o,e)=>{const r=new Map,i={platform:sr,...e},a={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=e,l=a.filter(Boolean),c=await(null==n.isRTL?void 0:n.isRTL(o));let s=await n.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Le(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:a,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:n,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[a]:{...h[a],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await n.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Le(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:a})};var fr=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 dr 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`
|
|
553
|
+
`,de=["start","end"],he=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+de[0],o+"-"+de[1])),[]),ye=Math.min,ge=Math.max,ue=Math.round,be=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"},xe={start:"end",end:"start"};function Oe(t,o,e){return ge(t,ye(o,e))}function ve(t,o){return"function"==typeof t?t(o):t}function Ne(t){return t.split("-")[0]}function Se(t){return t.split("-")[1]}function Ce(t){return"x"===t?"y":"x"}function we(t){return"y"===t?"height":"width"}function $e(t){return["top","bottom"].includes(Ne(t))?"y":"x"}function Ie(t){return Ce($e(t))}function Re(t){return t.replace(/left|right|bottom|top/g,(t=>me[t]))}function ke(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ee(t,o,e){let{reference:r,floating:i}=t;const a=$e(o),n=Ie(o),l=we(n),c=Ne(o),s="y"===a,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Se(o)){case"start":h[n]-=d*(e&&s?-1:1);break;case"end":h[n]+=d*(e&&s?-1:1)}return h}async function Le(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:a,rects:n,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ve(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=ke(await a.getClippingRect({element:null==(e=await(null==a.isElement?void 0:a.isElement(g)))||e?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...n.floating,x:r,y:i}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},O=ke(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function Ue(t,o,e){return(t?[...e.filter((o=>Se(o)===t)),...e.filter((o=>Se(o)!==t))]:e.filter((t=>Ne(t)===t))).filter((e=>!t||(Se(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>xe[t]))}(e)!==e)))}const We=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:a,middlewareData:n,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=he,autoAlignment:h=!0,...y}=ve(t,o),g=void 0!==f||d===he?Ue(f||null,h,d):d,u=await Le(o,y),b=(null==(e=n.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Se(t),i=Ie(t),a=we(i);let n="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[a]>o.floating[a]&&(n=Re(n)),[n,Re(n)]}(m,a,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[Ne(m)],u[x[0]],u[x[1]]],v=[...(null==(r=n.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=Se(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,Se(t[0])?2:3).every((t=>t<=0)))),w=(null==(i=C[0])?void 0:i[0])||S[0][0];return w!==l?{data:{index:b+1,overflows:v},reset:{placement:w}}:{}}}};function ze(t){return Be(t)?(t.nodeName||"").toLowerCase():"#document"}function Ke(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ze(t){var o;return null==(o=(Be(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Be(t){return t instanceof Node||t instanceof Ke(t).Node}function Fe(t){return t instanceof Element||t instanceof Ke(t).Element}function Ae(t){return t instanceof HTMLElement||t instanceof Ke(t).HTMLElement}function De(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ke(t).ShadowRoot)}function He(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ge(t){return["table","td","th"].includes(ze(t))}function Pe(t){const o=Te(),e=Me(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Te(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function je(t){return["html","body","#document"].includes(ze(t))}function Me(t){return Ke(t).getComputedStyle(t)}function _e(t){return Fe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ye(t){if("html"===ze(t))return t;const o=t.assignedSlot||t.parentNode||De(t)&&t.host||Ze(t);return De(o)?o.host:o}function Ve(t){const o=Ye(t);return je(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ae(o)&&He(o)?o:Ve(o)}function Xe(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ve(t),a=i===(null==(r=t.ownerDocument)?void 0:r.body),n=Ke(i);return a?o.concat(n,n.visualViewport||[],He(i)?i:[],n.frameElement&&e?Xe(n.frameElement):[]):o.concat(i,Xe(i,[],e))}function qe(t){const o=Me(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ae(t),a=i?t.offsetWidth:e,n=i?t.offsetHeight:r,l=ue(e)!==a||ue(r)!==n;return l&&(e=a,r=n),{width:e,height:r,$:l}}function Je(t){return Fe(t)?t:t.contextElement}function Qe(t){const o=Je(t);if(!Ae(o))return be(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:a}=qe(o);let n=(a?ue(e.width):e.width)/r,l=(a?ue(e.height):e.height)/i;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const tr=be(0);function or(t){const o=Ke(t);return Te()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:tr}function er(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),a=Je(t);let n=be(1);o&&(r?Fe(r)&&(n=Qe(r)):n=Qe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ke(t))&&o}(a,e,r)?or(a):be(0);let c=(i.left+l.x)/n.x,s=(i.top+l.y)/n.y,p=i.width/n.x,f=i.height/n.y;if(a){const t=Ke(a),o=r&&Fe(r)?Ke(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Qe(e),o=e.getBoundingClientRect(),r=Me(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,a=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=a,e=Ke(e).frameElement}}return ke({width:p,height:f,x:c,y:s})}function rr(t){return er(Ze(t)).left+_e(t).scrollLeft}function ir(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Ke(t),r=Ze(t),i=e.visualViewport;let a=r.clientWidth,n=r.clientHeight,l=0,c=0;if(i){a=i.width,n=i.height;const t=Te();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:n,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ze(t),e=_e(t),r=t.ownerDocument.body,i=ge(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),a=ge(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let n=-e.scrollLeft+rr(t);const l=-e.scrollTop;return"rtl"===Me(r).direction&&(n+=ge(o.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:l}}(Ze(t));else if(Fe(o))r=function(t,o){const e=er(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,a=Ae(t)?Qe(t):be(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:i*a.x,y:r*a.y}}(o,e);else{const e=or(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ke(r)}function ar(t,o){const e=Ye(t);return!(e===o||!Fe(e)||je(e))&&("fixed"===Me(e).position||ar(e,o))}function nr(t,o,e){const r=Ae(o),i=Ze(o),a="fixed"===e,n=er(t,!0,a,o);let l={scrollLeft:0,scrollTop:0};const c=be(0);if(r||!r&&!a)if(("body"!==ze(o)||He(i))&&(l=_e(o)),r){const t=er(o,!0,a,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=rr(i));return{x:n.left+l.scrollLeft-c.x,y:n.top+l.scrollTop-c.y,width:n.width,height:n.height}}function lr(t,o){return Ae(t)&&"fixed"!==Me(t).position?o?o(t):t.offsetParent:null}function cr(t,o){const e=Ke(t);if(!Ae(t))return e;let r=lr(t,o);for(;r&&Ge(r)&&"static"===Me(r).position;)r=lr(r,o);return r&&("html"===ze(r)||"body"===ze(r)&&"static"===Me(r).position&&!Pe(r))?e:r||function(t){let o=Ye(t);for(;Ae(o)&&!je(o);){if(Pe(o))return o;o=Ye(o)}return null}(t)||e}const sr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ae(e),a=Ze(e);if(e===a)return o;let n={scrollLeft:0,scrollTop:0},l=be(1);const c=be(0);if((i||!i&&"fixed"!==r)&&(("body"!==ze(e)||He(a))&&(n=_e(e)),Ae(e))){const t=er(e);l=Qe(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-n.scrollLeft*l.x+c.x,y:o.y*l.y-n.scrollTop*l.y+c.y}},getDocumentElement:Ze,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const a=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Xe(t,[],!1).filter((t=>Fe(t)&&"body"!==ze(t))),i=null;const a="fixed"===Me(t).position;let n=a?Ye(t):t;for(;Fe(n)&&!je(n);){const o=Me(n),e=Pe(n);e||"fixed"!==o.position||(i=null),(a?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||He(n)&&!e&&ar(t,n))?r=r.filter((t=>t!==n)):i=o,n=Ye(n)}return o.set(t,r),r}(o,this._c):[].concat(e),r],n=a[0],l=a.reduce(((t,e)=>{const r=ir(o,e,i);return t.top=ge(r.top,t.top),t.right=ye(r.right,t.right),t.bottom=ye(r.bottom,t.bottom),t.left=ge(r.left,t.left),t}),ir(o,n,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:cr,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||cr,a=this.getDimensions;return{reference:nr(o,await i(e),r),floating:{x:0,y:0,...await a(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return qe(t)},getScale:Qe,isElement:Fe,isRTL:function(t){return"rtl"===Me(t).direction}},pr=(t,o,e)=>{const r=new Map,i={platform:sr,...e},a={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=e,l=a.filter(Boolean),c=await(null==n.isRTL?void 0:n.isRTL(o));let s=await n.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Ee(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:a,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:n,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[a]:{...h[a],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await n.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Ee(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:a})};function fr(t){return function(t){for(let o=t;o;o=dr(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=dr(t);o;o=dr(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function dr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var hr=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 yr 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}
|
|
@@ -558,7 +558,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
558
558
|
@focusin=${this.onHover}
|
|
559
559
|
@focusout=${this.onOut}
|
|
560
560
|
@touchstart=${this.onTouch}>
|
|
561
|
-
<slot></slot>
|
|
561
|
+
<slot part="slot"></slot>
|
|
562
562
|
<div part="tooltip" role="tooltip" inert
|
|
563
563
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
564
564
|
?hidden=${!this.visible}>
|
|
@@ -568,14 +568,14 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",pr(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ve(t,o),s={x:e,y:r},p=await
|
|
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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",pr(this.slottedElement,this.tooltip,{platform:{...sr,getOffsetParent:t=>sr.getOffsetParent(t,fr)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ve(t,o),s={x:e,y:r},p=await Le(o,c),f=$e(Ne(i)),d=Ce(f);let h=s[d],y=s[f];if(a){const t="y"===d?"bottom":"right";h=Oe(h+p["y"===d?"top":"left"],h,h-p[t])}if(n){const t="y"===f?"bottom":"right";y=Oe(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[d]:h,[f]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),We({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}yr.elementDefinitions={"ft-typography":wo},yr.styles=fe,hr([n.property()],yr.prototype,"text",void 0),hr([n.property({type:Boolean})],yr.prototype,"manual",void 0),hr([n.property({type:Boolean})],yr.prototype,"inline",void 0),hr([n.property({type:Number})],yr.prototype,"delay",void 0),hr([n.property()],yr.prototype,"position",void 0),hr([n.queryAssignedNodes()],yr.prototype,"slotNodes",void 0),hr([n.query(".ft-tooltip--container")],yr.prototype,"container",void 0),hr([n.query(".ft-tooltip")],yr.prototype,"tooltip",void 0),hr([n.query(".ft-tooltip--content")],yr.prototype,"tooltipContent",void 0),hr([n.state()],yr.prototype,"visible",void 0),hr([n.eventOptions({passive:!0})],yr.prototype,"onTouch",null),hr([n.eventOptions({passive:!0})],yr.prototype,"onHover",null),hr([n.eventOptions({passive:!0})],yr.prototype,"onOut",null),o.customElement("ft-tooltip")(yr);class gr 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
|
+
`}}gr.styles=_o,o.customElement("ft-loader")(gr);var ur=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 br 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 V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
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}}
|
|
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}}br.elementDefinitions={"ft-ripple":ie,"ft-tooltip":yr,"ft-typography":wo,"ft-icon":Zo,"ft-loader":gr},ur([n.property({type:String,reflect:!0})],br.prototype,"role",void 0),ur([n.property()],br.prototype,"type",void 0),ur([n.property({type:Boolean})],br.prototype,"disabled",void 0),ur([n.property()],br.prototype,"label",void 0),ur([n.property()],br.prototype,"icon",void 0),ur([n.property()],br.prototype,"iconVariant",void 0),ur([n.property({type:Boolean})],br.prototype,"trailingIcon",void 0),ur([n.property({type:Boolean})],br.prototype,"loading",void 0),ur([n.property()],br.prototype,"tooltipPosition",void 0),ur([n.property({type:Boolean})],br.prototype,"hideTooltip",void 0),ur([n.property({type:Boolean})],br.prototype,"forceTooltip",void 0),ur([n.query(".ft-button")],br.prototype,"button",void 0),ur([n.query(".ft-button--label slot")],br.prototype,"slottedContent",void 0);var mr=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 xr extends br{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"}}xr.styles=[o.safariEllipsisFix,ee],mr([n.property({type:Boolean})],xr.prototype,"primary",void 0),mr([n.property({type:Boolean})],xr.prototype,"outlined",void 0),mr([n.property({type:Boolean})],xr.prototype,"dense",void 0),mr([n.property({type:Boolean})],xr.prototype,"round",void 0);const Or=[e.css`
|
|
602
602
|
:host {
|
|
603
603
|
display: inline-block;
|
|
604
604
|
max-width: 100%;
|
|
@@ -816,7 +816,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
816
816
|
width: ${nt.smallIconOnlyWidth};
|
|
817
817
|
padding: unset;
|
|
818
818
|
}
|
|
819
|
-
`,o.noTextSelect];var
|
|
819
|
+
`,o.noTextSelect];var vr,Nr=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 Sr extends br{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}}Sr.styles=[o.safariEllipsisFix,Or],Nr([n.property({type:Boolean})],Sr.prototype,"primary",void 0),Nr([n.property({type:Boolean})],Sr.prototype,"secondary",void 0),Nr([n.property({type:Boolean})],Sr.prototype,"tertiary",void 0),Nr([n.property({type:Boolean})],Sr.prototype,"neutral",void 0),Nr([n.property({type:Boolean})],Sr.prototype,"small",void 0),o.customElement("ft-button")(xr),o.customElement("ftds-button")(Sr),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(vr||(vr={}));const Cr=e.css`
|
|
820
820
|
.ft-size-watcher--pixel {
|
|
821
821
|
width: 0;
|
|
822
822
|
height: 0;
|
|
@@ -835,46 +835,46 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
835
835
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
836
836
|
width: 100%;
|
|
837
837
|
}
|
|
838
|
-
`;var
|
|
838
|
+
`;var wr=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 $r extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class Ir extends o.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=vr.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=vr.S:this.size<976?this.category=vr.M:this.size<1024?this.category=vr.L:this.size<1440?this.category=vr.XL:this.category=vr.XXL,this.dispatchEvent(new $r(this.size,this.category)))}),this.debounceTimeout)}}Ir.elementDefinitions={},Ir.styles=Cr,wr([n.property({type:Number})],Ir.prototype,"debounceTimeout",void 0),wr([n.property({type:Boolean})],Ir.prototype,"local",void 0),wr([n.property({type:Number,reflect:!0})],Ir.prototype,"size",void 0),wr([n.property({type:String,reflect:!0})],Ir.prototype,"category",void 0),wr([n.query(".ft-size-watcher--watcher")],Ir.prototype,"watcher",void 0),o.customElement("ft-size-watcher")(Ir);const Rr={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},kr={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"),treeNodeIconColor:o.FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color","","COLOR",o.designSystemVariables.colorPrimary),leafNodeIconColor:o.FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",o.designSystemVariables.colorPrimary),expandCollapseAllButtonColor:o.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",o.designSystemVariables.colorPrimary)},Er=e.css`
|
|
843
843
|
.ft-reader-toc {
|
|
844
|
-
color: ${
|
|
844
|
+
color: ${kr.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(st.fontWeight,
|
|
848
|
+
background-color: ${kr.highlightedBackgroundColor};
|
|
849
|
+
color: ${kr.highlightedTextColor};
|
|
850
|
+
${o.setVariable(st.fontWeight,kr.highlightedFontWeight)}
|
|
851
851
|
}
|
|
852
852
|
|
|
853
853
|
.ft-reader-toc--link-container {
|
|
854
854
|
display: flex;
|
|
855
855
|
gap: 4px;
|
|
856
|
-
padding: ${
|
|
856
|
+
padding: ${kr.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: ${kr.hoverColor};
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
ft-button {
|
|
865
|
-
${o.setVariable(Vo.iconSize,
|
|
865
|
+
${o.setVariable(Vo.iconSize,kr.iconFontSize)};
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
.ft-reader-toc--leaf-node-icon {
|
|
869
|
-
color: ${
|
|
869
|
+
color: ${kr.leafNodeIconColor};
|
|
870
870
|
}
|
|
871
871
|
|
|
872
872
|
.ft-reader-toc--tree-node-button {
|
|
873
|
-
${o.setVariable(Vo.color,
|
|
873
|
+
${o.setVariable(Vo.color,kr.treeNodeIconColor)};
|
|
874
874
|
}
|
|
875
875
|
|
|
876
876
|
.ft-reader-toc--expand-collapse-all-button {
|
|
877
|
-
${o.setVariable(Vo.color,
|
|
877
|
+
${o.setVariable(Vo.color,kr.expandCollapseAllButtonColor)};
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
.ft-reader-toc--toggle-container {
|
|
@@ -882,11 +882,11 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
882
882
|
}
|
|
883
883
|
|
|
884
884
|
.ft-reader-toc-mobile .ft-reader-toc--toggle-container {
|
|
885
|
-
width: calc(${
|
|
885
|
+
width: calc(${kr.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
|
|
886
886
|
}
|
|
887
887
|
|
|
888
888
|
.ft-reader-toc-desktop .ft-reader-toc--toggle-container {
|
|
889
|
-
width: calc(${
|
|
889
|
+
width: calc(${kr.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
|
|
890
890
|
}
|
|
891
891
|
|
|
892
892
|
.ft-reader-toc-expanded .ft-reader-toc--toggle-container {
|
|
@@ -894,11 +894,11 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
894
894
|
}
|
|
895
895
|
|
|
896
896
|
.ft-reader-toc-mobile .ft-reader-toc--leaf-node-icon {
|
|
897
|
-
width: calc(${
|
|
897
|
+
width: calc(${kr.iconFontSize} + 12px);
|
|
898
898
|
}
|
|
899
899
|
|
|
900
900
|
.ft-reader-toc-desktop .ft-reader-toc--leaf-node-icon {
|
|
901
|
-
width: calc(${
|
|
901
|
+
width: calc(${kr.iconFontSize} + 4px);
|
|
902
902
|
}
|
|
903
903
|
|
|
904
904
|
.ft-reader-toc-expand-collapse-all-container {
|
|
@@ -917,7 +917,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
917
917
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
918
918
|
flex-grow: 1;
|
|
919
919
|
}
|
|
920
|
-
`;var
|
|
920
|
+
`;var Lr=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 Ur extends d{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=zo.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=zo.fluid_topics,this.leafNodeIcon="DOT",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(Rr,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=vr.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(Rr,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===vr.S,"ft-reader-toc-desktop":this.viewportSize!==vr.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return e.html`
|
|
921
921
|
${this.hideIfEmpty&&this.empty?e.html`
|
|
922
922
|
<style>
|
|
923
923
|
:host {
|
|
@@ -946,7 +946,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
946
946
|
${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
|
|
947
947
|
</ft-button>
|
|
948
948
|
</div>
|
|
949
|
-
`: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( ${
|
|
949
|
+
`: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( ${kr.tabulationSize} * ${f} + 4px)`};return e.html`
|
|
950
950
|
<div class="ft-reader-toc--node ${l?"ft-reader-toc--node-highlighted":""}">
|
|
951
951
|
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${a.styleMap(d)}>
|
|
952
952
|
${this.nodesToExpandExist&&!this.expanded?e.html`
|
|
@@ -956,7 +956,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
956
956
|
part="expand-collapse-node"
|
|
957
957
|
class="ft-reader-toc--tree-node-button"
|
|
958
958
|
round hideTooltip
|
|
959
|
-
?dense=${this.viewportSize!==
|
|
959
|
+
?dense=${this.viewportSize!==vr.S}
|
|
960
960
|
label="${this.labelResolver.resolve(c?"collapse":"expand",t.title)}"
|
|
961
961
|
.iconVariant="${this.iconVariant}"
|
|
962
962
|
icon="${c?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
|
|
@@ -984,4 +984,4 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
|
|
|
984
984
|
`:e.nothing}
|
|
985
985
|
</div>
|
|
986
986
|
`}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"}}getLeafNodeIcon(){return e.html`
|
|
987
|
-
<ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}
|
|
987
|
+
<ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}Ur.elementDefinitions={"ft-button":xr,"ft-icon":Zo,"ft-reader-internal-link":Lo,"ft-size-watcher":Ir,"ft-typography":wo},Ur.styles=Er,Lr([n.property({type:Boolean})],Ur.prototype,"expanded",void 0),Lr([n.property()],Ur.prototype,"iconVariant",void 0),Lr([n.property()],Ur.prototype,"collapseIcon",void 0),Lr([n.property()],Ur.prototype,"expandIcon",void 0),Lr([n.property()],Ur.prototype,"leafNodeIconVariant",void 0),Lr([n.property()],Ur.prototype,"leafNodeIcon",void 0),Lr([n.property({type:Boolean})],Ur.prototype,"expandCollapseAll",void 0),Lr([n.property({type:Boolean})],Ur.prototype,"expandCollapseAllHideLabel",void 0),Lr([n.property({type:Boolean})],Ur.prototype,"expandCollapseAllTrailingIcon",void 0),Lr([n.property()],Ur.prototype,"expandCollapseAllAlignment",void 0),Lr([n.property({type:Boolean})],Ur.prototype,"expandCollapseAllHideIcon",void 0),Lr([n.property()],Ur.prototype,"expandCollapseAllIconVariant",void 0),Lr([n.property()],Ur.prototype,"collapseAllIcon",void 0),Lr([n.property()],Ur.prototype,"expandAllIcon",void 0),Lr([n.property({type:Boolean})],Ur.prototype,"autoCollapse",void 0),Lr([n.property()],Ur.prototype,"scope",void 0),Lr([n.property({type:Boolean})],Ur.prototype,"hideIfEmpty",void 0),Lr([n.property({type:Boolean,reflect:!0})],Ur.prototype,"empty",void 0),Lr([o.jsonProperty({})],Ur.prototype,"labels",void 0),Lr([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}})],Ur.prototype,"toc",void 0),Lr([o.redux({selector:t=>{var o;return null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc}})],Ur.prototype,"splitToc",void 0),Lr([o.redux()],Ur.prototype,"currentPage",void 0),Lr([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}})],Ur.prototype,"highlightedTocIds",void 0),Lr([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],Ur.prototype,"automaticallyExpandedNodes",void 0),Lr([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],Ur.prototype,"manuallyExpandedNodes",void 0),Lr([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],Ur.prototype,"manuallyCollapsedNodes",void 0),Lr([n.state()],Ur.prototype,"expandAll",void 0),Lr([n.state()],Ur.prototype,"viewportSize",void 0),o.customElement("ft-reader-toc")(Ur),t.DEFAULT_LABELS=Rr,t.FtReaderToc=Ur,t.FtReaderTocCssVariables=kr,t.styles=Er}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litStyleMap,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
|